From jcolby at colbyconsulting.com Sat Nov 1 00:31:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 01:31:35 -0500 Subject: [AccessD] OT: Noisy computer Message-ID: I just thought I'd share a tip. I build my own computers from parts. About two years ago now I bought these rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs and used Thermaltake volcanoes in them plus 3 case fans (plus two in the power supply). Needless to say it was NOISY!!! So noisy I couldn't hear a phone conversation. I finally decided I'd had enough. I found a HSF called the Thermaltake Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, but the case fans were still pretty loud. I was just about to order low noise variable speed fans when I ran across this article: http://www.cpemma.co.uk/7volt.html I decided since it was free and immediate (I'm a right now kinda guy) I'd go ahead and try it. Essentially you build a cable (don't panic, it's easy) that feeds 7 volts to the fan instead of the normal 12, which reduces the fan speed (and air volume) which reduces the noise (and air volume). As long as the remaining air volume is sufficient to keep the case cool all is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out that the temperature on the proc went up from ~104 f to 107 f idle. Not too bad actually. And the difference in noise between the new HSF and lower voltage to the case fans is immense. Not dead silent by any means but quiet now instead of sounding like the cleaning lady with a vacuum in my ear. Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. http://www.cpemma.co.uk/7volt.html John W. Colby www.colbyconsulting.com From Erwin.Craps at ithelps.be Sat Nov 1 01:36:13 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 1 Nov 2003 08:36:13 +0100 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> But switches have no sense in a 1 server environment because all of the trafic goes and comes from one point. Unless your clients are 100Mb and the uplink to the server is 1Gb. People often believe switches will improve their network speed, but that is not always the case. But indeed the prices of the switches have dropped that you buy a switch at the price of a good hub these days. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, November 01, 2003 1:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) Got it. I think. Switch can route packet based on IP address but can't generate an IP address. Yes? Rocky Rocky ----- Original Message ----- From: "Frank Tanner III" To: "Access Developers discussion and problem solving" Sent: Friday, October 31, 2003 10:29 AM Subject: Re: [AccessD] OT: Wireless network (sort of) > It is sort of half-way, but not really. > > Switches are a "generation" better. Hubs and > switches, on their most basic level perform the same function. They > distribute network traffic. But HOW they distribute that traffic is > fundimentally different. > > Unless they're one of the newer layer 3 or layer 4 > switches, they cannot perform routing functions. They > just hand packets off from point A to point B. Think > of them as sort of a postman. They have an address > for each device on the network and they hand off each > piece of mail to the appropriate address. A hub, > using this sama analagy would deliver the same piece > of mail to every house and the one that it belonged to > would be the one that actually reads it. > > --- Rocky Smolin - Beach Access Software > wrote: > > "but it's as close as I could think of without > > getting too technical." > > > > Thank you. Much appreciated. So a switch is like > > halfway between a hub and > > a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 7:36 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > A router and a switch are fundimentall different > > > things. > > > > > > A router does just that. It routes network > > traffic. > > > > > > A switch plays "traffic cop" for a network. > > > > > > Newer switches, especially the layer 3 and layer 4 > > > ones can perform both functions.This isn't an > > exact > > > definition, but it's as close as I could think of > > > without getting too technical. > > > > > > --- Rocky Smolin - Beach Access Software > > > wrote: > > > > Is there a difference between a switch and a > > router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > Subject: RE: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > I recommend "hardwiring" the IP address of any > > > > device > > > > > or server connected to your LAN that's not a workstation and > > > > > is virtually always on. > > > > > > > > > > For the price, I would also highly recommend > > > > removing > > > > > all hubs from your network and using them as doorstops. > > > > > Switches have come way down in > > price > > > > and > > > > > have many benifits over hubs. > > > > > > > > > > Hubs divide the bandwidth across all ports. > > Thus > > > > if > > > > > you have an 8-port 10-BaseT hub, all ports > > that > > > > are > > > > > processing data split that 10Mbit. A switch, > > each > > > > > port gets the fill bandwidth. > > > > > > > > > > That's not including the security issues > > inherent > > > > with > > > > > hubs as they broadcast all available data to > > all > > > > > available ports rather than to the proper > > > > destination > > > > > port. > > > > > > > > > > --- John Colby > > wrote: > > > > > > Yes, you can indeed daisy chain routers and SUPPOSEDLY hubs, > > > > > > though I had no joy doing that with my old hub. I am > > however > > > > daisy > > > > > > chaining my old 4 port > > > > > > router off of my new 4 port wireless router. > > > > The > > > > > > newer models even figure > > > > > > out what kind of cable you are using, > > crossover > > > > or > > > > > > regular. The biggest > > > > > > issue there was that the router was the dhcp > > > > server > > > > > > so I had to turn off the > > > > > > old as a dhcp server and turn on the new. I > > > > also > > > > > > hardwired the address of > > > > > > the old router to 192.168.1.2. Daisy > > Chaining > > > > two 4 > > > > > > port routers isn't a > > > > > > panacea however since you now end up using > > two > > > > ports > > > > > > just for the daisy > > > > > > chain and have 6 left. In my case though I > > also > > > > > > have a wireless so I can > > > > > > get my laptop in through that and could also > > get > > > > > > other computers in if > > > > > > needed. > > > > > > > > > > > > I have an old model I TIVO which I modded to > > use > > > > the > > > > > > internet to "call in" > > > > > > for programming. I had to snake a cable > > down > > > > the > > > > > > wall from the living room > > > > > > (luckily exactly over my office in the > > > > basement). I > > > > > > understand that the > > > > > > model II has USB ports that can > > automatically > > > > use > > > > > > the USB wireless cards to > > > > > > connect to the internet. > > > > > > > > > > > > John W. Colby > > > > > > www.colbyconsulting.com > > > > > > > > > > > > -----Original Message----- > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > > > Behalf Of Rocky Smolin - > > > > > > Beach Access Software > > > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > > > To: Access Developers discussion and problem > > > > solving > > > > > > Subject: Re: [AccessD] OT: Wireless network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > John: > > > > > > > > > > > > I heard that you can daisy chain hubs off > > one of > > > > the > > > > > > ports on your router to > > > > > > get more ports and that you can go up to 255 > > > > devices > > > > > > from one router this > > > > > > way. Seems to easy and cheap, though. > > > > > > > > > > > > I've also found that when creating a new > > network > > > > it > > > > > > sometimes takes a few > > > > > > minutes for the different shared devices to > > > > 'see' > > > > > > each other - especially on > > > > > > the wireless. So I'll whang around > > frustrated > > > > > > trying to get the network to > > > > > > work and then have the same experience you > > had - > > > > > > after a few minutes, > > > > > > suddenly the other machines are in my > > network > > > > > > neighborhood. Go figure. > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "John Colby" > > > > > > > > To: "Database Advisors Inc. (Tech)" > > > > > > ; "AccessD" > > > > > > > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > > > Subject: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless > > router a > > > > > > couple of weeks ago. I > > > > > > needed > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 1 04:13:15 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 1 Nov 2003 11:13:15 +0100 Subject: [AccessD] You don't need perfect code to avoid security problems In-Reply-To: <3FA2E88F.10808@verizon.net> References: <3FA2E88F.10808@verizon.net> Message-ID: <1954072515.20031101111315@cactus.dk> Hi Francisco I think you need to leave Users and Groups and which users are members of which groups, UserGroups, as is. Then build a set of tables for Apps and Attributes where Apps is a list of your Apps and Attributes are whatever security or user property (menus, printer options, default colourset and language, saved options for the user, whatever) that could be assigned a user of an app. Now you can build Roles (Admin, Clerk, Student, etc.) which for every App can be assigned a selection of Attributes. Finally, build UserRoles and GroupRoles to connect users and groups with apps and attributes. When a user logs in, check UserRoles as well as UserGroups/GroupRoles to retrieve the current attributes (including security) for the current app for this user. This, of course, assumes that one attribute cannot negate another; otherwise things get very complicated. /gustav > In the company I work for, we are gearing up to deliver a full blown > Upgrade to our current Department System. It is currently in Access 97 > and we've already been handeling the growing pains w/ normalizing the > data and upsizing it to Sql Server 2000. The 2nd part is a little more > critical because it deals w/ Security and because eventually all this > will auto-synchronize as a distributed application, but I digress. > A common Security Topology follows this type of table format > Users (1-many) UserGroups (many-1) Groups > But what if the database needed to handel security for multiple > applications. Would it then be more Along the lines of > Users (1-many) UserApp (many-1) Apps (1-many) Groups > The reason I ask, is because already I'm receiving a list of possible > "GROUP/Role" names of what each application will use. Commonalities are > ADMIN and Clerk or Guest. From pctech at mybellybutton.com Sat Nov 1 09:22:56 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sat, 1 Nov 2003 07:22:56 -0800 (PST) Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> Message-ID: <20031101152256.92373.qmail@web13403.mail.yahoo.com> Switches will ALWAYS improve your speed over hubs. Period. Hubs SHARE the same bandwidth on all ports. Switches allocate the max bandwidth per port. You are incorrect. --- Erwin Craps wrote: > But switches have no sense in a 1 server environment > because all of the > trafic goes and comes from one point. > Unless your clients are 100Mb and the uplink to the > server is 1Gb. > > People often believe switches will improve their > network speed, but that > is not always the case. > But indeed the prices of the switches have dropped > that you buy a switch > at the price of a good hub these days. > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, November 01, 2003 1:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > Got it. I think. Switch can route packet based on > IP address but can't > generate an IP address. Yes? > > Rocky > > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem > solving" > > Sent: Friday, October 31, 2003 10:29 AM > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > > It is sort of half-way, but not really. > > > > Switches are a "generation" better. Hubs and > > switches, on their most basic level perform the > same function. They > > distribute network traffic. But HOW they > distribute that traffic is > > fundimentally different. > > > > Unless they're one of the newer layer 3 or layer 4 > > switches, they cannot perform routing functions. > They > > just hand packets off from point A to point B. > Think > > of them as sort of a postman. They have an > address > > for each device on the network and they hand off > each > > piece of mail to the appropriate address. A hub, > > using this sama analagy would deliver the same > piece > > of mail to every house and the one that it > belonged to > > would be the one that actually reads it. > > > > --- Rocky Smolin - Beach Access Software > > wrote: > > > "but it's as close as I could think of without > > > getting too technical." > > > > > > Thank you. Much appreciated. So a switch is > like > > > halfway between a hub and > > > a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > > To: "Access Developers discussion and problem > > > solving" > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > Subject: Re: [AccessD] OT: Wireless network > (sort > > > of) > > > > > > > > > > A router and a switch are fundimentall > different > > > > things. > > > > > > > > A router does just that. It routes network > > > traffic. > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > Newer switches, especially the layer 3 and > layer 4 > > > > ones can perform both functions.This isn't an > > > exact > > > > definition, but it's as close as I could think > of > > > > without getting too technical. > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > wrote: > > > > > Is there a difference between a switch and a > > > router? > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "Frank Tanner III" > > > > > > > > To: "Access Developers discussion and > problem > > > > > solving" > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > Subject: RE: [AccessD] OT: Wireless network > > > (sort > > > > > of) > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address of > any > > > > > device > > > > > > or server connected to your LAN that's not > a workstation and > > > > > > is virtually always on. > > > > > > > > > > > > For the price, I would also highly > recommend > > > > > removing > > > > > > all hubs from your network and using them > as doorstops. > > > > > > Switches have come way down in > > > price > > > > > and > > > > > > have many benifits over hubs. > > > > > > > > > > > > Hubs divide the bandwidth across all > ports. > > > Thus > > > > > if > > > > > > you have an 8-port 10-BaseT hub, all ports > > > that > > > > > are > > > > > > processing data split that 10Mbit. A > switch, > > > each > > > > > > port gets the fill bandwidth. > > > > > > > > > > > > That's not including the security issues > > > inherent > > > > > with > > > > > > hubs as they broadcast all available data > to > > > all > > > > > > available ports rather than to the proper > > > > > destination > > > > > > port. > > > > > > > > > > > > --- John Colby > > > > wrote: > > > > > > > Yes, you can indeed daisy chain routers > and SUPPOSEDLY hubs, > > > > > > > > though I had no joy doing that with my > old hub. I am > > > however > > > > > daisy > > > > > > > chaining my old 4 port > > > > > > > router off of my new 4 port wireless > router. > > > > > The > > > > > > > newer models even figure > > > > > > > out what kind of cable you are using, > > > crossover > > > > > or > > > > > > > regular. The biggest > > > > > > > issue there was that the router was the > dhcp > > > > > server > > > > > > > so I had to turn off the > > > > > > > old as a dhcp server and turn on the > new. I > > > > > also > > > > > > > hardwired the address of > > > > > > > the old router to 192.168.1.2. Daisy > > > Chaining > > > > > two 4 > === message truncated === From john at winhaven.net Sat Nov 1 09:46:18 2003 From: john at winhaven.net (John Bartow) Date: Sat, 1 Nov 2003 09:46:18 -0600 Subject: [AccessD] OT: Noisy computer In-Reply-To: Message-ID: JC, You might find this as ironic as I do. I have a Compaq w4000 SCSI workstation (very fast BTW) that has a BIOS setting for the hard drive: Fast/Quiet. Of course I choose fast and yes, it is very noisy (when I have the door to my "bullpen" open). :o) JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Saturday, November 01, 2003 12:32 AM > To: AccessD > Subject: [AccessD] OT: Noisy computer > > > I just thought I'd share a tip. > > I build my own computers from parts. About two years ago now I > bought these > rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs > and used Thermaltake volcanoes in them plus 3 case fans (plus two in the > power supply). Needless to say it was NOISY!!! > > So noisy I couldn't hear a phone conversation. > > I finally decided I'd had enough. I found a HSF called the Thermaltake > Silent Boost. NICE! All copper, 80mm low noise fan. Almost > silent. That > got rid of the jet engine sound from the 60mm 4500 rpm fans on > the old HSF, > but the case fans were still pretty loud. I was just about to order low > noise variable speed fans when I ran across this article: > http://www.cpemma.co.uk/7volt.html > > I decided since it was free and immediate (I'm a right now kinda > guy) I'd go > ahead and try it. Essentially you build a cable (don't panic, it's easy) > that feeds 7 volts to the fan instead of the normal 12, which reduces the > fan speed (and air volume) which reduces the noise (and air volume). > > As long as the remaining air volume is sufficient to keep the > case cool all > is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out > that the temperature on the proc went up from ~104 f to 107 f > idle. Not too > bad actually. And the difference in noise between the new HSF and lower > voltage to the case fans is immense. Not dead silent by any > means but quiet > now instead of sounding like the cleaning lady with a vacuum in my ear. > > Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. > http://www.cpemma.co.uk/7volt.html > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Sat Nov 1 11:02:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 12:02:58 -0500 Subject: [AccessD] OT: Windows Media Player path to music Message-ID: In the process of making my computers quieter I moved a hard disk to my wife's computer (let her listen to it!) ;-). Anyway, all it had on it was my ripped music collection which is played on her computer anyway since it has the speakers now. Unfortunately the path to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is there anyway to tell Media Player to change where it is looking for these things short of a new scan? John W. Colby www.colbyconsulting.com From wdhindman at bellsouth.net Sat Nov 1 11:39:15 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 12:39:15 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <001e01c3a09f$120d6da0$6001a8c0@dejpolsys> JC ...simply copy your *wmbd files located in your C:\Documents and Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ folder over to the same folder under Mary's user directory. ...I'm using WXP and Media Player 9 but the same idea should work for W2K ...HTH :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 12:02 PM Subject: [AccessD] OT: Windows Media Player path to music > In the process of making my computers quieter I moved a hard disk to my > wife's computer (let her listen to it!) ;-). > > Anyway, all it had on it was my ripped music collection which is played on > her computer anyway since it has the speakers now. Unfortunately the path > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > there anyway to tell Media Player to change where it is looking for these > things short of a new scan? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sat Nov 1 11:51:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 12:51:00 -0500 Subject: [AccessD] OT: Windows Media Player path to music In-Reply-To: <001e01c3a09f$120d6da0$6001a8c0@dejpolsys> Message-ID: No, the music directory was a shared directory on my computer. I shared the Music Directory, then mapped it to M: on all of my computers. Thus the "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. IOW, Windows media player didn't use the mapped drive as the path but the workstation. No se por que. Mary's computer has always been the player, it just used to get the music off of my computer across the net. Now it is getting it off her own computer (I moved that drive to her computer). I thought if I shared the Music directory and mapped it to M: Media player would just work. But NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on mcolby-ws. Why in the world it would use the workstation name instead of the mapped drive is beyond me but it is damned annoying! It is remotely possible that I told it to search using the network neighborhood path but that doesn't seem like something I would do. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, November 01, 2003 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Windows Media Player path to music JC ...simply copy your *wmbd files located in your C:\Documents and Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ folder over to the same folder under Mary's user directory. ...I'm using WXP and Media Player 9 but the same idea should work for W2K ...HTH :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 12:02 PM Subject: [AccessD] OT: Windows Media Player path to music > In the process of making my computers quieter I moved a hard disk to my > wife's computer (let her listen to it!) ;-). > > Anyway, all it had on it was my ripped music collection which is played on > her computer anyway since it has the speakers now. Unfortunately the path > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > there anyway to tell Media Player to change where it is looking for these > things short of a new scan? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 1 12:03:03 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 13:03:03 -0500 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: In order to do a compact / repair everyone has to be out of the database, meaning (more or less) no FEs are open. After that, just use windows scheduler to do a compact using command line switches. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Friday, October 31, 2003 6:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 - Repair and Compact Hey All I have a program designed for a client that runs basically 24 hours a day, 7 days a week collecting and processing data. Is it possible to schedule a once weekly repair and compact operation on both the frontend and backend (or even for now just the backend). There is a lag/idle time between 1AM and 4AM, when no data is collected or processed. Any direction to available code, ideas or programs would be appreciated. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Nov 1 12:14:06 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 13:14:06 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <003601c3a0a3$f07a82e0$6001a8c0@dejpolsys> ...so why not open the file in notepad and do a replace all ...or just do another scan :( William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 12:51 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > No, the music directory was a shared directory on my computer. I shared the > Music Directory, then mapped it to M: on all of my computers. Thus the > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. IOW, > Windows media player didn't use the mapped drive as the path but the > workstation. No se por que. > > Mary's computer has always been the player, it just used to get the music > off of my computer across the net. Now it is getting it off her own > computer (I moved that drive to her computer). I thought if I shared the > Music directory and mapped it to M: Media player would just work. But > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > mcolby-ws. > > Why in the world it would use the workstation name instead of the mapped > drive is beyond me but it is damned annoying! It is remotely possible that > I told it to search using the network neighborhood path but that doesn't > seem like something I would do. ;-) > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 12:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > JC > > ...simply copy your *wmbd files located in your C:\Documents and > Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ > folder over to the same folder under Mary's user directory. > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > ...HTH :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Saturday, November 01, 2003 12:02 PM > Subject: [AccessD] OT: Windows Media Player path to music > > > > In the process of making my computers quieter I moved a hard disk to my > > wife's computer (let her listen to it!) ;-). > > > > Anyway, all it had on it was my ripped music collection which is played on > > her computer anyway since it has the speakers now. Unfortunately the path > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > > there anyway to tell Media Player to change where it is looking for these > > things short of a new scan? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Nov 1 12:24:38 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 13:24:38 -0500 Subject: [AccessD] ACC97 - Repair and Compact References: Message-ID: <003e01c3a0a5$6921b2d0$6001a8c0@dejpolsys> http://www.mvps.org/access/modules/mdl0030.htm ...this link is to a sample A97 mdb on Dev's site that allows compact/repair from within the current db ...it basically opens another Access instance through automation, closes yours, compacts it, reopens it, and then closes the 2nd instance :) ...although the code works reliably, you'd probably be better off rewriting it to use the Jet Compact/Repair Utility that subsequently came out which is much, much more reliable imo than the standard A97 compact operation ...HTH :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:03 PM Subject: RE: [AccessD] ACC97 - Repair and Compact > In order to do a compact / repair everyone has to be out of the database, > meaning (more or less) no FEs are open. After that, just use windows > scheduler to do a compact using command line switches. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav > Sent: Friday, October 31, 2003 6:14 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] ACC97 - Repair and Compact > > > Hey All > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > 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 davesharpe2 at cox.net Sat Nov 1 12:30:26 2003 From: davesharpe2 at cox.net (Dave Sharpe) Date: Sat, 1 Nov 2003 13:30:26 -0500 Subject: [AccessD] ACC97 - Repair and Compact References: Message-ID: <004f01c3a0a6$388743f0$dd2f0a44@bcsext6137> Tony I use the "lite" ( free version ) of this that can't schedule; but , I beleive that the "full" version has scheduling Access Maintainer developed by Gracemere Software http://www.gracemere.com Dave ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:03 PM Subject: RE: [AccessD] ACC97 - Repair and Compact In order to do a compact / repair everyone has to be out of the database, meaning (more or less) no FEs are open. After that, just use windows scheduler to do a compact using command line switches. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Friday, October 31, 2003 6:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 - Repair and Compact Hey All I have a program designed for a client that runs basically 24 hours a day, 7 days a week collecting and processing data. Is it possible to schedule a once weekly repair and compact operation on both the frontend and backend (or even for now just the backend). There is a lag/idle time between 1AM and 4AM, when no data is collected or processed. Any direction to available code, ideas or programs would be appreciated. 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 dwaters at usinternet.com Sat Nov 1 12:38:43 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 1 Nov 2003 12:38:43 -0600 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <13883919.1067710129957.JavaMail.root@sniper.marix.com> Message-ID: <000301c3a0a7$637aca40$de1811d8@DanWaters> To add on to John' suggestion, you can set up an automatic shutdown at a certain time. In a form which is always open (could be invisible), add a timer event for 60 seconds (60,000 mseconds). The timer event should check to see if you have reached the log-out time. Once you reach the log-out time, display a pop-up form (not modal) to the user that they have X minutes to finish their work. Use the same timer event to count down the X minutes, then Docmd.Quit in code. You'll also need code in your startup form to prevent users from logging in until after the compacting I done. You could also do this weekly in the timer event by checking for the specific day prior to forcing users out. 5 minutes later run the windows scheduler IAW John's instructions. 5 minutes later the code in your startup form should allow users to log in. This gives users a forced 'break' of about 15 minutes. HTH, Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 01, 2003 12:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ACC97 - Repair and Compact In order to do a compact / repair everyone has to be out of the database, meaning (more or less) no FEs are open. After that, just use windows scheduler to do a compact using command line switches. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Friday, October 31, 2003 6:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 - Repair and Compact Hey All I have a program designed for a client that runs basically 24 hours a day, 7 days a week collecting and processing data. Is it possible to schedule a once weekly repair and compact operation on both the frontend and backend (or even for now just the backend). There is a lag/idle time between 1AM and 4AM, when no data is collected or processed. Any direction to available code, ideas or programs would be appreciated. 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 jcolby at colbyconsulting.com Sat Nov 1 12:39:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 13:39:36 -0500 Subject: [AccessD] OT: Windows Media Player path to music In-Reply-To: <003601c3a0a3$f07a82e0$6001a8c0@dejpolsys> Message-ID: I tried opening it with notepad and it opened (it's 15 MBYTES however, but it appears to be a database of some sort (not clear text). The extension is WMDB which sounds suspiciously like an access database so I tried to open it with A2K. "Unknown file format". I'll try again with AXP. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, November 01, 2003 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Windows Media Player path to music ...so why not open the file in notepad and do a replace all ...or just do another scan :( William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 12:51 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > No, the music directory was a shared directory on my computer. I shared the > Music Directory, then mapped it to M: on all of my computers. Thus the > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. IOW, > Windows media player didn't use the mapped drive as the path but the > workstation. No se por que. > > Mary's computer has always been the player, it just used to get the music > off of my computer across the net. Now it is getting it off her own > computer (I moved that drive to her computer). I thought if I shared the > Music directory and mapped it to M: Media player would just work. But > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > mcolby-ws. > > Why in the world it would use the workstation name instead of the mapped > drive is beyond me but it is damned annoying! It is remotely possible that > I told it to search using the network neighborhood path but that doesn't > seem like something I would do. ;-) > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 12:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > JC > > ...simply copy your *wmbd files located in your C:\Documents and > Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ > folder over to the same folder under Mary's user directory. > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > ...HTH :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Saturday, November 01, 2003 12:02 PM > Subject: [AccessD] OT: Windows Media Player path to music > > > > In the process of making my computers quieter I moved a hard disk to my > > wife's computer (let her listen to it!) ;-). > > > > Anyway, all it had on it was my ripped music collection which is played on > > her computer anyway since it has the speakers now. Unfortunately the path > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > > there anyway to tell Media Player to change where it is looking for these > > things short of a new scan? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sun Nov 2 00:42:57 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 01 Nov 2003 22:42:57 -0800 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <3FA4A770.7BB08697@nanaimo.ark.com> Hey All Thanks John and William for your quick responses. John this has to be a no brainer (as far as the employees are concerned), as I already had a repair and compact option available when they closed the frontend, but nobody bothered to close the front end or use the option (tried a warning also). William I have looked at Dev's site, I will have to figure out how to incorporate the repair and compact of the backend in the same routine. I assume the Jet Repair/Compact utility is available from Microsoft. Thanks again From jcolby at colbyconsulting.com Sat Nov 1 12:49:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 13:49:37 -0500 Subject: [AccessD] ACC97 Repair and Compact In-Reply-To: <3FA4A770.7BB08697@nanaimo.ark.com> Message-ID: I'm thinking that you'll need to follow the suggestion to force the users out of the database, just closing it down around their ears if they don't get out. Unfortunately people go home and leave things open. No way out but to force a close. Once everyone is out, just do the compact. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Sunday, November 02, 2003 1:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 Repair and Compact Hey All Thanks John and William for your quick responses. John this has to be a no brainer (as far as the employees are concerned), as I already had a repair and compact option available when they closed the frontend, but nobody bothered to close the front end or use the option (tried a warning also). William I have looked at Dev's site, I will have to figure out how to incorporate the repair and compact of the backend in the same routine. I assume the Jet Repair/Compact utility is available from Microsoft. Thanks again _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sat Nov 1 13:08:01 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 01 Nov 2003 11:08:01 -0800 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <3FA40491.9CB11425@nanaimo.ark.com> Hey John Mentioned to Dan, that one way around the problem, may be his automatic shutdown suggestion (during the lag time). Then Task Scheduler to run the repair and compact, then after a certain time period have the Task Scheduler open the program again. Not as pretty as automating but an alternative if need be. From wdhindman at bellsouth.net Sat Nov 1 13:22:47 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 14:22:47 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <000801c3a0ad$88c27ea0$6001a8c0@dejpolsys> JC ...open it in notepad and scan down past all the goobledy gook ...you'll find a csv string listing of all your media information which can readily be f&r'd in notepad. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:39 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > I tried opening it with notepad and it opened (it's 15 MBYTES however, but > it appears to be a database of some sort (not clear text). The extension is > WMDB which sounds suspiciously like an access database so I tried to open it > with A2K. "Unknown file format". I'll try again with AXP. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > ...so why not open the file in notepad and do a replace all ...or just do > another scan :( > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 01, 2003 12:51 PM > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > No, the music directory was a shared directory on my computer. I shared > the > > Music Directory, then mapped it to M: on all of my computers. Thus the > > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. > IOW, > > Windows media player didn't use the mapped drive as the path but the > > workstation. No se por que. > > > > Mary's computer has always been the player, it just used to get the music > > off of my computer across the net. Now it is getting it off her own > > computer (I moved that drive to her computer). I thought if I shared the > > Music directory and mapped it to M: Media player would just work. But > > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > > mcolby-ws. > > > > Why in the world it would use the workstation name instead of the mapped > > drive is beyond me but it is damned annoying! It is remotely possible > that > > I told it to search using the network neighborhood path but that doesn't > > seem like something I would do. ;-) > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Saturday, November 01, 2003 12:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > JC > > > > ...simply copy your *wmbd files located in your C:\Documents and > > Settings\YourUserName\Local > Settings\ApplicationData\Microsoft\MediaPlayer\ > > folder over to the same folder under Mary's user directory. > > > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > > ...HTH :) > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "AccessD" > > Sent: Saturday, November 01, 2003 12:02 PM > > Subject: [AccessD] OT: Windows Media Player path to music > > > > > > > In the process of making my computers quieter I moved a hard disk to my > > > wife's computer (let her listen to it!) ;-). > > > > > > Anyway, all it had on it was my ripped music collection which is played > on > > > her computer anyway since it has the speakers now. Unfortunately the > path > > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. > Is > > > there anyway to tell Media Player to change where it is looking for > these > > > things short of a new scan? > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 1 12:27:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 1 Nov 2003 19:27:40 +0100 Subject: [AccessD] Writing raw RTF document using VBA In-Reply-To: <004901c39f36$185d8ba0$0300a8c0@print> References: <5614351436.20030524150347@cactus.dk> <1429226064.20031031183338@cactus.dk> <004901c39f36$185d8ba0$0300a8c0@print> Message-ID: <5133737291.20031101192740@cactus.dk> Hi Tom Thanks Tom, I can follow your approach. However, I do have the ocx running and bound to a memo field, thus I have the RTF memos build (and users type them in). My only task is to concatenate these micro documents into one RTF document. The ocx should happily work with Access 97. If not, you may have it inproperly registered. Here is a utility I found many years ago; it is still on-line: http://www.sareleku.com/DesktopDefault.aspx?tabid=43 It will install the RichText ocx so you can work with even without the Access Developer edition which is quite handy if you ever need to do some work on-site at a client. /gustav >> The client has got new budgets and is again asking for this: >> >> > My simple need (which I never got solved) was how to assemble an >> > rtf-formatted field from many records (essentially each an rtf >> > document) into one rtf document, stripping headers etc. from each >> > record and adding a header etc. to the final document. >> >> Does anybody have a clue how to attack it? > Gustav.. > I use rtf in one of my projects in the way you describe and although my method is very clunky .... it works and has been for some years now .....If you discover a cleaner/less clunky way I for one > would be very interested in hearing about it > My project is still using A97 and the biggest problem I found was the fact that the RTFocx will not bind directly to a table field or query so I had to use the control unbound and feed it from an > rtf file on the hard drive .....whether this has changed in A2000 or A2002 I dont know > Hmm...the pasted text below (looks crap in my email client) is produced by the function below it ....the result is saved as an rtf text file and then fed to the rtf OCX at runtime. > Setting it up is failrly simple ....simply set up a document the way you would like to see it in wordpad (or any rtf editor) and then nip the rtf codes from the raw rext and wrap those around a > variable in the function. the result of the rtf is below and then below that is the rtf code itself. Take RTFCODESTART from the start and then save as an rtf document to open in wordpad or similar. > The last line (you will see it as 4) is a font I have built with the rating symbols we use and 4 happens to correspond to "M"rating (mature audience). > I wrote this very early in my (ahem!) development and I think if I was to write it now I would use case statements instead of if then else's and also store the rtf codes in a table. Then I would > use a find replace function so that I could vary the text produced (similar to the way early word processors used to work to acheive bold text etc with tags) eg <@BOLD@>I want this to be > bold<@/BOLD@> > I seem to remember you and I discussing this a few years ago Gustav..... > Hope it helps > Regards > Tom Keatley From gustav at cactus.dk Sat Nov 1 13:27:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 1 Nov 2003 20:27:13 +0100 Subject: [AccessD] Writing raw RTF document using VBA - Solved In-Reply-To: <1429226064.20031031183338@cactus.dk> References: <5614351436.20030524150347@cactus.dk> <1429226064.20031031183338@cactus.dk> Message-ID: <7837311130.20031101202713@cactus.dk> Hi William, Tom > The client has got new budgets and is again asking for this: >> My simple need (which I never got solved) was how to assemble an >> rtf-formatted field from many records (essentially each an rtf >> document) into one rtf document, stripping headers etc. from each >> record and adding a header etc. to the final document. > Does anybody have a clue how to attack it? > It is for assembling a catalogue where each item in Access has it own > small description in formatted text (bold, underline, sub/sup script > only) into one rtf document which are read by the dtp people. > Basically the task is to strip the header and the tail from the small > rtf strings, concatenation these, then adding one header and one tail > to create one finished document. I did a Google search on "concatenate" and "rtf" and located some new hits, though mostly from nice people without a proven solution. However, I noticed you can use the RichTextBox on its own without having a control on a form: Dim rtf As RichTextBox Dim strRTF As String Set rtf = New RichTextBox rtf.TextRTF = "Gustav" Debug.Print rtf.TextRTF Set rtf = Nothing This will output: {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\lang1030\f0\fs17 Gustav \par } The nice thing with this control is that is has a much wider selection of text controls than the ocx, for example, superscript and subscript. By playing around with it I found out that the key to locate the beginning of the body is the code \pard which seems to always exists; then locate the following Space. This will skip the leading font tables and coloursets and bunches of other useless info wrapped in sets of curly brackets, {...}. This works fine except if the first char of the body is a non-ascii char; if so, RTF uses a single byte hex representation of the char and omits the Space. As an example, this is the string for "?240": Note the missing Space. The escape sequence for such hex bytes is "\'". Thus you'll have locate first the \pard control code then either a Space or the hex escape sequence whatever comes first. Following the body are some closing chars which may be "}" only or this followed by a CrLf and perhaps a Chr(0). To remove these, one must travel from the end of the document up to the last "}" and chop the tail off. The remaining part is the body which can be concatenated like any other string with other RTF body strings. When done, apply a minimum header and a closing "}" and write this to a file and your RTF document is ready! And, as this is pure code with no ocx or fancy utils it runs at flashing speed! First, here's one solution for extracting the RTF body: Public Function TrimTextBodyRTF(strTextRTF As String) As String ' Extract RTF body of full RTF formatted string. ' ' 2003-11-01. Gustav Brock. Cactus Data ApS. CPH. ' RTF escape char. Const cstrRTFEscape As String = "\" ' RTF code identifying RTF control codes leading RTF body. Const cstrRTFBodyPointer As String = cstrRTFEscape + "pard" ' Char identifying hex code for non-ascii char. Const cstrRTFByteChar As String = "'" ' Header string for hex code for non-ascii char. Const cstrRTFByteHeader As String = cstrRTFEscape + cstrRTFByteChar ' Char identifying start of RTF body if first RTF char is an ascii char. Const cstrRTFBodyHeader As String = " " ' Char closing RTF body. Const cstrRTFBodyEnd As String = "}" Dim strRTF As String Dim strEnd As String Dim lngPos As Long Dim lngPosAsc As Long Dim lngPosHex As Long Dim lngEnd As Long Dim lngLen As Long Dim lngChr As Long If Len(strTextRTF) > 0 Then ' Locate RTF body pointer. lngPos = InStr(strTextRTF, cstrRTFBodyPointer) If lngPos > 0 Then ' Locate start of body if first char is an ascii char. lngPosAsc = InStr(lngPos, strTextRTF, cstrRTFBodyHeader) ' Check if first char in RTF body is a non-ascii char. lngPosHex = InStr(lngPos, strTextRTF, cstrRTFByteHeader) - 1 lngPos = 0 If lngPosAsc > 0 Then If lngPosHex > 0 Then If lngPosHex < lngPosAsc Then lngPos = lngPosHex Else lngPos = lngPosAsc End If Else lngPos = lngPosAsc End If Else lngPos = lngPosHex End If If lngPos > 0 Then strRTF = Mid(strTextRTF, 1 + lngPos) ' Locate position of RTF end marker (closing bracket). lngChr = Asc(cstrRTFBodyEnd) lngLen = Len(strRTF) lngEnd = 1 While Asc(Right(strRTF, lngEnd)) <> lngChr And lngEnd < lngLen lngEnd = lngEnd + 1 Wend If lngEnd = lngLen Then ' RTF end marker was not found. lngPos = 0 Else ' Calculate length of RTF body. lngPos = lngLen - lngEnd End If ' Trim RTF body. strRTF = Left(strRTF, lngPos) End If End If End If TrimTextBodyRTF = strRTF End Function Having reached this point it's a simple matter to assemble and write the full RTF document (watch for line breaks): Public Function ConcatenateTextRTF() As Boolean ' Concatenate RTF body strings to one fully formatted RTF file. ' ' Error handling is missing. ' ' 2003-11-01. Gustav Brock. Cactus Data ApS. CPH. ' RTF header. ' Adjust codepage and language code and font as needed. ' Append fontsize to \f0 if needed. "\fs16" for 8 points. Const cstrRTFBodyHeader As String = "{\rtf1\ansi\ansicpg1252\deflang1030\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}}\viewkind4\uc1\pard\f0 " ' RTF closing bracket. Const cstrRTFBodyEnd As String = "}" ' Filename of finished RTF document. Const cstrRTFFile As String = "c:\winnt\temp\test.rtf" Dim dbs As Database Dim rst As Recordset Dim strRTF As String Dim intFile As Integer Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Tabel1") ' Set RTF header. strRTF = cstrRTFBodyHeader ' Concatenate RTF bodies. With rst While .EOF = False If Not IsNull(!MemoRTF) Then strRTF = strRTF + TrimTextBodyRTF(!MemoRTF) End If .MoveNext Wend .Close End With ' Append RTF closing bracket. strRTF = strRTF + cstrRTFBodyEnd ' Write RTF file. intFile = FreeFile Open cstrRTFFile For Output As #intFile Print #intFile, strRTF Close #intFile Set rst = Nothing Set dbs = Nothing ConcatenateTextRTF = True End Function I'm pretty sure this won't be able concatenate any collection of RTF documents whatever the size. But until further testing has been carried out, I guess it will be able to concatenate a vast amount of small RTF docs like those found and produced in an ocx controlled RTF memobox. /gustav From jcolby at colbyconsulting.com Sat Nov 1 13:31:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 14:31:18 -0500 Subject: [AccessD] OT: Windows Media Player path to music In-Reply-To: <000801c3a0ad$88c27ea0$6001a8c0@dejpolsys> Message-ID: Right you are. Trying that now. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, November 01, 2003 2:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Windows Media Player path to music JC ...open it in notepad and scan down past all the goobledy gook ...you'll find a csv string listing of all your media information which can readily be f&r'd in notepad. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:39 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > I tried opening it with notepad and it opened (it's 15 MBYTES however, but > it appears to be a database of some sort (not clear text). The extension is > WMDB which sounds suspiciously like an access database so I tried to open it > with A2K. "Unknown file format". I'll try again with AXP. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > ...so why not open the file in notepad and do a replace all ...or just do > another scan :( > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 01, 2003 12:51 PM > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > No, the music directory was a shared directory on my computer. I shared > the > > Music Directory, then mapped it to M: on all of my computers. Thus the > > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. > IOW, > > Windows media player didn't use the mapped drive as the path but the > > workstation. No se por que. > > > > Mary's computer has always been the player, it just used to get the music > > off of my computer across the net. Now it is getting it off her own > > computer (I moved that drive to her computer). I thought if I shared the > > Music directory and mapped it to M: Media player would just work. But > > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > > mcolby-ws. > > > > Why in the world it would use the workstation name instead of the mapped > > drive is beyond me but it is damned annoying! It is remotely possible > that > > I told it to search using the network neighborhood path but that doesn't > > seem like something I would do. ;-) > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Saturday, November 01, 2003 12:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > JC > > > > ...simply copy your *wmbd files located in your C:\Documents and > > Settings\YourUserName\Local > Settings\ApplicationData\Microsoft\MediaPlayer\ > > folder over to the same folder under Mary's user directory. > > > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > > ...HTH :) > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "AccessD" > > Sent: Saturday, November 01, 2003 12:02 PM > > Subject: [AccessD] OT: Windows Media Player path to music > > > > > > > In the process of making my computers quieter I moved a hard disk to my > > > wife's computer (let her listen to it!) ;-). > > > > > > Anyway, all it had on it was my ripped music collection which is played > on > > > her computer anyway since it has the speakers now. Unfortunately the > path > > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. > Is > > > there anyway to tell Media Player to change where it is looking for > these > > > things short of a new scan? > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 1 15:00:02 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 16:00:02 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <000401c3a0bb$1e93d840$6001a8c0@dejpolsys> ....also KB 272116 has a transfer method if the f&r didn't work. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 2:31 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > Right you are. Trying that now. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 2:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > JC > > ...open it in notepad and scan down past all the goobledy gook ...you'll > find a csv string listing of all your media information which can readily be > f&r'd in notepad. > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 01, 2003 1:39 PM > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > I tried opening it with notepad and it opened (it's 15 MBYTES however, but > > it appears to be a database of some sort (not clear text). The extension > is > > WMDB which sounds suspiciously like an access database so I tried to open > it > > with A2K. "Unknown file format". I'll try again with AXP. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Saturday, November 01, 2003 1:14 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > ...so why not open the file in notepad and do a replace all ...or just do > > another scan :( > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Saturday, November 01, 2003 12:51 PM > > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > > > > No, the music directory was a shared directory on my computer. I shared > > the > > > Music Directory, then mapped it to M: on all of my computers. Thus the > > > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. > > IOW, > > > Windows media player didn't use the mapped drive as the path but the > > > workstation. No se por que. > > > > > > Mary's computer has always been the player, it just used to get the > music > > > off of my computer across the net. Now it is getting it off her own > > > computer (I moved that drive to her computer). I thought if I shared > the > > > Music directory and mapped it to M: Media player would just work. But > > > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > > > mcolby-ws. > > > > > > Why in the world it would use the workstation name instead of the mapped > > > drive is beyond me but it is damned annoying! It is remotely possible > > that > > > I told it to search using the network neighborhood path but that doesn't > > > seem like something I would do. ;-) > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > > Hindman > > > Sent: Saturday, November 01, 2003 12:39 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > > > > JC > > > > > > ...simply copy your *wmbd files located in your C:\Documents and > > > Settings\YourUserName\Local > > Settings\ApplicationData\Microsoft\MediaPlayer\ > > > folder over to the same folder under Mary's user directory. > > > > > > ...I'm using WXP and Media Player 9 but the same idea should work for > W2K > > > ...HTH :) > > > > > > William Hindman > > > - Next Year In The Free State! > > > > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "AccessD" > > > Sent: Saturday, November 01, 2003 12:02 PM > > > Subject: [AccessD] OT: Windows Media Player path to music > > > > > > > > > > In the process of making my computers quieter I moved a hard disk to > my > > > > wife's computer (let her listen to it!) ;-). > > > > > > > > Anyway, all it had on it was my ripped music collection which is > played > > on > > > > her computer anyway since it has the speakers now. Unfortunately the > > path > > > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. > > Is > > > > there anyway to tell Media Player to change where it is looking for > > these > > > > things short of a new scan? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wayne.warren at adelphia.net Sat Nov 1 17:46:05 2003 From: wayne.warren at adelphia.net (Wayne Warren-Angelucci) Date: Sat, 1 Nov 2003 15:46:05 -0800 Subject: [AccessD] ACC97 - Repair and Compact References: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <001801c3a0d2$50ecd320$6502a8c0@wayne> Sure, check out the FMS product: Access Agent. I use it for many clients to schedule archive, compact, etc. Works perfectly. (Google on FMS Agent) -- Wayne ----- Original Message ----- From: "Tony Septav" To: Sent: Friday, October 31, 2003 3:13 PM Subject: [AccessD] ACC97 - Repair and Compact > Hey All > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. > > From wdhindman at bellsouth.net Sat Nov 1 19:26:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 20:26:24 -0500 Subject: [AccessD] MICROSOFT Activation policy References: <5614351436.20030524150347@cactus.dk><1429226064.20031031183338@cactus.dk><004901c39f36$185d8ba0$0300a8c0@print><5133737291.20031101192740@cactus.dk> <000701c3a009$1cf628b0$0300a8c0@print> <002501c3a00c$53fae870$0300a8c0@print> Message-ID: <000801c3a0e0$54a6ec90$6001a8c0@dejpolsys> ...the ODE actually contains two licenses, one desktop and one laptop ...I hit the activation wall with MS at 5 but all I had to do was call them and swear that I hadn't exceeded the number allowed and they gave me a new key ...no hassle really except for making the call :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Tom Keatley" To: "Access Developers discussion and problem solving" Sent: Friday, October 31, 2003 7:08 PM Subject: [AccessD] MICROSOFT Activation policy > Hi all... > > I bought Office 2002 Developers Edition a couple of years ago which of > course contained MS Activation and since that time I must have activated it > 3 or 4 times on different computers (I hasten to add that this was when I > was UPDATING hardware and I only use the software on a single computer) > > Although I havent as yet had any problems with activation or my request > being rejected it occurs to me that this at some point will happen and I > wondered what others experience might be. > > Does MS have a number of activations before one is rejected? And what are > the options if this happens? > > Regards > > Tom Keatley > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sat Nov 1 20:50:19 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 21:50:19 -0500 Subject: [AccessD] ID in MSysObjects Message-ID: Does anyone have experience using the ID field in MSysObjects? I assumed (bad, I know) that it was a PK and not reused. I built a table of form attributes, and pulled the ID from MSysObjects table by joining my table name with the table name in MSysObjects, storing this ID in my table so I would have a reference back to the object in Access' MSysObjects. After a couple of weeks playing around (and ASSUMING my numbers were still good) I started trying to use this ID. I joined the ID in msysObjects with the same FK in my table, and compared the name in my table with the name in MSysObjects. In many cases they matched, in others they aren't even the same TYPE of object anymore. The ID now belongs to a module instead of a form. WTFO? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Sat Nov 1 21:11:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 22:11:36 -0500 Subject: [AccessD] ID in MSysObjects Message-ID: Here's what I have discovered. If you build an object. lets say a form. It is issued a sequential number. It is issued the LAST sequential number in a series. If you create another object, lets say another form. It is issued the NEXT number in that sequence. If you delete the first form created, then add another object (lets say a form) the new form is issued the LAST sequential number, and a hole exists where the deleted object was. If you now delete all objects back to that hole, the next object created is issued the LAST sequential number, i.e. it is issued the number of the form that was deleted that created the hold. IOW, these IDs are NOT like an autonumber where they just go up. They cannot be counted on to be assigned to some object and never reused, in fact they can be counted on being reused as you add and delete objects. The next object created gets the next available number. What a PITA for my purposes! In fact, the ID may very well be useless for my purposes. My problem: I create a record in a table of my own design called MSysTables. It contains the name of the table and an ID from MSysObjects of the object that has that ID at this moment. Now... if the designer renames the table, MSysObjects correctly updates the same record (same ID) with the new name. My intention was to use that ID as a "link back" to my own table whenever an object was renamed. However... if a developer DELETES that object, AND IT IS THE LAST ID IN THE SERIES, when they create the next object it gets that old ID. Thus now my ID in my table points to a completely different object, perhaps not even the same kind. It could now be a query or a report! Holy crap batman, how do I track name changes? John W. Colby www.colbyconsulting.com From michael.mattys at adelphia.net Sat Nov 1 21:14:33 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 1 Nov 2003 22:14:33 -0500 Subject: [AccessD] ID in MSysObjects References: Message-ID: <021101c3a0ef$7140b5c0$6401a8c0@default> John, It seems like you might be missing MSysObjects.Type? ---- The List of Forms - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32768)); The List of reports - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32764)); The List of Macros - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32766)); The List of Modules - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32761)); etc, etc, ... ---- Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 9:50 PM Subject: [AccessD] ID in MSysObjects > Does anyone have experience using the ID field in MSysObjects? > > I assumed (bad, I know) that it was a PK and not reused. I built a table of > form attributes, and pulled the ID from MSysObjects table by joining my > table name with the table name in MSysObjects, storing this ID in my table > so I would have a reference back to the object in Access' MSysObjects. > After a couple of weeks playing around (and ASSUMING my numbers were still > good) I started trying to use this ID. I joined the ID in msysObjects with > the same FK in my table, and compared the name in my table with the name in > MSysObjects. In many cases they matched, in others they aren't even the > same TYPE of object anymore. The ID now belongs to a module instead of a > form. > > WTFO? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 1 21:28:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 22:28:02 -0500 Subject: [AccessD] ID in MSysObjects In-Reply-To: <021101c3a0ef$7140b5c0$6401a8c0@default> Message-ID: No, Iknow about that. I was hoping for a persistant ID that I could use to track database objects. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, November 01, 2003 10:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ID in MSysObjects John, It seems like you might be missing MSysObjects.Type? ---- The List of Forms - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32768)); The List of reports - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32764)); The List of Macros - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32766)); The List of Modules - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32761)); etc, etc, ... ---- Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 9:50 PM Subject: [AccessD] ID in MSysObjects > Does anyone have experience using the ID field in MSysObjects? > > I assumed (bad, I know) that it was a PK and not reused. I built a table of > form attributes, and pulled the ID from MSysObjects table by joining my > table name with the table name in MSysObjects, storing this ID in my table > so I would have a reference back to the object in Access' MSysObjects. > After a couple of weeks playing around (and ASSUMING my numbers were still > good) I started trying to use this ID. I joined the ID in msysObjects with > the same FK in my table, and compared the name in my table with the name in > MSysObjects. In many cases they matched, in others they aren't even the > same TYPE of object anymore. The ID now belongs to a module instead of a > form. > > WTFO? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Nov 1 22:12:08 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 1 Nov 2003 23:12:08 -0500 Subject: [AccessD] ID in MSysObjects References: Message-ID: <021b01c3a0f7$896b6930$6401a8c0@default> Running the documenter creates a table in an access MDT file stored in your profile folder: C:\Documents and Settings\YourName\Application Data\ Microsoft\Access\ACWZUSR.MDT If you were to import doc_tblObjects and save it, you might be able to do some comparision with it. Maybe ... Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 10:28 PM Subject: RE: [AccessD] ID in MSysObjects > No, Iknow about that. I was hoping for a persistant ID that I could use to > track database objects. > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Saturday, November 01, 2003 10:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ID in MSysObjects > > > John, > > It seems like you might be missing MSysObjects.Type? > ---- > The List of Forms - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32768)); > > The List of reports - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32764)); > > The List of Macros - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32766)); > > The List of Modules - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32761)); > > etc, etc, ... > ---- > > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Saturday, November 01, 2003 9:50 PM > Subject: [AccessD] ID in MSysObjects > > > > Does anyone have experience using the ID field in MSysObjects? > > > > I assumed (bad, I know) that it was a PK and not reused. I built a table > of > > form attributes, and pulled the ID from MSysObjects table by joining my > > table name with the table name in MSysObjects, storing this ID in my table > > so I would have a reference back to the object in Access' MSysObjects. > > After a couple of weeks playing around (and ASSUMING my numbers were still > > good) I started trying to use this ID. I joined the ID in msysObjects > with > > the same FK in my table, and compared the name in my table with the name > in > > MSysObjects. In many cases they matched, in others they aren't even the > > same TYPE of object anymore. The ID now belongs to a module instead of a > > form. > > > > WTFO? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sun Nov 2 02:36:16 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sun, 2 Nov 2003 09:36:16 +0100 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <46B976F2B698FF46A4FE7636509B22DF71F1@stekelbes.ithelps.local> The weakest link in a network will decide the bandwith. If you only have one server all trafic goes to and comes from one link. If that link is the same speed as the clients link a switch is of no use. You gonna have a bottleneck. Again, switch are very good but you must have a different server speed link OR multiple servers. By that your bandwith gets divided over multiple or higer speed links. Switches are useles (for reaons of speed) in a single server and only 1 speed link. It's a basic rule of a switch!!! Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Frank Tanner III Verzonden: zaterdag 1 november 2003 16:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT: Wireless network (sort of) Switches will ALWAYS improve your speed over hubs. Period. Hubs SHARE the same bandwidth on all ports. Switches allocate the max bandwidth per port. You are incorrect. --- Erwin Craps wrote: > But switches have no sense in a 1 server environment > because all of the > trafic goes and comes from one point. > Unless your clients are 100Mb and the uplink to the > server is 1Gb. > > People often believe switches will improve their > network speed, but that > is not always the case. > But indeed the prices of the switches have dropped > that you buy a switch > at the price of a good hub these days. > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, November 01, 2003 1:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > Got it. I think. Switch can route packet based on > IP address but can't > generate an IP address. Yes? > > Rocky > > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem > solving" > > Sent: Friday, October 31, 2003 10:29 AM > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > > It is sort of half-way, but not really. > > > > Switches are a "generation" better. Hubs and > > switches, on their most basic level perform the > same function. They > > distribute network traffic. But HOW they > distribute that traffic is > > fundimentally different. > > > > Unless they're one of the newer layer 3 or layer 4 switches, they > > cannot perform routing functions. > They > > just hand packets off from point A to point B. > Think > > of them as sort of a postman. They have an > address > > for each device on the network and they hand off > each > > piece of mail to the appropriate address. A hub, > > using this sama analagy would deliver the same > piece > > of mail to every house and the one that it > belonged to > > would be the one that actually reads it. > > > > --- Rocky Smolin - Beach Access Software wrote: > > > "but it's as close as I could think of without > > > getting too technical." > > > > > > Thank you. Much appreciated. So a switch is > like > > > halfway between a hub and > > > a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > > To: "Access Developers discussion and problem > > > solving" > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > Subject: Re: [AccessD] OT: Wireless network > (sort > > > of) > > > > > > > > > > A router and a switch are fundimentall > different > > > > things. > > > > > > > > A router does just that. It routes network > > > traffic. > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > Newer switches, especially the layer 3 and > layer 4 > > > > ones can perform both functions.This isn't an > > > exact > > > > definition, but it's as close as I could think > of > > > > without getting too technical. > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > wrote: > > > > > Is there a difference between a switch and a > > > router? > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "Frank Tanner III" > > > > > > > > To: "Access Developers discussion and > problem > > > > > solving" > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > Subject: RE: [AccessD] OT: Wireless network > > > (sort > > > > > of) > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address of > any > > > > > device > > > > > > or server connected to your LAN that's not > a workstation and > > > > > > is virtually always on. > > > > > > > > > > > > For the price, I would also highly > recommend > > > > > removing > > > > > > all hubs from your network and using them > as doorstops. > > > > > > Switches have come way down in > > > price > > > > > and > > > > > > have many benifits over hubs. > > > > > > > > > > > > Hubs divide the bandwidth across all > ports. > > > Thus > > > > > if > > > > > > you have an 8-port 10-BaseT hub, all ports > > > that > > > > > are > > > > > > processing data split that 10Mbit. A > switch, > > > each > > > > > > port gets the fill bandwidth. > > > > > > > > > > > > That's not including the security issues > > > inherent > > > > > with > > > > > > hubs as they broadcast all available data > to > > > all > > > > > > available ports rather than to the proper > > > > > destination > > > > > > port. > > > > > > > > > > > > --- John Colby > > > > wrote: > > > > > > > Yes, you can indeed daisy chain routers > and SUPPOSEDLY hubs, > > > > > > > > though I had no joy doing that with my > old hub. I am > > > however > > > > > daisy > > > > > > > chaining my old 4 port > > > > > > > router off of my new 4 port wireless > router. > > > > > The > > > > > > > newer models even figure > > > > > > > out what kind of cable you are using, > > > crossover > > > > > or > > > > > > > regular. The biggest > > > > > > > issue there was that the router was the > dhcp > > > > > server > > > > > > > so I had to turn off the > > > > > > > old as a dhcp server and turn on the > new. I > > > > > also > > > > > > > hardwired the address of > > > > > > > the old router to 192.168.1.2. Daisy > > > Chaining > > > > > two 4 > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sun Nov 2 02:38:43 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sun, 2 Nov 2003 09:38:43 +0100 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <46B976F2B698FF46A4FE7636509B22DF71F2@stekelbes.ithelps.local> And to be correct, switches don't improve speed (compared to hub's) they improve bandwith and reduce collisions!!! Switches create virtual point to point connections. Switches do improve speed compared to routers. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Frank Tanner III Verzonden: zaterdag 1 november 2003 16:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT: Wireless network (sort of) Switches will ALWAYS improve your speed over hubs. Period. Hubs SHARE the same bandwidth on all ports. Switches allocate the max bandwidth per port. You are incorrect. --- Erwin Craps wrote: > But switches have no sense in a 1 server environment > because all of the > trafic goes and comes from one point. > Unless your clients are 100Mb and the uplink to the > server is 1Gb. > > People often believe switches will improve their > network speed, but that > is not always the case. > But indeed the prices of the switches have dropped > that you buy a switch > at the price of a good hub these days. > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, November 01, 2003 1:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > Got it. I think. Switch can route packet based on > IP address but can't > generate an IP address. Yes? > > Rocky > > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem > solving" > > Sent: Friday, October 31, 2003 10:29 AM > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > > It is sort of half-way, but not really. > > > > Switches are a "generation" better. Hubs and > > switches, on their most basic level perform the > same function. They > > distribute network traffic. But HOW they > distribute that traffic is > > fundimentally different. > > > > Unless they're one of the newer layer 3 or layer 4 switches, they > > cannot perform routing functions. > They > > just hand packets off from point A to point B. > Think > > of them as sort of a postman. They have an > address > > for each device on the network and they hand off > each > > piece of mail to the appropriate address. A hub, > > using this sama analagy would deliver the same > piece > > of mail to every house and the one that it > belonged to > > would be the one that actually reads it. > > > > --- Rocky Smolin - Beach Access Software wrote: > > > "but it's as close as I could think of without > > > getting too technical." > > > > > > Thank you. Much appreciated. So a switch is > like > > > halfway between a hub and > > > a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > > To: "Access Developers discussion and problem > > > solving" > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > Subject: Re: [AccessD] OT: Wireless network > (sort > > > of) > > > > > > > > > > A router and a switch are fundimentall > different > > > > things. > > > > > > > > A router does just that. It routes network > > > traffic. > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > Newer switches, especially the layer 3 and > layer 4 > > > > ones can perform both functions.This isn't an > > > exact > > > > definition, but it's as close as I could think > of > > > > without getting too technical. > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > wrote: > > > > > Is there a difference between a switch and a > > > router? > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "Frank Tanner III" > > > > > > > > To: "Access Developers discussion and > problem > > > > > solving" > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > Subject: RE: [AccessD] OT: Wireless network > > > (sort > > > > > of) > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address of > any > > > > > device > > > > > > or server connected to your LAN that's not > a workstation and > > > > > > is virtually always on. > > > > > > > > > > > > For the price, I would also highly > recommend > > > > > removing > > > > > > all hubs from your network and using them > as doorstops. > > > > > > Switches have come way down in > > > price > > > > > and > > > > > > have many benifits over hubs. > > > > > > > > > > > > Hubs divide the bandwidth across all > ports. > > > Thus > > > > > if > > > > > > you have an 8-port 10-BaseT hub, all ports > > > that > > > > > are > > > > > > processing data split that 10Mbit. A > switch, > > > each > > > > > > port gets the fill bandwidth. > > > > > > > > > > > > That's not including the security issues > > > inherent > > > > > with > > > > > > hubs as they broadcast all available data > to > > > all > > > > > > available ports rather than to the proper > > > > > destination > > > > > > port. > > > > > > > > > > > > --- John Colby > > > > wrote: > > > > > > > Yes, you can indeed daisy chain routers > and SUPPOSEDLY hubs, > > > > > > > > though I had no joy doing that with my > old hub. I am > > > however > > > > > daisy > > > > > > > chaining my old 4 port > > > > > > > router off of my new 4 port wireless > router. > > > > > The > > > > > > > newer models even figure > > > > > > > out what kind of cable you are using, > > > crossover > > > > > or > > > > > > > regular. The biggest > > > > > > > issue there was that the router was the > dhcp > > > > > server > > > > > > > so I had to turn off the > > > > > > > old as a dhcp server and turn on the > new. I > > > > > also > > > > > > > hardwired the address of > > > > > > > the old router to 192.168.1.2. Daisy > > > Chaining > > > > > two 4 > === message truncated === _______________________________________________ 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 Nov 2 03:25:41 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 02 Nov 2003 19:25:41 +1000 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <3FA55A35.28453.260F272@localhost> On 31 Oct 2003 at 15:13, Tony Septav wrote: > Hey All > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. > How about a timer which periodically checks the date/time. If it's Sunday 2.00am or whenever, shell to a batch file and close the app. In the batch file open another one that waits for a while then compacts and repairs the first one and re-opens it. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Sun Nov 2 04:11:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 2 Nov 2003 11:11:42 +0100 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> References: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <765336573.20031102111142@cactus.dk> Hi Tony > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. 1. If you write protect the front end database file (before launching it) there's no need to compact it as, in that case, Access's temporary data always will be written to external files. 2. If you don't have any open connections from the front end to the back end, you can safely open the back end in a separate workspace and compact it. To make sure that no other app has open connections to the back end, let your compacting app open the back end exclusively; if this fails don't continue. 3. Don't apply Repair for routine maintenance. This is a general advice not invented by me, but I've never seen a need for it except for corrupted database files and then JetComp.exe is a better first attempt. Re. 1. Write protecting an app will cause a message about this to pop up at launch. This can be avoided by running the app from a runtime installation. Re. 2. The difficult part is not to compact the database file - it's a couple of code lines only. The critical part is to create and keep track of backup files in case something fails. Here's a function which handles this. It is a part of a solution which has run for several years and also handles archiving to a cab or zip file and ftp'ing this to a remote server. The backup routine is triggered by a timer function on the main form. Public Function DatabaseCompact( _ ByVal strDataFile As String) As Boolean Const cbooDbOpenExclusive As Boolean = True Const cbooDbOpenReadOnly As Boolean = True Const cbytDbFileExtLength As Byte = 3 Const cstrDbFileExtBackup As String * cbytDbFileExtLength = "mdk" Const cstrDbFileExtTemp As String * cbytDbFileExtLength = "tmp" Dim wks As Workspace Dim dbs As Database Dim strBackFile As String Dim strTempFile As String Dim strDataFilePath As String Dim strDataFileName As String Dim intDataFileName As Integer Dim booClosed As Boolean Dim booSuccess As Boolean On Error GoTo Err_DatabaseCompact strDataFileName = Dir(strDataFile, vbNormal) intDataFileName = Len(strDataFileName) If intDataFileName = 0 Then ' No data file to process. Else ' Data file exists. strDataFilePath = Left(strDataFile, Len(strDataFile) - intDataFileName) strBackFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtBackup strTempFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtTemp Set wks = DBEngine(0) Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) ' No error. Database file can be opened exclusively, thus no open connections. ' Keep it open to prevent access from other users while compacting it. If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Delete old backup file. Kill strBackFile End If If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Old backup file could not be deleted. Else ' Create copy for further processing. FileCopy strDataFile, strBackFile If Len(Dir(strBackFile, vbNormal)) > 0 Then If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Kill left-over temp file. Kill strTempFile End If If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Old temp file could not be deleted. Else ' Compact backup file to a temporary file. DBEngine.CompactDatabase strBackFile, strTempFile, dbLangNorwDan If Len(Dir(strTempFile, vbNormal)) = 0 Then ' Compact failed somehow. Else ' Temporary file was created. ' Close database and delete current data file leaving backup file. dbs.Close booClosed = True Kill strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Current data file was not deleted. ' Clean up. Kill strTempFile Else ' Current data file is gone. ' Rename temporary data file as new data file. Name strTempFile As strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Temporary file was renamed successfully. ' Check that the data file can be opened and recognized. Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) booClosed = False dbs.Close booClosed = True booSuccess = True End If End If End If End If End If End If If booClosed = False Then dbs.Close End If If booSuccess = False Then ' For some reason something failed. If Len(Dir(strDataFile, vbNormal)) = 0 Then ' Data file is lost. ' Copy back the backup file if it exists. If Len(Dir(strBackFile, vbNormal)) > 0 Then FileCopy strBackFile, strDataFile End If End If End If End If Set dbs = Nothing Set wks = Nothing DatabaseCompact = booSuccess Exit_DatabaseCompact: Exit Function Err_DatabaseCompact: MsgBox CStr(Err.Number) & ": " & Err.Description, vbCritical + vbOKOnly, "Database Compact" Resume Exit_DatabaseCompact End Function As always, beware of line breaks. /gustav From jcolby at colbyconsulting.com Sun Nov 2 07:53:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 08:53:42 -0500 Subject: [AccessD] Weakest Link In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F1@stekelbes.ithelps.local> Message-ID: I have a client running about 25 Access FEs against an MDB BE. He has a single server, and of course must use a single server at least for the BE if we don't get into replication. The server is Windows NT, not even 2K. He just expanded into another wing of the building they rent and are going to move one unit of the business (and database) into that wing. Can he run multiple NICS in Windows NT? That would allow him to put a switch (or router) on what would essentially be two different LANs. They don't really have any inter workstation traffic so this would probably work if NT can deal with more than one NIC. I know that they have (or had) bandwidth issues because when they replaced a hub with a switch awhile back the performance of the db improved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Sunday, November 02, 2003 3:36 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) The weakest link in a network will decide the bandwith. If you only have one server all trafic goes to and comes from one link. If that link is the same speed as the clients link a switch is of no use. You gonna have a bottleneck. Again, switch are very good but you must have a different server speed link OR multiple servers. By that your bandwith gets divided over multiple or higer speed links. Switches are useles (for reaons of speed) in a single server and only 1 speed link. It's a basic rule of a switch!!! Erwin From jcolby at colbyconsulting.com Sun Nov 2 07:57:21 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 08:57:21 -0500 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <765336573.20031102111142@cactus.dk> Message-ID: Gustav, I was under the impression that Access stored query results etc internal to the FE. What happens if you write protect the FE? You say temporary data will be written to temporary files? What does this mean? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, November 02, 2003 5:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ACC97 - Repair and Compact Hi Tony > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. 1. If you write protect the front end database file (before launching it) there's no need to compact it as, in that case, Access's temporary data always will be written to external files. 2. If you don't have any open connections from the front end to the back end, you can safely open the back end in a separate workspace and compact it. To make sure that no other app has open connections to the back end, let your compacting app open the back end exclusively; if this fails don't continue. 3. Don't apply Repair for routine maintenance. This is a general advice not invented by me, but I've never seen a need for it except for corrupted database files and then JetComp.exe is a better first attempt. Re. 1. Write protecting an app will cause a message about this to pop up at launch. This can be avoided by running the app from a runtime installation. Re. 2. The difficult part is not to compact the database file - it's a couple of code lines only. The critical part is to create and keep track of backup files in case something fails. Here's a function which handles this. It is a part of a solution which has run for several years and also handles archiving to a cab or zip file and ftp'ing this to a remote server. The backup routine is triggered by a timer function on the main form. Public Function DatabaseCompact( _ ByVal strDataFile As String) As Boolean Const cbooDbOpenExclusive As Boolean = True Const cbooDbOpenReadOnly As Boolean = True Const cbytDbFileExtLength As Byte = 3 Const cstrDbFileExtBackup As String * cbytDbFileExtLength = "mdk" Const cstrDbFileExtTemp As String * cbytDbFileExtLength = "tmp" Dim wks As Workspace Dim dbs As Database Dim strBackFile As String Dim strTempFile As String Dim strDataFilePath As String Dim strDataFileName As String Dim intDataFileName As Integer Dim booClosed As Boolean Dim booSuccess As Boolean On Error GoTo Err_DatabaseCompact strDataFileName = Dir(strDataFile, vbNormal) intDataFileName = Len(strDataFileName) If intDataFileName = 0 Then ' No data file to process. Else ' Data file exists. strDataFilePath = Left(strDataFile, Len(strDataFile) - intDataFileName) strBackFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtBackup strTempFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtTemp Set wks = DBEngine(0) Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) ' No error. Database file can be opened exclusively, thus no open connections. ' Keep it open to prevent access from other users while compacting it. If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Delete old backup file. Kill strBackFile End If If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Old backup file could not be deleted. Else ' Create copy for further processing. FileCopy strDataFile, strBackFile If Len(Dir(strBackFile, vbNormal)) > 0 Then If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Kill left-over temp file. Kill strTempFile End If If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Old temp file could not be deleted. Else ' Compact backup file to a temporary file. DBEngine.CompactDatabase strBackFile, strTempFile, dbLangNorwDan If Len(Dir(strTempFile, vbNormal)) = 0 Then ' Compact failed somehow. Else ' Temporary file was created. ' Close database and delete current data file leaving backup file. dbs.Close booClosed = True Kill strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Current data file was not deleted. ' Clean up. Kill strTempFile Else ' Current data file is gone. ' Rename temporary data file as new data file. Name strTempFile As strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Temporary file was renamed successfully. ' Check that the data file can be opened and recognized. Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) booClosed = False dbs.Close booClosed = True booSuccess = True End If End If End If End If End If End If If booClosed = False Then dbs.Close End If If booSuccess = False Then ' For some reason something failed. If Len(Dir(strDataFile, vbNormal)) = 0 Then ' Data file is lost. ' Copy back the backup file if it exists. If Len(Dir(strBackFile, vbNormal)) > 0 Then FileCopy strBackFile, strDataFile End If End If End If End If Set dbs = Nothing Set wks = Nothing DatabaseCompact = booSuccess Exit_DatabaseCompact: Exit Function Err_DatabaseCompact: MsgBox CStr(Err.Number) & ": " & Err.Description, vbCritical + vbOKOnly, "Database Compact" Resume Exit_DatabaseCompact End Function As always, beware of line breaks. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 2 08:19:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 2 Nov 2003 15:19:14 +0100 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: References: Message-ID: <6520188649.20031102151914@cactus.dk> Hi John > I was under the impression that Access stored query results etc internal to > the FE. Yes, within certain limits which I'm not aware of. Beyond that - say for running a large query - temp data are always stored in temp files. > What happens if you write protect the FE? You say temporary data > will be written to temporary files? What does this mean? Exactly that. Access seems to be clever enough to realize when the FE is run write protected - which happens, say, when you open it directly from a cd-rom. Then temp data goes to the temp folder where they truly belong. Also, saving reports with weird printer settings are avoided this way. Of course, write protecting the file cannot be used if you write to internal tables. But - as you know - it is very simple to create a temporary database if you need to write some data which should not go into the BE file. On the other hand write protection, by definition, effectively stops any bloating or corruption of the FE. /gustav From pctech at mybellybutton.com Sun Nov 2 08:35:04 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sun, 2 Nov 2003 06:35:04 -0800 (PST) Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F2@stekelbes.ithelps.local> Message-ID: <20031102143504.25706.qmail@web13401.mail.yahoo.com> And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === From gustav at cactus.dk Sun Nov 2 08:51:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 2 Nov 2003 15:51:32 +0100 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <20031102143504.25706.qmail@web13401.mail.yahoo.com> References: <20031102143504.25706.qmail@web13401.mail.yahoo.com> Message-ID: <9522126135.20031102155132@cactus.dk> Please, can't this never-ending "mine is bigger than yours" be moved to the techno list - or better: to the eternal fields of bits? /gustav > Maybe you need to learn what you are talking about > before you give out false information. >> You are incorrect. > === message truncated === From wdhindman at bellsouth.net Sun Nov 2 08:57:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 2 Nov 2003 09:57:08 -0500 Subject: [AccessD] Weakest Link References: Message-ID: <000401c3a151$96bcbbc0$6001a8c0@dejpolsys> ...yes he can run multiple nics, but why the extra h/w ...you can run multiple subnets off the same NT nic ...and he can certainly run multiple co-located servers with one be without replication :( ...your real issue appears to be db performance ...assuming he's already running a 100Mb Ethernet and has no nic/cabling problems, then your real answer lies in a server upgrade of one sort or another. ...personally I'd persuade him to upgrade to W2K Server OS with a minimum of 1Gb of ram, the more the merrier ...the server h/w, other than the ram is not as critical as the server os ime unless his HDs are prehistoric ...W2K Server runs circles around NT, especially in reliability, and NT support is going away ...and if he has about $8-10K to spend I'd persuade him to go with a new Dell server with a 25 cal SBS2K OS which includes SQL Server ...plus a free upgrade to W2003 Server (only AFTER the first SP though). ...given the costs involved in the different approaches, his TOC bottom line is going to be lower with a new server since his maintenance costs will drop dramatically with the W2K Server vs NT, even on essentially the same box assuming its not stone aged ...plus you could immediately give him the benefits of a SQL Server be. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 8:53 AM Subject: [AccessD] Weakest Link > I have a client running about 25 Access FEs against an MDB BE. He has a > single server, and of course must use a single server at least for the BE if > we don't get into replication. The server is Windows NT, not even 2K. He > just expanded into another wing of the building they rent and are going to > move one unit of the business (and database) into that wing. Can he run > multiple NICS in Windows NT? That would allow him to put a switch (or > router) on what would essentially be two different LANs. They don't really > have any inter workstation traffic so this would probably work if NT can > deal with more than one NIC. I know that they have (or had) bandwidth > issues because when they replaced a hub with a switch awhile back the > performance of the db improved. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps > Sent: Sunday, November 02, 2003 3:36 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > The weakest link in a network will decide the bandwith. > > If you only have one server all trafic goes to and comes from one link. > If that link is the same speed as the clients link a switch is of no > use. You gonna have a bottleneck. > > Again, switch are very good but you must have a different server speed > link OR multiple servers. By that your bandwith gets divided over > multiple or higer speed links. > > Switches are useles (for reaons of speed) in a single server and only 1 > speed link. > > It's a basic rule of a switch!!! > > Erwin > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sun Nov 2 08:59:42 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 2 Nov 2003 09:59:42 -0500 Subject: [AccessD] OT: Wireless network (sort of) References: <20031102143504.25706.qmail@web13401.mail.yahoo.com> <9522126135.20031102155132@cactus.dk> Message-ID: <000f01c3a151$f28c26c0$6001a8c0@dejpolsys> ...amen :( William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 9:51 AM Subject: Re: [AccessD] OT: Wireless network (sort of) > Please, can't this never-ending "mine is bigger than yours" be moved > to the techno list - or better: to the eternal fields of bits? > > /gustav > > > > Maybe you need to learn what you are talking about > > before you give out false information. > > >> You are incorrect. > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sun Nov 2 09:19:05 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 10:19:05 -0500 Subject: [AccessD] Weakest Link In-Reply-To: <000401c3a151$96bcbbc0$6001a8c0@dejpolsys> Message-ID: William, >...yes he can run multiple nics, but why the extra h/w ...you can run multiple subnets off the same NT nic In the end the bandwidth at the connector of the NIC is 100 mbits. Two NICS means TWO 100 mbit networks, not one 100 mbit lan. >and he can certainly run multiple co-located servers with one be without replication What the hell is a co-located server? There is an MDB that all 25 workstations are trying to get data out of, a single file. >...your real issue appears to be db performance This is absolutely true. They want to so some stuff that just pulls a lot of data however, and in this kind of situation a lot of data is a lot of bandwidth times a lot of users. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Sunday, November 02, 2003 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Weakest Link ...yes he can run multiple nics, but why the extra h/w ...you can run multiple subnets off the same NT nic ...and he can certainly run multiple co-located servers with one be without replication :( ...your real issue appears to be db performance ...assuming he's already running a 100Mb Ethernet and has no nic/cabling problems, then your real answer lies in a server upgrade of one sort or another. ...personally I'd persuade him to upgrade to W2K Server OS with a minimum of 1Gb of ram, the more the merrier ...the server h/w, other than the ram is not as critical as the server os ime unless his HDs are prehistoric ...W2K Server runs circles around NT, especially in reliability, and NT support is going away ...and if he has about $8-10K to spend I'd persuade him to go with a new Dell server with a 25 cal SBS2K OS which includes SQL Server ...plus a free upgrade to W2003 Server (only AFTER the first SP though). ...given the costs involved in the different approaches, his TOC bottom line is going to be lower with a new server since his maintenance costs will drop dramatically with the W2K Server vs NT, even on essentially the same box assuming its not stone aged ...plus you could immediately give him the benefits of a SQL Server be. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 8:53 AM Subject: [AccessD] Weakest Link > I have a client running about 25 Access FEs against an MDB BE. He has a > single server, and of course must use a single server at least for the BE if > we don't get into replication. The server is Windows NT, not even 2K. He > just expanded into another wing of the building they rent and are going to > move one unit of the business (and database) into that wing. Can he run > multiple NICS in Windows NT? That would allow him to put a switch (or > router) on what would essentially be two different LANs. They don't really > have any inter workstation traffic so this would probably work if NT can > deal with more than one NIC. I know that they have (or had) bandwidth > issues because when they replaced a hub with a switch awhile back the > performance of the db improved. > > John W. Colby > www.colbyconsulting.com From pctech at mybellybutton.com Sun Nov 2 09:26:55 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sun, 2 Nov 2003 07:26:55 -0800 (PST) Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <9522126135.20031102155132@cactus.dk> Message-ID: <20031102152655.84721.qmail@web13407.mail.yahoo.com> It has nothing to do with "mine is bigger than yours". It has to do with him spreading false information as the truth. How would you respond if people were spreading misinformation about Access? --- Gustav Brock wrote: > Please, can't this never-ending "mine is bigger than > yours" be moved > to the techno list - or better: to the eternal > fields of bits? > > /gustav > > > > Maybe you need to learn what you are talking about > > before you give out false information. > > >> You are incorrect. > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sun Nov 2 09:51:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 10:51:27 -0500 Subject: [AccessD] defining constants as hex numbers Message-ID: how do you force VB to consider a number hex? I thought there was something like h0f but I can't get it to work and NOT help isn't. John W. Colby www.colbyconsulting.com From carbonnb at sympatico.ca Sun Nov 2 10:28:06 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 02 Nov 2003 11:28:06 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <9522126135.20031102155132@cactus.dk> References: <20031102143504.25706.qmail@web13401.mail.yahoo.com> Message-ID: <3FA4EA46.30655.2439D7@localhost> On 2 Nov 2003 at 15:51, Gustav Brock wrote: > Please, can't this never-ending "mine is bigger than yours" be moved > to the techno list - or better: to the eternal fields of bits? Just like I asked when this thread FIRST showed up!! -- Bryan Carbonnell - carbonnb at sympatico.ca Stupid questions are better than stupid mistakes. - Japanese proverb From bchacc at san.rr.com Sun Nov 2 10:53:51 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 2 Nov 2003 08:53:51 -0800 Subject: [AccessD] Info: Jet SP 8.0 is out References: <22F1CCD5171D17419CB37FEEE09D5F990173F7A7@TTNEXCHSRV1.hshhp.com> <3F9993CF.3030603@shaw.ca> Message-ID: <004401c3a161$e4d91f00$6501a8c0@HAL9002> Marty: Belated questions, maybe you know - if I install SP8 and send an app to a client who is on an earlier SP can this cause problems at the client site? Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, October 24, 2003 1:04 PM Subject: [AccessD] Info: Jet SP 8.0 is out > Went looking for version SP 7.0 of Jet and got redirected.to 8.0 > > Information about Jet 4.0 Service Pack 8 > http://support.microsoft.com/?kbid=829558 > > How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 > Database Engine > http://support.microsoft.com/default.aspx?scid=kb;EN-US;239114#11 > > To find what Jet Service Pack you are running > On the Start menu, click Search. > In the Search Results pane, click All files and folders under Search > Companion. > In the All or part of the file name box, type msjet40.dll, and then > click Search. > In the list of files, right-click the Msjet40.dll file that is located > in the Windows\System32 (or Windows\System) folder, and then click > Properties. > Click the Version tab, and then use the following table to determine the > current Jet 4.0 service pack level: > Msjet40.dll Version Jet 4.0 Service Pack Level > 4.0.2927.4 Service Pack 3 (SP3) > 4.0.3714.7 Service Pack 4 (SP4) > 4.0.4431.1 or 4.0.4431.3 Service Pack 5 (SP5) > 4.0.6218.0 Service Pack 6 (SP6) > 4.0.6807.0 Service Pack 6 (SP6) shipped only with Windows Server 2003 > 4.0.7328.0 Service Pack 7 (SP7) > 4.0.8015.0 Service Pack 8 (SP8) > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fahooper at trapo.com Sun Nov 2 11:00:44 2003 From: fahooper at trapo.com (Fred Hooper) Date: Sun, 2 Nov 2003 12:00:44 -0500 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <000501c3a162$db41dee0$a81d0e44@fred> I had a similar requirement but needed to be sure that the program kept running within the same original job. I solved it with another mdb. The other one has a table where I put information on what to do from the main program. So when I closed the main one and started the other one, the other one compacted and repaired the back end. As the back end will sometimes be on another server for me, I used (the free) PsExec from www.sysinternals.com to start a batch file there. Fred Hooper |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav |Sent: Friday, October 31, 2003 6:14 PM |To: AccessD at databaseadvisors.com |Subject: [AccessD] ACC97 - Repair and Compact | | |Hey All |I have a program designed for a client that runs basically 24 |hours a day, 7 days a week collecting and processing data. Is |it possible to schedule a once weekly repair and compact |operation on both the frontend and backend (or even for now |just the backend). There is a lag/idle time between 1AM and |4AM, when no data is collected or processed. Any direction to |available code, ideas or programs would be appreciated. Thank you. | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com | From wdhindman at bellsouth.net Sun Nov 2 11:29:48 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 2 Nov 2003 12:29:48 -0500 Subject: [AccessD] Weakest Link References: Message-ID: <001001c3a166$ea800360$6001a8c0@dejpolsys> ****inline :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 10:19 AM Subject: RE: [AccessD] Weakest Link > William, > > >...yes he can run multiple nics, but why the extra h/w ...you can run > multiple subnets off the same NT nic > > In the end the bandwidth at the connector of the NIC is 100 mbits. Two NICS > means TWO 100 mbit networks, not one 100 mbit lan. ****and you think an NT server can service two 100Mb nets any faster? > > >and he can certainly run multiple co-located servers with one be without > replication > > What the hell is a co-located server? There is an MDB that all 25 > workstations are trying to get data out of, a single file. ****one server doing OS functions while a co-located one works as the file server with most of its processor and memory dedicated to servicing your be. > > >...your real issue appears to be db performance > > This is absolutely true. They want to so some stuff that just pulls a lot > of data however, and in this kind of situation a lot of data is a lot of > bandwidth times a lot of users. ****hard to believe that a 100Mb lan is b/w limited w/25 users regardless of the db demands ...the real limit is almost always in the processor, memory, and/or HD access ...none of which are affected by how many nics you are using ...by your theory, I could just add a nic any old time I needed to speed things up :) William > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Sunday, November 02, 2003 9:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Weakest Link > > > ...yes he can run multiple nics, but why the extra h/w ...you can run > multiple subnets off the same NT nic ...and he can certainly run multiple > co-located servers with one be without replication :( > > ...your real issue appears to be db performance ...assuming he's already > running a 100Mb Ethernet and has no nic/cabling problems, then your real > answer lies in a server upgrade of one sort or another. > > ...personally I'd persuade him to upgrade to W2K Server OS with a minimum of > 1Gb of ram, the more the merrier ...the server h/w, other than the ram is > not as critical as the server os ime unless his HDs are prehistoric ...W2K > Server runs circles around NT, especially in reliability, and NT support is > going away ...and if he has about $8-10K to spend I'd persuade him to go > with a new Dell server with a 25 cal SBS2K OS which includes SQL Server > ...plus a free upgrade to W2003 Server (only AFTER the first SP though). > > ...given the costs involved in the different approaches, his TOC bottom line > is going to be lower with a new server since his maintenance costs will drop > dramatically with the W2K Server vs NT, even on essentially the same box > assuming its not stone aged ...plus you could immediately give him the > benefits of a SQL Server be. > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 02, 2003 8:53 AM > Subject: [AccessD] Weakest Link > > > > I have a client running about 25 Access FEs against an MDB BE. He has a > > single server, and of course must use a single server at least for the BE > if > > we don't get into replication. The server is Windows NT, not even 2K. He > > just expanded into another wing of the building they rent and are going to > > move one unit of the business (and database) into that wing. Can he run > > multiple NICS in Windows NT? That would allow him to put a switch (or > > router) on what would essentially be two different LANs. They don't > really > > have any inter workstation traffic so this would probably work if NT can > > deal with more than one NIC. I know that they have (or had) bandwidth > > issues because when they replaced a hub with a switch awhile back the > > performance of the db improved. > > > > John W. Colby > > www.colbyconsulting.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sat Nov 1 18:30:12 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 01 Nov 2003 16:30:12 -0800 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <3FA45013.23B22CFE@nanaimo.ark.com> Hey All Did a little mock up using Dev's compacter.mda(mde) for compacting the frontend. Added some code to allow for the compacting of the backend also and a scheduler/timer ability. Seems to be working quite nicely. The program is not any "rocket science" (1 user, no network), still needs checking for users logged on, scheduling by day, week, biweekly etc., backing up front and backends first before compacting etc. etc. But as I said the little mockup seems to be working nicely compacting both the front and back end at a scheduled time and returning to the program all in one automated step. Still got to do more testing and additions. Thanks for all your help and suggestions. From stuart at lexacorp.com.pg Sun Nov 2 17:12:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 03 Nov 2003 09:12:50 +1000 Subject: [AccessD] defining constants as hex numbers In-Reply-To: Message-ID: <3FA61C12.22982.1A3CC4@localhost> On 2 Nov 2003 at 10:51, John Colby wrote: > how do you force VB to consider a number hex? I thought there was something > like h0f but I can't get it to work and NOT help isn't. > &H -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Sun Nov 2 18:27:45 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 19:27:45 -0500 Subject: [AccessD] defining constants as hex numbers In-Reply-To: <3FA61C12.22982.1A3CC4@localhost> Message-ID: Thanks John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Sunday, November 02, 2003 6:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] defining constants as hex numbers On 2 Nov 2003 at 10:51, John Colby wrote: > how do you force VB to consider a number hex? I thought there was something > like h0f but I can't get it to work and NOT help isn't. > &H -- 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 martyconnelly at shaw.ca Sun Nov 2 19:41:09 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 02 Nov 2003 17:41:09 -0800 Subject: [AccessD] Info: Jet SP 8.0 is out References: <22F1CCD5171D17419CB37FEEE09D5F990173F7A7@TTNEXCHSRV1.hshhp.com> <3F9993CF.3030603@shaw.ca> <004401c3a161$e4d91f00$6501a8c0@HAL9002> Message-ID: <3FA5B235.6070502@shaw.ca> In so much as you might not have written a code workaround to get a problem corrected in a later SP, you will have a problem. For example: :After you compact and repair a database that includes a table that has an AutoNumber field, you notice that when you enter new data, the AutoNumber is a duplicate of an earlier AutoNumber. This is fixed by SP4. You won't see the error developing in SP8, but if your client is still on SP3 she will. Or for example SP7 gets around problems of importing paradox and dbase files. MS and Borland kissed and made up so it is was fixed in SP7. To find the errors corrected by SPs you will have to find the KB associated with each SP. Ha Ha Ha .Giggle They keep switching them every six months. . To apply SP 8 it goes with Win 2003, 2000 and XP otherwise use SP7 for lower OS. To apply either you need at least SP3 installed. The SP's are cumulative so that SP7 has all the fixes of SP7 thru SP4. There is also a seperate SP for replication and SP7. SP 8 fixes Access/Oracle problems. There is a list here to determine your SP level from Version number of msjet40.dll How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine http://support.microsoft.com/default.aspx?scid=kb;EN-US;239114 SP7 here http://support.microsoft.com/default.aspx?scid=kb;en-us;Q282010 Rocky Smolin - Beach Access Software wrote: >Marty: > >Belated questions, maybe you know - if I install SP8 and send an app to a >client who is on an earlier SP can this cause problems at the client site? > >Regards, > >Rocky Smolin >Beach Access Software > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Friday, October 24, 2003 1:04 PM >Subject: [AccessD] Info: Jet SP 8.0 is out > > > > >>Went looking for version SP 7.0 of Jet and got redirected.to 8.0 >> >>Information about Jet 4.0 Service Pack 8 >>http://support.microsoft.com/?kbid=829558 >> >>How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 >>Database Engine >>http://support.microsoft.com/default.aspx?scid=kb;EN-US;239114#11 >> >>To find what Jet Service Pack you are running >>On the Start menu, click Search. >>In the Search Results pane, click All files and folders under Search >>Companion. >>In the All or part of the file name box, type msjet40.dll, and then >>click Search. >>In the list of files, right-click the Msjet40.dll file that is located >>in the Windows\System32 (or Windows\System) folder, and then click >>Properties. >>Click the Version tab, and then use the following table to determine the >>current Jet 4.0 service pack level: >>Msjet40.dll Version Jet 4.0 Service Pack Level >>4.0.2927.4 Service Pack 3 (SP3) >>4.0.3714.7 Service Pack 4 (SP4) >>4.0.4431.1 or 4.0.4431.3 Service Pack 5 (SP5) >>4.0.6218.0 Service Pack 6 (SP6) >>4.0.6807.0 Service Pack 6 (SP6) shipped only with Windows Server 2003 >>4.0.7328.0 Service Pack 7 (SP7) >>4.0.8015.0 Service Pack 8 (SP8) >> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Nov 2 19:43:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 02 Nov 2003 17:43:47 -0800 Subject: [AccessD] defining constants as hex numbers References: Message-ID: <3FA5B2D3.4010906@shaw.ca> Sub ones() Dim iTest As Integer Dim inum As Integer Dim lnum As Long Dim hexvalue As String hexvalue = "8A" iTest = 255 inum = Val("&H" & hexvalue) ' hex 8A lnum = inum Xor iTest Debug.Print "lnum=" & lnum & "hex=" & Hex(lnum) End Sub John Colby wrote: >how do you force VB to consider a number hex? I thought there was something >like h0f but I can't get it to work and NOT help isn't. > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From stuart at pacific.net.hk Sun Nov 2 20:29:02 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 3 Nov 2003 10:29:02 +0800 Subject: [AccessD] Weakest Link In-Reply-To: <001001c3a166$ea800360$6001a8c0@dejpolsys> Message-ID: It is usually better to run some tests to see what is the weakest link before jumping to conclusions. NT, has a utility called perfmon (performance monitor) where you can set up and monitor various stats. Occasionally a simple memory upgrade may resolve performance issues where the server is paging continuously. What you really need to determine is whether it is the LAN or the server that is the main issue. If your network is constantly running maxed out, then maybe a second NIC is the answer. Though I agree with William that Win2K runs rings around winNT in terms of ease of maintenance. NT can also a right PITA for installing new gear. I've also set up win2k server for VPN service between a clients offices between here and Tokyo running on an old Pentium Pro with 96 MB of ram (they didn't want to spend the money on a new box, so a replaced fileserver got the job). After hacking out services to get the memory footprint down it hasn't had a hickup in over 6 months of use. Just goes to show that win2k can also run on older gear, though I'd not recommend that for a heavily used system. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Monday, 03 November, 2003 1:30 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Weakest Link > > > ****inline :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 02, 2003 10:19 AM > Subject: RE: [AccessD] Weakest Link > > > > William, > > > > >...yes he can run multiple nics, but why the extra h/w > ...you can run > > multiple subnets off the same NT nic > > > > In the end the bandwidth at the connector of the NIC is 100 > mbits. Two > NICS > > means TWO 100 mbit networks, not one 100 mbit lan. > > ****and you think an NT server can service two 100Mb nets any faster? > > > > >and he can certainly run multiple co-located servers with > one be without > > replication > > > > What the hell is a co-located server? There is an MDB that all 25 > > workstations are trying to get data out of, a single file. > > ****one server doing OS functions while a co-located one > works as the file > server with most of its processor and memory dedicated to > servicing your be. > > > > >...your real issue appears to be db performance > > > > This is absolutely true. They want to so some stuff that > just pulls a lot > > of data however, and in this kind of situation a lot of > data is a lot of > > bandwidth times a lot of users. > > ****hard to believe that a 100Mb lan is b/w limited w/25 > users regardless of > the db demands ...the real limit is almost always in the > processor, memory, > and/or HD access ...none of which are affected by how many > nics you are > using ...by your theory, I could just add a nic any old time > I needed to > speed things up :) > William > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Sunday, November 02, 2003 9:57 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Weakest Link > > > > > > ...yes he can run multiple nics, but why the extra h/w > ...you can run > > multiple subnets off the same NT nic ...and he can > certainly run multiple > > co-located servers with one be without replication :( > > > > ...your real issue appears to be db performance ...assuming > he's already > > running a 100Mb Ethernet and has no nic/cabling problems, > then your real > > answer lies in a server upgrade of one sort or another. > > > > ...personally I'd persuade him to upgrade to W2K Server OS > with a minimum > of > > 1Gb of ram, the more the merrier ...the server h/w, other > than the ram is > > not as critical as the server os ime unless his HDs are > prehistoric ...W2K > > Server runs circles around NT, especially in reliability, > and NT support > is > > going away ...and if he has about $8-10K to spend I'd > persuade him to go > > with a new Dell server with a 25 cal SBS2K OS which > includes SQL Server > > ...plus a free upgrade to W2003 Server (only AFTER the > first SP though). > > > > ...given the costs involved in the different approaches, > his TOC bottom > line > > is going to be lower with a new server since his > maintenance costs will > drop > > dramatically with the W2K Server vs NT, even on essentially > the same box > > assuming its not stone aged ...plus you could immediately > give him the > > benefits of a SQL Server be. > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Sunday, November 02, 2003 8:53 AM > > Subject: [AccessD] Weakest Link > > > > > > > I have a client running about 25 Access FEs against an > MDB BE. He has a > > > single server, and of course must use a single server at > least for the > BE > > if > > > we don't get into replication. The server is Windows NT, > not even 2K. > He > > > just expanded into another wing of the building they rent > and are going > to > > > move one unit of the business (and database) into that > wing. Can he run > > > multiple NICS in Windows NT? That would allow him to put > a switch (or > > > router) on what would essentially be two different LANs. > They don't > > really > > > have any inter workstation traffic so this would probably > work if NT can > > > deal with more than one NIC. I know that they have (or > had) bandwidth > > > issues because when they replaced a hub with a switch > awhile back the > > > performance of the db improved. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From my.lists at verizon.net Mon Nov 3 01:33:30 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Sun, 02 Nov 2003 23:33:30 -0800 Subject: [AccessD] OT: Noisy computer In-Reply-To: References: Message-ID: <3FA604CA.1020200@verizon.net> Aerocool's DP101 is a neat idea, I have not ordered it but am gonna, http://www.amdmb.com/article-display.php?ArticleID=242 according to this review by AMD MB, it's a very good well performing cpu cooler that is no louder than a soft whisper, in my pc I have volcano 7 and while I don't mind it, my wife does, and has threatened to cut all power to my pc. :D John Colby wrote: > I just thought I'd share a tip. > > I build my own computers from parts. About two years ago now I bought these > rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs > and used Thermaltake volcanoes in them plus 3 case fans (plus two in the > power supply). Needless to say it was NOISY!!! > > So noisy I couldn't hear a phone conversation. > > I finally decided I'd had enough. I found a HSF called the Thermaltake > Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That > got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, > but the case fans were still pretty loud. I was just about to order low > noise variable speed fans when I ran across this article: > http://www.cpemma.co.uk/7volt.html > > I decided since it was free and immediate (I'm a right now kinda guy) I'd go > ahead and try it. Essentially you build a cable (don't panic, it's easy) > that feeds 7 volts to the fan instead of the normal 12, which reduces the > fan speed (and air volume) which reduces the noise (and air volume). > > As long as the remaining air volume is sufficient to keep the case cool all > is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out > that the temperature on the proc went up from ~104 f to 107 f idle. Not too > bad actually. And the difference in noise between the new HSF and lower > voltage to the case fans is immense. Not dead silent by any means but quiet > now instead of sounding like the cleaning lady with a vacuum in my ear. > > Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. > http://www.cpemma.co.uk/7volt.html > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From accessd at shaw.ca Mon Nov 3 01:46:35 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 02 Nov 2003 23:46:35 -0800 Subject: [AccessD] Running local file format In-Reply-To: <3FA604CA.1020200@verizon.net> Message-ID: Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA Jim From gmiller at sistersnet.com Mon Nov 3 02:34:13 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Mon, 3 Nov 2003 00:34:13 -0800 Subject: [AccessD] Running local file format References: Message-ID: <03a201c3a1e5$45cfe0e0$0300a8c0@svreo1> Jim, Look up the Shell() function in Help. Sounds like what you are looking for. Gary Miller Sisters, OR ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 11:46 PM Subject: [AccessD] Running local file format > Hi All: > > This is a simple question I am sure but the life of me I can not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to run/display any file that > the local computer recognizes, like a Word document, pdf file, spreadsheet > or maybe a web page without writing specific code for each type. I have > written procedures for Word Excel and Web pages but there must be any easier > way than blocks of code for each extension. A browser web page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > Jim > > > _______________________________________________ > 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 Nov 3 04:26:12 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 3 Nov 2003 18:26:12 +0800 Subject: [AccessD] Running local file format In-Reply-To: Message-ID: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> What you want is this: http://www.mvps.org/access/api/api0018.htm Regards Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence (AccessD) > Sent: Monday, 03 November, 2003 3:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running local file format > > > Hi All: > > This is a simple question I am sure but the life of me I can > not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to > run/display any file that > the local computer recognizes, like a Word document, pdf > file, spreadsheet > or maybe a web page without writing specific code for each > type. I have > written procedures for Word Excel and Web pages but there > must be any easier > way than blocks of code for each extension. A browser web > page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > Jim > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Nov 3 04:31:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 11:31:59 +0100 Subject: [AccessD] defining constants as hex numbers In-Reply-To: <2400510678138396723d0567@global.net.pg> References: <2400510678138396723d0567@global.net.pg> Message-ID: <1709213628.20031103113159@cactus.dk> Hi John, Stuart But be careful with values above the max. positive value of a signed Integer &H7FFF as these evaluates to negative values in VB. Not even assigning such a value to a constant or a variable declared as Long will help you. If you expect, say, 65535 for &HFFFF, add the type declaration sign for Long: &HFFFF& or make it initially a Long by adding and subtracting one &H10000 - 1 or wrap it, again forcing a Long and taking advantage of &HFFFF as a fancy way of writing -1 &H10000 + &HFFFF The last one is a nice item to add in your box of tools for writing unreadable code! /gustav >> how do you force VB to consider a number hex? I thought there was something >> like h0f but I can't get it to work and NOT help isn't. >> > &H From gustav at cactus.dk Mon Nov 3 06:22:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 13:22:09 +0100 Subject: [AccessD] MS InfoPath and OneNote Message-ID: <8615823653.20031103132209@cactus.dk> Hi all Anyone familiar with these new products and if they somehow relate to Access? I've tried to browse some brochures but they are so hyped that it is just plain impossible to figure out wether these apps are fancy toys which will bring any machine to a crawl or if they could be useful tools in cooperation with Access and database applications. And how are the programmed if you wish to create custom build apps? I've located this link to a SDK related to InfoPath: http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en but it looks like you need to take a deep breath and have a weekend set aside. Also, how much are they relying on specific MS server software like SharePoint or Exchange or pure MS environments or Office 2003 only? If so, the usefulness is very limited as our clients use a variety of systems. /gustav From bheid at appdevgrp.com Mon Nov 3 06:26:09 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 3 Nov 2003 07:26:09 -0500 Subject: [AccessD] Weird Access XP/SS problem-Answer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA3067BF79@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFA0@ADGSERVER> Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. Charlotte Foust From jcolby at colbyconsulting.com Mon Nov 3 08:10:45 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 09:10:45 -0500 Subject: [AccessD] Weird Access XP/SS problem-Answer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BAFA0@ADGSERVER> Message-ID: Charlotte, I would hope there is a better answer than that. I intentionally leave my client's dbs in A2K file format since AXP as the compact bug. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Monday, November 03, 2003 7:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 3 08:14:57 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 09:14:57 -0500 Subject: [AccessD] defining constants as hex numbers In-Reply-To: <1709213628.20031103113159@cactus.dk> Message-ID: Gustav, I am dealing with longs and am doing bit manipulations of individual bits (which is why I want Hex to begin with) so I must have the ability to deal with upper bits. However I avoid the sign bit so I don't really care if it "makes it negative" as long as it doesn't do so by propagating a 1 through all of the upper bits such that all of the upper 16 bits are a 1. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, November 03, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] defining constants as hex numbers Hi John, Stuart But be careful with values above the max. positive value of a signed Integer &H7FFF as these evaluates to negative values in VB. Not even assigning such a value to a constant or a variable declared as Long will help you. If you expect, say, 65535 for &HFFFF, add the type declaration sign for Long: &HFFFF& or make it initially a Long by adding and subtracting one &H10000 - 1 or wrap it, again forcing a Long and taking advantage of &HFFFF as a fancy way of writing -1 &H10000 + &HFFFF The last one is a nice item to add in your box of tools for writing unreadable code! /gustav >> how do you force VB to consider a number hex? I thought there was something >> like h0f but I can't get it to work and NOT help isn't. >> > &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 Nov 3 08:21:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 09:21:22 -0500 Subject: [AccessD] OT: Noisy computer In-Reply-To: <3FA604CA.1020200@verizon.net> Message-ID: Newegg gives a retail price of #32 for the deep impact which would make it a good buy. Unfortunately they don't have it in stock. The thermaltake silent boost is about the same price and in stock and works wonderfully. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Monday, November 03, 2003 2:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Noisy computer Aerocool's DP101 is a neat idea, I have not ordered it but am gonna, http://www.amdmb.com/article-display.php?ArticleID=242 according to this review by AMD MB, it's a very good well performing cpu cooler that is no louder than a soft whisper, in my pc I have volcano 7 and while I don't mind it, my wife does, and has threatened to cut all power to my pc. :D John Colby wrote: > I just thought I'd share a tip. > > I build my own computers from parts. About two years ago now I bought these > rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs > and used Thermaltake volcanoes in them plus 3 case fans (plus two in the > power supply). Needless to say it was NOISY!!! > > So noisy I couldn't hear a phone conversation. > > I finally decided I'd had enough. I found a HSF called the Thermaltake > Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That > got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, > but the case fans were still pretty loud. I was just about to order low > noise variable speed fans when I ran across this article: > http://www.cpemma.co.uk/7volt.html > > I decided since it was free and immediate (I'm a right now kinda guy) I'd go > ahead and try it. Essentially you build a cable (don't panic, it's easy) > that feeds 7 volts to the fan instead of the normal 12, which reduces the > fan speed (and air volume) which reduces the noise (and air volume). > > As long as the remaining air volume is sufficient to keep the case cool all > is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out > that the temperature on the proc went up from ~104 f to 107 f idle. Not too > bad actually. And the difference in noise between the new HSF and lower > voltage to the case fans is immense. Not dead silent by any means but quiet > now instead of sounding like the cleaning lady with a vacuum in my ear. > > Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. > http://www.cpemma.co.uk/7volt.html > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Nov 3 08:41:45 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 09:41:45 -0500 Subject: [AccessD] Running local file format References: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> Message-ID: <002a01c3a218$9a8f4020$6001a8c0@dejpolsys> ...hey! ...nice find, works like a charm ...as it happens I have an immediate use for this little honey ...thanks :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 5:26 AM Subject: RE: [AccessD] Running local file format > What you want is this: > > http://www.mvps.org/access/api/api0018.htm > > Regards > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Jim Lawrence (AccessD) > > Sent: Monday, 03 November, 2003 3:47 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Running local file format > > > > > > Hi All: > > > > This is a simple question I am sure but the life of me I can > > not remember or > > find the related code. (Advanced years and all) > > > > Can you set up Access to, under program control to > > run/display any file that > > the local computer recognizes, like a Word document, pdf > > file, spreadsheet > > or maybe a web page without writing specific code for each > > type. I have > > written procedures for Word Excel and Web pages but there > > must be any easier > > way than blocks of code for each extension. A browser web > > page can do this > > but can an Access program? > > > > Any suggestions would be greatly appreciated > > > > MTIA > > 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 serbach at new.rr.com Mon Nov 3 08:56:42 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 08:56:42 -0600 Subject: [AccessD] How to prevent a mess Message-ID: <20031103085642.1503239058.serbach@new.rr.com> Dear Group, I've been enlightened by Michael Kaplan's explanation of the perils of copying replicas and not going through a proper replication sequence with CD copies back and forth. The question is: what now? The independent laptops are scattered around the state and its *very* inconvenient for them to come back to do a physical replication. Money to write a custom synchronization process is simply not available. I note from Kaplan's explanations that if the replicas are unmanaged -- that is, Synchronizer is not used -- then certain types of problems can be avoided. Also problems can be avoided by using the built-in Access methods for moving replicas or by using TSI Synchronizer. He also mentions using the Briefcase reconciler, but that doesn't exist in Windows 2000 or XP, does it? I'm trying to avoid creating a mess. The application is in more or less a beta stage now, so we could start from scratch with a new Replication strategy. Any advice? Regards, Steve Erbach Scientific Marketing Neenah, WI From gustav at cactus.dk Mon Nov 3 08:57:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 15:57:07 +0100 Subject: [AccessD] defining constants as hex numbers In-Reply-To: References: Message-ID: <13825122033.20031103155707@cactus.dk> Hi John OK, I guess you know what you're doing. I just recall this old example which blows if the trailing "&" is omitted: Dim WinVer% Dim LoByte% Dim HiByte% WinVer = GetVersion() And &HFFFF& LoByte = WinVer And &HFF ' major version HiByte = WinVer \ &HFF ' minor version IsWin95 = (HiByte / 100 + LoByte) >= 3.95 I am dealing with longs and am doing bit manipulations of individual bits > (which is why I want Hex to begin with) so I must have the ability to deal > with upper bits. However I avoid the sign bit so I don't really care if it > "makes it negative" as long as it doesn't do so by propagating a 1 through > all of the upper bits such that all of the upper 16 bits are a 1. From rusty.hammond at cpiqpc.com Mon Nov 3 09:13:01 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 09:13:01 -0600 Subject: [AccessD] Running local file format Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603B@cpixchng-1.cpiqpc.net> Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Nov 3 09:17:46 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 3 Nov 2003 16:17:46 +0100 (CET) Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <649944.1067872666630.JavaMail.www@wwinf3006> To all, We are operating Office XP Professional and I have started to write a little scheduling application. Every so often we will have an Excel Workbook containing three spreadsheets, what I need to be able to do is link into the Workbook to bring a certain clients data in from the second sheet. The fields in the workbook are as follows: StoreNo, HolidayWeek, Sun, Mon, Tue, Wed, Thur, Fri, Sat StoreNo contain the store number and if there is a certain week that we cannot go to the store the week commencing date wil be entered under HolidayWeek. If there is a certain day or multiple days that we cannot go to the store, the individual dates will be stored under the day of the week. Now I have a tbale with the following fields : StoreNo, BlackoutWeek, BlackoutDay I need to link into Excel and bring the data in from the Excel spreadsheet into the table above. So I may end up with StoreNo BlackoutWeek BlackoutDay 1 27/01/04 1 28/01/04 1 04/01/04 etc, has anyone any sample code on how to link into the Excel spreadsheet an retrieve the data. Thanks in advance for any help. Paul Hartland From paul.hartland at fsmail.net Mon Nov 3 09:53:36 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 3 Nov 2003 16:53:36 +0100 (CET) Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB Message-ID: <18619615.1067874816000.JavaMail.www@wwinf3002> To all, We have just had and error message up saying can't find MSysDb, we can't repair it or import tables from this database at all. Is there a way of restoring the database, to save us going to a backup version ? Please help as quickly as possible, thanks, Paul Hartland From accessd at shaw.ca Mon Nov 3 09:52:50 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 07:52:50 -0800 Subject: [AccessD] Running local file format In-Reply-To: <03a201c3a1e5$45cfe0e0$0300a8c0@svreo1> Message-ID: Thank you Gary: I am current researching that specific procedure but each document type must be prefixed with a path and name of the actual program that will display them. I was hoping for something that could use the intelligence from the OS on file extensions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Monday, November 03, 2003 12:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Running local file format Jim, Look up the Shell() function in Help. Sounds like what you are looking for. Gary Miller Sisters, OR ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 11:46 PM Subject: [AccessD] Running local file format > Hi All: > > This is a simple question I am sure but the life of me I can not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to run/display any file that > the local computer recognizes, like a Word document, pdf file, spreadsheet > or maybe a web page without writing specific code for each type. I have > written procedures for Word Excel and Web pages but there must be any easier > way than blocks of code for each extension. A browser web page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > 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 HollisVJ at pgdp.usec.com Mon Nov 3 09:59:26 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 03 Nov 2003 09:59:26 -0600 Subject: [AccessD] SubReports Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C7FA@cntexchange.pgdp.usec.com> Ok - what is the trick to selecting a subreport in report design? In 97 all I had to do is click on the report & it would open for modifications. In A2K I can't even select the report. Virginia From andy at minstersystems.co.uk Mon Nov 3 09:02:05 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 3 Nov 2003 16:02:05 +0100 Subject: [AccessD] Running local file format Message-ID: <20031103160200.C8CF224D446@smithers.nildram.co.uk> I use some API code that came from someone on the list (sorry can't credit cos can't remember). Very simple. Stick this in a module: Declare Function ShellExecute Lib "shell32" 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 Function RunApp(strFile As String, bytSize) As Boolean Dim lngRet As Long Dim varTaskID As Variant Dim strRet As String lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, vbNullString, vbNullString, bytSize) If lngRet > Success Then strRet = vbNullString lngRet = -1 RunApp = True Else RunApp = False Select Case lngRet Case NotRegistered varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & strFile, bytSize) lngRet = (varTaskID <> 0) Case InadequateMemory MsgBox "Error: Out of Memory/Resources!" Case FileNotFound MsgBox "Error: File not found!" Case PathNotFound MsgBox "Error: Path not found!" Case BadFormat MsgBox "Error: Bad File Format!" Case 5 MsgBox "Error: Unauthorized due to Security restrictions!" End Select End If End Function Then all you do is: Call RunApp(strfilename,1) HTH -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] Running local file format Date: 03/11/03 21:15 Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From DWUTKA at marlow.com Mon Nov 3 10:08:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:08:13 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227480@main2.marlow.com> Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 31, 2003 9:20 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Yes, a switch is used to connect computers on the same subnet. A router is > used to connect subnets together. A router is usually also a switch, so it > can connect computers on the same subnet, AND connect one subnet to another. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Is there a difference between a switch and a router? > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 31, 2003 6:54 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > I recommend "hardwiring" the IP address of any device > > or server connected to your LAN that's not a > > workstation and is virtually always on. > > > > For the price, I would also highly recommend removing > > all hubs from your network and using them as > > doorstops. Switches have come way down in price and > > have many benifits over hubs. > > > > Hubs divide the bandwidth across all ports. Thus if > > you have an 8-port 10-BaseT hub, all ports that are > > processing data split that 10Mbit. A switch, each > > port gets the fill bandwidth. > > > > That's not including the security issues inherent with > > hubs as they broadcast all available data to all > > available ports rather than to the proper destination > > port. > > > > --- John Colby wrote: > > > Yes, you can indeed daisy chain routers and > > > SUPPOSEDLY hubs, though I had no > > > joy doing that with my old hub. I am however daisy > > > chaining my old 4 port > > > router off of my new 4 port wireless router. The > > > newer models even figure > > > out what kind of cable you are using, crossover or > > > regular. The biggest > > > issue there was that the router was the dhcp server > > > so I had to turn off the > > > old as a dhcp server and turn on the new. I also > > > hardwired the address of > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > port routers isn't a > > > panacea however since you now end up using two ports > > > just for the daisy > > > chain and have 6 left. In my case though I also > > > have a wireless so I can > > > get my laptop in through that and could also get > > > other computers in if > > > needed. > > > > > > I have an old model I TIVO which I modded to use the > > > internet to "call in" > > > for programming. I had to snake a cable down the > > > wall from the living room > > > (luckily exactly over my office in the basement). I > > > understand that the > > > model II has USB ports that can automatically use > > > the USB wireless cards to > > > connect to the internet. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, October 31, 2003 8:33 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > of) > > > > > > > > > John: > > > > > > I heard that you can daisy chain hubs off one of the > > > ports on your router to > > > get more ports and that you can go up to 255 devices > > > from one router this > > > way. Seems to easy and cheap, though. > > > > > > I've also found that when creating a new network it > > > sometimes takes a few > > > minutes for the different shared devices to 'see' > > > each other - especially on > > > the wireless. So I'll whang around frustrated > > > trying to get the network to > > > work and then have the same experience you had - > > > after a few minutes, > > > suddenly the other machines are in my network > > > neighborhood. Go figure. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "Database Advisors Inc. (Tech)" > > > ; > > > "AccessD" > > > Sent: Thursday, October 30, 2003 5:39 PM > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > couple of weeks ago. I > > > needed > > > > to expand my 4 port router (I had 5 things I kept > > > needing to plug in) and > > > > the Netgear was on sale at www.Newegg.com at the > > > time. I then tried and > > > > failed to install a linksys WPC11v2.5 I had laying > > > around, so I ordered a > > > > dlink dwl-650 that was on sale (rebate) at > > > www.newegg.com. Long story > > > > short, it didn't work. Long story a little > > > longer, a very long call to > > > > dlink tech support, did not solve the problem. > > > > > > > > Or maaaaaybe it did. After failing to figure > > > anything out, they > > > recommended > > > > that I upgrade my laptop bios. It's an ancient > > > (now) 233mhz PII Toshiba > > > > Satellite 4000 that I bought with my first > > > paycheck from my trip to work > > > for > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > November 1997? Getting a > > > bit > > > > long in the tooth, truth be told. > > > > > > > > The bios upgrade and also the old "turn off NAV > > > before installing etc. > > > And > > > > "oh by the way, our card requires at least a 300 > > > mhz processor. So I > > > > uninstalled, upgraded to the latest bios (May > > > 2000?), turned off NAV, > > > > reinstalled the drivers and re-installed the card. > > > Still no joy. The > > > site > > > > survey showed no transmitters, and dlink tech > > > support assured me that if > > > > there was a transmitter I would see it regardless. > > > > > > > > Ignorant liars! > > > > > > > > Went back in and reconfigured the card in the > > > laptop for channel 11 (it > > > > defaulted to 3 and the router was on 11), played > > > around with a couple of > > > > other things and boom, I see a transmitter. Went > > > in to the router config > > > > page and changed the SSID and sure enough the > > > thing I'm seeing on the > > > laptop > > > > changes to match! Still no connection though. > > > > > > > > Rebooted, played around some more and suddenly (no > > > clear idea why) I have > > > a > > > > wireless connection, can browse my network and see > > > the web. Yeaaaaa. > > > > > > > > Moral of the story, tech support generally sucks, > > > play around, don't quit, > > > > and eventually the gods will reward you. Or not. > > > > > > > > Now, I need to know what to do to tighten this > > > thing up so that others > > > can't > > > > see my network. I'm a bit afraid to touch > > > anything since I don't really > > > > know what I did to finally get it running. > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 10:18:37 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:18:37 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF802227483@main2.marlow.com> I just put my servers in the closet. Don't care how noisy they get. Can't hear them! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 01, 2003 12:32 AM To: AccessD Subject: [AccessD] OT: Noisy computer I just thought I'd share a tip. I build my own computers from parts. About two years ago now I bought these rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs and used Thermaltake volcanoes in them plus 3 case fans (plus two in the power supply). Needless to say it was NOISY!!! So noisy I couldn't hear a phone conversation. I finally decided I'd had enough. I found a HSF called the Thermaltake Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, but the case fans were still pretty loud. I was just about to order low noise variable speed fans when I ran across this article: http://www.cpemma.co.uk/7volt.html I decided since it was free and immediate (I'm a right now kinda guy) I'd go ahead and try it. Essentially you build a cable (don't panic, it's easy) that feeds 7 volts to the fan instead of the normal 12, which reduces the fan speed (and air volume) which reduces the noise (and air volume). As long as the remaining air volume is sufficient to keep the case cool all is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out that the temperature on the proc went up from ~104 f to 107 f idle. Not too bad actually. And the difference in noise between the new HSF and lower voltage to the case fans is immense. Not dead silent by any means but quiet now instead of sounding like the cleaning lady with a vacuum in my ear. Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. http://www.cpemma.co.uk/7volt.html John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 3 10:19:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 11:19:43 -0500 Subject: [AccessD] SubReports In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C7FA@cntexchange.pgdp.usec.com> Message-ID: Virginia, I am ashamed at you expressing such disbelief and disapproval at the NEW AND IMPROVED FEATURES OF A2K!!! Welcome to the "let's make it better and change everything around" world of M$. In theory, the subreport should be "transparent" now, i.e. you should see the controls etc inside the subreporta (and subforms). In order to select the subreport itself, one way is to click OUTSIDE the subObject, ten click the little gray square in the upper left corner ONE TIME. If you keep a property box open as you do this you can watch the property box to see what object you have selected. You then "drill down" into the sub object clicking again and yet again. In fact the first click SHOULD show you the properties of the sub object CONTROL on the main object. Next click will show you properties of the sub-object (sub report / sub form). Next click will show you properties of the object inside the subreport/form such as the header, a control etc. depending on what you are clicking on. So as you can see, this is all "new and improved". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Monday, November 03, 2003 10:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SubReports Ok - what is the trick to selecting a subreport in report design? In 97 all I had to do is click on the report & it would open for modifications. In A2K I can't even select the report. Virginia _______________________________________________ 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 Nov 3 10:24:06 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 3 Nov 2003 16:24:06 -0000 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <61F915314798D311A2F800A0C9C83188047C6666@dibble.observatory.donnslaw.co.uk> Nicely put. However by being the first person to post to this thread today, you fall foul of a new policy just agreed between myself and the other moderators. Don't take it personally... EVERYONE PLEASE NOTE: from now on we will be insisting that responses to questions which really belong on one of the other lists MUST be made on the appropriate list and not on AccessD. Initial requests for help can still be sent to AccessD, until it becomes clear that we have enough subscribers on the other lists to make it unneccessary, but all responses should be sent to the VB, SQL-Server or Tech list. We will be sending out an official email to that effect sometime soon. If you disagree with the policy please send a mail to ops-mod at databaseadvisors.com and we will consider your views. Thanks Roz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 03 November 2003 16:08 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 31, 2003 9:20 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Yes, a switch is used to connect computers on the same subnet. A > router is > used to connect subnets together. A router is usually also a switch, > so it > can connect computers on the same subnet, AND connect one subnet to another. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Is there a difference between a switch and a router? > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 31, 2003 6:54 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > I recommend "hardwiring" the IP address of any device > > or server connected to your LAN that's not a > > workstation and is virtually always on. > > > > For the price, I would also highly recommend removing > > all hubs from your network and using them as > > doorstops. Switches have come way down in price and > > have many benifits over hubs. > > > > Hubs divide the bandwidth across all ports. Thus if > > you have an 8-port 10-BaseT hub, all ports that are processing data > > split that 10Mbit. A switch, each port gets the fill bandwidth. > > > > That's not including the security issues inherent with > > hubs as they broadcast all available data to all > > available ports rather than to the proper destination > > port. > > > > --- John Colby wrote: > > > Yes, you can indeed daisy chain routers and > > > SUPPOSEDLY hubs, though I had no > > > joy doing that with my old hub. I am however daisy chaining my > > > old 4 port router off of my new 4 port wireless router. The > > > newer models even figure > > > out what kind of cable you are using, crossover or > > > regular. The biggest > > > issue there was that the router was the dhcp server > > > so I had to turn off the > > > old as a dhcp server and turn on the new. I also > > > hardwired the address of > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > port routers isn't a > > > panacea however since you now end up using two ports > > > just for the daisy > > > chain and have 6 left. In my case though I also > > > have a wireless so I can > > > get my laptop in through that and could also get > > > other computers in if > > > needed. > > > > > > I have an old model I TIVO which I modded to use the internet to > > > "call in" for programming. I had to snake a cable down the > > > wall from the living room > > > (luckily exactly over my office in the basement). I > > > understand that the > > > model II has USB ports that can automatically use > > > the USB wireless cards to > > > connect to the internet. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, October 31, 2003 8:33 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > of) > > > > > > > > > John: > > > > > > I heard that you can daisy chain hubs off one of the ports on your > > > router to get more ports and that you can go up to 255 devices > > > from one router this > > > way. Seems to easy and cheap, though. > > > > > > I've also found that when creating a new network it sometimes > > > takes a few minutes for the different shared devices to 'see' > > > each other - especially on > > > the wireless. So I'll whang around frustrated > > > trying to get the network to > > > work and then have the same experience you had - > > > after a few minutes, > > > suddenly the other machines are in my network > > > neighborhood. Go figure. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "Database Advisors Inc. (Tech)" > > > ; "AccessD" > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > couple of weeks ago. I > > > needed > > > > to expand my 4 port router (I had 5 things I kept > > > needing to plug in) and > > > > the Netgear was on sale at www.Newegg.com at the > > > time. I then tried and > > > > failed to install a linksys WPC11v2.5 I had laying > > > around, so I ordered a > > > > dlink dwl-650 that was on sale (rebate) at > > > www.newegg.com. Long story > > > > short, it didn't work. Long story a little > > > longer, a very long call to > > > > dlink tech support, did not solve the problem. > > > > > > > > Or maaaaaybe it did. After failing to figure > > > anything out, they > > > recommended > > > > that I upgrade my laptop bios. It's an ancient > > > (now) 233mhz PII Toshiba > > > > Satellite 4000 that I bought with my first > > > paycheck from my trip to work > > > for > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > November 1997? Getting a > > > bit > > > > long in the tooth, truth be told. > > > > > > > > The bios upgrade and also the old "turn off NAV > > > before installing etc. > > > And > > > > "oh by the way, our card requires at least a 300 > > > mhz processor. So I > > > > uninstalled, upgraded to the latest bios (May > > > 2000?), turned off NAV, > > > > reinstalled the drivers and re-installed the card. > > > Still no joy. The > > > site > > > > survey showed no transmitters, and dlink tech > > > support assured me that if > > > > there was a transmitter I would see it regardless. > > > > > > > > Ignorant liars! > > > > > > > > Went back in and reconfigured the card in the > > > laptop for channel 11 (it > > > > defaulted to 3 and the router was on 11), played > > > around with a couple of > > > > other things and boom, I see a transmitter. Went > > > in to the router config > > > > page and changed the SSID and sure enough the > > > thing I'm seeing on the > > > laptop > > > > changes to match! Still no connection though. > > > > > > > > Rebooted, played around some more and suddenly (no > > > clear idea why) I have > > > a > > > > wireless connection, can browse my network and see > > > the web. Yeaaaaa. > > > > > > > > Moral of the story, tech support generally sucks, > > > play around, don't quit, > > > > and eventually the gods will reward you. Or not. > > > > > > > > Now, I need to know what to do to tighten this > > > thing up so that others > > > can't > > > > see my network. I'm a bit afraid to touch > > > anything since I don't really > > > > know what I did to finally get it running. > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 3 10:29:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 11:29:36 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227480@main2.marlow.com> Message-ID: DID YOU SAY BITMASK? Sounds denormalized to me! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, November 03, 2003 11:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 31, 2003 9:20 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Yes, a switch is used to connect computers on the same subnet. A router is > used to connect subnets together. A router is usually also a switch, so it > can connect computers on the same subnet, AND connect one subnet to another. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Is there a difference between a switch and a router? > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 31, 2003 6:54 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > I recommend "hardwiring" the IP address of any device > > or server connected to your LAN that's not a > > workstation and is virtually always on. > > > > For the price, I would also highly recommend removing > > all hubs from your network and using them as > > doorstops. Switches have come way down in price and > > have many benifits over hubs. > > > > Hubs divide the bandwidth across all ports. Thus if > > you have an 8-port 10-BaseT hub, all ports that are > > processing data split that 10Mbit. A switch, each > > port gets the fill bandwidth. > > > > That's not including the security issues inherent with > > hubs as they broadcast all available data to all > > available ports rather than to the proper destination > > port. > > > > --- John Colby wrote: > > > Yes, you can indeed daisy chain routers and > > > SUPPOSEDLY hubs, though I had no > > > joy doing that with my old hub. I am however daisy > > > chaining my old 4 port > > > router off of my new 4 port wireless router. The > > > newer models even figure > > > out what kind of cable you are using, crossover or > > > regular. The biggest > > > issue there was that the router was the dhcp server > > > so I had to turn off the > > > old as a dhcp server and turn on the new. I also > > > hardwired the address of > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > port routers isn't a > > > panacea however since you now end up using two ports > > > just for the daisy > > > chain and have 6 left. In my case though I also > > > have a wireless so I can > > > get my laptop in through that and could also get > > > other computers in if > > > needed. > > > > > > I have an old model I TIVO which I modded to use the > > > internet to "call in" > > > for programming. I had to snake a cable down the > > > wall from the living room > > > (luckily exactly over my office in the basement). I > > > understand that the > > > model II has USB ports that can automatically use > > > the USB wireless cards to > > > connect to the internet. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, October 31, 2003 8:33 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > of) > > > > > > > > > John: > > > > > > I heard that you can daisy chain hubs off one of the > > > ports on your router to > > > get more ports and that you can go up to 255 devices > > > from one router this > > > way. Seems to easy and cheap, though. > > > > > > I've also found that when creating a new network it > > > sometimes takes a few > > > minutes for the different shared devices to 'see' > > > each other - especially on > > > the wireless. So I'll whang around frustrated > > > trying to get the network to > > > work and then have the same experience you had - > > > after a few minutes, > > > suddenly the other machines are in my network > > > neighborhood. Go figure. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "Database Advisors Inc. (Tech)" > > > ; > > > "AccessD" > > > Sent: Thursday, October 30, 2003 5:39 PM > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > couple of weeks ago. I > > > needed > > > > to expand my 4 port router (I had 5 things I kept > > > needing to plug in) and > > > > the Netgear was on sale at www.Newegg.com at the > > > time. I then tried and > > > > failed to install a linksys WPC11v2.5 I had laying > > > around, so I ordered a > > > > dlink dwl-650 that was on sale (rebate) at > > > www.newegg.com. Long story > > > > short, it didn't work. Long story a little > > > longer, a very long call to > > > > dlink tech support, did not solve the problem. > > > > > > > > Or maaaaaybe it did. After failing to figure > > > anything out, they > > > recommended > > > > that I upgrade my laptop bios. It's an ancient > > > (now) 233mhz PII Toshiba > > > > Satellite 4000 that I bought with my first > > > paycheck from my trip to work > > > for > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > November 1997? Getting a > > > bit > > > > long in the tooth, truth be told. > > > > > > > > The bios upgrade and also the old "turn off NAV > > > before installing etc. > > > And > > > > "oh by the way, our card requires at least a 300 > > > mhz processor. So I > > > > uninstalled, upgraded to the latest bios (May > > > 2000?), turned off NAV, > > > > reinstalled the drivers and re-installed the card. > > > Still no joy. The > > > site > > > > survey showed no transmitters, and dlink tech > > > support assured me that if > > > > there was a transmitter I would see it regardless. > > > > > > > > Ignorant liars! > > > > > > > > Went back in and reconfigured the card in the > > > laptop for channel 11 (it > > > > defaulted to 3 and the router was on 11), played > > > around with a couple of > > > > other things and boom, I see a transmitter. Went > > > in to the router config > > > > page and changed the SSID and sure enough the > > > thing I'm seeing on the > > > laptop > > > > changes to match! Still no connection though. > > > > > > > > Rebooted, played around some more and suddenly (no > > > clear idea why) I have > > > a > > > > wireless connection, can browse my network and see > > > the web. Yeaaaaa. > > > > > > > > Moral of the story, tech support generally sucks, > > > play around, don't quit, > > > > and eventually the gods will reward you. Or not. > > > > > > > > Now, I need to know what to do to tighten this > > > thing up so that others > > > can't > > > > see my network. I'm a bit afraid to touch > > > anything since I don't really > > > > know what I did to finally get it running. > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Nov 3 10:34:35 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 3 Nov 2003 11:34:35 -0500 Subject: [AccessD] Weird Access XP/SS problem-Answer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA3067C60D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFA5@ADGSERVER> I have to have mine in XP format because we create an MDE from it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 03, 2003 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Charlotte, I would hope there is a better answer than that. I intentionally leave my client's dbs in A2K file format since AXP as the compact bug. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Monday, November 03, 2003 7:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. 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 cfoust at infostatsystems.com Mon Nov 3 10:51:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 3 Nov 2003 08:51:53 -0800 Subject: [AccessD] Weird Access XP/SS problem-Answer. Message-ID: The problem only arises when the filetype you have set is later than the one you created the project in. It isn't the version of Access you're using, it's the file format your have to watch out for. If you leave your project in 2000 and have the file set to that type, you don't run into any issues pulling a new database out of VSS. The scc folders can also get corrupted sometimes, or at least specific files in those folders, so deleting them solves various problems when pulling a new version out of VSS. It's the first thing I do when I start getting those charming crashes that phone home to Uncle Bill. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 03, 2003 6:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Charlotte, I would hope there is a better answer than that. I intentionally leave my client's dbs in A2K file format since AXP as the compact bug. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Monday, November 03, 2003 7:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. 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 stuart at pacific.net.hk Mon Nov 3 10:55:35 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 00:55:35 +0800 Subject: [AccessD] Running local file format References: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> <002a01c3a218$9a8f4020$6001a8c0@dejpolsys> Message-ID: <001801c3a22b$4d765540$10c711d2@bitswshome> yeah I've used this for a couple of years. Was going to just post the code, but Dev has a copy right notice. Stuart ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, November 03, 2003 10:41 PM Subject: Re: [AccessD] Running local file format > ...hey! ...nice find, works like a charm ...as it happens I have an > immediate use for this little honey ...thanks :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 5:26 AM > Subject: RE: [AccessD] Running local file format > > > > What you want is this: > > > > http://www.mvps.org/access/api/api0018.htm > > > > Regards > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Jim Lawrence (AccessD) > > > Sent: Monday, 03 November, 2003 3:47 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Running local file format > > > > > > > > > Hi All: > > > > > > This is a simple question I am sure but the life of me I can > > > not remember or > > > find the related code. (Advanced years and all) > > > > > > Can you set up Access to, under program control to > > > run/display any file that > > > the local computer recognizes, like a Word document, pdf > > > file, spreadsheet > > > or maybe a web page without writing specific code for each > > > type. I have > > > written procedures for Word Excel and Web pages but there > > > must be any easier > > > way than blocks of code for each extension. A browser web > > > page can do this > > > but can an Access program? > > > > > > Any suggestions would be greatly appreciated > > > > > > MTIA > > > 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 DWUTKA at marlow.com Mon Nov 3 10:55:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:55:15 -0600 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <2F8793082E00D4119A1700B0D0216BF802227485@main2.marlow.com> Tony, I started creating a system that was a pretty simple and straight forward method of shutting down end users. What it used was named pipes. Named pipes are a pretty easy method of communicating between machines. Access handles the client code without a hitch. However, the 'server' code pauses the thread, which 'locks' Access. Essentially what would happen, is you have a VB program (ideally running as an NT service). That program sits and acts as a pipe 'server', and listens to a named pipe. The FE in Access has a hidden form that fires a timer event, which used the client code to 'ask' the server what to do. A simple 'Nothing' reply and it goes on it's way. The communication is fast and quick, and is very painless. You then set a time line on the VB program, where between a certain period, it starts sending out a 'Shutdown' command, at which point the clients get 'Shutdown', instead of 'Nothing', and they start shutting themselves down. Because the Access FE's would be 'checking in', your VB program would have a list of FE's that are online, so it would know when they all 'signed off', and then you could run the compact. Just a thought.... Drew -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Saturday, November 01, 2003 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 Repair and Compact Hey John Mentioned to Dan, that one way around the problem, may be his automatic shutdown suggestion (during the lag time). Then Task Scheduler to run the repair and compact, then after a certain time period have the Task Scheduler open the program again. Not as pretty as automating but an alternative if need be. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 3 10:58:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:58:50 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227486@main2.marlow.com> Read Erwins post a little while ago, was waiting for your's before I replied! Erwin, switches also use NAT tables. Because of this, they don't have to broadcast everything in all directions. They're 'smart', when a packet comes in, they can properly direct it. The downside to the NAT tables is that if you blow the NAT table away, it has to be rebuilt, so sometimes on an initial powerup, a switch may seem slower, which is simply the time it is using to build the NAT tables. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 8:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Nov 3 11:00:02 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 3 Nov 2003 18:00:02 +0100 (CET) Subject: [AccessD] Hourly Backups Of Access Data Message-ID: <16207489.1067878802360.JavaMail.www@wwinf3002> To all, Is there anyway I can create a backup of all the tables in a database, without bringing all the users out of the database. Paul From john at winhaven.net Mon Nov 3 11:00:16 2003 From: john at winhaven.net (John Bartow) Date: Mon, 3 Nov 2003 11:00:16 -0600 Subject: [AccessD] OT: Noisy computer In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227483@main2.marlow.com> Message-ID: dittos here: aka "My Bullpen" JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, November 03, 2003 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Noisy computer > > > I just put my servers in the closet. Don't care how noisy they > get. Can't > hear them! > > Drew > From jcolby at colbyconsulting.com Mon Nov 3 11:00:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 12:00:30 -0500 Subject: [AccessD] Running local file format In-Reply-To: <001801c3a22b$4d765540$10c711d2@bitswshome> Message-ID: I THINK as long as the code says "you may use as long as the copyright notice remains" and you post the whole thing with the copyright notice, it is legal to post the code, especially as it isn't embedded in an EZine. It's always safer to just post the link though. People like visitors to their site.. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Monday, November 03, 2003 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Running local file format yeah I've used this for a couple of years. Was going to just post the code, but Dev has a copy right notice. Stuart ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, November 03, 2003 10:41 PM Subject: Re: [AccessD] Running local file format > ...hey! ...nice find, works like a charm ...as it happens I have an > immediate use for this little honey ...thanks :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 5:26 AM > Subject: RE: [AccessD] Running local file format > > > > What you want is this: > > > > http://www.mvps.org/access/api/api0018.htm > > > > Regards > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Jim Lawrence (AccessD) > > > Sent: Monday, 03 November, 2003 3:47 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Running local file format > > > > > > > > > Hi All: > > > > > > This is a simple question I am sure but the life of me I can > > > not remember or > > > find the related code. (Advanced years and all) > > > > > > Can you set up Access to, under program control to > > > run/display any file that > > > the local computer recognizes, like a Word document, pdf > > > file, spreadsheet > > > or maybe a web page without writing specific code for each > > > type. I have > > > written procedures for Word Excel and Web pages but there > > > must be any easier > > > way than blocks of code for each extension. A browser web > > > page can do this > > > but can an Access program? > > > > > > Any suggestions would be greatly appreciated > > > > > > MTIA > > > Jim > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 3 11:00:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:00:36 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227487@main2.marlow.com> I agree. Even though a lot of this thread should have been posted to the Tech list, I think there has been really good information for Access folks, since one of the big issues with Access is network connectivity. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) It has nothing to do with "mine is bigger than yours". It has to do with him spreading false information as the truth. How would you respond if people were spreading misinformation about Access? --- Gustav Brock wrote: > Please, can't this never-ending "mine is bigger than > yours" be moved > to the techno list - or better: to the eternal > fields of bits? > > /gustav > > > > Maybe you need to learn what you are talking about > > before you give out false information. > > >> You are incorrect. > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 11:03:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 12:03:20 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C6666@dibble.observatory.donnslaw.co.uk> Message-ID: GREAT policy! It should get more of this list signed up for the other lists especially the tech list. Good job moderators! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, November 03, 2003 11:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Nicely put. However by being the first person to post to this thread today, you fall foul of a new policy just agreed between myself and the other moderators. Don't take it personally... EVERYONE PLEASE NOTE: from now on we will be insisting that responses to questions which really belong on one of the other lists MUST be made on the appropriate list and not on AccessD. Initial requests for help can still be sent to AccessD, until it becomes clear that we have enough subscribers on the other lists to make it unneccessary, but all responses should be sent to the VB, SQL-Server or Tech list. We will be sending out an official email to that effect sometime soon. If you disagree with the policy please send a mail to ops-mod at databaseadvisors.com and we will consider your views. Thanks Roz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 03 November 2003 16:08 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky From DWUTKA at marlow.com Mon Nov 3 11:04:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:04:44 -0600 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227489@main2.marlow.com> Use ADO. It will let you treat Excel just like any other recordset. Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, November 03, 2003 9:18 AM To: accessd Subject: [AccessD] Connecting To Excel via Code (module) To all, We are operating Office XP Professional and I have started to write a little scheduling application. Every so often we will have an Excel Workbook containing three spreadsheets, what I need to be able to do is link into the Workbook to bring a certain clients data in from the second sheet. The fields in the workbook are as follows: StoreNo, HolidayWeek, Sun, Mon, Tue, Wed, Thur, Fri, Sat StoreNo contain the store number and if there is a certain week that we cannot go to the store the week commencing date wil be entered under HolidayWeek. If there is a certain day or multiple days that we cannot go to the store, the individual dates will be stored under the day of the week. Now I have a tbale with the following fields : StoreNo, BlackoutWeek, BlackoutDay I need to link into Excel and bring the data in from the Excel spreadsheet into the table above. So I may end up with StoreNo BlackoutWeek BlackoutDay 1 27/01/04 1 28/01/04 1 04/01/04 etc, has anyone any sample code on how to link into the Excel spreadsheet an retrieve the data. Thanks in advance for any help. Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Nov 3 11:17:26 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Nov 2003 12:17:26 -0500 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7889@xlivmbx12.aig.com> Golly Gosh. That's such a great piece of example code > -----Original Message----- > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > Sent: Monday, November 03, 2003 12:05 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > Use ADO. It will let you treat Excel just like any other recordset. > > Drew > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Monday, November 03, 2003 9:18 AM > To: accessd > Subject: [AccessD] Connecting To Excel via Code (module) > > > To all, > We are operating Office XP Professional and I have started to write a > little > scheduling application. Every so often we will have an Excel Workbook > containing three spreadsheets, what I need to be able to do is link into > the > Workbook to bring a certain clients data in from the second sheet. > The fields in the workbook are as follows: > StoreNo, HolidayWeek, Sun, Mon, Tue, Wed, Thur, Fri, Sat > StoreNo contain the store number and if there is a certain week that we > cannot go to the store the week commencing date wil be entered under > HolidayWeek. If there is a certain day or multiple days that we cannot go > to the store, the individual dates will be stored under the day of the > week. > Now I have a tbale with the following fields : > StoreNo, BlackoutWeek, BlackoutDay > I need to link into Excel and bring the data in from the Excel spreadsheet > into the table above. > So I may end up with > StoreNo BlackoutWeek BlackoutDay > 1 27/01/04 > 1 28/01/04 > 1 04/01/04 > etc, has anyone any sample code on how to link into the Excel spreadsheet > an > retrieve the data. > Thanks in advance for any help. > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 11:19:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 18:19:06 +0100 Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB In-Reply-To: <18619615.1067874816000.JavaMail.www@wwinf3002> References: <18619615.1067874816000.JavaMail.www@wwinf3002> Message-ID: <4733641233.20031103181906@cactus.dk> Hi Paul Just noticed this link. Don't know if it is relevant for your situation: http://dbforums.com/arch/105/2003/9/718793 /gustav > Date: 2003-11-03 16:53 > To all, > We have just had and error message up saying can't find MSysDb, we can't repair it or import tables from this database at all. Is there a way of restoring the database, to save us going to a > backup version ? > Please help as quickly as possible, thanks, > Paul Hartland From DWUTKA at marlow.com Mon Nov 3 11:35:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:35:55 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748B@main2.marlow.com> I never take it personally, I put up with JC, don't I! I have sent an email to the address you listed, as requested. I ask that others on the list do so also. The gist of my email was that networking topics are definitely related to Access. Many developers are pitted against IT pros who like to make db developers spin in circles. Though many topics certainly need homes on other lists, networking is definitely a skill that Access Developers should have under their belt. So if you have ever been corned by IT network folks, or have to develop and network, or even think you may find the knowledge of networking threads handy in future Access endeavors, please voice your opinions to the email address Roz provided. Not trying to rock the boat on this. I joined OT and Tech because I too wanted to cause less clutter to the lists, but I personally disagree with this topic being 'non-Access' related. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday, November 03, 2003 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Nicely put. However by being the first person to post to this thread today, you fall foul of a new policy just agreed between myself and the other moderators. Don't take it personally... EVERYONE PLEASE NOTE: from now on we will be insisting that responses to questions which really belong on one of the other lists MUST be made on the appropriate list and not on AccessD. Initial requests for help can still be sent to AccessD, until it becomes clear that we have enough subscribers on the other lists to make it unneccessary, but all responses should be sent to the VB, SQL-Server or Tech list. We will be sending out an official email to that effect sometime soon. If you disagree with the policy please send a mail to ops-mod at databaseadvisors.com and we will consider your views. Thanks Roz From wdhindman at bellsouth.net Mon Nov 3 11:37:18 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 12:37:18 -0500 Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB References: <18619615.1067874816000.JavaMail.www@wwinf3002> Message-ID: <013601c3a231$211271e0$6001a8c0@dejpolsys> Paul ...what Jet SP are you running ...this was a bug in SP5 and supposedly fixed in later versions ...if this is the problem, updating to the latest Jet should fix your problem ...good luck :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: To: "accessd" Sent: Monday, November 03, 2003 10:53 AM Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB > To all, > We have just had and error message up saying can't find MSysDb, we can't repair it or import tables from this database at all. Is there a way of restoring the database, to save us going to a backup version ? > Please help as quickly as possible, thanks, > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Nov 3 11:37:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:37:48 -0600 Subject: [AccessD] Networking Was:(OT: Wireless network (sort of)) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748C@main2.marlow.com> Hey, I just got buzzed. Not that I mind being buzzed, but with running on no sleep and having a long day ahead of me, I don't think my drive home would be safe if I got buzzed again! (Sorry Roz....I had to reply to this!) Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 03, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) DID YOU SAY BITMASK? Sounds denormalized to me! John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Mon Nov 3 11:40:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:40:39 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748D@main2.marlow.com> To tie this into an Access related (actually AccessD related) post, in my old place (one before the fire), I had my servers near the foot of my bed...and those things were NOISY. Of course, one of the fans was going out, so that didn't help! But now that they're in the closet, I can soundly sleep at night, and still host the archives! (Come on, give me points for trying to tie that in!) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, November 03, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Noisy computer dittos here: aka "My Bullpen" JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, November 03, 2003 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Noisy computer > > > I just put my servers in the closet. Don't care how noisy they > get. Can't > hear them! > > 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 Nov 3 11:42:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:42:35 -0600 Subject: [AccessD] Hourly Backups Of Access Data Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748E@main2.marlow.com> Ya, just import them into a new db. You should be able to import them without having to kick anyone out! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, November 03, 2003 11:00 AM To: accessd Subject: [AccessD] Hourly Backups Of Access Data To all, Is there anyway I can create a backup of all the tables in a database, without bringing all the users out of the database. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 3 11:53:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:53:44 -0600 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748F@main2.marlow.com> Wasn't it. It was true air code.... How about: http://www.wolfwares.com/accessd/postinfo.asp?Post=42267 And http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=39892&lngWId=1 And http://www.wolfwares.com/accessd/postinfo.asp?Post=24221 Is that better? Sorry posted code before.... Need to clean up my data files, cause they're WAY too cluttered at the moment. Drew -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, November 03, 2003 11:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Connecting To Excel via Code (module) Golly Gosh. That's such a great piece of example code > -----Original Message----- > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > Sent: Monday, November 03, 2003 12:05 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > Use ADO. It will let you treat Excel just like any other recordset. > > Drew > From john at winhaven.net Mon Nov 3 12:08:18 2003 From: john at winhaven.net (John Bartow) Date: Mon, 3 Nov 2003 12:08:18 -0600 Subject: [AccessD] Hourly Backups Of Access Data In-Reply-To: <16207489.1067878802360.JavaMail.www@wwinf3002> Message-ID: Paul, I just looked at my backup routine but it won't work for you, uses CompactDatabase. Guess I should create a new one. (Thinking out loud here) how about: Create a routine to export all of the tables and data to a new DB. That shouldn't affect any of the users. Create a seperate routine that clears the tables and imports/appends it all back in just in case you need to restore the data. If that case arises it would probably mean the users can't get in anyway - otherwise you would have to kick them all out. This would alleviate worrying about relationships, etc. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > paul.hartland at fsmail.net > Sent: Monday, November 03, 2003 11:00 AM > To: accessd > Subject: [AccessD] Hourly Backups Of Access Data > > > To all, > Is there anyway I can create a backup of all the tables in a > database, without bringing all the users out of the database. > Paul > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From davide at dalyn.co.nz Mon Nov 3 12:14:50 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 04 Nov 2003 07:14:50 +1300 Subject: [AccessD] How to prevent a mess In-Reply-To: <20031103085642.1503239058.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031104071109.00b6b8f8@mail.dalyn.co.nz> Have you considered indirect synchronization. Basically the remote users have dropboxes set up on the server. They dial into the server and do their synchronization when they are ready. Check out the replication white papers etc for information. Here is a list of some resources for A97 (not sure if the links still work). Updated copies of most of them are available for A2K and A02 - Building Applications with Microsoft Access 97 Access 97 Developers Handbook (Litwin, Getz, Gilbert) Database Replication in Microsoft Jet (Tony Poll - Microsoft Replication White Paper) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q164553 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 Search for replication here http://msdn.microsoft.com/default.asp Microsoft Knowledgebase Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 At 3/11/2003, you wrote: >Dear Group, > >I've been enlightened by Michael Kaplan's explanation of the perils of >copying replicas and not going through a proper replication sequence with >CD copies back and forth. > >The question is: what now? The independent laptops are scattered around >the state and its *very* inconvenient for them to come back to do a >physical replication. Money to write a custom synchronization process is >simply not available. > >I note from Kaplan's explanations that if the replicas are unmanaged -- >that is, Synchronizer is not used -- then certain types of problems can be >avoided. Also problems can be avoided by using the built-in Access methods >for moving replicas or by using TSI Synchronizer. > >He also mentions using the Briefcase reconciler, but that doesn't exist in >Windows 2000 or XP, does it? > >I'm trying to avoid creating a mess. The application is in more or less a >beta stage now, so we could start from scratch with a new Replication >strategy. Any advice? > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >_______________________________________________ >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 Nov 3 12:18:41 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Nov 2003 10:18:41 -0800 Subject: [AccessD] OT: Wireless network (sort of) References: <2F8793082E00D4119A1700B0D0216BF802227480@main2.marlow.com> Message-ID: <016801c3a236$e8f85b70$6501a8c0@HAL9002> So I just did and IPCONFIG through the dos command and find my IP is 192.168.1.101 and the subnet is 255.255.255.0. So does my router think I might have as many as 256 machines (or addressable devices, I guess) connected to IP 192.168.1.101? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:08 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Think of a subnet as a neighborhood. A network neighborhood. The subnet > 'mask' is a property in TCP/IP, which tells your machine what IP addresses > are around it. It's a bitmask thing. > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that > 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in > the subnet mask, IP Addresses in that subnet must have a matching bit > (either on or off....), if it's turned off in the subnet, that bit in the IP > address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 > machines. > > The reason this is important, is because subnets control how much > broadcasting and browsing your machine must do, to locate other computers on > the network. A subnet of 255.255.0.0 tells your computer there are 65k > machines on the subnet, and more then likely you will never find anything, > because it will eventually give up. 255.255.255.0 tells it there are 256 > (255) computers on the subnet, which it should be able to find just fine. > However, if you have a smaller network, a smaller subnet speeds up the > 'searching'. > > That leads to what I was talking about earlier...the Gateway (router). When > you tell a machine to go to 123.456.789.321, if that IP Address is not on > the subnet, it doesn't even bother looking, it just sends the request to the > gateway IP (router), so the router does the searching. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 6:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > O. What's a subnet? And where do I get one? And do I want one? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 31, 2003 9:20 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Yes, a switch is used to connect computers on the same subnet. A router > is > > used to connect subnets together. A router is usually also a switch, so > it > > can connect computers on the same subnet, AND connect one subnet to > another. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 9:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > Is there a difference between a switch and a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 31, 2003 6:54 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > I recommend "hardwiring" the IP address of any device > > > or server connected to your LAN that's not a > > > workstation and is virtually always on. > > > > > > For the price, I would also highly recommend removing > > > all hubs from your network and using them as > > > doorstops. Switches have come way down in price and > > > have many benifits over hubs. > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > you have an 8-port 10-BaseT hub, all ports that are > > > processing data split that 10Mbit. A switch, each > > > port gets the fill bandwidth. > > > > > > That's not including the security issues inherent with > > > hubs as they broadcast all available data to all > > > available ports rather than to the proper destination > > > port. > > > > > > --- John Colby wrote: > > > > Yes, you can indeed daisy chain routers and > > > > SUPPOSEDLY hubs, though I had no > > > > joy doing that with my old hub. I am however daisy > > > > chaining my old 4 port > > > > router off of my new 4 port wireless router. The > > > > newer models even figure > > > > out what kind of cable you are using, crossover or > > > > regular. The biggest > > > > issue there was that the router was the dhcp server > > > > so I had to turn off the > > > > old as a dhcp server and turn on the new. I also > > > > hardwired the address of > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > port routers isn't a > > > > panacea however since you now end up using two ports > > > > just for the daisy > > > > chain and have 6 left. In my case though I also > > > > have a wireless so I can > > > > get my laptop in through that and could also get > > > > other computers in if > > > > needed. > > > > > > > > I have an old model I TIVO which I modded to use the > > > > internet to "call in" > > > > for programming. I had to snake a cable down the > > > > wall from the living room > > > > (luckily exactly over my office in the basement). I > > > > understand that the > > > > model II has USB ports that can automatically use > > > > the USB wireless cards to > > > > connect to the internet. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > Behalf Of Rocky Smolin - > > > > Beach Access Software > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > of) > > > > > > > > > > > > John: > > > > > > > > I heard that you can daisy chain hubs off one of the > > > > ports on your router to > > > > get more ports and that you can go up to 255 devices > > > > from one router this > > > > way. Seems to easy and cheap, though. > > > > > > > > I've also found that when creating a new network it > > > > sometimes takes a few > > > > minutes for the different shared devices to 'see' > > > > each other - especially on > > > > the wireless. So I'll whang around frustrated > > > > trying to get the network to > > > > work and then have the same experience you had - > > > > after a few minutes, > > > > suddenly the other machines are in my network > > > > neighborhood. Go figure. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John Colby" > > > > To: "Database Advisors Inc. (Tech)" > > > > ; > > > > "AccessD" > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > couple of weeks ago. I > > > > needed > > > > > to expand my 4 port router (I had 5 things I kept > > > > needing to plug in) and > > > > > the Netgear was on sale at www.Newegg.com at the > > > > time. I then tried and > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > around, so I ordered a > > > > > dlink dwl-650 that was on sale (rebate) at > > > > www.newegg.com. Long story > > > > > short, it didn't work. Long story a little > > > > longer, a very long call to > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > anything out, they > > > > recommended > > > > > that I upgrade my laptop bios. It's an ancient > > > > (now) 233mhz PII Toshiba > > > > > Satellite 4000 that I bought with my first > > > > paycheck from my trip to work > > > > for > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > November 1997? Getting a > > > > bit > > > > > long in the tooth, truth be told. > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > before installing etc. > > > > And > > > > > "oh by the way, our card requires at least a 300 > > > > mhz processor. So I > > > > > uninstalled, upgraded to the latest bios (May > > > > 2000?), turned off NAV, > > > > > reinstalled the drivers and re-installed the card. > > > > Still no joy. The > > > > site > > > > > survey showed no transmitters, and dlink tech > > > > support assured me that if > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > Ignorant liars! > > > > > > > > > > Went back in and reconfigured the card in the > > > > laptop for channel 11 (it > > > > > defaulted to 3 and the router was on 11), played > > > > around with a couple of > > > > > other things and boom, I see a transmitter. Went > > > > in to the router config > > > > > page and changed the SSID and sure enough the > > > > thing I'm seeing on the > > > > laptop > > > > > changes to match! Still no connection though. > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > clear idea why) I have > > > > a > > > > > wireless connection, can browse my network and see > > > > the web. Yeaaaaa. > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > play around, don't quit, > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > Now, I need to know what to do to tighten this > > > > thing up so that others > > > > can't > > > > > see my network. I'm a bit afraid to touch > > > > anything since I don't really > > > > > know what I did to finally get it running. > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 12:19:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Nov 2003 10:19:25 -0800 Subject: [AccessD] OT: Wireless network (sort of) References: <61F915314798D311A2F800A0C9C83188047C6666@dibble.observatory.donnslaw.co.uk> Message-ID: <016e01c3a237$0342db40$6501a8c0@HAL9002> Aw Roz can't we finish this one here? I'm not subscribed to Tech. Rocky ----- Original Message ----- From: "Roz Clarke" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:24 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Nicely put. However by being the first person to post to this > thread today, you fall foul of a new policy just agreed between myself and > the other moderators. Don't take it personally... > > EVERYONE PLEASE NOTE: from now on we will be insisting that responses to > questions which really belong on one of the other lists MUST be made on the > appropriate list and not on AccessD. > > Initial requests for help can still be sent to AccessD, until it becomes > clear that we have enough subscribers on the other lists to make it > unneccessary, but all responses should be sent to the VB, SQL-Server or Tech > list. > > We will be sending out an official email to that effect sometime soon. > > If you disagree with the policy please send a mail to > ops-mod at databaseadvisors.com and we will consider your views. > > Thanks > > Roz > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: 03 November 2003 16:08 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > Think of a subnet as a neighborhood. A network neighborhood. The subnet > 'mask' is a property in TCP/IP, which tells your machine what IP addresses > are around it. It's a bitmask thing. > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that > 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in > the subnet mask, IP Addresses in that subnet must have a matching bit > (either on or off....), if it's turned off in the subnet, that bit in the IP > address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 > machines. > > The reason this is important, is because subnets control how much > broadcasting and browsing your machine must do, to locate other computers on > the network. A subnet of 255.255.0.0 tells your computer there are 65k > machines on the subnet, and more then likely you will never find anything, > because it will eventually give up. 255.255.255.0 tells it there are 256 > (255) computers on the subnet, which it should be able to find just fine. > However, if you have a smaller network, a smaller subnet speeds up the > 'searching'. > > That leads to what I was talking about earlier...the Gateway (router). When > you tell a machine to go to 123.456.789.321, if that IP Address is not on > the subnet, it doesn't even bother looking, it just sends the request to the > gateway IP (router), so the router does the searching. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 6:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > O. What's a subnet? And where do I get one? And do I want one? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 31, 2003 9:20 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Yes, a switch is used to connect computers on the same subnet. A > > router > is > > used to connect subnets together. A router is usually also a switch, > > so > it > > can connect computers on the same subnet, AND connect one subnet to > another. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 9:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > Is there a difference between a switch and a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 31, 2003 6:54 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > I recommend "hardwiring" the IP address of any device > > > or server connected to your LAN that's not a > > > workstation and is virtually always on. > > > > > > For the price, I would also highly recommend removing > > > all hubs from your network and using them as > > > doorstops. Switches have come way down in price and > > > have many benifits over hubs. > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > you have an 8-port 10-BaseT hub, all ports that are processing data > > > split that 10Mbit. A switch, each port gets the fill bandwidth. > > > > > > That's not including the security issues inherent with > > > hubs as they broadcast all available data to all > > > available ports rather than to the proper destination > > > port. > > > > > > --- John Colby wrote: > > > > Yes, you can indeed daisy chain routers and > > > > SUPPOSEDLY hubs, though I had no > > > > joy doing that with my old hub. I am however daisy chaining my > > > > old 4 port router off of my new 4 port wireless router. The > > > > newer models even figure > > > > out what kind of cable you are using, crossover or > > > > regular. The biggest > > > > issue there was that the router was the dhcp server > > > > so I had to turn off the > > > > old as a dhcp server and turn on the new. I also > > > > hardwired the address of > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > port routers isn't a > > > > panacea however since you now end up using two ports > > > > just for the daisy > > > > chain and have 6 left. In my case though I also > > > > have a wireless so I can > > > > get my laptop in through that and could also get > > > > other computers in if > > > > needed. > > > > > > > > I have an old model I TIVO which I modded to use the internet to > > > > "call in" for programming. I had to snake a cable down the > > > > wall from the living room > > > > (luckily exactly over my office in the basement). I > > > > understand that the > > > > model II has USB ports that can automatically use > > > > the USB wireless cards to > > > > connect to the internet. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > Behalf Of Rocky Smolin - > > > > Beach Access Software > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > of) > > > > > > > > > > > > John: > > > > > > > > I heard that you can daisy chain hubs off one of the ports on your > > > > router to get more ports and that you can go up to 255 devices > > > > from one router this > > > > way. Seems to easy and cheap, though. > > > > > > > > I've also found that when creating a new network it sometimes > > > > takes a few minutes for the different shared devices to 'see' > > > > each other - especially on > > > > the wireless. So I'll whang around frustrated > > > > trying to get the network to > > > > work and then have the same experience you had - > > > > after a few minutes, > > > > suddenly the other machines are in my network > > > > neighborhood. Go figure. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John Colby" > > > > To: "Database Advisors Inc. (Tech)" > > > > ; "AccessD" > > > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > couple of weeks ago. I > > > > needed > > > > > to expand my 4 port router (I had 5 things I kept > > > > needing to plug in) and > > > > > the Netgear was on sale at www.Newegg.com at the > > > > time. I then tried and > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > around, so I ordered a > > > > > dlink dwl-650 that was on sale (rebate) at > > > > www.newegg.com. Long story > > > > > short, it didn't work. Long story a little > > > > longer, a very long call to > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > anything out, they > > > > recommended > > > > > that I upgrade my laptop bios. It's an ancient > > > > (now) 233mhz PII Toshiba > > > > > Satellite 4000 that I bought with my first > > > > paycheck from my trip to work > > > > for > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > November 1997? Getting a > > > > bit > > > > > long in the tooth, truth be told. > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > before installing etc. > > > > And > > > > > "oh by the way, our card requires at least a 300 > > > > mhz processor. So I > > > > > uninstalled, upgraded to the latest bios (May > > > > 2000?), turned off NAV, > > > > > reinstalled the drivers and re-installed the card. > > > > Still no joy. The > > > > site > > > > > survey showed no transmitters, and dlink tech > > > > support assured me that if > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > Ignorant liars! > > > > > > > > > > Went back in and reconfigured the card in the > > > > laptop for channel 11 (it > > > > > defaulted to 3 and the router was on 11), played > > > > around with a couple of > > > > > other things and boom, I see a transmitter. Went > > > > in to the router config > > > > > page and changed the SSID and sure enough the > > > > thing I'm seeing on the > > > > laptop > > > > > changes to match! Still no connection though. > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > clear idea why) I have > > > > a > > > > > wireless connection, can browse my network and see > > > > the web. Yeaaaaa. > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > play around, don't quit, > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > Now, I need to know what to do to tighten this > > > > thing up so that others > > > > can't > > > > > see my network. I'm a bit afraid to touch > > > > anything since I don't really > > > > > know what I did to finally get it running. > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 12:27:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 3 Nov 2003 13:27:43 -0500 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <20031103182743.ZTSM2344.tomts8-srv.bellnexxia.net@[209.226.175.20]> > From: "Rocky Smolin - Beach Access Software" > Aw Roz can't we finish this one here? I'm not subscribed to Tech. Just so that you don't think Roz is the bad guy... Nope. This thread, on AccessD is..... Done. Finished. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! From jcolby at colbyconsulting.com Mon Nov 3 12:33:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 13:33:22 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <20031103182743.ZTSM2344.tomts8-srv.bellnexxia.net@[209.226.175.20]> Message-ID: Kaputz John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Monday, November 03, 2003 1:28 PM To: Access Developers discussion and problem solving Subject: Re: Re: [AccessD] OT: Wireless network (sort of) > From: "Rocky Smolin - Beach Access Software" > Aw Roz can't we finish this one here? I'm not subscribed to Tech. Just so that you don't think Roz is the bad guy... Nope. This thread, on AccessD is..... Done. Finished. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Nov 3 12:41:09 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 3 Nov 2003 13:41:09 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227486@main2.marlow.com> Message-ID: Drew/Erwin, One minor correction. Switches don't use NAT tables. They use MAC Address lists and ARP tables. NAT is something done only in a router. 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 Drew Wutka Sent: Monday, November 03, 2003 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Read Erwins post a little while ago, was waiting for your's before I replied! Erwin, switches also use NAT tables. Because of this, they don't have to broadcast everything in all directions. They're 'smart', when a packet comes in, they can properly direct it. The downside to the NAT tables is that if you blow the NAT table away, it has to be rebuilt, so sometimes on an initial powerup, a switch may seem slower, which is simply the time it is using to build the NAT tables. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 8:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Nov 3 12:46:29 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Nov 2003 13:46:29 -0500 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD788A@xlivmbx12.aig.com> Much better! :-) Lambert > -----Original Message----- > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > Sent: Monday, November 03, 2003 12:54 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > Wasn't it. It was true air code.... > > How about: http://www.wolfwares.com/accessd/postinfo.asp?Post=42267 > > And > > http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=39892&lngWId > =1 > > And > > http://www.wolfwares.com/accessd/postinfo.asp?Post=24221 > > Is that better? Sorry posted code before.... Need to clean up my > data > files, cause they're WAY too cluttered at the moment. > > Drew > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Monday, November 03, 2003 11:17 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > > Golly Gosh. That's such a great piece of example code > > > -----Original Message----- > > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > > Sent: Monday, November 03, 2003 12:05 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > > > Use ADO. It will let you treat Excel just like any other recordset. > > > > Drew > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 3 12:59:09 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 3 Nov 2003 18:59:09 -0000 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <016e01c3a237$0342db40$6501a8c0@HAL9002> Message-ID: <006f01c3a23c$906e6fc0$b274d0d5@minster33c3r25> Rocky Then please do sub to dba-tech. The more the better. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 03 November 2003 18:19 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Aw Roz can't we finish this one here? I'm not subscribed to Tech. > > Rocky > > ----- Original Message ----- > From: "Roz Clarke" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 8:24 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Nicely put. However by being the first person to post to > > this thread today, you fall foul of a new policy just > agreed between > > myself and the other moderators. Don't take it personally... > > > > EVERYONE PLEASE NOTE: from now on we will be insisting that > responses > > to questions which really belong on one of the other lists MUST be > > made on > the > > appropriate list and not on AccessD. > > > > Initial requests for help can still be sent to AccessD, until it > > becomes clear that we have enough subscribers on the other lists to > > make it unneccessary, but all responses should be sent to the VB, > > SQL-Server or > Tech > > list. > > > > We will be sending out an official email to that effect > sometime soon. > > > > If you disagree with the policy please send a mail to > > ops-mod at databaseadvisors.com and we will consider your views. > > > > Thanks > > > > Roz > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: 03 November 2003 16:08 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > Think of a subnet as a neighborhood. A network neighborhood. The > > subnet 'mask' is a property in TCP/IP, which tells your > machine what > > IP addresses are around it. It's a bitmask thing. > > > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine > > that 192.168.0.1 through 192.168.0.255 are around it. If > the bit is > > turned on > in > > the subnet mask, IP Addresses in that subnet must have a > matching bit > > (either on or off....), if it's turned off in the subnet, > that bit in > > the > IP > > address can be different. So 255.255.255.254 for a subnet, is a > > subnet of > 2 > > machines. > > > > The reason this is important, is because subnets control how much > > broadcasting and browsing your machine must do, to locate other > > computers > on > > the network. A subnet of 255.255.0.0 tells your computer there are > > 65k machines on the subnet, and more then likely you will > never find > > anything, because it will eventually give up. > 255.255.255.0 tells it > > there are 256 > > (255) computers on the subnet, which it should be able to > find just fine. > > However, if you have a smaller network, a smaller subnet > speeds up the > > 'searching'. > > > > That leads to what I was talking about earlier...the > Gateway (router). > When > > you tell a machine to go to 123.456.789.321, if that IP > Address is not > > on the subnet, it doesn't even bother looking, it just sends the > > request to > the > > gateway IP (router), so the router does the searching. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 6:53 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > O. What's a subnet? And where do I get one? And do I want one? > > > > Rocky > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Friday, October 31, 2003 9:20 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > Yes, a switch is used to connect computers on the same subnet. A > > > router > > is > > > used to connect subnets together. A router is usually also a > > > switch, so > > it > > > can connect computers on the same subnet, AND connect one > subnet to > > another. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [mailto:bchacc at san.rr.com] > > > Sent: Friday, October 31, 2003 9:20 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > > > > Is there a difference between a switch and a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I recommend "hardwiring" the IP address of any device > > > > or server connected to your LAN that's not a > > > > workstation and is virtually always on. > > > > > > > > For the price, I would also highly recommend removing > > > > all hubs from your network and using them as > > > > doorstops. Switches have come way down in price and > > > > have many benifits over hubs. > > > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > > you have an 8-port 10-BaseT hub, all ports that are processing > > > > data split that 10Mbit. A switch, each port gets the fill > > > > bandwidth. > > > > > > > > That's not including the security issues inherent with hubs as > > > > they broadcast all available data to all available ports rather > > > > than to the proper destination port. > > > > > > > > --- John Colby wrote: > > > > > Yes, you can indeed daisy chain routers and > > > > > SUPPOSEDLY hubs, though I had no > > > > > joy doing that with my old hub. I am however daisy > chaining my > > > > > old 4 port router off of my new 4 port wireless router. The > > > > > newer models even figure out what kind of cable you > are using, > > > > > crossover or regular. The biggest > > > > > issue there was that the router was the dhcp server > > > > > so I had to turn off the > > > > > old as a dhcp server and turn on the new. I also > > > > > hardwired the address of > > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > > port routers isn't a > > > > > panacea however since you now end up using two ports > > > > > just for the daisy > > > > > chain and have 6 left. In my case though I also > > > > > have a wireless so I can > > > > > get my laptop in through that and could also get > > > > > other computers in if > > > > > needed. > > > > > > > > > > I have an old model I TIVO which I modded to use the > internet to > > > > > "call in" for programming. I had to snake a cable > down the wall > > > > > from the living room (luckily exactly over my office in the > > > > > basement). I understand that the > > > > > model II has USB ports that can automatically use > > > > > the USB wireless cards to > > > > > connect to the internet. > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > > Behalf Of Rocky Smolin - > > > > > Beach Access Software > > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > > of) > > > > > > > > > > > > > > > John: > > > > > > > > > > I heard that you can daisy chain hubs off one of the ports on > > > > > your router to get more ports and that you can go up to 255 > > > > > devices from one router this way. Seems to easy and cheap, > > > > > though. > > > > > > > > > > I've also found that when creating a new network it sometimes > > > > > takes a few minutes for the different shared devices to 'see' > > > > > each other - especially on the wireless. So I'll > whang around > > > > > frustrated trying to get the network to > > > > > work and then have the same experience you had - > > > > > after a few minutes, > > > > > suddenly the other machines are in my network > > > > > neighborhood. Go figure. > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "John Colby" > > > > > To: "Database Advisors Inc. (Tech)" > > > > > ; "AccessD" > > > > > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > > couple of weeks ago. I > > > > > needed > > > > > > to expand my 4 port router (I had 5 things I kept > > > > > needing to plug in) and > > > > > > the Netgear was on sale at www.Newegg.com at the > > > > > time. I then tried and > > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > > around, so I ordered a > > > > > > dlink dwl-650 that was on sale (rebate) at > > > > > www.newegg.com. Long story > > > > > > short, it didn't work. Long story a little > > > > > longer, a very long call to > > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > > anything out, they > > > > > recommended > > > > > > that I upgrade my laptop bios. It's an ancient > > > > > (now) 233mhz PII Toshiba > > > > > > Satellite 4000 that I bought with my first > > > > > paycheck from my trip to work > > > > > for > > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > > November 1997? Getting a > > > > > bit > > > > > > long in the tooth, truth be told. > > > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > > before installing etc. > > > > > And > > > > > > "oh by the way, our card requires at least a 300 > > > > > mhz processor. So I > > > > > > uninstalled, upgraded to the latest bios (May > > > > > 2000?), turned off NAV, > > > > > > reinstalled the drivers and re-installed the card. > > > > > Still no joy. The > > > > > site > > > > > > survey showed no transmitters, and dlink tech > > > > > support assured me that if > > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > > > Ignorant liars! > > > > > > > > > > > > Went back in and reconfigured the card in the > > > > > laptop for channel 11 (it > > > > > > defaulted to 3 and the router was on 11), played > > > > > around with a couple of > > > > > > other things and boom, I see a transmitter. Went > > > > > in to the router config > > > > > > page and changed the SSID and sure enough the > > > > > thing I'm seeing on the > > > > > laptop > > > > > > changes to match! Still no connection though. > > > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > > clear idea why) I have > > > > > a > > > > > > wireless connection, can browse my network and see > > > > > the web. Yeaaaaa. > > > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > > play around, don't quit, > > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > > > Now, I need to know what to do to tighten this > > > > > thing up so that others > > > > > can't > > > > > > see my network. I'm a bit afraid to touch > > > > > anything since I don't really > > > > > > know what I did to finally get it running. > > > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > > > John W. Colby > > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 serbach at new.rr.com Mon Nov 3 13:05:14 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 13:05:14 -0600 Subject: [AccessD] How to prevent a mess Message-ID: <20031103130514.159175744.serbach@new.rr.com> David, Thanks very much for the reply. I might try indirect synchronization if my client had a server. He has Windows networking set up in his office...just peer-to-peer, no server of any kind. I've looked through the documentation for Replication on MSDN already. It hasn't been very helpful to me. There just seems to be a dearth of information that is instructional or analytical rather than feature-oriented, like the MSDN site. Just to fill in some blanks, my client has Windows XP workstations at his office with Windows networking. There are a half dozen people with laptops that roam around the state that do data entry in my new application. This data needs to be merged with the master database at the home office periodically...there's no need for immediate updates. That's why I thought I could send CDs back and forth. The data that's entered includes GIF photographs stored in one of the Access tables...thus, the amount of data being replicated could be substantial. I don't want to make a mess out of things, that's for sure...but I'm at a loss to come up with a workable plan for my client's situation. I'm going to look at Kaplan's replication tool to see if that might help. I don't suppose there's a chance that the Access database could be moved to a web server on a web host and have replication performed in some fashion? Regards, Steve Erbach Scientific Marketing Neenah, WI From andy at minstersystems.co.uk Mon Nov 3 13:11:17 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 3 Nov 2003 19:11:17 -0000 Subject: [AccessD] Powerpoint question In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD788A@xlivmbx12.aig.com> Message-ID: <007101c3a23e$42215a60$b274d0d5@minster33c3r25> This is first trial of new policy. I'm cross-posting to AccesD and the Tech list but please reply ONLY to the the tech list as this is no way Access-related - I just need guidance. Are there any Powerpoint experts out there? If so can someone tell me what, if any, are the main pros and cons of the Office 97, 2000 and XP versions of Powerpoint? And which is the best, and why? I've read the MS docs on this but am interested in "real" experience. Thanks in advance for any help. And if you're not yet on the tech list you can subscribe via http://databaseadvisors.com/mailman/listinfo/dba-tech Andy Lacey http://www.minstersystems.co.uk From DWUTKA at marlow.com Mon Nov 3 13:18:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 13:18:31 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227493@main2.marlow.com> Yes and no. When you give it a name, let's say a a UNC path, like \\SomeServer\SomeShare. The first thing it is going to do, is resolve 'SomeServer' to an IP Address. It does this in many ways, one of which is computer browsing. Computer browsing is a 'sloppy' (I say this with respect though, because I'm sure it wasn't easy to create), method of 'learning' the LAN. If you have a subnet of 255.255.255.0, you machine thinks there is a POSSIBILITY of 256 IP Addresses on it's subnet, so it will initially try to 'find' everything. (Actually it looks for a Master Browser....it gets detailed on what it does). The point is, you want a subnet big enough to handle the number of computers you want to group together, yet small enough to prevent massive browsing. Ooops, just re-read your question. You're router doesn't think that, your computer does. If your router is acting as the DHCP server, it will actually 'know' how many computers are out there, since it's handing out the IP Addresses. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, November 03, 2003 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) So I just did and IPCONFIG through the dos command and find my IP is 192.168.1.101 and the subnet is 255.255.255.0. So does my router think I might have as many as 256 machines (or addressable devices, I guess) connected to IP 192.168.1.101? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:08 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Think of a subnet as a neighborhood. A network neighborhood. The subnet > 'mask' is a property in TCP/IP, which tells your machine what IP addresses > are around it. It's a bitmask thing. > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that > 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in > the subnet mask, IP Addresses in that subnet must have a matching bit > (either on or off....), if it's turned off in the subnet, that bit in the IP > address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 > machines. > > The reason this is important, is because subnets control how much > broadcasting and browsing your machine must do, to locate other computers on > the network. A subnet of 255.255.0.0 tells your computer there are 65k > machines on the subnet, and more then likely you will never find anything, > because it will eventually give up. 255.255.255.0 tells it there are 256 > (255) computers on the subnet, which it should be able to find just fine. > However, if you have a smaller network, a smaller subnet speeds up the > 'searching'. > > That leads to what I was talking about earlier...the Gateway (router). When > you tell a machine to go to 123.456.789.321, if that IP Address is not on > the subnet, it doesn't even bother looking, it just sends the request to the > gateway IP (router), so the router does the searching. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 6:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > O. What's a subnet? And where do I get one? And do I want one? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 31, 2003 9:20 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Yes, a switch is used to connect computers on the same subnet. A router > is > > used to connect subnets together. A router is usually also a switch, so > it > > can connect computers on the same subnet, AND connect one subnet to > another. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 9:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > Is there a difference between a switch and a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 31, 2003 6:54 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > I recommend "hardwiring" the IP address of any device > > > or server connected to your LAN that's not a > > > workstation and is virtually always on. > > > > > > For the price, I would also highly recommend removing > > > all hubs from your network and using them as > > > doorstops. Switches have come way down in price and > > > have many benifits over hubs. > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > you have an 8-port 10-BaseT hub, all ports that are > > > processing data split that 10Mbit. A switch, each > > > port gets the fill bandwidth. > > > > > > That's not including the security issues inherent with > > > hubs as they broadcast all available data to all > > > available ports rather than to the proper destination > > > port. > > > > > > --- John Colby wrote: > > > > Yes, you can indeed daisy chain routers and > > > > SUPPOSEDLY hubs, though I had no > > > > joy doing that with my old hub. I am however daisy > > > > chaining my old 4 port > > > > router off of my new 4 port wireless router. The > > > > newer models even figure > > > > out what kind of cable you are using, crossover or > > > > regular. The biggest > > > > issue there was that the router was the dhcp server > > > > so I had to turn off the > > > > old as a dhcp server and turn on the new. I also > > > > hardwired the address of > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > port routers isn't a > > > > panacea however since you now end up using two ports > > > > just for the daisy > > > > chain and have 6 left. In my case though I also > > > > have a wireless so I can > > > > get my laptop in through that and could also get > > > > other computers in if > > > > needed. > > > > > > > > I have an old model I TIVO which I modded to use the > > > > internet to "call in" > > > > for programming. I had to snake a cable down the > > > > wall from the living room > > > > (luckily exactly over my office in the basement). I > > > > understand that the > > > > model II has USB ports that can automatically use > > > > the USB wireless cards to > > > > connect to the internet. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > Behalf Of Rocky Smolin - > > > > Beach Access Software > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > of) > > > > > > > > > > > > John: > > > > > > > > I heard that you can daisy chain hubs off one of the > > > > ports on your router to > > > > get more ports and that you can go up to 255 devices > > > > from one router this > > > > way. Seems to easy and cheap, though. > > > > > > > > I've also found that when creating a new network it > > > > sometimes takes a few > > > > minutes for the different shared devices to 'see' > > > > each other - especially on > > > > the wireless. So I'll whang around frustrated > > > > trying to get the network to > > > > work and then have the same experience you had - > > > > after a few minutes, > > > > suddenly the other machines are in my network > > > > neighborhood. Go figure. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John Colby" > > > > To: "Database Advisors Inc. (Tech)" > > > > ; > > > > "AccessD" > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > couple of weeks ago. I > > > > needed > > > > > to expand my 4 port router (I had 5 things I kept > > > > needing to plug in) and > > > > > the Netgear was on sale at www.Newegg.com at the > > > > time. I then tried and > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > around, so I ordered a > > > > > dlink dwl-650 that was on sale (rebate) at > > > > www.newegg.com. Long story > > > > > short, it didn't work. Long story a little > > > > longer, a very long call to > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > anything out, they > > > > recommended > > > > > that I upgrade my laptop bios. It's an ancient > > > > (now) 233mhz PII Toshiba > > > > > Satellite 4000 that I bought with my first > > > > paycheck from my trip to work > > > > for > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > November 1997? Getting a > > > > bit > > > > > long in the tooth, truth be told. > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > before installing etc. > > > > And > > > > > "oh by the way, our card requires at least a 300 > > > > mhz processor. So I > > > > > uninstalled, upgraded to the latest bios (May > > > > 2000?), turned off NAV, > > > > > reinstalled the drivers and re-installed the card. > > > > Still no joy. The > > > > site > > > > > survey showed no transmitters, and dlink tech > > > > support assured me that if > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > Ignorant liars! > > > > > > > > > > Went back in and reconfigured the card in the > > > > laptop for channel 11 (it > > > > > defaulted to 3 and the router was on 11), played > > > > around with a couple of > > > > > other things and boom, I see a transmitter. Went > > > > in to the router config > > > > > page and changed the SSID and sure enough the > > > > thing I'm seeing on the > > > > laptop > > > > > changes to match! Still no connection though. > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > clear idea why) I have > > > > a > > > > > wireless connection, can browse my network and see > > > > the web. Yeaaaaa. > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > play around, don't quit, > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > Now, I need to know what to do to tighten this > > > > thing up so that others > > > > can't > > > > > see my network. I'm a bit afraid to touch > > > > anything since I don't really > > > > > know what I did to finally get it running. > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 13:19:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 13:19:25 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227494@main2.marlow.com> Ack, need sleep....you're right. Too many TLA's at the moment. Drew -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, November 03, 2003 12:41 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) Drew/Erwin, One minor correction. Switches don't use NAT tables. They use MAC Address lists and ARP tables. NAT is something done only in a router. 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 Drew Wutka Sent: Monday, November 03, 2003 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Read Erwins post a little while ago, was waiting for your's before I replied! Erwin, switches also use NAT tables. Because of this, they don't have to broadcast everything in all directions. They're 'smart', when a packet comes in, they can properly direct it. The downside to the NAT tables is that if you blow the NAT table away, it has to be rebuilt, so sometimes on an initial powerup, a switch may seem slower, which is simply the time it is using to build the NAT tables. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 8:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 3 13:28:20 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Nov 2003 11:28:20 -0800 Subject: [AccessD] MS InfoPath and OneNote References: <8615823653.20031103132209@cactus.dk> Message-ID: <3FA6AC54.4060600@shaw.ca> Haven't touched onenote. I have played around with InfoPath, I think it is MS first pass at XForms They only released the XForm recomendation from W3C in last couple of months. You can use with SQL Server and Access and use through IE explorer some notes I made while playing around. Look at decision tree on when to use. Security and cross or multi domain use still have a way to go or are incomplete. You need IIS to test out completely. Info Path SQL Server link sets all your info path forms to specific server should be run intially before use http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkConfiguringTheSampleForms.asp ---------------------- Decision tree when to use InfoPath http://msdn.microsoft.com/library/en-us/odc_ip2003_ta/html/odc_IPInfoPathDecisionTree02.gif and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/odc_ipinfopathdecisiontree.asp ---------------------- Internet domains can be really tricky. For reference, path you browse to to fill out the form (ie. http://myServer/mySite/myForm.xsn) see Regform tool from SDK about .xsf verify the safety settings in internet explorer tool->options security tab-> and enable allow data access across domains --------------------- Exercise 1 Designing a Form from a Database In this exercise, you will create a new form based on a database. 1. Open InfoPath and click Design a Form& on the File menu. This brings up the Design a Form task pane. 2. In the Design a Form task pane, click New from Data Source&. 3. In the Data Source Setup Wizard dialog box, select Database (Microsoft SQL Server or Microsoft Office Access only) as the type of data source you want to use for your form and click the Next button. 4. Click the Select Database& button. 5. Browse to the Northwind.mdb database in the "C:\Program Files\Microsoft Office\Office11\Samples" directory and click the Open button. 6. In the Select Table dialog box, select the Orders table and click the OK button. 7. In the Data Source Setup Wizard dialog box, click the Add Table& button. 8. In the Add Table or Query dialog box, select the Order Details table and click the Next button. 9. In the Edit Relationship dialog box, InfoPath has already detected the relationship between the Orders table and the Order Details table because there is a field named OrderID in both tables. Click the Finish button. 10. In the Data Source Setup Wizard dialog box, click the Edit SQL& button. 11. In the Edit SQL dialog box, examine the ADO Shape query InfoPath uses to find data in the Orders and Order Details tables. Click the OK button. 12. In the Data Source Setup Wizard dialog box, click the Next button, and then the Finish button. InfoPath creates a new form based on the Orders and Order Details tables. 13. Save the new form as "NorthwindOrderQuery.xsn". Exercise 2 Designing the Data Entry View In this exercise, you will design the Data Entry view of the NorthwindOrderQuery form. 1. In the Controls task pane, click Views to switch to the Views task pane. 2. In the Views task pane, click the Data Entry view. 3. In the Views task pane, click Data Source to switch to the Data Source task pane. 4. Expand the dataFields tree in the Data Source task pane. 5. Drag the d:Orders group from the Data Source task pane onto the form area. From the context menu listing the available controls for the d:Orders group, select Repeating Section with Controls. 6. Lay out the controls in the form area in any way that suits you. Figure 6 contains an example layout you can follow. 7. Save the changes you made to the form. Test the Form 1. Click the Preview Form button on the Standard toolbar. 2. On the View menu, click Query. 3. In the OrderID control, type "11068" and click the Run Query button. Examine the data returned from the query. 4. On the View menu, click Query. 5. Clear the OrderID control. 6. In the CustomerID control, type "ALFKI" and click the Run Query button. Examine the data returned from the query. 7. Try other query parameters. When you have finished, click the Close Preview button on the Standard toolbar. Exercise 3 Designing the Query View In this exercise, you will design the Query view of the NorthwindOrderQuery form. 1. On the View menu, click Manage Views& to bring up the Views task pane. 2. On the Views task pane, click Query. 3. Click Select All on the Edit menu to select all of the controls and text in the form area. 4. Click Cut on the Edit menu to delete all of the elements. 5. In the Data Source task pane, expand the queryFields tree, and then expand the q:Orders tree. 6. Drag the OrderID field from the Data Source task pane onto the form area. 7. In the Data Source task pane, click Controls to switch to the Controls task pane. 8. From the Controls task pane, drag a Button control onto the form. 9. Right-click on the Button control and click Button Properties&. 10. In the Action drop-down list box of the Button Properties dialog box, select Run Query and then click OK. 11. Drag another Button control from the Controls task pane onto the form next to the Run Query button. 12. Right-click on the Button control and click Button Properties&. 13. In the Action drop-down list box of the Button Properties dialog box, select New Record and then click OK. 14. Lay out the controls on the form in any way you see fit. Figure 7 includes an example layout. 15. Save the changes you made to the form. ------------------------------------------------------ How to point to an Access File rather than SQL changes Inside the .xsf file you will likely find an element. Inside that is an element which includes information about the data source. You will likely see something like the following (the element is on a single horribly long line in the original code but my newsreader breaks the line): Edit the information about the Data Source in the connection string. Be careful not to end up with a split line for the element in your code after editing, since that may cause errors. Republish the form. Gustav Brock wrote: >Hi all > >Anyone familiar with these new products and if they somehow relate to >Access? > >I've tried to browse some brochures but they are so hyped that it is >just plain impossible to figure out wether these apps are fancy toys >which will bring any machine to a crawl or if they could be useful >tools in cooperation with Access and database applications. > >And how are the programmed if you wish to create custom build apps? >I've located this link to a SDK related to InfoPath: > >http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en > >but it looks like you need to take a deep breath and have a weekend >set aside. > >Also, how much are they relying on specific MS server software like >SharePoint or Exchange or pure MS environments or Office 2003 only? If >so, the usefulness is very limited as our clients use a variety of >systems. > >/gustav > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From DWUTKA at marlow.com Mon Nov 3 13:34:16 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 13:34:16 -0600 Subject: [AccessD] Powerpoint question Message-ID: <2F8793082E00D4119A1700B0D0216BF802227495@main2.marlow.com> Actually, this ties DIRECTLY into Access. My full time employer is still running Office 97 across the board. There are a few dual 97/2k setups, and several Outlook upgrades. Recently we've been getting 'user requests' to upgrade to a more current version of Office. And here's what I've put together as pro's vs. con's. It's pretty simple. The biggest difference between the versions of Office can be split into two categories (which is why this is Access related). Access and Everything else I develop everything I can with Access 97, because it's rock solid, though A2k allows VBA 6, which includes custom events. The upgrade in VBA is quite frankly the only plus I see between A97 and A2k (haven't really used AXP much to give an opinion on that). Everything else keeps improving version to version. I have and have used Front Page 98, 2000, and 2002. Each one was a VAST improvement on the next. Word and Excel have improved, but not much for what I use them for. The big changes there is more options and better interoperability. (I believe Word 2002 allows multiple users to work on the same document simultaneously). Same with Power Point. More options. You can make presentation prettier with more effects and themes. The one big improvement in 'everything else', that I have latched onto, is that each version is better at creating web documents. Take PP 97. Make a presentation, and then save it as a web page. First, the wizard is a 100 step nightmare, and what you get at the end is a monstrousity. Use PP 2000, and it works it's magic effortlessly, and you end up with a pretty good HTML representation of your presentation. Same with Excel and Word. And you can work with the HTML versions just like you would with their native file format partners. Drew -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Monday, November 03, 2003 1:11 PM To: 'Access Developers discussion and problem solving'; dba-tech at databaseadvisors.com Subject: [AccessD] Powerpoint question This is first trial of new policy. I'm cross-posting to AccesD and the Tech list but please reply ONLY to the the tech list as this is no way Access-related - I just need guidance. Are there any Powerpoint experts out there? If so can someone tell me what, if any, are the main pros and cons of the Office 97, 2000 and XP versions of Powerpoint? And which is the best, and why? I've read the MS docs on this but am interested in "real" experience. Thanks in advance for any help. And if you're not yet on the tech list you can subscribe via http://databaseadvisors.com/mailman/listinfo/dba-tech 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 davide at dalyn.co.nz Mon Nov 3 14:02:38 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 04 Nov 2003 09:02:38 +1300 Subject: [AccessD] How to prevent a mess In-Reply-To: <20031103130514.159175744.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031104084253.00b1d0e8@mail.dalyn.co.nz> Comments inline- At 3/11/2003, you wrote: >I might try indirect synchronization if my client had a server. He has >Windows networking set up in his office...just peer-to-peer, no server of >any kind. I don't think you need a 'server' as such - just a computer with NT 4.0 or higher (Windows XP pro may even work). All the laptops need to do is to set up a dialup link so that they can access a folder on the main computer. Then replication does the rest. Check out the replication documentation for indirect synchronization. >I don't suppose there's a chance that the Access database could be moved >to a web server on a web host and have replication performed in some fashion? Avoid internet synchronization - unless post 97 versions have improved (which I don't think they have), you are left with no security to prevent hackers attacking your server (internet synchronization doesn't work with firewalls etc). Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From rusty.hammond at cpiqpc.com Mon Nov 3 14:56:05 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 14:56:05 -0600 Subject: [AccessD] EDI data file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603F@cpixchng-1.cpiqpc.net> Has anyone ever worked with an X12/EDI data file? Can it be imported into an Access 97 table? We're getting a file back that we're supposed to use to lookup the status of billings but it needs to be parsed. The (very) limited help on the web site where we download the file from says we need to use a conversion program to get the X12 file to a readable format. Any help would be much appreciated. TIA Rusty From serbach at new.rr.com Mon Nov 3 15:10:57 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 15:10:57 -0600 Subject: [AccessD] How to prevent a mess Message-ID: <20031103151057.1047975120.serbach@new.rr.com> David, Thanks for staying in step with me on this. >> just a computer with NT 4.0 or > higher (Windows XP pro may even work) << Hah! When I helped my client network his desktops and wireless laptops a couple of weeks ago, I recommended that all the PCs be upgraded to XP Professional. No such luck...they're all (except for one ME) XP Home. However, I think I can persuade him to kick in for an upgrade on his main system to get this remote replication thing operational. I will indeed check out the indirect synchronization thing. >> internet synchronization doesn't work with firewalls etc << Interesting. So putting an Access BE up on a web host would pretty much put it out of reach since the web host is bound to have a router, right? Thanks, Steve Erbach Neenah, WI From martyconnelly at shaw.ca Mon Nov 3 15:05:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Nov 2003 13:05:10 -0800 Subject: [AccessD] MS InfoPath and OneNote References: <8615823653.20031103132209@cactus.dk> <3FA6AC54.4060600@shaw.ca> Message-ID: <3FA6C306.9030506@shaw.ca> Here are some other uses of InfoPath from Jean Paoli, the architect of Microsoft Office's XML http://www.infoworld.com/article/03/02/20/08stratdev_1.html MartyConnelly wrote: > Haven't touched onenote. > > I have played around with InfoPath, I think it is MS first pass at XForms > They only released the XForm recomendation from W3C in last couple of > months. > You can use with SQL Server and Access and use through IE explorer > some notes I made while playing around. Look at decision tree on when > to use. > Security and cross or multi domain use still have a way to go or are > incomplete. > You need IIS to test out completely. > > > Info Path SQL Server link sets all your info path forms to specific > server should be run intially before use > http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkConfiguringTheSampleForms.asp > > > ---------------------- > > Decision tree when to use InfoPath > http://msdn.microsoft.com/library/en-us/odc_ip2003_ta/html/odc_IPInfoPathDecisionTree02.gif > > and > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/odc_ipinfopathdecisiontree.asp > > > ---------------------- > Internet domains can be really tricky. For reference, > path you browse to to fill out the form (ie. > http://myServer/mySite/myForm.xsn) > see Regform tool from SDK about .xsf > > verify the safety settings in internet explorer tool->options security > tab-> and enable allow data access across domains > --------------------- > > Exercise 1 Designing a Form from a Database > In this exercise, you will create a new form based on a database. > > 1. Open InfoPath and click Design a Form& on the File menu. This > brings up > the Design a Form task pane. > 2. In the Design a Form task pane, click New from Data Source&. > 3. In the Data Source Setup Wizard dialog box, select Database (Microsoft > SQL Server or Microsoft Office Access only) as the type of data source > you > want to use for your form and click the Next button. > 4. Click the Select Database& button. > 5. Browse to the Northwind.mdb database in the "C:\Program > Files\Microsoft > Office\Office11\Samples" directory and click the Open button. > 6. In the Select Table dialog box, select the Orders table and click > the OK > button. > 7. In the Data Source Setup Wizard dialog box, click the Add Table& > button. > 8. In the Add Table or Query dialog box, select the Order Details > table and > click the Next button. > 9. In the Edit Relationship dialog box, InfoPath has already detected the > relationship between the Orders table and the Order Details table because > there is a field named OrderID in both tables. Click the Finish button. > 10. In the Data Source Setup Wizard dialog box, click the Edit SQL& > button. > > 11. In the Edit SQL dialog box, examine the ADO Shape query InfoPath uses > to find data in the Orders and Order Details tables. Click the OK button. > 12. In the Data Source Setup Wizard dialog box, click the Next button, > and > then the Finish button. InfoPath creates a new form based on the Orders > and Order Details tables. > 13. Save the new form as "NorthwindOrderQuery.xsn". > > Exercise 2 Designing the Data Entry View > In this exercise, you will design the Data Entry view of the > NorthwindOrderQuery form. > > 1. In the Controls task pane, click Views to switch to the Views task > pane. > 2. In the Views task pane, click the Data Entry view. > 3. In the Views task pane, click Data Source to switch to the Data Source > task pane. > 4. Expand the dataFields tree in the Data Source task pane. > 5. Drag the d:Orders group from the Data Source task pane onto the form > area. From the context menu listing the available controls for the > d:Orders group, select Repeating Section with Controls. > 6. Lay out the controls in the form area in any way that suits you. > Figure > 6 contains an example layout you can follow. > 7. Save the changes you made to the form. > > Test the Form > 1. Click the Preview Form button on the Standard toolbar. > 2. On the View menu, click Query. > 3. In the OrderID control, type "11068" and click the Run Query button. > Examine the data returned from the query. > 4. On the View menu, click Query. > 5. Clear the OrderID control. > 6. In the CustomerID control, type "ALFKI" and click the Run Query > button. > Examine the data returned from the query. > 7. Try other query parameters. When you have finished, click the Close > Preview button on the Standard toolbar. > > Exercise 3 Designing the Query View > In this exercise, you will design the Query view of the > NorthwindOrderQuery > form. > > 1. On the View menu, click Manage Views& to bring up the Views task pane. > 2. On the Views task pane, click Query. > 3. Click Select All on the Edit menu to select all of the controls and > text > in the form area. > 4. Click Cut on the Edit menu to delete all of the elements. > 5. In the Data Source task pane, expand the queryFields tree, and then > expand the q:Orders tree. > 6. Drag the OrderID field from the Data Source task pane onto the form > area. > 7. In the Data Source task pane, click Controls to switch to the Controls > task pane. > 8. From the Controls task pane, drag a Button control onto the form. > 9. Right-click on the Button control and click Button Properties&. > 10. In the Action drop-down list box of the Button Properties dialog box, > select Run Query and then click OK. > 11. Drag another Button control from the Controls task pane onto the form > next to the Run Query button. > 12. Right-click on the Button control and click Button Properties&. > 13. In the Action drop-down list box of the Button Properties dialog box, > select New Record and then click OK. > 14. Lay out the controls on the form in any way you see fit. Figure 7 > includes an example layout. > 15. Save the changes you made to the form. > > ------------------------------------------------------ > How to point to an Access File rather than SQL changes > > Inside the .xsf file you will likely find an element. > Inside that is an element which includes information > about the data source. > > You will likely see something like the following (the > element is on a single horribly long line in the > original code but my newsreader breaks the line): > > > connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Password="";User > > ID=Admin;Data Source=C:\Program Files\Microsoft > Office\OFFICE11\SAMPLES\INFOPATH\INFNWIND.MDB;Mode=Share Deny > None;Extended Properties="";Jet OLEDB:System > database="";Jet OLEDB:Registry Path="";Jet > OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet > OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet > OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database > Password="";Jet OLEDB:Create System Database=False;Jet > OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on > Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet > OLEDB:SFP=False" commandText="select > [CustomerID],[CompanyName],[ContactName],[ContactTitle] from > [Customers] as [Customers]" queryAllowed="yes" > submitAllowed="yes"> > > > Edit the information about the Data Source in the connection string. > > Be careful not to end up with a split line for the > element in your code after editing, since that may cause errors. > > Republish the form. > > > Gustav Brock wrote: > >> Hi all >> >> Anyone familiar with these new products and if they somehow relate to >> Access? >> >> I've tried to browse some brochures but they are so hyped that it is >> just plain impossible to figure out wether these apps are fancy toys >> which will bring any machine to a crawl or if they could be useful >> tools in cooperation with Access and database applications. >> >> And how are the programmed if you wish to create custom build apps? >> I've located this link to a SDK related to InfoPath: >> >> http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en >> >> >> but it looks like you need to take a deep breath and have a weekend >> set aside. >> >> Also, how much are they relying on specific MS server software like >> SharePoint or Exchange or pure MS environments or Office 2003 only? If >> so, the usefulness is very limited as our clients use a variety of >> systems. >> /gustav >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> > -- Marty Connelly Victoria, B.C. Canada From selina at easydatabases.com.au Mon Nov 3 15:12:56 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Tue, 4 Nov 2003 07:12:56 +1000 Subject: [AccessD] Hourly Backups Of Access Data References: <2F8793082E00D4119A1700B0D0216BF80222748E@main2.marlow.com> Message-ID: <000b01c3a24f$4119ecc0$6465000a@venus> Howdy I suppose it depends upon the database, but the 'techie' guy I work with has put in place some little .bat files that copy the database on the hour to a particular directory and depending upon the .bat file and time, places it in a 1100, 1200, 1300 etc directory. That way if we can go back to any time in the last 24hrs without going to the nightly backup tapes. It works very well, he had to put some commands in the startup of the server to do it, (I'm not up on that side of things in case it's not painfully obvious) but it certainly doesn't kick anyone out whilst performing the copies. I suppose you could add a line to the .bat file to compact them. Cheers Selina ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 3:42 AM Subject: RE: [AccessD] Hourly Backups Of Access Data > Ya, just import them into a new db. You should be able to import them > without having to kick anyone out! > > Drew > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Monday, November 03, 2003 11:00 AM > To: accessd > Subject: [AccessD] Hourly Backups Of Access Data > > > To all, > Is there anyway I can create a backup of all the tables in a database, > without bringing all the users out of the database. > Paul > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From serbach at new.rr.com Mon Nov 3 15:34:21 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 15:34:21 -0600 Subject: [AccessD] EDI data file Message-ID: <20031103153421.1143797734.serbach@new.rr.com> Rusty, >> The (very) limited help on the web site where we download the file from says we need to use a conversion program to get the X12 file to a readable format. Any help would be much appreciated. << Welcome to EDI. In the past three weeks I've visited a few dozen EDI sites trying to get some good examples so that I can do that very thing you're talking about. I'd had some limited EDI experience in the past. My client wants a more customized solution without having to buy a full-bore EDI package that includes every document type under the sun. The amount of help is, indeed, very limited. There are no books on EDI at the library. Barnes & Noble doesn't stock any. On top of that, just last week I discovered that a sizeable component of good EDI programs is the error-trapping; that is, an X12 file can have errors in it. If your software doesn't allow for that, then you have junk. EDI specs are difficult to translate into a neat and orderly relational model. So you'd have quite a task making up tables to represent the EDI "model." I found a company that provides a moderately-priced tool to read and translate EDI transactions using a Windows object model. Thus you can roll your own EDI software and use the classes provided for EDI transactions just as you use any other class. They provide samples in VB, Delphi, C++.NET, and FoxPro. I used their 60-day eval program to detect an error in transmission of a test X12 Purchase Order for a project I'm doing for a client of mine. The product is called Framework EDI. The Professional version is $950. There's an "Enterprise" and "Universal" version, too. I've persuaded my client to bite the bullet and buy it since he'd have to pay me a lot more to code something that wouldn't work nearly so well. Here's the web site: http://www.edidev.com/ Of course, there are tons of EDI software sites on the web. This one was different in that it offered a developer's toolbox sort of thing rather than a complete package from A-Z. Good luck! Regards, Steve Erbach Scientific Marketing Neenah, WI From martyconnelly at shaw.ca Mon Nov 3 15:49:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Nov 2003 13:49:41 -0800 Subject: [AccessD] EDI data file References: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603F@cpixchng-1.cpiqpc.net> Message-ID: <3FA6CD75.1000308@shaw.ca> You can translate or map EDI to csv, flatfiles or xml I suggested to one company to convert or map to xml then bring into Access or SQL via ADO or XMLDOM. They used goXML product from Altova with XMLSPY to do the conversion. It is expensive but necessary if you have a lot of different EDI formats. There are different templates for EDI X12 like 850 and 810. or HIPAA templates :: EDI X12 - 270 Eligibility, Coverage or Benefit Inquiry EDI X12 - 271 Eligibility, Coverage or Benefit Inquiry EDI X12 - 276 Health Care Claim Status Request EDI X12 - 277 Health Care Claim Status Notification EDI X12 - 820 Payment Order Remittance Advice EDI X12 - 834 Benefit Enrollment and Maintenance EDI X12 - 835 Health Care Claim Payment Advice EDI X12 - 837 Health Care Claim A cheaper conversion program would be ETAsoft for around $2000 http://www.xtranslator.com/index.htm There is a recent book on subject with examples but uses Java C++ Using XML with Legacy Business Applications by Michael C. Rawlins http://www.amazon.com/exec/obidos/ASIN/0321154940/qid%3D1063200555/sr%3D11-1/ref%3Dsr%5F11%5F1/002-5838316-1411229 You might find cheaper translation software at www.xml.org or www.oasis.org or maybe MS eBiz server site rusty.hammond at cpiqpc.com wrote: >Has anyone ever worked with an X12/EDI data file? Can it be imported into >an Access 97 table? We're getting a file back that we're supposed to use to >lookup the status of billings but it needs to be parsed. The (very) limited >help on the web site where we download the file from says we need to use a >conversion program to get the X12 file to a readable format. > >Any help would be much appreciated. > >TIA > >Rusty > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From rusty.hammond at cpiqpc.com Mon Nov 3 16:06:15 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 16:06:15 -0600 Subject: [AccessD] EDI data file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03306040@cpixchng-1.cpiqpc.net> Thanks Steve. Not exactly what I wanted to hear but it is what I thought I might hear. Oh well, if this work was always easy I wouldn't have a job, right? ----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Monday, November 03, 2003 3:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EDI data file Rusty, >> The (very) limited help on the web site where we download the file from says we need to use a conversion program to get the X12 file to a readable format. Any help would be much appreciated. << Welcome to EDI. In the past three weeks I've visited a few dozen EDI sites trying to get some good examples so that I can do that very thing you're talking about. I'd had some limited EDI experience in the past. My client wants a more customized solution without having to buy a full-bore EDI package that includes every document type under the sun. The amount of help is, indeed, very limited. There are no books on EDI at the library. Barnes & Noble doesn't stock any. On top of that, just last week I discovered that a sizeable component of good EDI programs is the error-trapping; that is, an X12 file can have errors in it. If your software doesn't allow for that, then you have junk. EDI specs are difficult to translate into a neat and orderly relational model. So you'd have quite a task making up tables to represent the EDI "model." I found a company that provides a moderately-priced tool to read and translate EDI transactions using a Windows object model. Thus you can roll your own EDI software and use the classes provided for EDI transactions just as you use any other class. They provide samples in VB, Delphi, C++.NET, and FoxPro. I used their 60-day eval program to detect an error in transmission of a test X12 Purchase Order for a project I'm doing for a client of mine. The product is called Framework EDI. The Professional version is $950. There's an "Enterprise" and "Universal" version, too. I've persuaded my client to bite the bullet and buy it since he'd have to pay me a lot more to code something that wouldn't work nearly so well. Here's the web site: http://www.edidev.com/ Of course, there are tons of EDI software sites on the web. This one was different in that it offered a developer's toolbox sort of thing rather than a complete package from A-Z. Good luck! Regards, Steve Erbach Scientific Marketing Neenah, WI _______________________________________________ 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 Nov 3 16:18:47 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 04 Nov 2003 08:18:47 +1000 Subject: [AccessD] OT: Noisy computer In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222748D@main2.marlow.com> Message-ID: <3FA760E7.17853.200C88@localhost> On 3 Nov 2003 at 11:40, Drew Wutka wrote: > To tie this into an Access related (actually AccessD related) post, in my > old place (one before the fire), I had my servers near the foot of my > bed...and those things were NOISY. Of course, one of the fans was going > out, so that didn't help! But now that they're in the closet, I can > soundly sleep at night, and still host the archives! (Come on, give > me points for trying to tie that in!) > Until the archives get lost because the servers overheat and melt down without adequate airflow? :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From rusty.hammond at cpiqpc.com Mon Nov 3 16:20:38 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 16:20:38 -0600 Subject: [AccessD] EDI data file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03306041@cpixchng-1.cpiqpc.net> Thanks Marty that helps. It is a Remittance Advice file so now I at least know the template id (which I think was on the web site Steve mentioned as well). Sounds like I have a lot of learning to do. -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, November 03, 2003 3:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EDI data file You can translate or map EDI to csv, flatfiles or xml I suggested to one company to convert or map to xml then bring into Access or SQL via ADO or XMLDOM. They used goXML product from Altova with XMLSPY to do the conversion. It is expensive but necessary if you have a lot of different EDI formats. There are different templates for EDI X12 like 850 and 810. or HIPAA templates :: EDI X12 - 270 Eligibility, Coverage or Benefit Inquiry EDI X12 - 271 Eligibility, Coverage or Benefit Inquiry EDI X12 - 276 Health Care Claim Status Request EDI X12 - 277 Health Care Claim Status Notification EDI X12 - 820 Payment Order Remittance Advice EDI X12 - 834 Benefit Enrollment and Maintenance EDI X12 - 835 Health Care Claim Payment Advice EDI X12 - 837 Health Care Claim A cheaper conversion program would be ETAsoft for around $2000 http://www.xtranslator.com/index.htm There is a recent book on subject with examples but uses Java C++ Using XML with Legacy Business Applications by Michael C. Rawlins http://www.amazon.com/exec/obidos/ASIN/0321154940/qid%3D1063200555/sr%3D11-1 /ref%3Dsr%5F11%5F1/002-5838316-1411229 You might find cheaper translation software at www.xml.org or www.oasis.org or maybe MS eBiz server site rusty.hammond at cpiqpc.com wrote: >Has anyone ever worked with an X12/EDI data file? Can it be imported into >an Access 97 table? We're getting a file back that we're supposed to use to >lookup the status of billings but it needs to be parsed. The (very) limited >help on the web site where we download the file from says we need to use a >conversion program to get the X12 file to a readable format. > >Any help would be much appreciated. > >TIA > >Rusty > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Mon Nov 3 16:32:38 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 16:32:38 -0600 Subject: [AccessD] EDI data file Message-ID: <20031103163238.1043140229.serbach@new.rr.com> Rusty, >> ?Not exactly what I wanted to hear but it is what I thought I might hear. ?Oh well, if this work was always easy I wouldn't have a job, right? << Too right. I had hoped that it would a bit simpler, too. But EDI has a way of expanding to fill the amount of money you have available. The XML route that Marty mentioned is another way to go...one that might become more prevalent Real Soon Now. To me, the EDIdEv product looks promising as far as cost goes. Steve Erbach From davide at dalyn.co.nz Mon Nov 3 17:39:06 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 04 Nov 2003 12:39:06 +1300 Subject: [AccessD] How to prevent a mess In-Reply-To: <20031103151057.1047975120.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031104123250.00b85008@mail.dalyn.co.nz> At 3/11/2003, you wrote: >David, > >> internet synchronization doesn't work with firewalls etc << > >Interesting. So putting an Access BE up on a web host would pretty much >put it out of reach since the web host is bound to have a router, right? No - there is a different between using Access as a BE for a web FE (ASP/HTML etc), and using internet synchronization. Internet synchronization just uses the internet connection to access the BE direct. This means that the computer hosting the BE needs to be accessible via the internet. But because firewalls upset the synchronizer, you can't protect your server. One company I worked with ended up with a $5000 bill when hackers got into their server and used it to transfer their files - this was only within a month! Ouch. If you are interested there a white paper specifically on internet synchronization but because of its limitations it is only of academic interest. Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From caa at highway.com.br Mon Nov 3 18:21:57 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Mon, 03 Nov 2003 22:21:57 -0200 Subject: [AccessD] A2k - BE corruption??? Message-ID: Dear Mates: I would like to have your opinion on this matter. I developed an A2k database system with three identical FE's and one BE. It has data from jan2001 to now. Upon executing a simple select query I noticed that I could not retrieve any records from 2002. The same query executed on a BE backup copy from jul2003 returned all due records. Is this a BE corruption??? I tried ?Compact and repair...?, JetComp and import all tables to a new BE with no better results. Things that called my attention: 1- I use Jet 4.0 SP6 and my client uses something older than SP3; 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office 97. Thanks for any input, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From Bryan.Brown at acsalaska.com Mon Nov 3 18:41:36 2003 From: Bryan.Brown at acsalaska.com (Brown, Bryan) Date: Mon, 3 Nov 2003 15:41:36 -0900 Subject: [AccessD] Summarizing like data - suggestions? Message-ID: Hi everyone, I listen a lot and offer help when I'm able (which, as a relative newcomer when compared to many of you, is not often) and now I could use some help. I have two tables of like data (or it could be one table with multiple rows of similar records) and I need to combine the records when appropriate into one table... It seems simple enough, but it eludes me. I have about 3000 records to compare and summarize. If all data elements, except hours, are the same then, I add the hours, else I have to have separate entries. Any suggestions would be appreciated - Thanks! Example of Multiple rows in one table: Sample Data Before Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;40 ;22 100002;Bob ; 9.00;Waiter ;60 ;10 Desired Result Data after Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;100 ;32 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. ACS3/11/2003 From accessd at shaw.ca Mon Nov 3 18:58:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 16:58:19 -0800 Subject: [AccessD] Running local file format In-Reply-To: <20031103160200.C8CF224D446@smithers.nildram.co.uk> Message-ID: Hi Andy: Thanks for the code. Along with the code sample from Dev Ashish's site this should cover all bases. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Monday, November 03, 2003 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Running local file format I use some API code that came from someone on the list (sorry can't credit cos can't remember). Very simple. Stick this in a module: Declare Function ShellExecute Lib "shell32" 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 Function RunApp(strFile As String, bytSize) As Boolean Dim lngRet As Long Dim varTaskID As Variant Dim strRet As String lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, vbNullString, vbNullString, bytSize) If lngRet > Success Then strRet = vbNullString lngRet = -1 RunApp = True Else RunApp = False Select Case lngRet Case NotRegistered varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & strFile, bytSize) lngRet = (varTaskID <> 0) Case InadequateMemory MsgBox "Error: Out of Memory/Resources!" Case FileNotFound MsgBox "Error: File not found!" Case PathNotFound MsgBox "Error: Path not found!" Case BadFormat MsgBox "Error: Bad File Format!" Case 5 MsgBox "Error: Unauthorized due to Security restrictions!" End Select End If End Function Then all you do is: Call RunApp(strfilename,1) HTH -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] Running local file format Date: 03/11/03 21:15 Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA 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 ________________________________________________ Message sent using UebiMiau 2.7.2 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 3 18:58:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 16:58:16 -0800 Subject: [AccessD] Running local file format In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603B@cpixchng-1.cpiqpc.net> Message-ID: Hi Rusty: Thanks for your suggestions...I am looking into it now. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of rusty.hammond at cpiqpc.com Sent: Monday, November 03, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Running local file format Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA 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 Mon Nov 3 18:58:13 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 16:58:13 -0800 Subject: [AccessD] Running local file format In-Reply-To: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> Message-ID: Thank you Stuart: It worked perfectly. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Monday, November 03, 2003 2:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Running local file format What you want is this: http://www.mvps.org/access/api/api0018.htm Regards Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence (AccessD) > Sent: Monday, 03 November, 2003 3:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running local file format > > > Hi All: > > This is a simple question I am sure but the life of me I can > not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to > run/display any file that > the local computer recognizes, like a Word document, pdf > file, spreadsheet > or maybe a web page without writing specific code for each > type. I have > written procedures for Word Excel and Web pages but there > must be any easier > way than blocks of code for each extension. A browser web > page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > 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 KIsmert at TexasSystems.com Mon Nov 3 19:00:49 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Mon, 3 Nov 2003 19:00:49 -0600 Subject: [AccessD] Hourly Backups Of Access Data In-Reply-To: Message-ID: <03d601c3a26f$17153040$2a3ca8c0@TEXASSYSTEMS.COM> Paul, The critical issue I see with Jet is that you can't guarantee that your backup data will be in a consistent state while users are in the database. Jet simply can't be trusted to keep everything straight with the read/write locks or cascade updates/deletes that could be in progress when you initiate your backup. This applies as much to backing up the mdb files as it would to any of the other proposed solutions, in my opinion. If live backups are an overriding concern, consider moving your backend to MSDE/SQL Server. With its transaction logging and dynamic backup capabilities, you can implement a much more reliable and transparent backup policy. Otherwise, kick 'em out! See: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q300216 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/htm l/acmsdeop.asp -Ken -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, November 03, 2003 12:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Hourly Backups Of Access Data Paul, I just looked at my backup routine but it won't work for you, uses CompactDatabase. Guess I should create a new one. (Thinking out loud here) how about: Create a routine to export all of the tables and data to a new DB. That shouldn't affect any of the users. Create a seperate routine that clears the tables and imports/appends it all back in just in case you need to restore the data. If that case arises it would probably mean the users can't get in anyway - otherwise you would have to kick them all out. This would alleviate worrying about relationships, etc. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > paul.hartland at fsmail.net > Sent: Monday, November 03, 2003 11:00 AM > To: accessd > Subject: [AccessD] Hourly Backups Of Access Data > > > To all, > Is there anyway I can create a backup of all the tables in a > database, without bringing all the users out of the database. > Paul > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at bellsouth.net Mon Nov 3 19:06:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 20:06:08 -0500 Subject: [AccessD] Summarizing like data - suggestions? References: Message-ID: <01c501c3a26f$d7dbc640$6001a8c0@dejpolsys> Bryan ...is this a 1-time fix or are you going to have to repeat this again and again? ...the solutions differ. ...the simplest 1-time fix ime would be to create a table with a unique index set for empID and then query the source table to append all records to it ...dupe empIDs wont be appended ...then you should be able to run update queries on the new table Hours1 and Hours2 fields using calc fields on the source table Hours1 and Hours2 field to total each records hours that match the empID ...I have not done this but it should be doable in the query itself, if not you'll need to write and call a function that does it. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Brown, Bryan" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 7:41 PM Subject: [AccessD] Summarizing like data - suggestions? > Hi everyone, > > I listen a lot and offer help when I'm able (which, as a relative newcomer > when compared to many of you, is not often) and now I could use some help. I > have two tables of like data (or it could be one table with multiple rows of > similar records) and I need to combine the records when appropriate into one > table... > > It seems simple enough, but it eludes me. I have about 3000 records to > compare and summarize. If all data elements, except hours, are the same > then, I add the hours, else I have to have separate entries. Any suggestions > would be appreciated - Thanks! > > Example of Multiple rows in one table: > > Sample Data Before Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;40 ;22 > 100002;Bob ; 9.00;Waiter ;60 ;10 > > > Desired Result Data after Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;100 ;32 > > > > > > > > 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. ACS3/11/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Bryan.Brown at acsalaska.com Mon Nov 3 19:12:19 2003 From: Bryan.Brown at acsalaska.com (Brown, Bryan) Date: Mon, 3 Nov 2003 16:12:19 -0900 Subject: [AccessD] Summarizing like data - suggestions? Message-ID: William - thanks for the info. This will be done monthly. I think your idea will work fine for this month (also read as "tomorrow!"), but I'll need to end up with a process that the end-user just "clicks" start to finish :-) Bryan -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Monday, November 03, 2003 4:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summarizing like data - suggestions? Bryan ...is this a 1-time fix or are you going to have to repeat this again and again? ...the solutions differ. ...the simplest 1-time fix ime would be to create a table with a unique index set for empID and then query the source table to append all records to it ...dupe empIDs wont be appended ...then you should be able to run update queries on the new table Hours1 and Hours2 fields using calc fields on the source table Hours1 and Hours2 field to total each records hours that match the empID ...I have not done this but it should be doable in the query itself, if not you'll need to write and call a function that does it. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Brown, Bryan" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 7:41 PM Subject: [AccessD] Summarizing like data - suggestions? > Hi everyone, > > I listen a lot and offer help when I'm able (which, as a relative newcomer > when compared to many of you, is not often) and now I could use some help. I > have two tables of like data (or it could be one table with multiple rows of > similar records) and I need to combine the records when appropriate into one > table... > > It seems simple enough, but it eludes me. I have about 3000 records to > compare and summarize. If all data elements, except hours, are the same > then, I add the hours, else I have to have separate entries. Any suggestions > would be appreciated - Thanks! > > Example of Multiple rows in one table: > > Sample Data Before Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;40 ;22 > 100002;Bob ; 9.00;Waiter ;60 ;10 > > > Desired Result Data after Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;100 ;32 > > > > > > > > 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. ACS3/11/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 wdhindman at bellsouth.net Mon Nov 3 19:32:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 20:32:43 -0500 Subject: [AccessD] Summarizing like data - suggestions? References: Message-ID: <01f601c3a273$8b5e07c0$6001a8c0@dejpolsys> ...write a module ...attach it to a button ...in the module use a DoCmd.RunQry(sic ...I'm writing off the top here) sequence to append any new empID records (without the Hours fields), then update Hours1, and then update Hours2. ...if this is mission critical data, I'd back off the queries and use transactions instead since with the queries the user won't know if everything got transferred correctly ...with transactions its an all or nothing deal which is more difficult to write but much more reliable ime. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Brown, Bryan" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:12 PM Subject: RE: [AccessD] Summarizing like data - suggestions? > William - thanks for the info. > > This will be done monthly. I think your idea will work fine for this month > (also read as "tomorrow!"), but I'll need to end up with a process that the > end-user just "clicks" start to finish :-) > > Bryan > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Monday, November 03, 2003 4:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Summarizing like data - suggestions? > > > Bryan > > ...is this a 1-time fix or are you going to have to repeat this again and > again? ...the solutions differ. > ...the simplest 1-time fix ime would be to create a table with a unique > index set for empID and then query the source table to append all records to > it ...dupe empIDs wont be appended ...then you should be able to run update > queries on the new table Hours1 and Hours2 fields using calc fields on the > source table Hours1 and Hours2 field to total each records hours that match > the empID ...I have not done this but it should be doable in the query > itself, if not you'll need to write and call a function that does it. > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "Brown, Bryan" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 7:41 PM > Subject: [AccessD] Summarizing like data - suggestions? > > > > Hi everyone, > > > > I listen a lot and offer help when I'm able (which, as a relative newcomer > > when compared to many of you, is not often) and now I could use some help. > I > > have two tables of like data (or it could be one table with multiple rows > of > > similar records) and I need to combine the records when appropriate into > one > > table... > > > > It seems simple enough, but it eludes me. I have about 3000 records to > > compare and summarize. If all data elements, except hours, are the same > > then, I add the hours, else I have to have separate entries. Any > suggestions > > would be appreciated - Thanks! > > > > Example of Multiple rows in one table: > > > > Sample Data Before Summary > > Emplid;Name;Rate ;Title ;Hours1;Hours2 > > 100001;Fred; 9.50;Dishwasher;40 ;22 > > 100001;Fred;15.00;Head Cook ;35 ;18 > > 100002;Bob ; 9.00;Waiter ;40 ;22 > > 100002;Bob ; 9.00;Waiter ;60 ;10 > > > > > > Desired Result Data after Summary > > Emplid;Name;Rate ;Title ;Hours1;Hours2 > > 100001;Fred; 9.50;Dishwasher;40 ;22 > > 100001;Fred;15.00;Head Cook ;35 ;18 > > 100002;Bob ; 9.00;Waiter ;100 ;32 > > > > > > > > > > > > > > > > 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. ACS3/11/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 stuart at pacific.net.hk Mon Nov 3 22:26:58 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 12:26:58 +0800 Subject: [AccessD] Running local file format In-Reply-To: Message-ID: <00f501c3a28b$e2dcc960$5100a8c0@BITSNB02> Yeah if it was just copyright I'd have no issue, but it did specifically say not to be distributed except as part of an application. Probably OK, but ... Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Tuesday, 04 November, 2003 1:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Running local file format > > > I THINK as long as the code says "you may use as long as the copyright > notice remains" and you post the whole thing with the > copyright notice, it > is legal to post the code, especially as it isn't embedded in > an EZine. > It's always safer to just post the link though. People like > visitors to > their site.. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Stuart Sanders > Sent: Monday, November 03, 2003 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running local file format > > > yeah I've used this for a couple of years. Was going to just > post the code, > but Dev has a copy right notice. > > Stuart > > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 03, 2003 10:41 PM > Subject: Re: [AccessD] Running local file format > > > > ...hey! ...nice find, works like a charm ...as it happens I have an > > immediate use for this little honey ...thanks :) > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "Stuart Sanders" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 03, 2003 5:26 AM > > Subject: RE: [AccessD] Running local file format > > > > > > > What you want is this: > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > Regards > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > > Jim Lawrence (AccessD) > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > Hi All: > > > > > > > > This is a simple question I am sure but the life of me I can > > > > not remember or > > > > find the related code. (Advanced years and all) > > > > > > > > Can you set up Access to, under program control to > > > > run/display any file that > > > > the local computer recognizes, like a Word document, pdf > > > > file, spreadsheet > > > > or maybe a web page without writing specific code for each > > > > type. I have > > > > written procedures for Word Excel and Web pages but there > > > > must be any easier > > > > way than blocks of code for each extension. A browser web > > > > page can do this > > > > but can an Access program? > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > MTIA > > > > Jim > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Mon Nov 3 22:40:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 23:40:43 -0500 Subject: [AccessD] Running local file format References: <00f501c3a28b$e2dcc960$5100a8c0@BITSNB02> Message-ID: <002b01c3a28d$ce86b910$6001a8c0@dejpolsys> ...frm Dev's Terms of Use ...seems pretty clear to me that a link is it :( "You cannot copy, redistribute or republish any source code code from this site by any means, including distributing the code on the web, in zip files, demos or via a CD collection, whether free or not. This means no web pages, text files, demo projects, classes, or databases that replicate the source found here. If you find something of interest please refer users to the corresponding page, or link to the page(s) of interest. To reiterate, you are not allowed to redistribute this code as source in any manner whatsoever. For those few of you who have trouble understanding these simple guidelines, that means you cannot repost these samples on your web site (although links to here are fine), you cannot bundle these samples on a CD and sell it, in general you cannot steal credit for others work." William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 11:26 PM Subject: RE: [AccessD] Running local file format > Yeah if it was just copyright I'd have no issue, but it did specifically say not > to be distributed except as part of an application. Probably OK, but ... > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > Sent: Tuesday, 04 November, 2003 1:01 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Running local file format > > > > > > I THINK as long as the code says "you may use as long as the copyright > > notice remains" and you post the whole thing with the > > copyright notice, it > > is legal to post the code, especially as it isn't embedded in > > an EZine. > > It's always safer to just post the link though. People like > > visitors to > > their site.. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Stuart Sanders > > Sent: Monday, November 03, 2003 11:56 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Running local file format > > > > > > yeah I've used this for a couple of years. Was going to just > > post the code, > > but Dev has a copy right notice. > > > > Stuart > > > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, November 03, 2003 10:41 PM > > Subject: Re: [AccessD] Running local file format > > > > > > > ...hey! ...nice find, works like a charm ...as it happens I have an > > > immediate use for this little honey ...thanks :) > > > > > > William Hindman > > > - Next Year In The Free State! > > > > > > > > > ----- Original Message ----- > > > From: "Stuart Sanders" > > > To: "'Access Developers discussion and problem solving'" > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > What you want is this: > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > Regards > > > > > > > > Stuart > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > > > Jim Lawrence (AccessD) > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > This is a simple question I am sure but the life of me I can > > > > > not remember or > > > > > find the related code. (Advanced years and all) > > > > > > > > > > Can you set up Access to, under program control to > > > > > run/display any file that > > > > > the local computer recognizes, like a Word document, pdf > > > > > file, spreadsheet > > > > > or maybe a web page without writing specific code for each > > > > > type. I have > > > > > written procedures for Word Excel and Web pages but there > > > > > must be any easier > > > > > way than blocks of code for each extension. A browser web > > > > > page can do this > > > > > but can an Access program? > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > MTIA > > > > > Jim > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > 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 Nov 4 01:49:36 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 4 Nov 2003 07:49:36 -0000 Subject: [AccessD] Running local file format In-Reply-To: <002b01c3a28d$ce86b910$6001a8c0@dejpolsys> Message-ID: <00b301c3a2a8$31959d40$b274d0d5@minster33c3r25> If you're talking about the code I posted then I must state that I didn't get it from Dev's site. It is actually different but similar because it uses the same API call, but I was sent it by someone on the list, which is why I thought it was ok to post. There's no way I'd use Dev's code and take out the notices in it, or post it here if I had. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: 04 November 2003 04:41 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running local file format > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > link is it :( > > "You cannot > > copy, redistribute or republish any source code code from > this site by any means, including distributing the code on > the web, in zip files, demos or via a CD collection, whether > free or not. This means no web pages, text files, demo > projects, classes, or databases that replicate the source > found here. If you find something of interest please refer > users to the corresponding page, or link to the page(s) of interest. > > To reiterate, you are not allowed to redistribute this code > as source in any manner whatsoever. For those few of you who > have trouble understanding these simple guidelines, that > means you cannot repost these samples on your web site > (although links to here are fine), you cannot bundle these > samples on a CD and sell it, in general you cannot steal > credit for others work." > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 11:26 PM > Subject: RE: [AccessD] Running local file format > > > > Yeah if it was just copyright I'd have no issue, but it did > > specifically > say not > > to be distributed except as part of an application. > Probably OK, but > > ... > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > > Colby > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > copyright notice remains" and you post the whole thing with the > > > copyright notice, it is legal to post the code, especially as it > > > isn't embedded in an EZine. > > > It's always safer to just post the link though. People like > > > visitors to > > > their site.. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > > > Sanders > > > Sent: Monday, November 03, 2003 11:56 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > yeah I've used this for a couple of years. Was going to > just post > > > the code, but Dev has a copy right notice. > > > > > > Stuart > > > > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > happens I have > > > > an immediate use for this little honey ...thanks :) > > > > > > > > William Hindman > > > > - Next Year In The Free State! > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Stuart Sanders" > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > What you want is this: > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > Regards > > > > > > > > > > Stuart > > > > > > > > > > > -----Original Message----- > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Jim > > > > > > Lawrence (AccessD) > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > To: Access Developers discussion and problem solving > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > This is a simple question I am sure but the life of > me I can > > > > > > not remember or find the related code. (Advanced years and > > > > > > all) > > > > > > > > > > > > Can you set up Access to, under program control to > run/display > > > > > > any file that the local computer recognizes, like a Word > > > > > > document, pdf file, spreadsheet > > > > > > or maybe a web page without writing specific code for each > > > > > > type. I have > > > > > > written procedures for Word Excel and Web pages but there > > > > > > must be any easier > > > > > > way than blocks of code for each extension. A browser web > > > > > > page can do this > > > > > > but can an Access program? > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > MTIA > > > > > > Jim > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 wdhindman at bellsouth.net Tue Nov 4 02:00:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 4 Nov 2003 03:00:01 -0500 Subject: [AccessD] Running local file format References: <00b301c3a2a8$31959d40$b274d0d5@minster33c3r25> Message-ID: <000601c3a2a9$a63b4220$6001a8c0@dejpolsys> ...no Andy ...not referring to your code post at all ...I was replying to JC & Stuart's discussion whether it was OK for Stuart to post the code from Dev's site rather than the link :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 2:49 AM Subject: RE: [AccessD] Running local file format > If you're talking about the code I posted then I must state that I > didn't get it from Dev's site. It is actually different but similar > because it uses the same API call, but I was sent it by someone on the > list, which is why I thought it was ok to post. There's no way I'd use > Dev's code and take out the notices in it, or post it here if I had. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > William Hindman > > Sent: 04 November 2003 04:41 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Running local file format > > > > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > > link is it :( > > > > "You cannot > > > > copy, redistribute or republish any source code code from > > this site by any means, including distributing the code on > > the web, in zip files, demos or via a CD collection, whether > > free or not. This means no web pages, text files, demo > > projects, classes, or databases that replicate the source > > found here. If you find something of interest please refer > > users to the corresponding page, or link to the page(s) of interest. > > > > To reiterate, you are not allowed to redistribute this code > > as source in any manner whatsoever. For those few of you who > > have trouble understanding these simple guidelines, that > > means you cannot repost these samples on your web site > > (although links to here are fine), you cannot bundle these > > samples on a CD and sell it, in general you cannot steal > > credit for others work." > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: "Stuart Sanders" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 03, 2003 11:26 PM > > Subject: RE: [AccessD] Running local file format > > > > > > > Yeah if it was just copyright I'd have no issue, but it did > > > specifically > > say not > > > to be distributed except as part of an application. > > Probably OK, but > > > ... > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > > > Colby > > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > > copyright notice remains" and you post the whole thing with the > > > > copyright notice, it is legal to post the code, especially as it > > > > isn't embedded in an EZine. > > > > It's always safer to just post the link though. People like > > > > visitors to > > > > their site.. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > > > > Sanders > > > > Sent: Monday, November 03, 2003 11:56 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > yeah I've used this for a couple of years. Was going to > > just post > > > > the code, but Dev has a copy right notice. > > > > > > > > Stuart > > > > > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > > happens I have > > > > > an immediate use for this little honey ...thanks :) > > > > > > > > > > William Hindman > > > > > - Next Year In The Free State! > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Stuart Sanders" > > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > > What you want is this: > > > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > > > Regards > > > > > > > > > > > > Stuart > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Jim > > > > > > > Lawrence (AccessD) > > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > > To: Access Developers discussion and problem solving > > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > > > This is a simple question I am sure but the life of > > me I can > > > > > > > not remember or find the related code. (Advanced years and > > > > > > > all) > > > > > > > > > > > > > > Can you set up Access to, under program control to > > run/display > > > > > > > any file that the local computer recognizes, like a Word > > > > > > > document, pdf file, spreadsheet > > > > > > > or maybe a web page without writing specific code for each > > > > > > > type. I have > > > > > > > written procedures for Word Excel and Web pages but there > > > > > > > must be any easier > > > > > > > way than blocks of code for each extension. A browser web > > > > > > > page can do this > > > > > > > but can an Access program? > > > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > > > MTIA > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Nov 4 02:33:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 4 Nov 2003 09:33:38 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: <3FA6C306.9030506@shaw.ca> References: <8615823653.20031103132209@cactus.dk> <3FA6AC54.4060600@shaw.ca> <3FA6C306.9030506@shaw.ca> Message-ID: <632277374.20031104093338@cactus.dk> Thanks Marty! I'll have a look. /gustav > Here are some other uses of InfoPath from Jean Paoli, the architect of > Microsoft Office's XML > http://www.infoworld.com/article/03/02/20/08stratdev_1.html From andy at minstersystems.co.uk Tue Nov 4 01:58:15 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 4 Nov 2003 8:58:15 +0100 Subject: [AccessD] Running local file format Message-ID: <20031104085813.349DC24EDE7@smithers.nildram.co.uk> ok, thanks William. I was a bit concerned there for a moment. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Running local file format Date: 04/11/03 13:01 ....no Andy ...not referring to your code post at all ...I was replying to JC & Stuart's discussion whether it was OK for Stuart to post the code from Dev's site rather than the link :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 2:49 AM Subject: RE: [AccessD] Running local file format > If you're talking about the code I posted then I must state that I > didn't get it from Dev's site. It is actually different but similar > because it uses the same API call, but I was sent it by someone on the > list, which is why I thought it was ok to post. There's no way I'd use > Dev's code and take out the notices in it, or post it here if I had. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > William Hindman > > Sent: 04 November 2003 04:41 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Running local file format > > > > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > > link is it :( > > > > "You cannot > > > > copy, redistribute or republish any source code code from > > this site by any means, including distributing the code on > > the web, in zip files, demos or via a CD collection, whether > > free or not. This means no web pages, text files, demo > > projects, classes, or databases that replicate the source > > found here. If you find something of interest please refer > > users to the corresponding page, or link to the page(s) of interest. > > > > To reiterate, you are not allowed to redistribute this code > > as source in any manner whatsoever. For those few of you who > > have trouble understanding these simple guidelines, that > > means you cannot repost these samples on your web site > > (although links to here are fine), you cannot bundle these > > samples on a CD and sell it, in general you cannot steal > > credit for others work." > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: "Stuart Sanders" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 03, 2003 11:26 PM > > Subject: RE: [AccessD] Running local file format > > > > > > > Yeah if it was just copyright I'd have no issue, but it did > > > specifically > > say not > > > to be distributed except as part of an application. > > Probably OK, but > > > ... > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > > > Colby > > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > > copyright notice remains" and you post the whole thing with the > > > > copyright notice, it is legal to post the code, especially as it > > > > isn't embedded in an EZine. > > > > It's always safer to just post the link though. People like > > > > visitors to > > > > their site.. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > > > > Sanders > > > > Sent: Monday, November 03, 2003 11:56 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > yeah I've used this for a couple of years. Was going to > > just post > > > > the code, but Dev has a copy right notice. > > > > > > > > Stuart > > > > > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > > happens I have > > > > > an immediate use for this little honey ...thanks :) > > > > > > > > > > William Hindman > > > > > - Next Year In The Free State! > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Stuart Sanders" > > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > > What you want is this: > > > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > > > Regards > > > > > > > > > > > > Stuart > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Jim > > > > > > > Lawrence (AccessD) > > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > > To: Access Developers discussion and problem solving > > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > > > This is a simple question I am sure but the life of > > me I can > > > > > > > not remember or find the related code. (Advanced years and > > > > > > > all) > > > > > > > > > > > > > > Can you set up Access to, under program control to > > run/display > > > > > > > any file that the local computer recognizes, like a Word > > > > > > > document, pdf file, spreadsheet > > > > > > > or maybe a web page without writing specific code for each > > > > > > > type. I have > > > > > > > written procedures for Word Excel and Web pages but there > > > > > > > must be any easier > > > > > > > way than blocks of code for each extension. A browser web > > > > > > > page can do this > > > > > > > but can an Access program? > > > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > > > MTIA > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 sent using UebiMiau 2.7.2 From stuart at pacific.net.hk Tue Nov 4 03:11:52 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 17:11:52 +0800 Subject: [AccessD] Running local file format In-Reply-To: <20031104085813.349DC24EDE7@smithers.nildram.co.uk> Message-ID: <000301c3a2b3$afed5c40$5100a8c0@BITSNB02> There is generally only one real way to use API calls. It is kind of silly to copyright an API wrapper that just about anyone can duplicate with some effort, and was probably translated from a C implementation anyway. I guess if it ever came to a law-suit (highly unlikely I think), it would be fairly simple to prove that it is for 2 people to come up with almost identical same code. I'm almost curious to see what a hunt on MSDN brings up. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Tuesday, 04 November, 2003 3:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running local file format > > > ok, thanks William. I was a bit concerned there for a moment. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Running local file format > Date: 04/11/03 13:01 > > > ....no Andy ...not referring to your code post at all ...I > was replying to > JC > & Stuart's discussion whether it was OK for Stuart to post > the code from > Dev's site rather than the link :) > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, November 04, 2003 2:49 AM > Subject: RE: [AccessD] Running local file format > > > > If you're talking about the code I posted then I must state that I > > didn't get it from Dev's site. It is actually different but similar > > because it uses the same API call, but I was sent it by > someone on the > > list, which is why I thought it was ok to post. There's no > way I'd use > > Dev's code and take out the notices in it, or post it here if I had. > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > William Hindman > > > Sent: 04 November 2003 04:41 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > > > link is it :( > > > > > > "You cannot > > > > > > copy, redistribute or republish any source code code from > > > this site by any means, including distributing the code on > > > the web, in zip files, demos or via a CD collection, whether > > > free or not. This means no web pages, text files, demo > > > projects, classes, or databases that replicate the source > > > found here. If you find something of interest please refer > > > users to the corresponding page, or link to the page(s) > of interest. > > > > > > To reiterate, you are not allowed to redistribute this code > > > as source in any manner whatsoever. For those few of you who > > > have trouble understanding these simple guidelines, that > > > means you cannot repost these samples on your web site > > > (although links to here are fine), you cannot bundle these > > > samples on a CD and sell it, in general you cannot steal > > > credit for others work." > > > > > > William Hindman > > > Government is not reason, government is not persuasion, > > > government is force. It is a dangerous servant." G. Washington > > > > > > ----- Original Message ----- > > > From: "Stuart Sanders" > > > To: "'Access Developers discussion and problem solving'" > > > > > > Sent: Monday, November 03, 2003 11:26 PM > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > Yeah if it was just copyright I'd have no issue, but it did > > > > specifically > > > say not > > > > to be distributed except as part of an application. > > > Probably OK, but > > > > ... > > > > > > > > Stuart > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of John > > > > > Colby > > > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > > > copyright notice remains" and you post the whole > thing with the > > > > > copyright notice, it is legal to post the code, > especially as it > > > > > isn't embedded in an EZine. > > > > > It's always safer to just post the link though. People like > > > > > visitors to > > > > > their site.. > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Stuart > > > > > Sanders > > > > > Sent: Monday, November 03, 2003 11:56 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > > > yeah I've used this for a couple of years. Was going to > > > just post > > > > > the code, but Dev has a copy right notice. > > > > > > > > > > Stuart > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "William Hindman" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > > > happens I have > > > > > > an immediate use for this little honey ...thanks :) > > > > > > > > > > > > William Hindman > > > > > > - Next Year In > The Free State! > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Stuart Sanders" > > > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > What you want is this: > > > > > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > > > > > Regards > > > > > > > > > > > > > > Stuart > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > > Behalf Of Jim > > > > > > > > Lawrence (AccessD) > > > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > > > To: Access Developers discussion and problem solving > > > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > > > > > This is a simple question I am sure but the life of > > > me I can > > > > > > > > not remember or find the related code. > (Advanced years and > > > > > > > > all) > > > > > > > > > > > > > > > > Can you set up Access to, under program control to > > > run/display > > > > > > > > any file that the local computer recognizes, like a Word > > > > > > > > document, pdf file, spreadsheet > > > > > > > > or maybe a web page without writing specific > code for each > > > > > > > > type. I have > > > > > > > > written procedures for Word Excel and Web pages > but there > > > > > > > > must be any easier > > > > > > > > way than blocks of code for each extension. A > browser web > > > > > > > > page can do this > > > > > > > > but can an Access program? > > > > > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > > > > > MTIA > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > AccessD mailing list > > > > > > > > AccessD at databaseadvisors.com > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.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 > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Tue Nov 4 03:35:58 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 04 Nov 2003 19:35:58 +1000 Subject: [AccessD] Running local file format In-Reply-To: <000301c3a2b3$afed5c40$5100a8c0@BITSNB02> References: <20031104085813.349DC24EDE7@smithers.nildram.co.uk> Message-ID: <3FA7FF9E.25074.14AE381@localhost> On 4 Nov 2003 at 17:11, Stuart Sanders wrote: > There is generally only one real way to use API calls. It is kind of silly to > copyright an API wrapper that just about anyone can duplicate with some effort, > and was probably translated from a C implementation anyway. > > I guess if it ever came to a law-suit (highly unlikely I think), it would be > fairly simple to prove that it is for 2 people to come up with almost identical > same code. > > I'm almost curious to see what a hunt on MSDN brings up. > > Stuart > I've posted my own ShellExecute() wrapper on this list a couple of times already. The only real difference between it and Dev's is in the variable names. It certainly was not based on Dev's code and quite probably pre-dates it. Should I try to sure Dev? :-) The Other Stuart From stuart at pacific.net.hk Tue Nov 4 03:51:17 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 17:51:17 +0800 Subject: [AccessD] Running local file format In-Reply-To: <000301c3a2b3$afed5c40$5100a8c0@BITSNB02> Message-ID: <000501c3a2b9$31552920$5100a8c0@BITSNB02> > -----Original Message----- > I guess if it ever came to a law-suit (highly unlikely I > think), it would be > fairly simple to prove that it is for 2 people to come up > with almost identical > same code. Bleh ... My typing isn't keeping up with my thought processes ... Or then again maybe for once it did.. It should read: "I guess if it ever came to a law-suit (highly unlikely I think), it would be fairly simple to prove that it is easy for 2 people to come up with almost identical code." Stuart (it would be easier if you used Stewart :p) From carbonnb at sympatico.ca Tue Nov 4 05:31:04 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue, 04 Nov 2003 06:31:04 -0500 Subject: [AccessD] Running local file format In-Reply-To: <00f501c3a28b$e2dcc960$5100a8c0@BITSNB02> References: Message-ID: <3FA747A8.8876.1D091C@localhost> On 4 Nov 2003 at 12:26, Stuart Sanders wrote: > Yeah if it was just copyright I'd have no issue, but it did > specifically say not to be distributed except as part of an > application. Probably OK, but ... Probably not if is says specifically not to be distributed except as part of an app. It's better to post websites, because you never know what else someone will find useful on the site. Not to mention the possible legal issues that may be involved. -- Bryan Carbonnell - carbonnb at sympatico.ca If you can't be a good example, then you'll just have to be a horrible warning. From R.Griffiths at bury.gov.uk Tue Nov 4 07:01:17 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 4 Nov 2003 13:01:17 -0000 Subject: [AccessD] A97 Install Problem Message-ID: Hi Group A97 App installation using Setup Wizard deployment (to run runtime MS Access 97) Had a strange problem with a Windows 2000 pc. (works okay elsewhere) Just before the installation completes get the message.... Title Bar: acmesetup.exe 'Bad image' with the message content being: The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid windows image. Please check againt installation diskette. Application files seem to install ok and folder set up ok but cannot run app. After creating a shortcut (as the setup one did not install) I get the message... "There Is No License" for .... Anyone any ideas??? Many thanks in advance Richard From cfoust at infostatsystems.com Tue Nov 4 10:00:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 08:00:50 -0800 Subject: [AccessD] A97 Install Problem Message-ID: Take a look at this MSKB article http://support.microsoft.com/default.aspx?scid=kb;en-us;141373&Product=a cc and see if it helps. From the sounds of it, you may have a bad setup image. Charlotte Foust -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, November 04, 2003 5:01 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] A97 Install Problem Hi Group A97 App installation using Setup Wizard deployment (to run runtime MS Access 97) Had a strange problem with a Windows 2000 pc. (works okay elsewhere) Just before the installation completes get the message.... Title Bar: acmesetup.exe 'Bad image' with the message content being: The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid windows image. Please check againt installation diskette. Application files seem to install ok and folder set up ok but cannot run app. After creating a shortcut (as the setup one did not install) I get the message... "There Is No License" for .... Anyone any ideas??? Many thanks in advance Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 4 10:03:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 08:03:57 -0800 Subject: [AccessD] A2k - BE corruption??? Message-ID: If the client is using something older than Jet SP3, that may be the source of your problem. Get them updated to at least SP6. Otherwise, there are a bunch of gotchas that may "corrupt" your data. The versions of Office don't matter so much as long as A2k is running on both. Are both versions of A2k patched to the same SR level? Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Monday, November 03, 2003 4:22 PM To: AccessD List Subject: [AccessD] A2k - BE corruption??? Dear Mates: I would like to have your opinion on this matter. I developed an A2k database system with three identical FE's and one BE. It has data from jan2001 to now. Upon executing a simple select query I noticed that I could not retrieve any records from 2002. The same query executed on a BE backup copy from jul2003 returned all due records. Is this a BE corruption??? I tried "Compact and repair...", JetComp and import all tables to a new BE with no better results. Things that called my attention: 1- I use Jet 4.0 SP6 and my client uses something older than SP3; 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office 97. Thanks for any input, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Tue Nov 4 10:11:37 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 04 Nov 2003 08:11:37 -0800 Subject: [AccessD] A2k - BE corruption??? In-Reply-To: References: Message-ID: <3FA7CFB9.5090003@verizon.net> I would try and update his copy of Jet to SP6 to see if your results change. Carlos Alberto Alves wrote: > Dear Mates: > I would like to have your opinion on this matter. I developed an A2k > database system with three identical FE's and one BE. It has data from > jan2001 to now. Upon executing a simple select query I noticed that I > could not retrieve any records from 2002. The same query executed on a > BE backup copy from jul2003 returned all due records. > Is this a BE corruption??? I tried ???Compact and repair...???, > JetComp and import all tables to a new BE with no better results. > Things that called my attention: > 1- I use Jet 4.0 SP6 and my client uses something older than SP3; > 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office > 97. > Thanks for any input, -- -Francisco From cfoust at infostatsystems.com Tue Nov 4 10:10:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 08:10:03 -0800 Subject: [AccessD] A97 Install Problem Message-ID: Ooops. Watch out for the wrap! Charlotte Foust -----Original Message----- From: Charlotte Foust Sent: Tuesday, November 04, 2003 8:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A97 Install Problem Take a look at this MSKB article http://support.microsoft.com/default.aspx?scid=kb;en-us;141373&Product=a cc and see if it helps. From the sounds of it, you may have a bad setup image. Charlotte Foust -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, November 04, 2003 5:01 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] A97 Install Problem Hi Group A97 App installation using Setup Wizard deployment (to run runtime MS Access 97) Had a strange problem with a Windows 2000 pc. (works okay elsewhere) Just before the installation completes get the message.... Title Bar: acmesetup.exe 'Bad image' with the message content being: The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid windows image. Please check againt installation diskette. Application files seem to install ok and folder set up ok but cannot run app. After creating a shortcut (as the setup one did not install) I get the message... "There Is No License" for .... Anyone any ideas??? Many thanks in advance 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 DWUTKA at marlow.com Tue Nov 4 10:16:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 4 Nov 2003 10:16:00 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274A0@main2.marlow.com> Oh, I keep the door open, and there's a nice big hole in the wall, so there's plenty of airflow. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, November 03, 2003 4:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Noisy computer On 3 Nov 2003 at 11:40, Drew Wutka wrote: > To tie this into an Access related (actually AccessD related) post, in my > old place (one before the fire), I had my servers near the foot of my > bed...and those things were NOISY. Of course, one of the fans was going > out, so that didn't help! But now that they're in the closet, I can > soundly sleep at night, and still host the archives! (Come on, give > me points for trying to tie that in!) > Until the archives get lost because the servers overheat and melt down without adequate airflow? :-) -- 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 R.Griffiths at bury.gov.uk Tue Nov 4 10:16:01 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 4 Nov 2003 16:16:01 -0000 Subject: [AccessD] A97 Install Problem Message-ID: Many thanks. I'll give it a try > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: 04 November 2003 16:10 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A97 Install Problem > > Ooops. Watch out for the wrap! > > Charlotte Foust > > -----Original Message----- > From: Charlotte Foust > Sent: Tuesday, November 04, 2003 8:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A97 Install Problem > > > Take a look at this MSKB article > http://support.microsoft.com/default.aspx?scid=kb;en-us;141373&Product=a > cc and see if it helps. From the sounds of it, you may have a bad setup > image. > > Charlotte Foust > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Tuesday, November 04, 2003 5:01 AM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] A97 Install Problem > > > Hi Group > > A97 App installation using Setup Wizard deployment (to run runtime MS > Access > 97) > > Had a strange problem with a Windows 2000 pc. (works okay elsewhere) > > Just before the installation completes get the message.... > > Title Bar: acmesetup.exe 'Bad image' > > with the message content being: > > The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid > windows image. Please check againt installation diskette. > > > Application files seem to install ok and folder set up ok but cannot run > app. After creating a shortcut (as the setup one did not install) I get > the message... > > "There Is No License" for .... > Anyone any ideas??? > Many thanks in advance > 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 From DWUTKA at marlow.com Tue Nov 4 10:18:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 4 Nov 2003 10:18:33 -0600 Subject: [AccessD] Summarizing like data - suggestions? Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274A1@main2.marlow.com> Group By Emplid, Name, Rate, and Title. Sum both Hours fields. Drew -----Original Message----- From: Brown, Bryan [mailto:Bryan.Brown at acsalaska.com] Sent: Monday, November 03, 2003 6:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Summarizing like data - suggestions? Hi everyone, I listen a lot and offer help when I'm able (which, as a relative newcomer when compared to many of you, is not often) and now I could use some help. I have two tables of like data (or it could be one table with multiple rows of similar records) and I need to combine the records when appropriate into one table... It seems simple enough, but it eludes me. I have about 3000 records to compare and summarize. If all data elements, except hours, are the same then, I add the hours, else I have to have separate entries. Any suggestions would be appreciated - Thanks! Example of Multiple rows in one table: Sample Data Before Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;40 ;22 100002;Bob ; 9.00;Waiter ;60 ;10 Desired Result Data after Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;100 ;32 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. ACS3/11/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Nov 4 10:51:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 4 Nov 2003 11:51:43 -0500 Subject: [AccessD] OT: Noisy computer References: <2F8793082E00D4119A1700B0D0216BF8022274A0@main2.marlow.com> Message-ID: <002c01c3a2f3$ed25b590$6001a8c0@dejpolsys> "there's a nice big hole in the wall" Drew ...the results of your beating your head against it no doubt :)))) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 11:16 AM Subject: RE: [AccessD] OT: Noisy computer > Oh, I keep the door open, and there's a nice big hole in the wall, so > there's plenty of airflow. > > Drew > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Monday, November 03, 2003 4:19 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Noisy computer > > > On 3 Nov 2003 at 11:40, Drew Wutka wrote: > > > To tie this into an Access related (actually AccessD related) post, in my > > old place (one before the fire), I had my servers near the foot of my > > bed...and those things were NOISY. Of course, one of the fans was going > > out, so that didn't help! But now that they're in the closet, I can > > soundly sleep at night, and still host the archives! (Come on, give > > me points for trying to tie that in!) > > > > Until the archives get lost because the servers overheat and melt > down without adequate airflow? :-) > > > > > > > -- > 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 DWUTKA at marlow.com Tue Nov 4 11:05:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 4 Nov 2003 11:05:21 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274A7@main2.marlow.com> No, the results of not having an outlet in there. Needed to run a lot of cords, and just didn't feel like snaking em. So I put a hole in the way about 6" in diameter. Might be smaller then that, but with the door cracked, it's plenty of air flow! And still not very noisy. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 04, 2003 10:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Noisy computer "there's a nice big hole in the wall" Drew ...the results of your beating your head against it no doubt :)))) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 11:16 AM Subject: RE: [AccessD] OT: Noisy computer > Oh, I keep the door open, and there's a nice big hole in the wall, so > there's plenty of airflow. > > Drew > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Monday, November 03, 2003 4:19 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Noisy computer > > > On 3 Nov 2003 at 11:40, Drew Wutka wrote: > > > To tie this into an Access related (actually AccessD related) post, in my > > old place (one before the fire), I had my servers near the foot of my > > bed...and those things were NOISY. Of course, one of the fans was going > > out, so that didn't help! But now that they're in the closet, I can > > soundly sleep at night, and still host the archives! (Come on, give > > me points for trying to tie that in!) > > > > Until the archives get lost because the servers overheat and melt > down without adequate airflow? :-) > > > > > > > -- > 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 jcolby at colbyconsulting.com Tue Nov 4 11:37:24 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 4 Nov 2003 12:37:24 -0500 Subject: [AccessD] data not entered error not triggering Message-ID: I have a wierd thing occurring. I have a form where the user enters data. If they don't select a combo (put a FK in a field) and try to close the form by clicking the x in the upper right corner, an error is triggered. If they click my close button, the form closes but the JET data error never triggers. My close button just does a docmd.close. has anyone ever seen this? John W. Colby www.colbyconsulting.com From ssharkins at bellsouth.net Tue Nov 4 14:03:36 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Nov 2003 15:03:36 -0500 Subject: [AccessD] OFF TOPIC Message-ID: <007c01c3a30e$bbd6ec00$220110ac@SUSANONE> Does anyone remember a download utility that you could use to alter the Database window Objects toolbar in the Database window. I vaguely remember that they referred to it as the Places toolbar -- might be wrong about that, I just can't remember now. I've been trying to find the utility at MS but can't so I don't know if this is just another one of my "lost touch with reality" memories or if I'm just keying in the wrong search criteria. I've searched on Objects and Places bar and toolbar, and even Access utilities and add-in. :( Susan H. From cfoust at infostatsystems.com Tue Nov 4 14:16:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 12:16:33 -0800 Subject: [AccessD] OFF TOPIC Message-ID: How are you trying to alter it? You can change the items on it and change their order by using the Customize option from the menubar/toolbar. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, November 04, 2003 12:04 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OFF TOPIC Does anyone remember a download utility that you could use to alter the Database window Objects toolbar in the Database window. I vaguely remember that they referred to it as the Places toolbar -- might be wrong about that, I just can't remember now. I've been trying to find the utility at MS but can't so I don't know if this is just another one of my "lost touch with reality" memories or if I'm just keying in the wrong search criteria. I've searched on Objects and Places bar and toolbar, and even Access utilities and add-in. :( Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Tue Nov 4 14:22:44 2003 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 4 Nov 2003 22:22:44 +0200 Subject: [AccessD] MSACCESS 2003 can't find the wizards... References: <2F8793082E00D4119A1700B0D0216BF8022273EC@main2.marlow.com> Message-ID: <002001c3a311$6cea93f0$0100a8c0@kost36> HI group I used an Office XP version worked fine I have just installed a trial version of OFFICE 2003. While working I discovered that none of the access wizards works The message I get, even when I try to run he ADD-IN manager is Can't find the Wizard, or the wizard has not been installed or there is a syntax error in the Declarations sections of a Visual Basic Module. The wizard you need may be missing from thw Libraries key of the ... section of the Windows Registry bla bla bla... I have installed office two times but the problem remains the same Could anybody know how to fix that? Thank's all Kostas Konstantinidis From Oleg_123 at xuppa.com Tue Nov 4 14:28:37 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 4 Nov 2003 15:28:37 -0500 (EST) Subject: [AccessD] CopyObject macro In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> Message-ID: <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> Hey Group Is there a way to,(using a CopyObjectMacro) to copy a table, an save under the same name + today's date ? ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From ssharkins at bellsouth.net Tue Nov 4 14:44:47 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Nov 2003 15:44:47 -0500 Subject: [AccessD] OFF TOPIC References: Message-ID: <00f001c3a314$80d54600$220110ac@SUSANONE> It's possible Charlotte, that the utility has been replaced with the built-in features. I can't remember enough about it to say for sure and was hoping someone else would remember it and put me out of my misery. :) Susan H. > How are you trying to alter it? You can change the items on it and > change their order by using the Customize option from the > menubar/toolbar. From jimdettman at earthlink.net Tue Nov 4 14:53:07 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 4 Nov 2003 15:53:07 -0500 Subject: [AccessD] OFF TOPIC In-Reply-To: <007c01c3a30e$bbd6ec00$220110ac@SUSANONE> Message-ID: Susan, I haven't seen or heard of anything like that. Sorry. 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: Tuesday, November 04, 2003 3:04 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OFF TOPIC Does anyone remember a download utility that you could use to alter the Database window Objects toolbar in the Database window. I vaguely remember that they referred to it as the Places toolbar -- might be wrong about that, I just can't remember now. I've been trying to find the utility at MS but can't so I don't know if this is just another one of my "lost touch with reality" memories or if I'm just keying in the wrong search criteria. I've searched on Objects and Places bar and toolbar, and even Access utilities and add-in. :( Susan H. _______________________________________________ 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 Nov 4 15:42:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 05 Nov 2003 07:42:55 +1000 Subject: [AccessD] CopyObject macro In-Reply-To: <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> Message-ID: <3FA8A9FF.8242.2D48C3@localhost> On 4 Nov 2003 at 15:28, Oleg_123 at xuppa.com wrote: > Hey Group > > Is there a way to,(using a CopyObjectMacro) to copy a table, an save under > the same name + today's date ? > > CopyObject macro can't take a function as an argument, it needs a simple string, so without finding the entry in msysAccessObjects and hacking it, there is no way that I can think of. Why do you need to use a CopyObject macro. How about a function: Function CopyTable(TableName as String) DoCmd.CopyObject , TableName & Format$(Date, "yymmdd"), acTable, TableName End Function If you *really* need a macro , create one which calls the function using Runcode. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Tue Nov 4 15:54:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 4 Nov 2003 13:54:38 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: <020b01c3a31e$3e94a060$6501a8c0@HAL9002> Dear List: I have a database from a client which seems pretty well hosed (A2K). When you start it you get the message "Database (database name) needs to be repaired or isn;t a database". I say go ahead and let Access try to repair it but it ends in an abnormal termination of access. I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an import into a fresh database either. I'm out of tricks. Are there any other approaches? TIA, Rocky Smolin Beach Access Software From jeffrey.demulling at usbank.com Tue Nov 4 15:59:37 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 4 Nov 2003 15:59:37 -0600 Subject: [AccessD] Help with Query - Should be simple but my brian is fried Message-ID: First off forgive me for asking about this as I should remember how to do this but it has been a long day today. I have a table with the following fields (Field Type in Paras): TransactionNumber (Autonumber) FundNumber (LongInteger) TransactionDate (Date) TransactionAmount (Double) TransactionComments (Text:255) What I need to do is have an output similar to the following: TransacationDate Transaction Amount Running Total for Fund This is sorted by Transaction Date Thanks for your help. From Oleg_123 at xuppa.com Tue Nov 4 16:01:37 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 4 Nov 2003 17:01:37 -0500 (EST) Subject: [AccessD] CopyObject macro In-Reply-To: <3FA8A9FF.8242.2D48C3@localhost> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <3FA8A9FF.8242.2D48C3@localhost> Message-ID: <29737.12.3.132.98.1067983297.squirrel@heck.bay9.com> Thanks a lot Stuart, I did put it as RunCode in Macro and called the function (this had to be a part of one large macro) :--) > On 4 Nov 2003 at 15:28, Oleg_123 at xuppa.com wrote: > >> Hey Group >> >> Is there a way to,(using a CopyObjectMacro) to copy a table, an save >> under the same name + today's date ? >> >> > > CopyObject macro can't take a function as an argument, it needs a > simple string, so without finding the entry in msysAccessObjects and > hacking it, there is no way that I can think of. > > Why do you need to use a CopyObject macro. How about a function: > > Function CopyTable(TableName as String) > DoCmd.CopyObject , TableName & Format$(Date, "yymmdd"), acTable, > TableName > End Function > > If you *really* need a macro , create one which calls the function > using Runcode. > > > -- > 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 ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From garykjos at hotmail.com Tue Nov 4 16:21:23 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 04 Nov 2003 16:21:23 -0600 Subject: [AccessD] OT: Corrupted database Message-ID: If you have a known good copy of it you can try to open that in a editor, copy and paste the beginning of that file on top of the hosed one (a copy of the hosed one actually) save the tweaked file and see if you can open it then to try and copy out what you can. Sometimes the header at the beginning of the file get's trashed. Never done it, only heard about it. Proceed at your own risk. Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] OT: Corrupted database >Date: Tue, 4 Nov 2003 13:54:38 -0800 > >Dear List: > >I have a database from a client which seems pretty well hosed (A2K). When >you start it you get the message "Database (database name) needs to be >repaired or isn;t a database". I say go ahead and let Access try to repair >it but it ends in an abnormal termination of access. > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an >import into a fresh database either. > >I'm out of tricks. Are there any other approaches? > >TIA, > >Rocky Smolin >Beach Access Software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare high-speed Internet plans, starting at $26.95. https://broadband.msn.com (Prices may vary by service area.) From bchacc at san.rr.com Tue Nov 4 16:33:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 4 Nov 2003 14:33:29 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <02ce01c3a323$ab8e04e0$6501a8c0@HAL9002> Gary: I'm looking at then and they do look different. How do I know where the header ends, or how much to copy and paste? Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Tuesday, November 04, 2003 2:21 PM Subject: Re: [AccessD] OT: Corrupted database > If you have a known good copy of it you can try to open that in a editor, > copy and paste the beginning of that file on top of the hosed one (a copy of > the hosed one actually) save the tweaked file and see if you can open it > then to try and copy out what you can. Sometimes the header at the beginning > of the file get's trashed. Never done it, only heard about it. Proceed at > your own risk. > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] OT: Corrupted database > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > >Dear List: > > > >I have a database from a client which seems pretty well hosed (A2K). When > >you start it you get the message "Database (database name) needs to be > >repaired or isn;t a database". I say go ahead and let Access try to repair > >it but it ends in an abnormal termination of access. > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > >import into a fresh database either. > > > >I'm out of tricks. Are there any other approaches? > > > >TIA, > > > >Rocky Smolin > >Beach Access Software > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Compare high-speed Internet plans, starting at $26.95. > https://broadband.msn.com (Prices may vary by service area.) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Tue Nov 4 16:54:59 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 4 Nov 2003 17:54:59 -0500 Subject: [AccessD] Help with Query - Should be simple but my brian is fried References: Message-ID: <023001c3a326$acc481b0$6001a8c0@dejpolsys> ..I'm confused ...you want it sorted by transaction date but you want a running total by fund ...but the FundNumber isn't an output field you can group on? William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: Sent: Tuesday, November 04, 2003 4:59 PM Subject: [AccessD] Help with Query - Should be simple but my brian is fried > > First off forgive me for asking about this as I should remember how to do > this but it has been a long day today. > > > > > > I have a table with the following fields (Field Type in Paras): > > > TransactionNumber (Autonumber) > > > FundNumber (LongInteger) > > > TransactionDate (Date) > > > TransactionAmount (Double) > > > TransactionComments (Text:255) > > > What I need to do is have an output similar to the following: > > > > > > TransacationDate > > > Transaction Amount > > > Running Total for Fund > > > This is sorted by Transaction Date > > > > > > Thanks for your help. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lists at jbsolutions.com.au Tue Nov 4 17:00:59 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 5 Nov 2003 9:0:59 +1000 Subject: [AccessD] OFF TOPIC Message-ID: <200311042300.hA4N0v602236@databaseadvisors.com> Hello Susan Harkins, The "Places Bar" is not actually the objects toolbar. It is the bar down the side of the Open/Save Dialog in O2K and greater. It can be tweaked using registry tricks, and there is also quite a few programs that will do the job for you. Have a look here... http://www.primeconsulting.com/faqs/faq0301-05.html As far as the Object Bar is concerned, as Charlotte said, it is fairly customisable in it's own right. HTH ======= At 2003-11-04, 15:03:00 you wrote: ======= >Does anyone remember a download utility that you could use to alter the >Database window Objects toolbar in the Database window. I vaguely remember >that they referred to it as the Places toolbar -- might be wrong about that, >I just can't remember now. > >I've been trying to find the utility at MS but can't so I don't know if this >is just another one of my "lost touch with reality" memories or if I'm just >keying in the wrong search criteria. I've searched on Objects and Places bar >and toolbar, and even Access utilities and add-in. :( > >Susan H. = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-11-05 From ssharkins at bellsouth.net Tue Nov 4 17:07:06 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Nov 2003 18:07:06 -0500 Subject: [AccessD] OFF TOPIC References: <200311042300.hA4N0v602236@databaseadvisors.com> Message-ID: <001901c3a328$fc96b3a0$220110ac@SUSANONE> Ok, I'm sorry -- I think you are correct -- I'm talking about the Outlook-style bar that was introduced several versions ago. I generally refer to the bar in the Database window as the Objects bar because just above it is the label "Objects" But you're right -- they're two different things and that has probably been the stumbling block to finding anything. Thank you. Susan H. > Hello Susan Harkins, > > The "Places Bar" is not actually the objects toolbar. It is the bar down the side of the Open/Save Dialog in O2K and greater. It can be tweaked using registry tricks, and there is also quite a few programs that will do the job for you. Have a look here... http://www.primeconsulting.com/faqs/faq0301-05.html > > As far as the Object Bar is concerned, as Charlotte said, it is fairly customisable in it's own right. > > HTH > > ======= At 2003-11-04, 15:03:00 you wrote: ======= > > >Does anyone remember a download utility that you could use to alter the > >Database window Objects toolbar in the Database window. I vaguely remember > >that they referred to it as the Places toolbar -- might be wrong about that, > >I just can't remember now. > > > >I've been trying to find the utility at MS but can't so I don't know if this > >is just another one of my "lost touch with reality" memories or if I'm just > >keying in the wrong search criteria. I've searched on Objects and Places bar > >and toolbar, and even Access utilities and add-in. :( > > > >Susan H. > > = = = = = = = = = = = = = = = = = = = = > > > Best regards. > Joshua B > lists at jbsolutions.com.au > www.jbsolutions.com.au > 2003-11-05 > > > > _______________________________________________ > 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 Nov 4 17:23:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 05 Nov 2003 09:23:55 +1000 Subject: [AccessD] Help with Query - Should be simple but my brian is fried In-Reply-To: <023001c3a326$acc481b0$6001a8c0@dejpolsys> Message-ID: <3FA8C1AB.13960.4472B@localhost> William, You can read between the lines and handle the "by fund", the problem is getting a running sum in a *query* rather than a report. Jeffrey, Do you really mean in a query, or will a report do it. On 4 Nov 2003 at 17:54, William Hindman wrote: > ..I'm confused ...you want it sorted by transaction date but you want a > running total by fund ...but the FundNumber isn't an output field you can > group on? > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: > To: > Sent: Tuesday, November 04, 2003 4:59 PM > Subject: [AccessD] Help with Query - Should be simple but my brian is fried > > > > > > First off forgive me for asking about this as I should remember how to do > > this but it has been a long day today. > > > > > > > > > > > > I have a table with the following fields (Field Type in Paras): > > > > > > TransactionNumber (Autonumber) > > > > > > FundNumber (LongInteger) > > > > > > TransactionDate (Date) > > > > > > TransactionAmount (Double) > > > > > > TransactionComments (Text:255) > > > > > > What I need to do is have an output similar to the following: > > > > > > > > > > > > TransacationDate > > > > > > Transaction Amount > > > > > > Running Total for Fund > > > > > > This is sorted by Transaction Date > > > > > > > > > > > > Thanks for your help. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 martyconnelly at shaw.ca Tue Nov 4 18:01:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 04 Nov 2003 16:01:18 -0800 Subject: [AccessD] A2k - BE corruption??? References: <3FA7CFB9.5090003@verizon.net> Message-ID: <3FA83DCE.2010108@shaw.ca> You must first update to Jet SP3 then update to higher level SP's at least there used to be warnings about this. The highest SP so far is SP7 for Win9x and WinNT; SP8 for WinXP 2000 and 2003. SP8 fixes some Oracle interface problems. SP7 and 8 are inclusive of patches from SP 4 through 7 Jet SP7 http://support.microsoft.com/default.aspx?scid=kb;EN-US;282010 Jet 3.5 SP3 http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en Francisco H Tapia wrote: > I would try and update his copy of Jet to SP6 to see if your results > change. > > Carlos Alberto Alves wrote: > >> Dear Mates: >> I would like to have your opinion on this matter. I developed an A2k >> database system with three identical FE's and one BE. It has data >> from jan2001 to now. Upon executing a simple select query I noticed >> that I could not retrieve any records from 2002. The same query >> executed on a BE backup copy from jul2003 returned all due records. >> Is this a BE corruption??? I tried ???Compact and repair...???, >> JetComp and import all tables to a new BE with no better results. >> Things that called my attention: >> 1- I use Jet 4.0 SP6 and my client uses something older than SP3; >> 2- I use Access 2000/Office 2000 and my client uses Access >> 2000/Office 97. >> Thanks for any input, > > > > -- Marty Connelly Victoria, B.C. Canada From demulling at centurytel.net Tue Nov 4 20:13:21 2003 From: demulling at centurytel.net (Demulling Family) Date: Tue, 04 Nov 2003 20:13:21 -0600 Subject: [AccessD] Help with Query - Should be simple but my brian is fried In-Reply-To: <3FA8C1AB.13960.4472B@localhost> References: <3FA8C1AB.13960.4472B@localhost> Message-ID: <3FA85CC1.3070000@centurytel.net> Like I said it has been a long day. I am only pulling one fund. There can be many funds in the table that the query is being based on. I would like to do the running sum in the query. But to start off with I need it done in a form and then later on in a report. Stuart McLachlan wrote: >William, >You can read between the lines and handle the "by fund", the problem >is getting a running sum in a *query* rather than a report. > >Jeffrey, >Do you really mean in a query, or will a report do it. > > > >On 4 Nov 2003 at 17:54, William Hindman wrote: > > > >>..I'm confused ...you want it sorted by transaction date but you want a >>running total by fund ...but the FundNumber isn't an output field you can >>group on? >> >>William Hindman >>Government is not reason, government is not persuasion, >>government is force. It is a dangerous servant." G. Washington >> >>----- Original Message ----- >>From: >>To: >>Sent: Tuesday, November 04, 2003 4:59 PM >>Subject: [AccessD] Help with Query - Should be simple but my brian is fried >> >> >> >> >>>First off forgive me for asking about this as I should remember how to do >>>this but it has been a long day today. >>> >>> >>> >>> >>> >>> I have a table with the following fields (Field Type in Paras): >>> >>> >>> TransactionNumber (Autonumber) >>> >>> >>> FundNumber (LongInteger) >>> >>> >>> TransactionDate (Date) >>> >>> >>> TransactionAmount (Double) >>> >>> >>> TransactionComments (Text:255) >>> >>> >>> What I need to do is have an output similar to the following: >>> >>> >>> >>> >>> >>> TransacationDate >>> >>> >>> Transaction Amount >>> >>> >>> Running Total for Fund >>> >>> >>> This is sorted by Transaction Date >>> >>> >>> >>> >>> >>> Thanks for your help. >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>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 Tue Nov 4 22:07:26 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 5 Nov 2003 15:07:26 +1100 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Message-ID: <002501c3a352$52cf02d0$3c619a89@DDICK> Hello all Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when I run the code below?? The code is almast exact of something else that is running quite well on the same form. Many thanks Darren >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Dim db As Database Dim rs As Recordset Dim strSQL As String Dim x As Long Set db = CurrentDb() strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) With rs 'If Not .EOF Then x = rs.RecordCount MsgBox x 'End If .Close End With Set rs = Nothing db.Close Set db = Nothing From andrew.haslett at ilc.gov.au Tue Nov 4 22:57:23 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Wed, 5 Nov 2003 15:27:23 +1030 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Message-ID: 1) You should try to dim your variables with its library, especially in regard to databases and recordsets. 2) You need to escape your variables from within your SQL string. 3) If all you want is a count of records, there's no need to retrieve an entire recordset. Use DCOUNT function or SELECT COUNT. 4) You can use ME instead of the full form name, if you are running this code from an event of the same form, So to fix the intital problem: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Dim db DAO.As Database Dim rs As DAO.Recordset Dim strSQL As String Dim x As Long Set db = CurrentDb() strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID _ FROM tblAssesmentResults _ WHERE tblAssesmentResults.ResultID = " & [Forms]![frmAssesments]![txtResultID])) & ";" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) With rs 'If Not .EOF Then x = rs.RecordCount MsgBox x 'End If .Close End With Set rs = Nothing db.Close Set db = Nothing >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> A better method: ********************************************************* Dim x as long x = DCOUNT("*","tblAssesmentResults","ResultID = " & me.txtResultID) msgbox x ********************************************************* Cheers, Andrew PS. You spelt Assessment wrong ;=) -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, 5 November 2003 2:37 PM To: AccessD List Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Hello all Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when I run the code below?? The code is almast exact of something else that is running quite well on the same form. Many thanks Darren >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Dim db As Database Dim rs As Recordset Dim strSQL As String Dim x As Long Set db = CurrentDb() strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) With rs 'If Not .EOF Then x = rs.RecordCount MsgBox x 'End If .Close End With Set rs = Nothing db.Close Set db = Nothing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From bchacc at san.rr.com Tue Nov 4 23:08:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 4 Nov 2003 21:08:18 -0800 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 References: <002501c3a352$52cf02d0$3c619a89@DDICK> Message-ID: <048001c3a35a$d3cfc920$6501a8c0@HAL9002> Darren: Can't see why offhand but I would put MsgBox "*" & [Forms]![frmAssesments]![txtResultID] & "*" right before the Set rs statement to see if there's a valid value for the ID coming from the form. Or put MsgBox strSQL right before the Set rs statement to see the whole thing. Sometimes it shows up a little syntax error that I just can't see looking at the code. Also do you think you might have to surround the [Forms]![frmAssesments]![txtResultID] with Val(), like Val([Forms]![frmAssesments]![txtResultID]))? Just a guess. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Tuesday, November 04, 2003 8:07 PM Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 > Hello all > Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when > I run the code below?? The code is almast exact of something else that is running quite well on the same form. > > Many thanks > > Darren > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db As Database > Dim rs As Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE > (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Nov 4 23:31:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 04 Nov 2003 21:31:16 -0800 Subject: [AccessD] data not entered error not triggering In-Reply-To: Message-ID: Hi John: Not that specific error but I am having one today that when I close a popup form, it closes both the popup and the caller form and there we are back to the main menu. Time for a project rebuild. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, November 04, 2003 9:37 AM To: AccessD Subject: [AccessD] data not entered error not triggering I have a wierd thing occurring. I have a form where the user enters data. If they don't select a combo (put a FK in a field) and try to close the form by clicking the x in the upper right corner, an error is triggered. If they click my close button, the form closes but the JET data error never triggers. My close button just does a docmd.close. has anyone ever seen this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Nov 5 00:12:36 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 5 Nov 2003 17:12:36 +1100 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 References: Message-ID: <004e01c3a363$ceddad70$3c619a89@DDICK> Thanks to all who responded I went with the DCOUNT method Thanks Andrew and Yes I have spelt assessment wrong. - thanks Have a great day Darren ----- Original Message ----- From: "Haslett, Andrew" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 05, 2003 3:57 PM Subject: RE: [AccessD] A2K: Too Few Paramaters. Expected 1 > 1) You should try to dim your variables with its library, especially in > regard to databases and recordsets. > 2) You need to escape your variables from within your SQL string. > 3) If all you want is a count of records, there's no need to retrieve an > entire recordset. Use DCOUNT function or SELECT COUNT. > 4) You can use ME instead of the full form name, if you are running this > code from an event of the same form, > > So to fix the intital problem: > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db DAO.As Database > Dim rs As DAO.Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, > tblAssesmentResults.ResultID _ > FROM tblAssesmentResults _ > WHERE tblAssesmentResults.ResultID = " & > [Forms]![frmAssesments]![txtResultID])) & ";" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > A better method: > > ********************************************************* > Dim x as long > x = DCOUNT("*","tblAssesmentResults","ResultID = " & me.txtResultID) > msgbox x > ********************************************************* > > Cheers, > Andrew > > PS. You spelt Assessment wrong ;=) > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, 5 November 2003 2:37 PM > To: AccessD List > Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 > > > Hello all > Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah > blah error message when > I run the code below?? The code is almast exact of something else that is > running quite well on the same form. > > Many thanks > > Darren > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db As Database > Dim rs As Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, > tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE > (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Nov 5 08:17:09 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 5 Nov 2003 08:17:09 -0600 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE0D7@TAPPEEXCH01> The query engine doesn't know what [Forms]![frmAssesments]![txtResultID] means. You can either do: Dim prm As Parameter For Each prm in rs.Parameters prm.Value = Eval(prm.Name) Next prm Or... (preferred method) Just concatenate the control's value into the SQL string so it doesn't need to be parsed: strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE (((tblAssesmentResults.ResultID)=" & Forms!frmAssesments!txtResultID & "));" Either way should give you the results you want. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, November 04, 2003 11:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Too Few Paramaters. Expected 1 Darren: Can't see why offhand but I would put MsgBox "*" & [Forms]![frmAssesments]![txtResultID] & "*" right before the Set rs statement to see if there's a valid value for the ID coming from the form. Or put MsgBox strSQL right before the Set rs statement to see the whole thing. Sometimes it shows up a little syntax error that I just can't see looking at the code. Also do you think you might have to surround the [Forms]![frmAssesments]![txtResultID] with Val(), like Val([Forms]![frmAssesments]![txtResultID]))? Just a guess. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Tuesday, November 04, 2003 8:07 PM Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 > Hello all > Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when > I run the code below?? The code is almast exact of something else that is running quite well on the same form. > > Many thanks > > Darren > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db As Database > Dim rs As Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE > (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From garykjos at hotmail.com Wed Nov 5 09:03:52 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 05 Nov 2003 09:03:52 -0600 Subject: [AccessD] OT: Corrupted database Message-ID: I think it will need to be somewhat of an educated guess/trial and error. If you can find some info on the file structure of an MDB file that would help....here's one such website with info on that. Unfortunately it doesn't indicate which version of Access it applies too. http://www.xiph.org/positron/doc/mdb.html Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Corrupted database >Date: Tue, 4 Nov 2003 14:33:29 -0800 > >Gary: > >I'm looking at then and they do look different. How do I know where the >header ends, or how much to copy and paste? > >Rocky > >----- Original Message ----- >From: "Gary Kjos" >To: >Sent: Tuesday, November 04, 2003 2:21 PM >Subject: Re: [AccessD] OT: Corrupted database > > > > If you have a known good copy of it you can try to open that in a >editor, > > copy and paste the beginning of that file on top of the hosed one (a >copy >of > > the hosed one actually) save the tweaked file and see if you can open it > > then to try and copy out what you can. Sometimes the header at the >beginning > > of the file get's trashed. Never done it, only heard about it. Proceed >at > > your own risk. > > > > Gary Kjos > > garykjos at hotmail.com > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: > > >Subject: [AccessD] OT: Corrupted database > > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > > > >Dear List: > > > > > >I have a database from a client which seems pretty well hosed (A2K). >When > > >you start it you get the message "Database (database name) needs to be > > >repaired or isn;t a database". I say go ahead and let Access try to >repair > > >it but it ends in an abnormal termination of access. > > > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > > >import into a fresh database either. > > > > > >I'm out of tricks. Are there any other approaches? > > > > > >TIA, > > > > > >Rocky Smolin > > >Beach Access Software > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Compare high-speed Internet plans, starting at $26.95. > > https://broadband.msn.com (Prices may vary by service area.) > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.) From Oleg_123 at xuppa.com Wed Nov 5 09:05:52 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 5 Nov 2003 10:05:52 -0500 (EST) Subject: [AccessD] sending an email via vba In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE0D7@TAPPEEXCH01> References: <426071E0B0A6D311B3C0006008B0AB23AFE0D7@TAPPEEXCH01> Message-ID: <33417.12.3.132.98.1068044752.squirrel@heck.bay9.com> Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Mark.Mitsules at ngc.com Wed Nov 5 09:15:33 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 5 Nov 2003 10:15:33 -0500 Subject: [AccessD] sending an email via vba Message-ID: Will Shell work in your situation? Mark -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Wednesday, November 05, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Nov 5 09:23:06 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 5 Nov 2003 10:23:06 -0500 Subject: [AccessD] sending an email via vba Message-ID: How about this? http://www.mvps.org/access/modules/mdl0019.htm Mark -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, November 05, 2003 10:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] sending an email via vba Will Shell work in your situation? Mark -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Wednesday, November 05, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Wed Nov 5 09:32:58 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 5 Nov 2003 16:32:58 +0100 Subject: AW: [AccessD] sending an email via vba Message-ID: are you using outlook? -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Oleg_123 at xuppa.com Gesendet: Mittwoch, 5. November 2003 16:06 An: accessd at databaseadvisors.com Betreff: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ 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 Nov 5 09:36:01 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 5 Nov 2003 09:36:01 -0600 Subject: [AccessD] sending an email via vba Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A0330604A@cpixchng-1.cpiqpc.net> Oleg, it should work just as you have it. Since you specify acSendNoObject, the e-mail gets sent with just the Subject and message you enter and doesn't attach a file. -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Wednesday, November 05, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 5 09:41:21 2003 From: john at winhaven.net (John Bartow) Date: Wed, 5 Nov 2003 09:41:21 -0600 Subject: [AccessD] sending an email via vba In-Reply-To: <33417.12.3.132.98.1068044752.squirrel@heck.bay9.com> Message-ID: Oleg: It would appear from your code that you are not sending an object (acSendNoObject) which is the default for the SendObject method. However EditMessage is boolean so IIRC it should read EditMessage:=False HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: Wednesday, November 05, 2003 9:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] sending an email via vba > > > Hi Group, I only know how to do this, when there is an object to be sent, > how to do this when there is no object ? > > > Function SendEmail() > > DoCmd.SendObject acSendNoObject, _ > To:="Oleg_123 at xuppa.com, _ > Subject:="Database UpDates", _ > MessageText:="There hasn't been any changes since last time", _ > EditMessage:="No" > > End Function > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Nov 5 09:54:59 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 07:54:59 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <006401c3a3b5$2aaf1070$6501a8c0@HAL9002> I think he's SOL. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Wednesday, November 05, 2003 7:03 AM Subject: Re: [AccessD] OT: Corrupted database > I think it will need to be somewhat of an educated guess/trial and error. > If you can find some info on the file structure of an MDB file that would > help....here's one such website with info on that. Unfortunately it doesn't > indicate which version of Access it applies too. > > http://www.xiph.org/positron/doc/mdb.html > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] OT: Corrupted database > >Date: Tue, 4 Nov 2003 14:33:29 -0800 > > > >Gary: > > > >I'm looking at then and they do look different. How do I know where the > >header ends, or how much to copy and paste? > > > >Rocky > > > >----- Original Message ----- > >From: "Gary Kjos" > >To: > >Sent: Tuesday, November 04, 2003 2:21 PM > >Subject: Re: [AccessD] OT: Corrupted database > > > > > > > If you have a known good copy of it you can try to open that in a > >editor, > > > copy and paste the beginning of that file on top of the hosed one (a > >copy > >of > > > the hosed one actually) save the tweaked file and see if you can open it > > > then to try and copy out what you can. Sometimes the header at the > >beginning > > > of the file get's trashed. Never done it, only heard about it. Proceed > >at > > > your own risk. > > > > > > Gary Kjos > > > garykjos at hotmail.com > > > > > > > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: > > > >Subject: [AccessD] OT: Corrupted database > > > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > > > > > >Dear List: > > > > > > > >I have a database from a client which seems pretty well hosed (A2K). > >When > > > >you start it you get the message "Database (database name) needs to be > > > >repaired or isn;t a database". I say go ahead and let Access try to > >repair > > > >it but it ends in an abnormal termination of access. > > > > > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > > > >import into a fresh database either. > > > > > > > >I'm out of tricks. Are there any other approaches? > > > > > > > >TIA, > > > > > > > >Rocky Smolin > > > >Beach Access Software > > > >_______________________________________________ > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > Compare high-speed Internet plans, starting at $26.95. > > > https://broadband.msn.com (Prices may vary by service area.) > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Frustrated with dial-up? Get high-speed for as low as $26.95. > https://broadband.msn.com (Prices may vary by service area.) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From weeden1949 at hotmail.com Wed Nov 5 10:05:58 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Wed, 5 Nov 2003 10:05:58 -0600 Subject: [AccessD] OT: Corrupted database References: <020b01c3a31e$3e94a060$6501a8c0@HAL9002> Message-ID: Rocky: What kind of error do you get when you try to 'repair' the db? The following MS article told me the unfortunate news when I was getting this type of error on a customer's db. They had to restore from a backup copy I had (their tape backup wasn't working...go figure) and reenter all the data since I'd made my copy. Look at: KB158933 ACC: Error Message: Isn't an Index in This Table If you're getting THAT one, you're hosed. Greg Smith ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Tuesday, November 04, 2003 3:54 PM Subject: [AccessD] OT: Corrupted database Dear List: I have a database from a client which seems pretty well hosed (A2K). When you start it you get the message "Database (database name) needs to be repaired or isn;t a database". I say go ahead and let Access try to repair it but it ends in an abnormal termination of access. I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an import into a fresh database either. I'm out of tricks. Are there any other approaches? TIA, Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Nov 5 10:13:44 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 08:13:44 -0800 Subject: [AccessD] OT: Corrupted database References: <020b01c3a31e$3e94a060$6501a8c0@HAL9002> Message-ID: <009201c3a3b7$c907f370$6501a8c0@HAL9002> I don't get an error message. It just ponders for about a minute then Access terminates with no error message and I get to send a message to Microsoft if I want to (like dropping rocks into a deep pool). Rocky ----- Original Message ----- From: "Greg Smith" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:05 AM Subject: Re: [AccessD] OT: Corrupted database > Rocky: > > What kind of error do you get when you try to 'repair' the db? The > following MS article told me the unfortunate news when I was getting this > type of error on a customer's db. They had to restore from a backup copy I > had (their tape backup wasn't working...go figure) and reenter all the data > since I'd made my copy. > > Look at: KB158933 ACC: Error Message: Isn't an Index in > This Table > > If you're getting THAT one, you're hosed. > > Greg Smith > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Tuesday, November 04, 2003 3:54 PM > Subject: [AccessD] OT: Corrupted database > > > Dear List: > > I have a database from a client which seems pretty well hosed (A2K). When > you start it you get the message "Database (database name) needs to be > repaired or isn;t a database". I say go ahead and let Access try to repair > it but it ends in an abnormal termination of access. > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > import into a fresh database either. > > I'm out of tricks. Are there any other approaches? > > TIA, > > 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 HollisVJ at pgdp.usec.com Wed Nov 5 10:16:39 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 05 Nov 2003 10:16:39 -0600 Subject: [AccessD] sending an email via vba Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C844@cntexchange.pgdp.usec.com> What does it mean by not sending object? I am confused, what is the email sending? DoCmd.SendObject acSendNoObject, Virginia -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, November 05, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] sending an email via vba Oleg: It would appear from your code that you are not sending an object (acSendNoObject) which is the default for the SendObject method. However EditMessage is boolean so IIRC it should read EditMessage:=False HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: Wednesday, November 05, 2003 9:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] sending an email via vba > > > Hi Group, I only know how to do this, when there is an object to be sent, > how to do this when there is no object ? > > > Function SendEmail() > > DoCmd.SendObject acSendNoObject, _ > To:="Oleg_123 at xuppa.com, _ > Subject:="Database UpDates", _ > MessageText:="There hasn't been any changes since last time", _ > EditMessage:="No" > > End Function > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 5 10:22:40 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 08:22:40 -0800 Subject: [AccessD] data not entered error not triggering Message-ID: What error are you expecting? Is the FK a required field? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 04, 2003 9:37 AM To: AccessD Subject: [AccessD] data not entered error not triggering I have a wierd thing occurring. I have a form where the user enters data. If they don't select a combo (put a FK in a field) and try to close the form by clicking the x in the upper right corner, an error is triggered. If they click my close button, the form closes but the JET data error never triggers. My close button just does a docmd.close. has anyone ever seen this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Wed Nov 5 10:23:27 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 05 Nov 2003 10:23:27 -0600 Subject: [AccessD] OT: Corrupted database Message-ID: Yep, probably. There are outside service companies that might be able to help.... Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Corrupted database >Date: Wed, 5 Nov 2003 07:54:59 -0800 > >I think he's SOL. > >Rocky > >----- Original Message ----- >From: "Gary Kjos" >To: >Sent: Wednesday, November 05, 2003 7:03 AM >Subject: Re: [AccessD] OT: Corrupted database > > > > I think it will need to be somewhat of an educated guess/trial and >error. > > If you can find some info on the file structure of an MDB file that >would > > help....here's one such website with info on that. Unfortunately it >doesn't > > indicate which version of Access it applies too. > > > > http://www.xiph.org/positron/doc/mdb.html > > > > Gary Kjos > > garykjos at hotmail.com > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "Access Developers discussion and problem > > >solving" > > >Subject: Re: [AccessD] OT: Corrupted database > > >Date: Tue, 4 Nov 2003 14:33:29 -0800 > > > > > >Gary: > > > > > >I'm looking at then and they do look different. How do I know where >the > > >header ends, or how much to copy and paste? > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "Gary Kjos" > > >To: > > >Sent: Tuesday, November 04, 2003 2:21 PM > > >Subject: Re: [AccessD] OT: Corrupted database > > > > > > > > > > If you have a known good copy of it you can try to open that in a > > >editor, > > > > copy and paste the beginning of that file on top of the hosed one (a > > >copy > > >of > > > > the hosed one actually) save the tweaked file and see if you can >open >it > > > > then to try and copy out what you can. Sometimes the header at the > > >beginning > > > > of the file get's trashed. Never done it, only heard about it. >Proceed > > >at > > > > your own risk. > > > > > > > > Gary Kjos > > > > garykjos at hotmail.com > > > > > > > > > > > > > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: > > > > >Subject: [AccessD] OT: Corrupted database > > > > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > > > > > > > >Dear List: > > > > > > > > > >I have a database from a client which seems pretty well hosed >(A2K). > > >When > > > > >you start it you get the message "Database (database name) needs to >be > > > > >repaired or isn;t a database". I say go ahead and let Access try >to > > >repair > > > > >it but it ends in an abnormal termination of access. > > > > > > > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't >do >an > > > > >import into a fresh database either. > > > > > > > > > >I'm out of tricks. Are there any other approaches? > > > > > > > > > >TIA, > > > > > > > > > >Rocky Smolin > > > > >Beach Access Software > > > > >_______________________________________________ > > > > >AccessD mailing list > > > > >AccessD at databaseadvisors.com > > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > > >Website: http://www.databaseadvisors.com > > > > > > > > _________________________________________________________________ > > > > Compare high-speed Internet plans, starting at $26.95. > > > > https://broadband.msn.com (Prices may vary by service area.) > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Frustrated with dial-up? Get high-speed for as low as $26.95. > > https://broadband.msn.com (Prices may vary by service area.) > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From cfoust at infostatsystems.com Wed Nov 5 10:25:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 08:25:32 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: Is it possible one of your users opened the database in Word? That will certainly cause the situation you've described, and in that case the database is well and truly hosed beyond recovery. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, November 05, 2003 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Corrupted database I don't get an error message. It just ponders for about a minute then Access terminates with no error message and I get to send a message to Microsoft if I want to (like dropping rocks into a deep pool). Rocky ----- Original Message ----- From: "Greg Smith" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:05 AM Subject: Re: [AccessD] OT: Corrupted database > Rocky: > > What kind of error do you get when you try to 'repair' the db? The > following MS article told me the unfortunate news when I was getting > this type of error on a customer's db. They had to restore from a > backup copy I > had (their tape backup wasn't working...go figure) and reenter all the data > since I'd made my copy. > > Look at: KB158933 ACC: Error Message: Isn't an Index > in This Table > > If you're getting THAT one, you're hosed. > > Greg Smith > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Tuesday, November 04, 2003 3:54 PM > Subject: [AccessD] OT: Corrupted database > > > Dear List: > > I have a database from a client which seems pretty well hosed (A2K). > When you start it you get the message "Database (database name) needs > to be repaired or isn;t a database". I say go ahead and let Access > try to repair > it but it ends in an abnormal termination of access. > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > an import into a fresh database either. > > I'm out of tricks. Are there any other approaches? > > TIA, > > 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 mwp.reid at qub.ac.uk Wed Nov 5 10:31:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 5 Nov 2003 16:31:19 -0000 Subject: [AccessD] OT: Corrupted database References: Message-ID: <000701c3a3ba$3e2fa420$9111758f@aine> Cant remember the web address but think the guys name is Peter Millar. He repairs DBs. I have one a client opened in Word before. Never worked again. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 4:25 PM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Wed Nov 5 10:31:23 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 5 Nov 2003 11:31:23 -0500 Subject: [AccessD] Fw: [dba-OT] normalization Message-ID: <003a01c3a3ba$46dfea30$230110ac@SUSANONE> > http://searchdatabase.techtarget.com/featuredTopic/0,290042,sid13_gci879196, > 00.html?track=NL-94 > > ====I haven't had a chance to review everything, but thought I'd share this > because of the links at the bottom -- looks like a really good concentation > of articles. Most of you won't need this, but it should prove helpful to > anyone struggling with the concept. > > Susan H. From john at winhaven.net Wed Nov 5 10:37:43 2003 From: john at winhaven.net (John Bartow) Date: Wed, 5 Nov 2003 10:37:43 -0600 Subject: [AccessD] sending an email via vba In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C844@cntexchange.pgdp.usec.com> Message-ID: Virginia; Object would be a form, module, query, report, or table. Basically it would attach the chosen object to the email. If you state acSendNoObject there wouldn't be an attachment (hence, I suppose, why this is the default option.) HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Hollis,Virginia > Sent: Wednesday, November 05, 2003 10:17 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] sending an email via vba > > > What does it mean by not sending object? I am confused, what is the email > sending? > > DoCmd.SendObject acSendNoObject, > > Virginia > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Wednesday, November 05, 2003 9:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] sending an email via vba > > > Oleg: > It would appear from your code that you are not sending an object > (acSendNoObject) which is the default for the SendObject method. > > However EditMessage is boolean so IIRC it should read EditMessage:=False > > HTH > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Oleg_123 at xuppa.com > > Sent: Wednesday, November 05, 2003 9:06 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] sending an email via vba > > > > > > Hi Group, I only know how to do this, when there is an object > to be sent, > > how to do this when there is no object ? > > > > > > Function SendEmail() > > > > DoCmd.SendObject acSendNoObject, _ > > To:="Oleg_123 at xuppa.com, _ > > Subject:="Database UpDates", _ > > MessageText:="There hasn't been any changes since last time", _ > > EditMessage:="No" > > > > End Function > > > > > > ----------------------------------------- > > Get Breaking News from CNN, ABC, NBC, CBS Now. > > http://www.xuppa.com/news/?link=webmail > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Nov 5 11:21:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 09:21:12 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> Don't know. I think it's more likely a network problem or, as the error message says, an abnormal termination leaving the db open. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:25 AM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Wed Nov 5 11:37:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 5 Nov 2003 18:37:05 +0100 Subject: [AccessD] OT: Corrupted database In-Reply-To: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> References: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> Message-ID: <10734874657.20031105183705@cactus.dk> Hi Rocky > Don't know. I think it's more likely a network problem or, as the error > message says, an abnormal termination leaving the db open. An abnormal termination usually leaves the file repairable with little or no data loss. /gustav PS: Why did you mark this subject OT? From bchacc at san.rr.com Wed Nov 5 11:51:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 09:51:24 -0800 Subject: [AccessD] OT: Corrupted database References: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> <10734874657.20031105183705@cactus.dk> Message-ID: <00e201c3a3c5$6e2bb9b0$6501a8c0@HAL9002> Then it must have been something else. This db is well and truly hosed. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 9:37 AM Subject: Re: [AccessD] OT: Corrupted database > Hi Rocky > > > Don't know. I think it's more likely a network problem or, as the error > > message says, an abnormal termination leaving the db open. > > An abnormal termination usually leaves the file repairable with little > or no data loss. > > /gustav > > PS: Why did you mark this subject OT? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JOHNWARDBELL at aol.com Wed Nov 5 12:47:22 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Wed, 5 Nov 2003 13:47:22 EST Subject: [AccessD] OT: Corrupted database Message-ID: Rocky Is your db using ODBC? if so there a repair facility in ODBC under User DSN in ODBC Access Setup. Have your looked in there? WardB From bchacc at san.rr.com Wed Nov 5 13:07:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 11:07:25 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <00ee01c3a3d0$0cb10a40$6501a8c0@HAL9002> John: Can't get that far. Wont open up at all. :( Rocky ----- Original Message ----- From: To: Sent: Wednesday, November 05, 2003 10:47 AM Subject: Re: [AccessD] OT: Corrupted database > Rocky > > Is your db using ODBC? if so there a repair facility in ODBC under User DSN > in ODBC Access Setup. Have your looked in there? > > WardB > _______________________________________________ > 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 Nov 5 13:24:16 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 05 Nov 2003 11:24:16 -0800 Subject: [AccessD] sending an email via vba In-Reply-To: References: Message-ID: <3FA94E60.1000709@verizon.net> I like the MAPI solutions, but unfortunately I've run into systems that looked like they were set up correctly but would not function, in contrast BLAT hasn't let me down just yet. -- -Francisco Mitsules, Mark S. (Newport News) wrote: >How about this? > >http://www.mvps.org/access/modules/mdl0019.htm > > > >Mark > > >-----Original Message----- >From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] >Sent: Wednesday, November 05, 2003 10:16 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] sending an email via vba > > >Will Shell work in your situation? > > > >Mark > > >-----Original Message----- >From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] >Sent: Wednesday, November 05, 2003 10:06 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] sending an email via vba > > >Hi Group, I only know how to do this, when there is an object to be sent, >how to do this when there is no object ? > > >Function SendEmail() > >DoCmd.SendObject acSendNoObject, _ >To:="Oleg_123 at xuppa.com, _ >Subject:="Database UpDates", _ >MessageText:="There hasn't been any changes since last time", _ >EditMessage:="No" > >End Function > > >----------------------------------------- >Get Breaking News from CNN, ABC, NBC, CBS Now. >http://www.xuppa.com/news/?link=webmail > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 5 14:28:55 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 05 Nov 2003 14:28:55 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> How do you open a Word Document from a form? I have an instruction guide in Word that I would like to access from a form & have the Word document open Read Only. I tried a hyperlink, but could not find the properties to open the document read-only. I know I could set the document properties to read-only, but looking for a different way to open and set the properties. Virginia From Oleg_123 at xuppa.com Wed Nov 5 14:37:59 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 5 Nov 2003 15:37:59 -0500 (EST) Subject: [AccessD] sending an email via vba In-Reply-To: References: <33417.12.3.132.98.1068044752.squirrel@heck.bay9.com> Message-ID: <37433.12.3.132.98.1068064679.squirrel@heck.bay9.com> thank you, now it works. (I was trying "no" and "false" in quotations) > Oleg: > It would appear from your code that you are not sending an object > (acSendNoObject) which is the default for the SendObject method. > > However EditMessage is boolean so IIRC it should read EditMessage:=False > > HTH > John B. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >> Oleg_123 at xuppa.com >> Sent: Wednesday, November 05, 2003 9:06 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] sending an email via vba >> >> >> Hi Group, I only know how to do this, when there is an object to be >> sent, how to do this when there is no object ? >> >> >> Function SendEmail() >> >> DoCmd.SendObject acSendNoObject, _ >> To:="Oleg_123 at xuppa.com, _ >> Subject:="Database UpDates", _ >> MessageText:="There hasn't been any changes since last time", _ >> EditMessage:="No" >> >> End Function >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Oleg_123 at xuppa.com Wed Nov 5 14:40:48 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 5 Nov 2003 15:40:48 -0500 (EST) Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> Message-ID: <38712.12.3.132.98.1068064848.squirrel@heck.bay9.com> Did you set a reference to Word Object Library ? > How do you open a Word Document from a form? > > I have an instruction guide in Word that I would like to access from a > form & have the Word document open Read Only. I tried a hyperlink, but > could not find the properties to open the document read-only. I know I > could set the document properties to read-only, but looking for a > different way to open and set the properties. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Bryan_Carbonnell at cbc.ca Wed Nov 5 14:45:08 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 15:45:08 -0500 Subject: [AccessD] Open Word Document Message-ID: Here is some Quick & Dirty code: dim objWord as Object set objWord = CreateObject("Word.Application") objWord.visible = true objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True set objWord = Nothing No references to the Word TypeLibrary are needed. THe True in this line: objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True Tells Word to open the document as read only. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 05-Nov-03 3:28:55 PM >>> How do you open a Word Document from a form? I have an instruction guide in Word that I would like to access from a form & have the Word document open Read Only. I tried a hyperlink, but could not find the properties to open the document read-only. I know I could set the document properties to read-only, but looking for a different way to open and set the properties. Virginia From mmmtbig at bellsouth.net Wed Nov 5 15:00:40 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 5 Nov 2003 16:00:40 -0500 Subject: [AccessD] Primary Keys GONE! Message-ID: <00b401c3a3df$e1826700$d401a8c0@tbig1> One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group From cfoust at infostatsystems.com Wed Nov 5 15:07:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 13:07:41 -0800 Subject: [AccessD] Primary Keys GONE! Message-ID: Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ 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 Nov 5 15:09:24 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 05 Nov 2003 15:09:24 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Perfect, thanks. When you open a document in Word is there anyway to prevent it from asking if you want to save changes? Why does it show the Save message when no changes have been made - only opened the document? I have noticed Excel does the same thing, always wanting to save changes. Va. -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Wednesday, November 05, 2003 2:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Open Word Document Here is some Quick & Dirty code: dim objWord as Object set objWord = CreateObject("Word.Application") objWord.visible = true objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True set objWord = Nothing No references to the Word TypeLibrary are needed. THe True in this line: objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True Tells Word to open the document as read only. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 05-Nov-03 3:28:55 PM >>> How do you open a Word Document from a form? I have an instruction guide in Word that I would like to access from a form & have the Word document open Read Only. I tried a hyperlink, but could not find the properties to open the document read-only. I know I could set the document properties to read-only, but looking for a different way to open and set the properties. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Wed Nov 5 15:27:40 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 5 Nov 2003 16:27:40 -0500 Subject: [AccessD] Primary Keys GONE! In-Reply-To: Message-ID: <00be01c3a3e3$a7540170$d401a8c0@tbig1> The field no longer is designated as a primary key. (In design view the key icon beside the field name is gone.) Myke The Better Information Group 770 928-7276 mailto: mmm at tbig.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 5 15:48:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 13:48:29 -0800 Subject: [AccessD] Primary Keys GONE! Message-ID: Are your users allowed access to the tables themselves? The only time I've seen anything like that was as part of the weirdness that goes with the vbe6.dll problem when a 2002 app is installed on the machine running O2k and O2k is less than SR-3. Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primary Keys GONE! The field no longer is designated as a primary key. (In design view the key icon beside the field name is gone.) Myke The Better Information Group 770 928-7276 mailto: mmm at tbig.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Wed Nov 5 16:05:41 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 5 Nov 2003 17:05:41 -0500 Subject: [AccessD] Primary Keys GONE! In-Reply-To: Message-ID: <00e401c3a3e8$f69f21b0$d401a8c0@tbig1> Charlotte No, users can't get to anything but forms and reports. But there are some guys in the IT dept who may have enough knowledge to be dangerous. I'll look into the vbe6.dll / Access 2002 issue. Thanks, Myke The Better Information Group -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Are your users allowed access to the tables themselves? The only time I've seen anything like that was as part of the weirdness that goes with the vbe6.dll problem when a 2002 app is installed on the machine running O2k and O2k is less than SR-3. Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primary Keys GONE! The field no longer is designated as a primary key. (In design view the key icon beside the field name is gone.) Myke The Better Information Group 770 928-7276 mailto: mmm at tbig.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Nov 5 16:07:34 2003 From: chizotz at charter.net (Ron Allen) Date: Wed, 05 Nov 2003 17:07:34 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: Virginia, It is wanting to save because the last opened date has changed, so it sees the document as having been changed. Annoying, huh? I just save the document (I done this with Excel, never had to do it in Word so far) and let it update that date, making the process invisible to the user. Unless there's a reason not to do this, you can just bypass the issue that way. Ron On Wed, 05 Nov 2003 15:09:24 -0600 "Hollis,Virginia" wrote: >Perfect, thanks. > >When you open a document in Word is there anyway to >prevent it from asking >if you want to save changes? Why does it show the Save >message when no >changes have been made - only opened the document? I have >noticed Excel does >the same thing, always wanting to save changes. > >Va. From andy at minstersystems.co.uk Wed Nov 5 16:17:34 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Nov 2003 22:17:34 -0000 Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <003c01c3a3ea$9d3755f0$b274d0d5@minster33c3r25> Hi Virginia With the Word libray referencec it's objWord.Close wdDoNotSaveChanges Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 05 November 2003 21:09 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Perfect, thanks. > > When you open a document in Word is there anyway to prevent > it from asking if you want to save changes? Why does it show > the Save message when no changes have been made - only opened > the document? I have noticed Excel does the same thing, > always wanting to save changes. > > Va. > > -----Original Message----- > From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] > Sent: Wednesday, November 05, 2003 2:45 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Open Word Document > > > Here is some Quick & Dirty code: > > dim objWord as Object > > set objWord = CreateObject("Word.Application") > objWord.visible = true > > objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True > > set objWord = Nothing > > No references to the Word TypeLibrary are needed. > > THe True in this line: > objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True > > Tells Word to open the document as read only. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> HollisVJ at pgdp.usec.com 05-Nov-03 3:28:55 PM >>> > How do you open a Word Document from a form? > > I have an instruction guide in Word that I would like to > access from a form & have the Word document open Read Only. I > tried a hyperlink, but could not find the properties to open > the document read-only. I know I could set the document > properties to read-only, but looking for a different way to > open and set the properties. > > 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 > > From carbonnb at sympatico.ca Wed Nov 5 17:19:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:19:00 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93F14.4103.C3FD6@localhost> On 5 Nov 2003 at 15:09, Hollis,Virginia wrote: > Perfect, thanks. You're welcome. > When you open a document in Word is there anyway to prevent it from > asking if you want to save changes? Why does it show the Save message > when no changes have been made - only opened the document? I have Does the doc have any fields in it? Like a date field, a page number field...? If so, chances are that the fields are updated when you open the doc, which is a change, even if the fields aren't changed. I know it's bizare. And that is triggering the save prompt. > noticed Excel does the same thing, always wanting to save changes. Probably the same reason. If you are closing the doc using code, then use what Andy posted. If the user is just closing Word, or the doc manually, then no. Or at least, not without getting rid of the fields. -- Bryan Carbonnell - carbonnb at sympatico.ca Only the mediocre are at their best all the time. From carbonnb at sympatico.ca Wed Nov 5 17:20:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:20:43 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <003c01c3a3ea$9d3755f0$b274d0d5@minster33c3r25> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93F7B.13970.DD330@localhost> On 5 Nov 2003 at 22:17, Andy Lacey wrote: > Hi Virginia > > With the Word libray referencec it's > > objWord.Close wdDoNotSaveChanges Otherwise it's: objWord.Close 0 -- Bryan Carbonnell - carbonnb at sympatico.ca A feature is a bug with seniority. From carbonnb at sympatico.ca Wed Nov 5 17:20:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:20:43 -0500 Subject: [AccessD] Open Word Document In-Reply-To: References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93F7B.11709.DD39E@localhost> On 5 Nov 2003 at 17:07, Ron Allen wrote: > It is wanting to save because the last opened date has > changed, so it sees the document as having been changed. > Annoying, huh? Nope. I don't think that this is the reason. I open and close Word docs all day long and only have the Save prompt show up when I actually change the doc or there are fields in the doc that get updated, and I have Word set to update all fields when it opens and prints. Docs without fields don't have the prompt for me. -- 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 carbonnb at sympatico.ca Wed Nov 5 17:21:51 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:21:51 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <3FA93F14.4103.C3FD6@localhost> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93FBF.29252.EDBC0@localhost> On 5 Nov 2003 at 18:19, Bryan Carbonnell wrote: > > When you open a document in Word is there anyway to prevent it from > > asking if you want to save changes? Why does it show the Save > > message when no changes have been made - only opened the document? I > > have > > Does the doc have any fields in it? Like a date field, a page number > field...? It just occurred to me, are there any linked images in the doc? They are fields as well. -- Bryan Carbonnell - carbonnb at sympatico.ca The man who claims to be the boss in his own home will lie about other things as well. From accessd at shaw.ca Wed Nov 5 19:05:08 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 05 Nov 2003 17:05:08 -0800 Subject: [AccessD] OT: Corrupted database In-Reply-To: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> Message-ID: Hi Rocky: Now that you have mentioned a possible network connection I have ran across a couple of similar incidents over a few years. The problems were always, with 'bound' FEs, spawned by a flaky network card, in one situation and a enthusiastic network tech who had the server auto-reboot over-night with no open-file checking, in another. I just kept trying to open the DBs and finally both did and then I immediately saved everything to a new/clean db. Save all in one case and only lost two weeks of data in the other. I have never used a bound application, with over five users since. That is a good rule of thumb but some developers state the cut-off can be as high as ten users. I know of a programmer who has had limited success hacking out lost data and code with an assembler but I imagine the cost would be prohibitive unless there is absolutely no backup. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, November 05, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Corrupted database Don't know. I think it's more likely a network problem or, as the error message says, an abnormal termination leaving the db open. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:25 AM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Nov 5 19:26:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 5 Nov 2003 20:26:41 -0500 Subject: [AccessD] OT: Corrupted database In-Reply-To: Message-ID: Jim, I have a client with ~30 users in the database (bound forms) from 8-5 daily and have not had a single corruption in coming up on a year now. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 05, 2003 8:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi Rocky: Now that you have mentioned a possible network connection I have ran across a couple of similar incidents over a few years. The problems were always, with 'bound' FEs, spawned by a flaky network card, in one situation and a enthusiastic network tech who had the server auto-reboot over-night with no open-file checking, in another. I just kept trying to open the DBs and finally both did and then I immediately saved everything to a new/clean db. Save all in one case and only lost two weeks of data in the other. I have never used a bound application, with over five users since. That is a good rule of thumb but some developers state the cut-off can be as high as ten users. I know of a programmer who has had limited success hacking out lost data and code with an assembler but I imagine the cost would be prohibitive unless there is absolutely no backup. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, November 05, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Corrupted database Don't know. I think it's more likely a network problem or, as the error message says, an abnormal termination leaving the db open. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:25 AM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 5 19:54:28 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 06 Nov 2003 11:54:28 +1000 Subject: [AccessD] OT: Corrupted database In-Reply-To: References: Message-ID: <3FAA3674.31878.59939EC@localhost> On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From access at tlcbc.com.au Wed Nov 5 20:02:58 2003 From: access at tlcbc.com.au (access at tlcbc.com.au) Date: Thu, 6 Nov 2003 15:02:58 +1300 Subject: [AccessD] Read-Only error message opening database Message-ID: <1068084178.3fa9abd2322e1@210.55.105.82> Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) From cfoust at infostatsystems.com Wed Nov 5 20:14:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 18:14:59 -0800 Subject: [AccessD] Read-Only error message opening database Message-ID: Design changes (like the paper size of a report) are handled in Access, not in SQL Server. Access 2000 and later do NOT allow users to make design changes to objects unless they have exclusive access to the database. Since your database is being shared, that would only be possible if a single user was in the database. Also, read-only access to that folder won't work because the users need to be able to create and/or write to the ldb file for the shared front end and to delete it when the last person exits. Charlotte Foust -----Original Message----- From: access at tlcbc.com.au [mailto:access at tlcbc.com.au] Sent: Wednesday, November 05, 2003 6:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Read-Only error message opening database Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 5 20:20:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 5 Nov 2003 21:20:52 -0500 Subject: [AccessD] Read-Only error message opening database In-Reply-To: Message-ID: Although according to Gustav I think it was, running it under "run time" will prevent the error from showing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 9:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Read-Only error message opening database Design changes (like the paper size of a report) are handled in Access, not in SQL Server. Access 2000 and later do NOT allow users to make design changes to objects unless they have exclusive access to the database. Since your database is being shared, that would only be possible if a single user was in the database. Also, read-only access to that folder won't work because the users need to be able to create and/or write to the ldb file for the shared front end and to delete it when the last person exits. Charlotte Foust -----Original Message----- From: access at tlcbc.com.au [mailto:access at tlcbc.com.au] Sent: Wednesday, November 05, 2003 6:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Read-Only error message opening database Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 5 21:32:13 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 05 Nov 2003 19:32:13 -0800 Subject: [AccessD] OT: Corrupted database In-Reply-To: <3FAA3674.31878.59939EC@localhost> Message-ID: Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 d.dick at uws.edu.au Wed Nov 5 23:00:10 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 6 Nov 2003 16:00:10 +1100 Subject: [AccessD] A2K: Testing for NULLS in a Query Message-ID: <00f101c3a422$dba47f60$3c619a89@DDICK> Hello all I have a Table that holds a swag of various ID's called tblResults Many fields but of interest here is... StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) I perform an append query if the one of the ID's is missing (using IS NULL in the criteria as per the find Unmatched Query Wizard) So I have a student (StudentID = 2 ) who does as assessment (AssessmentID = 55) Quite simply if there is no occurence of the Assessment ID 55 (ie Is null in the Criteria of the Append Query) Excellent then the Append query sparks up and all is well. Small snag though. Many students may sit assessment no 55. So there may be no occurence of AssessmentID 55 for student no 2 but there may be an occurence of it for say...Student Number 1 or others As a result the Is Null Criteria is false and doesn't spark the append query Because there IS an assessment 55 in the Results Table only it belongs to Student no 1 not student no 2 How do I test for Null in 2 fields in order to spark up the append query. IE there may be an AssesmentID of 55 in the table but for Student ID 1 So... How do I test for Is Null Assessment ID 55 AND isNull student ID2 I have discovered it is not as simple as putting Is Null in the Critera for Assessment ID and Is Null for Criteria For Student ID I have also tried IsNull([tblResults]![AssesmentID]) And IsNull([tblResults]![StudentID]) no joy Many thanks in advance Darren From rgilimited at btconnect.com Thu Nov 6 02:52:29 2003 From: rgilimited at btconnect.com (Robin Lawrence) Date: Thu, 6 Nov 2003 08:52:29 -0000 Subject: [AccessD] A2K: Testing for NULLS in a Query In-Reply-To: <00f101c3a422$dba47f60$3c619a89@DDICK> Message-ID: <000001c3a443$4fe0ea10$5373a8c0@local> Darren, Have you tried IsNull([tblResults]![AssesmentID]) OR IsNull([tblResults]![StudentID]) Or move the second criteria to the second row of the query grid Rgds Robin Lawrence -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: 06 November 2003 05:00 To: AccessD List Subject: [AccessD] A2K: Testing for NULLS in a Query Hello all I have a Table that holds a swag of various ID's called tblResults Many fields but of interest here is... StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) I perform an append query if the one of the ID's is missing (using IS NULL in the criteria as per the find Unmatched Query Wizard) So I have a student (StudentID = 2 ) who does as assessment (AssessmentID = 55) Quite simply if there is no occurence of the Assessment ID 55 (ie Is null in the Criteria of the Append Query) Excellent then the Append query sparks up and all is well. Small snag though. Many students may sit assessment no 55. So there may be no occurence of AssessmentID 55 for student no 2 but there may be an occurence of it for say...Student Number 1 or others As a result the Is Null Criteria is false and doesn't spark the append query Because there IS an assessment 55 in the Results Table only it belongs to Student no 1 not student no 2 How do I test for Null in 2 fields in order to spark up the append query. IE there may be an AssesmentID of 55 in the table but for Student ID 1 So... How do I test for Is Null Assessment ID 55 AND isNull student ID2 I have discovered it is not as simple as putting Is Null in the Critera for Assessment ID and Is Null for Criteria For Student ID I have also tried IsNull([tblResults]![AssesmentID]) And IsNull([tblResults]![StudentID]) no joy Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 6 03:08:56 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 10:08:56 +0100 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <1068084178.3fa9abd2322e1@210.55.105.82> References: <1068084178.3fa9abd2322e1@210.55.105.82> Message-ID: <1593911554.20031106100856@cactus.dk> Hi Terry - and welcome to the list! Adding to the comments of Charlotte and John, I find it strange that you didn't receive this message when opening the Access 97 database - unless you ran that as a runtime? If so that should work for Access 2000 as well. And, as Charlotte states, the changes that will not be save are design changes not the data. Another option could be to convert the database to an mde but other listers may chime in here as I have never had the need for an mde running other than for some tests. /gustav > I have just found this list so apologies if this question has been asked before > (couldn't see it in the archives). > We have a database that is stored on a shared network drive with the data > itself in an SQL Server backend. For security reasons the majority of users > have read-only access to the network drive where the database is stored. With > Access 97 this worked fine but the database has recently been upgraded to > Access 2000 and now the users receive a message when they open the database > stating that it is read-only so they won't be able to save their changes (which > is incorrect as, of course, the updates are done on the SQL server which they > do have write access to). Not a major problem but very annoying and confusing > for the users. > Does anyone know how to disable this error message under Access 2000? > Thanks, > Terry Bradford > (Canberra, Australia) From Erwin.Craps at ithelps.be Thu Nov 6 03:43:30 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 6 Nov 2003 10:43:30 +0100 Subject: [AccessD] Read-Only error message opening database Message-ID: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> Strange, I was just gooing to ask a simular question. I wanted to know if I can trap this error? I run an MDB (must be an MDB because I change programaticaly some report properties) every 5 minutes (24x7) with the task scheduler. I find this technique more stable than leaving the MDB 24x7 open. Sometimes when the file is backupped or copied at the same moment I get this read-only message. The whole folder is backupped about 6 times a day so I do have this regulary. But this stays on my server until I click on it. Thus preventing to run the app next time. Can I trap this error and just exit if read-only? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 06, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Read-Only error message opening database Hi Terry - and welcome to the list! Adding to the comments of Charlotte and John, I find it strange that you didn't receive this message when opening the Access 97 database - unless you ran that as a runtime? If so that should work for Access 2000 as well. And, as Charlotte states, the changes that will not be save are design changes not the data. Another option could be to convert the database to an mde but other listers may chime in here as I have never had the need for an mde running other than for some tests. /gustav > I have just found this list so apologies if this question has been > asked before (couldn't see it in the archives). > We have a database that is stored on a shared network drive with the > data > itself in an SQL Server backend. For security reasons the majority of users > have read-only access to the network drive where the database is stored. With > Access 97 this worked fine but the database has recently been upgraded to > Access 2000 and now the users receive a message when they open the database > stating that it is read-only so they won't be able to save their changes (which > is incorrect as, of course, the updates are done on the SQL server which they > do have write access to). Not a major problem but very annoying and confusing > for the users. > Does anyone know how to disable this error message under Access 2000? > Thanks, > Terry Bradford > (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Thu Nov 6 03:59:01 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 6 Nov 2003 17:59:01 +0800 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> Message-ID: <000001c3a44c$9b400640$5100a8c0@BITSNB02> Not an expert on the error, but I suspect access gives you that error before passing control to the database file. You should be able to test for it by putting a msgbox as the first action and then setting up the circumstances to cause the error. See which somes first ... The read only error or the message box. Not sure how complex your db is but one option would be to use a separate mdb to do the report changes, and programatically manipulate the target mdb directly via automation. Then you can can trap the read only state by testing for exclusive access. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > Sent: Thursday, 06 November, 2003 5:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Read-Only error message opening database > > > Strange, > > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > > I run an MDB (must be an MDB because I change programaticaly > some report > properties) every 5 minutes (24x7) with the task scheduler. I > find this > technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same > moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > > But this stays on my server until I click on it. Thus > preventing to run > the app next time. > > Can I trap this error and just exit if read-only? > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > > > Hi Terry - and welcome to the list! > > Adding to the comments of Charlotte and John, I find it > strange that you > didn't receive this message when opening the Access 97 > database - unless > you ran that as a runtime? If so that should work for Access 2000 as > well. And, as Charlotte states, the changes that will not be save are > design changes not the data. > > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. > > /gustav > > > > I have just found this list so apologies if this question has been > > asked before (couldn't see it in the archives). > > > We have a database that is stored on a shared network drive > with the > > data > > itself in an SQL Server backend. For security reasons the > majority of > users > > have read-only access to the network drive where the database is > stored. With > > Access 97 this worked fine but the database has recently > been upgraded > to > > Access 2000 and now the users receive a message when they open the > database > > stating that it is read-only so they won't be able to save their > changes (which > > is incorrect as, of course, the updates are done on the SQL server > which they > > do have write access to). Not a major problem but very annoying and > confusing > > for the users. > > > Does anyone know how to disable this error message under > Access 2000? > > > Thanks, > > Terry Bradford > > (Canberra, Australia) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 6 04:03:11 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 11:03:11 +0100 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> Message-ID: <447166304.20031106110311@cactus.dk> Hi Erwin But if you need to make design changes, how would you do that when the file is read-only? And why do you need to backup the frontend six times a day? /gustav > Strange, > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > I run an MDB (must be an MDB because I change programaticaly some report > properties) every 5 minutes (24x7) with the task scheduler. I find this > technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > But this stays on my server until I click on it. Thus preventing to run > the app next time. > Can I trap this error and just exit if read-only? > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > Hi Terry - and welcome to the list! > Adding to the comments of Charlotte and John, I find it strange that you > didn't receive this message when opening the Access 97 database - unless > you ran that as a runtime? If so that should work for Access 2000 as > well. And, as Charlotte states, the changes that will not be save are > design changes not the data. > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. From pedro at plex.nl Thu Nov 6 12:24:51 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 06 Nov 2003 12:24:51 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311061124.hA6BOpEU013511@mailhostC.plex.net> Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; From roz.clarke at donnslaw.co.uk Thu Nov 6 05:32:28 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 6 Nov 2003 11:32:28 -0000 Subject: [AccessD] why isn't this working? Message-ID: <61F915314798D311A2F800A0C9C83188047C66CA@dibble.observatory.donnslaw.co.uk> What error does it give you Pedro? I would normally use a nested Iif statement rather than a list of separate statements, e.g. SELECT iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[ Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,ii f([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500' ,[Telling]*0)))))))) AS Resultaat_Telling FROM TellingCode; ...but I don't know if that's the only way to do it. -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: 06 November 2003 12:25 To: AccessD at databaseadvisors.com Subject: [AccessD] why isn't this working? Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507' ,[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0, 4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code ]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 6 05:31:33 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 12:31:33 +0100 Subject: [AccessD] why isn't this working? In-Reply-To: <200311061124.hA6BOpEU013511@mailhostC.plex.net> References: <200311061124.hA6BOpEU013511@mailhostC.plex.net> Message-ID: <2512469179.20031106123133@cactus.dk> Hi Pedro It should probably read: iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,iif([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500',[Telling]*0,0)))))))) /gustav > i can't seem to let this query work. Why? > Pedro Janssen > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) > AS Resultaat_Telling > FROM TellingCode; From HollisVJ at pgdp.usec.com Thu Nov 6 06:00:30 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 06:00:30 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C85C@cntexchange.pgdp.usec.com> Yes, the document has Page number fields & links to documents on the Intranet. The Word file is opening Read-only. Virginia -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Wednesday, November 05, 2003 5:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open Word Document On 5 Nov 2003 at 18:19, Bryan Carbonnell wrote: > > When you open a document in Word is there anyway to prevent it from > > asking if you want to save changes? Why does it show the Save > > message when no changes have been made - only opened the document? I > > have > > Does the doc have any fields in it? Like a date field, a page number > field...? It just occurred to me, are there any linked images in the doc? They are fields as well. -- Bryan Carbonnell - carbonnb at sympatico.ca The man who claims to be the boss in his own home will lie about other things as well. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Thu Nov 6 06:04:44 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 6 Nov 2003 04:04:44 -0800 (PST) Subject: [AccessD] Access and HTML In-Reply-To: <61F915314798D311A2F800A0C9C83188047C66CA@dibble.observatory.donnslaw.co.uk> Message-ID: <20031106120444.4692.qmail@web9807.mail.yahoo.com> Good Morning, I am trying to create an HTML page in access 2003. The creation go ok but when I display the page I get 2 warnings: The Website uses a data provider that may be unsafe. If you trust the wesite, click OK, otherwise click Cancel. If I click ok then I get: The website is using your identity to access a data source. If you trust the website click OK to continue, otherwise click Cancel. Does anyone know what I need to do to have these message not show up. Thanks in Advance! Dale --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From paul.hartland at fsmail.net Thu Nov 6 06:24:57 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 13:24:57 +0100 (CET) Subject: [AccessD] OT Access Traffic Query Message-ID: <15641174.1068121497477.JavaMail.www@wwinf3001> To all, We have a Win2000 Server network with Office XP Professional using Access XP, we don't have a front-end or back-end to this system (I inherited it, lucky me). So everyone has a shortcut to the .mdb on the Server, when a query is run on the .mdb is it the Server that will do the processing or the desktop unit of the user ? Anybody know how it actually works, cause I may have to modify the Aplication. Paul From bheid at appdevgrp.com Thu Nov 6 07:02:44 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 6 Nov 2003 08:02:44 -0500 Subject: [AccessD] OT Access Traffic Query In-Reply-To: <916187228923D311A6FE00A0CC3FAA30688462@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFC4@ADGSERVER> To the best of my knowledge, the processing is done on the desktop. That is why MSDE or SQL server gives such a performance boost. HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, November 06, 2003 7:25 AM To: accessd Subject: [AccessD] OT Access Traffic Query To all, We have a Win2000 Server network with Office XP Professional using Access XP, we don't have a front-end or back-end to this system (I inherited it, lucky me). So everyone has a shortcut to the .mdb on the Server, when a query is run on the .mdb is it the Server that will do the processing or the desktop unit of the user ? Anybody know how it actually works, cause I may have to modify the Aplication. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Thu Nov 6 07:13:50 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 6 Nov 2003 07:13:50 -0600 Subject: [AccessD] why isn't this working? Message-ID: <4AE733BBEEE72647A9F950F7275F262E112560@nt04.karta.com> I believe the commas are messing this up. Access is looking at the commas and determining the False Part wrong. eg: ...iif([code]='506', [Telling]*0.67, iif... a comma between 0 and 67 Access thinks 67 is the false part. One question I have, is why the single quote marks around numbers? I normally don't use them. Jim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, November 06, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] why isn't this working? Hi Pedro It should probably read: iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[ Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,ii f([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500' ,[Telling]*0,0)))))))) /gustav > i can't seem to let this query work. Why? > Pedro Janssen > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507' ,[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0, 4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code ]='500',[Telling]*0) > AS Resultaat_Telling > FROM TellingCode; _______________________________________________ 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 Nov 6 07:28:07 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 06 Nov 2003 23:28:07 +1000 Subject: [AccessD] OT Access Traffic Query In-Reply-To: <15641174.1068121497477.JavaMail.www@wwinf3001> Message-ID: <3FAAD907.13187.768AC@localhost> On 6 Nov 2003 at 13:24, paul.hartland at fsmail.net wrote: > To all, We have a Win2000 Server network with Office XP Professional > using Access XP, we don't have a front-end or back-end to this system > (I inherited it, lucky me). So everyone has a shortcut to the .mdb on > the Server, when a query is run on the .mdb is it the Server that will > do the processing or the desktop unit of the user ? Anybody know how it > actually works, cause I may have to modify the Aplication. Paul The desktop does all the processing. It is behaving exactly it would if the application was on a local disk (only it takes longer to pull everything over the network than it would from a local drive). -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Nov 6 07:33:20 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 06 Nov 2003 23:33:20 +1000 Subject: [AccessD] why isn't this working? In-Reply-To: <200311061124.hA6BOpEU013511@mailhostC.plex.net> Message-ID: <3FAADA40.26871.C30F8@localhost> On 6 Nov 2003 at 12:24, pedro at plex.nl wrote: > Hello Group, > > i can't seem to let this query work. Why? > > Pedro Janssen > > > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]= > '507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[T > elling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling] > *0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM > TellingCode; All the closing brackets are in the wrong places, They should be at the end of the last iif(). i.e. It should be something like: IIF(a,z,IIF(b,y,IIF(c,x,IIF(d,w,v)))) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Bryan_Carbonnell at cbc.ca Thu Nov 6 07:52:02 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 06 Nov 2003 08:52:02 -0500 Subject: [AccessD] Open Word Document Message-ID: I would suspect that the Page Number field is being updated in the background, which is causing the Save Dialog to appear when you close it. Opening it read only won't have any effect on having the Save dialog showing up. All opening it Read Only will do is prevent the user from saving any modifications over the original file. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 06-Nov-03 7:00:30 AM >>> Yes, the document has Page number fields & links to documents on the Intranet. The Word file is opening Read-only. Virginia -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Wednesday, November 05, 2003 5:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open Word Document On 5 Nov 2003 at 18:19, Bryan Carbonnell wrote: > > When you open a document in Word is there anyway to prevent it from > > asking if you want to save changes? Why does it show the Save > > message when no changes have been made - only opened the document? I > > have > > Does the doc have any fields in it? Like a date field, a page number > field...? It just occurred to me, are there any linked images in the doc? They are fields as well. From jeffrey.demulling at usbank.com Thu Nov 6 09:10:52 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 6 Nov 2003 09:10:52 -0600 Subject: [AccessD] why isn't this working? Message-ID: Why don't you create a custom function for this using Select Case or If Then statements? pedro at plex.nl Sent by: To: AccessD at databaseadvisors.com accessd-bounces at databasead cc: visors.com Subject: [AccessD] why isn't this working? 11/06/2003 06:24 AM Please respond to "Access Developers discussion and problem solving" Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code] ='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code] ='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code] ='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; _______________________________________________ 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 Nov 6 09:28:19 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 09:28:19 -0600 Subject: [AccessD] OT - Excel Increment Date Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C860@cntexchange.pgdp.usec.com> Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.com From jeffrey.demulling at usbank.com Thu Nov 6 09:35:29 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 6 Nov 2003 09:35:29 -0600 Subject: [AccessD] why isn't this working? Message-ID: The function would probably look something like this: Function MyExample (mycode, mytelling) as Double Dim mymultipler as double Select Case mycode Case 501 mymultipler = 1 Case 503 mymultipler = 2 Case 507 mymultipler = 2 Case 506 mymultipler = .67 Case 502 mymultipler = .4 Case 522 mymultipler = .4 Case 542 mymultipler = .2 Case 500 mymultipler = 0 End Select MyExample = mytelling * myultipler End Function The next step would be to use it in your query something like the following: MyExample([Code], [Telling]) AS Resultaat_Telling FROM TellingCode; jeffrey.demulling at usbank.c om To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: Re: [AccessD] why isn't this working? 11/06/2003 09:10 AM Please respond to "Access Developers discussion and problem solving" Why don't you create a custom function for this using Select Case or If Then statements? pedro at plex.nl Sent by: To: AccessD at databaseadvisors.com accessd-bounces at databasead cc: visors.com Subject: [AccessD] why isn't this working? 11/06/2003 06:24 AM Please respond to "Access Developers discussion and problem solving" Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code] ='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code] ='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code] ='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Nov 6 09:40:29 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 16:40:29 +0100 (CET) Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <12773941.1068133229930.JavaMail.www@wwinf3001> To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland From paul.hartland at fsmail.net Thu Nov 6 09:43:45 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 16:43:45 +0100 (CET) Subject: [AccessD] OT Access Traffic Query Message-ID: <29635982.1068133425299.JavaMail.www@wwinf3001> Thanks for all your help Message date : Nov 06 2003, 01:03 PM >From : Bobby Heid To : 'Access Developers discussion and problem solving' Copy to : Subject : RE: [AccessD] OT Access Traffic Query To the best of my knowledge, the processing is done on the desktop. That is why MSDE or SQL server gives such a performance boost. HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, November 06, 2003 7:25 AM To: accessd Subject: [AccessD] OT Access Traffic Query To all, We have a Win2000 Server network with Office XP Professional using Access XP, we don't have a front-end or back-end to this system (I inherited it, lucky me). So everyone has a shortcut to the .mdb on the Server, when a query is run on the .mdb is it the Server that will do the processing or the desktop unit of the user ? Anybody know how it actually works, cause I may have to modify the Aplication. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Nov 6 09:43:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 16:43:59 +0100 (CET) Subject: [AccessD] OT Access Traffic Query Message-ID: <29892106.1068133438994.JavaMail.www@wwinf3001> Thanks for all your help Message date : Nov 06 2003, 01:30 PM >From : Stuart McLachlan To : Access Developers discussion and problem solving Copy to : Subject : Re: [AccessD] OT Access Traffic Query On 6 Nov 2003 at 13:24, paul.hartland at fsmail.net wrote: > To all, We have a Win2000 Server network with Office XP Professional > using Access XP, we don't have a front-end or back-end to this system > (I inherited it, lucky me). So everyone has a shortcut to the .mdb on > the Server, when a query is run on the .mdb is it the Server that will > do the processing or the desktop unit of the user ? Anybody know how it > actually works, cause I may have to modify the Aplication. Paul The desktop does all the processing. It is behaving exactly it would if the application was on a local disk (only it takes longer to pull everything over the network than it would from a local drive). -- 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 Erwin.Craps at ithelps.be Thu Nov 6 09:45:20 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 6 Nov 2003 16:45:20 +0100 Subject: [AccessD] Read-Only error message opening database Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DC1@stekelbes.ithelps.local> Hi gustav. The frontend runs every 5 minutes, I may quit inmediatly in this case and do his thing the next time.... This frontend is in the same folder as the data and runs on the server. I supose I could split them up, but I need fast recovery times. So that's why I like to keep them togheter. This application has 4 front-ends and 2 backends. 3 front-ends run on the server, 1 on the client pc's (local copy). 1x Front-end is an intermidiate db for ASP/internet access. 1x front-end collects E-mails, Faxes and FTP files on the server (checks every 5 minutes) 1x front-end generates Excel files and faxes a reports whenever asked by ASP client or by internal client (checks every other 5 minutes). Its the last two from which I Notice my problem. Sometimes if I make a minor adjustment to the backend database and the front-end (timer is up) runs, I have the same problem. So I tought to catch the error when opening and if the database is in a non-editable state to quit inmedatly and try again for next scheduled run. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Gustav Brock Verzonden: donderdag 6 november 2003 11:03 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] Read-Only error message opening database Hi Erwin But if you need to make design changes, how would you do that when the file is read-only? And why do you need to backup the frontend six times a day? /gustav > Strange, > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > I run an MDB (must be an MDB because I change programaticaly some > report > properties) every 5 minutes (24x7) with the task scheduler. I find this > technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > But this stays on my server until I click on it. Thus preventing to > run the app next time. > Can I trap this error and just exit if read-only? > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > Hi Terry - and welcome to the list! > Adding to the comments of Charlotte and John, I find it strange that > you didn't receive this message when opening the Access 97 database - > unless you ran that as a runtime? If so that should work for Access > 2000 as well. And, as Charlotte states, the changes that will not be > save are design changes not the data. > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 6 09:51:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 6 Nov 2003 16:51:19 +0100 Subject: [AccessD] Read-Only error message opening database Message-ID: <46B976F2B698FF46A4FE7636509B22DF7217@stekelbes.ithelps.local> I give it a shot. Because I believe the error is generated by the back-end and not the frontend. Only one user accesses the front-end. I dont really know where the error is generated, in the front or backend. I know it usualy, but not always, happens during the backup. So I supose Veritas backup makes a small or big lock before backing up. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stuart Sanders Verzonden: donderdag 6 november 2003 10:59 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Read-Only error message opening database Not an expert on the error, but I suspect access gives you that error before passing control to the database file. You should be able to test for it by putting a msgbox as the first action and then setting up the circumstances to cause the error. See which somes first ... The read only error or the message box. Not sure how complex your db is but one option would be to use a separate mdb to do the report changes, and programatically manipulate the target mdb directly via automation. Then you can can trap the read only state by testing for exclusive access. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > Sent: Thursday, 06 November, 2003 5:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Read-Only error message opening database > > > Strange, > > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > > I run an MDB (must be an MDB because I change programaticaly some > report > properties) every 5 minutes (24x7) with the task scheduler. I find > this technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same > moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > > But this stays on my server until I click on it. Thus preventing to > run the app next time. > > Can I trap this error and just exit if read-only? > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > > > Hi Terry - and welcome to the list! > > Adding to the comments of Charlotte and John, I find it strange that > you didn't receive this message when opening the Access 97 > database - unless > you ran that as a runtime? If so that should work for Access 2000 as > well. And, as Charlotte states, the changes that will not be save are > design changes not the data. > > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. > > /gustav > > > > I have just found this list so apologies if this question has been > > asked before (couldn't see it in the archives). > > > We have a database that is stored on a shared network drive > with the > > data > > itself in an SQL Server backend. For security reasons the > majority of > users > > have read-only access to the network drive where the database is > stored. With > > Access 97 this worked fine but the database has recently > been upgraded > to > > Access 2000 and now the users receive a message when they open the > database > > stating that it is read-only so they won't be able to save their > changes (which > > is incorrect as, of course, the updates are done on the SQL server > which they > > do have write access to). Not a major problem but very annoying and > confusing > > for the users. > > > Does anyone know how to disable this error message under > Access 2000? > > > Thanks, > > Terry Bradford > > (Canberra, Australia) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ 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 Thu Nov 6 10:01:52 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 6 Nov 2003 16:01:52 -0000 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <61F915314798D311A2F800A0C9C83188047C66E0@dibble.observatory.donnslaw.co.uk> Rick Fisher's Find and Replace. I don't know how I ever managed without it! I love it so much I paid the registration fee. :D www.rickworld.com Roz -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 06 November 2003 15:40 To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Nov 6 10:02:29 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 6 Nov 2003 11:02:29 -0500 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F82C@TTNEXCHSRV1.hshhp.com> SpeedFerret will do it for you. Jim DeMarco -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, November 06, 2003 10:40 AM To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Thu Nov 6 10:11:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:11:20 -0800 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: You'd have to use something like SpeedFerret from www.moshannon.com to find every instance of qryUnionAvailaibilityTables in the database. It will find them in queries, forms, reports, code, comments, etc. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, November 06, 2003 7:40 AM To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Thu Nov 6 10:11:35 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 6 Nov 2003 11:11:35 -0500 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <5F21A4E8B8DD734992EF9E70AC9D306412888D@mail2.wrsystems.com> Amen to that. I've got both the A97 and A2K versions. -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Thursday, November 06, 2003 11:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Find Every Occurance Of A Query Rick Fisher's Find and Replace. I don't know how I ever managed without it! I love it so much I paid the registration fee. :D www.rickworld.com Roz -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 06 November 2003 15:40 To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Thu Nov 6 10:12:26 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 6 Nov 2003 11:12:26 -0500 Subject: [AccessD] Omit Records from Report Total Message-ID: I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. In my report, I group on [Office], with [ProposalStatus] and [Amount] in the Detail section. In the [Office] Footer, I have a textbox with a control source of '=Sum([Amount])'. However, I have been informed that this textbox should not include records with a [ProposalStatus] of 'Lost'. Therefore, I need the textbox to be the total amount of all records that have a [ProposalStatus] <> 'Lost'. Is there any way to do this? Mark Boyd Sr. Systems Analyst McBee Associates, Inc. From Developer at UltraDNT.com Thu Nov 6 10:20:15 2003 From: Developer at UltraDNT.com (Developer) Date: Thu, 6 Nov 2003 11:20:15 -0500 Subject: [AccessD] Find Every Occurance Of A Query In-Reply-To: <12773941.1068133229930.JavaMail.www@wwinf3001> Message-ID: <002501c3a481$dcf6bcc0$7001a8c0@COA3> Paul: Dim a variable as a querydef, then loop throough all the query defs: Dim q as querydef Then use a For Each q in currentdb.querydefs. Inside the For, use instr to check for the name of the query you are looking for: L=instr(1, q.sql, "qryNameToCheck",vbtextcompare) If L ' then you have a match. The current value of q.name will tell you who's using it. You could use Redim Preserve to come back with an array of names that reference the query searched for. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, November 06, 2003 10:40 AM To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 6 10:22:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:22:20 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: I have to chime in on the other side. I've been building Access apps using bound forms (yes, JC, I *do* use bound forms ... just not *always*!) since Access 1. Anytime I've seen serious corruption, there has been a darn good reason for it, either between the chair and keyboard or within the network itself. I've always built my apps with multiple users in mind, but I've often heard the same urban legends. In fact, the truth depends on how the application is built. The people who knock Access generally know little about it and how it works or have never encountered a well-built Access application. Unfortunately, there are a large number of "practitioners" out there who call themselves Access developers because they've managed to build themselves a database that sort of does what they want. Their work tends to give Access development a bad name. I've cleaned up after some and it was NOT pretty! Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 05, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 6 10:23:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:23:24 -0800 Subject: [AccessD] Read-Only error message opening database Message-ID: True, but runtime is a separate issue entirely, with its own problems. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 05, 2003 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Read-Only error message opening database Although according to Gustav I think it was, running it under "run time" will prevent the error from showing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 9:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Read-Only error message opening database Design changes (like the paper size of a report) are handled in Access, not in SQL Server. Access 2000 and later do NOT allow users to make design changes to objects unless they have exclusive access to the database. Since your database is being shared, that would only be possible if a single user was in the database. Also, read-only access to that folder won't work because the users need to be able to create and/or write to the ldb file for the shared front end and to delete it when the last person exits. Charlotte Foust -----Original Message----- From: access at tlcbc.com.au [mailto:access at tlcbc.com.au] Sent: Wednesday, November 05, 2003 6:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Read-Only error message opening database Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 6 10:33:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 11:33:56 -0500 Subject: [AccessD] OT: Corrupted database In-Reply-To: Message-ID: ROTFL. >I've cleaned up after some and it was NOT pretty! Amen to THAT. Being bound / unbound appears to have little to do with anything when it comes to corruptions. A corruption occurs when JET attempts to save to a db and the connection is broken for some reason. That may be the computer turned off (power loss / off switch - at the WS OR THE SERVER OR THE ROUTER), or a flaky NIC, or a flaky cable, or a flaky router. This will occur whether it is a bound form doing the write or an unbound form doing the write. You can have a bound form open and staring at data and lose power with no ill effects, IF no write is occurring. Unfortunately these urban legends get started, and then just pick up a life of their own. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database I have to chime in on the other side. I've been building Access apps using bound forms (yes, JC, I *do* use bound forms ... just not *always*!) since Access 1. Anytime I've seen serious corruption, there has been a darn good reason for it, either between the chair and keyboard or within the network itself. I've always built my apps with multiple users in mind, but I've often heard the same urban legends. In fact, the truth depends on how the application is built. The people who knock Access generally know little about it and how it works or have never encountered a well-built Access application. Unfortunately, there are a large number of "practitioners" out there who call themselves Access developers because they've managed to build themselves a database that sort of does what they want. Their work tends to give Access development a bad name. I've cleaned up after some and it was NOT pretty! Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 05, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 6 10:35:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 17:35:30 +0100 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DC1@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DC1@stekelbes.ithelps.local> Message-ID: <19630705432.20031106173530@cactus.dk> Hi Erwin OK, but again, a write protected (during backup) backend should not cause a popup in the fronted (except if you try to write to it, of course), and why take backup of the frontend all day - you would be better off creating a working copy of it from a master file when launching. /gustav > The frontend runs every 5 minutes, I may quit inmediatly in this case > and do his thing the next time.... > This frontend is in the same folder as the data and runs on the server. > I supose I could split them up, but I need fast recovery times. So > that's why I like to keep them togheter. > This application has 4 front-ends and 2 backends. > 3 front-ends run on the server, 1 on the client pc's (local copy). > 1x Front-end is an intermidiate db for ASP/internet access. > 1x front-end collects E-mails, Faxes and FTP files on the server (checks > every 5 minutes) > 1x front-end generates Excel files and faxes a reports whenever asked by > ASP client or by internal client (checks every other 5 minutes). > Its the last two from which I Notice my problem. > Sometimes if I make a minor adjustment to the backend database and the > front-end (timer is up) runs, I have the same problem. > So I tought to catch the error when opening and if the database is in a > non-editable state to quit inmedatly and try again for next scheduled > run. > Erwin > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens Gustav Brock > Verzonden: donderdag 6 november 2003 11:03 > Aan: Access Developers discussion and problem solving > Onderwerp: Re: [AccessD] Read-Only error message opening database > Hi Erwin > But if you need to make design changes, how would you do that when the > file is read-only? And why do you need to backup the frontend six times > a day? > /gustav >> Strange, >> I was just gooing to ask a simular question. >> I wanted to know if I can trap this error? >> I run an MDB (must be an MDB because I change programaticaly some >> report >> properties) every 5 minutes (24x7) with the task scheduler. I find >> this technique more stable than leaving the MDB 24x7 open. >> Sometimes when the file is backupped or copied at the same moment I >> get this read-only message. >> The whole folder is backupped about 6 times a day so I do have this >> regulary. >> But this stays on my server until I click on it. Thus preventing to >> run the app next time. >> Can I trap this error and just exit if read-only? >> Erwin >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >> Brock >> Sent: Thursday, November 06, 2003 10:09 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Read-Only error message opening database >> Hi Terry - and welcome to the list! >> Adding to the comments of Charlotte and John, I find it strange that >> you didn't receive this message when opening the Access 97 database - >> unless you ran that as a runtime? If so that should work for Access >> 2000 as well. And, as Charlotte states, the changes that will not be >> save are design changes not the data. >> Another option could be to convert the database to an mde but other >> listers may chime in here as I have never had the need for an mde >> running other than for some tests. From HollisVJ at pgdp.usec.com Thu Nov 6 10:43:51 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 10:43:51 -0600 Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C865@cntexchange.pgdp.usec.com> Ok, can't seem to figure this out in Excel so going to use good ol' Access. I need to print a report that changes the date field for each work day of the year. For example, press print & it will print 240 (or however many work days there are in a year M-F) copies of a report and the date on each copy will increment. The report is 1 page. So, I need it to print one copy, increment the date by one working day, then print another copy until all copies are printed for the year. 1st copy - Thursday, 11/06/2003 2nd copy - Friday, 11/07/2003 3rd copy - Monday, 11/10/2003 etc. P.S. If anyone has any ideas how to do this in Excel or Access it doesn't matter. I would appreciate help either way. Virginia -----Original Message----- From: Hollis,Virginia Sent: Thursday, November 06, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: OT - Excel Increment Date Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.com From cfoust at infostatsystems.com Thu Nov 6 10:49:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:49:55 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: Don't forget flaky users in that list, John! Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 8:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database ROTFL. >I've cleaned up after some and it was NOT pretty! Amen to THAT. Being bound / unbound appears to have little to do with anything when it comes to corruptions. A corruption occurs when JET attempts to save to a db and the connection is broken for some reason. That may be the computer turned off (power loss / off switch - at the WS OR THE SERVER OR THE ROUTER), or a flaky NIC, or a flaky cable, or a flaky router. This will occur whether it is a bound form doing the write or an unbound form doing the write. You can have a bound form open and staring at data and lose power with no ill effects, IF no write is occurring. Unfortunately these urban legends get started, and then just pick up a life of their own. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database I have to chime in on the other side. I've been building Access apps using bound forms (yes, JC, I *do* use bound forms ... just not *always*!) since Access 1. Anytime I've seen serious corruption, there has been a darn good reason for it, either between the chair and keyboard or within the network itself. I've always built my apps with multiple users in mind, but I've often heard the same urban legends. In fact, the truth depends on how the application is built. The people who knock Access generally know little about it and how it works or have never encountered a well-built Access application. Unfortunately, there are a large number of "practitioners" out there who call themselves Access developers because they've managed to build themselves a database that sort of does what they want. Their work tends to give Access development a bad name. I've cleaned up after some and it was NOT pretty! Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 05, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Nov 6 11:00:03 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 11:00:03 -0600 Subject: [AccessD] Re: Open Word Document In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106105848.02887df0@pop3.highstream.net> Virginia, I get that when there has been a substitution for a font or something like that. We do not see it because Word does it automatically. Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Wed, 05 Nov 2003 15:09:24 -0600 >From: "Hollis,Virginia" >Subject: RE: [AccessD] Open Word Document >To: "'Access Developers discussion and problem solving'" > >Message-ID: > <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850 at cntexchange.pgdp.usec.com> >Content-Type: text/plain; charset=iso-8859-1 > >Perfect, thanks. > >When you open a document in Word is there anyway to prevent it from asking >if you want to save changes? Why does it show the Save message when no >changes have been made - only opened the document? I have noticed Excel does >the same thing, always wanting to save changes. > >Va. From prodevmg at yahoo.com Thu Nov 6 11:07:03 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 6 Nov 2003 09:07:03 -0800 (PST) Subject: [AccessD] Dynamic Calendar Report Message-ID: <20031106170703.95316.qmail@web20416.mail.yahoo.com> Is there any type of dynamic calendar that can come in report form in access? I want to be able to select any month and produce the appropriate calendar for that month. Also I want to be able to post items from a table into that calendar. Thanks in advance. Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From Mark.Mitsules at ngc.com Thu Nov 6 11:08:07 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 6 Nov 2003 12:08:07 -0500 Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Message-ID: Well, an easy way to get a list of these dates in Excel is to type your beginning date in a cell, highlight from that cell down the column to include the number of entries you wish, go to Edit/Fill/Series, choose Columns, Date, Weekday, OK. You could then use this list as the source for your loop logic. Mark -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, November 06, 2003 11:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Ok, can't seem to figure this out in Excel so going to use good ol' Access. I need to print a report that changes the date field for each work day of the year. For example, press print & it will print 240 (or however many work days there are in a year M-F) copies of a report and the date on each copy will increment. The report is 1 page. So, I need it to print one copy, increment the date by one working day, then print another copy until all copies are printed for the year. 1st copy - Thursday, 11/06/2003 2nd copy - Friday, 11/07/2003 3rd copy - Monday, 11/10/2003 etc. P.S. If anyone has any ideas how to do this in Excel or Access it doesn't matter. I would appreciate help either way. Virginia -----Original Message----- From: Hollis,Virginia Sent: Thursday, November 06, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: OT - Excel Increment Date Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.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 Nov 6 11:45:52 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 11:45:52 -0600 Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C86B@cntexchange.pgdp.usec.com> I figured it out - if anyone ever needs this. Thanks, Va. ******************** With Worksheets("Schedule") NumCopies = .Cells(5, 20).Value For i = 1 To NumCopies If Weekday(.Cells(3, 7), 2) = 6 Or Weekday(.Cells(3, 7), 2) = 7 Then GoTo Gin ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True Gin: .Cells(2, 19).Value = i Next i End With -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Thursday, November 06, 2003 11:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Increment Date - Was: OT - Excel Increment Date Well, an easy way to get a list of these dates in Excel is to type your beginning date in a cell, highlight from that cell down the column to include the number of entries you wish, go to Edit/Fill/Series, choose Columns, Date, Weekday, OK. You could then use this list as the source for your loop logic. Mark -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, November 06, 2003 11:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Ok, can't seem to figure this out in Excel so going to use good ol' Access. I need to print a report that changes the date field for each work day of the year. For example, press print & it will print 240 (or however many work days there are in a year M-F) copies of a report and the date on each copy will increment. The report is 1 page. So, I need it to print one copy, increment the date by one working day, then print another copy until all copies are printed for the year. 1st copy - Thursday, 11/06/2003 2nd copy - Friday, 11/07/2003 3rd copy - Monday, 11/10/2003 etc. P.S. If anyone has any ideas how to do this in Excel or Access it doesn't matter. I would appreciate help either way. Virginia -----Original Message----- From: Hollis,Virginia Sent: Thursday, November 06, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: OT - Excel Increment Date Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Nov 6 11:50:24 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 6 Nov 2003 17:50:24 -0000 Subject: [AccessD] Find Every Occurance Of A Query In-Reply-To: <12773941.1068133229930.JavaMail.www@wwinf3001> Message-ID: <00d701c3a48e$77f6a530$b274d0d5@minster33c3r25> Paul Here's some code. Just call it from the immediate window as in: ? SrchQdefs("qryUnionAvailabilityTables") Function SrchQdefs(strSrch as String) 'Pass all queries and searches for a given string in the SQL Dim db As Database Dim qry As QueryDef Dim Mysql As String Set db = CurrentDb() For Each qry In db.QueryDefs If InStr(1, qry.SQL, Srch) <> 0 Then Debug.Print qry.Name End If Next qry Set db=Nothing End Function HTH Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > paul.hartland at fsmail.net > Sent: 06 November 2003 15:40 > To: accessd > Subject: [AccessD] Find Every Occurance Of A Query > > > To all, > I have a query named qryUnionAvailabilityTables, is there > anyway I can find out any other Query that uses > aryUnionAvailabilityTables without going and looking at > everyone of them, i.e. some code to loop through all the > queries I have looking for this etc. I would look manually > but we have over 250 queries in our main database. Thanks for > any help in advance....... Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From MarkBoyd at McBeeAssociates.com Thu Nov 6 11:49:06 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 6 Nov 2003 12:49:06 -0500 Subject: [AccessD] SOLVED: Omit Records from Report Total Message-ID: I resolved this issue by simply creating another field in the table, and running an update query to populate this field with the amount only if [ProposalStatus] <> 'Lost'. I then changed the textboxes on the report to sum this new field. Mark -----Original Message----- From: Mark Boyd Sent: Thursday, November 06, 2003 11:12 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Omit Records from Report Total I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. In my report, I group on [Office], with [ProposalStatus] and [Amount] in the Detail section. In the [Office] Footer, I have a textbox with a control source of '=Sum([Amount])'. However, I have been informed that this textbox should not include records with a [ProposalStatus] of 'Lost'. Therefore, I need the textbox to be the total amount of all records that have a [ProposalStatus] <> 'Lost'. Is there any way to do this? Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 6 12:08:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 13:08:20 -0500 Subject: [AccessD] running code in a database without referencing the db Message-ID: Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com From Mark.Mitsules at ngc.com Thu Nov 6 13:06:27 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 6 Nov 2003 14:06:27 -0500 Subject: [AccessD] running code in a database without referencing the db Message-ID: You don't ask for much do you? ;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 6 13:10:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 6 Nov 2003 13:10:43 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274E9@main2.marlow.com> Through automation. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 6 13:13:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 6 Nov 2003 13:13:43 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE0E2@TAPPEEXCH01> Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jcolby at colbyconsulting.com Thu Nov 6 13:14:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 14:14:52 -0500 Subject: [AccessD] running code in a database without referencing the db In-Reply-To: Message-ID: I try to only post the simple requests. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, November 06, 2003 2:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db You don't ask for much do you? ;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.Carter at telus.com Thu Nov 6 13:20:06 2003 From: Elizabeth.Carter at telus.com (Elizabeth Carter) Date: Thu, 6 Nov 2003 11:20:06 -0800 Subject: [AccessD] A2K: Testing for NULLS in a Query Message-ID: Hi Darren, You could try doing a select query for you student ID assessment ID combination and if no rows are returned run the append query. Liz -----Original Message----- From: Robin Lawrence [mailto:rgilimited at btconnect.com] Sent: November 6, 2003 12:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Testing for NULLS in a Query Darren, Have you tried IsNull([tblResults]![AssesmentID]) OR IsNull([tblResults]![StudentID]) Or move the second criteria to the second row of the query grid Rgds Robin Lawrence -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: 06 November 2003 05:00 To: AccessD List Subject: [AccessD] A2K: Testing for NULLS in a Query Hello all I have a Table that holds a swag of various ID's called tblResults Many fields but of interest here is... StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) I perform an append query if the one of the ID's is missing (using IS NULL in the criteria as per the find Unmatched Query Wizard) So I have a student (StudentID = 2 ) who does as assessment (AssessmentID = 55) Quite simply if there is no occurence of the Assessment ID 55 (ie Is null in the Criteria of the Append Query) Excellent then the Append query sparks up and all is well. Small snag though. Many students may sit assessment no 55. So there may be no occurence of AssessmentID 55 for student no 2 but there may be an occurence of it for say...Student Number 1 or others As a result the Is Null Criteria is false and doesn't spark the append query Because there IS an assessment 55 in the Results Table only it belongs to Student no 1 not student no 2 How do I test for Null in 2 fields in order to spark up the append query. IE there may be an AssesmentID of 55 in the table but for Student ID 1 So... How do I test for Is Null Assessment ID 55 AND isNull student ID2 I have discovered it is not as simple as putting Is Null in the Critera for Assessment ID and Is Null for Criteria For Student ID I have also tried IsNull([tblResults]![AssesmentID]) And IsNull([tblResults]![StudentID]) no joy 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 jcolby at colbyconsulting.com Thu Nov 6 13:30:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 14:30:33 -0500 Subject: [AccessD] running code in a database without referencing the db In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE0E2@TAPPEEXCH01> Message-ID: I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Thu Nov 6 13:38:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 6 Nov 2003 13:38:08 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274EC@main2.marlow.com> With automation, you can call a function in another instance of Access. I believe it's 'CallFunction' (little hazy this morning). You can also grab an existing instance of Access. So would grabbing an existing instance of Access, then using the CallFunction through automation work? Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Thu Nov 6 13:43:59 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 06 Nov 2003 12:43:59 -0700 Subject: [AccessD] running code in a database without referencing the db Message-ID: As an attempt at a possible solution, I defined a function that was called by a query in mdb1. I then created a query in mdb2 named functionName with an IN clause that referenced the query in mdb1 and it returned an "Undefined function 'functionName' in Expression' message. I then defined a different function with the name 'functionName' in mdb2 and ran the query in mdb2 and the resulting recordset used the calculation from mdb2 while the function in mdb1 was not called. In any event, using a query with a calculated field that calculates one time is not able to call a function in its own container mdb as I had thought it might. The function must be defined in the application. I can't imagine any other way of trying this without a reference to the container application. Good luck but you will probably have to create the reference on the fly. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] running code in a database without referencing the db >Date: Thu, 6 Nov 2003 13:08:20 -0500 > >Is it possible to call a function in another database without referencing >that db? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >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&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca From rl_stewart at highstream.net Thu Nov 6 13:55:27 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 13:55:27 -0600 Subject: [AccessD] Re: Read-Only error message opening database In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106133601.028d7e58@pop3.highstream.net> Terry, Have you converted the MDBs from 97 to 2000. That may be the reason they are getting me message. Also, how are your permissions setup on SQL Server? Have you thought of changing to ADPs? Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Thu, 6 Nov 2003 15:02:58 +1300 >From: access at tlcbc.com.au >Subject: [AccessD] Read-Only error message opening database >To: accessd at databaseadvisors.com >Message-ID: <1068084178.3fa9abd2322e1 at 210.55.105.82> >Content-Type: text/plain; charset=ISO-8859-1 > > >Hi! > >I have just found this list so apologies if this question has been asked >before >(couldn't see it in the archives). > >We have a database that is stored on a shared network drive with the data >itself in an SQL Server backend. For security reasons the majority of users >have read-only access to the network drive where the database is >stored. With >Access 97 this worked fine but the database has recently been upgraded to >Access 2000 and now the users receive a message when they open the database >stating that it is read-only so they won't be able to save their changes >(which >is incorrect as, of course, the updates are done on the SQL server which they >do have write access to). Not a major problem but very annoying and >confusing >for the users. > >Does anyone know how to disable this error message under Access 2000? > >Thanks, >Terry Bradford From cfoust at infostatsystems.com Thu Nov 6 14:04:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 12:04:12 -0800 Subject: [AccessD] running code in a database without referencing the db Message-ID: John, Why don't you just put the generic code you need into a code library and reference that from both your application and your generic process? It sounds like you've got a snake swallowing its tail. Wizards are supposed to be freestanding. They shouldn't call processes in the FE for the very reason you're tripping over. Make the FE use the wizard, not the other way around, or use a code library. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 6 14:04:13 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 6 Nov 2003 14:04:13 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE0E4@TAPPEEXCH01> Aha! I see... The Access.Application object has a method called "Run" that will allow external applications to execute global procedures. If the wizard knew the filepath of the FE, it could reference it in a procedure using GetObject: Dim objAccFE As Object Set objAccFE = GetObject(mstrAccFEPath, "Access.Application") objAccFE.Run "ProcName", "Arg1", "Arg2" Set objAccFE = Nothing By setting procedure-level object references and destroying them when you're done, you shouldn't have any problems with circular references. Also, a nice feature of the Run method is that the procedure name and arguments can come from variables or table data, giving you complete flexibility in a "table-driven" system. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From rl_stewart at highstream.net Thu Nov 6 14:06:31 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 14:06:31 -0600 Subject: [AccessD] Re: OT: Corrupted database In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106135723.029ad340@pop3.highstream.net> Jim, Personally, I do everything bound. I have an Access 2 db that is still running with up to 80 concurrent users and a size of about 500 meg. In every application I do, no one shares a FE db. I have one attaching to SQL Server that the BE is about 1.5 gig. One table is over 3/4 of a million records. No problems. I am currently working on moving it to an ADP and then to an ASP.NET application. And, since when is Access not based on SQL technology???? Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Wed, 05 Nov 2003 19:32:13 -0800 >From: "Jim Lawrence (AccessD)" >Subject: RE: [AccessD] OT: Corrupted database >To: Access Developers discussion and problem solving > >Message-ID: >Content-Type: text/plain; charset=iso-8859-1 > >Hi John and Stuart: > >Not trying to re-kindle the bound/unbound debate but as most of my contracts >are with the local provincial government and they have a specific rule. All >databases with greater than ten users must be build on SQL technology. That >technology extends to Oracle and sometime MS SQL and unbound forms. >Therefore, I have little opportunity experiment with Access environments >with a large user base. The closest I came to a significant bound Access >database was a private client with just under twenty users but they moved >their server to Linux and subsequently a MySQL BE. > >Maybe all these concerns with larger Access bound form applications, are >part of a local urban legend, or Database companies and DBAs who wish to >promote the myth to their own end but I for one have not had great memories >with a couple of applications. Once burned...twice shy. > >My two cents worth >Jim From lists at theopg.com Thu Nov 6 14:19:05 2003 From: lists at theopg.com (MarkH) Date: Thu, 6 Nov 2003 20:19:05 -0000 Subject: [AccessD] Passive shutdown.... Driving me mad In-Reply-To: <006401c3a3b5$2aaf1070$6501a8c0@HAL9002> Message-ID: <001501c3a4a3$455ad0f0$590b6bd5@netboxxp> Hi all... I have a database (Access XP 2002 format) on widows XP, data in a separate backend etc. When I try to connect to the front-end (generating reports using ADO in Excel from temp data stored in the FE) I get the following message: "The database has been placed in a state by user on machine that prevents it from being opened or locked. (Error 3734) This error occurs when the new passive shutdown/connection control is being used. This error message indicates that a user set the database in a mode that will prevent other users from opening it." I have looked in the help and searched the archives and can't figure it out. The backends access, not SQL Server, I'm the only user (at present) and I haven't opened the database exclusively or messed with this "damned" connection control... Any one out there know whats going on? (apart from me climbing the walls that is) Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From DWUTKA at marlow.com Thu Nov 6 14:23:11 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 6 Nov 2003 14:23:11 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274ED@main2.marlow.com> There ya go. Run. New I had it wrong....but hey, just starting my first cup of coffee right now. Drew -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 06, 2003 2:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Aha! I see... The Access.Application object has a method called "Run" that will allow external applications to execute global procedures. If the wizard knew the filepath of the FE, it could reference it in a procedure using GetObject: Dim objAccFE As Object Set objAccFE = GetObject(mstrAccFEPath, "Access.Application") objAccFE.Run "ProcName", "Arg1", "Arg2" Set objAccFE = Nothing By setting procedure-level object references and destroying them when you're done, you shouldn't have any problems with circular references. Also, a nice feature of the Run method is that the procedure name and arguments can come from variables or table data, giving you complete flexibility in a "table-driven" system. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 6 15:02:17 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 06 Nov 2003 15:02:17 -0600 Subject: [AccessD] Omit Records from Report Total Message-ID: I would do this with a query over the table with a second field for the Amount that had a value of something like; AmountForNotLost: iif([ProposalStatus] = 'Lost',0,[Amount[) and then use that query as the record source for the report and just total on the AmountForNotLost instead of - or in addition to the regulare Amount field. Gary Kjos garykjos at hotmail.com >From: "Mark Boyd" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Omit Records from Report Total >Date: Thu, 6 Nov 2003 11:12:26 -0500 > >I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > >In my report, I group on [Office], with [ProposalStatus] and [Amount] in >the Detail section. > >In the [Office] Footer, I have a textbox with a control source of >'=Sum([Amount])'. > >However, I have been informed that this textbox should not include >records with a [ProposalStatus] of 'Lost'. > >Therefore, I need the textbox to be the total amount of all records that >have a [ProposalStatus] <> 'Lost'. > > > >Is there any way to do this? > > > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From rl_stewart at highstream.net Thu Nov 6 15:11:09 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 15:11:09 -0600 Subject: [AccessD] Re: A2K: Testing for NULLS in a Query In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106150634.02921e88@pop3.highstream.net> Darren, I would do it in code and not in queries. The first one would be a recordset for each student. SELECT StudentID FROM tblStudent: Go to the first record loop until rs1.eof check in a second recordset for the Assessment for that StudentID SELECT * FROM tblAssessment WHERE StudentID = rs1!StudentID if rs2.bof and rs2.eof ' no records found then append the record end if move to the next record of rs1 loop back up there it is in pseudo-code. Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Thu, 6 Nov 2003 16:00:10 +1100 >From: "Darren DICK" >Subject: [AccessD] A2K: Testing for NULLS in a Query >To: "AccessD List" >Message-ID: <00f101c3a422$dba47f60$3c619a89 at DDICK> >Content-Type: text/plain; charset="iso-8859-1" > >Hello all >I have a Table that holds a swag of various ID's called tblResults >Many fields but of interest here is... >StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) > >I perform an append query if the one of the ID's is missing >(using IS NULL in the criteria as per the find Unmatched Query Wizard) > >So I have a student (StudentID = 2 ) who does as assessment (AssessmentID >= 55) > >Quite simply if there is no occurence of the Assessment ID 55 (ie Is null >in the Criteria of the Append Query) >Excellent then the Append query sparks up and all is well. > >Small snag though. Many students may sit assessment no 55. So there may >be no occurence of AssessmentID 55 >for student no 2 but there may be an occurence of it for say...Student >Number 1 or others > >As a result the Is Null Criteria is false and doesn't spark the append >query Because there IS an assessment 55 in the >Results Table only it belongs to Student no 1 not student no 2 > >How do I test for Null in 2 fields in order to spark up the append query. >IE there may be an AssesmentID of 55 in the table but for Student ID 1 >So... >How do I test for Is Null Assessment ID 55 AND isNull student ID2 >I have discovered it is not as simple as putting Is Null in the Critera >for Assessment ID and Is Null for Criteria For Student ID >I have also tried IsNull([tblResults]![AssesmentID]) And >IsNull([tblResults]![StudentID]) no joy > >Many thanks in advance > > >Darren From MarkBoyd at McBeeAssociates.com Thu Nov 6 15:12:26 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 6 Nov 2003 16:12:26 -0500 Subject: [AccessD] Omit Records from Report Total Message-ID: Gary - That's a good idea. I actually created a new field and updated it with the same criteria you are using. Then, I used this new field for the totals. Although, your idea involves less work. Thanks, Mark -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Thursday, November 06, 2003 4:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Omit Records from Report Total I would do this with a query over the table with a second field for the Amount that had a value of something like; AmountForNotLost: iif([ProposalStatus] = 'Lost',0,[Amount[) and then use that query as the record source for the report and just total on the AmountForNotLost instead of - or in addition to the regulare Amount field. Gary Kjos garykjos at hotmail.com >From: "Mark Boyd" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Omit Records from Report Total >Date: Thu, 6 Nov 2003 11:12:26 -0500 > >I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > >In my report, I group on [Office], with [ProposalStatus] and [Amount] in >the Detail section. > >In the [Office] Footer, I have a textbox with a control source of >'=Sum([Amount])'. > >However, I have been informed that this textbox should not include >records with a [ProposalStatus] of 'Lost'. > >Therefore, I need the textbox to be the total amount of all records that >have a [ProposalStatus] <> 'Lost'. > > > >Is there any way to do this? > > > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! 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 reuben at gfconsultants.com Thu Nov 6 15:22:27 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 6 Nov 2003 16:22:27 -0500 Subject: [AccessD] Median Number Message-ID: Anyone have a good way to find the median value in a table of unkown number of records? I can't find anything in Access and I have some ideas, but I hate to re-invent the wheel. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From EdTesiny at oasas.state.ny.us Thu Nov 6 15:40:16 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 6 Nov 2003 16:40:16 -0500 Subject: [AccessD] Median Number Message-ID: Rueben, Take a look at this link: http://support.microsoft.com/default.aspx?scid=kb;DA;q210581 Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, November 06, 2003 4:22 PM To: AccessD Subject: [AccessD] Median Number Anyone have a good way to find the median value in a table of unkown number of records? I can't find anything in Access and I have some ideas, but I hate to re-invent the wheel. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Nov 6 15:46:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 13:46:38 -0800 Subject: [AccessD] Export Access Report to Word Message-ID: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software From cfoust at infostatsystems.com Thu Nov 6 15:58:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 13:58:11 -0800 Subject: [AccessD] Export Access Report to Word Message-ID: I don't know of any easy way. We do screen captures of ours for that purpose, since rtf is useless for graphics. Or you can print them to a pdf printer . Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 06, 2003 1:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Export Access Report to Word Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software _______________________________________________ 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 Nov 6 16:39:23 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Nov 2003 08:39:23 +1000 Subject: [AccessD] Omit Records from Report Total In-Reply-To: Message-ID: <3FAB5A3B.23650.1ED3C7@localhost> Use: =Sum(IIf([ProposalStatus]="Lost",0,[Amount]) On 6 Nov 2003 at 11:12, Mark Boyd wrote: > I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > > In my report, I group on [Office], with [ProposalStatus] and [Amount] in > the Detail section. > > In the [Office] Footer, I have a textbox with a control source of > '=Sum([Amount])'. > > However, I have been informed that this textbox should not include > records with a [ProposalStatus] of 'Lost'. > > Therefore, I need the textbox to be the total amount of all records that > have a [ProposalStatus] <> 'Lost'. > > > > Is there any way to do this? > > > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc. > > > > _______________________________________________ > 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 sgoodhall at comcast.net Thu Nov 6 17:55:39 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Thu, 6 Nov 2003 18:55:39 -0500 Subject: [AccessD] OT Access Traffic Query In-Reply-To: <3FAAD907.13187.768AC@localhost> Message-ID: A couple of points (3 actually) 1. Even if you split it, the processing will still all take place on the desktop. The primary benefits of splitting have to do compressibility and version control. 2. It is a good idea to split it anyway, and not that tough. 3. Even if you use SQL or MSDE, it is still pretty easy to mess it up so that the processing takes place on the desktop. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, November 06, 2003 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Access Traffic Query On 6 Nov 2003 at 13:24, paul.hartland at fsmail.net wrote: > To all, We have a Win2000 Server network with Office XP Professional > using Access XP, we don't have a front-end or back-end to this system > (I inherited it, lucky me). So everyone has a shortcut to the .mdb on > the Server, when a query is run on the .mdb is it the Server that will > do the processing or the desktop unit of the user ? Anybody know how it > actually works, cause I may have to modify the Aplication. Paul The desktop does all the processing. It is behaving exactly it would if the application was on a local disk (only it takes longer to pull everything over the network than it would from a local drive). -- 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 scapistrant at symphonyinfo.com Thu Nov 6 19:03:54 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 6 Nov 2003 19:03:54 -0600 Subject: [AccessD] Method 'SourceObject' of object... In-Reply-To: Message-ID: Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 From cfoust at infostatsystems.com Thu Nov 6 19:28:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 17:28:33 -0800 Subject: [AccessD] Method 'SourceObject' of object... Message-ID: Is that the literal error message, or do 'SourceObject' and '_SubForm' stand as placeholders? What version of Access are you using and What file format? Are you getting the message when someone attempts to run the application using the runtime engine or is it an error that *happens* at runtime? Is the error triggered on methods like "ControlSource" or did you mean "SourceObject" rather than what you typed? Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Thu Nov 6 19:28:56 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 6 Nov 2003 19:28:56 -0600 Subject: [AccessD] Method 'SourceObject' of object... In-Reply-To: Message-ID: And I've started from scratch using a virgin database and importing all objects. Still no go. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Capistrant Sent: Thursday, November 06, 2003 7:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Nov 6 19:44:44 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 06 Nov 2003 17:44:44 -0800 Subject: [AccessD] Passive shutdown.... Driving me mad References: <001501c3a4a3$455ad0f0$590b6bd5@netboxxp> Message-ID: <3FAAF90C.5030006@shaw.ca> Some things to check http://support.microsoft.com/?kbid=274211 http://support.microsoft.com/?kbid=198756 On some versions of Access when you use "File | Open..." instead of using the shortcut, you will see a checkbox on the file open dialog with "Exclusive" next to it. Make sure you don't open the db with this checked. Error 3734 This error occurs when the new passive shutdown / connection control is being used. This indicates that a user set the database in a mode that prevents other database users from opening it." When all users close the database, is there a locking file left behind? It will be in the same folder as your database with the same name and the extension .ldb. Delete it this file, it should be deleted when the last user closes the database. You may need to reboot if windows will not let you delete the file. If this does not resolve the problem, you may wish to create a new database and import all objects from the old database in case the database file is corrupted. Related article: Q274211 - PRB: Error Msg. 3734 Occurs When You Repeatedly Open & Close MDB http://support.microsoft.com/support/kb/articles/q274/2/11.asp MarkH wrote: >Hi all... > >I have a database (Access XP 2002 format) on widows XP, data in a >separate backend etc. When I try to connect to the front-end (generating >reports using ADO in Excel from temp data stored in the FE) I get the >following message: > >"The database has been placed in a state by user on machine >that prevents it from being opened or locked. (Error 3734) >This error occurs when the new passive shutdown/connection control is >being >used. This error message indicates that a user set the database in a >mode >that will prevent other users from opening it." > >I have looked in the help and searched the archives and can't figure it >out. The backends access, not SQL Server, I'm the only user (at present) >and I haven't opened the database exclusively or messed with this >"damned" connection control... > >Any one out there know whats going on? (apart from me climbing the walls >that is) > >Cheers > >Mark > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From scapistrant at symphonyinfo.com Thu Nov 6 19:55:18 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 6 Nov 2003 19:55:18 -0600 Subject: [AccessD] Method 'SourceObject' of object... In-Reply-To: Message-ID: Charlotte, 1. Yes, that's the literal message, referring to object names that are not found anywhere in my code or object set. 2. Using Access 2000. 3. I don't understand your distinction about runtime engines. The app compiles cleanly, and compacts without complaint. But when I start hitting a few areas with subforms, I get a hailstorm of these errors. I can turn on error pausing and see where it trips up, and the code lines are all different, but they do have the common thread of assigning various subform names to the container form's subform's SourceObject. 4. Oops, you are right -- I meant "SourceObject". The offending lines read like: forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 7:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Method 'SourceObject' of object... Is that the literal error message, or do 'SourceObject' and '_SubForm' stand as placeholders? What version of Access are you using and What file format? Are you getting the message when someone attempts to run the application using the runtime engine or is it an error that *happens* at runtime? Is the error triggered on methods like "ControlSource" or did you mean "SourceObject" rather than what you typed? Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GordonS2 at pacbell.net Thu Nov 6 23:41:40 2003 From: GordonS2 at pacbell.net (Gordon Stubbs) Date: Thu, 6 Nov 2003 21:41:40 -0800 Subject: [AccessD] Export Access Report to Word In-Reply-To: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Message-ID: <000701c3a4f1$d2c97ec0$0200a8c0@Home1> Rocky, I use ScreenHunter. This program lets me capture any screen by full screen, active window or by click and drag. The program will auto name the files using a base name and a changing number to any directory I want. The program saves In Bitmap, Jpeg or Gif formats. I then import them into word and size them and write my manual around them. The best part is the program is free, they also have a paid version that does more. You can go to their website http://www.wisdom-soft.com/ or email me at my address GordonS at GSDbSolutions.com and I'll send the free program to you.\ The program is 381KB in size. Gordon -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, November 06, 2003 1:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Export Access Report to Word Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software _______________________________________________ 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 Nov 6 20:57:23 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Nov 2003 12:57:23 +1000 Subject: [AccessD] Export Access Report to Word In-Reply-To: <000701c3a4f1$d2c97ec0$0200a8c0@Home1> References: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Message-ID: <3FAB96B3.31294.B69EF@localhost> The freeware Irfanview is also a good tool for this sort of thing. http://www.irfanview.com On 6 Nov 2003 at 21:41, Gordon Stubbs wrote: > Rocky, > > I use ScreenHunter. This program lets me capture any screen by full > screen, active window or by click and drag. The program will auto name > the files using a base name and a changing number to any directory I > want. The program saves In Bitmap, Jpeg or Gif formats. > > I then import them into word and size them and write my manual around > them. > > The best part is the program is free, they also have a paid version that > does more. > > You can go to their website http://www.wisdom-soft.com/ or email me at > my address GordonS at GSDbSolutions.com and I'll send the free program to > you.\ > The program is 381KB in size. > > > Gordon > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, November 06, 2003 1:47 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Export Access Report to Word > > Dear List: > > I need to find a way to get a number of reports from an application into > a format that can be imported into Word. It's for a user manual. Its > for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Thu Nov 6 21:41:57 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 19:41:57 -0800 Subject: [AccessD] Export Access Report to Word References: <000701c3a4f1$d2c97ec0$0200a8c0@Home1> Message-ID: <03ca01c3a4e1$18379ac0$6501a8c0@HAL9002> Gordon and Stuart: I've tried the screen captures but they didn't work. Most of the reports are in landscape and by the time I display the whole page on the screen the resolution is too low to make a good printable page in a word doc. What I really need is a way to output the report to a format that can be imported into Word - like a jpg format, perhaps. I tried snapview but the .snp format isn't compatible with anything. I tried cutepdf but the .pdf format isn't compatible with anything either. :( Rocky ----- Original Message ----- From: "Gordon Stubbs" To: Sent: Thursday, November 06, 2003 9:41 PM Subject: RE: [AccessD] Export Access Report to Word > Rocky, > > I use ScreenHunter. This program lets me capture any screen by full > screen, active window or by click and drag. The program will auto name > the files using a base name and a changing number to any directory I > want. The program saves In Bitmap, Jpeg or Gif formats. > > I then import them into word and size them and write my manual around > them. > > The best part is the program is free, they also have a paid version that > does more. > > You can go to their website http://www.wisdom-soft.com/ or email me at > my address GordonS at GSDbSolutions.com and I'll send the free program to > you.\ > The program is 381KB in size. > > > Gordon > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, November 06, 2003 1:47 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Export Access Report to Word > > Dear List: > > I need to find a way to get a number of reports from an application into > a format that can be imported into Word. It's for a user manual. Its > for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 bchacc at san.rr.com Thu Nov 6 22:23:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 20:23:31 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <03e901c3a4e6$e6ecae50$6501a8c0@HAL9002> Charlotte: I tried printing to pdf using cutepdf and it worked real well except now how do I get it into a word doc for the manual? Is there a way to do that? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, November 06, 2003 1:58 PM Subject: RE: [AccessD] Export Access Report to Word > I don't know of any easy way. We do screen captures of ours for that > purpose, since rtf is useless for graphics. Or you can print them to a > pdf printer . > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Thursday, November 06, 2003 1:47 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Export Access Report to Word > > > Dear List: > > I need to find a way to get a number of reports from an application into > a format that can be imported into Word. It's for a user manual. Its > for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 ssharkins at bellsouth.net Thu Nov 6 22:31:24 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 6 Nov 2003 23:31:24 -0500 Subject: [AccessD] Export Access Report to Word References: <03e901c3a4e6$e6ecae50$6501a8c0@HAL9002> Message-ID: <000c01c3a4e8$10b60c80$210110ac@SUSANONE> Doesn't CutePDF export? Susan H. > Charlotte: > > I tried printing to pdf using cutepdf and it worked real well except now how > do I get it into a word doc for the manual? Is there a way to do that? > From stuart at pacific.net.hk Thu Nov 6 22:50:33 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 7 Nov 2003 12:50:33 +0800 Subject: [AccessD] Export Access Report to Word In-Reply-To: <03e901c3a4e6$e6ecae50$6501a8c0@HAL9002> Message-ID: Just did a quick search. While this isn't free, it seems to do what you need. http://www.print-driver.com/ What it does is install a new printer driver. When you choose to print to this, it will render the print output to an image file. There maybe a free alterative if someone does a search. I found another one that is shareware. http://www.newfreeware.com/search.php3?q=image+print+driver Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Friday, 07 November, 2003 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Charlotte: > > I tried printing to pdf using cutepdf and it worked real well > except now how > do I get it into a word doc for the manual? Is there a way > to do that? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 06, 2003 1:58 PM > Subject: RE: [AccessD] Export Access Report to Word > > > > I don't know of any easy way. We do screen captures of > ours for that > > purpose, since rtf is useless for graphics. Or you can > print them to a > > pdf printer . > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > > Sent: Thursday, November 06, 2003 1:47 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Export Access Report to Word > > > > > > Dear List: > > > > I need to find a way to get a number of reports from an > application into > > a format that can be imported into Word. It's for a user > manual. Its > > for the Appendix - sample reports from the app. > > > > I have used the ReportUtilities download (can't remember where I got > > it), which worked well on the last manual but the reports had very > > little formatting and graphics. > > > > The reports I'm trying to do need to show all the boxes and > lines. And > > since the manual changes I don't want to go through that > handcrafting > > this of printing the blank pages with the page numbers, headers and > > footers, and then trying to use those to print the reports on them > > directly. Love to get these reports into Word where I can > crop and zoom > > etc. > > > > Does anyone know how this can be done? > > > > Regards, > > > > 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 martyconnelly at shaw.ca Thu Nov 6 22:59:20 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 06 Nov 2003 20:59:20 -0800 Subject: [AccessD] Method 'SourceObject' of object... References: Message-ID: <3FAB26A8.3050601@shaw.ca> I just wonder if it could be something along these lines To refer to a control on a subform, use the following syntax: Forms![main form name]![subform control name].Form![control name] It is important to note that you cannot refer to controls on a subform with the following syntax: Forms![subform name]![control name] This is because a subform on a main form is not a form, but is a control just like a text box or a list box. You must refer to a subform as a control rather than a form, and specify the Form identifier following the subform control name reference to gain access to the controls on a subform. ACC2000: How to Refer to a Control on a Subform or Subreport http://support.microsoft.com/default.aspx?scid=kb;en-us;209099&Product=acc Steve Capistrant wrote: >Charlotte, > >1. Yes, that's the literal message, referring to object names that are not >found anywhere in my code or object set. >2. Using Access 2000. >3. I don't understand your distinction about runtime engines. The app >compiles cleanly, and compacts without complaint. But when I start hitting >a few areas with subforms, I get a hailstorm of these errors. I can turn on >error pausing and see where it trips up, and the code lines are all >different, but they do have the common thread of assigning various subform >names to the container form's subform's SourceObject. >4. Oops, you are right -- I meant "SourceObject". The offending lines read >like: >forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Thursday, November 06, 2003 7:29 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Method 'SourceObject' of object... > > >Is that the literal error message, or do 'SourceObject' and '_SubForm' >stand as placeholders? What version of Access are you using and What >file format? Are you getting the message when someone attempts to run >the application using the runtime engine or is it an error that >*happens* at runtime? Is the error triggered on methods like >"ControlSource" or did you mean "SourceObject" rather than what you >typed? > >Charlotte Foust > >-----Original Message----- >From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] >Sent: Thursday, November 06, 2003 5:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Method 'SourceObject' of object... > > >Help!! Our main database has been corrupted, displaying this: > >" Run-time Error '-2147417848 (80010108): Method 'SourceObject' of >object '_SubForm' failed " > >from a variety of contexts. How do I shake it? Nothing in MSKB. >We're >using Source Safe, and even totally rebuilt versions still have the >corruption, and it happens on all workstations. Triggered on lines like >this: >forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Thu Nov 6 23:44:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 21:44:29 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <043b01c3a4f2$3692ff30$6501a8c0@HAL9002> Stuart: Thanks for the links. The second one looks like a screen capture so I don't think it will do but the first one seems to work well in the demo. It's $70 for the business version, but I may have to bite that bullet if I can't figure another way. It makes very nice jpg files which you can import to word and stretch to fit the page. Regards, Rocky ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 06, 2003 8:50 PM Subject: RE: [AccessD] Export Access Report to Word Just did a quick search. While this isn't free, it seems to do what you need. http://www.print-driver.com/ What it does is install a new printer driver. When you choose to print to this, it will render the print output to an image file. There maybe a free alterative if someone does a search. I found another one that is shareware. http://www.newfreeware.com/search.php3?q=image+print+driver Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Friday, 07 November, 2003 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Charlotte: > > I tried printing to pdf using cutepdf and it worked real well > except now how > do I get it into a word doc for the manual? Is there a way > to do that? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 06, 2003 1:58 PM > Subject: RE: [AccessD] Export Access Report to Word > > > > I don't know of any easy way. We do screen captures of > ours for that > > purpose, since rtf is useless for graphics. Or you can > print them to a > > pdf printer . > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > > Sent: Thursday, November 06, 2003 1:47 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Export Access Report to Word > > > > > > Dear List: > > > > I need to find a way to get a number of reports from an > application into > > a format that can be imported into Word. It's for a user > manual. Its > > for the Appendix - sample reports from the app. > > > > I have used the ReportUtilities download (can't remember where I got > > it), which worked well on the last manual but the reports had very > > little formatting and graphics. > > > > The reports I'm trying to do need to show all the boxes and > lines. And > > since the manual changes I don't want to go through that > handcrafting > > this of printing the blank pages with the page numbers, headers and > > footers, and then trying to use those to print the reports on them > > directly. Love to get these reports into Word where I can > crop and zoom > > etc. > > > > Does anyone know how this can be done? > > > > Regards, > > > > 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 > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From allcop.pc at t-online.de Fri Nov 7 01:40:14 2003 From: allcop.pc at t-online.de (Bettina Giehr) Date: Fri, 7 Nov 2003 08:40:14 +0100 Subject: [AccessD] Re : dynamic Calendar report In-Reply-To: <200311061800.hA6I0H626404@databaseadvisors.com> Message-ID: <000001c3a502$64868140$0933a8c0@allcopgiehr> Hi Lonnie, I have worked with the datasphere calendar forms and liked it. It needs some programming skills though. The price was $99 at the time I bought it. There's a demo download on the website I'm not sure whether you can do real calendar printouts, but the forms are having calendar look and feel. http://www.datasphere-llc.com Or maybe you can use Outlook for your needs, I have no experience with the programming interface for outlook but there are some people on the list who are gurus... HTH Bettina From bill.marriott at optusnet.com.au Fri Nov 7 02:08:43 2003 From: bill.marriott at optusnet.com.au (Bill & Janine Marriott) Date: Fri, 7 Nov 2003 19:08:43 +1100 Subject: [AccessD] uploading data from an fixed field length txt file In-Reply-To: <000001c3a502$64868140$0933a8c0@allcopgiehr> Message-ID: <000001c3a506$5dd17220$4211a4cb@marriott> Hi Everyone, I haven't visited this site for a while. Nice to see some old familiar faces. Does anyone know where I can look for code samples for uploading data from a text file into Access xp? Thanks Bill Marriott From gustav at cactus.dk Fri Nov 7 03:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 10:30:00 +0100 Subject: [AccessD] Median Number In-Reply-To: References: Message-ID: <1155443056.20031107103000@cactus.dk> Hi Reuben > Anyone have a good way to find the median value in a table of unkown number > of records? You could look up our own list at 2001-03-06: Sub GetTableMedian () Dim dblMedian As Double dblMedian = GetTableMedian ("", "tblData", "FieldName") Debug.Print (dblMedian) End Sub Function GetTableMedian(strDatabase As String, strTable As String, strField As String) As Double 'strDatabase - name of the database to look in or "" for the current database 'strTable - name of the table to analyze 'strField - name of the field to analyze 'Returns: median Dim dbsTemp As Database Dim rstTemp As Recordset Dim strSQL As String Dim lngElements As Long Dim lngIndex As Long Dim fInterpolate As Boolean Dim dblMedian As Double If strDatabase = "" Then Set dbsTemp = CurrentDb() Else Set dbsTemp = DBEngine.Workspaces(0).OpenDatabase(strDatabase) End If strSQL = "SELECT DISTINCTROW [" & strField & "] FROM [" & strTable & "] " strSQL = strSQL & "WHERE ([" & strField & "] Is Not Null) " strSQL = strSQL & "ORDER BY [" & strField & "];" Set rstTemp = dbsTemp.OpenRecordset(strSQL) If Not rstTemp.EOF Then rstTemp.MoveLast lngElements = rstTemp.RecordCount If lngElements = 1 Then dblMedian = rstTemp(strField) Else lngIndex = Int((lngElements + 1) / 2) fInterpolate = (lngElements Mod 2 = 0) rstTemp.MoveFirst rstTemp.Move (lngIndex - 1) dblMedian = rstTemp(strField) If fInterpolate Then rstTemp.MoveNext dblMedian = (dblMedian + rstTemp(strField)) / 2 End If End If Else dblMedian = 0 End If rstTemp.Close dbsTemp.Close GetTableMedian = dblMedian End Function William Hindman /gustav From Chris.Foote at uk.thalesgroup.com Fri Nov 7 03:34:44 2003 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 7 Nov 2003 09:34:44 -0000 Subject: [AccessD] Open Word Document Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0BEAC@ntscxch1.int.rdel.co.uk> Bit late into this topic - sorry. I think this is caused by Word (and probably other apps.) changing docs to use your default printer. If you open a doc created or modified by someone else who has a different default printer, the app. has to reformat it. But if you are opening and close Word docs "all day long" it does not have to change the printer setting more than once. HTH - Chris Foote > -----Original Message----- > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > Sent: Wednesday, November 05, 2003 11:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open Word Document > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > It is wanting to save because the last opened date has > > changed, so it sees the document as having been changed. > > Annoying, huh? > > Nope. I don't think that this is the reason. I open and close Word > docs all day long and only have the Save prompt show up when I > actually change the doc or there are fields in the doc that get > updated, and I have Word set to update all fields when it opens and > prints. > > Docs without fields don't have the prompt for me. > > -- > Bryan Carbonnell > From j.r.porter at strath.ac.uk Fri Nov 7 04:19:40 2003 From: j.r.porter at strath.ac.uk (John R. Porter) Date: Fri, 7 Nov 2003 10:19:40 -0000 Subject: [AccessD] Median Number In-Reply-To: <1155443056.20031107103000@cactus.dk> Message-ID: <001a01c3a518$a8285700$94249f82@ds.strath.ac.uk> This can also be done (faster I expect) by a SQL statement without coding and ADO or DAO as the case may be, though the SQL is quite complex. If you can get hold of it, there's an excellent article about this in the May 2003 issue of 'Smart Access' magazine. You can get a trial subscription at http://www.pinpub.com/html/main.isx?sub=29 John R. Porter I.T. Services University of Strathclyde Faculty of Education 76 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel. 0141 950 3289 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: 07 November 2003 09:30 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Median Number Hi Reuben > Anyone have a good way to find the median value in a table of unkown number > of records? You could look up our own list at 2001-03-06: Sub GetTableMedian () Dim dblMedian As Double dblMedian = GetTableMedian ("", "tblData", "FieldName") Debug.Print (dblMedian) End Sub Function GetTableMedian(strDatabase As String, strTable As String, strField As String) As Double 'strDatabase - name of the database to look in or "" for the current database 'strTable - name of the table to analyze 'strField - name of the field to analyze 'Returns: median Dim dbsTemp As Database Dim rstTemp As Recordset Dim strSQL As String Dim lngElements As Long Dim lngIndex As Long Dim fInterpolate As Boolean Dim dblMedian As Double If strDatabase = "" Then Set dbsTemp = CurrentDb() Else Set dbsTemp = DBEngine.Workspaces(0).OpenDatabase(strDatabase) End If strSQL = "SELECT DISTINCTROW [" & strField & "] FROM [" & strTable & "] " strSQL = strSQL & "WHERE ([" & strField & "] Is Not Null) " strSQL = strSQL & "ORDER BY [" & strField & "];" Set rstTemp = dbsTemp.OpenRecordset(strSQL) If Not rstTemp.EOF Then rstTemp.MoveLast lngElements = rstTemp.RecordCount If lngElements = 1 Then dblMedian = rstTemp(strField) Else lngIndex = Int((lngElements + 1) / 2) fInterpolate = (lngElements Mod 2 = 0) rstTemp.MoveFirst rstTemp.Move (lngIndex - 1) dblMedian = rstTemp(strField) If fInterpolate Then rstTemp.MoveNext dblMedian = (dblMedian + rstTemp(strField)) / 2 End If End If Else dblMedian = 0 End If rstTemp.Close dbsTemp.Close GetTableMedian = dblMedian End Function William Hindman /gustav _______________________________________________ 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 Fri Nov 7 04:39:55 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 7 Nov 2003 21:39:55 +1100 Subject: [AccessD] uploading data from an fixed field length txt file References: <000001c3a506$5dd17220$4211a4cb@marriott> Message-ID: <000f01c3a51b$7cd80de0$97449a89@DDICK> Hi Bill the cow chaser Great to see you back Dunno 'bout AccessXp but A2k and A97 can do it With a MACRO Look at 'TransferText' in the "Action" Column TABLE Also if it is a known and stable - reliable fixed length you can link it as a table just using the normal link table wizard Good luck Darren ----- Original Message ----- From: "Bill & Janine Marriott" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 07, 2003 7:08 PM Subject: [AccessD] uploading data from an fixed field length txt file > > > Hi Everyone, > > I haven't visited this site for a while. Nice to see some old familiar > faces. > > Does anyone know where I can look for code samples for uploading data > from a text file into Access xp? > > Thanks > > Bill Marriott > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 7 05:16:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 12:16:16 +0100 Subject: [AccessD] Export Access Report to Word In-Reply-To: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> References: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Message-ID: <17911819175.20031107121616@cactus.dk> Hi Rocky No, screen captures - however they are made - won't do as the resolution is too low and the screen display by Access is sometimes a little distorted. For a manual we wrote some years ago we printed to a fax printer driver (ObjectFax). The output files could be converted to pcx files which we by some trial and error managed to insert sligtly scaled down in Lotus Ami Pro with a border and shadow - it was perfect. Tobit FaxWare/David also has conversion utilities and I guess most other fax printing software has as well. Another solution is to print to a pdf file and open this in Acrobat Reader. Then print to AmyUni's EMF printer driver which creates one EMF file for each page. Although the included license file claims the driver to be an evaluation copy, the download page says otherwise - that it is free to use; stick to that: http://www.amyuni.com/en/support/downloads.html At installation, specify the directory (which must exist) where the driver should create the EMF files. Try opening the pdf file you last wieved and print - the output file is large but excellent. If you manage to get this to do what you want, please share your solution! /gustav > I need to find a way to get a number of reports from an application > into a format that can be imported into Word. It's for a user > manual. Its for the Appendix - sample reports from the app. > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > The reports I'm trying to do need to show all the boxes and lines. > And since the manual changes I don't want to go through that > handcrafting this of printing the blank pages with the page numbers, > headers and footers, and then trying to use those to print the > reports on them directly. Love to get these reports into Word where > I can crop and zoom etc. From HollisVJ at pgdp.usec.com Fri Nov 7 06:18:54 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 07 Nov 2003 06:18:54 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C87C@cntexchange.pgdp.usec.com> Guess there is no way to stop this from occurring. Something they will have to live with I guess when they view the Word file. Virginia -----Original Message----- From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] Sent: Friday, November 07, 2003 3:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Open Word Document Bit late into this topic - sorry. I think this is caused by Word (and probably other apps.) changing docs to use your default printer. If you open a doc created or modified by someone else who has a different default printer, the app. has to reformat it. But if you are opening and close Word docs "all day long" it does not have to change the printer setting more than once. HTH - Chris Foote > -----Original Message----- > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > Sent: Wednesday, November 05, 2003 11:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open Word Document > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > It is wanting to save because the last opened date has > > changed, so it sees the document as having been changed. > > Annoying, huh? > > Nope. I don't think that this is the reason. I open and close Word > docs all day long and only have the Save prompt show up when I > actually change the doc or there are fields in the doc that get > updated, and I have Word set to update all fields when it opens and > prints. > > Docs without fields don't have the prompt for me. > > -- > Bryan Carbonnell > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 7 13:40:21 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 13:40:21 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071240.hA7CeLEU010929@mailhostC.plex.net> Hello Jeffrey, i will try this. thanks for the solution. Pedro Janssen The function would probably look something like this: Function MyExample (mycode, mytelling) as Double Dim mymultipler as double Select Case mycode Case 501 mymultipler = 1 Case 503 mymultipler = 2 Case 507 mymultipler = 2 Case 506 mymultipler = .67 Case 502 mymultipler = .4 Case 522 mymultipler = .4 Case 542 mymultipler = .2 Case 500 mymultipler = 0 End Select MyExample = mytelling * myultipler End Function The next step would be to use it in your query something like the following: MyExample([Code], [Telling]) AS Resultaat_Telling FROM TellingCode; jeffrey.demulling at usbank.c om To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: Re: [AccessD] why isn't this working? From Chris.Foote at uk.thalesgroup.com Fri Nov 7 06:42:26 2003 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 7 Nov 2003 12:42:26 -0000 Subject: [AccessD] Open Word Document Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0BEB3@ntscxch1.int.rdel.co.uk> Virginia, if your users all have the same default printer I don't think this would happen! Chris F > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Guess there is no way to stop this from occurring. Something > they will have > to live with I guess when they view the Word file. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 3:35 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Bit late into this topic - sorry. > > I think this is caused by Word (and probably other apps.) > changing docs to > use your default printer. If you open a doc created or > modified by someone > else who has a different default printer, the app. has to > reformat it. But > if you are opening and close Word docs "all day long" it does > not have to > change the printer setting more than once. > > HTH - Chris Foote > > > -----Original Message----- > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > Sent: Wednesday, November 05, 2003 11:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Open Word Document > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > It is wanting to save because the last opened date has > > > changed, so it sees the document as having been changed. > > > Annoying, huh? > > > > Nope. I don't think that this is the reason. I open and close Word > > docs all day long and only have the Save prompt show up when I > > actually change the doc or there are fields in the doc that get > > updated, and I have Word set to update all fields when it opens and > > prints. > > > > Docs without fields don't have the prompt for me. > > > > -- > > Bryan Carbonnell > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Fri Nov 7 13:48:02 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 13:48:02 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071248.hA7Cm2EU011273@mailhostC.plex.net> Hello Gustav, Jim and others, i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? What could be the problem know? Pedro Hi Pedro It should probably read: iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,iif([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500',[Telling]*0,0)))))))) /gustav > i can't seem to let this query work. Why? > Pedro Janssen > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) > AS Resultaat_Telling > FROM TellingCode; _______________________________________________ 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 Nov 7 06:53:54 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 07 Nov 2003 07:53:54 -0500 Subject: [AccessD] Open Word Document Message-ID: It will if there are fields in the doc. I just opened a Word doc, no fields, but created with a different default printer (I had this file e-mailed to me from someone else) and opened and closed it. No save prompt. I don't think that the default printer makes a difference. I'd bet dollars to donuts that the fields are causing the problem. Bryan Carbonnell bryan_carbonnell at cbc.ca -- Bryan Carbonnell - x 7652 TPC Training Assistant >>> Chris.Foote at uk.thalesgroup.com 07-Nov-03 7:42:26 AM >>> Virginia, if your users all have the same default printer I don't think this would happen! Chris F > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Guess there is no way to stop this from occurring. Something > they will have > to live with I guess when they view the Word file. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 3:35 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Bit late into this topic - sorry. > > I think this is caused by Word (and probably other apps.) > changing docs to > use your default printer. If you open a doc created or > modified by someone > else who has a different default printer, the app. has to > reformat it. But > if you are opening and close Word docs "all day long" it does > not have to > change the printer setting more than once. > > HTH - Chris Foote > > > -----Original Message----- > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > Sent: Wednesday, November 05, 2003 11:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Open Word Document > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > It is wanting to save because the last opened date has > > > changed, so it sees the document as having been changed. > > > Annoying, huh? > > > > Nope. I don't think that this is the reason. I open and close Word > > docs all day long and only have the Save prompt show up when I > > actually change the doc or there are fields in the doc that get > > updated, and I have Word set to update all fields when it opens and > > prints. > > > > Docs without fields don't have the prompt for me. From Bryan_Carbonnell at cbc.ca Fri Nov 7 06:57:23 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 07 Nov 2003 07:57:23 -0500 Subject: [AccessD] Export Access Report to Word Message-ID: Rocky, Are you distributing the manual as a Word doc? If you are why don't you distribute it as a PDF. Then you can print sample reports as PDFs and insert pages from the report PDF into the Manual PDF where you want and have one electronic file. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software _______________________________________________ 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 Nov 7 06:58:19 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 07 Nov 2003 06:58:19 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C884@cntexchange.pgdp.usec.com> No, everyone uses different printers & all types & brands. Virginia -----Original Message----- From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] Sent: Friday, November 07, 2003 6:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Open Word Document Virginia, if your users all have the same default printer I don't think this would happen! Chris F > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Guess there is no way to stop this from occurring. Something > they will have > to live with I guess when they view the Word file. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 3:35 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Bit late into this topic - sorry. > > I think this is caused by Word (and probably other apps.) > changing docs to > use your default printer. If you open a doc created or > modified by someone > else who has a different default printer, the app. has to > reformat it. But > if you are opening and close Word docs "all day long" it does > not have to > change the printer setting more than once. > > HTH - Chris Foote > > > -----Original Message----- > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > Sent: Wednesday, November 05, 2003 11:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Open Word Document > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > It is wanting to save because the last opened date has > > > changed, so it sees the document as having been changed. > > > Annoying, huh? > > > > Nope. I don't think that this is the reason. I open and close Word > > docs all day long and only have the Save prompt show up when I > > actually change the doc or there are fields in the doc that get > > updated, and I have Word set to update all fields when it opens and > > prints. > > > > Docs without fields don't have the prompt for me. > > > > -- > > Bryan Carbonnell > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.Foote at uk.thalesgroup.com Fri Nov 7 07:02:15 2003 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 7 Nov 2003 13:02:15 -0000 Subject: [AccessD] Open Word Document Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0BEB6@ntscxch1.int.rdel.co.uk> Rats! I guess you're stuck with it. Unless there's a way to hack Word Chris Foote (just off home for the weekend yippee!) > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:58 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > No, everyone uses different printers & all types & brands. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 6:42 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Virginia, > > if your users all have the same default printer I don't think > this would > happen! > > Chris F > > > -----Original Message----- > > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > > Sent: Friday, November 07, 2003 12:19 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Open Word Document > > > > > > Guess there is no way to stop this from occurring. Something > > they will have > > to live with I guess when they view the Word file. > > > > Virginia > > > > -----Original Message----- > > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > > Sent: Friday, November 07, 2003 3:35 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Open Word Document > > > > > > Bit late into this topic - sorry. > > > > I think this is caused by Word (and probably other apps.) > > changing docs to > > use your default printer. If you open a doc created or > > modified by someone > > else who has a different default printer, the app. has to > > reformat it. But > > if you are opening and close Word docs "all day long" it does > > not have to > > change the printer setting more than once. > > > > HTH - Chris Foote > > > > > -----Original Message----- > > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > > Sent: Wednesday, November 05, 2003 11:21 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Open Word Document > > > > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > > > It is wanting to save because the last opened date has > > > > changed, so it sees the document as having been changed. > > > > Annoying, huh? > > > > > > Nope. I don't think that this is the reason. I open and > close Word > > > docs all day long and only have the Save prompt show up when I > > > actually change the doc or there are fields in the doc that get > > > updated, and I have Word set to update all fields when it > opens and > > > prints. > > > > > > Docs without fields don't have the prompt for me. > > > > > > -- > > > Bryan Carbonnell > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 7 07:06:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 14:06:55 +0100 Subject: [AccessD] why isn't this working? In-Reply-To: <200311071248.hA7Cm2EU011273@mailhostC.plex.net> References: <200311071248.hA7Cm2EU011273@mailhostC.plex.net> Message-ID: <10818458241.20031107140655@cactus.dk> Hi Pedro You still may have mistyped something. Try with a minimum expression: SELECT IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling FROM TellingCode; If this doesn't work something else is wrong. If it works, replace 0 with another IIf() construction and so on. /gustav > Hello Gustav, Jim and others, > i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? > What could be the problem know? From MarkBoyd at McBeeAssociates.com Fri Nov 7 07:59:50 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 7 Nov 2003 08:59:50 -0500 Subject: [AccessD] Omit Records from Report Total Message-ID: Thanks Stuart. I thought it should be this easy, I just couldn't figure it out. Mark -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, November 06, 2003 5:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Omit Records from Report Total Use: =Sum(IIf([ProposalStatus]="Lost",0,[Amount]) On 6 Nov 2003 at 11:12, Mark Boyd wrote: > I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > > In my report, I group on [Office], with [ProposalStatus] and [Amount] in > the Detail section. > > In the [Office] Footer, I have a textbox with a control source of > '=Sum([Amount])'. > > However, I have been informed that this textbox should not include > records with a [ProposalStatus] of 'Lost'. > > Therefore, I need the textbox to be the total amount of all records that > have a [ProposalStatus] <> 'Lost'. > > > > Is there any way to do this? > > > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc. > > > > _______________________________________________ > 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 garykjos at hotmail.com Fri Nov 7 08:13:23 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 07 Nov 2003 08:13:23 -0600 Subject: [AccessD] Export Access Report to Word Message-ID: You don't have a scanner? You could actually print the page you want and scan it back in to a jpg. Surely a copy shop would do that for you - or I could for that matter if you wanted to send them up here to me in the great frozen north.....Scanners are pretty cheap nowadays though. Granted it's somewhat low-tech. Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Export Access Report to Word >Date: Thu, 6 Nov 2003 21:44:29 -0800 > >Stuart: > >Thanks for the links. The second one looks like a screen capture so I >don't >think it will do but the first one seems to work well in the demo. It's >$70 >for the business version, but I may have to bite that bullet if I can't >figure another way. It makes very nice jpg files which you can import to >word and stretch to fit the page. > >Regards, > >Rocky > >----- Original Message ----- >From: "Stuart Sanders" >To: "'Access Developers discussion and problem solving'" > >Sent: Thursday, November 06, 2003 8:50 PM >Subject: RE: [AccessD] Export Access Report to Word > > >Just did a quick search. > >While this isn't free, it seems to do what you need. > >http://www.print-driver.com/ > >What it does is install a new printer driver. When you choose to print to >this, >it will render the print output to an image file. > >There maybe a free alterative if someone does a search. I found another one >that >is shareware. >http://www.newfreeware.com/search.php3?q=image+print+driver > >Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: Friday, 07 November, 2003 12:24 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > Charlotte: > > > > I tried printing to pdf using cutepdf and it worked real well > > except now how > > do I get it into a word doc for the manual? Is there a way > > to do that? > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, November 06, 2003 1:58 PM > > Subject: RE: [AccessD] Export Access Report to Word > > > > > > > I don't know of any easy way. We do screen captures of > > ours for that > > > purpose, since rtf is useless for graphics. Or you can > > print them to a > > > pdf printer . > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > > Sent: Thursday, November 06, 2003 1:47 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Export Access Report to Word > > > > > > > > > Dear List: > > > > > > I need to find a way to get a number of reports from an > > application into > > > a format that can be imported into Word. It's for a user > > manual. Its > > > for the Appendix - sample reports from the app. > > > > > > I have used the ReportUtilities download (can't remember where I got > > > it), which worked well on the last manual but the reports had very > > > little formatting and graphics. > > > > > > The reports I'm trying to do need to show all the boxes and > > lines. And > > > since the manual changes I don't want to go through that > > handcrafting > > > this of printing the blank pages with the page numbers, headers and > > > footers, and then trying to use those to print the reports on them > > > directly. Love to get these reports into Word where I can > > crop and zoom > > > etc. > > > > > > Does anyone know how this can be done? > > > > > > Regards, > > > > > > 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 > > > > > >---------------------------------------------------------------------------- >---- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bchacc at san.rr.com Fri Nov 7 08:19:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 06:19:24 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <003d01c3a53a$251bf020$6501a8c0@HAL9002> Bryan: No. It's going to be hard copy. The app will be about $3k and for that prospects like to have something in hand. Gives me a chance to make a nice binder, as well. Pouch for the cd, all that. Rocky ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Friday, November 07, 2003 4:57 AM Subject: Re: [AccessD] Export Access Report to Word > Rocky, > > Are you distributing the manual as a Word doc? > > If you are why don't you distribute it as a PDF. Then you can print > sample reports as PDFs and insert pages from the report PDF into the > Manual PDF where you want and have one electronic file. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > Dear List: > > I need to find a way to get a number of reports from an application > into a format that can be imported into Word. It's for a user manual. > Its for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 pedro at plex.nl Fri Nov 7 15:21:50 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 15:21:50 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071421.hA7ELoEU015213@mailhostC.plex.net> Hello Gustav, When i used your minimum expression, there was a querytable in the View, but in the records was standing #Error. The trouble is that TellingCode is a query. When i made a MakeTableQuery first from TellingCode and did the expression from tblTellingCode it was working. Why isn't the expression working on a query?? Pedro In antwoord op: > From: Gustav Brock > To: Access Developers discussion and problem solving > Date: Fri, 7 Nov 2003 14:06:55 +0100 > Subject: Re: [AccessD] why isn't this working? > > > Hi Pedro > > You still may have mistyped something. > Try with a minimum expression: > > SELECT > IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling > FROM > TellingCode; > > If this doesn't work something else is wrong. > If it works, replace 0 with another IIf() construction and so on. > > /gustav > > > > Hello Gustav, Jim and others, > > > i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? > > > What could be the problem know? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors. From garykjos at hotmail.com Fri Nov 7 08:21:40 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 07 Nov 2003 08:21:40 -0600 Subject: [AccessD] uploading data from an fixed field length txt file Message-ID: Hi Bill, I'd recommend Seth Galitzer's Home Page - under "downloads" & "File I/O in VB" http://puma.agron.ksu.edu/~sgsax/ Gary Kjos garykjos at hotmail.com >From: "Bill & Janine Marriott" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] uploading data from an fixed field length txt file >Date: Fri, 7 Nov 2003 19:08:43 +1100 > > > >Hi Everyone, > >I haven't visited this site for a while. Nice to see some old familiar >faces. > >Does anyone know where I can look for code samples for uploading data >from a text file into Access xp? > >Thanks > >Bill Marriott > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From reuben at gfconsultants.com Fri Nov 7 08:28:30 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 7 Nov 2003 09:28:30 -0500 Subject: [AccessD] Median Number In-Reply-To: <001a01c3a518$a8285700$94249f82@ds.strath.ac.uk> Message-ID: Thanks to everyone responding to my median question. My mind was asleep yesterday - I couldn't get any search to find anything. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John R. Porter > Sent: Friday, November 07, 2003 5:20 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Median Number > > > This can also be done (faster I expect) by a SQL statement without coding > and ADO or DAO as the case may be, though the SQL is quite complex. If you > can get hold of it, there's an excellent article about this in > the May 2003 > issue of 'Smart Access' magazine. You can get a trial subscription at > http://www.pinpub.com/html/main.isx?sub=29 > > John R. Porter > I.T. Services > University of Strathclyde > Faculty of Education > 76 Southbrae Drive > Glasgow > G13 1PP > e-mail: j.r.porter at strath.ac.uk > Tel. 0141 950 3289 > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: 07 November 2003 09:30 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Median Number > > > Hi Reuben > > > Anyone have a good way to find the median value in a table of unkown > number > > of records? > > You could look up our own list at 2001-03-06: > > > > Sub GetTableMedian () > Dim dblMedian As Double > dblMedian = GetTableMedian ("", "tblData", "FieldName") > Debug.Print (dblMedian) > End Sub > > Function GetTableMedian(strDatabase As String, strTable As > String, strField > As String) As Double > 'strDatabase - name of the database to look in or "" for the current > database > 'strTable - name of the table to analyze > 'strField - name of the field to analyze > 'Returns: median > > Dim dbsTemp As Database > Dim rstTemp As Recordset > Dim strSQL As String > Dim lngElements As Long > Dim lngIndex As Long > Dim fInterpolate As Boolean > Dim dblMedian As Double > > If strDatabase = "" Then > Set dbsTemp = CurrentDb() > Else > Set dbsTemp = DBEngine.Workspaces(0).OpenDatabase(strDatabase) > End If > > strSQL = "SELECT DISTINCTROW [" & strField & "] FROM [" & > strTable & "] " > strSQL = strSQL & "WHERE ([" & strField & "] Is Not Null) " > strSQL = strSQL & "ORDER BY [" & strField & "];" > > Set rstTemp = dbsTemp.OpenRecordset(strSQL) > If Not rstTemp.EOF Then > rstTemp.MoveLast > lngElements = rstTemp.RecordCount > If lngElements = 1 Then > dblMedian = rstTemp(strField) > Else > lngIndex = Int((lngElements + 1) / 2) > fInterpolate = (lngElements Mod 2 = 0) > rstTemp.MoveFirst > rstTemp.Move (lngIndex - 1) > dblMedian = rstTemp(strField) > If fInterpolate Then > rstTemp.MoveNext > dblMedian = (dblMedian + rstTemp(strField)) / 2 > End If > End If > Else > dblMedian = 0 > End If > > rstTemp.Close > dbsTemp.Close > > GetTableMedian = dblMedian > > End Function > > William Hindman > > > > /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 reuben at gfconsultants.com Fri Nov 7 08:36:33 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 7 Nov 2003 09:36:33 -0500 Subject: [AccessD] Export Access Report to Word In-Reply-To: <003d01c3a53a$251bf020$6501a8c0@HAL9002> Message-ID: We use an app called Grabber 2K. This isn't where I got it, but I just found it at http://www.webattack.com/get/grabber2k.shtml You take a screen shot of anything and paste that image into your word document. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, November 07, 2003 9:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Bryan: > > No. It's going to be hard copy. The app will be about $3k and for that > prospects like to have something in hand. Gives me a chance to > make a nice > binder, as well. Pouch for the cd, all that. > > Rocky > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, November 07, 2003 4:57 AM > Subject: Re: [AccessD] Export Access Report to Word > > > > Rocky, > > > > Are you distributing the manual as a Word doc? > > > > If you are why don't you distribute it as a PDF. Then you can print > > sample reports as PDFs and insert pages from the report PDF into the > > Manual PDF where you want and have one electronic file. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > Dear List: > > > > I need to find a way to get a number of reports from an application > > into a format that can be imported into Word. It's for a user manual. > > Its for the Appendix - sample reports from the app. > > > > I have used the ReportUtilities download (can't remember where I got > > it), which worked well on the last manual but the reports had very > > little formatting and graphics. > > > > The reports I'm trying to do need to show all the boxes and lines. And > > since the manual changes I don't want to go through that handcrafting > > this of printing the blank pages with the page numbers, headers and > > footers, and then trying to use those to print the reports on them > > directly. Love to get these reports into Word where I can crop and zoom > > etc. > > > > Does anyone know how this can be done? > > > > Regards, > > > > 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 caa at highway.com.br Fri Nov 7 08:49:12 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 07 Nov 2003 12:49:12 -0200 Subject: [AccessD] A2k - BE corruption??? In-Reply-To: <3FA83DCE.2010108@shaw.ca> References: <3FA7CFB9.5090003@verizon.net> <3FA83DCE.2010108@shaw.ca> Message-ID: On Tue, 04 Nov 2003 16:01:18 -0800, MartyConnelly wrote: > You must first update to Jet SP3 then update to higher level SP's at > least there used to be warnings about this. The highest SP so far is SP7 > for Win9x and WinNT; SP8 for WinXP 2000 and 2003. SP8 fixes some Oracle > interface problems. SP7 and 8 are inclusive of patches from SP 4 through > 7 > Jet SP7 > http://support.microsoft.com/default.aspx?scid=kb;EN-US;282010 > Jet 3.5 SP3 > http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en > > > > Francisco H Tapia wrote: > >> I would try and update his copy of Jet to SP6 to see if your results >> change. >> >> Carlos Alberto Alves wrote: >> >>> Dear Mates: >>> I would like to have your opinion on this matter. I developed an A2k >>> database system with three identical FE's and one BE. It has data from >>> jan2001 to now. Upon executing a simple select query I noticed that I >>> could not retrieve any records from 2002. The same query executed on a >>> BE backup copy from jul2003 returned all due records. >>> Is this a BE corruption??? I tried ???Compact and repair...???, >>> JetComp and import all tables to a new BE with no better results. >>> Things that called my attention: >>> 1- I use Jet 4.0 SP6 and my client uses something older than SP3; >>> 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office >>> 97. >>> Thanks for any input, >> >> >> >> > Hi People! Charlotte, Francisco and Marty thanks very much for your input. I have already downloaded Jet 4.0 SP3 and SP7 for WinNT. It seems SP6 is not available anymore. I was just waiting your opinions to make the update. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From gustav at cactus.dk Fri Nov 7 08:50:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 15:50:26 +0100 Subject: [AccessD] why isn't this working? In-Reply-To: <200311071421.hA7ELoEU015213@mailhostC.plex.net> References: <200311071421.hA7ELoEU015213@mailhostC.plex.net> Message-ID: <8324668511.20031107155026@cactus.dk> Hi Pedro Perhaps Code is a number and not a string? If so: IIf([Code]=542 ... Or Telling is a string? Try: SELECT [Code]='542' AS CodeTest, [Telling]*0.2 AS TellingTest FROM TellingCode; /gustav > Hello Gustav, > When i used your minimum expression, there was a querytable in the > View, but in the records was standing #Error. > The trouble is that TellingCode is a query. When i made a > MakeTableQuery first from TellingCode and did the expression from > tblTellingCode it was working. Why isn't the expression working on a > query?? >> You still may have mistyped something. >> Try with a minimum expression: >> >> SELECT >> IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling >> FROM >> TellingCode; >> >> If this doesn't work something else is wrong. >> If it works, replace 0 with another IIf() construction and so on. >> >> /gustav >> >> >> > Hello Gustav, Jim and others, >> >> > i tried your solution, and also changed comma's to points as Jim >> suggested, but i still get an error: Wrong number of arguments used >> with function ?????? From Mike.W.Gowey at doc.state.or.us Fri Nov 7 08:58:59 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Fri, 7 Nov 2003 07:58:59 -0700 Subject: [AccessD] Print Job Batching Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC4@srciml1.ds.doc.state.or.us> Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division From pedro at plex.nl Fri Nov 7 16:00:01 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 16:00:01 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071500.hA7F01EU017000@mailhostC.plex.net> I could't believe that is was the query that made the #Error. So i tested a little further. The real course of the #error are the quote's (') before and after the nummer. When deleting them everything works fine. Thanks Pedro Janssen In antwoord op: > From: pedro at plex.nl > To: AccessD at databaseadvisors.com > Date: Fri, 07 Nov 2003 15:21:50 (MET) > Subject: Re: [AccessD] why isn't this working? > > > Hello Gustav, > > When i used your minimum expression, there was a querytable in the View, but in the records was standing #Error. > The trouble is that TellingCode is a query. When i made a MakeTableQuery first from TellingCode and did the expression from tblTellingCode it was working. Why isn't the expression working on a query?? > > Pedro > > > In antwoord op: > > > From: Gustav Brock > > To: Access Developers discussion and problem solving > > Date: Fri, 7 Nov 2003 14:06:55 +0100 > > Subject: Re: [AccessD] why isn't this working? > > > > > > Hi Pedro > > > > You still may have mistyped something. > > Try with a minimum expression: > > > > SELECT > > IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling > > FROM > > TellingCode; > > > > If this doesn't work something else is wrong. > > If it works, replace 0 with another IIf() construction and so on. > > > > /gustav > > > > > > > Hello Gustav, Jim and others, > > > > > i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? > > > > > What could be the problem know? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From ssharkins at bellsouth.net Fri Nov 7 09:02:39 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 7 Nov 2003 10:02:39 -0500 Subject: [AccessD] Print Job Batching References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC4@srciml1.ds.doc.state.or.us> Message-ID: <00fb01c3a540$30b4a160$210110ac@SUSANONE> Perhaps the easiest way is to just use a temp table -- append records to the temp table and then base your label report on the temp table. Susan H. > > > Is there a way within Access to be able to batch print jobs somewhere > and than print them when you are ready to. What I am trying to look at > is the ability for the user to put in information for a label and than > store the printing of the label with the info entered and continue doing > more labels storing each requested print and than be able to press a > button and print all the stored labels at once. > > Has anyone ever done something like this? > > Thanks so much in advance for any info provided. > > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Fri Nov 7 09:04:18 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 7 Nov 2003 10:04:18 -0500 Subject: [AccessD] Print Job Batching References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC4@srciml1.ds.doc.state.or.us> Message-ID: <010501c3a540$6bf4c840$210110ac@SUSANONE> Changed my mind -- maybe a yes/no field in the table -- and then a simple query that returns only those records that are marked -- run the label report, and then reset all the fields to no -- but would require a new field which can be troublesome -- but eliminates the temp table. Susan H. > > > Is there a way within Access to be able to batch print jobs somewhere > and than print them when you are ready to. What I am trying to look at > is the ability for the user to put in information for a label and than > store the printing of the label with the info entered and continue doing > more labels storing each requested print and than be able to press a > button and print all the stored labels at once. > > Has anyone ever done something like this? > > Thanks so much in advance for any info provided. > > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From MarkBoyd at McBeeAssociates.com Fri Nov 7 09:08:23 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 7 Nov 2003 10:08:23 -0500 Subject: [AccessD] Print Job Batching Message-ID: Mike - Why don't you just store the entered info in a table? Then, print a label-formatted report with that table as the record source. Mark -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Friday, November 07, 2003 9:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ 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 Nov 7 09:10:24 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 7 Nov 2003 16:10:24 +0100 (CET) Subject: [AccessD] Print Job Batching Message-ID: <29869763.1068217823990.JavaMail.www@wwinf3006> Couldn't you create a temporary table for all the labels and then link your labels to the temporary table ??? Message date : Nov 07 2003, 03:07 PM >From : Gowey Mike W To : Access Developers discussion and problem solving Copy to : Subject : [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Fri Nov 7 09:10:51 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 7 Nov 2003 09:10:51 -0600 Subject: [AccessD] Print Job Batching Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03306054@cpixchng-1.cpiqpc.net> Mike, Could you have a Yes/No field that the user could check so when they are ready to run the print job, it only prints labels for those records where this box is checked (set to Yes). This would be easily setup in a query with the criteria set to Yes for this field. Then after the printing of the labels you could run an update query that sets this field to No for all of these records. -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Friday, November 07, 2003 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ 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 Fri Nov 7 09:14:51 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Fri, 7 Nov 2003 08:14:51 -0700 Subject: [AccessD] Print Job Batching Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC5@srciml1.ds.doc.state.or.us> Thanks a lot everyone, I will look at both of those approaches and see wich one the customer would like the best. Thanks again Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Friday, November 07, 2003 8:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Print Job Batching Mike, Could you have a Yes/No field that the user could check so when they are ready to run the print job, it only prints labels for those records where this box is checked (set to Yes). This would be easily setup in a query with the criteria set to Yes for this field. Then after the printing of the labels you could run an update query that sets this field to No for all of these records. -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Friday, November 07, 2003 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Nov 7 09:20:19 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 07:20:19 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <00aa01c3a542$a78bfde0$6501a8c0@HAL9002> Well, there's an idea I really like. Simple, low tech (relatively). Sure, I've got a scanner. Bit of a hassle but how often will I have to do it? Thank you. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Friday, November 07, 2003 6:13 AM Subject: Re: [AccessD] Export Access Report to Word > You don't have a scanner? You could actually print the page you want and > scan it back in to a jpg. Surely a copy shop would do that for you - or I > could for that matter if you wanted to send them up here to me in the great > frozen north.....Scanners are pretty cheap nowadays though. > > Granted it's somewhat low-tech. > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Export Access Report to Word > >Date: Thu, 6 Nov 2003 21:44:29 -0800 > > > >Stuart: > > > >Thanks for the links. The second one looks like a screen capture so I > >don't > >think it will do but the first one seems to work well in the demo. It's > >$70 > >for the business version, but I may have to bite that bullet if I can't > >figure another way. It makes very nice jpg files which you can import to > >word and stretch to fit the page. > > > >Regards, > > > >Rocky > > > >----- Original Message ----- > >From: "Stuart Sanders" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Thursday, November 06, 2003 8:50 PM > >Subject: RE: [AccessD] Export Access Report to Word > > > > > >Just did a quick search. > > > >While this isn't free, it seems to do what you need. > > > >http://www.print-driver.com/ > > > >What it does is install a new printer driver. When you choose to print to > >this, > >it will render the print output to an image file. > > > >There maybe a free alterative if someone does a search. I found another one > >that > >is shareware. > >http://www.newfreeware.com/search.php3?q=image+print+driver > > > >Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Rocky Smolin - Beach Access Software > > > Sent: Friday, 07 November, 2003 12:24 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > > > Charlotte: > > > > > > I tried printing to pdf using cutepdf and it worked real well > > > except now how > > > do I get it into a word doc for the manual? Is there a way > > > to do that? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, November 06, 2003 1:58 PM > > > Subject: RE: [AccessD] Export Access Report to Word > > > > > > > > > > I don't know of any easy way. We do screen captures of > > > ours for that > > > > purpose, since rtf is useless for graphics. Or you can > > > print them to a > > > > pdf printer . > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software > > > [mailto:bchacc at san.rr.com] > > > > Sent: Thursday, November 06, 2003 1:47 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Export Access Report to Word > > > > > > > > > > > > Dear List: > > > > > > > > I need to find a way to get a number of reports from an > > > application into > > > > a format that can be imported into Word. It's for a user > > > manual. Its > > > > for the Appendix - sample reports from the app. > > > > > > > > I have used the ReportUtilities download (can't remember where I got > > > > it), which worked well on the last manual but the reports had very > > > > little formatting and graphics. > > > > > > > > The reports I'm trying to do need to show all the boxes and > > > lines. And > > > > since the manual changes I don't want to go through that > > > handcrafting > > > > this of printing the blank pages with the page numbers, headers and > > > > footers, and then trying to use those to print the reports on them > > > > directly. Love to get these reports into Word where I can > > > crop and zoom > > > > etc. > > > > > > > > Does anyone know how this can be done? > > > > > > > > Regards, > > > > > > > > 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 > > > > > > > > > > >--------------------------------------------------------------------------- - > >---- > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 your computer infected with a virus? Find out with a FREE computer virus > scan from McAfee. Take the FreeScan now! > 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 bchacc at san.rr.com Fri Nov 7 09:21:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 07:21:23 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <00b201c3a542$cdda3480$6501a8c0@HAL9002> Reuben: I did try that last time I had the problem but screen capture is too low res by the time you get the whole report page reduced to where it fits on the screen. :( Rocky ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: Friday, November 07, 2003 6:36 AM Subject: RE: [AccessD] Export Access Report to Word > We use an app called Grabber 2K. This isn't where I got it, but I just > found it at http://www.webattack.com/get/grabber2k.shtml > > You take a screen shot of anything and paste that image into your word > document. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Friday, November 07, 2003 9:19 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > Bryan: > > > > No. It's going to be hard copy. The app will be about $3k and for that > > prospects like to have something in hand. Gives me a chance to > > make a nice > > binder, as well. Pouch for the cd, all that. > > > > Rocky > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, November 07, 2003 4:57 AM > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > Rocky, > > > > > > Are you distributing the manual as a Word doc? > > > > > > If you are why don't you distribute it as a PDF. Then you can print > > > sample reports as PDFs and insert pages from the report PDF into the > > > Manual PDF where you want and have one electronic file. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > > Dear List: > > > > > > I need to find a way to get a number of reports from an application > > > into a format that can be imported into Word. It's for a user manual. > > > Its for the Appendix - sample reports from the app. > > > > > > I have used the ReportUtilities download (can't remember where I got > > > it), which worked well on the last manual but the reports had very > > > little formatting and graphics. > > > > > > The reports I'm trying to do need to show all the boxes and lines. And > > > since the manual changes I don't want to go through that handcrafting > > > this of printing the blank pages with the page numbers, headers and > > > footers, and then trying to use those to print the reports on them > > > directly. Love to get these reports into Word where I can crop and zoom > > > etc. > > > > > > Does anyone know how this can be done? > > > > > > Regards, > > > > > > 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 > > > > > > _______________________________________________ > 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 Nov 7 09:28:31 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 07 Nov 2003 10:28:31 -0500 Subject: [AccessD] Export Access Report to Word Message-ID: Here's another way that I stumbled across, while looking for something else.... SnagIt, a screen capture application, will actually allow you to do a "Printer" capture. It will capture a print and save it each page as an image. All you print to a special SnagIt "printer" and it will capture each page separately at printer quality. You can get SnagIt from http://www.techsmith.com/products/snagit/default.asp They have a 30 day trial and it only costs $40. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> bchacc at san.rr.com 07-Nov-03 10:21:23 AM >>> Reuben: I did try that last time I had the problem but screen capture is too low res by the time you get the whole report page reduced to where it fits on the screen. :( Rocky ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: Friday, November 07, 2003 6:36 AM Subject: RE: [AccessD] Export Access Report to Word > We use an app called Grabber 2K. This isn't where I got it, but I just > found it at http://www.webattack.com/get/grabber2k.shtml > > You take a screen shot of anything and paste that image into your word > document. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Friday, November 07, 2003 9:19 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > Bryan: > > > > No. It's going to be hard copy. The app will be about $3k and for that > > prospects like to have something in hand. Gives me a chance to > > make a nice > > binder, as well. Pouch for the cd, all that. > > > > Rocky > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, November 07, 2003 4:57 AM > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > Rocky, > > > > > > Are you distributing the manual as a Word doc? > > > > > > If you are why don't you distribute it as a PDF. Then you can print > > > sample reports as PDFs and insert pages from the report PDF into the > > > Manual PDF where you want and have one electronic file. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > > Dear List: > > > > > > I need to find a way to get a number of reports from an application > > > into a format that can be imported into Word. It's for a user manual. > > > Its for the Appendix - sample reports from the app. > > > > > > I have used the ReportUtilities download (can't remember where I got > > > it), which worked well on the last manual but the reports had very > > > little formatting and graphics. > > > > > > The reports I'm trying to do need to show all the boxes and lines. And > > > since the manual changes I don't want to go through that handcrafting > > > this of printing the blank pages with the page numbers, headers and > > > footers, and then trying to use those to print the reports on them > > > directly. Love to get these reports into Word where I can crop and zoom > > > etc. > > > > > > Does anyone know how this can be done? > > > > > > Regards, > > > > > > 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 > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Fri Nov 7 09:39:51 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 7 Nov 2003 10:39:51 -0500 Subject: [AccessD] Export Access Report to Word In-Reply-To: <00b201c3a542$cdda3480$6501a8c0@HAL9002> Message-ID: OK. You're doing reports rather than forms. My fault for reading into your questions. You are correct about the problem with reports. Bryan does a wonderful job at creating manuals. He did the pdf for the BEU and I think it's wonderful. Beyond Grabber 2K in Word, I would have to agree with Bryan that pdf's are the way to go. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, November 07, 2003 10:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Reuben: > > I did try that last time I had the problem but screen capture is > too low res > by the time you get the whole report page reduced to where it fits on the > screen. :( > > Rocky > > ----- Original Message ----- > From: "Reuben Cummings" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 07, 2003 6:36 AM > Subject: RE: [AccessD] Export Access Report to Word > > > > We use an app called Grabber 2K. This isn't where I got it, but I just > > found it at http://www.webattack.com/get/grabber2k.shtml > > > > You take a screen shot of anything and paste that image into your word > > document. > > > > Reuben Cummings > > GFC, LLC > > phone: 812.523.1017 > > email: reuben at gfconsultants.com > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, November 07, 2003 9:19 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > > > Bryan: > > > > > > No. It's going to be hard copy. The app will be about $3k > and for that > > > prospects like to have something in hand. Gives me a chance to > > > make a nice > > > binder, as well. Pouch for the cd, all that. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Bryan Carbonnell" > > > To: > > > Sent: Friday, November 07, 2003 4:57 AM > > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > > > > Rocky, > > > > > > > > Are you distributing the manual as a Word doc? > > > > > > > > If you are why don't you distribute it as a PDF. Then you can print > > > > sample reports as PDFs and insert pages from the report PDF into the > > > > Manual PDF where you want and have one electronic file. > > > > > > > > Bryan Carbonnell > > > > bryan_carbonnell at cbc.ca > > > > > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > > > Dear List: > > > > > > > > I need to find a way to get a number of reports from an application > > > > into a format that can be imported into Word. It's for a > user manual. > > > > Its for the Appendix - sample reports from the app. > > > > > > > > I have used the ReportUtilities download (can't remember where I got > > > > it), which worked well on the last manual but the reports had very > > > > little formatting and graphics. > > > > > > > > The reports I'm trying to do need to show all the boxes and lines. > And > > > > since the manual changes I don't want to go through that > handcrafting > > > > this of printing the blank pages with the page numbers, headers and > > > > footers, and then trying to use those to print the reports on them > > > > directly. Love to get these reports into Word where I can crop and > zoom > > > > etc. > > > > > > > > Does anyone know how this can be done? > > > > > > > > Regards, > > > > > > > > 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 > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 7 10:34:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Nov 2003 08:34:58 -0800 Subject: [AccessD] Method 'SourceObject' of object... Message-ID: The distinction about runtime engines is because some things work differently when you are running an app from a fully installed version of Access than when you are running it using an Access runtime engine. In either case, you can get runtime errors (when you run it, naturally), but the behavior is different and you don't always even see the errors under the runtime engine, just the effects. I asked about the Access version (as distinct from the file format) because I've seen things compile in Access 2002 that crash when the code is run because it can miss routines with the same name if they are only called from the property sheet of an object rather than from within code. I didn't run into that in Access 2000, but then I rarely if ever use lightweight forms myself. Have you tried creating a new database and importing all the objects? Do they all import? It sure sounds like some object corruption to me. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Method 'SourceObject' of object... Charlotte, 1. Yes, that's the literal message, referring to object names that are not found anywhere in my code or object set. 2. Using Access 2000. 3. I don't understand your distinction about runtime engines. The app compiles cleanly, and compacts without complaint. But when I start hitting a few areas with subforms, I get a hailstorm of these errors. I can turn on error pausing and see where it trips up, and the code lines are all different, but they do have the common thread of assigning various subform names to the container form's subform's SourceObject. 4. Oops, you are right -- I meant "SourceObject". The offending lines read like: forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 7:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Method 'SourceObject' of object... Is that the literal error message, or do 'SourceObject' and '_SubForm' stand as placeholders? What version of Access are you using and What file format? Are you getting the message when someone attempts to run the application using the runtime engine or is it an error that *happens* at runtime? Is the error triggered on methods like "ControlSource" or did you mean "SourceObject" rather than what you typed? Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Fri Nov 7 10:52:06 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 7 Nov 2003 10:52:06 -0600 Subject: [AccessD] Method 'SourceObject' of object...SOLVED In-Reply-To: <3FAB26A8.3050601@shaw.ca> Message-ID: Problem solved! Best yet, it turns out to be a programming mistake masquerading as a corruption. An error type unhandled smoothly by Jet or VB, so results in a crash. We have a person "container form" with one main subform control that swaps out different forms (by changing the SourceObject) to show different information about the person. The problem was in the Volunteer area. People by default are not "volunteers", so the Volunteer subform by default presents a simple screens saying "no record is yet set up", and gives a button which allows them to first create a volunteer record, then flip to the subform that allows them to view/edit. We already do this happily in the Member and Customer areas, for which the same rule apply. The difference here was that I had one required field (volunteer type) to ask the user about, so I presented a popup to capture it. But I was using the code from Member and the Customer sections, and failed to remove the line that switches the subform. So I was prematurely calling a subform that had no data (yet) to support it. The prize for solving the problem goes to fellow AccessD posters in our office: Mark Whittinghill and Liz Doering. Thanks everyone else for your ideas. As usual, you are wonderful. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Thursday, November 06, 2003 10:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Method 'SourceObject' of object... I just wonder if it could be something along these lines To refer to a control on a subform, use the following syntax: Forms![main form name]![subform control name].Form![control name] It is important to note that you cannot refer to controls on a subform with the following syntax: Forms![subform name]![control name] This is because a subform on a main form is not a form, but is a control just like a text box or a list box. You must refer to a subform as a control rather than a form, and specify the Form identifier following the subform control name reference to gain access to the controls on a subform. ACC2000: How to Refer to a Control on a Subform or Subreport http://support.microsoft.com/default.aspx?scid=kb;en-us;209099&Product=acc Steve Capistrant wrote: >Charlotte, > >1. Yes, that's the literal message, referring to object names that are not >found anywhere in my code or object set. >2. Using Access 2000. >3. I don't understand your distinction about runtime engines. The app >compiles cleanly, and compacts without complaint. But when I start hitting >a few areas with subforms, I get a hailstorm of these errors. I can turn on >error pausing and see where it trips up, and the code lines are all >different, but they do have the common thread of assigning various subform >names to the container form's subform's SourceObject. >4. Oops, you are right -- I meant "SourceObject". The offending lines read >like: >forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Thursday, November 06, 2003 7:29 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Method 'SourceObject' of object... > > >Is that the literal error message, or do 'SourceObject' and '_SubForm' >stand as placeholders? What version of Access are you using and What >file format? Are you getting the message when someone attempts to run >the application using the runtime engine or is it an error that >*happens* at runtime? Is the error triggered on methods like >"ControlSource" or did you mean "SourceObject" rather than what you >typed? > >Charlotte Foust > >-----Original Message----- >From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] >Sent: Thursday, November 06, 2003 5:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Method 'SourceObject' of object... > > >Help!! Our main database has been corrupted, displaying this: > >" Run-time Error '-2147417848 (80010108): Method 'SourceObject' of >object '_SubForm' failed " > >from a variety of contexts. How do I shake it? Nothing in MSKB. >We're >using Source Safe, and even totally rebuilt versions still have the >corruption, and it happens on all workstations. Triggered on lines like >this: >forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 7 11:14:46 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 18:14:46 +0100 Subject: [AccessD] Export Access Report to Word In-Reply-To: References: Message-ID: <2033328814.20031107181446@cactus.dk> Hi Rocky and Bryan et all As a freeware alternative to SnagIt, have a look at "Print To Picture" by a Russian guy, Gretchko Juriy, at: http://progrex.narod.ru/ptp.html Every thing except the program is in Russian but at this page you would download (at the bottom of the page) link two and perhaps three. The first you can spell "Program Print to picture, version 1.01", the second is a plugin which I'm not shure really is needed. When printing, resolution can be chosen from 50 x 50 to 600 x 600 dpi and file format can be BMP, PCX or PNG. It looks very promising! I've been looking for this kind of util for years - thanks for putting me on the track again. A tiny print of the page is attached for those of you accepting attachments. PS: Download speed from the site is very slow but stable, just be patient. /gustav > Here's another way that I stumbled across, while looking for something > else.... > SnagIt, a screen capture application, will actually allow you to do a > "Printer" capture. > It will capture a print and save it each page as an image. All you > print to a special SnagIt "printer" and it will capture each page > separately at printer quality. > You can get SnagIt from > http://www.techsmith.com/products/snagit/default.asp > They have a 30 day trial and it only costs $40. > Bryan Carbonnell > bryan_carbonnell at cbc.ca From serbach at new.rr.com Fri Nov 7 11:50:15 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 7 Nov 2003 11:50:15 -0600 Subject: [AccessD] A2K: Moving a replica to an FTP site Message-ID: <20031107115015.1844408660.serbach@new.rr.com> Dear Group, Have any of you lot tried MOVING a replica to an FTP site? I created a new Network Place in Windows 2000 that looks at a folder I set up on my web hosting site with the proper user name and password. However, no matter what I try to do in Replication Manager 4.0 I get the message: You cannot save in the folder you specified. Please choose another location. I, of course, tried to create a replica using the Access replication capability; but there I can only save a replica on the LAN, not on an FTP site. Any clues? Thanks, Steve Erbach Scientific Marketing Neenah, WI From bchacc at san.rr.com Fri Nov 7 14:21:30 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 12:21:30 -0800 Subject: [AccessD] Export Access Report to Word References: <2033328814.20031107181446@cactus.dk> Message-ID: <01cd01c3a56c$bcd0fe10$6501a8c0@HAL9002> Gustav: That worked great! The PCX output goes right into WORD Insert-->Picture-->From File. I didn't see where to set the resolution but the image prints great after being imported into WORD. So I'm happy. Very happy. Thanks for the lead. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, November 07, 2003 9:14 AM Subject: Re: [AccessD] Export Access Report to Word > Hi Rocky and Bryan et all > > As a freeware alternative to SnagIt, have a look at "Print To Picture" > by a Russian guy, Gretchko Juriy, at: > > http://progrex.narod.ru/ptp.html > > Every thing except the program is in Russian but at this page you > would download (at the bottom of the page) link two and perhaps three. > The first you can spell "Program Print to picture, version 1.01", the > second is a plugin which I'm not shure really is needed. > > When printing, resolution can be chosen from 50 x 50 to 600 x 600 dpi > and file format can be BMP, PCX or PNG. > > It looks very promising! I've been looking for this kind of util for > years - thanks for putting me on the track again. > > A tiny print of the page is attached for those of you accepting > attachments. > > PS: Download speed from the site is very slow but stable, just be > patient. > > /gustav > > > > Here's another way that I stumbled across, while looking for something > > else.... > > > SnagIt, a screen capture application, will actually allow you to do a > > "Printer" capture. > > > It will capture a print and save it each page as an image. All you > > print to a special SnagIt "printer" and it will capture each page > > separately at printer quality. > > > You can get SnagIt from > > http://www.techsmith.com/products/snagit/default.asp > > > They have a 30 day trial and it only costs $40. > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From scapistrant at symphonyinfo.com Fri Nov 7 14:28:38 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 7 Nov 2003 14:28:38 -0600 Subject: [AccessD] A2K: Moving a replica to an FTP site In-Reply-To: <20031107115015.1844408660.serbach@new.rr.com> Message-ID: If you haven't already, try explicitly mapping a drive letter to that drive. Some kinds of programs really fall apart trying to connect to UNC paths but do just fine when it is mapped. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Friday, November 07, 2003 11:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Moving a replica to an FTP site Dear Group, Have any of you lot tried MOVING a replica to an FTP site? I created a new Network Place in Windows 2000 that looks at a folder I set up on my web hosting site with the proper user name and password. However, no matter what I try to do in Replication Manager 4.0 I get the message: You cannot save in the folder you specified. Please choose another location. I, of course, tried to create a replica using the Access replication capability; but there I can only save a replica on the LAN, not on an FTP site. Any clues? Thanks, Steve Erbach Scientific Marketing Neenah, WI _______________________________________________ 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 Nov 7 18:30:44 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 08 Nov 2003 10:30:44 +1000 Subject: [AccessD] Export Access Report to Word In-Reply-To: <01cd01c3a56c$bcd0fe10$6501a8c0@HAL9002> Message-ID: <3FACC5D4.30056.56E6B7@localhost> On 7 Nov 2003 at 12:21, Rocky Smolin - Beach Access S wrote about Print To Picture:: > Gustav: > > That worked great! The PCX output goes right into WORD > Insert-->Picture-->From File. I didn't see where to set the resolution but > the image prints great after being imported into WORD. So I'm happy. Very > happy. > Yes, looks like a really useful tool. Thanks for the link Gustav. In W2K I found the resolution adjustment in the Printer properties - Advanced - Printing Defaults - Advanced . There you can set the paper size, resolution( 50 x 50 up to 600 x 600) and halftoning. Incidentally, a single page Word document printed at 300 x 300 to the various file types gave the following file sizes: BMP 962KB PCX 271KB PNG 62KB However, creating a Word document and embedding the graphic in it did quite a good job of compressing the BMP. Doc with PNG in it 82KB Doc with BMP in it 85KB. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From tomk at multiline.com.au Thu Nov 6 18:43:13 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Fri, 7 Nov 2003 08:43:13 +0800 Subject: [AccessD] Why is my Javascript (generated from Access) not working References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> Message-ID: <001b01c3a4c8$206043a0$0300a8c0@print> Hi all.... I have been using Access to build a HTML orderform for a couple of years and have recently updated the process ... After building the page with a series of queries etc I then write the page to the drive via FREEFILE and a PUT statement .... I have noticed that suddenly my pages javascript will not work UNLESS I first open the page in notepad and resave it. I dont have to edit the page in ANY WAY simply saving it will allow the JS to work... Can anyone shed any light on what the simple act of opening the page in notepad and then saving it is doing? I have been wrestling with this on and off for a couple of weeks now and have run out of things to try. regards Tom Keatley From DWUTKA at marlow.com Fri Nov 7 21:03:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 7 Nov 2003 21:03:44 -0600 Subject: [AccessD] Why is my Javascript (generated from Access) not wo rking Message-ID: <2F8793082E00D4119A1700B0D0216BF802227504@main2.marlow.com> Are you using vbCrLf between the lines, or just one or the other? Opening and saving in Notepad can force a change like that. Drew -----Original Message----- From: Tom Keatley [mailto:tomk at multiline.com.au] Sent: Thursday, November 06, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is my Javascript (generated from Access) not working Hi all.... I have been using Access to build a HTML orderform for a couple of years and have recently updated the process ... After building the page with a series of queries etc I then write the page to the drive via FREEFILE and a PUT statement .... I have noticed that suddenly my pages javascript will not work UNLESS I first open the page in notepad and resave it. I dont have to edit the page in ANY WAY simply saving it will allow the JS to work... Can anyone shed any light on what the simple act of opening the page in notepad and then saving it is doing? I have been wrestling with this on and off for a couple of weeks now and have run out of things to try. regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 8 05:01:20 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 8 Nov 2003 12:01:20 +0100 Subject: [AccessD] Why is my Javascript (generated from Access) not working In-Reply-To: <001b01c3a4c8$206043a0$0300a8c0@print> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> <001b01c3a4c8$206043a0$0300a8c0@print> Message-ID: <598340242.20031108120120@cactus.dk> Hi Tom As Drew mentions it probably has to do with line breaks being either Chr(10) + Chr(13) or one of these only. Open the file with a hex editor before and after saving with Notepad and you should be able to see what's going on. Here's a freeware tool: http://www.memecode.com/ihex.php /gustav > I have been using Access to build a HTML orderform for a couple of years and > have recently updated the process ... > After building the page with a series of queries etc I then write the page > to the drive via FREEFILE and a PUT statement .... > I have noticed that suddenly my pages javascript will not work UNLESS I > first open the page in notepad and resave it. > I dont have to edit the page in ANY WAY simply saving it will allow the JS > to work... > Can anyone shed any light on what the simple act of opening the page in > notepad and then saving it is doing? > I have been wrestling with this on and off for a couple of weeks now and > have run out of things to try. > regards > Tom Keatley From jcolby at colbyconsulting.com Sat Nov 8 10:10:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 11:10:50 -0500 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com From gustav at cactus.dk Sat Nov 8 10:25:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 8 Nov 2003 17:25:47 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <11127807434.20031108172547@cactus.dk> Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com From serbach at new.rr.com Sat Nov 8 10:57:49 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 8 Nov 2003 10:57:49 -0600 Subject: [AccessD] A2K: Moving a replica to an FTP site Message-ID: <20031108105749.1504749872.serbach@new.rr.com> Steve, >> try explicitly mapping a drive letter to that drive << I will definitely try that. I'm trying to get my arms around Indirect Replication for this client of mine who has far-flung employees who don't have access to the home network. Regards, Steve Erbach Scientific Marketing Neenah, WI From jcolby at colbyconsulting.com Sat Nov 8 11:22:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:22:17 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <11127807434.20031108172547@cactus.dk> Message-ID: No help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 8 11:44:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:44:39 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Nov 8 11:45:07 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 08 Nov 2003 09:45:07 -0800 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: Hi John: Here is a silly question. Why not set the form to visible = false initially and then ... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open No help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 8 11:46:23 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:46:23 -0500 Subject: [AccessD] OT: Outlook new mail notification Message-ID: Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Sat Nov 8 11:53:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:53:56 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: Visible isn't a design time property. From Access' help: You can set this property by using the object's property sheet (for sections and all controls except page breaks), a macro, or Visual Basic. For forms, reports, and data access pages, you must set this property by using a macro or Visual Basic. Plus... see my explanation of LWS functionality. I can't set it at design time even if I wanted to. If a user just dbl-clicks to open a form I have no opportunity to run a macro. Thus I am left with Visual Basic to perform this magic. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, November 08, 2003 12:45 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Hi John: Here is a silly question. Why not set the form to visible = false initially and then ... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open No help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Nov 8 12:09:59 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 8 Nov 2003 13:09:59 -0500 Subject: [AccessD] A2K - setting a form invisible on open References: Message-ID: <002101c3a623$8725bf50$6401a8c0@default> John, What about Screen.ActiveForm.Visible = False Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 08, 2003 12:53 PM Subject: RE: [AccessD] A2K - setting a form invisible on open > Visible isn't a design time property. From Access' help: > > You can set this property by using the object's property sheet (for sections > and all controls except page breaks), a macro, or Visual Basic. > For forms, reports, and data access pages, you must set this property by > using a macro or Visual Basic. > > Plus... see my explanation of LWS functionality. > > I can't set it at design time even if I wanted to. If a user just > dbl-clicks to open a form I have no opportunity to run a macro. Thus I am > left with Visual Basic to perform this magic. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Saturday, November 08, 2003 12:45 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Hi John: > > Here is a silly question. Why not set the form to visible = false initially > and then ... > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Saturday, November 08, 2003 9:22 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > No help. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, November 08, 2003 11:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > How about moving that command to OnLoad? > > /gustav > > > > I have a form I want to open invisible every time it opens, regardless of > > how it is opened. I placed me.visible = false in OnOpen. That doesn't > > work! The strange part is that if I place a breakpoint on the line and > stop > > execution on the me.visible = false, then continue, the form correctly > hides > > itself. > > > Has anyone ever seen such a strangeness? > > > John W. Colby > > www.colbyconsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 8 12:15:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 8 Nov 2003 19:15:14 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <19834374237.20031108191514@cactus.dk> Hi John Couldn't you cancel the opening when this should not be allowed and then call a subfunction to open the form not visible: Public Sub Form_Open(Cancel As Integer) Cancel = IsVisibleDisabledForCurrentUser() If Cancel = True Then Call SubFunctionToOpenFormNotVisible(Me.Name) End If End Sub /gustav >> I have a form I want to open invisible every time it opens, regardless of >> how it is opened. I placed me.visible = false in OnOpen. That doesn't >> work! The strange part is that if I place a breakpoint on the line and >> stop execution on the me.visible = false, then continue, the form >> correctly hides itself. From jcolby at colbyconsulting.com Sat Nov 8 12:24:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 13:24:55 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: More stuff. I just discovered that as you try to unhide the form the first time, it rehides but APPARENTLY the focus stays on that form. I say that because the database window (the only other thing visible/open in my testing case) does NOT have the focus, and the design toolbar "disables", i.e. all the controls gray out. If you click on the database window it gets the focus, the toolbar "enables" and THEN if you try to unhide the hidden form a second time, it correctly does NOT unhide!!! There's a hint in there somewhere I have to believe. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 12:45 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 8 12:25:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 13:25:08 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <19834374237.20031108191514@cactus.dk> Message-ID: Gustav, Good thought. I'll try that. It seems that if I use exactly your code then the form would try to open, would already be open so would "fail" and would then return and continue closing. I'll see though. I also have to handle making user the form can never be made visible manually though. See my email re what happens if you unhide it twice in a row. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 1:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John Couldn't you cancel the opening when this should not be allowed and then call a subfunction to open the form not visible: Public Sub Form_Open(Cancel As Integer) Cancel = IsVisibleDisabledForCurrentUser() If Cancel = True Then Call SubFunctionToOpenFormNotVisible(Me.Name) End If End Sub /gustav >> I have a form I want to open invisible every time it opens, regardless of >> how it is opened. I placed me.visible = false in OnOpen. That doesn't >> work! The strange part is that if I place a breakpoint on the line and >> stop execution on the me.visible = false, then continue, the form >> correctly hides itself. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 8 14:11:43 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 8 Nov 2003 14:11:43 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <17172960.1068308185175.JavaMail.root@sniper.marix.com> Message-ID: <000201c3a634$8b7ab1d0$de1811d8@DanWaters> John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 8 14:23:08 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 8 Nov 2003 14:23:08 -0600 Subject: [AccessD] A2K - setting a form invisible on open - oops! In-Reply-To: <1947100.1068322701956.JavaMail.root@sniper.marix.com> Message-ID: <000801c3a636$22c9ef50$de1811d8@DanWaters> I re-read this and realized that it sounds like the form being set to hidden will cause the form to automatically close after the code is finished. Not! The code behind the form closes the form. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 2:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Nov 8 14:27:49 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 8 Nov 2003 20:27:49 -0000 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <000201c3a634$8b7ab1d0$de1811d8@DanWaters> Message-ID: <025d01c3a636$c6f64920$b274d0d5@minster33c3r25> John You don't have a SetFocus to anything on the form after the me.visible=False do you? That would make it visible again. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 08 November 2003 20:12 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > John, > > I have a startup form with quite a bit of startup code behind > it. To make it invisible, I go to the database window, > right-click the form, then select properties. Then check the > Hidden checkbox. Now the form will never display, but all > the code behind the form runs from the form's Open event. The > form also closes itself after it does all it's things and > opens the switchboard form. > > For you to be able to see and select the form from the list > in the database window, go to Tools|Options, then select the > View tab and check the Show Hidden Objects checkbox. Now, > when the form list is displayed in the database window, the > startup form's small icon will be 'grayed out' to indicate > that this form is hidden. > > As long as your users can't muck around in Tool|Options and > can't open the database window, this may work for you. > > HTH! > Dan Waters > Quality Process Solutions > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Saturday, November 08, 2003 10:11 AM > To: AccessD > Subject: [AccessD] A2K - setting a form invisible on open > > > I have a form I want to open invisible every time it opens, > regardless of how it is opened. I placed me.visible = false > in OnOpen. That doesn't work! The strange part is that if I > place a breakpoint on the line and stop execution on the > me.visible = false, then continue, the form correctly hides itself. > > Has anyone ever seen such a strangeness? > > John W. Colby > www.colbyconsulting.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 bill.marriott at optusnet.com.au Sat Nov 8 15:30:42 2003 From: bill.marriott at optusnet.com.au (Bill & Janine Marriott) Date: Sun, 9 Nov 2003 08:30:42 +1100 Subject: [AccessD] uploading data from an fixed field length txt file In-Reply-To: Message-ID: <001201c3a63f$9163e7a0$0211a4cb@marriott> Hi Gary (and Darren) Just what I wanted! Thanks Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, 8 November 2003 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] uploading data from an fixed field length txt file Hi Bill, I'd recommend Seth Galitzer's Home Page - under "downloads" & "File I/O in VB" http://puma.agron.ksu.edu/~sgsax/ Gary Kjos garykjos at hotmail.com >From: "Bill & Janine Marriott" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] uploading data from an fixed field length txt file >Date: Fri, 7 Nov 2003 19:08:43 +1100 > > > >Hi Everyone, > >I haven't visited this site for a while. Nice to see some old familiar >faces. > >Does anyone know where I can look for code samples for uploading data >from a text file into Access xp? > >Thanks > >Bill Marriott > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sat Nov 8 15:51:26 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat, 8 Nov 2003 22:51:26 +0100 Subject: [AccessD] ADO Connection from FORM In-Reply-To: Message-ID: <000201c3a642$75b7ad90$69fa2250@servercafe> We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== From jcolby at colbyconsulting.com Sat Nov 8 20:44:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 21:44:12 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <000201c3a634$8b7ab1d0$de1811d8@DanWaters> Message-ID: Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Nov 8 22:20:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 08 Nov 2003 20:20:19 -0800 Subject: [AccessD] ADO Connection from FORM In-Reply-To: <000201c3a642$75b7ad90$69fa2250@servercafe> Message-ID: Hi Jaun: Only an ADP Access form can connection directly to recordset otherwise an ODBC connection string can but that is one layer up from ADO-OLE and performance tend much reduce especially if you have just requested a large group of records. I tend to dynamically link and lock the recordset, instead of the forms and use code to feed the forms. I am sure there is other methods. I posted the following code a week ago but you might not have seen it: code >>> Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' if your are connecting to MDB database gstrConnection = "Provider=Microsoft.Jet.OLEDB.4.0; _ Persist Security Info=False; _ Data Source= MyDatabaseNameAndLocation" ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected .......... and everytime you want to connect after that... Dim cmdInvoice As ADODB.Command Public rsInvoice As ADODB.Recordset Set rsInvoice = New ADODB.Recordset Set cmdInvoice = New ADODB.Command ' accessing a parameterized query in a MDB database With cmdInvoice .ActiveConnection = gstrConnection .CommandText = "MyQuery" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("InvoiceCode", adChar, adParamInput, 10, strInvoiceCode) End With With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open cmdInvoice If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With ...or direct, no command section needed With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open "SELECT * FROM Invoice " & _ "ORDER BY [Group]", gstrConnection If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With <<< code HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, November 08, 2003 1:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Connection from FORM We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.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 Nov 8 23:57:10 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 8 Nov 2003 23:57:10 -0600 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <2F8793082E00D4119A1700B0D0216BF802227507@main2.marlow.com> Sounds like you need to have a doevents or me.Repaint command. You are setting a form's visible property to false, but that requires a screen repaint. Just a guess. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 10:10 AM Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Nov 9 00:05:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 9 Nov 2003 00:05:48 -0600 Subject: [AccessD] OT: Outlook new mail notification Message-ID: <2F8793082E00D4119A1700B0D0216BF802227508@main2.marlow.com> What version of Outlook? Looks like there was an option in versions before 2000. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 11:46 AM Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sun Nov 9 00:24:11 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun, 9 Nov 2003 07:24:11 +0100 Subject: [AccessD] ADO Connection from FORM In-Reply-To: Message-ID: <000201c3a68a$170ef620$69fa2250@servercafe> Thanks Jim for your soon answer, but we have a dude.. How to convert and MDE/MDB application to ADP, and this ADP is compiled like MDE?? Is possible make a distributable ADP applications? Is my first time with ADP. And i need study and read some more information about this. Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: domingo, 09 de noviembre de 2003 5:20 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADO Connection from FORM Hi Jaun: Only an ADP Access form can connection directly to recordset otherwise an ODBC connection string can but that is one layer up from ADO-OLE and performance tend much reduce especially if you have just requested a large group of records. I tend to dynamically link and lock the recordset, instead of the forms and use code to feed the forms. I am sure there is other methods. I posted the following code a week ago but you might not have seen it: code >>> Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' if your are connecting to MDB database gstrConnection = "Provider=Microsoft.Jet.OLEDB.4.0; _ Persist Security Info=False; _ Data Source= MyDatabaseNameAndLocation" ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected .......... and everytime you want to connect after that... Dim cmdInvoice As ADODB.Command Public rsInvoice As ADODB.Recordset Set rsInvoice = New ADODB.Recordset Set cmdInvoice = New ADODB.Command ' accessing a parameterized query in a MDB database With cmdInvoice .ActiveConnection = gstrConnection .CommandText = "MyQuery" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("InvoiceCode", adChar, adParamInput, 10, strInvoiceCode) End With With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open cmdInvoice If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With ...or direct, no command section needed With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open "SELECT * FROM Invoice " & _ "ORDER BY [Group]", gstrConnection If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With <<< code HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, November 08, 2003 1:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Connection from FORM We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at 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 jcolby at colbyconsulting.com Sun Nov 9 06:14:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 9 Nov 2003 07:14:27 -0500 Subject: [AccessD] OT: Outlook new mail notification In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227508@main2.marlow.com> Message-ID: O2K John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, November 09, 2003 1:06 AM To: 'AccessD ' Subject: RE: [AccessD] OT: Outlook new mail notification What version of Outlook? Looks like there was an option in versions before 2000. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 11:46 AM Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Sun Nov 9 06:30:44 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Sun, 09 Nov 2003 06:30:44 -0600 Subject: [AccessD] OT: Outlook new mail notification Message-ID: That's actually a Windows setting, not an Outlook setting. I don't know which OS you're using, but I think what I'm about to describe started with Windows 2K. Right-click on Start menu Choose Properties Click the Taskbar tab At the bottom, under Notification Area, choose Customize Find the "You have new unopened items" line and click where it says "Hide when Inactive" and change that to "Always Hide" Hope that helps, Gina From: "John Colby" Reply-To: Access Developers discussion and problem solving To: "AccessD" Subject: [AccessD] OT: Outlook new mail notification Date: Sat, 8 Nov 2003 12:46:23 -0500 Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From carbonnb at sympatico.ca Sun Nov 9 07:07:35 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 09 Nov 2003 08:07:35 -0500 Subject: [AccessD] OT: Outlook new mail notification In-Reply-To: Message-ID: <3FADF5C7.14414.EA465@localhost> On 8 Nov 2003 at 12:46, John Colby wrote: > Does anyone know how to turn off the little envelope icon that is > placed in the tool tray when a new mail arrives? Please responsed on dba-tech. If you are not subscribed you can subscribe by going to: http://databaseadvisors.com/mailman/listinfo/dba-tech or by sending an e-mail to: dba-tech-requests at databaseadvisors.com with the body of: subscribe -- Bryan Carbonnell - carbonnb at sympatico.ca Welcome to Hell. Here's your copy of Windows. From carbonnb at sympatico.ca Sun Nov 9 07:14:56 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 09 Nov 2003 08:14:56 -0500 Subject: (Fwd) RE: [AccessD] A2K - setting a form invisible on open Message-ID: <3FADF780.2161.155B6E@localhost> Forwarded because of a bounce. ------- Forwarded message follows ------- Send reply to: From: "Robert Gracie" Date sent: Sat, 8 Nov 2003 23:37:08 -0500 John This is real crude but will this work... Form Level Private Sub Form_Open(Cancel As Integer) Dim ScrVis As Long ScrVis = 0 'LWS Check Point 'ScrCount is a global counter, to make sure we don't loop If ScrVis = 0 And ScrCount = 0 Then ScrCount = 1 Call Openform(Me.Name) End If End Sub Module Level Public Sub Openform(FrmName As String) DoCmd.Close acForm, FrmName DoCmd.Openform FrmName, , , , , acHidden End Sub Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------- End of forwarded message ------- -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That to ignore the facts does not change the facts. -- Bryan Carbonnell - carbonnb at sympatico.ca There are two ways to write bug-free code; only the third way works. From Subscriptions at servicexp.com Sun Nov 9 07:56:02 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sun, 9 Nov 2003 08:56:02 -0500 Subject: (Fwd) RE: [AccessD] A2K - setting a form invisible on open In-Reply-To: <3FADF780.2161.155B6E@localhost> Message-ID: Thanks Bryon... I'm repost posting the code because of the formatting errors. Form Level Private Sub Form_Open(Cancel As Integer) Dim ScrVis As Long ScrVis = 0 'LWS Check Point 'ScrCount is a global counter, to make sure we don't loop If ScrVis = 0 And ScrCount = 0 Then ScrCount = 1 Call Openform(Me.Name) End If End Sub Module Level Public Sub Openform(FrmName As String) DoCmd.Close acForm, FrmName DoCmd.Openform FrmName, , , , , acHidden End Sub Robert Gracie www.servicexp.com SNIP From dwaters at usinternet.com Sun Nov 9 08:39:53 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 9 Nov 2003 08:39:53 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <546976.1068345991467.JavaMail.root@sniper.marix.com> Message-ID: <000001c3a6cf$56e0f3d0$de1811d8@DanWaters> John, I also manage control formatting on forms based on user authorities, which come from a table. These authorities also determine who is authorized to open a form, and the authorities are changed from time to time by a manager at the company. A wild thought - Could your form have a timer event with a check on the user's authorities? If they are not authorized, then the form's visible property could be reset to me.visible = false. I guess you'd have to use some fraction of a second as the timer frequency. Maybe if a non-authorized user viewing a form is an infrequent event this could work. I guess if the event could use local information this might be useful. But if this is off the wall, just sweep it up! Best of Luck, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomk at multiline.com.au Sat Nov 8 17:57:28 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Sun, 9 Nov 2003 07:57:28 +0800 Subject: [AccessD] How do I place API file dialogue in centre of form References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> <001b01c3a4c8$206043a0$0300a8c0@print> <598340242.20031108120120@cactus.dk> Message-ID: <001101c3a654$1154a710$0300a8c0@print> Hi all... I am using the code below to bring up a standard file dialogue in Windows to select a file for import which works GREAT. I would like however the dialogue to appear in the centre of the form it is being called from. I believe this will have something to do with the HWND but have no idea how to proceed from here. Can anyone assist ? Function APIDialogBox() Dim OpenFile As OPENFILENAME Dim lReturn As Long Dim sFilter As String OpenFile.lStructSize = Len(OpenFile) 'OpenFile.hwndOwner = me.Hwnd 'OpenFile.hInstance = App.hInstance sFilter = "Pied Piper Order Files (*.eml)" & Chr(0) & "*.eml" & Chr(0) _ & "OLD Pied Piper Order Files (*.XXX)" & Chr(0) & "*.XXX" & Chr(0) _ & "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) 'sFilter = "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) OpenFile.lpstrFilter = sFilter 'OpenFile.nFilterIndex = 1 OpenFile.lpstrFile = String(257, 0) OpenFile.nMaxFile = Len(OpenFile.lpstrFile) - 1 OpenFile.lpstrFileTitle = OpenFile.lpstrFile OpenFile.nMaxFileTitle = OpenFile.nMaxFile OpenFile.lpstrInitialDir = "C:\_WebOrders\" OpenFile.lpstrTitle = "Please Select a Web Order" OpenFile.flags = 0 lReturn = GetOpenFileName(OpenFile) If lReturn = 0 Then APIDialogBox = "" Else APIDialogBox = Trim(OpenFile.lpstrFile) 'gives me pathname\filename OrdFilNam = OpenFile.lpstrFile 'gives me filename filnam = OpenFile.lpstrFileTitle 'gives me path\ PthNam = Left(OpenFile.lpstrFile, OpenFile.nFileOffset) 'Call WEBIMPORT End If End Function From jcolby at colbyconsulting.com Sun Nov 9 18:06:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 9 Nov 2003 19:06:49 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <000001c3a6cf$56e0f3d0$de1811d8@DanWaters> Message-ID: I certainly can't have a timer going all of the time. However I could have a hidden form that the timer is turned on by demand. A form opening that needs to be invisible puts it's name in a variable (or in a collection) The code that does that could start the timer and set the time to 250 ms or something. The form put's it's name in a collection and closes. The form's timer then starts, which reads the form(s) out of the collection and opens them invisible. What a &^%$ing kludge! Wouldn't it be nice if Access just worked? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Sunday, November 09, 2003 9:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I also manage control formatting on forms based on user authorities, which come from a table. These authorities also determine who is authorized to open a form, and the authorities are changed from time to time by a manager at the company. A wild thought - Could your form have a timer event with a check on the user's authorities? If they are not authorized, then the form's visible property could be reset to me.visible = false. I guess you'd have to use some fraction of a second as the timer frequency. Maybe if a non-authorized user viewing a form is an infrequent event this could work. I guess if the event could use local information this might be useful. But if this is off the wall, just sweep it up! Best of Luck, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jonper at oceanfree.net Sun Nov 9 18:40:49 2003 From: jonper at oceanfree.net (John Fitz) Date: Mon, 10 Nov 2003 00:40:49 -0000 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: John, Try setting the detail section Visible property to No, the border property to none and the navigation buttons to no. Then use your code to reset these propeties as you wish. The fom will open invisible. John Fitz. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: 10 November 2003 00:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open I certainly can't have a timer going all of the time. However I could have a hidden form that the timer is turned on by demand. A form opening that needs to be invisible puts it's name in a variable (or in a collection) The code that does that could start the timer and set the time to 250 ms or something. The form put's it's name in a collection and closes. The form's timer then starts, which reads the form(s) out of the collection and opens them invisible. What a &^%$ing kludge! Wouldn't it be nice if Access just worked? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Sunday, November 09, 2003 9:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I also manage control formatting on forms based on user authorities, which come from a table. These authorities also determine who is authorized to open a form, and the authorities are changed from time to time by a manager at the company. A wild thought - Could your form have a timer event with a check on the user's authorities? If they are not authorized, then the form's visible property could be reset to me.visible = false. I guess you'd have to use some fraction of a second as the timer frequency. Maybe if a non-authorized user viewing a form is an infrequent event this could work. I guess if the event could use local information this might be useful. But if this is off the wall, just sweep it up! Best of Luck, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 20:50:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 10 Nov 2003 12:50:50 +1000 Subject: [AccessD] How do I place API file dialogue in centre of form In-Reply-To: <001101c3a654$1154a710$0300a8c0@print> Message-ID: <3FAF89AA.28465.F495C@localhost> On 9 Nov 2003 at 7:57, Tom Keatley wrote: > Hi all... > I am using the code below to bring up a standard file dialogue in Windows to > select a file for import which works GREAT. > > I would like however the dialogue to appear in the centre of the form it is > being called from. I believe this will have something to do with the HWND > but have no idea how to proceed from here. > > Can anyone assist ? > > Just uncomment the line 'OpenFile.hwndOwner = me.Hwnd and the dialog becomes a child of the form is opened from. > > > Function APIDialogBox() > Dim OpenFile As OPENFILENAME > Dim lReturn As Long > Dim sFilter As String > OpenFile.lStructSize = Len(OpenFile) > 'OpenFile.hwndOwner = me.Hwnd > 'OpenFile.hInstance = App.hInstance > sFilter = "Pied Piper Order Files (*.eml)" & Chr(0) & "*.eml" & > Chr(0) _ > & "OLD Pied Piper Order Files (*.XXX)" & Chr(0) & "*.XXX" & Chr(0) > _ > & "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) > 'sFilter = "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) > OpenFile.lpstrFilter = sFilter > 'OpenFile.nFilterIndex = 1 > OpenFile.lpstrFile = String(257, 0) > > OpenFile.nMaxFile = Len(OpenFile.lpstrFile) - 1 > OpenFile.lpstrFileTitle = OpenFile.lpstrFile > OpenFile.nMaxFileTitle = OpenFile.nMaxFile > OpenFile.lpstrInitialDir = "C:\_WebOrders\" > OpenFile.lpstrTitle = "Please Select a Web Order" > OpenFile.flags = 0 > lReturn = GetOpenFileName(OpenFile) > If lReturn = 0 Then > APIDialogBox = "" > Else > APIDialogBox = Trim(OpenFile.lpstrFile) > 'gives me pathname\filename > OrdFilNam = OpenFile.lpstrFile > 'gives me filename > filnam = OpenFile.lpstrFileTitle > 'gives me path\ > PthNam = Left(OpenFile.lpstrFile, OpenFile.nFileOffset) > 'Call WEBIMPORT > End If > > > End Function > > _______________________________________________ > 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 roz.clarke at donnslaw.co.uk Mon Nov 10 03:39:35 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 10 Nov 2003 09:39:35 -0000 Subject: FW: [AccessD] A2K - setting a form invisible on open Message-ID: <61F915314798D311A2F800A0C9C83188047C66F8@dibble.observatory.donnslaw.co.uk> Forwarded on behalf of Robert; Bryan can you check why this message was blocked? thanks Roz -----Original Message----- From: Robert Gracie [mailto:Robert at servicexp.com] Sent: 09 November 2003 04:37 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open John This is real crude but will this work... Form Level Private Sub Form_Open(Cancel As Integer) Dim ScrVis As Long ScrVis = 0 'LWS Check Point 'ScrCount is a global counter, to make sure we don't loop If ScrVis = 0 And ScrCount = 0 Then ScrCount = 1 Call Openform(Me.Name) End If End Sub Module Level Public Sub Openform(FrmName As String) DoCmd.Close acForm, FrmName DoCmd.Openform FrmName, , , , , acHidden End Sub Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Mon Nov 10 09:07:24 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 10 Nov 2003 10:07:24 -0500 Subject: [AccessD] OT: Outlook new mail notification Message-ID: John - Try going to Tools>Options. On the Preferences tab, click Email Options. In the next window, click Advanced Email Options. Uncheck the option 'Show an envelope icon in the system tray'. Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 12:46 PM To: AccessD Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 10 09:30:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 10:30:58 -0500 Subject: [AccessD] OT: Outlook new mail notification In-Reply-To: Message-ID: Mark, I follow you all the way to the last line, but there is no such checkbox. Outlook 2000 on Win2K. I could SWEAR I turned this thing on, now I just want to turn it off! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Monday, November 10, 2003 10:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification John - Try going to Tools>Options. On the Preferences tab, click Email Options. In the next window, click Advanced Email Options. Uncheck the option 'Show an envelope icon in the system tray'. Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 12:46 PM To: AccessD Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 10 10:43:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Nov 2003 08:43:10 -0800 Subject: [AccessD] ADO Connection from FORM Message-ID: You can create a compiled ADE from an ADP, and yes, you can create distributable ADP applications. Charlotte Foust -----Original Message----- From: MastercafeCTV [mailto:mastercafe at ctv.es] Sent: Saturday, November 08, 2003 10:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO Connection from FORM Thanks Jim for your soon answer, but we have a dude.. How to convert and MDE/MDB application to ADP, and this ADP is compiled like MDE?? Is possible make a distributable ADP applications? Is my first time with ADP. And i need study and read some more information about this. Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: domingo, 09 de noviembre de 2003 5:20 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADO Connection from FORM Hi Jaun: Only an ADP Access form can connection directly to recordset otherwise an ODBC connection string can but that is one layer up from ADO-OLE and performance tend much reduce especially if you have just requested a large group of records. I tend to dynamically link and lock the recordset, instead of the forms and use code to feed the forms. I am sure there is other methods. I posted the following code a week ago but you might not have seen it: code >>> Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' if your are connecting to MDB database gstrConnection = "Provider=Microsoft.Jet.OLEDB.4.0; _ Persist Security Info=False; _ Data Source= MyDatabaseNameAndLocation" ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected .......... and everytime you want to connect after that... Dim cmdInvoice As ADODB.Command Public rsInvoice As ADODB.Recordset Set rsInvoice = New ADODB.Recordset Set cmdInvoice = New ADODB.Command ' accessing a parameterized query in a MDB database With cmdInvoice .ActiveConnection = gstrConnection .CommandText = "MyQuery" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("InvoiceCode", adChar, adParamInput, 10, strInvoiceCode) End With With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open cmdInvoice If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With ...or direct, no command section needed With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open "SELECT * FROM Invoice " & _ "ORDER BY [Group]", gstrConnection If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With <<< code HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, November 08, 2003 1:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Connection from FORM We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at 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 MarkBoyd at McBeeAssociates.com Mon Nov 10 10:57:24 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 10 Nov 2003 11:57:24 -0500 Subject: [AccessD] OT: Outlook new mail notification Message-ID: I'm using Outlook 2002. This must be a newer feature. Sorry. Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 10:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification Mark, I follow you all the way to the last line, but there is no such checkbox. Outlook 2000 on Win2K. I could SWEAR I turned this thing on, now I just want to turn it off! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Monday, November 10, 2003 10:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification John - Try going to Tools>Options. On the Preferences tab, click Email Options. In the next window, click Advanced Email Options. Uncheck the option 'Show an envelope icon in the system tray'. Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 12:46 PM To: AccessD Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Nov 10 12:42:31 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 10 Nov 2003 13:42:31 -0500 (EST) Subject: [AccessD] Where claise in IIf query In-Reply-To: <38712.12.3.132.98.1068064848.squirrel@heck.bay9.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> <38712.12.3.132.98.1068064848.squirrel@heck.bay9.com> Message-ID: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Hey Group, I am not able to put conditions in queries whee I use IIF. What is the alternate solution ? This works --- SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3; however when Iput in WHERE SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 WHERE JJ = "zzz" doesn't work. I tried inserting GROUP BY by all statements, and then HAVING, but doesn't work either... ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From jcolby at colbyconsulting.com Mon Nov 10 12:46:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 13:46:08 -0500 Subject: [AccessD] OT: registry backup Message-ID: Does anyone know if the registry is backed up automatically by Windows? Can it be? I had a power failure this morning. I have a UPS for each computer, connected by serial port and they reported that they were shutting down correctly, however when I came back up my main dev machine is pretty badly mangled. Had to go into safe mode and get rid of some of the start up stuff to even get loaded, now just strange things - Access asks me if I want to register my copy, the desktop is totally re-arranged, MS Messenger looks different, Norton utilities won't run at all, Norton defrag says it's in a bizarre location etc. Sounds like a registry problem to me. So... is there a backup somewhere? If not, why not? John W. Colby www.colbyconsulting.com From KIsmert at TexasSystems.com Mon Nov 10 12:00:59 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Mon, 10 Nov 2003 12:00:59 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: <00bb01c3a7b4$994f78a0$2a3ca8c0@TEXASSYSTEMS.COM> John: Two comments - 1. It escapes me why you would even want to manage an open, invisible form. If the user can't view it, then by far the simplist thing to do is not open it. Is there some other issue driving this need that you haven't elaborated on? 2. The object method of opening a form, Set FormObject = New Form_FormName, creates an invisible instance of your form. The user will be absolutely unaware of its presence until you decide to show it by setting Visible =True. That's the upside of this method. The downside is you can't use DoCmd.OpenForm. Instead, you would have to write your own object-oriented framework to manage the life of your forms. -Ken -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Mon Nov 10 12:58:22 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon, 10 Nov 2003 13:58:22 -0500 Subject: [AccessD] OT: registry backup Message-ID: Replies to DBA-Tech. If you are not subscribed you can subscribe by going to: http://databaseadvisors.com/mailman/listinfo/dba-tech or by sending an e-mail to: dba-tech-requests at databaseadvisors.com with the body of: subscribe Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 10-Nov-03 1:46:08 PM >>> Does anyone know if the registry is backed up automatically by Windows? Can it be? I had a power failure this morning. I have a UPS for each computer, connected by serial port and they reported that they were shutting down correctly, however when I came back up my main dev machine is pretty badly mangled. Had to go into safe mode and get rid of some of the start up stuff to even get loaded, now just strange things - Access asks me if I want to register my copy, the desktop is totally re-arranged, MS Messenger looks different, Norton utilities won't run at all, Norton defrag says it's in a bizarre location etc. Sounds like a registry problem to me. So... is there a backup somewhere? If not, why not? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 10 13:03:45 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 10 Nov 2003 19:03:45 -0000 Subject: [AccessD] Where claise in IIf query In-Reply-To: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Message-ID: <032601c3a7bd$5dd7ff00$b274d0d5@minster33c3r25> Oleg You can't refer to an expression's name in the WHERE clause. Best way is to create a little function (or two in this case). You can then refer to the function's return value in the SELECT and WHERE clauses. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oleg_123 at xuppa.com > Sent: 10 November 2003 18:43 > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I > use IIF. What is the alternate solution ? This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, > and then HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Mon Nov 10 13:17:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 14:17:01 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <00bb01c3a7b4$994f78a0$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: Ken, I am writing a security utility aimed at other developers. It is designed to allow YOU (and me as a developer) to manage the presentation security of a database front end. IOW, what forms can a user / group open? View? Add records to? Delete records in? Edit records in? Etc. As you can see, I am not necessarily "in control of" the target FE at design time since the FE is YOURS. Why would you want to open a form not visible? Perhaps the form is a filter form that you use to feed values to a query. Perhaps the form has a timer ticking that performs some process. Perhaps... uh... I have no damned idea what else you might decide to do with a form that is open but that a selected group or groups of users are not allowed to see. I know that I personally use a hidden form to force a cleanup of my framework when the database closes. Since a form cannot close without it's OnClose firing, I use that to run a Terminate() function that closes everything gracefully. So not matter how the db closes, my term() function runs. I cannot allow the users to unhide that since it is a background processing form and they have no business there. In the end though, the answer is I don't know why any given developer is going to want to open a form that users can't see, I simply know that it happens and I need to provide the developer with a means of enforcing this security. BTW, thanks for #2. I knew that but never used it. I will use that in my own framework for hiding my cleanup form. It may be an answer to re-opening the form that the developer wants hidden such that users can't see them. This thread has been a good one for me. Thanks again. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ken Ismert Sent: Monday, November 10, 2003 1:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John: Two comments - 1. It escapes me why you would even want to manage an open, invisible form. If the user can't view it, then by far the simplist thing to do is not open it. Is there some other issue driving this need that you haven't elaborated on? 2. The object method of opening a form, Set FormObject = New Form_FormName, creates an invisible instance of your form. The user will be absolutely unaware of its presence until you decide to show it by setting Visible =True. That's the upside of this method. The downside is you can't use DoCmd.OpenForm. Instead, you would have to write your own object-oriented framework to manage the life of your forms. -Ken -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Nov 10 13:22:03 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 10 Nov 2003 14:22:03 -0500 Subject: [AccessD] Where claise in IIf query In-Reply-To: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Message-ID: Define the IIF() expression as a column (field), then place criteria on that. 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 Oleg_123 at xuppa.com Sent: Monday, November 10, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Where claise in IIf query Hey Group, I am not able to put conditions in queries whee I use IIF. What is the alternate solution ? This works --- SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3; however when Iput in WHERE SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 WHERE JJ = "zzz" doesn't work. I tried inserting GROUP BY by all statements, and then HAVING, but doesn't work either... ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ 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 Nov 10 13:50:15 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 11:50:15 -0800 Subject: [AccessD] Another Hosed Database Message-ID: <006001c3a7c3$dc8a7a70$6501a8c0@HAL9002> Dear List: A client of mine has a database which got corrupted. I told them to open the back end directly and they got the message which said database appears to be corrupted would you like to attempt repair, which they did and it appeared to go OK. However, apparently all is not well, because when I try to add a record to a detail file - bound form, subform on a tab - the command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified record'. When I run the query that is the record source for the subform, it does indeed not allow additions. When I do the same thing on an older copy of their database everything works OK. So I know it's not in the front end. Can this db be saved? MTIA, Rocky Smolin Beach Access Software P.S. Yes they have a backup but no it's not recent. Apparently the person responsible for backup up...didn't. From Oleg_123 at xuppa.com Mon Nov 10 13:53:39 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 10 Nov 2003 14:53:39 -0500 (EST) Subject: [AccessD] Where claise in IIf query In-Reply-To: References: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Message-ID: <16448.12.3.132.98.1068494019.squirrel@heck.bay9.com> I don't understand what you mean... > Define the IIF() expression as a column (field), then place criteria > on > that. > > 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 > Oleg_123 at xuppa.com > Sent: Monday, November 10, 2003 1:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I use IIF. > What is the alternate solution ? > This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, and then > HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From cfoust at infostatsystems.com Mon Nov 10 14:02:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Nov 2003 12:02:03 -0800 Subject: [AccessD] Another Hosed Database Message-ID: Rocky, You've GOT to get some different clients! LOL What version of Access and have you tried building a new query? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, November 10, 2003 11:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Another Hosed Database Dear List: A client of mine has a database which got corrupted. I told them to open the back end directly and they got the message which said database appears to be corrupted would you like to attempt repair, which they did and it appeared to go OK. However, apparently all is not well, because when I try to add a record to a detail file - bound form, subform on a tab - the command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified record'. When I run the query that is the record source for the subform, it does indeed not allow additions. When I do the same thing on an older copy of their database everything works OK. So I know it's not in the front end. Can this db be saved? MTIA, Rocky Smolin Beach Access Software P.S. Yes they have a backup but no it's not recent. Apparently the person responsible for backup up...didn't. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Nov 10 14:17:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 10 Nov 2003 15:17:18 -0500 Subject: [AccessD] Where claise in IIf query In-Reply-To: Message-ID: Sorry, read the question without looking at the SQL. The SQL you have looks fine. What's the problem your having? 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 Jim Dettman Sent: Monday, November 10, 2003 2:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Where claise in IIf query Define the IIF() expression as a column (field), then place criteria on that. 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 Oleg_123 at xuppa.com Sent: Monday, November 10, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Where claise in IIf query Hey Group, I am not able to put conditions in queries whee I use IIF. What is the alternate solution ? This works --- SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3; however when Iput in WHERE SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 WHERE JJ = "zzz" doesn't work. I tried inserting GROUP BY by all statements, and then HAVING, but doesn't work either... ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 10 14:29:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 10 Nov 2003 14:29:25 -0600 Subject: [AccessD] OT: Outlook new mail notification Message-ID: <2F8793082E00D4119A1700B0D0216BF802227510@main2.marlow.com> SOL, on an easy method then! though I think Mike Mattys posted a few code methods. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Sunday, November 09, 2003 6:14 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification O2K John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, November 09, 2003 1:06 AM To: 'AccessD ' Subject: RE: [AccessD] OT: Outlook new mail notification What version of Outlook? Looks like there was an option in versions before 2000. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 11:46 AM Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Nov 10 14:33:40 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 12:33:40 -0800 Subject: [AccessD] Another Hosed Database References: Message-ID: <00a101c3a7c9$ed9d4d00$6501a8c0@HAL9002> Charlotte: Hey - this is the kind of client that pays the rent. Anyway, it's not in the query (which is in the front end) because when I restore an older copy of their BE db the FE works just fine. Since my first post I have determined that there is a parent record (agreement header) missing in the header table which has 4 child records (agreement details) in the detail table. FK in those child records points to a non-existent PK in the parent table). So I think the repair didn't. But on the surface, the orphan child records alone should not product the result they're getting. OTOH, it points to other possible problems in the BE. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 10, 2003 12:02 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, > > You've GOT to get some different clients! LOL > > What version of Access and have you tried building a new query? > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, November 10, 2003 11:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them to > open the back end directly and they got the message which said database > appears to be corrupted would you like to attempt repair, which they did > and it appeared to go OK. > > However, apparently all is not well, because when I try to add a record > to a detail file - bound form, subform on a tab - the command > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > record'. > > When I run the query that is the record source for the subform, it does > indeed not allow additions. > > When I do the same thing on an older copy of their database everything > works OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently the > person responsible for backup up...didn't. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Nov 10 14:39:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 10 Nov 2003 14:39:32 -0600 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <2F8793082E00D4119A1700B0D0216BF802227511@main2.marlow.com> JC, did you try my repaint or doevents suggestion? Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 1:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Ken, I am writing a security utility aimed at other developers. It is designed to allow YOU (and me as a developer) to manage the presentation security of a database front end. IOW, what forms can a user / group open? View? Add records to? Delete records in? Edit records in? Etc. As you can see, I am not necessarily "in control of" the target FE at design time since the FE is YOURS. Why would you want to open a form not visible? Perhaps the form is a filter form that you use to feed values to a query. Perhaps the form has a timer ticking that performs some process. Perhaps... uh... I have no damned idea what else you might decide to do with a form that is open but that a selected group or groups of users are not allowed to see. I know that I personally use a hidden form to force a cleanup of my framework when the database closes. Since a form cannot close without it's OnClose firing, I use that to run a Terminate() function that closes everything gracefully. So not matter how the db closes, my term() function runs. I cannot allow the users to unhide that since it is a background processing form and they have no business there. In the end though, the answer is I don't know why any given developer is going to want to open a form that users can't see, I simply know that it happens and I need to provide the developer with a means of enforcing this security. BTW, thanks for #2. I knew that but never used it. I will use that in my own framework for hiding my cleanup form. It may be an answer to re-opening the form that the developer wants hidden such that users can't see them. This thread has been a good one for me. Thanks again. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ken Ismert Sent: Monday, November 10, 2003 1:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John: Two comments - 1. It escapes me why you would even want to manage an open, invisible form. If the user can't view it, then by far the simplist thing to do is not open it. Is there some other issue driving this need that you haven't elaborated on? 2. The object method of opening a form, Set FormObject = New Form_FormName, creates an invisible instance of your form. The user will be absolutely unaware of its presence until you decide to show it by setting Visible =True. That's the upside of this method. The downside is you can't use DoCmd.OpenForm. Instead, you would have to write your own object-oriented framework to manage the life of your forms. -Ken -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Nov 10 15:07:15 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 10 Nov 2003 16:07:15 -0500 (EST) Subject: [AccessD] Where claise in IIf query In-Reply-To: References: Message-ID: <16363.12.3.132.98.1068498435.squirrel@heck.bay9.com> if i just say 'WHERE JJ = "zzz" 'I get prompted to enter Parameter if i write WHERE (((IIf([HH]="060010 ","zzz"))="zzz")); i get prompted for HH Am I supposed to write it all out ? the origina l is kinda long, and I keep getting lost in perentasis and brackets SELECT Table3.color, Table3.furniture, Table3.amount, IIf([Amount]="3 ","055") AS Expr2, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount]="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz") AS JJ FROM Table3 > Sorry, read the question without looking at the SQL. The SQL you have > looks fine. What's the problem your having? > > 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 Jim Dettman > Sent: Monday, November 10, 2003 2:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Where claise in IIf query > > > > Define the IIF() expression as a column (field), then place criteria > on > that. > > 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 > Oleg_123 at xuppa.com > Sent: Monday, November 10, 2003 1:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I use IIF. > What is the alternate solution ? > This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, and then > HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From DMcAfee at haascnc.com Mon Nov 10 15:38:37 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 10 Nov 2003 13:38:37 -0800 Subject: [AccessD] Another Hosed Database Message-ID: <657FB70438B7D311AF320090279C1801026D7CDF@EXCHMAIL> Rocky, can you compact the db? Maybe it has corrupted records. Usually if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database Charlotte: Hey - this is the kind of client that pays the rent. Anyway, it's not in the query (which is in the front end) because when I restore an older copy of their BE db the FE works just fine. Since my first post I have determined that there is a parent record (agreement header) missing in the header table which has 4 child records (agreement details) in the detail table. FK in those child records points to a non-existent PK in the parent table). So I think the repair didn't. But on the surface, the orphan child records alone should not product the result they're getting. OTOH, it points to other possible problems in the BE. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 10, 2003 12:02 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, > > You've GOT to get some different clients! LOL > > What version of Access and have you tried building a new query? > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, November 10, 2003 11:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them to > open the back end directly and they got the message which said database > appears to be corrupted would you like to attempt repair, which they did > and it appeared to go OK. > > However, apparently all is not well, because when I try to add a record > to a detail file - bound form, subform on a tab - the command > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > record'. > > When I run the query that is the record source for the subform, it does > indeed not allow additions. > > When I do the same thing on an older copy of their database everything > works OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently the > person responsible for backup up...didn't. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Mon Nov 10 16:41:05 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 11 Nov 2003 09:11:05 +1030 Subject: [AccessD] OT: registry backup Message-ID: It would be in the location where you saved your most recent backup! (Registry is backed up when you include 'system state') -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, 11 November 2003 5:16 AM To: AccessD Subject: [AccessD] OT: registry backup Does anyone know if the registry is backed up automatically by Windows? Can it be? I had a power failure this morning. I have a UPS for each computer, connected by serial port and they reported that they were shutting down correctly, however when I came back up my main dev machine is pretty badly mangled. Had to go into safe mode and get rid of some of the start up stuff to even get loaded, now just strange things - Access asks me if I want to register my copy, the desktop is totally re-arranged, MS Messenger looks different, Norton utilities won't run at all, Norton defrag says it's in a bizarre location etc. Sounds like a registry problem to me. So... is there a backup somewhere? If not, why not? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From bchacc at san.rr.com Mon Nov 10 17:16:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 15:16:52 -0800 Subject: [AccessD] Another Hosed Database References: <657FB70438B7D311AF320090279C1801026D7CDF@EXCHMAIL> Message-ID: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not in > the query (which is in the front end) because when I restore an older copy > of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child records > (agreement details) in the detail table. FK in those child records points > to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points to > other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said database > > appears to be corrupted would you like to attempt repair, which they did > > and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a record > > to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it does > > indeed not allow additions. > > > > When I do the same thing on an older copy of their database everything > > works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Mon Nov 10 17:33:27 2003 From: john at winhaven.net (John Bartow) Date: Mon, 10 Nov 2003 17:33:27 -0600 Subject: [AccessD] Another Hosed Database In-Reply-To: <006001c3a7c3$dc8a7a70$6501a8c0@HAL9002> Message-ID: Hi Rocky, Sounds like you might want to bookmark this site: http://www.repair-access-database.com/ :o) John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, November 10, 2003 1:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them > to open the back end directly and they got the message which said > database appears to be corrupted would you like to attempt > repair, which they did and it appeared to go OK. > > However, apparently all is not well, because when I try to add a > record to a detail file - bound form, subform on a tab - the > command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to > specified record'. > > When I run the query that is the record source for the subform, > it does indeed not allow additions. > > When I do the same thing on an older copy of their database > everything works OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently > the person responsible for backup up...didn't. > _______________________________________________ > 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 Nov 10 17:52:37 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 15:52:37 -0800 Subject: [AccessD] Another Hosed Database References: Message-ID: <00e701c3a7e5$b871a1f0$6501a8c0@HAL9002> John: Done. Thanks. Rocky ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Monday, November 10, 2003 3:33 PM Subject: RE: [AccessD] Another Hosed Database > Hi Rocky, > Sounds like you might want to bookmark this site: > http://www.repair-access-database.com/ > :o) > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Monday, November 10, 2003 1:50 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them > > to open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt > > repair, which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the > > command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to > > specified record'. > > > > When I run the query that is the record source for the subform, > > it does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently > > the person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Mon Nov 10 18:25:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 19:25:46 -0500 Subject: [AccessD] Would you believe Message-ID: 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com From cfoust at infostatsystems.com Mon Nov 10 19:01:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Nov 2003 17:01:00 -0800 Subject: [AccessD] Would you believe Message-ID: I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 10 19:13:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 10 Nov 2003 19:13:00 -0600 Subject: [AccessD] Would you believe Message-ID: <2F8793082E00D4119A1700B0D0216BF80222752B@main2.marlow.com> You can move where 'My Documents' is pointing too. It's pretty easy. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, November 10, 2003 7:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Mon Nov 10 19:42:20 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 11 Nov 2003 01:42:20 -0000 Subject: [AccessD] OT - Would you believe In-Reply-To: Message-ID: <002a01c3a7f5$0bb62b60$bf00a8c0@dabsight> (123,000 here) Why do you think that the .pst file should be in My Documents? John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: 11 November 2003 00:26 > To: AccessD > Subject: [AccessD] Would you believe > > > 65000 files in 7000 folders just in jcolby directory of > documents and settings. Among them the PST file for Outlook. > What other buried treasures are in there that should be in > My Documents? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From stuart at pacific.net.hk Mon Nov 10 20:11:44 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 11 Nov 2003 10:11:44 +0800 Subject: [AccessD] OT - Would you believe In-Reply-To: <002a01c3a7f5$0bb62b60$bf00a8c0@dabsight> Message-ID: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Well ... I personally like to keep anything that needs to survive an OS install on a separate partition. If I need to zap my machine, I can wipe my c drive and reinstall windows and the apps (or ghost them back). I would be *really* unhappy if the outlook.pst file was included in that wipe. So it happens to be one of the things that I moved out of documents and settings. Personally I could quite happily lose most of the profiling that MS puts in Documents and Settings, and I only use IE on activex required sites, so for me not even things like bookmarks are kept there. Though I did move them when I used IE more. I tended to and still do move a number of windows default locations via registry hack ... That includes "My Documents" since many apps default to that as a save location, and I don't want it buried down multiple levels of folder on a drive that I plan to wipe when windows next decides to be a nuisance. This win2k install has been pretty good ... It has been 18 months since I built this one, and as a developer I do mess around with it a bit. I remember with win98 going 6 months was pretty good. But then I have also become somewhat comfortable with manually (and I do mean manually) cleaning the registry of apps that don't decide to play well with windows. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DJK(John) Robinson > Sent: Tuesday, 11 November, 2003 9:42 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT - Would you believe > > > (123,000 here) Why do you think that the .pst file should be in My > Documents? > > John > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > > Sent: 11 November 2003 00:26 > > To: AccessD > > Subject: [AccessD] Would you believe > > > > > > 65000 files in 7000 folders just in jcolby directory of > > documents and settings. Among them the PST file for Outlook. > > What other buried treasures are in there that should be in > > My Documents? > > > > John W. Colby > > www.colbyconsulting.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/accessd > Website: http://www.databaseadvisors.com > From connie.kamrowski at agric.nsw.gov.au Mon Nov 10 20:14:38 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Tue, 11 Nov 2003 13:14:38 +1100 Subject: [AccessD] RTrim Message-ID: just a quick question I have a database querie expression which is failing on a statement using RTrim. If I remove RTrim it works fine. I am on an XP machine running access 97 does anyone know any issue with RTrim and XP perhaps?? It works fine on a 98 machine with Access97. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From martyconnelly at shaw.ca Mon Nov 10 21:43:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 10 Nov 2003 19:43:47 -0800 Subject: [AccessD] OT - Would you believe References: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Message-ID: <3FB05AF3.6000908@shaw.ca> I was just curious how much space was taken up by uninstalls for WinXP both Service packs and hotfixes so I wrote this quick piece of code up It just grabs the directory file size and totals the up. Mine came to around 500 Mb for files such as C:\WINDOWS\$NtServicePackUninstall$ C:\WINDOWS\$NtUninstallKB282010$ Option Compare Database Option Explicit 'WriteFile("c:\windows") Public Function WriteFile(filespec) Dim objFSo Dim oFolder Dim cFolder Dim sReport Dim sUnit Dim s As String Dim ltot As Long ltot = 0 Set objFSo = CreateObject("Scripting.FileSystemObject") ' Set sReport = objFSo.OpenTextFile("SpaceReport.TXT", ForAppending, True) ' sReport.Close Set oFolder = objFSo.GetFolder(filespec) Set cFolder = oFolder.SubFolders For Each sUnit In cFolder 'If MinVal < sUnit.Size Then ' WriteFile (sUnit) If Mid(sUnit, 1, 14) = "C:\WINDOWS\$NT" Then ltot = ltot + sUnit.Size s = ShowFolderSize(sUnit) Debug.Print s ' Set sReport = objFSo.OpenTextFile("SpaceReport.TXT", ForAppending, True) ' sReport.WriteLine s ' sReport.Close End If Next Debug.Print "total=" & ltot & " - " & ByteFilter(ltot) End Function Public Function ShowFolderSize(filespec) As String Dim FSO As Object Dim f As Object Dim BF As String Dim s As String If Right(filespec, 1) <> "\" Then filespec = filespec & "\" End If Set FSO = CreateObject("Scripting.FileSystemObject") Set f = FSO.GetFolder(filespec) 'wscript.echo (f.size/1024) ' If Minval < f.size then BF = ByteFilter(f.Size) s = BF & vbTab & " are being used in: " & vbTab & UCase(filespec) ShowFolderSize = s ' End If End Function '---ByteFilter Function...---------------- Public Function ByteFilter(ByteQuant) As String Dim BF As String If ByteQuant < 1024 Then BF = ByteQuant & vbTab & vbTab & "Bytes " End If If 1024 <= ByteQuant And ByteQuant < 1048576 Then BF = CStr(ByteQuant / 1024) & vbTab & vbTab & "KiloBytes" End If If 1048576 <= ByteQuant And ByteQuant < 1073741824 Then BF = CStr(ByteQuant / 2 ^ 20) & vbTab & vbTab & "MegaBytes" End If If 1073741824 <= ByteQuant Then BF = CStr(ByteQuant / 2 ^ 30) & vbTab & vbTab & "GigaBytes" End If ByteFilter = BF End Function -- Marty Connelly Victoria, B.C. Canada From rjhjr at cox.net Mon Nov 10 21:50:29 2003 From: rjhjr at cox.net (Bob Hall) Date: Mon, 10 Nov 2003 22:50:29 -0500 Subject: [AccessD] RTrim In-Reply-To: References: Message-ID: <20031111035029.GA47446@kongemord.krig.net> On Tue, Nov 11, 2003 at 01:14:38PM +1100, connie.kamrowski at agric.nsw.gov.au wrote: > just a quick question > > > I have a database querie expression which is failing on a statement using > RTrim. If I remove RTrim it works fine. > > I am on an XP machine running access 97 does anyone know any issue with > RTrim and XP perhaps?? > > It works fine on a 98 machine with Access97. It would make it easier if you supplied the error message(s). Check if you are missing any references in Access on the XP machine. Functions will stop working if you lose the VBA reference, for example. Bob Hall From gustav at cactus.dk Tue Nov 11 03:09:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Nov 2003 10:09:09 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <1045175271.20031111100909@cactus.dk> Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is designed > to allow YOU (and me as a developer) to manage the presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a query. > Perhaps the form has a timer ticking that performs some process. Perhaps... > uh... I have no damned idea what else you might decide to do with a form > that is open but that a selected group or groups of users are not allowed to > see. I know that I personally use a hidden form to force a cleanup of my > framework when the database closes. Since a form cannot close without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer is > going to want to open a form that users can't see, I simply know that it > happens and I need to provide the developer with a means of enforcing this > security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? From paul.hartland at fsmail.net Tue Nov 11 03:37:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Nov 2003 10:37:01 +0100 (CET) Subject: [AccessD] Oleg - Where Clause in IIF query (Solved) Message-ID: <22129108.1068543421488.JavaMail.www@wwinf3002> Oleg, Have you solved this yet, if not try the code below (you need a double select statement to get it to work how you want) SELECT * FROM (SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 ) WHERE JJ = "zzz"; Because the first query (in brackets) need to run/resolve before you can ask for a value from the alias column HH Paul Hartland Database Designer/Developer From gustav at cactus.dk Tue Nov 11 03:54:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Nov 2003 10:54:47 +0100 Subject: [AccessD] OT - Would you believe In-Reply-To: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> References: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Message-ID: <1647912687.20031111105447@cactus.dk> Hi Stuart > This win2k install has been pretty good ... It has been 18 months since I built > this one, and as a developer I do mess around with it a bit. .. What are you people doing? Mine has been running for 38 months ... /gustav From carbonnb at sympatico.ca Tue Nov 11 06:11:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue, 11 Nov 2003 07:11:43 -0500 Subject: [AccessD] OT - Would you believe In-Reply-To: <1647912687.20031111105447@cactus.dk> References: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Message-ID: <3FB08BAF.11962.56DE3@localhost> On 11 Nov 2003 at 10:54, Gustav Brock wrote: > Hi Stuart > > > This win2k install has been pretty good ... It has been 18 months > > since I built this one, and as a developer I do mess around with it > > a bit. .. > > What are you people doing? Mine has been running for 38 months ... > > /gustav Would you believe this discussion should be over on dba-tech? If you are not subscribed you can subscribe by going to: http://databaseadvisors.com/mailman/listinfo/dba-tech or by sending an e-mail to: dba-tech-requests at databaseadvisors.com with the body of: subscribe -- Bryan Carbonnell - carbonnb at sympatico.ca Man does not live by words alone, despite the fact that he sometimes has to eat them.^ [Adlai Stevenson (1965)] From jimdettman at earthlink.net Tue Nov 11 06:25:03 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 11 Nov 2003 07:25:03 -0500 Subject: [AccessD] Where claise in IIf query In-Reply-To: <16363.12.3.132.98.1068498435.squirrel@heck.bay9.com> Message-ID: Oleg, OK a couple of things. First, no you don't have to write it all out. Second, is [Amount] a numeric field? Your not treating it like one. Also, your iif's are looking for "2 " (two and a space). Bad idea to have embedded spaces. Third, you omitted the false conditions on the last IIF() in both field definitions (I put ???? in as the value). Last, if you find the syntax difficult, either use the query designer to build the SQL statement (which is what I do when a SQL statement gets long) or use a function to remove all the IIF()'s as already suggested. He is the correct SQL: SELECT Table1.Color, Table1.Furniture, Table1.Amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount]="3 ","055","????"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy","????")) AS JJ FROM Table1; 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 Oleg_123 at xuppa.com Sent: Monday, November 10, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where claise in IIf query if i just say 'WHERE JJ = "zzz" 'I get prompted to enter Parameter if i write WHERE (((IIf([HH]="060010 ","zzz"))="zzz")); i get prompted for HH Am I supposed to write it all out ? the origina l is kinda long, and I keep getting lost in perentasis and brackets SELECT Table3.color, Table3.furniture, Table3.amount, IIf([Amount]="3 ","055") AS Expr2, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount]="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz") AS JJ FROM Table3 > Sorry, read the question without looking at the SQL. The SQL you have > looks fine. What's the problem your having? > > 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 Jim Dettman > Sent: Monday, November 10, 2003 2:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Where claise in IIf query > > > > Define the IIF() expression as a column (field), then place criteria > on > that. > > 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 > Oleg_123 at xuppa.com > Sent: Monday, November 10, 2003 1:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I use IIF. > What is the alternate solution ? > This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, and then > HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Nov 11 06:51:36 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Nov 2003 13:51:36 +0100 (CET) Subject: [AccessD] Formatting/Sorting columns in Excel via Access Message-ID: <6352805.1068555096170.JavaMail.www@wwinf3002> From DElam at jenkens.com Tue Nov 11 08:51:08 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 11 Nov 2003 08:51:08 -0600 Subject: [AccessD] Another Hosed Database Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C6292A5@natexch.jenkens.com> There is my tried and true of dumping all of the database into a new blank database. That has fixed quite a lot of messed up databases for me. Debbie -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, November 10, 2003 1:50 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Another Hosed Database Dear List: A client of mine has a database which got corrupted. I told them to open the back end directly and they got the message which said database appears to be corrupted would you like to attempt repair, which they did and it appeared to go OK. However, apparently all is not well, because when I try to add a record to a detail file - bound form, subform on a tab - the command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified record'. When I run the query that is the record source for the subform, it does indeed not allow additions. When I do the same thing on an older copy of their database everything works OK. So I know it's not in the front end. Can this db be saved? MTIA, Rocky Smolin Beach Access Software P.S. Yes they have a backup but no it's not recent. Apparently the person responsible for backup up...didn't. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From bchacc at san.rr.com Tue Nov 11 09:22:32 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Nov 2003 07:22:32 -0800 Subject: [AccessD] Another Hosed Database References: <7B1961ED924D1A459E378C9B1BB22B4C6292A5@natexch.jenkens.com> Message-ID: <006f01c3a867$a0a1c500$6501a8c0@HAL9002> I've used that with some success as well. Especially where a form is corrupted. But in this particular case, it failed. Rocky ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 11, 2003 6:51 AM Subject: RE: [AccessD] Another Hosed Database > There is my tried and true of dumping all of the database into a new blank > database. That has fixed quite a lot of messed up databases for me. > > Debbie > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, November 10, 2003 1:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them to open > the back end directly and they got the message which said database appears > to be corrupted would you like to attempt repair, which they did and it > appeared to go OK. > > However, apparently all is not well, because when I try to add a record to a > detail file - bound form, subform on a tab - the command DoCmd.GoToRecord > ,,acNewRec blows up with 'Can't go to specified record'. > > When I run the query that is the record source for the subform, it does > indeed not allow additions. > > When I do the same thing on an older copy of their database everything works > OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently the person > responsible for backup up...didn't. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Tue Nov 11 09:48:15 2003 From: john at winhaven.net (John Bartow) Date: Tue, 11 Nov 2003 09:48:15 -0600 Subject: [AccessD] Would you believe In-Reply-To: Message-ID: JC Sucks, doesn't it? A right click on "My Documents" in W2k will let you move it with hacking. Then move the main .pst file to that location, open Outlook, it will ask where it went, browse to locate it and as Jerry Pournelle would say: "Bob's your uncle". You might also want to move all of your other Outlook settings files there. If you have any other .pst files it is best to close them in Outlook, move them and then reopen them from there. I like the idea of "My Documents" being a place where all of my personal stuff goes, makes backups nice and easy. Back when I was a SysAdmin I used to do the same thing for all the users. I couldn't of course make eveything know about my special folder but you'd think MS would. It would be nice if everything just referred to the registry setting and worked without a bunch of dinking around so when I moved it to some comprehensible file path that I didn't have to spend an hour adjusting everything! I'll admit its gotten better since its inception, but it has a ways to go yet. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Monday, November 10, 2003 6:26 PM > To: AccessD > Subject: [AccessD] Would you believe > > > 65000 files in 7000 folders just in jcolby directory of documents and > settings. Among them the PST file for Outlook. What other > buried treasures > are in there that should be in My Documents? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Tue Nov 11 09:51:48 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 11 Nov 2003 10:51:48 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <1045175271.20031111100909@cactus.dk> Message-ID: Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is designed > to allow YOU (and me as a developer) to manage the presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a query. > Perhaps the form has a timer ticking that performs some process. Perhaps... > uh... I have no damned idea what else you might decide to do with a form > that is open but that a selected group or groups of users are not allowed to > see. I know that I personally use a hidden form to force a cleanup of my > framework when the database closes. Since a form cannot close without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer is > going to want to open a form that users can't see, I simply know that it > happens and I need to provide the developer with a means of enforcing this > security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhla at earthlink.net Tue Nov 11 09:56:51 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 11 Nov 2003 07:56:51 -0800 Subject: [AccessD] Another Hosed Database In-Reply-To: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> Message-ID: <001801c3a86c$6ce2e7d0$fda8a8c0@delllaptop> Can you export t Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually > if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not > in the query (which is in the front end) because when I restore an > older copy of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child > records (agreement details) in the detail table. FK in those child > records points to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points > to other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt repair, > > which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it > > does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhla at earthlink.net Tue Nov 11 09:57:54 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 11 Nov 2003 07:57:54 -0800 Subject: [AccessD] Another Hosed Database In-Reply-To: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> Message-ID: <001901c3a86c$9525c280$fda8a8c0@delllaptop> Can you export the BE into a new a new db. That has saved me once or t Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually > if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not > in the query (which is in the front end) because when I restore an > older copy of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child > records (agreement details) in the detail table. FK in those child > records points to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points > to other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt repair, > > which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it > > does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhla at earthlink.net Tue Nov 11 09:59:50 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 11 Nov 2003 07:59:50 -0800 Subject: [AccessD] Another Hosed Database Trying again. In-Reply-To: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> Message-ID: <001a01c3a86c$da157700$fda8a8c0@delllaptop> Can you export the tables into a new BE. Try one table at a time to help you identify where the problem is. It has helped me once or twice. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually > if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not > in the query (which is in the front end) because when I restore an > older copy of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child > records (agreement details) in the detail table. FK in those child > records points to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points > to other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt repair, > > which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it > > does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Tue Nov 11 10:06:07 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 11 Nov 2003 10:06:07 -0600 Subject: [AccessD] Another Hosed Database Trying again. In-Reply-To: <001a01c3a86c$da157700$fda8a8c0@delllaptop> Message-ID: Here's a trick that helps if your corruption rests in only selected records (which I've experienced). Open the suspected table, and sort the first field, first in ascending order, then in descending order. Bad records often show up with garbled data displays at the top or bottom of sorted lists. Manually delete the offending records. Repeat for each field. Can cure the whole table if corruption is isolated to records. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 From cfoust at infostatsystems.com Tue Nov 11 10:15:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Nov 2003 08:15:49 -0800 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: Am I missing something, John? If you're using a forms class, wouldn't there be a test in the Form_Open event of the class to see whether the user is allowed to view the form? Or are you talking about users managing to find their way into forms already opened hidden? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 11, 2003 7:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled >or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is > designed to allow YOU (and me as a developer) to manage the > presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a > query. Perhaps the form has a timer ticking that performs some > process. Perhaps... > uh... I have no damned idea what else you might decide to do with a > form that is open but that a selected group or groups of users are not > allowed to > see. I know that I personally use a hidden form to force a cleanup of > my framework when the database closes. Since a form cannot close > without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer > is going to want to open a form that users can't see, I simply know > that it happens and I need to provide the developer with a means of > enforcing this security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Nov 11 10:16:15 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Nov 2003 08:16:15 -0800 Subject: [AccessD] Another Hosed Database Trying again. References: <001a01c3a86c$da157700$fda8a8c0@delllaptop> Message-ID: <008e01c3a86f$220fe890$6501a8c0@HAL9002> Tried. No soap. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 11, 2003 7:59 AM Subject: RE: [AccessD] Another Hosed Database Trying again. > > Can you export the tables into a new BE. Try one table at a time to help > you identify where the problem is. > > It has helped me once or twice. > > Joe Hecht > Los Angeles CA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 3:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > "Maybe they got that message and didn't tell you..." > > I suppose that could possibly happen. :) > > Compact didn't help. I even put it through the decompile even though > there was no code, just a shot in the dark.. no soap. > > They were able to print out all of the data entered since their last > backup, and restore that backup and are now going to re-enter the data, > and hopefully they'll be a little more rigorous in the future about > making and verifying backups. > > Rocky > > ----- Original Message ----- > From: "David McAfee" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 10, 2003 1:38 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, can you compact the db? Maybe it has corrupted records. Usually > > > if > its bad enough, you will get an error massage stating "you and another > user are attempting to view the same record..." and leave you with an > uncompacted mdb and a new db1.mdb. Maybe they got that message and > didn't tell you when they repaired the mdb? > > > > David > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > > > - Beach Access Software > > Sent: Monday, November 10, 2003 12:34 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Another Hosed Database > > > > > > Charlotte: > > > > Hey - this is the kind of client that pays the rent. Anyway, it's not > > > in the query (which is in the front end) because when I restore an > > older copy of their BE db the FE works just fine. > > > > Since my first post I have determined that there is a parent record > > (agreement header) missing in the header table which has 4 child > > records (agreement details) in the detail table. FK in those child > > records points to a non-existent PK in the parent table). > > > > So I think the repair didn't. But on the surface, the orphan child > records > > alone should not product the result they're getting. OTOH, it points > > to other possible problems in the BE. > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, November 10, 2003 12:02 PM > > Subject: RE: [AccessD] Another Hosed Database > > > > > > > Rocky, > > > > > > You've GOT to get some different clients! LOL > > > > > > What version of Access and have you tried building a new query? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [mailto:bchacc at san.rr.com] > > > Sent: Monday, November 10, 2003 11:50 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Another Hosed Database > > > > > > > > > Dear List: > > > > > > A client of mine has a database which got corrupted. I told them to > > > > open the back end directly and they got the message which said > > > database appears to be corrupted would you like to attempt repair, > > > which they did and it appeared to go OK. > > > > > > However, apparently all is not well, because when I try to add a > > > record to a detail file - bound form, subform on a tab - the command > > > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > > record'. > > > > > > When I run the query that is the record source for the subform, it > > > does indeed not allow additions. > > > > > > When I do the same thing on an older copy of their database > > > everything works OK. So I know it's not in the front end. > > > > > > Can this db be saved? > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > > person responsible for backup up...didn't. > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 11 10:53:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Nov 2003 17:53:41 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <11233046458.20031111175341@cactus.dk> Hi John Well, we must live in different worlds. Most of our users are in runtime environments and even those with full versions of Access don't fool around with the apps - and they indeed "don't just open forms" - they use the UI. If wild users is the developer's concern, a LWS tool is not an option - his/hers only way to go is full Access security - if not applied, these users will, of course, find your LWS tables. Also, I've used the table wizard once - and that was it. The only wizards I've found a use for are that for creating a simple report and that for creating a group box. The Access switch board and the table structure behind it is terrible; I've found it just as quick to design a main form for that purpose and a single table or two holding the user level security. I'm not saying there isn't a need for a LWS system, just that it will not fully block the scenarios you draw which means you could pay less attention to those extremes. How many users know a form can be hidden? Not to say how to locate a hidden form and unhide it? Why should they? Most users have work to do. /gustav > Gustav, >>I mean - forms don't just open > Of course forms "just open". What do you think the switchboard does? It > "just opens" forms. And plenty of developers use the switchboard. >>and users don't unhide hidden forms > Of course users unhide forms. Users poke and pry, and go where they aren't > supposed to, and find all the chinks in your armor. If it's not supposed to > be done, and you have locked that sucker down tight, a user WILL get in > there! >>he/she would need to either make the button not visible or not enabled or > pop up a message telling that the user has been revoked rights to view the > details; this I guess would be beyond the goal of your LWS tool. > No, in fact that is exactly the goal of my tool. It allows you to create up > to 31 groups and unlimited users. You then add users to groups, ala Windows > or SQL Server. You then tell LWS "These groups can SEE these forms". > "These groups can see this control on this form". etc. > The flip side of this is that any groups NOT allowed to SEE those forms, by > definition CAN'T SEE those forms. And it is the job of LWS to guarantee > that those users CAN'T see forms they are not supposed to see. Thus my > email - how do I GUARANTEE that a form that the user is not supposed to see > remains invisible? > The point here is that every one who has responded so far has simply taken > the point of view that "the developer will guarantee" or "users won't" or > "of course the developer will get rid of menus" etc. > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often quite > by accident. And Of course, developers consistently, year after year fail > to remove menus. In fact clients consistently, year after year DEMAND that > menus remain. It is not realistic to start from the perfect world and > assume none of these things happen. > I have a simple question. How many of us know how to build a table. The > first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to build > a table. Or more correctly I can figure it out using DAO, and I can figure > it out using SQL but what do I do under normal circumstances? Use a WIZARD. > The wizard knows how to build a table, I know how to use a wizard to build a > table. Same with queries. > I am attempting to design a system (a wizard) that a developer can use to > set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables are > initialized, there is a "wizard" that allows the developer to select forms > and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever > the developer decides is stored in a pair of tables (forms and controls). > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down such > that only specific groups can See/Enter/Edit. > That is LWS. The group / user login stuff is working. The FORM security is > working (minus a few inconsistencies in being able to hide the forms). The > control security is not finished yet. My post to this group was an attempt > to figure out how to allow LWS to consistently and reliably control the > VISIBILITY of a form. Access does not make it easy, but I have had a couple > of good suggestions that will help me solve this problem. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > I think Ken has a point here and that you maybe are overcomplicating > the task. > I mean - forms don't just open, and users don't unhide hidden forms; > how should they be able to do that when the developer has designed > menus and toolbars for his/her app? > Also, applying any form of security, light weight or not, the > developer will have to walk through the app from a to z and arrange > for modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess > would be beyond the goal of your LWS tool. Leaving the button as it is > and the user presses it and the details form just opens hidden is bad > UI design as the user has no chance for knowing what is going on other > than "it doesn't work". From KIsmert at TexasSystems.com Tue Nov 11 12:21:01 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Tue, 11 Nov 2003 12:21:01 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <11233046458.20031111175341@cactus.dk> Message-ID: <003801c3a880$9000aef0$2a3ca8c0@TEXASSYSTEMS.COM> John, I guess my angle is cost vs. benefit. It seems to me that the effort required to implement this feature in _precisely_ this way outweighs the value it gives to your target developer audience, and their users. I can only speak for myself, but I suspect most developers would be OK with a slight redefinition: Open = Open permission AND View permission for that form. Maybe you could add a LWS form class called 'Hidden', which could only be opened in code with Admin permissions, but whose visibility is not manipulated by LWS. Or, you could turn the problem on its side, and ask whether View permissions are really necessary: maybe if you can Open the form, it has whatever visibility is granted by the developer. If you can't open it, visibility doesn't matter. If this is acceptable, it would simplify using, coding and supporting the app. One of the hardest tasks in development is determining the boundaries of your project. It has to do some needed thing in a slick enough way to attract customers. But, it can't be so intrusive that it needlessly hinders, either. Getting that balance is tough. That's why its good to get input from others, so you can better determine where to make compromises, and where to stand firm. -Ken -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, November 11, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John Well, we must live in different worlds. Most of our users are in runtime environments and even those with full versions of Access don't fool around with the apps - and they indeed "don't just open forms" - they use the UI. If wild users is the developer's concern, a LWS tool is not an option - his/hers only way to go is full Access security - if not applied, these users will, of course, find your LWS tables. Also, I've used the table wizard once - and that was it. The only wizards I've found a use for are that for creating a simple report and that for creating a group box. The Access switch board and the table structure behind it is terrible; I've found it just as quick to design a main form for that purpose and a single table or two holding the user level security. I'm not saying there isn't a need for a LWS system, just that it will not fully block the scenarios you draw which means you could pay less attention to those extremes. How many users know a form can be hidden? Not to say how to locate a hidden form and unhide it? Why should they? Most users have work to do. /gustav > Gustav, >>I mean - forms don't just open > Of course forms "just open". What do you think the switchboard does? It > "just opens" forms. And plenty of developers use the switchboard. >>and users don't unhide hidden forms > Of course users unhide forms. Users poke and pry, and go where they aren't > supposed to, and find all the chinks in your armor. If it's not supposed to > be done, and you have locked that sucker down tight, a user WILL get in > there! >>he/she would need to either make the button not visible or not enabled or > pop up a message telling that the user has been revoked rights to view the > details; this I guess would be beyond the goal of your LWS tool. > No, in fact that is exactly the goal of my tool. It allows you to create up > to 31 groups and unlimited users. You then add users to groups, ala Windows > or SQL Server. You then tell LWS "These groups can SEE these forms". > "These groups can see this control on this form". etc. > The flip side of this is that any groups NOT allowed to SEE those forms, by > definition CAN'T SEE those forms. And it is the job of LWS to guarantee > that those users CAN'T see forms they are not supposed to see. Thus my > email - how do I GUARANTEE that a form that the user is not supposed to see > remains invisible? > The point here is that every one who has responded so far has simply taken > the point of view that "the developer will guarantee" or "users won't" or > "of course the developer will get rid of menus" etc. > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often quite > by accident. And Of course, developers consistently, year after year fail > to remove menus. In fact clients consistently, year after year DEMAND that > menus remain. It is not realistic to start from the perfect world and > assume none of these things happen. > I have a simple question. How many of us know how to build a table. The > first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to build > a table. Or more correctly I can figure it out using DAO, and I can figure > it out using SQL but what do I do under normal circumstances? Use a WIZARD. > The wizard knows how to build a table, I know how to use a wizard to build a > table. Same with queries. > I am attempting to design a system (a wizard) that a developer can use to > set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables are > initialized, there is a "wizard" that allows the developer to select forms > and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever > the developer decides is stored in a pair of tables (forms and controls). > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down such > that only specific groups can See/Enter/Edit. > That is LWS. The group / user login stuff is working. The FORM security is > working (minus a few inconsistencies in being able to hide the forms). The > control security is not finished yet. My post to this group was an attempt > to figure out how to allow LWS to consistently and reliably control the > VISIBILITY of a form. Access does not make it easy, but I have had a couple > of good suggestions that will help me solve this problem. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > I think Ken has a point here and that you maybe are overcomplicating > the task. > I mean - forms don't just open, and users don't unhide hidden forms; > how should they be able to do that when the developer has designed > menus and toolbars for his/her app? > Also, applying any form of security, light weight or not, the > developer will have to walk through the app from a to z and arrange > for modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess > would be beyond the goal of your LWS tool. Leaving the button as it is > and the user presses it and the details form just opens hidden is bad > UI design as the user has no chance for knowing what is going on other > than "it doesn't work". From conny at qad.se Tue Nov 11 16:22:25 2003 From: conny at qad.se (Conny Johansson) Date: Tue, 11 Nov 2003 23:22:25 +0100 Subject: [AccessD] Sample textfile Message-ID: <20031111222336.EE7C22B11B@boxmail1.box.se> Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. From accessd at shaw.ca Tue Nov 11 16:37:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 11 Nov 2003 14:37:19 -0800 Subject: [AccessD] Sample textfile In-Reply-To: <20031111222336.EE7C22B11B@boxmail1.box.se> Message-ID: Hi Conny: You could check out the archive at Drews site. It can be reached through http://www.databaseadvisors.com/archive/archive.htm or directly http://wolfwares.com/AccessD/default.asp HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Conny Johansson Sent: Tuesday, November 11, 2003 2:22 PM To: 'Access Developers list' Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 11 16:40:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 11 Nov 2003 16:40:54 -0600 Subject: [AccessD] Sample textfile Message-ID: <2F8793082E00D4119A1700B0D0216BF80222753D@main2.marlow.com> In case no one has that, the archives are at http://wolfwares.com/AccessD . Drew -----Original Message----- From: Conny Johansson [mailto:conny at qad.se] Sent: Tuesday, November 11, 2003 4:22 PM To: 'Access Developers list' Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Tue Nov 11 16:48:56 2003 From: conny at qad.se (Conny Johansson) Date: Tue, 11 Nov 2003 23:48:56 +0100 Subject: [AccessD] Sample textfile In-Reply-To: Message-ID: <20031111225007.EE3502B11B@boxmail1.box.se> I tried searching the arhcives on Drews site but with no success. That's my first choice /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: den 11 november 2003 23:37 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile Hi Conny: You could check out the archive at Drews site. It can be reached through http://www.databaseadvisors.com/archive/archive.htm or directly http://wolfwares.com/AccessD/default.asp HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Conny Johansson Sent: Tuesday, November 11, 2003 2:22 PM To: 'Access Developers list' Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:48:56 avast! is copyright (c) 2000-2003 ALWIL Software. From davesharpe2 at cox.net Tue Nov 11 18:09:52 2003 From: davesharpe2 at cox.net (Dave Sharpe) Date: Tue, 11 Nov 2003 19:09:52 -0500 Subject: [AccessD] Sample textfile References: <20031111222336.EE7C22B11B@boxmail1.box.se> Message-ID: <08e101c3a8b1$4bd53e90$dd2f0a44@bcsext6137> Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjewett at bayplace.com Tue Nov 11 20:34:31 2003 From: pjewett at bayplace.com (Phil Jewett) Date: Tue, 11 Nov 2003 18:34:31 -0800 Subject: [AccessD] Access 2002 insists on SQL Server trusted connection Message-ID: When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! See http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 for MS's info. Any help on this? Thanks, Phil Jewett From accessd at shaw.ca Tue Nov 11 23:29:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 11 Nov 2003 21:29:09 -0800 Subject: [AccessD] Access 2002 insists on SQL Server trusted connection In-Reply-To: Message-ID: Hi Phil: The FE, in this case A2K has no bearing on whether the connection is established. The issues are with either the ODBC setup, driver or how the SQL server is setup. If the server is setup to access a 'Trusted' or NT/2000/2003 authentication, the connection will be as follows... code >>> Public Function GetConnected() as boolean Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' Initialize fail GetConnected = False ' Connecting to the SQL (7/2000) server gstrConnection = "Provider=SQLOLEDB; _ Initial Catalog=MyDatabaseName; _ Data Source=MyServer; _ Integrated Security=SSPI" 'Use the M$ security ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open ' This line succeeds or fails ' Success... GetConnected = True MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected End Function >>> code Something simple like above will test the connection. It works for any version of Access. Note: The Access reference to the MS ADO has to be set first for this to run. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Phil Jewett Sent: Tuesday, November 11, 2003 6:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 insists on SQL Server trusted connection When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! See http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 for MS's info. Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Wed Nov 12 00:34:30 2003 From: conny at qad.se (Conny Johansson) Date: Wed, 12 Nov 2003 07:34:30 +0100 Subject: [AccessD] Sample textfile In-Reply-To: <08e101c3a8b1$4bd53e90$dd2f0a44@bcsext6137> Message-ID: <20031112063545.E62112B11B@boxmail1.box.se> Thanks a lot Dave Now, if someone could provide a link to a >300 000 persons textfile as well, then I'm all set. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dave Sharpe Sent: den 12 november 2003 01:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sample textfile Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 07:34:30 avast! is copyright (c) 2000-2003 ALWIL Software. From stuart at lexacorp.com.pg Wed Nov 12 02:38:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Nov 2003 18:38:12 +1000 Subject: [AccessD] Sample textfile In-Reply-To: <20031112063545.E62112B11B@boxmail1.box.se> References: <08e101c3a8b1$4bd53e90$dd2f0a44@bcsext6137> Message-ID: <3FB27E14.8532.3B7C2@localhost> On 12 Nov 2003 at 7:34, Conny Johansson wrote: > Thanks a lot Dave > Now, if someone could provide a link to a >300 000 persons textfile as > well, then I'm all set. > /Conny > What fields do you want in it? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From andrew.haslett at ilc.gov.au Wed Nov 12 02:51:46 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Wed, 12 Nov 2003 19:21:46 +1030 Subject: [AccessD] Access 2002 insists on SQL Server trusted connectio n Message-ID: Are you sure the SQL Server itself isn't set to 'Windows Mode'? If so it needs to be set to 'Mixed Mode' to accept SQL authentication.. Cheers, Andrew -----Original Message----- From: Phil Jewett [mailto:pjewett at bayplace.com] Sent: Wednesday, 12 November 2003 1:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 insists on SQL Server trusted connection When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! See http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 for MS's info. Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From Erwin.Craps at ithelps.be Wed Nov 12 03:06:04 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 12 Nov 2003 10:06:04 +0100 Subject: [AccessD] Would you believe Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DC7@stekelbes.ithelps.local> Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Nov 12 04:26:04 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 12 Nov 2003 05:26:04 -0500 Subject: [AccessD] Would you believe In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DC7@stekelbes.ithelps.local> Message-ID: <3FB1C46C.21787.1609FA@localhost> On 12 Nov 2003 at 10:06, Erwin Craps wrote: > BTW, should this thread not be on the DBA-TECH list? Yep. It should. -- Bryan Carbonnell - carbonnb at sympatico.ca Stupid questions are better than stupid mistakes. - Japanese proverb From andy at minstersystems.co.uk Wed Nov 12 05:11:10 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 12 Nov 2003 11:11:10 -0000 Subject: [AccessD] Would you believe In-Reply-To: <3FB1C46C.21787.1609FA@localhost> Message-ID: <008401c3a90d$add3e540$b274d0d5@minster33c3r25> And Bryan has already asked once. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 12 November 2003 10:26 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Would you believe > > > On 12 Nov 2003 at 10:06, Erwin Craps wrote: > > > BTW, should this thread not be on the DBA-TECH list? > > Yep. It should. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Stupid questions are better than stupid mistakes. - Japanese proverb > > > _______________________________________________ > 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 Wed Nov 12 08:20:33 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 12 Nov 2003 08:20:33 -0600 Subject: [AccessD] Characters in Help Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C909@cntexchange.pgdp.usec.com> I was searching UnHelp for InStr in A2K & this is what shows, does anyone else show Help this way - or can read this ? Virginia _____ Differences in String Function Operations A string stored in a byte Array appears as follows: Array Dim Var() As Byte Var = " " ' Unicode Var = StrConv(" ", vbFromUnicode) ' ANSI Function AnsiStrConv(StrArg, flag) nsiStrConv = StrConv(StrArg, flag) End Function ' LenB ANSI From michael.mattys at adelphia.net Wed Nov 12 08:31:27 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 12 Nov 2003 09:31:27 -0500 Subject: [AccessD] Characters in Help References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C909@cntexchange.pgdp.usec.com> Message-ID: <019b01c3a929$ac1f94d0$6401a8c0@default> Hey, that's funny! Mine shows up like this: ' ANSI dat = StrConv(dat, vbFromUnicode) . . . ' . ' . . ' Unicode dat = StrConv(dat, vbUnicode) Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Wednesday, November 12, 2003 9:20 AM Subject: [AccessD] Characters in Help > I was searching UnHelp for InStr in A2K & this is what shows, does anyone > else show Help this way - or can read this ? > > Virginia > > > _____ > > Differences in String Function Operations > > A string stored in a byte Array appears as follows: > > > ::/html/images/fe143.bmp> > ::/html/images/fe144.bmp> > ::/html/images/fe145.bmp> Array > ::/html/images/fe165.bmp> > ::/html/images/fe155.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe157.bmp> > ::/html/images/fe158.bmp> > ::/html/images/fe150.bmp> > ::/html/images/fe184.bmp> > ::/html/images/fe185.bmp> > ::/html/images/fe095.bmp> > ::/html/images/fe089.bmp> > ::/html/images/fe186.bmp> > ::/html/images/fe187.bmp> > ::/html/images/fe090.bmp> > ::/html/images/fe188.bmp> > ::/html/images/fe019.bmp> > ::/html/images/fe229.bmp> > ::/html/images/fe230.bmp> > ::/html/images/fe165.bmp> > ::/html/images/fe231.bmp> > ::/html/images/fe093.bmp> > ::/html/images/fe095.bmp> > ::/html/images/fe232.bmp> > > Dim Var() As Byte > > Var = " > ::/html/images/fe189.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe019.bmp> > ::/html/images/fe191.bmp> > ::/html/images/fe192.bmp> > ::/html/images/fe193.bmp> " ' Unicode > ::/html/images/fe163.bmp> > ::/html/images/fe164.bmp> > ::/html/images/fe087.bmp> > ::/html/images/fe184.bmp> > ::/html/images/fe185.bmp> > > Var = StrConv(" > ::/html/images/fe189.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe019.bmp> > ::/html/images/fe191.bmp> > ::/html/images/fe192.bmp> > ::/html/images/fe193.bmp> ", vbFromUnicode) ' ANSI > ::/html/images/fe163.bmp> > ::/html/images/fe164.bmp> > ::/html/images/fe087.bmp> > ::/html/images/fe184.bmp> > ::/html/images/fe185.bmp> > > > > Function AnsiStrConv(StrArg, flag) > > nsiStrConv = StrConv(StrArg, flag) > > End Function > > > > ' LenB > ::/html/images/fe087.bmp> > ::/html/images/fe175.bmp> > ::/html/images/fe176.bmp> > ::/html/images/fe095.bmp> > ::/html/images/fe089.bmp> > ::/html/images/fe199.bmp> > ::/html/images/fe165.bmp> ANSI > ::/html/images/fe155.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe157.bmp> > ::/html/images/fe158.bmp> > ::/html/images/fe165.bmp> > ::/html/images/fe160.bmp> > ::/html/images/fe166.bmp> > ::/html/images/fe231.bmp> > ::/html/images/fe233.bmp> > ::/html/images/fe175.bmp> > ::/html/images/fe176.bmp> > ::/html/images/fe177.bmp> > ::/html/images/fe178.bmp> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.mattys at adelphia.net Wed Nov 12 08:35:19 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 12 Nov 2003 09:35:19 -0500 Subject: [AccessD] Characters in Help References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C909@cntexchange.pgdp.usec.com> <019b01c3a929$ac1f94d0$6401a8c0@default> Message-ID: <01ae01c3a92a$33464670$6401a8c0@default> Well, anyway it was all in Japanese or Chinese or something. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 12, 2003 9:31 AM Subject: Re: [AccessD] Characters in Help > Hey, that's funny! > Mine shows up like this: > > ' ANSI > dat = StrConv(dat, vbFromUnicode) > . > . > . ' > . ' > . > . > ' Unicode > dat = StrConv(dat, vbUnicode) > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Hollis,Virginia" > To: > Sent: Wednesday, November 12, 2003 9:20 AM > Subject: [AccessD] Characters in Help > > > > I was searching UnHelp for InStr in A2K & this is what shows, does anyone > > else show Help this way - or can read this ? > > > > Virginia > > > > > > _____ > > > > Differences in String Function Operations > > > > A string stored in a byte Array appears as follows: > > > > > > > > ::/html/images/fe143.bmp> > > > > ::/html/images/fe144.bmp> > > > > ::/html/images/fe145.bmp> Array > > > > ::/html/images/fe165.bmp> > > > > ::/html/images/fe155.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe157.bmp> > > > > ::/html/images/fe158.bmp> > > > > ::/html/images/fe150.bmp> > > > > ::/html/images/fe184.bmp> > > > > ::/html/images/fe185.bmp> > > > > ::/html/images/fe095.bmp> > > > > ::/html/images/fe089.bmp> > > > > ::/html/images/fe186.bmp> > > > > ::/html/images/fe187.bmp> > > > > ::/html/images/fe090.bmp> > > > > ::/html/images/fe188.bmp> > > > > ::/html/images/fe019.bmp> > > > > ::/html/images/fe229.bmp> > > > > ::/html/images/fe230.bmp> > > > > ::/html/images/fe165.bmp> > > > > ::/html/images/fe231.bmp> > > > > ::/html/images/fe093.bmp> > > > > ::/html/images/fe095.bmp> > > > > ::/html/images/fe232.bmp> > > > > Dim Var() As Byte > > > > Var = " > > > > ::/html/images/fe189.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe019.bmp> > > > > ::/html/images/fe191.bmp> > > > > ::/html/images/fe192.bmp> > > > > ::/html/images/fe193.bmp> " ' Unicode > > > > ::/html/images/fe163.bmp> > > > > ::/html/images/fe164.bmp> > > > > ::/html/images/fe087.bmp> > > > > ::/html/images/fe184.bmp> > > > > ::/html/images/fe185.bmp> > > > > Var = StrConv(" > > > > ::/html/images/fe189.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe019.bmp> > > > > ::/html/images/fe191.bmp> > > > > ::/html/images/fe192.bmp> > > > > ::/html/images/fe193.bmp> ", vbFromUnicode) ' ANSI > > > > ::/html/images/fe163.bmp> > > > > ::/html/images/fe164.bmp> > > > > ::/html/images/fe087.bmp> > > > > ::/html/images/fe184.bmp> > > > > ::/html/images/fe185.bmp> > > > > > > > > Function AnsiStrConv(StrArg, flag) > > > > nsiStrConv = StrConv(StrArg, flag) > > > > End Function > > > > > > > > ' LenB > > > > ::/html/images/fe087.bmp> > > > > ::/html/images/fe175.bmp> > > > > ::/html/images/fe176.bmp> > > > > ::/html/images/fe095.bmp> > > > > ::/html/images/fe089.bmp> > > > > ::/html/images/fe199.bmp> > > > > ::/html/images/fe165.bmp> ANSI > > > > ::/html/images/fe155.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe157.bmp> > > > > ::/html/images/fe158.bmp> > > > > ::/html/images/fe165.bmp> > > > > ::/html/images/fe160.bmp> > > > > ::/html/images/fe166.bmp> > > > > ::/html/images/fe231.bmp> > > > > ::/html/images/fe233.bmp> > > > > ::/html/images/fe175.bmp> > > > > ::/html/images/fe176.bmp> > > > > ::/html/images/fe177.bmp> > > > > ::/html/images/fe178.bmp> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 12 08:39:16 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 12 Nov 2003 08:39:16 -0600 Subject: [AccessD] Characters in Help Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C90B@cntexchange.pgdp.usec.com> Well, when I copied & pasted this into the email, it did not show all those lines, it showed characters that looked like Chinese writings. Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday, November 12, 2003 8:21 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Characters in Help I was searching UnHelp for InStr in A2K & this is what shows, does anyone else show Help this way - or can read this ? Virginia _____ Differences in String Function Operations A string stored in a byte Array appears as follows: Array From Erwin.Craps at ithelps.be Wed Nov 12 08:46:27 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 12 Nov 2003 15:46:27 +0100 Subject: [AccessD] Characters in Help Message-ID: <46B976F2B698FF46A4FE7636509B22DF7229@stekelbes.ithelps.local> Hi You probably have a corupted acmain9.chm (compressed help) file. Replace the file from a backup or another computer. Or in the worst case delete the file. Uninstall the help part of access (if this is posible) and reinstall. If the file is back should be ok. Or a full Office repair is also an option after deleting the file. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, November 12, 2003 3:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Characters in Help Well, when I copied & pasted this into the email, it did not show all those lines, it showed characters that looked like Chinese writings. Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday, November 12, 2003 8:21 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Characters in Help I was searching UnHelp for InStr in A2K & this is what shows, does anyone else show Help this way - or can read this ? Virginia _____ Differences in String Function Operations A string stored in a byte Array appears as follows: Array _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 08:53:17 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 09:53:17 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: What you're missing is that THIS IS A WIZARD FOR YOU!!! I have no clue what YOU are doing so I have to desing it as if YOU don't have a clue. John W. Colby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, November 11, 2003 11:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Am I missing something, John? If you're using a forms class, wouldn't there be a test in the Form_Open event of the class to see whether the user is allowed to view the form? Or are you talking about users managing to find their way into forms already opened hidden? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 11, 2003 7:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled >or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is > designed to allow YOU (and me as a developer) to manage the > presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a > query. Perhaps the form has a timer ticking that performs some > process. Perhaps... > uh... I have no damned idea what else you might decide to do with a > form that is open but that a selected group or groups of users are not > allowed to > see. I know that I personally use a hidden form to force a cleanup of > my framework when the database closes. Since a form cannot close > without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer > is going to want to open a form that users can't see, I simply know > that it happens and I need to provide the developer with a means of > enforcing this security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 08:54:58 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 09:54:58 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <11233046458.20031111175341@cactus.dk> Message-ID: Gustav, When I say table wizard, I am not taking about the thing that opens pre-existing tables and allows you to modify them. The widget you use to design tables (click the table tab in A2K and select New) is a WIZARD! The thing you use to design queries (select the query tab and click NEW) is a WIZARD. It is a piece of VB code, stored in MDAs, registered with Access. It is NOT part of Access per se. That is also what I am designing, a WIZARD. As for different worlds, apparently we do. If you truly believe that no developer out there runs into users who poke and pry then I would love to live in your world. John W. Colby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 11:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John Well, we must live in different worlds. Most of our users are in runtime environments and even those with full versions of Access don't fool around with the apps - and they indeed "don't just open forms" - they use the UI. If wild users is the developer's concern, a LWS tool is not an option - his/hers only way to go is full Access security - if not applied, these users will, of course, find your LWS tables. Also, I've used the table wizard once - and that was it. The only wizards I've found a use for are that for creating a simple report and that for creating a group box. The Access switch board and the table structure behind it is terrible; I've found it just as quick to design a main form for that purpose and a single table or two holding the user level security. I'm not saying there isn't a need for a LWS system, just that it will not fully block the scenarios you draw which means you could pay less attention to those extremes. How many users know a form can be hidden? Not to say how to locate a hidden form and unhide it? Why should they? Most users have work to do. /gustav > Gustav, >>I mean - forms don't just open > Of course forms "just open". What do you think the switchboard does? It > "just opens" forms. And plenty of developers use the switchboard. >>and users don't unhide hidden forms > Of course users unhide forms. Users poke and pry, and go where they aren't > supposed to, and find all the chinks in your armor. If it's not supposed to > be done, and you have locked that sucker down tight, a user WILL get in > there! >>he/she would need to either make the button not visible or not enabled or > pop up a message telling that the user has been revoked rights to view the > details; this I guess would be beyond the goal of your LWS tool. > No, in fact that is exactly the goal of my tool. It allows you to create up > to 31 groups and unlimited users. You then add users to groups, ala Windows > or SQL Server. You then tell LWS "These groups can SEE these forms". > "These groups can see this control on this form". etc. > The flip side of this is that any groups NOT allowed to SEE those forms, by > definition CAN'T SEE those forms. And it is the job of LWS to guarantee > that those users CAN'T see forms they are not supposed to see. Thus my > email - how do I GUARANTEE that a form that the user is not supposed to see > remains invisible? > The point here is that every one who has responded so far has simply taken > the point of view that "the developer will guarantee" or "users won't" or > "of course the developer will get rid of menus" etc. > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often quite > by accident. And Of course, developers consistently, year after year fail > to remove menus. In fact clients consistently, year after year DEMAND that > menus remain. It is not realistic to start from the perfect world and > assume none of these things happen. > I have a simple question. How many of us know how to build a table. The > first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to build > a table. Or more correctly I can figure it out using DAO, and I can figure > it out using SQL but what do I do under normal circumstances? Use a WIZARD. > The wizard knows how to build a table, I know how to use a wizard to build a > table. Same with queries. > I am attempting to design a system (a wizard) that a developer can use to > set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables are > initialized, there is a "wizard" that allows the developer to select forms > and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever > the developer decides is stored in a pair of tables (forms and controls). > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down such > that only specific groups can See/Enter/Edit. > That is LWS. The group / user login stuff is working. The FORM security is > working (minus a few inconsistencies in being able to hide the forms). The > control security is not finished yet. My post to this group was an attempt > to figure out how to allow LWS to consistently and reliably control the > VISIBILITY of a form. Access does not make it easy, but I have had a couple > of good suggestions that will help me solve this problem. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > I think Ken has a point here and that you maybe are overcomplicating > the task. > I mean - forms don't just open, and users don't unhide hidden forms; > how should they be able to do that when the developer has designed > menus and toolbars for his/her app? > Also, applying any form of security, light weight or not, the > developer will have to walk through the app from a to z and arrange > for modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess > would be beyond the goal of your LWS tool. Leaving the button as it is > and the user presses it and the details form just opens hidden is bad > UI design as the user has no chance for knowing what is going on other > than "it doesn't work". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 12 09:46:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 12 Nov 2003 16:46:01 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <11029675040.20031112164601@cactus.dk> Hi John > When I say table wizard, I am not taking about the thing that opens > pre-existing tables and allows you to modify them. The widget you use to > design tables (click the table tab in A2K and select New) is a WIZARD! The > thing you use to design queries (select the query tab and click NEW) is a > WIZARD. It is a piece of VB code, stored in MDAs, registered with Access. > It is NOT part of Access per se. > That is also what I am designing, a WIZARD. Yeah, I know. I don't use them. I just can't see no problem in creating a table in design view adding comments to the fields; I find it to be waste of time to select some "example table" and use more time to check and correct than to create from scratch. The same goes for the query wizards - it's faster when you know what to do, to open design view initially. > As for different worlds, apparently we do. If you truly believe that no > developer out there runs into users who poke and pry then I would love to > live in your world. You would be most welcome! But as I wrote, to make a near bulletproof app you will need Access security. If less can do it - and that must be the purpose of your LWS system - you can do many things: A. Design LWS as a user control and guidance system for the behaved user and user environment. If users are not behaved go to Access security. B. Take precautions to prevent accidental user errors. This is the other side of security: to prevent users from doing things they don't want to do by accident or error. Many things can be done for free: 1. Rename the app to anything else than mdb or adp. I use mdp. Most users wouldn't have a clue what an mdp file is. If they doubleclick it nothing happens. 2. Create your app to be able to run write protected and let your install routine write protect the file (or you can let your app check if it itself is write protected; if not, write protect and shut down). Only a fraction of users have any idea of how to remove write protection from a file. 3. Apply a database password to the app. This forces the user to run the app from a shortcut with the password command line switch. Again, if the user by accident doubleclick the file he/she will be prompted for a password. No big deal but it will be apparent that "this is not normal". 4. Run the app in the runtime environment. You can check from within the app if this is so; if not, pop a message and shut down. 5. Set the startup options to the minimum level, and always hide the database window as the first task in your start/autoexec code. You know these things, but others may benefit from these simple advices and reminders. /gustav > John W. Colby > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 11:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > Well, we must live in different worlds. Most of our users are in > runtime environments and even those with full versions of Access > don't fool around with the apps - and they indeed "don't just open > forms" - they use the UI. > If wild users is the developer's concern, a LWS tool is not an option > - his/hers only way to go is full Access security - if not applied, > these users will, of course, find your LWS tables. > Also, I've used the table wizard once - and that was it. The only > wizards I've found a use for are that for creating a simple report and > that for creating a group box. The Access switch board and the table > structure behind it is terrible; I've found it just as quick to design > a main form for that purpose and a single table or two holding the > user level security. > I'm not saying there isn't a need for a LWS system, just that it will > not fully block the scenarios you draw which means you could pay less > attention to those extremes. How many users know a form can be hidden? > Not to say how to locate a hidden form and unhide it? Why should they? > Most users have work to do. From DWUTKA at marlow.com Wed Nov 12 10:10:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 12 Nov 2003 10:10:18 -0600 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <2F8793082E00D4119A1700B0D0216BF802227544@main2.marlow.com> JC. I may have missed it, but did you try the repaint/doevents suggestion? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open What you're missing is that THIS IS A WIZARD FOR YOU!!! I have no clue what YOU are doing so I have to desing it as if YOU don't have a clue. John W. Colby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, November 11, 2003 11:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Am I missing something, John? If you're using a forms class, wouldn't there be a test in the Form_Open event of the class to see whether the user is allowed to view the form? Or are you talking about users managing to find their way into forms already opened hidden? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 11, 2003 7:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled >or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is > designed to allow YOU (and me as a developer) to manage the > presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a > query. Perhaps the form has a timer ticking that performs some > process. Perhaps... > uh... I have no damned idea what else you might decide to do with a > form that is open but that a selected group or groups of users are not > allowed to > see. I know that I personally use a hidden form to force a cleanup of > my framework when the database closes. Since a form cannot close > without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer > is going to want to open a form that users can't see, I simply know > that it happens and I need to provide the developer with a means of > enforcing this security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 12 10:19:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Nov 2003 08:19:26 -0800 Subject: [AccessD] Would you believe Message-ID: I know what it's for, but I still object. NT handled roaming profiles without Documents and Settings. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 12, 2003 1:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Wed Nov 12 10:37:49 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed, 12 Nov 2003 09:37:49 -0700 Subject: [AccessD] Distinguishing Key Press Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDDD@srciml1.ds.doc.state.or.us> Hello Everyone, Does anyone have something that they can share that can be used to distinguish what key is pressed after updating a field on a form. I want to be able to know if the Tab key is pressed or if the Enter key was pressed. I have to be able to run a different process if the Tab key is pressed than I would if the Enter key is pressed. Thanks in advance for any info shared. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division From Lambert.Heenan at AIG.com Wed Nov 12 10:38:56 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 12 Nov 2003 11:38:56 -0500 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD78FA@xlivmbx12.aig.com> John, I followed your arguments for doing this, and I fully agree with your comments along the lines of, "if the user *can* do it s/he *will* do it". FWIW, here's one way you might want to do what you asked for. If you set the timer interval to 1 millisecond then the form opens without the user seeing anything but the merest flicker on screen. That's in A97, but it should work in 2K as well Here's the form's code module Option Compare Database Option Explicit Const mod_bAllowVisible = False ' simulate user's inability to 'see' this form. Private Sub Form_Activate() ' re-hide the form if a user unhides it manually Me.Visible = mod_bAllowVisible DoEvents End Sub Private Sub Form_Timer() ' Hide the form after it's loaded Me.Visible = mod_bAllowVisible DoEvents ' no need to fire this event any more so... Me.TimerInterval = 0 End Sub Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Wednesday, November 12, 2003 9:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > What you're missing is that THIS IS A WIZARD FOR YOU!!! > > I have no clue what YOU are doing so I have to desing it as if YOU don't > have a clue. > > John W. Colby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, November 11, 2003 11:16 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Am I missing something, John? If you're using a forms class, wouldn't > there be a test in the Form_Open event of the class to see whether the > user is allowed to view the form? Or are you talking about users > managing to find their way into forms already opened hidden? > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 11, 2003 7:52 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Gustav, > > >I mean - forms don't just open > > Of course forms "just open". What do you think the switchboard does? > It "just opens" forms. And plenty of developers use the switchboard. > > >and users don't unhide hidden forms > > Of course users unhide forms. Users poke and pry, and go where they > aren't supposed to, and find all the chinks in your armor. If it's not > supposed to be done, and you have locked that sucker down tight, a user > WILL get in there! > > >he/she would need to either make the button not visible or not enabled > >or > pop up a message telling that the user has been revoked rights to view > the details; this I guess would be beyond the goal of your LWS tool. > > No, in fact that is exactly the goal of my tool. It allows you to > create up to 31 groups and unlimited users. You then add users to > groups, ala Windows or SQL Server. You then tell LWS "These groups can > SEE these forms". "These groups can see this control on this form". > etc. > > The flip side of this is that any groups NOT allowed to SEE those forms, > by definition CAN'T SEE those forms. And it is the job of LWS to > guarantee that those users CAN'T see forms they are not supposed to see. > Thus my email - how do I GUARANTEE that a form that the user is not > supposed to see remains invisible? > > The point here is that every one who has responded so far has simply > taken the point of view that "the developer will guarantee" or "users > won't" or "of course the developer will get rid of menus" etc. > > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often > quite by accident. And Of course, developers consistently, year after > year fail to remove menus. In fact clients consistently, year after > year DEMAND that menus remain. It is not realistic to start from the > perfect world and assume none of these things happen. > > I have a simple question. How many of us know how to build a table. > The first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to > build a table. Or more correctly I can figure it out using DAO, and I > can figure it out using SQL but what do I do under normal circumstances? > Use a WIZARD. The wizard knows how to build a table, I know how to use a > wizard to build a table. Same with queries. > > I am attempting to design a system (a wizard) that a developer can use > to set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables > are initialized, there is a "wizard" that allows the developer to select > forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. > Whatever the developer decides is stored in a pair of tables (forms and > controls). > > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down > such that only specific groups can See/Enter/Edit. > > That is LWS. The group / user login stuff is working. The FORM > security is working (minus a few inconsistencies in being able to hide > the forms). The control security is not finished yet. My post to this > group was an attempt to figure out how to allow LWS to consistently and > reliably control the VISIBILITY of a form. Access does not make it > easy, but I have had a couple of good suggestions that will help me > solve this problem. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > I think Ken has a point here and that you maybe are overcomplicating the > task. I mean - forms don't just open, and users don't unhide hidden > forms; how should they be able to do that when the developer has > designed menus and toolbars for his/her app? > > Also, applying any form of security, light weight or not, the developer > will have to walk through the app from a to z and arrange for > modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess would > be beyond the goal of your LWS tool. Leaving the button as it is and the > user presses it and the details form just opens hidden is bad UI design > as the user has no chance for knowing what is going on other than "it > doesn't work". > > /gustav > > > > Ken, > > > I am writing a security utility aimed at other developers. It is > > designed to allow YOU (and me as a developer) to manage the > > presentation security > of > > a database front end. IOW, what forms can a user / group open? View? > Add > > records to? Delete records in? Edit records in? Etc. > > > As you can see, I am not necessarily "in control of" the target FE at > design > > time since the FE is YOURS. Why would you want to open a form not > visible? > > Perhaps the form is a filter form that you use to feed values to a > > query. Perhaps the form has a timer ticking that performs some > > process. > Perhaps... > > uh... I have no damned idea what else you might decide to do with a > > form that is open but that a selected group or groups of users are not > > > allowed > to > > see. I know that I personally use a hidden form to force a cleanup of > > > my framework when the database closes. Since a form cannot close > > without > it's > > OnClose firing, I use that to run a Terminate() function that closes > > everything gracefully. So not matter how the db closes, my term() > function > > runs. > > > I cannot allow the users to unhide that since it is a background > processing > > form and they have no business there. > > > In the end though, the answer is I don't know why any given developer > > is going to want to open a form that users can't see, I simply know > > that it happens and I need to provide the developer with a means of > > enforcing this security. > > --- > > > 1. It escapes me why you would even want to manage an open, invisible > form. > > If the user can't view it, then by far the simplist thing to do is not > open > > it. Is there some other issue driving this need that you haven't > elaborated > > on? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pnl1 at psu.edu Wed Nov 12 10:39:12 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Wed, 12 Nov 2003 11:39:12 -0500 Subject: [AccessD] SQL Syntax in Access 2000 Message-ID: <5.1.0.14.2.20031112113630.0346feb0@mail.psu.edu> Hi, Is there a place where I can find the SQL syntax that Access uses in the SQL view of a query? I have an SQL statement that does an update in SQL Server 2000 that will not run in Access (copy and paste to the SQL View) due to a "syntax error". Any help would be greatly appreciated. Thanks, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University From Erwin.Craps at ithelps.be Wed Nov 12 10:46:24 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 12 Nov 2003 17:46:24 +0100 Subject: [AccessD] Would you believe Message-ID: <46B976F2B698FF46A4FE7636509B22DF7233@stekelbes.ithelps.local> Hugh? Not at my knowledge It was located elsewhere and named otherwise... It was in \WinNT\Profiles Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 12, 2003 5:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe I know what it's for, but I still object. NT handled roaming profiles without Documents and Settings. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 12, 2003 1:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Nov 12 10:49:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 12 Nov 2003 10:49:53 -0600 Subject: [AccessD] Would you believe Message-ID: <2F8793082E00D4119A1700B0D0216BF802227547@main2.marlow.com> Not really. It just didn't have the same folder name. If I remember correctly, it was under WINNT, in a folder called Profiles. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, November 12, 2003 10:19 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe I know what it's for, but I still object. NT handled roaming profiles without Documents and Settings. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 12, 2003 1:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Nov 12 10:54:14 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 12 Nov 2003 11:54:14 -0500 Subject: READ NOW!!! RE: [AccessD] Would you believe Message-ID: <20031112165414.FSHE6808.tomts27-srv.bellnexxia.net@[209.226.175.22]> OK. This thread is dead. NOW!! If you want to continue this discussion, take it over to dba-tech. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! From cfoust at infostatsystems.com Wed Nov 12 10:59:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Nov 2003 08:59:50 -0800 Subject: [AccessD] SQL Syntax in Access 2000 Message-ID: Jet SQL uses different wildcards and date delimiters than T-SQL. My favorite quick reference is Access Database Programming and Design from O'Reilly. Charlotte Foust -----Original Message----- From: Paul Liadis [mailto:pnl1 at psu.edu] Sent: Wednesday, November 12, 2003 8:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Syntax in Access 2000 Hi, Is there a place where I can find the SQL syntax that Access uses in the SQL view of a query? I have an SQL statement that does an update in SQL Server 2000 that will not run in Access (copy and paste to the SQL View) due to a "syntax error". Any help would be greatly appreciated. Thanks, =============================================== 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 cfoust at infostatsystems.com Wed Nov 12 11:28:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Nov 2003 09:28:49 -0800 Subject: [AccessD] Distinguishing Key Press Message-ID: If you'll pardon my saying so, it sounds like you're trying to code around automatic behavior. What exactly is it that you want to do differently based on a tab or enter? What do you have set as the default behavior for Tools-->Options-->Advanced-->Move After Enter? Charlotte Foust -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, November 12, 2003 8:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Distinguishing Key Press Hello Everyone, Does anyone have something that they can share that can be used to distinguish what key is pressed after updating a field on a form. I want to be able to know if the Tab key is pressed or if the Enter key was pressed. I have to be able to run a different process if the Tab key is pressed than I would if the Enter key is pressed. Thanks in advance for any info shared. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjewett at bayplace.com Wed Nov 12 11:36:18 2003 From: pjewett at bayplace.com (Phil Jewett) Date: Wed, 12 Nov 2003 09:36:18 -0800 Subject: [AccessD] SQL trusted connection problem Message-ID: When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! This problem is discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any help on this? Thanks, Phil Jewett From Mike.W.Gowey at doc.state.or.us Wed Nov 12 11:52:50 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed, 12 Nov 2003 10:52:50 -0700 Subject: [AccessD] Distinguishing Key Press Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> What I need it to do is if the Tab key is pressed to move to the next field, if the Enter key is pressed to save the record and than print a label of the information. This is a mail tracking database, in the form they are able to enter the information on the piece of mail that is coming in, lots of times the same publication comes in, so they fill out all the imformation on the publication once and all they want to be able to do is change the number of the reciepient and be able to press enter and the label for the distribution of the publication/Piece of mail is printed. If they need to change any information than pressing the Tab key will allow this. I hope that makes better sense or maybe I am just muttering Mike -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, November 12, 2003 10:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Distinguishing Key Press If you'll pardon my saying so, it sounds like you're trying to code around automatic behavior. What exactly is it that you want to do differently based on a tab or enter? What do you have set as the default behavior for Tools-->Options-->Advanced-->Move After Enter? Charlotte Foust -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, November 12, 2003 8:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Distinguishing Key Press Hello Everyone, Does anyone have something that they can share that can be used to distinguish what key is pressed after updating a field on a form. I want to be able to know if the Tab key is pressed or if the Enter key was pressed. I have to be able to run a different process if the Tab key is pressed than I would if the Enter key is pressed. Thanks in advance for any info shared. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Nov 12 11:55:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 13 Nov 2003 06:55:00 +1300 Subject: [AccessD] Sample textfile Message-ID: <70F3D727890C784291D8433E9C418F290884F6@server.bondsoftware.co.nz> On 22 Feb 2003, Dave Sharpe posted this URL: http://www.coj.net/Departments/Tax+Collector/Current+Real+Estate+Download.htm Stephen Bond -----Original Message----- From: Conny Johansson [mailto:conny at qad.se] Sent: Wednesday, 12 November 2003 7:35 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile Thanks a lot Dave Now, if someone could provide a link to a >300 000 persons textfile as well, then I'm all set. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dave Sharpe Sent: den 12 november 2003 01:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sample textfile Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 07:34:30 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 12 12:07:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 12 Nov 2003 19:07:04 +0100 Subject: [AccessD] Distinguishing Key Press In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> Message-ID: <17838137618.20031112190704@cactus.dk> Hi Gowey Then create a button for printing the label and, in the properties sheet of the button, set it to be the "Default key" of the form. You may wish to run some validation code before printing to prevent incomplete labels and/or a pop up a messagebox "Print this label?" (OK/Cancel) if the user by accident should press Enter. /gustav > What I need it to do is if the Tab key is pressed to move to the next > field, if the Enter key is pressed to save the record and than print a > label of the information. > This is a mail tracking database, in the form they are able to enter the > information on the piece of mail that is coming in, lots of times the > same publication comes in, so they fill out all the imformation on the > publication once and all they want to be able to do is change the number > of the reciepient and be able to press enter and the label for the > distribution of the publication/Piece of mail is printed. If they need > to change any information than pressing the Tab key will allow this. From rl_stewart at highstream.net Wed Nov 12 14:05:51 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 12 Nov 2003 14:05:51 -0600 Subject: [AccessD] Re: SQL Syntax in Access 2000 In-Reply-To: <200311121800.hACI0g627758@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031112140514.0291dd10@pop3.highstream.net> Send your statement that is not working and we can tell you why it is not. At 12:00 PM 11/12/2003 -0600, you wrote: >Date: Wed, 12 Nov 2003 11:39:12 -0500 >From: Paul Liadis >Subject: [AccessD] SQL Syntax in Access 2000 >To: Access Developers discussion and problem solving > >Message-ID: <5.1.0.14.2.20031112113630.0346feb0 at mail.psu.edu> >Content-Type: text/plain; charset="us-ascii"; format=flowed > >Hi, >Is there a place where I can find the SQL syntax that Access uses in the >SQL view of a query? I have an SQL statement that does an update in SQL >Server 2000 that will not run in Access (copy and paste to the SQL View) >due to a "syntax error". Any help would be greatly appreciated. >Thanks, From rl_stewart at highstream.net Wed Nov 12 14:09:20 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 12 Nov 2003 14:09:20 -0600 Subject: [AccessD] Re: SQL trusted connection problem In-Reply-To: <200311121800.hACI0g627758@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031112140757.028dd638@pop3.highstream.net> How is your ODBC DNS set up? Are you storing the password in it? Is the SQL Server set up to do mixed mode? At 12:00 PM 11/12/2003 -0600, you wrote: >Date: Wed, 12 Nov 2003 09:36:18 -0800 >From: "Phil Jewett" >Subject: [AccessD] SQL trusted connection problem >To: >Message-ID: > >Content-Type: text/plain; charset="iso-8859-1" > >When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the >SQL Server 2000 login fails, insisting on the 'trusted connection' >network login instead of the SQL Server authentication in the ODBC >connection string. This was presumably fixed in MDAC 2.6 SP2 - but >maybe only for Access 2000. It's still there for Access 2002! This >problem is discussed in >http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any >help on this? > >Thanks, > >Phil Jewett From mwp.reid at qub.ac.uk Wed Nov 12 15:01:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 12 Nov 2003 13:01:25 -0800 Subject: [AccessD] OT Ignore References: <5.1.0.14.2.20031112140514.0291dd10@pop3.highstream.net> Message-ID: <005201c3a960$22ff5820$260c6351@martin1> Test Martin From pnl1 at psu.edu Wed Nov 12 15:05:45 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Wed, 12 Nov 2003 16:05:45 -0500 Subject: [AccessD] Re: SQL Syntax in Access 2000 In-Reply-To: <5.1.0.14.2.20031112140514.0291dd10@pop3.highstream.net> References: <200311121800.hACI0g627758@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031112160452.03271d00@mail.psu.edu> Here is the statement that will run in SQL Server 2000 but not Access 2000: UPDATE [Tmp Master Budget Table] SET [Tmp Master Budget Table].FundTypeIbis = [dbo_ib_header_hist].[CODE_ICOA_FUND_TYPE] from dbo_ib_header_hist where [Tmp Master Budget Table].NumbAcct = dbo_ib_header_hist.NUMB_ACCT Thanks, Paul Liadis At 02:05 PM 11/12/2003 -0600, you wrote: >Send your statement that is not working and we can tell you why it is not. > >At 12:00 PM 11/12/2003 -0600, you wrote: >>Date: Wed, 12 Nov 2003 11:39:12 -0500 >>From: Paul Liadis >>Subject: [AccessD] SQL Syntax in Access 2000 >>To: Access Developers discussion and problem solving >> >>Message-ID: <5.1.0.14.2.20031112113630.0346feb0 at mail.psu.edu> >>Content-Type: text/plain; charset="us-ascii"; format=flowed >> >>Hi, >>Is there a place where I can find the SQL syntax that Access uses in the >>SQL view of a query? I have an SQL statement that does an update in SQL >>Server 2000 that will not run in Access (copy and paste to the SQL View) >>due to a "syntax error". Any help would be greatly appreciated. >>Thanks, > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Nov 12 15:13:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Nov 2003 13:13:29 -0800 Subject: [AccessD] Change resolution of forms Message-ID: <00d901c3a961$d256eda0$6501a8c0@HAL9002> Dear List: I have an application which I developed many years ago on a machine with a screen of resolution 640 x 480. I used the ADH resizing code so the form would fill the screen regardless of the target machine resolution. I don't use that resizing code in my apps anymore and I would like to abandon that now in this app and go with a straight 800 x 600 which is what my screen is set to. But the 640 x 480 resolution seems to be a part of the form somehow and each of the controls as well because if I copy over the controls, they don't size correctly on my 800 x 600 screen. They appear smaller as they would when you put a 640x480 form or control on an 800 x 600 screen. Plus any new forms I've added to this app recently original in 800 x 600 and that's fine. Is there a simple way to make these old forms all 800x600? MTIA, Rocky Smolin Beach Access Software From jeffrey.demulling at usbank.com Wed Nov 12 15:27:52 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 12 Nov 2003 15:27:52 -0600 Subject: [AccessD] Re: SQL Syntax in Access 2000 Message-ID: UPDATE [Tmp Master Budget Table] SET [Tmp Master Budget Table].FundTypeIbis = [ib_header_hist].[CODE_ICOA_FUND_TYPE] from ib_header_hist where [Tmp Master Budget Table].NumbAcct = ib_header_hist.NUMB_ACCT "Paul Liadis" To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: Re: [AccessD] Re: SQL Syntax in Access 2000 11/12/2003 03:05 PM Please respond to "Access Developers discussion and problem solving" Here is the statement that will run in SQL Server 2000 but not Access 2000: UPDATE [Tmp Master Budget Table] SET [Tmp Master Budget Table].FundTypeIbis = [dbo_ib_header_hist].[CODE_ICOA_FUND_TYPE] from dbo_ib_header_hist where [Tmp Master Budget Table].NumbAcct = dbo_ib_header_hist.NUMB_ACCT Thanks, Paul Liadis At 02:05 PM 11/12/2003 -0600, you wrote: >Send your statement that is not working and we can tell you why it is not. > >At 12:00 PM 11/12/2003 -0600, you wrote: >>Date: Wed, 12 Nov 2003 11:39:12 -0500 >>From: Paul Liadis >>Subject: [AccessD] SQL Syntax in Access 2000 >>To: Access Developers discussion and problem solving >> >>Message-ID: <5.1.0.14.2.20031112113630.0346feb0 at mail.psu.edu> >>Content-Type: text/plain; charset="us-ascii"; format=flowed >> >>Hi, >>Is there a place where I can find the SQL syntax that Access uses in the >>SQL view of a query? I have an SQL statement that does an update in SQL >>Server 2000 that will not run in Access (copy and paste to the SQL View) >>due to a "syntax error". Any help would be greatly appreciated. >>Thanks, > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Wed Nov 12 15:39:47 2003 From: conny at qad.se (Conny Johansson) Date: Wed, 12 Nov 2003 22:39:47 +0100 Subject: [AccessD] Sample textfile In-Reply-To: <70F3D727890C784291D8433E9C418F290884F6@server.bondsoftware.co.nz> Message-ID: <20031112214101.083662B118@boxmail1.box.se> Thank you Stephen That's the file I was looking for. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: den 12 november 2003 18:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile On 22 Feb 2003, Dave Sharpe posted this URL: http://www.coj.net/Departments/Tax+Collector/Current+Real+Estate+Download.ht m Stephen Bond -----Original Message----- From: Conny Johansson [mailto:conny at qad.se] Sent: Wednesday, 12 November 2003 7:35 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile Thanks a lot Dave Now, if someone could provide a link to a >300 000 persons textfile as well, then I'm all set. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dave Sharpe Sent: den 12 november 2003 01:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sample textfile Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 07:34:30 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 22:39:47 avast! is copyright (c) 2000-2003 ALWIL Software. From andrew.haslett at ilc.gov.au Wed Nov 12 15:53:13 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 13 Nov 2003 08:23:13 +1030 Subject: [AccessD] SQL trusted connection problem Message-ID: Please don't double post - we've responded a few times to your initial question and you didn't answer our questions! Cheers, Andrew -----Original Message----- From: Phil Jewett [mailto:pjewett at bayplace.com] Sent: Thursday, 13 November 2003 4:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] SQL trusted connection problem When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! This problem is discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From KIsmert at TexasSystems.com Wed Nov 12 18:10:40 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 12 Nov 2003 18:10:40 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD78FA@xlivmbx12.aig.com> Message-ID: <005c01c3a97a$93181880$2a3ca8c0@TEXASSYSTEMS.COM> John, I agree with Lambert that users are nosy and invasive. However, if you lock down the interface, and use an mde in runtime mode, you will keep out all but the most persistent users. I also have to agree with Gustav that most developers will choose to manage the user's access by hiding or disabling controls. This means that the LWS form permission functionality will be rarely needed in production apps. Is this a drawback of the LWS idea? No... I see several opportunities here: * LWS form permissions can act as a failsafe if there are leaks in the UI logic. Because this is an exceptional condition, you wouldn't have to do anything fancy: just display a message and close the form. * Developers need a way to query LWS about permissions, something like: cmdShowSalary.Visible = LWS.HasPermission(CurrentUser, "Open", "frmSalary") * If LWS could automatically enable/show a control based on a user's permissions to open a particular form (with no coding on the developer's part), that would be _way_ cool. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 12, 2003 10:39 AM To: 'Access Developers discussion and problem solving' Cc: 'jcolby at colbyconsulting.com' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I followed your arguments for doing this, and I fully agree with your comments along the lines of, "if the user *can* do it s/he *will* do it". FWIW, here's one way you might want to do what you asked for. If you set the timer interval to 1 millisecond then the form opens without the user seeing anything but the merest flicker on screen. That's in A97, but it should work in 2K as well Here's the form's code module Option Compare Database Option Explicit Const mod_bAllowVisible = False ' simulate user's inability to 'see' this form. Private Sub Form_Activate() ' re-hide the form if a user unhides it manually Me.Visible = mod_bAllowVisible DoEvents End Sub Private Sub Form_Timer() ' Hide the form after it's loaded Me.Visible = mod_bAllowVisible DoEvents ' no need to fire this event any more so... Me.TimerInterval = 0 End Sub Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Wednesday, November 12, 2003 9:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > What you're missing is that THIS IS A WIZARD FOR YOU!!! > > I have no clue what YOU are doing so I have to desing it as if YOU don't > have a clue. > > John W. Colby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, November 11, 2003 11:16 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Am I missing something, John? If you're using a forms class, wouldn't > there be a test in the Form_Open event of the class to see whether the > user is allowed to view the form? Or are you talking about users > managing to find their way into forms already opened hidden? > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 11, 2003 7:52 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Gustav, > > >I mean - forms don't just open > > Of course forms "just open". What do you think the switchboard does? > It "just opens" forms. And plenty of developers use the switchboard. > > >and users don't unhide hidden forms > > Of course users unhide forms. Users poke and pry, and go where they > aren't supposed to, and find all the chinks in your armor. If it's not > supposed to be done, and you have locked that sucker down tight, a user > WILL get in there! > > >he/she would need to either make the button not visible or not enabled > >or > pop up a message telling that the user has been revoked rights to view > the details; this I guess would be beyond the goal of your LWS tool. > > No, in fact that is exactly the goal of my tool. It allows you to > create up to 31 groups and unlimited users. You then add users to > groups, ala Windows or SQL Server. You then tell LWS "These groups can > SEE these forms". "These groups can see this control on this form". > etc. > > The flip side of this is that any groups NOT allowed to SEE those forms, > by definition CAN'T SEE those forms. And it is the job of LWS to > guarantee that those users CAN'T see forms they are not supposed to see. > Thus my email - how do I GUARANTEE that a form that the user is not > supposed to see remains invisible? > > The point here is that every one who has responded so far has simply > taken the point of view that "the developer will guarantee" or "users > won't" or "of course the developer will get rid of menus" etc. > > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often > quite by accident. And Of course, developers consistently, year after > year fail to remove menus. In fact clients consistently, year after > year DEMAND that menus remain. It is not realistic to start from the > perfect world and assume none of these things happen. > > I have a simple question. How many of us know how to build a table. > The first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to > build a table. Or more correctly I can figure it out using DAO, and I > can figure it out using SQL but what do I do under normal circumstances? > Use a WIZARD. The wizard knows how to build a table, I know how to use a > wizard to build a table. Same with queries. > > I am attempting to design a system (a wizard) that a developer can use > to set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables > are initialized, there is a "wizard" that allows the developer to select > forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. > Whatever the developer decides is stored in a pair of tables (forms and > controls). > > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down > such that only specific groups can See/Enter/Edit. > > That is LWS. The group / user login stuff is working. The FORM > security is working (minus a few inconsistencies in being able to hide > the forms). The control security is not finished yet. My post to this > group was an attempt to figure out how to allow LWS to consistently and > reliably control the VISIBILITY of a form. Access does not make it > easy, but I have had a couple of good suggestions that will help me > solve this problem. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > I think Ken has a point here and that you maybe are overcomplicating the > task. I mean - forms don't just open, and users don't unhide hidden > forms; how should they be able to do that when the developer has > designed menus and toolbars for his/her app? > > Also, applying any form of security, light weight or not, the developer > will have to walk through the app from a to z and arrange for > modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess would > be beyond the goal of your LWS tool. Leaving the button as it is and the > user presses it and the details form just opens hidden is bad UI design > as the user has no chance for knowing what is going on other than "it > doesn't work". > > /gustav > > > > Ken, > > > I am writing a security utility aimed at other developers. It is > > designed to allow YOU (and me as a developer) to manage the > > presentation security > of > > a database front end. IOW, what forms can a user / group open? View? > Add > > records to? Delete records in? Edit records in? Etc. > > > As you can see, I am not necessarily "in control of" the target FE at > design > > time since the FE is YOURS. Why would you want to open a form not > visible? > > Perhaps the form is a filter form that you use to feed values to a > > query. Perhaps the form has a timer ticking that performs some > > process. > Perhaps... > > uh... I have no damned idea what else you might decide to do with a > > form that is open but that a selected group or groups of users are not > > > allowed > to > > see. I know that I personally use a hidden form to force a cleanup of > > > my framework when the database closes. Since a form cannot close > > without > it's > > OnClose firing, I use that to run a Terminate() function that closes > > everything gracefully. So not matter how the db closes, my term() > function > > runs. > > > I cannot allow the users to unhide that since it is a background > processing > > form and they have no business there. > > > In the end though, the answer is I don't know why any given developer > > is going to want to open a form that users can't see, I simply know > > that it happens and I need to provide the developer with a means of > > enforcing this security. > > --- > > > 1. It escapes me why you would even want to manage an open, invisible > form. > > If the user can't view it, then by far the simplist thing to do is not > open > > it. Is there some other issue driving this need that you haven't > elaborated > > on? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Nov 12 18:47:52 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 13 Nov 2003 11:47:52 +1100 Subject: [AccessD] A2K: Access Security via a browser Message-ID: <01a801c3a97f$c4ea8370$3c619a89@DDICK> Hello all I have a Web Developer friend asking me if anyone knows of some useful URL's that will show how to or give examples of administering Access security via a browser. She has Access Security implemented and can administer it fine from the local PC via the 'normal' means, she just wants to do it via the web Many thanks in advance Darren From jcolby at colbyconsulting.com Wed Nov 12 18:59:56 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 19:59:56 -0500 Subject: [AccessD] POLL: Access Security Message-ID: I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com From connie.kamrowski at agric.nsw.gov.au Wed Nov 12 19:00:16 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Thu, 13 Nov 2003 12:00:16 +1100 Subject: [AccessD] A2K: Access Security via a browser Message-ID: Darren, I have foudn some interesting articles on here for web based applications. You have to sort through a few but there is some good content. http://www.internetwebfactory.com/dotnet.html Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From jcolby at colbyconsulting.com Wed Nov 12 19:03:53 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 20:03:53 -0500 Subject: [AccessD] Change resolution of forms In-Reply-To: <00d901c3a961$d256eda0$6501a8c0@HAL9002> Message-ID: Rocky, The reason this is happening (I think) is that in order to use the old ADH code (I used it myself) you had to design for the smallest resolution, i.e. you manually edited the controls down to that size (or set it all up actually using 640x480). I know of nothing that will go in and resize everything for you, though there may be tools like that. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, November 12, 2003 4:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Change resolution of forms Dear List: I have an application which I developed many years ago on a machine with a screen of resolution 640 x 480. I used the ADH resizing code so the form would fill the screen regardless of the target machine resolution. I don't use that resizing code in my apps anymore and I would like to abandon that now in this app and go with a straight 800 x 600 which is what my screen is set to. But the 640 x 480 resolution seems to be a part of the form somehow and each of the controls as well because if I copy over the controls, they don't size correctly on my 800 x 600 screen. They appear smaller as they would when you put a 640x480 form or control on an 800 x 600 screen. Plus any new forms I've added to this app recently original in 800 x 600 and that's fine. Is there a simple way to make these old forms all 800x600? 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 bchacc at san.rr.com Wed Nov 12 19:14:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Nov 2003 17:14:52 -0800 Subject: [AccessD] Change resolution of forms References: Message-ID: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> I originally created the forms on a machine whose screen res was set to 640 x 480. But there's got to be a way to escape from this trap without re-creating the forms all over on the 600 x 800 machine. Rocky ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 12, 2003 5:03 PM Subject: RE: [AccessD] Change resolution of forms > Rocky, > > The reason this is happening (I think) is that in order to use the old ADH > code (I used it myself) you had to design for the smallest resolution, i.e. > you manually edited the controls down to that size (or set it all up > actually using 640x480). I know of nothing that will go in and resize > everything for you, though there may be tools like that. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, November 12, 2003 4:13 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Change resolution of forms > > > Dear List: > > I have an application which I developed many years ago on a machine with a > screen of resolution 640 x 480. I used the ADH resizing code so the form > would fill the screen regardless of the target machine resolution. > > I don't use that resizing code in my apps anymore and I would like to > abandon that now in this app and go with a straight 800 x 600 which is what > my screen is set to. > > But the 640 x 480 resolution seems to be a part of the form somehow and each > of the controls as well because if I copy over the controls, they don't size > correctly on my 800 x 600 screen. They appear smaller as they would when > you put a 640x480 form or control on an 800 x 600 screen. > > Plus any new forms I've added to this app recently original in 800 x 600 and > that's fine. > > Is there a simple way to make these old forms all 800x600? > > 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 andrew.haslett at ilc.gov.au Wed Nov 12 19:15:45 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 13 Nov 2003 11:45:45 +1030 Subject: [AccessD] POLL: Access Security Message-ID: 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From SDSSoftware at optusnet.com.au Wed Nov 12 19:25:51 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 13 Nov 2003 12:25:51 +1100 Subject: [AccessD] POLL: Access Security References: Message-ID: <02d601c3a985$13ac4f70$8001a8c0@user> Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 12 19:23:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 12 Nov 2003 17:23:09 -0800 Subject: [AccessD] SQL trusted connection problem In-Reply-To: Message-ID: Hi Phil: Check the following out in your registry. If a similar entry does not exist add this entry in, to the client stations: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLSERVER\Client\ConnectTo]"MyServe r"="DBNMPNTW,MyServer" Had to run an automated process on almost sixty stations about a year ago. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Phil Jewett Sent: Wednesday, November 12, 2003 9:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] SQL trusted connection problem When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! This problem is discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 19:33:13 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 20:33:13 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <02d601c3a985$13ac4f70$8001a8c0@user> Message-ID: Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 12 19:35:16 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 12 Nov 2003 19:35:16 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: <31961463.1068685360095.JavaMail.root@sniper.marix.com> Message-ID: <000001c3a986$64742170$de1811d8@DanWaters> I would consider myself a 4. I know how to deactivate the F11 key and shift bypass keys in code, and have installed a workgroup file in a network folder that was secured to all but network admin people. The database opened fine for all users! Test first - this is not documented! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Wed Nov 12 19:37:38 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Wed, 12 Nov 2003 20:37:38 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: 2 for me please.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 12 19:39:39 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 12 Nov 2003 17:39:39 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Nov 12 19:50:57 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 13 Nov 2003 12:50:57 +1100 Subject: [AccessD] POLL: Access Security References: Message-ID: <032001c3a988$95727ae0$8001a8c0@user> No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Wed Nov 12 20:00:23 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Wed, 12 Nov 2003 21:00:23 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: 1. Actually, I would probably be a 2 except that I got so annoyed with the process that I automated it. It's on my web site at www.goodhall.info/steve/software.html Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 20:01:18 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 21:01:18 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <032001c3a988$95727ae0$8001a8c0@user> Message-ID: Ahh.. understood. And why is it your choice to not use Access Security? (yes, that is a leading question ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Wed Nov 12 20:02:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 21:02:44 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Nov 12 20:31:58 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 13 Nov 2003 13:31:58 +1100 Subject: [AccessD] POLL: Access Security References: Message-ID: <003501c3a98e$50405770$8001a8c0@user> Several reasons: 1. Most of my clients don't need that level of security and protect their data in other ways, 2. I have worked on several sites where the combination of mdb's secured with multiple mdw's was a nightmare for the same people who set them up (ie in house staff), several cases of 'lost' mdw's and I find that too often the original system mdw's are modified (I can remember posting problems with Access security to the list which all ended up being a case of the client's original system.mdw having been modified....headaches) 3. When clients ask me (all the time) to set up security, it has mostly been because they want to make some aspects of the system visible / not visible to groups of users, or certain functions available / not available to groups of users. So a homegrown system which tracks a user group and user name has been enough for me combined with setting my system properties before delivering the mde. It is made clear to the client that this level of security will never prevent them from a professional who is determined to hack in. I'm not expert on this and I look forward to reading what the "1's" have to say...........so many posts have been made to the list on security that it's obviously an issue for most developers at some stage or another. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 1:01 PM Subject: RE: [AccessD] POLL: Access Security Ahh.. understood. And why is it your choice to not use Access Security? (yes, that is a leading question ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Wed Nov 12 20:35:46 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Thu, 13 Nov 2003 13:35:46 +1100 Subject: [AccessD] POLL: Access Security Message-ID: 4)I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definately needed. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From serbach at new.rr.com Wed Nov 12 20:48:37 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 12 Nov 2003 20:48:37 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <20031112204837.1758067974.serbach@new.rr.com> John, I'm a 4.5: I've read about it but never attempted it. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jcolby at colbyconsulting.com Wed Nov 12 20:44:05 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 21:44:05 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <005c01c3a97a$93181880$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: Ken, * Developers need a way to query LWS about permissions, something like: cmdShowSalary.Visible = LWS.HasPermission(CurrentUser, "Open", "frmSalary") * If LWS could automatically enable/show a control based on a user's permissions to open a particular form (with no coding on the developer's part), that would be _way_ cool. It does both of these things. In fact it takes it one step further and just does it for the developer, code similar to your first example is embedded in the form class. I designed LWS years ago for my own needs. I wanted a means of setting up presentation security quickly and easily. I have run into many scenarios over the years where the user wanted common screens for everyone to use, but wanted some people to be able to do this, some to do that. Some users were data entry and could add records but not delete existing records, others were users who weren't supposed to add records, only edit existing records, but only in this area. Some were supervisors that could "log in" to a normal user's machine to over-ride a mistake. Only Personnel could even view the personnel records, only managers could edit employee eval forms. In a real world database (except for Gustav's for some odd reason ;-) it is not uncommon for data entry to not find existing claimants (for example) and create a new claimant. The SSN was entered wrong and so in they go. Later it is discovered that there are two claimant records for the same person with claims assigned to each of them. Someone has to go in and reassign the claims from one of the dupe claimants to another, then go back and delete the dupe claimant. I set up a combo on the claim form that is bound to the claimant FK in the claim. The regular user doesn't even see this combo, it is hidden to them. A supervisor can log in however and this combo unhides automatically because the supervisor group has view/edit privileges on that control. The supervisor can then select the correct claimant record and the claim is now re-assigned to that claimant record. The supervisor can go in to the claimant form and delete the duplicate record whereas no other group (except administrator) has authority to delete claimants. Managers can view / edit employee eval forms, personnel can view but not edit, no other group can even open them. All of these capabilities are what LWS provides. My original LWS did not use user / groups and thus was a bit of a pain to administer. Since I wrote the original I have learned a lot, classes and withevents included, so I decided a rewrite was in order. Basically the concept is working as we speak. Users / groups / login / assigning authority over form properties (open/visible/AllowEdit/AllowDelete/AllowAdd) to groups / Assigning authority over control properties to groups (visible / Locked / Enabled). All of that functionality exists and is working. I have forms for editing users / groups / form properties, and am working on the form for editing control properties. LWS is close to being a usable system again, using everything I've learned since the last time. It is not intended as a replacement for Access' security, rather a compliment to it. It makes no effort to secure things like queries or tables. It does nothing more than set properties of forms and controls as a form opens to control who can use / see / edit things. Other forms of security (such as setting database properties) should be used as well. Perhaps even Access' built-in security, depending on the needs. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ken Ismert Sent: Wednesday, November 12, 2003 7:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I agree with Lambert that users are nosy and invasive. However, if you lock down the interface, and use an mde in runtime mode, you will keep out all but the most persistent users. I also have to agree with Gustav that most developers will choose to manage the user's access by hiding or disabling controls. This means that the LWS form permission functionality will be rarely needed in production apps. Is this a drawback of the LWS idea? No... I see several opportunities here: * LWS form permissions can act as a failsafe if there are leaks in the UI logic. Because this is an exceptional condition, you wouldn't have to do anything fancy: just display a message and close the form. * Developers need a way to query LWS about permissions, something like: cmdShowSalary.Visible = LWS.HasPermission(CurrentUser, "Open", "frmSalary") * If LWS could automatically enable/show a control based on a user's permissions to open a particular form (with no coding on the developer's part), that would be _way_ cool. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 12, 2003 10:39 AM To: 'Access Developers discussion and problem solving' Cc: 'jcolby at colbyconsulting.com' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I followed your arguments for doing this, and I fully agree with your comments along the lines of, "if the user *can* do it s/he *will* do it". FWIW, here's one way you might want to do what you asked for. If you set the timer interval to 1 millisecond then the form opens without the user seeing anything but the merest flicker on screen. That's in A97, but it should work in 2K as well Here's the form's code module Option Compare Database Option Explicit Const mod_bAllowVisible = False ' simulate user's inability to 'see' this form. Private Sub Form_Activate() ' re-hide the form if a user unhides it manually Me.Visible = mod_bAllowVisible DoEvents End Sub Private Sub Form_Timer() ' Hide the form after it's loaded Me.Visible = mod_bAllowVisible DoEvents ' no need to fire this event any more so... Me.TimerInterval = 0 End Sub Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Wednesday, November 12, 2003 9:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > What you're missing is that THIS IS A WIZARD FOR YOU!!! > > I have no clue what YOU are doing so I have to desing it as if YOU don't > have a clue. > > John W. Colby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, November 11, 2003 11:16 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Am I missing something, John? If you're using a forms class, wouldn't > there be a test in the Form_Open event of the class to see whether the > user is allowed to view the form? Or are you talking about users > managing to find their way into forms already opened hidden? > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 11, 2003 7:52 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Gustav, > > >I mean - forms don't just open > > Of course forms "just open". What do you think the switchboard does? > It "just opens" forms. And plenty of developers use the switchboard. > > >and users don't unhide hidden forms > > Of course users unhide forms. Users poke and pry, and go where they > aren't supposed to, and find all the chinks in your armor. If it's not > supposed to be done, and you have locked that sucker down tight, a user > WILL get in there! > > >he/she would need to either make the button not visible or not enabled > >or > pop up a message telling that the user has been revoked rights to view > the details; this I guess would be beyond the goal of your LWS tool. > > No, in fact that is exactly the goal of my tool. It allows you to > create up to 31 groups and unlimited users. You then add users to > groups, ala Windows or SQL Server. You then tell LWS "These groups can > SEE these forms". "These groups can see this control on this form". > etc. > > The flip side of this is that any groups NOT allowed to SEE those forms, > by definition CAN'T SEE those forms. And it is the job of LWS to > guarantee that those users CAN'T see forms they are not supposed to see. > Thus my email - how do I GUARANTEE that a form that the user is not > supposed to see remains invisible? > > The point here is that every one who has responded so far has simply > taken the point of view that "the developer will guarantee" or "users > won't" or "of course the developer will get rid of menus" etc. > > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often > quite by accident. And Of course, developers consistently, year after > year fail to remove menus. In fact clients consistently, year after > year DEMAND that menus remain. It is not realistic to start from the > perfect world and assume none of these things happen. > > I have a simple question. How many of us know how to build a table. > The first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to > build a table. Or more correctly I can figure it out using DAO, and I > can figure it out using SQL but what do I do under normal circumstances? > Use a WIZARD. The wizard knows how to build a table, I know how to use a > wizard to build a table. Same with queries. > > I am attempting to design a system (a wizard) that a developer can use > to set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables > are initialized, there is a "wizard" that allows the developer to select > forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. > Whatever the developer decides is stored in a pair of tables (forms and > controls). > > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down > such that only specific groups can See/Enter/Edit. > > That is LWS. The group / user login stuff is working. The FORM > security is working (minus a few inconsistencies in being able to hide > the forms). The control security is not finished yet. My post to this > group was an attempt to figure out how to allow LWS to consistently and > reliably control the VISIBILITY of a form. Access does not make it > easy, but I have had a couple of good suggestions that will help me > solve this problem. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > I think Ken has a point here and that you maybe are overcomplicating the > task. I mean - forms don't just open, and users don't unhide hidden > forms; how should they be able to do that when the developer has > designed menus and toolbars for his/her app? > > Also, applying any form of security, light weight or not, the developer > will have to walk through the app from a to z and arrange for > modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess would > be beyond the goal of your LWS tool. Leaving the button as it is and the > user presses it and the details form just opens hidden is bad UI design > as the user has no chance for knowing what is going on other than "it > doesn't work". > > /gustav > > > > Ken, > > > I am writing a security utility aimed at other developers. It is > > designed to allow YOU (and me as a developer) to manage the > > presentation security > of > > a database front end. IOW, what forms can a user / group open? View? > Add > > records to? Delete records in? Edit records in? Etc. > > > As you can see, I am not necessarily "in control of" the target FE at > design > > time since the FE is YOURS. Why would you want to open a form not > visible? > > Perhaps the form is a filter form that you use to feed values to a > > query. Perhaps the form has a timer ticking that performs some > > process. > Perhaps... > > uh... I have no damned idea what else you might decide to do with a > > form that is open but that a selected group or groups of users are not > > > allowed > to > > see. I know that I personally use a hidden form to force a cleanup of > > > my framework when the database closes. Since a form cannot close > > without > it's > > OnClose firing, I use that to run a Terminate() function that closes > > everything gracefully. So not matter how the db closes, my term() > function > > runs. > > > I cannot allow the users to unhide that since it is a background > processing > > form and they have no business there. > > > In the end though, the answer is I don't know why any given developer > > is going to want to open a form that users can't see, I simply know > > that it happens and I need to provide the developer with a means of > > enforcing this security. > > --- > > > 1. It escapes me why you would even want to manage an open, invisible > form. > > If the user can't view it, then by far the simplist thing to do is not > open > > it. Is there some other issue driving this need that you haven't > elaborated > > on? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 12 20:56:42 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 13 Nov 2003 12:56:42 +1000 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <3FB37F8A.11940.CC8868@localhost> On 12 Nov 2003 at 19:59, John W. Colby wrote: > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > 2.5 I've actually spent more time cracking protected systems and rebuilding them without the built in Access security than I have implementing it. I generally roll my own control systems. MDEs and judicious use of the Username() API call to control form access and to enable/disable controls on open keeps all but the really determined under control. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stephen at bondsoftware.co.nz Wed Nov 12 19:49:51 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 13 Nov 2003 14:49:51 +1300 Subject: [AccessD] POLL: Access Security Message-ID: <70F3D727890C784291D8433E9C418F29088500@server.bondsoftware.co.nz> Make me a 2. Bond > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 2:00 p.m. > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, > rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying > project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe > off, maybe played around with it, but I am confident I could > get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to > learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Wed Nov 12 21:54:48 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 21:54:48 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Hi John, A really lackadaisical "4" I don't just care for it. I roll my own. If you're really interested in Access Security you might want to check out Garry Robinson's new book about it: http://www.apress.com/book/bookDisplay.html?bID=189 John B. From tomk at multiline.com.au Tue Nov 11 22:04:12 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Wed, 12 Nov 2003 12:04:12 +0800 Subject: [AccessD] POLL: Access Security References: Message-ID: <003501c3a8d2$0aeb09c0$0300a8c0@print> I am a definate 5... Although I have never had the need to use any security and have done no study on it .... I generally (if any protection is needed at all) simply disable controls except when the Db is on a particular users machine (call that the administrator) where the controls will be enabled depending on the computer name REgards Tom Keatley From john at winhaven.net Wed Nov 12 22:06:30 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 22:06:30 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> Message-ID: Rocky, Sorry to say but I think you are trapped. You could email Ken Getz and he would probably be able to give you the best answer. Curious, are you abandoning because its not working good or just because you don't need it anymore? John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, November 12, 2003 7:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > I originally created the forms on a machine whose screen res was > set to 640 > x 480. > > But there's got to be a way to escape from this trap without > re-creating the > forms all over on the 600 x 800 machine. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 12, 2003 5:03 PM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky, > > > > The reason this is happening (I think) is that in order to use > the old ADH > > code (I used it myself) you had to design for the smallest resolution, > i.e. > > you manually edited the controls down to that size (or set it all up > > actually using 640x480). I know of nothing that will go in and resize > > everything for you, though there may be tools like that. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Wednesday, November 12, 2003 4:13 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Change resolution of forms > > > > > > Dear List: > > > > I have an application which I developed many years ago on a > machine with a > > screen of resolution 640 x 480. I used the ADH resizing code > so the form > > would fill the screen regardless of the target machine resolution. > > > > I don't use that resizing code in my apps anymore and I would like to > > abandon that now in this app and go with a straight 800 x 600 which is > what > > my screen is set to. > > > > But the 640 x 480 resolution seems to be a part of the form somehow and > each > > of the controls as well because if I copy over the controls, they don't > size > > correctly on my 800 x 600 screen. They appear smaller as they > would when > > you put a 640x480 form or control on an 800 x 600 screen. > > > > Plus any new forms I've added to this app recently original in 800 x 600 > and > > that's fine. > > > > Is there a simple way to make these old forms all 800x600? > > > > 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 tomk at multiline.com.au Tue Nov 11 22:20:05 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Wed, 12 Nov 2003 12:20:05 +0800 Subject: [AccessD] Change resolution of forms References: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> Message-ID: <004801c3a8d4$476bdc10$0300a8c0@print> > > Is there a simple way to make these old forms all 800x600? > > > > MTIA, I had a need recently to change screen resolution as most of the forms were designed in 1280 x 1152 and had to display at a fixed 1024x768 so I bought a code module from http://www.peterssoftware.com/ssfaq.htm It works and re-sizes the forms ...is easy to install as you just change OPENFORM to I think SS_OPEN with Rich Fishers Find&REplace (or similar). The problem I found with the A97 version of the module was that it has trouble rendering the fonts correctly .... It is however still usable ...I was making the forms SMALLER in most cases and you will be making them LARGER ...so your mileage may be different Regards Tom Keatley From john at winhaven.net Wed Nov 12 23:15:46 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 23:15:46 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: <004801c3a8d4$476bdc10$0300a8c0@print> Message-ID: I didn't know about that - did you use the staic resizing to do the deed? There's a light security system there too, JC :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Keatley > Sent: Tuesday, November 11, 2003 10:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > MTIA, > > I had a need recently to change screen resolution as most of the > forms were > designed in 1280 x 1152 and had to display at a fixed 1024x768 so > I bought a > code module from > > http://www.peterssoftware.com/ssfaq.htm > From john at winhaven.net Wed Nov 12 23:38:31 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 23:38:31 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: Message-ID: that is supposed to be "Static" resizing :o| > I didn't know about that - did you use the staic resizing to do the deed? > > There's a light security system there too, JC > :o) > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Keatley > > Sent: Tuesday, November 11, 2003 10:20 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > MTIA, > > > > I had a need recently to change screen resolution as most of the > > forms were > > designed in 1280 x 1152 and had to display at a fixed 1024x768 so > > I bought a > > code module from > > > > http://www.peterssoftware.com/ssfaq.htm > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Nov 12 23:51:40 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Nov 2003 21:51:40 -0800 Subject: [AccessD] Change resolution of forms References: Message-ID: <017d01c3a9aa$35a5ab10$6501a8c0@HAL9002> Just don't need it. And the resizing causes other problems. How do I email Ken Getz? Thanks in advance, I'll be gone until Monday. Regards, Rocky ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 12, 2003 8:06 PM Subject: RE: [AccessD] Change resolution of forms > Rocky, > Sorry to say but I think you are trapped. You could email Ken Getz and he > would probably be able to give you the best answer. > > Curious, are you abandoning because its not working good or just because you > don't need it anymore? > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Wednesday, November 12, 2003 7:15 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > I originally created the forms on a machine whose screen res was > > set to 640 > > x 480. > > > > But there's got to be a way to escape from this trap without > > re-creating the > > forms all over on the 600 x 800 machine. > > > > Rocky > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > Rocky, > > > > > > The reason this is happening (I think) is that in order to use > > the old ADH > > > code (I used it myself) you had to design for the smallest resolution, > > i.e. > > > you manually edited the controls down to that size (or set it all up > > > actually using 640x480). I know of nothing that will go in and resize > > > everything for you, though there may be tools like that. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > Dear List: > > > > > > I have an application which I developed many years ago on a > > machine with a > > > screen of resolution 640 x 480. I used the ADH resizing code > > so the form > > > would fill the screen regardless of the target machine resolution. > > > > > > I don't use that resizing code in my apps anymore and I would like to > > > abandon that now in this app and go with a straight 800 x 600 which is > > what > > > my screen is set to. > > > > > > But the 640 x 480 resolution seems to be a part of the form somehow and > > each > > > of the controls as well because if I copy over the controls, they don't > > size > > > correctly on my 800 x 600 screen. They appear smaller as they > > would when > > > you put a 640x480 form or control on an 800 x 600 screen. > > > > > > Plus any new forms I've added to this app recently original in 800 x 600 > > and > > > that's fine. > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > 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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Thu Nov 13 00:09:01 2003 From: john at winhaven.net (John Bartow) Date: Thu, 13 Nov 2003 00:09:01 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: <017d01c3a9aa$35a5ab10$6501a8c0@HAL9002> Message-ID: Rocky, kgetz at developershandbook.com HTH John B. ZZZ time... > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, November 12, 2003 11:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > Just don't need it. And the resizing causes other problems. How > do I email > Ken Getz? > > Thanks in advance, I'll be gone until Monday. > > Regards, > > Rocky > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 12, 2003 8:06 PM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky, > > Sorry to say but I think you are trapped. You could email Ken > Getz and he > > would probably be able to give you the best answer. > > > > Curious, are you abandoning because its not working good or just because > you > > don't need it anymore? > > > > John B. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin - > > > Beach Access Software > > > Sent: Wednesday, November 12, 2003 7:15 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > > I originally created the forms on a machine whose screen res was > > > set to 640 > > > x 480. > > > > > > But there's got to be a way to escape from this trap without > > > re-creating the > > > forms all over on the 600 x 800 machine. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John W. Colby" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > > > > Rocky, > > > > > > > > The reason this is happening (I think) is that in order to use > > > the old ADH > > > > code (I used it myself) you had to design for the smallest > resolution, > > > i.e. > > > > you manually edited the controls down to that size (or set it all up > > > > actually using 640x480). I know of nothing that will go in > and resize > > > > everything for you, though there may be tools like that. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > Smolin - > > > > Beach Access Software > > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > > > > Dear List: > > > > > > > > I have an application which I developed many years ago on a > > > machine with a > > > > screen of resolution 640 x 480. I used the ADH resizing code > > > so the form > > > > would fill the screen regardless of the target machine resolution. > > > > > > > > I don't use that resizing code in my apps anymore and I > would like to > > > > abandon that now in this app and go with a straight 800 x > 600 which is > > > what > > > > my screen is set to. > > > > > > > > But the 640 x 480 resolution seems to be a part of the form somehow > and > > > each > > > > of the controls as well because if I copy over the controls, they > don't > > > size > > > > correctly on my 800 x 600 screen. They appear smaller as they > > > would when > > > > you put a 640x480 form or control on an 800 x 600 screen. > > > > > > > > Plus any new forms I've added to this app recently original in 800 x > 600 > > > and > > > > that's fine. > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > 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 > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 13 02:54:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 09:54:26 +0100 Subject: [AccessD] Array in array Message-ID: <1997073320.20031113095426@cactus.dk> Hi all No I didn't know this is possible but it is. ElementK tips: http://offers.elementkjournals.com/redir3/l7AH_iGAB!http://www.elementkjournals.com/tips.asp recently wrote about it. Here's a sample: Public Sub ArrayInArray() Dim asSub(1) As String Dim avMain(1) As Variant asSub(0) = "Database" asSub(1) = "Access" avMain(0) = asSub asSub(0) = "Advisors" asSub(1) = "Developers" avMain(1) = asSub MsgBox avMain(0)(0) & " " & avMain(1)(0), , "ArrayInArray 0" MsgBox avMain(0)(1) & " " & avMain(1)(1), , "ArrayInArray 1" End Sub /gustav From roz.clarke at donnslaw.co.uk Thu Nov 13 03:04:56 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 13 Nov 2003 09:04:56 -0000 Subject: [AccessD] POLL: Access Security Message-ID: <61F915314798D311A2F800A0C9C83188047C6740@dibble.observatory.donnslaw.co.uk> 3 -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robert at servicexp.com Wed Nov 12 19:36:29 2003 From: Robert at servicexp.com (Robert Gracie) Date: Wed, 12 Nov 2003 20:36:29 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: 2 for me please.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Nov 13 03:17:39 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Nov 2003 09:17:39 -0000 Subject: [AccessD] Change resolution of forms In-Reply-To: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> Message-ID: <000601c3a9c6$fc7b8cc0$b274d0d5@minster33c3r25> Rocky Is this any use to you? http://www.peterssoftware.com/ss2.htm Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 13 November 2003 01:15 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > I originally created the forms on a machine whose screen res > was set to 640 x 480. > > But there's got to be a way to escape from this trap without > re-creating the forms all over on the 600 x 800 machine. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 12, 2003 5:03 PM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky, > > > > The reason this is happening (I think) is that in order to > use the old > > ADH code (I used it myself) you had to design for the smallest > > resolution, > i.e. > > you manually edited the controls down to that size (or set > it all up > > actually using 640x480). I know of nothing that will go in > and resize > > everything for you, though there may be tools like that. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin > > - Beach Access Software > > Sent: Wednesday, November 12, 2003 4:13 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Change resolution of forms > > > > > > Dear List: > > > > I have an application which I developed many years ago on a machine > > with a screen of resolution 640 x 480. I used the ADH > resizing code > > so the form would fill the screen regardless of the target machine > > resolution. > > > > I don't use that resizing code in my apps anymore and I > would like to > > abandon that now in this app and go with a straight 800 x > 600 which is > what > > my screen is set to. > > > > But the 640 x 480 resolution seems to be a part of the form somehow > > and > each > > of the controls as well because if I copy over the controls, they > > don't > size > > correctly on my 800 x 600 screen. They appear smaller as > they would > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > Plus any new forms I've added to this app recently original > in 800 x > > 600 > and > > that's fine. > > > > Is there a simple way to make these old forms all 800x600? > > > > 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 andy at minstersystems.co.uk Thu Nov 13 03:21:03 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Nov 2003 09:21:03 -0000 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <000c01c3a9c7$7621ab90$b274d0d5@minster33c3r25> Snap. Put me in Andrew's no 6 category. See, we even roll-our-own categories. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Haslett, Andrew > Sent: 13 November 2003 01:16 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 6) I don't use the built in security functions of Access. I > Use MDE's and roll my own security depending on the > requirements of the client. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 11:30 AM > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' > built-in security. By security I do NOT mean the database > properties, rather using workgroups / users to secure forms, > tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database down so tight I can't even get back in. No > help / books needed. > 2) I am fluent with Access security. I can get the job done > but it definitely takes a few hours. I probably won't need > the help / books. > 3) I have done Access Security on at least one real paying > project. I would need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe off, maybe played around with it, but I am > confident I could get the job done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has > ever been willing to pay for it and I have always had other > things to learn / do so I just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > IMPORTANT - > PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or > not. _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From roz.clarke at donnslaw.co.uk Thu Nov 13 03:27:06 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 13 Nov 2003 09:27:06 -0000 Subject: [AccessD] POLL: Access Security Message-ID: <61F915314798D311A2F800A0C9C83188047C6745@dibble.observatory.donnslaw.co.uk> I guess I fit in this category as well as #3 :) Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 13 November 2003 09:21 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Snap. Put me in Andrew's no 6 category. See, we even roll-our-own categories. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Haslett, Andrew > Sent: 13 November 2003 01:16 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 6) I don't use the built in security functions of Access. I > Use MDE's and roll my own security depending on the > requirements of the client. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 11:30 AM > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' > built-in security. By security I do NOT mean the database > properties, rather using workgroups / users to secure forms, > tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database down so tight I can't even get back in. No > help / books needed. > 2) I am fluent with Access security. I can get the job done > but it definitely takes a few hours. I probably won't need > the help / books. > 3) I have done Access Security on at least one real paying > project. I would need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe off, maybe played around with it, but I am > confident I could get the job done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has > ever been willing to pay for it and I have always had other > things to learn / do so I just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > IMPORTANT - > PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or > not. _______________________________________________ > 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 paul.hartland at fsmail.net Thu Nov 13 03:32:16 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 13 Nov 2003 10:32:16 +0100 (CET) Subject: [AccessD] POLL: Access Security Message-ID: <22380264.1068715936355.JavaMail.www@wwinf3001> Is there a category for knowing that access has built in security, has tried to get it to work, has never got it to work, and has given up on it unless I get a brainwave and step-by-step idiots guide on it. Paul Hartland Message date : Nov 13 2003, 09:27 AM >From : Roz Clarke To : 'Access Developers discussion and problem solving' Copy to : Subject : RE: [AccessD] POLL: Access Security I guess I fit in this category as well as #3 :) Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 13 November 2003 09:21 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Snap. Put me in Andrew's no 6 category. See, we even roll-our-own categories. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Haslett, Andrew > Sent: 13 November 2003 01:16 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 6) I don't use the built in security functions of Access. I > Use MDE's and roll my own security depending on the > requirements of the client. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 11:30 AM > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' > built-in security. By security I do NOT mean the database > properties, rather using workgroups / users to secure forms, > tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database down so tight I can't even get back in. No > help / books needed. > 2) I am fluent with Access security. I can get the job done > but it definitely takes a few hours. I probably won't need > the help / books. > 3) I have done Access Security on at least one real paying > project. I would need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe off, maybe played around with it, but I am > confident I could get the job done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has > ever been willing to pay for it and I have always had other > things to learn / do so I just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > IMPORTANT - > PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or > not. _______________________________________________ > 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 From Tim.Pain at sc.akzonobel.com Thu Nov 13 03:35:19 2003 From: Tim.Pain at sc.akzonobel.com (Pain, T. (Tim)) Date: Thu, 13 Nov 2003 09:35:19 -0000 Subject: [AccessD] POLL: Access Security Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6AAD321@lbrn12.d20.intra> Make me a 4, definitly need the books. Tim -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JOHNWARDBELL at aol.com Thu Nov 13 03:49:55 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Thu, 13 Nov 2003 04:49:55 EST Subject: [AccessD] POLL: Access Security Message-ID: <3a.40e5eadb.2ce4adc3@aol.com> John No 4 .....just. Wardb From tinanfields at torchlake.com Thu Nov 13 05:33:11 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 13 Nov 2003 06:33:11 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <3FB36BF7.6000707@torchlake.com> Hi John, I'm a 3. It was a tedious job for me, because I had to find my way through everything. I probably didn't look in the right places for the help I needed - and I had a hard time understanding the help I did find. Tina John W. Colby wrote: >I'd like to take a poll regarding your knowledge of Access' built-in >security. By security I do NOT mean the database properties, rather using >workgroups / users to secure forms, tables, queries etc. > >Anyone interested in participating please choose one of the following: > >1) I am an Access security guru. I can quickly and easily lock a database >down so tight I can't even get back in. No help / books needed. >2) I am fluent with Access security. I can get the job done but it >definitely takes a few hours. I probably won't need the help / books. >3) I have done Access Security on at least one real paying project. I would >need help / books to do it again. >4) I have heard about Access Security, read about it, managed to shoot a toe >off, maybe played around with it, but I am confident I could get the job >done. Books / help definitly needed. >5) Access has built in security? What is this and where would I go to learn >it? Why haven't I ever seen these books / help? > >If you would please just select a number and reply I would appreciate it. > >As for myself, I must admit I rate a solid 4. No client has ever been >willing to pay for it and I have always had other things to learn / do so I >just never did it (for real). > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From djkr at msn.com Thu Nov 13 06:25:57 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Thu, 13 Nov 2003 12:25:57 -0000 Subject: [AccessD] POLL: Access Security In-Reply-To: <61F915314798D311A2F800A0C9C83188047C6745@dibble.observatory.donnslaw.co.uk> Message-ID: <001301c3a9e1$4a1dab60$bf00a8c0@dabsight> 6 for me, too. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: 13 November 2003 09:27 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > I guess I fit in this category as well as #3 > > :) > > Roz > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: 13 November 2003 09:21 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > Snap. Put me in Andrew's no 6 category. See, we even > roll-our-own categories. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Haslett, Andrew > > Sent: 13 November 2003 01:16 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] POLL: Access Security > > > > > > 6) I don't use the built in security functions of Access. I > Use MDE's > > and roll my own security depending on the requirements of > the client. > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, 13 November 2003 11:30 AM > > To: AccessD > > Subject: [AccessD] POLL: Access Security > > > > > > I'd like to take a poll regarding your knowledge of Access' > built-in > > security. By security I do NOT mean the database properties, rather > > using workgroups / users to secure forms, tables, queries etc. > > > > Anyone interested in participating please choose one of the > following: > > > > 1) I am an Access security guru. I can quickly and easily lock a > > database down so tight I can't even get back in. No help / books > > needed. > > 2) I am fluent with Access security. I can get the job done > > but it definitely takes a few hours. I probably won't need > > the help / books. > > 3) I have done Access Security on at least one real paying > > project. I would need help / books to do it again. > > 4) I have heard about Access Security, read about it, managed > > to shoot a toe off, maybe played around with it, but I am > > confident I could get the job done. Books / help definitly needed. > > 5) Access has built in security? What is this and where > > would I go to learn it? Why haven't I ever seen these books / help? > > > > If you would please just select a number and reply I would > appreciate > > it. > > > > As for myself, I must admit I rate a solid 4. No client > has ever been > > willing to pay for it and I have always had other things to > learn / do > > so I just never did it (for real). > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > IMPORTANT - > > PLEASE READ ******************** > > This email and any files transmitted with it are > confidential and may > > contain information protected by law from disclosure. > > If you have received this message in error, please notify > the sender > > immediately and delete this email from your system. > > No warranty is given that this email or files, if attached to this > > email, are free from computer viruses or other defects. They > > are provided on the basis the user assumes all responsibility for > > loss, damage or consequence resulting directly or indirectly from > > their use, whether caused by the negligence of the sender or > > not. _______________________________________________ > > 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 Erwin.Craps at ithelps.be Thu Nov 13 06:30:43 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 13:30:43 +0100 Subject: [AccessD] POLL: Access Security Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DCE@stekelbes.ithelps.local> Kath, I totaly agree with you. I believe I'm a 3, but I find Access security insuffcient and unpractical to use so I stopped using it (for same reasons as you state in point 2, I want to add that a office repair each time reset or overwrites your MDW file). Further more my clients are SME's and I develop taylor made applications for them. Belgian law (I believe it a European guideline) says that with Taylor made software you are obligated to deliver the source code of your application to the customer. So I don't see the point of protecting it furthermore than wat you stipulate in point 1 and 3. Only thing that a non-profesional can not change is the splash/info/license form with wy name, logo etc on it. I would like to protect that better, but that the only thing. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Thursday, November 13, 2003 3:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Several reasons: 1. Most of my clients don't need that level of security and protect their data in other ways, 2. I have worked on several sites where the combination of mdb's secured with multiple mdw's was a nightmare for the same people who set them up (ie in house staff), several cases of 'lost' mdw's and I find that too often the original system mdw's are modified (I can remember posting problems with Access security to the list which all ended up being a case of the client's original system.mdw having been modified....headaches) 3. When clients ask me (all the time) to set up security, it has mostly been because they want to make some aspects of the system visible / not visible to groups of users, or certain functions available / not available to groups of users. So a homegrown system which tracks a user group and user name has been enough for me combined with setting my system properties before delivering the mde. It is made clear to the client that this level of security will never prevent them from a professional who is determined to hack in. I'm not expert on this and I look forward to reading what the "1's" have to say...........so many posts have been made to the list on security that it's obviously an issue for most developers at some stage or another. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 1:01 PM Subject: RE: [AccessD] POLL: Access Security Ahh.. understood. And why is it your choice to not use Access Security? (yes, that is a leading question ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 13 06:40:10 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 13 Nov 2003 06:40:10 -0600 Subject: [AccessD] A2K: Error 3356 Message-ID: <20031113064010.1569556867.serbach@new.rr.com> Dear Group, One of my applications is causing a fairly consistent error: "You attempted to open a database that is already opened exclusively by user 'Admin' on machine XXXX. Try again when the database is available." The user on machine XXXX doesn't open the database exclusively. I've checked her Access settings under Tools | Options | Advanced. The Default Open Mode is Shared, not Exclusive. Could you help me with this one? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jimdettman at earthlink.net Thu Nov 13 06:45:57 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 13 Nov 2003 07:45:57 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: John, I rate a solid 2, almost straying into 1 as far as "no help / books needed". But as far as locking it so tight that even I can't get into it, that's not possible as I know how to break it and I know it's not worth bothering with it in the first place. 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 John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Thu Nov 13 06:50:07 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 13 Nov 2003 06:50:07 -0600 Subject: [AccessD] A2K: Error 3356 Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C936@cntexchange.pgdp.usec.com> Is it an Access 97 database & they are opening it in A2K? I had this problem all the time because I used 97 & when I would make changes & compile the database, the users of 2K would get that message. They should only get the message once, the next time they open it they won't get that message (unless you go in & compile, etc again). Virginia -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 13, 2003 6:40 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Error 3356 Dear Group, One of my applications is causing a fairly consistent error: "You attempted to open a database that is already opened exclusively by user 'Admin' on machine XXXX. Try again when the database is available." The user on machine XXXX doesn't open the database exclusively. I've checked her Access settings under Tools | Options | Advanced. The Default Open Mode is Shared, not Exclusive. Could you help me with this one? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 13 06:56:08 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 13:56:08 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DCE@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DCE@stekelbes.ithelps.local> Message-ID: <621575433.20031113135608@cactus.dk> Hi Erwin You can supply your app with your own mdw, say erwin.mdw. Office won't overwrite that. For that kind of apps we create shortcuts (menu entries) which makes it easy for the user to open the app with the needed command line. /gustav > .. I want to add that a office repair each time reset or overwrites > your MDW file). From bchacc at san.rr.com Thu Nov 13 07:19:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 05:19:55 -0800 Subject: [AccessD] Change resolution of forms References: <000601c3a9c6$fc7b8cc0$b274d0d5@minster33c3r25> Message-ID: <003301c3a9e8$d493aae0$6501a8c0@HAL9002> It looks like the same functionality as I have now with the ADH resizing code - dynamic control resizing. Is there something more to it? I'd like to get rid of the resizing altogether. Rocky ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 13, 2003 1:17 AM Subject: RE: [AccessD] Change resolution of forms > Rocky > Is this any use to you? http://www.peterssoftware.com/ss2.htm > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 13 November 2003 01:15 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > I originally created the forms on a machine whose screen res > > was set to 640 x 480. > > > > But there's got to be a way to escape from this trap without > > re-creating the forms all over on the 600 x 800 machine. > > > > Rocky > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > Rocky, > > > > > > The reason this is happening (I think) is that in order to > > use the old > > > ADH code (I used it myself) you had to design for the smallest > > > resolution, > > i.e. > > > you manually edited the controls down to that size (or set > > it all up > > > actually using 640x480). I know of nothing that will go in > > and resize > > > everything for you, though there may be tools like that. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Rocky Smolin > > > - Beach Access Software > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > Dear List: > > > > > > I have an application which I developed many years ago on a machine > > > with a screen of resolution 640 x 480. I used the ADH > > resizing code > > > so the form would fill the screen regardless of the target machine > > > resolution. > > > > > > I don't use that resizing code in my apps anymore and I > > would like to > > > abandon that now in this app and go with a straight 800 x > > 600 which is > > what > > > my screen is set to. > > > > > > But the 640 x 480 resolution seems to be a part of the form somehow > > > and > > each > > > of the controls as well because if I copy over the controls, they > > > don't > > size > > > correctly on my 800 x 600 screen. They appear smaller as > > they would > > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > > > Plus any new forms I've added to this app recently original > > in 800 x > > > 600 > > and > > > that's fine. > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > 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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Thu Nov 13 07:33:37 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 08:33:37 -0500 Subject: [AccessD] POLL: Access Security Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F87F@TTNEXCHSRV1.hshhp.com> Count me a 4.2 (played with it briefly but know nothing about it) Jim DeMarco -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JHewson at karta.com Thu Nov 13 07:33:30 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 13 Nov 2003 07:33:30 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <4AE733BBEEE72647A9F950F7275F262E112577@nt04.karta.com> I'm a 4. I tried to set security once. Quit after an hour or so. The help obfuscated the entire issue and the Books didn't help either... Actually... maybe a 4.5... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CSPELL at jhuccp.org Thu Nov 13 07:40:09 2003 From: CSPELL at jhuccp.org (CYNTHIA SPELL) Date: Thu, 13 Nov 2003 08:40:09 -0500 Subject: [AccessD] POLL: Access Security Message-ID: I guess I'm about a 3.5. I had it ready to go at one point, but our InfoSys group decided not to let us roll it out - had some concerns over loss of the workgroup file or something.... Cindy >>> Jdemarco at hshhp.org 11/13/03 08:33AM >>> Count me a 4.2 (played with it briefly but know nothing about it) Jim DeMarco -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Nov 13 07:46:46 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 13 Nov 2003 08:46:46 -0500 Subject: [AccessD] POLL: Access Security Message-ID: 4...But, without all the confidence;) Since air-tight security has not been the highest priority in my projects, I'm really more of a lackadaisical "6" to be honest. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Nov 13 07:51:10 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 05:51:10 -0800 Subject: [AccessD] POLL: Access Security References: Message-ID: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> 4.5 Had to fool with it once on a legacy app and got around it. But it was a big PITA. I generally roll my own by having the user log in with a password. They get one of three levels of access to the whole system - 1) read only, 2) read/write, 3) admin. I put their access level in a global variable. Each form has to check the access level then to see if they are allowed to do a certain function. So far, the three levels have been adequate and no one except for one client has wanted function of field level control. Rocky ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Wednesday, November 12, 2003 4:59 PM Subject: [AccessD] POLL: Access Security > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbhuffman at mdh.org Thu Nov 13 07:51:40 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Thu, 13 Nov 2003 07:51:40 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <0FFC98AA5943D211A2E90000F87A5B48026B1F74@NEWMAN_EXC> I'd say I'm a 2-3. My company has used Access Security since before I came to work here 4 years ago. However, I don't like the lack of control. I like to roll my own security setup. Jarad Huffman -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 13 07:55:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 14:55:54 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> References: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> Message-ID: <5625161300.20031113145554@cactus.dk> Hi Rocky So why is JC's world so much different from yours and mine?? /gustav > Had to fool with it once on a legacy app and got around it. But it was a > big PITA. > I generally roll my own by having the user log in with a password. They get > one of three levels of access to the whole system - 1) read only, 2) > read/write, 3) admin. I put their access level in a global variable. Each > form has to check the access level then to see if they are allowed to do a > certain function. So far, the three levels have been adequate and no one > except for one client has wanted function of field level control. From Sloann at cdnet.cod.edu Thu Nov 13 07:59:05 2003 From: Sloann at cdnet.cod.edu (Sloan, Ned) Date: Thu, 13 Nov 2003 07:59:05 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <5F72A76512A52A4EA1785F62B70D2956039E884F@mail.cod.edu> I am rusty, but rate myself between a 2 and a 3. We have implemented a number of applications over the years at our institution using it and it has its good and its bad points, and it has limitations. Ned Sloan Systems Analyst, Administrative Systems Information Technology College Of DuPage 425 Fawell Blvd. Glen Ellyn, Il. 60137 (630) 942-2627 sloann at cdnet.cod.edu -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 13 08:00:38 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 13 Nov 2003 08:00:38 -0600 Subject: [AccessD] POLL: Access Security Message-ID: 4.5 I know its there but haven't had to use it. Gary Kjos garykjos at hotmail.com _________________________________________________________________ Crave some Miles Davis or Grateful Dead? Your old favorites are always playing on MSN Radio Plus. Trial month free! http://join.msn.com/?page=offers/premiumradio From weeden1949 at hotmail.com Thu Nov 13 08:04:36 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Thu, 13 Nov 2003 08:04:36 -0600 Subject: [AccessD] POLL: Access Security References: Message-ID: John: I'm probably a hefty 2. I doubt I'd need to have any books...We have one large County (Recorder's Office) client that has the full Access security invoked (I've done others, but not on this scale). It's been years in the making (was just installed about a year and a half ago and is still working...) and it took a lot of time to get it all tweaked properly (not Access security issues but the Client kept changing the requirements....:o). And only ONCE did we get it locked down so well neither of us (two programmers) could get into it. Taa daa! Praise the Lord for BACKUP copies. The security on this system works well, but one caveat, and it's probably true with ANY type of global security, is that when you need to make changes, additions, etc., you have to make sure that whatever it is you are changing or adding, security must be a major part of the modification. Since I deal with questions from this client weekly, if not daily, I get to keep up on all their security as well...!!! Greg Smith weeden1949 at hotmail.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Wednesday, November 12, 2003 6:59 PM Subject: [AccessD] POLL: Access Security > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Nov 13 08:08:57 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 15:08:57 +0100 Subject: [AccessD] POLL: Access Security Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DCF@stekelbes.ithelps.local> I know...I know... At least I supose you mean that you can give msaccess.exe an /wrkgrp command line option. Or use the /profile and a profile file. I only use MDW for developing purposes indside the office and just want it always to be my company.mdw group... Specifying company.mdw for default gets reset to system.mdw in the user profile folder.... Or is it in the program Files/common folder... ? Don't bother, I just overcopy all system.mdw with company.mdw... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 1:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Hi Erwin You can supply your app with your own mdw, say erwin.mdw. Office won't overwrite that. For that kind of apps we create shortcuts (menu entries) which makes it easy for the user to open the app with the needed command line. /gustav > .. I want to add that a office repair each time reset or overwrites > your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Nov 13 08:08:20 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 13 Nov 2003 08:08:20 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C6292CC@natexch.jenkens.com> 2 Have had a whole series of HR databases with sensitive data that needs locked tight. It takes me a while and I avoid it if I can. Secured databases are a PITA. I inherited a database locked so tight it was darn near impenetrable. All of this for info that was common knowledge in the workplace and not all that sensitive outside it. The thing is nearly impossible to modify or troubleshoot and I would love to give the guy that wrote this a piece of my mind. Debbie -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From ranthony at wrsystems.com Thu Nov 13 08:19:19 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 13 Nov 2003 09:19:19 -0500 Subject: [AccessD] POLL: Access Security Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641288B7@mail2.wrsystems.com> Same here, a strong 3 to a weak 2. I've got two apps with tight security and 3 others without/or use SQL Server for security. -----Original Message----- From: Sloan, Ned [mailto:Sloann at cdnet.cod.edu] Sent: Thursday, November 13, 2003 8:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security I am rusty, but rate myself between a 2 and a 3. We have implemented a number of applications over the years at our institution using it and it has its good and its bad points, and it has limitations. Ned Sloan Systems Analyst, Administrative Systems Information Technology College Of DuPage 425 Fawell Blvd. Glen Ellyn, Il. 60137 (630) 942-2627 sloann at cdnet.cod.edu -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 13 08:20:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 15:20:38 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DCF@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DCF@stekelbes.ithelps.local> Message-ID: <15826645003.20031113152038@cactus.dk> Hi Erwin In my opinion it is not a good idea to have a special mdw assigned as the default. I have a shortcut for such an Access with the wkrgrp switch opening a secured database. /gustav > I know...I know... > At least I supose you mean that you can give msaccess.exe an /wrkgrp > command line option. > Or use the /profile and a profile file. > I only use MDW for developing purposes indside the office and just want > it always to be my company.mdw group... > Specifying company.mdw for default gets reset to system.mdw in the user > profile folder.... Or is it in the program Files/common folder... ? > Don't bother, I just overcopy all system.mdw with company.mdw... > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, November 13, 2003 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > You can supply your app with your own mdw, say erwin.mdw. Office won't > overwrite that. For that kind of apps we create shortcuts (menu entries) > which makes it easy for the user to open the app with the needed command > line. > /gustav >> .. I want to add that a office repair each time reset or overwrites >> your MDW file). From serbach at new.rr.com Thu Nov 13 08:34:34 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 13 Nov 2003 08:34:34 -0600 Subject: [AccessD] A2K: Error 3356 Message-ID: <20031113083434.1892175602.serbach@new.rr.com> Virginia, >> Is it an Access 97 database & they are opening it in A2K? << No, this app was developed from the get-go in Access 2000. You've given me an idea, though. I'm using a series of routines developed by a fellow in Chile to update the application's front end on each user's workstation. I've used the code successfully in Access 97 apps. This is the only time I've used it in an Access 2K application. My client has got a knowledgable user on staff that makes updates to reports, queries and such and knows how to make an updated version for distribution on the LAN. Hmmm, I wonder if they only see this message when that gal has updated the app? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From serbach at new.rr.com Thu Nov 13 08:37:22 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 13 Nov 2003 08:37:22 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <20031113083722.1712100296.serbach@new.rr.com> Jim, >> But as far as locking it so tight that even I can't get into it, that's not possible as I know how to break it and I know it's not worth bothering with it in the first place. << Have you demonstrated to clients how to break the security? I wonder if that might be an effective argument for implementing Access security for one of my clients who's been curious about it. I, as a 4.5 security user, am not real excited about implementing Access security. What would you show a client who had a bug up his rear about Access "security?" Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From bchacc at san.rr.com Thu Nov 13 08:32:27 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 06:32:27 -0800 Subject: [AccessD] Change resolution of forms References: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> <004801c3a8d4$476bdc10$0300a8c0@print> Message-ID: <009901c3a9f2$f67f1810$6501a8c0@HAL9002> Tom: This seems to be a better solution than the ADH code but I'm trying to get rid of dynamic resizing altogether. Any ideas on that? Regards, Rocky ----- Original Message ----- From: "Tom Keatley" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 11, 2003 8:20 PM Subject: Re: [AccessD] Change resolution of forms > > > Is there a simple way to make these old forms all 800x600? > > > > > > MTIA, > > I had a need recently to change screen resolution as most of the forms were > designed in 1280 x 1152 and had to display at a fixed 1024x768 so I bought a > code module from > > http://www.peterssoftware.com/ssfaq.htm > > It works and re-sizes the forms ...is easy to install as you just change > OPENFORM to I think SS_OPEN with Rich Fishers Find&REplace (or similar). > The problem I found with the A97 version of the module was that it has > trouble rendering the fonts correctly .... It is however still usable ...I > was making the forms SMALLER in most cases and you will be making them > LARGER ...so your mileage may be different > > Regards > > Tom Keatley > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Nov 13 08:40:22 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 15:40:22 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD0@stekelbes.ithelps.local> I believe I'm not with with you.... First, to set thing strait. It's only in our office for develepmont I'm speaking. Second. You mean you have a shorcut that starts msaccess.exe with /workgroup xxx? Problem with that is that you need a hard path to msaccess.exe and hard paths is something I try to avoid. I always use roaming profiles and hard paths can problematic. I supose solutions are out there, but I already played alot with them and they are often OS dependent. You know, Gustav, It's not that a big deal... It's rarely I do a repair... And I don't use workgroups anymore at customer sites. I use the network user name and match them with the users in the database (user management based on tables/forms). If a network user is unkown in the database it exits instantly (after a msgbox). Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Hi Erwin In my opinion it is not a good idea to have a special mdw assigned as the default. I have a shortcut for such an Access with the wkrgrp switch opening a secured database. /gustav > I know...I know... > At least I supose you mean that you can give msaccess.exe an /wrkgrp > command line option. Or use the /profile and a profile file. > I only use MDW for developing purposes indside the office and just > want it always to be my company.mdw group... > Specifying company.mdw for default gets reset to system.mdw in the > user profile folder.... Or is it in the program Files/common folder... > ? > Don't bother, I just overcopy all system.mdw with company.mdw... > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 13, 2003 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > You can supply your app with your own mdw, say erwin.mdw. Office won't > overwrite that. For that kind of apps we create shortcuts (menu > entries) which makes it easy for the user to open the app with the > needed command line. > /gustav >> .. I want to add that a office repair each time reset or overwrites >> your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Nov 13 08:40:43 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 06:40:43 -0800 Subject: [AccessD] POLL: Access Security References: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> <5625161300.20031113145554@cactus.dk> Message-ID: <00a501c3a9f4$1e5e8090$6501a8c0@HAL9002> Hahahahahahahahahah....sorry. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 5:55 AM Subject: Re: [AccessD] POLL: Access Security > Hi Rocky > > So why is JC's world so much different from yours and mine?? > > /gustav > > > > Had to fool with it once on a legacy app and got around it. But it was a > > big PITA. > > > I generally roll my own by having the user log in with a password. They get > > one of three levels of access to the whole system - 1) read only, 2) > > read/write, 3) admin. I put their access level in a global variable. Each > > form has to check the access level then to see if they are allowed to do a > > certain function. So far, the three levels have been adequate and no one > > except for one client has wanted function of field level control. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From andy at minstersystems.co.uk Thu Nov 13 08:44:46 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Nov 2003 14:44:46 -0000 Subject: [AccessD] Change resolution of forms In-Reply-To: <003301c3a9e8$d493aae0$6501a8c0@HAL9002> Message-ID: <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> Rocky I had something similar occur and I adapted the ADH code to do the resizing of evey control, then passed through the forms collection, calling it to do each form then saving it. I've been looking for the code and can't seem to find it, but essentially that's what it did: -loop through the forms collection -open each form -apply the resizing -save and close the form I had to fiddle with the resizing ratios but once I got it working on one form it did the trick. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 13 November 2003 13:20 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > It looks like the same functionality as I have now with the > ADH resizing code - dynamic control resizing. > > Is there something more to it? I'd like to get rid of the > resizing altogether. > > Rocky > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, November 13, 2003 1:17 AM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky > > Is this any use to you? http://www.peterssoftware.com/ss2.htm > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > Smolin - Beach Access Software > > > Sent: 13 November 2003 01:15 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > > I originally created the forms on a machine whose screen > res was set > > > to 640 x 480. > > > > > > But there's got to be a way to escape from this trap without > > > re-creating the forms all over on the 600 x 800 machine. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John W. Colby" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > > > > Rocky, > > > > > > > > The reason this is happening (I think) is that in order to > > > use the old > > > > ADH code (I used it myself) you had to design for the smallest > > > > resolution, > > > i.e. > > > > you manually edited the controls down to that size (or set > > > it all up > > > > actually using 640x480). I know of nothing that will go in > > > and resize > > > > everything for you, though there may be tools like that. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Rocky Smolin > > > > - Beach Access Software > > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > > > > Dear List: > > > > > > > > I have an application which I developed many years ago on a > > > > machine with a screen of resolution 640 x 480. I used the ADH > > > resizing code > > > > so the form would fill the screen regardless of the > target machine > > > > resolution. > > > > > > > > I don't use that resizing code in my apps anymore and I > > > would like to > > > > abandon that now in this app and go with a straight 800 x > > > 600 which is > > > what > > > > my screen is set to. > > > > > > > > But the 640 x 480 resolution seems to be a part of the form > > > > somehow and > > > each > > > > of the controls as well because if I copy over the > controls, they > > > > don't > > > size > > > > correctly on my 800 x 600 screen. They appear smaller as > > > they would > > > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > > > > > Plus any new forms I've added to this app recently original > > > in 800 x > > > > 600 > > > and > > > > that's fine. > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > 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 > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 bchacc at san.rr.com Thu Nov 13 08:59:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 06:59:26 -0800 Subject: [AccessD] Change resolution of forms References: <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> Message-ID: <00c101c3a9f6$bbd281d0$6501a8c0@HAL9002> Andy: I'll give that a try. Probably just crib the ADH code and modify. I'll be away 'til Sunday but I'll give it a whirl next week and let you know. Best, Rocky ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 13, 2003 6:44 AM Subject: RE: [AccessD] Change resolution of forms > Rocky > I had something similar occur and I adapted the ADH code to do the resizing > of evey control, then passed through the forms collection, calling it to do > each form then saving it. I've been looking for the code and can't seem to > find it, but essentially that's what it did: > -loop through the forms collection > -open each form > -apply the resizing > -save and close the form > > I had to fiddle with the resizing ratios but once I got it working on one > form it did the trick. > > Andy Lacey > http://www.minstersystems.co.uk > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 13 November 2003 13:20 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > It looks like the same functionality as I have now with the > > ADH resizing code - dynamic control resizing. > > > > Is there something more to it? I'd like to get rid of the > > resizing altogether. > > > > Rocky > > > > ----- Original Message ----- > > From: "Andy Lacey" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Thursday, November 13, 2003 1:17 AM > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > Rocky > > > Is this any use to you? http://www.peterssoftware.com/ss2.htm > > > > > > Andy Lacey > > > http://www.minstersystems.co.uk > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > > Smolin - Beach Access Software > > > > Sent: 13 November 2003 01:15 > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > > > > > I originally created the forms on a machine whose screen > > res was set > > > > to 640 x 480. > > > > > > > > But there's got to be a way to escape from this trap without > > > > re-creating the forms all over on the 600 x 800 machine. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John W. Colby" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > > > > > > > Rocky, > > > > > > > > > > The reason this is happening (I think) is that in order to > > > > use the old > > > > > ADH code (I used it myself) you had to design for the smallest > > > > > resolution, > > > > i.e. > > > > > you manually edited the controls down to that size (or set > > > > it all up > > > > > actually using 640x480). I know of nothing that will go in > > > > and resize > > > > > everything for you, though there may be tools like that. > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > > Rocky Smolin > > > > > - Beach Access Software > > > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > > > To: AccessD at databaseadvisors.com > > > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > I have an application which I developed many years ago on a > > > > > machine with a screen of resolution 640 x 480. I used the ADH > > > > resizing code > > > > > so the form would fill the screen regardless of the > > target machine > > > > > resolution. > > > > > > > > > > I don't use that resizing code in my apps anymore and I > > > > would like to > > > > > abandon that now in this app and go with a straight 800 x > > > > 600 which is > > > > what > > > > > my screen is set to. > > > > > > > > > > But the 640 x 480 resolution seems to be a part of the form > > > > > somehow and > > > > each > > > > > of the controls as well because if I copy over the > > controls, they > > > > > don't > > > > size > > > > > correctly on my 800 x 600 screen. They appear smaller as > > > > they would > > > > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > > > > > > > Plus any new forms I've added to this app recently original > > > > in 800 x > > > > > 600 > > > > and > > > > > that's fine. > > > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Thu Nov 13 09:00:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 16:00:57 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DD0@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DD0@stekelbes.ithelps.local> Message-ID: <19429063901.20031113160057@cactus.dk> Hi Erwin > I believe I'm not with with you.... > First, to set thing strait. It's only in our office for develepmont I'm > speaking. Yes. > Second. > You mean you have a shorcut that starts msaccess.exe with /workgroup > xxx? Yes. As I have one for starting a decompile. > Problem with that is that you need a hard path to msaccess.exe and hard > paths is something I try to avoid. No big problem here. All Access versions have remained where they were installed - four of them for 38 months. I see no reason to move them around. > I always use roaming profiles and hard paths can problematic. > I supose solutions are out there, but I already played alot with them > and they are often OS dependent. That's a difference. I live in a Novell environment. > You know, Gustav, It's not that a big deal... > It's rarely I do a repair... I know. But you mentioned it as it could cause problems to run an Office repair and it really shouldn't be (regarding this topic). > And I don't use workgroups anymore at customer sites. > I use the network user name and match them with the users in the > database (user management based on tables/forms). > If a network user is unkown in the database it exits instantly (after a > msgbox). I like that approach too. Also - as few clients have Single-Sign-On implemented - it's a good service to the user that the app knows who he/she is and all that is needed is nothing (in your case) or the password only (in our case). /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, November 13, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > In my opinion it is not a good idea to have a special mdw assigned as > the default. I have a shortcut for such an Access with the wkrgrp switch > opening a secured database. > /gustav >> I know...I know... >> At least I supose you mean that you can give msaccess.exe an /wrkgrp >> command line option. Or use the /profile and a profile file. >> I only use MDW for developing purposes indside the office and just >> want it always to be my company.mdw group... >> Specifying company.mdw for default gets reset to system.mdw in the >> user profile folder.... Or is it in the program Files/common folder... >> ? >> Don't bother, I just overcopy all system.mdw with company.mdw... >> Erwin >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >> Brock >> Sent: Thursday, November 13, 2003 1:56 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] POLL: Access Security >> Hi Erwin >> You can supply your app with your own mdw, say erwin.mdw. Office won't >> overwrite that. For that kind of apps we create shortcuts (menu >> entries) which makes it easy for the user to open the app with the >> needed command line. >> /gustav >>> .. I want to add that a office repair each time reset or overwrites >>> your MDW file). From bchacc at san.rr.com Thu Nov 13 09:03:19 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 07:03:19 -0800 Subject: [AccessD] POLL: Access Security References: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> <5625161300.20031113145554@cactus.dk> <00a501c3a9f4$1e5e8090$6501a8c0@HAL9002> Message-ID: <00c901c3a9f7$46fb0ca0$6501a8c0@HAL9002> But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Oleg_123 at xuppa.com Thu Nov 13 09:14:49 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 10:14:49 -0500 (EST) Subject: [AccessD] inserting in DAO In-Reply-To: <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> References: <003301c3a9e8$d493aae0$6501a8c0@HAL9002> <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> Message-ID: <20882.12.3.132.98.1068736489.squirrel@heck.bay9.com> hey group Can I use string name in insert function ? strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" it gives me an error message ... Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If rs(0) = strLine ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Jdemarco at hshhp.org Thu Nov 13 09:19:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 10:19:11 -0500 Subject: [AccessD] inserting in DAO Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> Sure just change to read: strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2)& ")" HTH Jim DeMarco -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, November 13, 2003 10:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] inserting in DAO hey group Can I use string name in insert function ? strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" it gives me an error message ... Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If rs(0) = strLine ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From askolits at ot.com Thu Nov 13 09:24:15 2003 From: askolits at ot.com (John Skolits) Date: Thu, 13 Nov 2003 10:24:15 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <00c901c3a9f7$46fb0ca0$6501a8c0@HAL9002> Message-ID: Jon, 6 for me. John Skolits From paul.hartland at fsmail.net Thu Nov 13 09:26:17 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 13 Nov 2003 16:26:17 +0100 (CET) Subject: [AccessD] inserting in DAO Message-ID: <10554536.1068737177442.JavaMail.www@wwinf3001> Just quickly off the tope of my head should the line strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" read strSQL2 = "INSERT into Neww(a,b,c) Values (rs.fields(0),rs.fields(1),rs.fields(2))" Paul Hartland Message date : Nov 13 2003, 03:15 PM >From : Oleg_123 at xuppa.com To : accessd at databaseadvisors.com Copy to : Subject : [AccessD] inserting in DAO hey group Can I use string name in insert function ? strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" it gives me an error message ... Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If rs(0) = strLine ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Thu Nov 13 09:38:03 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 10:38:03 -0500 (EST) Subject: [AccessD] inserting in DAO In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> Message-ID: <28674.12.3.132.98.1068737883.squirrel@heck.bay9.com> great, thank you :--) > Sure just change to read: > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2)& ")" > > HTH > > Jim DeMarco > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 10:15 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] inserting in DAO > > > hey group > Can I use string name in insert function ? > strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" > > it gives me an error message > ... > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > rs(0) = strLine > > ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" > strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From michael.mattys at adelphia.net Thu Nov 13 09:53:18 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 13 Nov 2003 10:53:18 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <000201c3a9fe$b7df2df0$6401a8c0@default> I'm in the 3 category now. Use it or lose it. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Wednesday, November 12, 2003 7:59 PM Subject: [AccessD] POLL: Access Security > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rjhjr at cox.net Thu Nov 13 09:55:52 2003 From: rjhjr at cox.net (Bob Hall) Date: Thu, 13 Nov 2003 10:55:52 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: <20031113155551.GB58248@kongemord.krig.net> 3 I was once a 1, and could write code off the top of my head that would automate any aspect of Access security, but this is not terribly useful information, and I've forgotten a lot of it. Given that you can buy shareware apps that claim to be able to pull the user and group passwords out of a secure database, even 3 probably represents a lot of useless information. Bob Hall From Oleg_123 at xuppa.com Thu Nov 13 09:59:48 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 10:59:48 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <28674.12.3.132.98.1068737883.squirrel@heck.bay9.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> <28674.12.3.132.98.1068737883.squirrel@heck.bay9.com> Message-ID: <36753.12.3.132.98.1068739188.squirrel@heck.bay9.com> actually, not quite finished strline field is a name field stripped of middle initial with no space after coma, like "Bush,George". I need it to enter to an empty table. Doesn't matter whether in one column or in 2. however when I have 3 values (a,b,c) it tells me it not enough, when I put 4 (a,b,c,d) it tells me that number doesn't equal... strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" --- Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If 'rs(0) = strLine strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From accessd at shaw.ca Thu Nov 13 10:01:10 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 13 Nov 2003 08:01:10 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C6292CC@natexch.jenkens.com> Message-ID: Hi All: This security thing can go a little overboard. If your applications have sensitive data and provides access from the general public no one will ever use a standard computer terminal and Access's MDB as the BE, it is just too flaky. SCO Unix had a 'Yellow Book' setting that when toggled basically made the system inaccessible and consumed all the system resources monitoring every access, every task performed and continually validated every user, again and again. The system now became a monster to handle and even to do the simplest of tasks, for the systems guy, could take an hour. (Everyone in that office was delighted when the data was backed up and the server was reformatted and the system re-installed.) My point is, that sometimes super tight security is a waste of time. A good talk by the office manager on how he/she will whack the first person who screws with things, without authorization, is the best security of all. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie Sent: Thursday, November 13, 2003 6:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security 2 Have had a whole series of HR databases with sensitive data that needs locked tight. It takes me a while and I avoid it if I can. Secured databases are a PITA. I inherited a database locked so tight it was darn near impenetrable. All of this for info that was common knowledge in the workplace and not all that sensitive outside it. The thing is nearly impossible to modify or troubleshoot and I would love to give the guy that wrote this a piece of my mind. Debbie -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - 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 From Erwin.Craps at ithelps.be Thu Nov 13 10:03:35 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 17:03:35 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD2@stekelbes.ithelps.local> Roaming profiles sometimes do weird stuff... Even when access is in same location. I seen paths like "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" changing to C:\Progra~1\Micros~2\Office10\MSACCESS.EXE in a sole Windows 2000 and XP environment. So I tend to believe there is still some code in windows that uses 8.3 naming conventions ... And this can create problems... Because mircos~1 is not necesarily the short for Microsoft Office!! In this case it was short for Microsoft Intellipoint because I installed the mouse driver before Office. Same thing with the default workgroup file its always system.mdw (the localdisk one) and when using profiles in this or that situation it sometimes changes to system1.mdw and creates it without asking. But indeed /wrkgrp should solve this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 4:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] workgroup file (Sec Poll spin-off) Hi Erwin > I believe I'm not with with you.... > First, to set thing strait. It's only in our office for develepmont > I'm speaking. Yes. > Second. > You mean you have a shorcut that starts msaccess.exe with /workgroup > xxx? Yes. As I have one for starting a decompile. > Problem with that is that you need a hard path to msaccess.exe and > hard paths is something I try to avoid. No big problem here. All Access versions have remained where they were installed - four of them for 38 months. I see no reason to move them around. > I always use roaming profiles and hard paths can problematic. I supose > solutions are out there, but I already played alot with them and they > are often OS dependent. That's a difference. I live in a Novell environment. > You know, Gustav, It's not that a big deal... > It's rarely I do a repair... I know. But you mentioned it as it could cause problems to run an Office repair and it really shouldn't be (regarding this topic). > And I don't use workgroups anymore at customer sites. > I use the network user name and match them with the users in the > database (user management based on tables/forms). If a network user is > unkown in the database it exits instantly (after a msgbox). I like that approach too. Also - as few clients have Single-Sign-On implemented - it's a good service to the user that the app knows who he/she is and all that is needed is nothing (in your case) or the password only (in our case). /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 13, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > In my opinion it is not a good idea to have a special mdw assigned as > the default. I have a shortcut for such an Access with the wkrgrp > switch opening a secured database. > /gustav >> I know...I know... >> At least I supose you mean that you can give msaccess.exe an /wrkgrp >> command line option. Or use the /profile and a profile file. >> I only use MDW for developing purposes indside the office and just >> want it always to be my company.mdw group... >> Specifying company.mdw for default gets reset to system.mdw in the >> user profile folder.... Or is it in the program Files/common folder... >> ? >> Don't bother, I just overcopy all system.mdw with company.mdw... >> Erwin >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >> Brock >> Sent: Thursday, November 13, 2003 1:56 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] POLL: Access Security >> Hi Erwin >> You can supply your app with your own mdw, say erwin.mdw. Office won't >> overwrite that. For that kind of apps we create shortcuts (menu >> entries) which makes it easy for the user to open the app with the >> needed command line. >> /gustav >>> .. I want to add that a office repair each time reset or overwrites >>> your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Nov 13 10:05:47 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 11:05:47 -0500 Subject: [AccessD] inserting in DAO (another problem) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F883@TTNEXCHSRV1.hshhp.com> Oleg, Add this line of code after it to see what your SQL string looks like. Debug.Print strSQL2 Jim DeMarco -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, November 13, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] inserting in DAO (another problem) actually, not quite finished strline field is a name field stripped of middle initial with no space after coma, like "Bush,George". I need it to enter to an empty table. Doesn't matter whether in one column or in 2. however when I have 3 values (a,b,c) it tells me it not enough, when I put 4 (a,b,c,d) it tells me that number doesn't equal... strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" --- Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If 'rs(0) = strLine strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From reuben at gfconsultants.com Thu Nov 13 10:04:33 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 13 Nov 2003 11:04:33 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: I'm a 4.5. Know what it is and have played with it, but don't have the slightest interest in using it. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From jimdettman at earthlink.net Thu Nov 13 10:08:40 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 13 Nov 2003 11:08:40 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <20031113083722.1712100296.serbach@new.rr.com> Message-ID: Steve, <> No as there is no need. I simply show them the results of a google search for cracking tools, mention that even Microsoft will tell you how if hard pressed, and even if someone wanted to go the semi-legitimate route and pay $45 or so, they can get at anything they want. <> A. If they want security, use another product. B. If they still want me to do it, it's going to cost them lots both in initial effort and maintaining it. B *always* wins 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 Steven W. Erbach Sent: Thursday, November 13, 2003 9:37 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Jim, >> But as far as locking it so tight that even I can't get into it, that's not possible as I know how to break it and I know it's not worth bothering with it in the first place. << Have you demonstrated to clients how to break the security? I wonder if that might be an effective argument for implementing Access security for one of my clients who's been curious about it. I, as a 4.5 security user, am not real excited about implementing Access security. What would you show a client who had a bug up his rear about Access "security?" Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Nov 13 10:12:15 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 13 Nov 2003 11:12:15 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <00df01c3aa00$ea9ee670$210110ac@SUSANONE> > My point is, that sometimes super tight security is a waste of time. A good > talk by the office manager on how he/she will whack the first person who > screws with things, without authorization, is the best security of all. =======Which is fine if they're all behaving themselves. What about the disgruntled employee or the occasional hacker? Access security is good for providing only the data necessary to authorized users, but I don't think it's meant to keep out the malicious folks. Hope I'm not speaking out of turn, only margininally following the thread. I don't fall into any of JC's categories because I know how to implement security, but I don't. Unfortunately, that means if I needed to I would do so with a great deal of discretion and a stack of documentation, just in case. There are lots of topics that benefit from actual hands on experience and this is one of them. I can glean all the "bad news" and "watch for's" from the experts and write a terrific article, and I'd benefit myself during the implementation process -- but there's still something about "doing" that's missing from "knowing how." That's why you'll find all my articles on this topic are pretty much basic tutorial -- I wouldn't want to suggest an expertise (that can only come from hands on experience) that I just don't have. If Martin hasn't responded, he's probably a .5. :) Susan H. From Oleg_123 at xuppa.com Thu Nov 13 10:14:14 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 11:14:14 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F883@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F883@TTNEXCHSRV1.hshhp.com> Message-ID: <42760.12.3.132.98.1068740054.squirrel@heck.bay9.com> here's both occurunces; neithe works (?) INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > Oleg, > > Add this line of code after it to see what your SQL string looks like. > Debug.Print strSQL2 > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:00 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > actually, not quite finished > strline field is a name field stripped of middle initial with no space > after coma, like "Bush,George". I need it to enter to an empty table. > Doesn't matter whether in one column or in 2. > > however when I have 3 values (a,b,c) it tells me it not enough, when I > put 4 (a,b,c,d) it tells me that number doesn't equal... > > > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > --- > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > 'rs(0) = strLine > strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > > ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From mwp.reid at qub.ac.uk Thu Nov 13 10:15:33 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 13 Nov 2003 16:15:33 -0000 Subject: [AccessD] POLL: Access Security References: <00df01c3aa00$ea9ee670$210110ac@SUSANONE> Message-ID: <014601c3aa01$5d8e6c50$9111758f@aine> I know its there and what it for and at a push I could do it but have never done so. Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 4:12 PM Subject: Re: [AccessD] POLL: Access Security > > My point is, that sometimes super tight security is a waste of time. A > good > > talk by the office manager on how he/she will whack the first person who > > screws with things, without authorization, is the best security of all. > > =======Which is fine if they're all behaving themselves. What about the > disgruntled employee or the occasional hacker? Access security is good for > providing only the data necessary to authorized users, but I don't think > it's meant to keep out the malicious folks. Hope I'm not speaking out of > turn, only margininally following the thread. > > I don't fall into any of JC's categories because I know how to implement > security, but I don't. Unfortunately, that means if I needed to I would do > so with a great deal of discretion and a stack of documentation, just in > case. There are lots of topics that benefit from actual hands on experience > and this is one of them. I can glean all the "bad news" and "watch for's" > from the experts and write a terrific article, and I'd benefit myself during > the implementation process -- but there's still something about "doing" > that's missing from "knowing how." That's why you'll find all my articles on > this topic are pretty much basic tutorial -- I wouldn't want to suggest an > expertise (that can only come from hands on experience) that I just don't > have. > > If Martin hasn't responded, he's probably a .5. :) > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Thu Nov 13 10:22:57 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 13 Nov 2003 11:22:57 -0500 Subject: [AccessD] POLL: Access Security References: <00df01c3aa00$ea9ee670$210110ac@SUSANONE> <014601c3aa01$5d8e6c50$9111758f@aine> Message-ID: <010501c3aa02$85b00df0$210110ac@SUSANONE> I'm shocked... truly shocked... and here I labeled you a .5 ;) Ah well... Susan H. > I know its there and what it for and at a push I could do it but have never > done so. > > Martin > > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 4:12 PM > Subject: Re: [AccessD] POLL: Access Security > > > > > My point is, that sometimes super tight security is a waste of time. A > > good > > > talk by the office manager on how he/she will whack the first person who > > > screws with things, without authorization, is the best security of all. > > > > =======Which is fine if they're all behaving themselves. What about the > > disgruntled employee or the occasional hacker? Access security is good for > > providing only the data necessary to authorized users, but I don't think > > it's meant to keep out the malicious folks. Hope I'm not speaking out of > > turn, only margininally following the thread. > > > > I don't fall into any of JC's categories because I know how to implement > > security, but I don't. Unfortunately, that means if I needed to I would do > > so with a great deal of discretion and a stack of documentation, just in > > case. There are lots of topics that benefit from actual hands on > experience > > and this is one of them. I can glean all the "bad news" and "watch for's" > > from the experts and write a terrific article, and I'd benefit myself > during > > the implementation process -- but there's still something about "doing" > > that's missing from "knowing how." That's why you'll find all my articles > on > > this topic are pretty much basic tutorial -- I wouldn't want to suggest an > > expertise (that can only come from hands on experience) that I just don't > > have. > > > > If Martin hasn't responded, he's probably a .5. :) > > > > 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 my.lists at verizon.net Thu Nov 13 10:29:09 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 13 Nov 2003 08:29:09 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: <3FB3B155.90307@verizon.net> I am between 1 and 2, in that I don't NEED the docs but I DO like to reference them just as my own personal double check, the way I look at it is, nobody's perfect so a quick reference helps assure me that all is done well. additionally there's NO WAY I can lock myself out of the database because I always create 2 MDW's, I haven't done security for and MDW for a while now tho (about maybe a year). 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. -- -Francisco John W. Colby wrote: >I'd like to take a poll regarding your knowledge of Access' built-in >security. By security I do NOT mean the database properties, rather using >workgroups / users to secure forms, tables, queries etc. > >Anyone interested in participating please choose one of the following: > >1) I am an Access security guru. I can quickly and easily lock a database >down so tight I can't even get back in. No help / books needed. >2) I am fluent with Access security. I can get the job done but it >definitely takes a few hours. I probably won't need the help / books. >3) I have done Access Security on at least one real paying project. I would >need help / books to do it again. >4) I have heard about Access Security, read about it, managed to shoot a toe >off, maybe played around with it, but I am confident I could get the job >done. Books / help definitly needed. >5) Access has built in security? What is this and where would I go to learn >it? Why haven't I ever seen these books / help? > >If you would please just select a number and reply I would appreciate it. > >As for myself, I must admit I rate a solid 4. No client has ever been >willing to pay for it and I have always had other things to learn / do so I >just never did it (for real). > >John W. Colby >www.colbyconsulting.com > > > From Jdemarco at hshhp.org Thu Nov 13 10:25:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 11:25:12 -0500 Subject: [AccessD] inserting in DAO (another problem) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F887@TTNEXCHSRV1.hshhp.com> OK. You have to wrap each string value in single quotes. Now your code will look like this: strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & rs(1) & "', '" & rs(2) & "')" Jim DeMarco -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, November 13, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] inserting in DAO (another problem) here's both occurunces; neithe works (?) INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > Oleg, > > Add this line of code after it to see what your SQL string looks like. > Debug.Print strSQL2 > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:00 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > actually, not quite finished > strline field is a name field stripped of middle initial with no space > after coma, like "Bush,George". I need it to enter to an empty table. > Doesn't matter whether in one column or in 2. > > however when I have 3 values (a,b,c) it tells me it not enough, when I > put 4 (a,b,c,d) it tells me that number doesn't equal... > > > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > --- > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > 'rs(0) = strLine > strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > > ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Thu Nov 13 10:28:56 2003 From: john at winhaven.net (John Bartow) Date: Thu, 13 Nov 2003 10:28:56 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Hi Jim, I'll bet you can't write about "SCO Unix" on too many lists anymore without getting flamed! :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Thursday, November 13, 2003 10:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > Hi All: > > This security thing can go a little overboard. If your applications have > sensitive data and provides access from the general public no one > will ever > use a standard computer terminal and Access's MDB as the BE, it > is just too > flaky. > > SCO Unix had a 'Yellow Book' setting that when toggled basically made the > system inaccessible and consumed all the system resources monitoring every > access, every task performed and continually validated every > user, again and > again. The system now became a monster to handle and even to do > the simplest > of tasks, for the systems guy, could take an hour. (Everyone in > that office > was delighted when the data was backed up and the server was > reformatted and > the system re-installed.) > > My point is, that sometimes super tight security is a waste of > time. A good > talk by the office manager on how he/she will whack the first person who > screws with things, without authorization, is the best security of all. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie > Sent: Thursday, November 13, 2003 6:08 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 2 > > Have had a whole series of HR databases with sensitive data that needs > locked tight. It takes me a while and I avoid it if I can. Secured > databases are a PITA. I inherited a database locked so tight it was darn > near impenetrable. All of this for info that was common knowledge in the > workplace and not all that sensitive outside it. The thing is nearly > impossible to modify or troubleshoot and I would love to give the guy that > wrote this a piece of my mind. > > Debbie > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: 13 November 2003 01:00 > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying > project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to > shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I > go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn > / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - 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 > > From Developer at UltraDNT.com Thu Nov 13 10:31:35 2003 From: Developer at UltraDNT.com (Developer) Date: Thu, 13 Nov 2003 11:31:35 -0500 Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <42760.12.3.132.98.1068740054.squirrel@heck.bay9.com> Message-ID: <001001c3aa03$9af18850$7001a8c0@COA3> You need single quotes around the text values: strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & rs(1) & "', '" & rs(2) & "')" Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Oleg_123 at xuppa.com Sent: Thursday, November 13, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] inserting in DAO (another problem) here's both occurunces; neithe works (?) INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > Oleg, > > Add this line of code after it to see what your SQL string looks like. > Debug.Print strSQL2 > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:00 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > actually, not quite finished > strline field is a name field stripped of middle initial with no space > after coma, like "Bush,George". I need it to enter to an empty table. > Doesn't matter whether in one column or in 2. > > however when I have 3 values (a,b,c) it tells me it not enough, when I > put 4 (a,b,c,d) it tells me that number doesn't equal... > > > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) > & ", " & rs(2) & ")" > --- > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > 'rs(0) = strLine > strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) > & ", " & rs(2) & ")" > > ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ********************************************************************** > ************* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Nov 13 10:31:55 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 13 Nov 2003 16:31:55 -0000 Subject: [AccessD] POLL: Access Security References: <00df01c3aa00$ea9ee670$210110ac@SUSANONE><014601c3aa01$5d8e6c50$9111758f@aine> <010501c3aa02$85b00df0$210110ac@SUSANONE> Message-ID: <01b801c3aa03$a6982b00$9111758f@aine> LOL Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 4:22 PM Subject: Re: [AccessD] POLL: Access Security > I'm shocked... truly shocked... and here I labeled you a .5 ;) Ah well... > > Susan H. > > > > I know its there and what it for and at a push I could do it but have > never > > done so. > > > > Martin > > > > > > ----- Original Message ----- > > From: "Susan Harkins" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, November 13, 2003 4:12 PM > > Subject: Re: [AccessD] POLL: Access Security > > > > > > > > My point is, that sometimes super tight security is a waste of time. A > > > good > > > > talk by the office manager on how he/she will whack the first person > who > > > > screws with things, without authorization, is the best security of > all. > > > > > > =======Which is fine if they're all behaving themselves. What about the > > > disgruntled employee or the occasional hacker? Access security is good > for > > > providing only the data necessary to authorized users, but I don't think > > > it's meant to keep out the malicious folks. Hope I'm not speaking out of > > > turn, only margininally following the thread. > > > > > > I don't fall into any of JC's categories because I know how to implement > > > security, but I don't. Unfortunately, that means if I needed to I would > do > > > so with a great deal of discretion and a stack of documentation, just in > > > case. There are lots of topics that benefit from actual hands on > > experience > > > and this is one of them. I can glean all the "bad news" and "watch > for's" > > > from the experts and write a terrific article, and I'd benefit myself > > during > > > the implementation process -- but there's still something about "doing" > > > that's missing from "knowing how." That's why you'll find all my > articles > > on > > > this topic are pretty much basic tutorial -- I wouldn't want to suggest > an > > > expertise (that can only come from hands on experience) that I just > don't > > > have. > > > > > > If Martin hasn't responded, he's probably a .5. :) > > > > > > Susan H. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Nov 13 10:32:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Nov 2003 08:32:28 -0800 Subject: [AccessD] POLL: Access Security Message-ID: Make me a 1.5. We use it all the time in our apps and I've had the experience in the past of locking one of my own apps down so tight I couldn't get back in. Fortunately, I had a backup ... And installed a backdoor using a command line argument after that. I see no reason to reinvent security on my own when MS has provided an acceptable method already. Is it totally secure? No, is anything? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Thu Nov 13 10:36:32 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 11:36:32 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F887@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F887@TTNEXCHSRV1.hshhp.com> Message-ID: <50424.12.3.132.98.1068741392.squirrel@heck.bay9.com> oh.. I was trying cStr each of them.. Thanks a lot > OK. You have to wrap each string value in single quotes. > > Now your code will look like this: > strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & rs(1) > & "', '" & rs(2) & "')" > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:14 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > here's both occurunces; neithe works (?) > > INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) > INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > >> Oleg, >> >> Add this line of code after it to see what your SQL string looks like. >> Debug.Print strSQL2 >> >> Jim DeMarco >> >> -----Original Message----- >> From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] >> Sent: Thursday, November 13, 2003 11:00 AM >> To: accessd at databaseadvisors.com >> Subject: RE: [AccessD] inserting in DAO (another problem) >> >> >> actually, not quite finished >> strline field is a name field stripped of middle initial with no space >> after coma, like "Bush,George". I need it to enter to an empty table. >> Doesn't matter whether in one column or in 2. >> >> however when I have 3 values (a,b,c) it tells me it not enough, when I >> put 4 (a,b,c,d) it tells me that number doesn't equal... >> >> >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> --- >> >> Private Sub Command0_Click() >> MsgBox ("hey") >> Dim strLine As String >> Dim strSQL1 As String >> Dim strSQL2 As String >> Dim db As DAO.Database >> Dim i As Integer >> Dim rs As DAO.Recordset >> Set db = CurrentDb >> >> strSQL1 = "Select * From New" >> Set rs = db.OpenRecordset(strSQL1) >> >> >> Do Until rs.EOF >> strLine = rs("FullName") >> MsgBox strLine >> i = InStr(strLine, " ") >> If i <> 0 Then >> strLine = Left(strLine, i) >> End If >> >> 'rs(0) = strLine >> strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> >> ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" >> Debug.Print strSQL2 >> >> CurrentDb.Execute (strSQL2) >> rs.MoveNext >> Loop >> >> MsgBox ("end") >> End Sub >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> *********************************************************************************** >> "This electronic message is intended to be for the use only of the >> named recipient, and may contain information from Hudson Health Plan >> (HHP) that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting >> the sender at the electronic mail address noted above or calling HHP >> at (914) 631-1611. If you are not the intended recipient, please do >> not forward this email to anyone, and delete and destroy all copies of >> this message. Thank You". >> *********************************************************************************** >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Oleg_123 at xuppa.com Thu Nov 13 10:36:57 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 11:36:57 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <001001c3aa03$9af18850$7001a8c0@COA3> References: <42760.12.3.132.98.1068740054.squirrel@heck.bay9.com> <001001c3aa03$9af18850$7001a8c0@COA3> Message-ID: <50424.12.3.132.98.1068741417.squirrel@heck.bay9.com> thanks Steve, already done > You need single quotes around the text values: > strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & > rs(1) > & "', '" & rs(2) & "')" > > > Steve > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oleg_123 at xuppa.com > Sent: Thursday, November 13, 2003 11:14 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > here's both occurunces; neithe works (?) > > INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) > INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > >> Oleg, >> >> Add this line of code after it to see what your SQL string looks like. > >> Debug.Print strSQL2 >> >> Jim DeMarco >> >> -----Original Message----- >> From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] >> Sent: Thursday, November 13, 2003 11:00 AM >> To: accessd at databaseadvisors.com >> Subject: RE: [AccessD] inserting in DAO (another problem) >> >> >> actually, not quite finished >> strline field is a name field stripped of middle initial with no space > >> after coma, like "Bush,George". I need it to enter to an empty table. >> Doesn't matter whether in one column or in 2. >> >> however when I have 3 values (a,b,c) it tells me it not enough, when I > >> put 4 (a,b,c,d) it tells me that number doesn't equal... >> >> >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> --- >> >> Private Sub Command0_Click() >> MsgBox ("hey") >> Dim strLine As String >> Dim strSQL1 As String >> Dim strSQL2 As String >> Dim db As DAO.Database >> Dim i As Integer >> Dim rs As DAO.Recordset >> Set db = CurrentDb >> >> strSQL1 = "Select * From New" >> Set rs = db.OpenRecordset(strSQL1) >> >> >> Do Until rs.EOF >> strLine = rs("FullName") >> MsgBox strLine >> i = InStr(strLine, " ") >> If i <> 0 Then >> strLine = Left(strLine, i) >> End If >> >> 'rs(0) = strLine >> strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> >> ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" >> Debug.Print strSQL2 >> >> CurrentDb.Execute (strSQL2) >> rs.MoveNext >> Loop >> >> MsgBox ("end") >> End Sub >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> ********************************************************************** >> ************* >> "This electronic message is intended to be for the use only of the > named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting > the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of > this >> message. Thank You". >> > ************************************************************************ > *********** >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From my.lists at verizon.net Thu Nov 13 10:45:13 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 13 Nov 2003 08:45:13 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: <22380264.1068715936355.JavaMail.www@wwinf3001> References: <22380264.1068715936355.JavaMail.www@wwinf3001> Message-ID: <3FB3B519.7020809@verizon.net> On the Access-L list they used to say: Read the Security FAQ, read it again, until you think you've got it, and once you're sure, you read it again for good measure. ;) this was true when I got started, and as a guide I have always re-read it before diving into security even tho I've learned most of the steps. -- -Francisco paul.hartland at fsmail.net wrote: >Is there a category for knowing that access has built in security, has tried to get it to work, has never got it to work, and has given up on it unless I get a brainwave and step-by-step idiots guide on it. >Paul Hartland > > > >Message date : Nov 13 2003, 09:27 AM >>From : Roz Clarke >To : 'Access Developers discussion and problem solving' >Copy to : >Subject : RE: [AccessD] POLL: Access Security >I guess I fit in this category as well as #3 > >:) > >Roz > >-----Original Message----- >From: Andy Lacey [mailto:andy at minstersystems.co.uk] >Sent: 13 November 2003 09:21 >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] POLL: Access Security > > >Snap. Put me in Andrew's no 6 category. See, we even roll-our-own >categories. > >Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>Haslett, Andrew >>Sent: 13 November 2003 01:16 >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] POLL: Access Security >> >> >>6) I don't use the built in security functions of Access. I >>Use MDE's and roll my own security depending on the >>requirements of the client. >> >>-----Original Message----- >>From: John W. Colby [mailto:jcolby at colbyconsulting.com] >>Sent: Thursday, 13 November 2003 11:30 AM >>To: AccessD >>Subject: [AccessD] POLL: Access Security >> >> >>I'd like to take a poll regarding your knowledge of Access' >>built-in security. By security I do NOT mean the database >>properties, rather using workgroups / users to secure forms, >>tables, queries etc. >> >>Anyone interested in participating please choose one of the following: >> >>1) I am an Access security guru. I can quickly and easily >>lock a database down so tight I can't even get back in. No >>help / books needed. >>2) I am fluent with Access security. I can get the job done >>but it definitely takes a few hours. I probably won't need >>the help / books. >>3) I have done Access Security on at least one real paying >>project. I would need help / books to do it again. >>4) I have heard about Access Security, read about it, managed >>to shoot a toe off, maybe played around with it, but I am >>confident I could get the job done. Books / help definitly needed. >>5) Access has built in security? What is this and where >>would I go to learn it? Why haven't I ever seen these books / help? >> >>If you would please just select a number and reply I would >>appreciate it. >> >>As for myself, I must admit I rate a solid 4. No client has >>ever been willing to pay for it and I have always had other >>things to learn / do so I just never did it (for real). >> >>John W. Colby >>www.colbyconsulting.com >> >> >> >> From ssharkins at bellsouth.net Thu Nov 13 10:44:20 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 13 Nov 2003 11:44:20 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <012a01c3aa05$6df902e0$210110ac@SUSANONE> Is it totally secure? No, is anything? =============A drooling doberman with big teeth chained to the keyboard might do just as well. :) Susan H. From cfoust at infostatsystems.com Thu Nov 13 11:01:05 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Nov 2003 09:01:05 -0800 Subject: [AccessD] POLL: Access Security Message-ID: LOL I had a drooling doberman with big teeth! She was a total pushover even though she weighed 85 pounds. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, November 13, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Is it totally secure? No, is anything? =============A drooling doberman with big teeth chained to the keyboard might do just as well. :) Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kenneth.Stoker at pnl.gov Thu Nov 13 10:48:39 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Thu, 13 Nov 2003 08:48:39 -0800 Subject: [AccessD] POLL: Access Security Message-ID: <249C1CB246997C48BB74963CCD361C1B014A0258@pnlmse28.pnl.gov> Put me in at 3. 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: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, November 12, 2003 5:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjewett at bayplace.com Thu Nov 13 12:16:14 2003 From: pjewett at bayplace.com (Phil Jewett) Date: Thu, 13 Nov 2003 10:16:14 -0800 Subject: [AccessD] RE: SQL trusted connection problem - solution Message-ID: All: Solution was provided by Jim Lawrence, which is to add the following register key to the client XP if not already present: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLSERVER\Client\ConnectTo]"MyS erve r"="DBNMPNTW,MyServer" I don't think I made it obvious from my initial post that the problem of the connection attempting a trusted connection occurs only on Windows XP boxes - the mdb works fine on 98 and 2000. FYI, the SQL Server is set up as mixed mode and the connection is done through a connection string, it being: "ODBC;DRIVER={SQL Server};SERVER=pluto;UID=cds;PWD=xxxxx;DATABASE=Coupons;" and relinking the tables through the usual table loop: DoCmd.TransferDatabase acLink, "ODBC Database", myODBCConnectionString, acTable, rs(0), rs(0) By the way, my original post was double posted because I got a reply from postman at magicialdesk.com (whoever that is!) saying the mail was undeliverable because the mailbox was full. So I reposted a little while later. But it turned out that the initial post went through anyway. Thanks to all. Phil Jewett From bheid at appdevgrp.com Thu Nov 13 12:23:10 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 13 Nov 2003 13:23:10 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <916187228923D311A6FE00A0CC3FAA3069621F@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFFB@ADGSERVER> And put me as a 3. Bobby From DWUTKA at marlow.com Thu Nov 13 12:40:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:40:22 -0600 Subject: [AccessD] A2K: Access Security via a browser Message-ID: <2F8793082E00D4119A1700B0D0216BF802227564@main2.marlow.com> What do you mean Darren. Do you mean like setting permissions, creating users and groups, changing passwords, etc? Or simply logging into a secured database? Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, November 12, 2003 6:48 PM To: AccessD List Subject: [AccessD] A2K: Access Security via a browser Hello all I have a Web Developer friend asking me if anyone knows of some useful URL's that will show how to or give examples of administering Access security via a browser. She has Access Security implemented and can administer it fine from the local PC via the 'normal' means, she just wants to do it via the web 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 Thu Nov 13 12:41:57 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:41:57 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227565@main2.marlow.com> 1, pretty confident on that too...with the exception of the can't get back in part. I find it quick and easy to use, and lock everything down, but I always leave myself a way in. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 12:45:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:45:19 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227566@main2.marlow.com> Another clarification on my 1 position. That is for Access 97. I must admit to have only built one 2000 db with Access User Level security. But 97 I can do in my sleep. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 12:50:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:50:56 -0600 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227567@main2.marlow.com> Personally, my favorite setup is to use the system.mdw for users, and an 'admin' .mdw for development/maintenance. That way, the only 'special' shortcuts I need is for administrators of the database. Of course that method only works if you can clump all of the 'users' in one pile. If the users need to be split up by their capabilities, you can't use that method. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, November 13, 2003 8:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) I believe I'm not with with you.... First, to set thing strait. It's only in our office for develepmont I'm speaking. Second. You mean you have a shorcut that starts msaccess.exe with /workgroup xxx? Problem with that is that you need a hard path to msaccess.exe and hard paths is something I try to avoid. I always use roaming profiles and hard paths can problematic. I supose solutions are out there, but I already played alot with them and they are often OS dependent. You know, Gustav, It's not that a big deal... It's rarely I do a repair... And I don't use workgroups anymore at customer sites. I use the network user name and match them with the users in the database (user management based on tables/forms). If a network user is unkown in the database it exits instantly (after a msgbox). Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Hi Erwin In my opinion it is not a good idea to have a special mdw assigned as the default. I have a shortcut for such an Access with the wkrgrp switch opening a secured database. /gustav > I know...I know... > At least I supose you mean that you can give msaccess.exe an /wrkgrp > command line option. Or use the /profile and a profile file. > I only use MDW for developing purposes indside the office and just > want it always to be my company.mdw group... > Specifying company.mdw for default gets reset to system.mdw in the > user profile folder.... Or is it in the program Files/common folder... > ? > Don't bother, I just overcopy all system.mdw with company.mdw... > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 13, 2003 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > You can supply your app with your own mdw, say erwin.mdw. Office won't > overwrite that. For that kind of apps we create shortcuts (menu > entries) which makes it easy for the user to open the app with the > needed command line. > /gustav >> .. I want to add that a office repair each time reset or overwrites >> your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 12:56:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:56:17 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227568@main2.marlow.com> Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Nov 13 13:14:12 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 13 Nov 2003 11:14:12 -0800 Subject: [AccessD] workgroup file (Sec Poll spin-off) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227567@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802227567@main2.marlow.com> Message-ID: <3FB3D804.3050807@verizon.net> No no no no no.... the system.mdw SHOULD NEVER BE TOUCHED. This is just bad practice... while it makes it incredibly convenient for a one database solution, when you begin adding new databases they automatically go and seek the permissions from the system.mdw, therefore all settings in that db are inherently applied to the new databases. Again this is all fine if you're doing this to one database for one organization and even while you're the current developer. But what happens when a new guy takes over or if you are given an mdb for another database. You'll see weird errors that you wouldn't should you not have messed w/ the original System.mdw. Additionally other developers following the Security FAQ will develop against their copy of the mdw. Of course I know you're the main / only? developer for access apps w/ your organization. But things can not always be so smooth. -- -Francisco Drew Wutka wrote: >Personally, my favorite setup is to use the system.mdw for users, and an >'admin' .mdw for development/maintenance. That way, the only 'special' >shortcuts I need is for administrators of the database. Of course that >method only works if you can clump all of the 'users' in one pile. If the >users need to be split up by their capabilities, you can't use that method. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Thursday, November 13, 2003 8:40 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) > > >I believe I'm not with with you.... > >First, to set thing strait. It's only in our office for develepmont I'm >speaking. > >Second. >You mean you have a shorcut that starts msaccess.exe with /workgroup >xxx? >Problem with that is that you need a hard path to msaccess.exe and hard >paths is something I try to avoid. >I always use roaming profiles and hard paths can problematic. >I supose solutions are out there, but I already played alot with them >and they are often OS dependent. > >You know, Gustav, It's not that a big deal... >It's rarely I do a repair... > >And I don't use workgroups anymore at customer sites. >I use the network user name and match them with the users in the >database (user management based on tables/forms). >If a network user is unkown in the database it exits instantly (after a >msgbox). > > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, November 13, 2003 3:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] POLL: Access Security > > >Hi Erwin > >In my opinion it is not a good idea to have a special mdw assigned as >the default. I have a shortcut for such an Access with the wkrgrp switch >opening a secured database. > >/gustav > > > > >>I know...I know... >>At least I supose you mean that you can give msaccess.exe an /wrkgrp >>command line option. Or use the /profile and a profile file. >> >> > > > >>I only use MDW for developing purposes indside the office and just >>want it always to be my company.mdw group... >> >> > > > >>Specifying company.mdw for default gets reset to system.mdw in the >>user profile folder.... Or is it in the program Files/common folder... >> >> > > > >>? >> >> > > > >>Don't bother, I just overcopy all system.mdw with company.mdw... >> >> > > > > >>Erwin >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >>Brock >>Sent: Thursday, November 13, 2003 1:56 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] POLL: Access Security >> >> > > > > >>Hi Erwin >> >> > > > >>You can supply your app with your own mdw, say erwin.mdw. Office won't >> >> > > > >>overwrite that. For that kind of apps we create shortcuts (menu >>entries) which makes it easy for the user to open the app with the >>needed command line. >> >> > > > >>/gustav >> >> > > > >>>.. I want to add that a office repair each time reset or overwrites >>>your MDW file). >>> >>> From rmoore at comtechpst.com Thu Nov 13 13:16:54 2003 From: rmoore at comtechpst.com (Ron Moore) Date: Thu, 13 Nov 2003 14:16:54 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <003701c3aa1a$b5bb52d0$3c549da6@Comtech.Comtechpst.com> I'm a 3 and regret it. Adding new users/groups during normal working hours is almost impossible! Need exclusive log in and have to bump everyone out. Not a good thing. Running to the books/help is not a good thing when upper management wants something quick. Ron -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomk at multiline.com.au Wed Nov 12 14:18:09 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Thu, 13 Nov 2003 04:18:09 +0800 Subject: [AccessD] Change resolution of forms References: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002><004801c3a8d4$476bdc10$0300a8c0@print> <009901c3a9f2$f67f1810$6501a8c0@HAL9002> Message-ID: <00a701c3a95a$18129e50$0300a8c0@print> > This seems to be a better solution than the ADH code but I'm trying to get > rid of dynamic resizing altogether. Any ideas on that? > Regards, > Rocky I must admit that I was dissapointed with the results from that module and resolved to go through slowly over a period of time and Re-size my forms manually .....BUT we are talking some HUNDREDS of forms and I would prefer a better way .... It occurs to me that this is an ongoing problem for ANYONE who designs software and rarely do you come accross sizing problems in shareware or commercial apps so there must be other alternatives. I will do some more "digging"on the subject ....maybe there are a range of API's we can access regards Tom Keatley From DWUTKA at marlow.com Thu Nov 13 14:43:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 14:43:26 -0600 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222756B@main2.marlow.com> I didn't say I touched the system.mdw. I just said I used it. The permissions for each object in the database is stored in the .mdb. Therefore, I strip the Admin account of all permissions except those that a normal user would have. I then have An Admin account (and usually an Admin Group) of my own making, that have all permissions setup. That way, when a user opens the .mdb, they are automatically logged in as Admin, with a blank password, against whatever is setup as their current .mdw. (which in most cases is System.mdw). They get no login, they require no special setup, and they only have generic user permissions. This works quite well in tandem with NT security, because NT security can then be used to only allow specific NT users to access an .mdb at all, so anyone with NT access automatically has generic user capabilities. To have more capabilities, then another .mdw is required. I also use the exact same User Account for my personal account, so it doesn't matter what .mdb I am working on, I can actually use any of the .mdw's out there, to get admin access. Drew -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Thursday, November 13, 2003 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] workgroup file (Sec Poll spin-off) No no no no no.... the system.mdw SHOULD NEVER BE TOUCHED. This is just bad practice... while it makes it incredibly convenient for a one database solution, when you begin adding new databases they automatically go and seek the permissions from the system.mdw, therefore all settings in that db are inherently applied to the new databases. Again this is all fine if you're doing this to one database for one organization and even while you're the current developer. But what happens when a new guy takes over or if you are given an mdb for another database. You'll see weird errors that you wouldn't should you not have messed w/ the original System.mdw. Additionally other developers following the Security FAQ will develop against their copy of the mdw. Of course I know you're the main / only? developer for access apps w/ your organization. But things can not always be so smooth. -- -Francisco Drew Wutka wrote: >Personally, my favorite setup is to use the system.mdw for users, and an >'admin' .mdw for development/maintenance. That way, the only 'special' >shortcuts I need is for administrators of the database. Of course that >method only works if you can clump all of the 'users' in one pile. If the >users need to be split up by their capabilities, you can't use that method. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Thursday, November 13, 2003 8:40 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) > > >I believe I'm not with with you.... > >First, to set thing strait. It's only in our office for develepmont I'm >speaking. > >Second. >You mean you have a shorcut that starts msaccess.exe with /workgroup >xxx? >Problem with that is that you need a hard path to msaccess.exe and hard >paths is something I try to avoid. >I always use roaming profiles and hard paths can problematic. >I supose solutions are out there, but I already played alot with them >and they are often OS dependent. > >You know, Gustav, It's not that a big deal... >It's rarely I do a repair... > >And I don't use workgroups anymore at customer sites. >I use the network user name and match them with the users in the >database (user management based on tables/forms). >If a network user is unkown in the database it exits instantly (after a >msgbox). > > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, November 13, 2003 3:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] POLL: Access Security > > >Hi Erwin > >In my opinion it is not a good idea to have a special mdw assigned as >the default. I have a shortcut for such an Access with the wkrgrp switch >opening a secured database. > >/gustav > > > > >>I know...I know... >>At least I supose you mean that you can give msaccess.exe an /wrkgrp >>command line option. Or use the /profile and a profile file. >> >> > > > >>I only use MDW for developing purposes indside the office and just >>want it always to be my company.mdw group... >> >> > > > >>Specifying company.mdw for default gets reset to system.mdw in the >>user profile folder.... Or is it in the program Files/common folder... >> >> > > > >>? >> >> > > > >>Don't bother, I just overcopy all system.mdw with company.mdw... >> >> > > > > >>Erwin >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >>Brock >>Sent: Thursday, November 13, 2003 1:56 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] POLL: Access Security >> >> > > > > >>Hi Erwin >> >> > > > >>You can supply your app with your own mdw, say erwin.mdw. Office won't >> >> > > > >>overwrite that. For that kind of apps we create shortcuts (menu >>entries) which makes it easy for the user to open the app with the >>needed command line. >> >> > > > >>/gustav >> >> > > > >>>.. I want to add that a office repair each time reset or overwrites >>>your MDW file). >>> >>> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 13 14:53:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Nov 2003 12:53:32 -0800 Subject: [AccessD] POLL: Access Security Message-ID: The security works the same in later versions. The biggest difference is that in 2002, you have the ability to join a workgroup from the security menu instead of having to run the workgroup administrator. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, November 13, 2003 10:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Another clarification on my 1 position. That is for Access 97. I must admit to have only built one 2000 db with Access User Level security. But 97 I can do in my sleep. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 15:31:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 15:31:54 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF80222756D@main2.marlow.com> You're right. Just starting my first cup of coffee this morning. Was thinking about the differenc between 97 and 2000 when it came to record locking and for some reason was thinking that there was more detail in User Level security. Like I said, I've built 1 secured A2k db. I personally can't stand A2k, the only perk I have found that I like is VBA 6, which lets me do customized events.... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, November 13, 2003 2:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security The security works the same in later versions. The biggest difference is that in 2002, you have the ability to join a workgroup from the security menu instead of having to run the workgroup administrator. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, November 13, 2003 10:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Another clarification on my 1 position. That is for Access 97. I must admit to have only built one 2000 db with Access User Level security. But 97 I can do in my sleep. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 15:45:52 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Nov 2003 13:45:52 -0800 Subject: [AccessD] POLL: Access Security References: <003701c3aa1a$b5bb52d0$3c549da6@Comtech.Comtechpst.com> Message-ID: <3FB3FB90.9060604@shaw.ca> For those who are shocked, truely shocked. Try some of these versus your locked down mdbs From Serge Gavrilov http://accesstools.narod.ru/index.html You might as well know about these. Some of them are useful. especially on messed up security. Ron Moore wrote: >I'm a 3 and regret it. Adding new users/groups during normal working >hours is almost impossible! Need exclusive log in and have to bump >everyone out. Not a good thing. Running to the books/help is not a >good thing when upper management wants something quick. > >Ron > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Wednesday, November 12, 2003 8:00 PM >To: AccessD >Subject: [AccessD] POLL: Access Security > > >I'd like to take a poll regarding your knowledge of Access' built-in >security. By security I do NOT mean the database properties, rather >using workgroups / users to secure forms, tables, queries etc. > >Anyone interested in participating please choose one of the following: > >1) I am an Access security guru. I can quickly and easily lock a >database down so tight I can't even get back in. No help / books >needed. >2) I am fluent with Access security. I can get the job done but it >definitely takes a few hours. I probably won't need the help / books. >3) I have done Access Security on at least one real paying project. I >would need help / books to do it again. >4) I have heard about Access Security, read about it, managed to shoot a >toe off, maybe played around with it, but I am confident I could get the >job done. Books / help definitly needed. >5) Access has built in security? What is this and where would I go to >learn it? Why haven't I ever seen these books / help? > >If you would please just select a number and reply I would appreciate >it. > >As for myself, I must admit I rate a solid 4. No client has ever been >willing to pay for it and I have always had other things to learn / do >so I just never did it (for real). > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From d.dick at uws.edu.au Thu Nov 13 17:20:29 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 14 Nov 2003 10:20:29 +1100 Subject: [AccessD] A2K: Access Security via a browser References: <2F8793082E00D4119A1700B0D0216BF802227564@main2.marlow.com> Message-ID: <004001c3aa3c$ba60eda0$fabb9a89@DDICK> Hi Drew Thanks for the reply I mean setting permissions, creating users and groups, changing passwords, etc, as you suggested. Basically she would like interfacing with Access Security and totally managing, at every level via a browser, whatever you can manage whilst sitting directly in from of the System.mdw file In relation to John Colby's Poll on Access Security I am a 14. Never touched the stuff and am vaguely aware that it exists. So if it seems I am asking the impossible because I don't know any better it's because...I don't know any better :-)) Many thanks for the reply Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 14, 2003 5:40 AM Subject: RE: [AccessD] A2K: Access Security via a browser > What do you mean Darren. Do you mean like setting permissions, creating > users and groups, changing passwords, etc? Or simply logging into a secured > database? > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, November 12, 2003 6:48 PM > To: AccessD List > Subject: [AccessD] A2K: Access Security via a browser > > > Hello all > I have a Web Developer friend asking me if anyone knows of some useful > URL's that will show how to or give examples of administering Access > security via a browser. > > She has Access Security implemented and can administer it fine from the > local PC via the > 'normal' means, she just wants to do it via the web > > 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 d.dick at uws.edu.au Thu Nov 13 19:35:19 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 14 Nov 2003 12:35:19 +1100 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Hello all Is there a way to determine the current sub name once you are in it then display it Is there a Current Sub Property? etc eg (PSEUDO Code) Private Sub MySub() Msgbox "My Sub Name is " & Application.SubName End sub Many thanks in advance Darren From accma at sympatico.ca Thu Nov 13 20:55:44 2003 From: accma at sympatico.ca (Annie Courchesne, cma) Date: Thu, 13 Nov 2003 21:55:44 -0500 Subject: [AccessD] A2K developer Message-ID: Hi guys, It?s been a while since I?ve posted here A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn?t have to buy 20+ licences of A2K. I?m trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn?t have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA From stephen at bondsoftware.co.nz Thu Nov 13 20:40:37 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 14 Nov 2003 15:40:37 +1300 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <70F3D727890C784291D8433E9C418F29088507@server.bondsoftware.co.nz> Darren A common way to do this (this means I saw a guru do it so I copied him ) relies on inserting in each module at initial design time the following line of code: Private Const thisModuleName As String = "basWhatever" Not very swept up sorry! Stephen Bond > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Friday, 14 November 2003 2:35 p.m. > To: AccessD List > Subject: [AccessD] A2K: Get Current Sub Name > > > Hello all > Is there a way to determine the current sub name once you are > in it then display it > Is there a Current Sub Property? etc > > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stephen at bondsoftware.co.nz Thu Nov 13 20:45:30 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 14 Nov 2003 15:45:30 +1300 Subject: FW: [AccessD] A2K: Get Current Sub Name Message-ID: <70F3D727890C784291D8433E9C418F29088508@server.bondsoftware.co.nz> Which means is that you would have to put the line in each SUB. Not very elegant, what? Stephen > -----Original Message----- > From: Stephen Bond > Sent: Friday, 14 November 2003 3:41 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Get Current Sub Name > > > Darren > > A common way to do this (this means I saw a guru do it so I > copied him ) relies on inserting in each module at initial > design time the following line of code: > > Private Const thisModuleName As String = "basWhatever" > > Not very swept up sorry! > > Stephen Bond > > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Friday, 14 November 2003 2:35 p.m. > > To: AccessD List > > Subject: [AccessD] A2K: Get Current Sub Name > > > > > > Hello all > > Is there a way to determine the current sub name once you are > > in it then display it > > Is there a Current Sub Property? etc > > > > eg (PSEUDO Code) > > Private Sub MySub() > > Msgbox "My Sub Name is " & Application.SubName > > End sub > > > > Many thanks in advance > > > > Darren > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > From SDSSoftware at optusnet.com.au Thu Nov 13 21:49:12 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 14 Nov 2003 14:49:12 +1100 Subject: [AccessD] A2K developer References: Message-ID: <001101c3aa62$44bbef70$6401a8c0@user> Hi Annie - have you tried Ebay? Kath ----- Original Message ----- From: Annie Courchesne, cma To: Accessd Sent: Friday, November 14, 2003 1:55 PM Subject: [AccessD] A2K developer Hi guys, It's been a while since I've posted here. A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn't have to buy 20+ licences of A2K. I'm trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn't have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Nov 13 21:56:57 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 13 Nov 2003 19:56:57 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: OT John, I will have you know that I was a fully certified SCO reseller and trainer, at one time. Mind you that was almost fifteen years ago and I having a tough time setting up Samba on an old beater-box using 5.2 Red Hat linux. Do you have a 5.2 pre-built floating around that you would like to send me? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Thursday, November 13, 2003 8:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi Jim, I'll bet you can't write about "SCO Unix" on too many lists anymore without getting flamed! :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Thursday, November 13, 2003 10:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > Hi All: > > This security thing can go a little overboard. If your applications have > sensitive data and provides access from the general public no one > will ever > use a standard computer terminal and Access's MDB as the BE, it > is just too > flaky. > > SCO Unix had a 'Yellow Book' setting that when toggled basically made the > system inaccessible and consumed all the system resources monitoring every > access, every task performed and continually validated every > user, again and > again. The system now became a monster to handle and even to do > the simplest > of tasks, for the systems guy, could take an hour. (Everyone in > that office > was delighted when the data was backed up and the server was > reformatted and > the system re-installed.) > > My point is, that sometimes super tight security is a waste of > time. A good > talk by the office manager on how he/she will whack the first person who > screws with things, without authorization, is the best security of all. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie > Sent: Thursday, November 13, 2003 6:08 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 2 > > Have had a whole series of HR databases with sensitive data that needs > locked tight. It takes me a while and I avoid it if I can. Secured > databases are a PITA. I inherited a database locked so tight it was darn > near impenetrable. All of this for info that was common knowledge in the > workplace and not all that sensitive outside it. The thing is nearly > impossible to modify or troubleshoot and I would love to give the guy that > wrote this a piece of my mind. > > Debbie > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: 13 November 2003 01:00 > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying > project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to > shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I > go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn > / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - 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 > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Nov 13 22:05:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 13 Nov 2003 20:05:06 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227568@main2.marlow.com> Message-ID: Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Thu Nov 13 22:21:32 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Fri, 14 Nov 2003 14:51:32 +1030 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: Don't know of any inbuilt function, but another (painful) workaround.. Since you must know the name when you call it, I guess you could include an 'optional' parameter in each sub you are using and calling it this way.. ********************************* Call MySub('MySub') ********************************* Then for your actual Sub: ********************************* Sub MySub (Optional myName as string) Debug.Print ("My name is " & myName) End Sub ********************************* Cheers, Andrew -----Original Message----- From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] Sent: Friday, 14 November 2003 1:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Get Current Sub Name Darren A common way to do this (this means I saw a guru do it so I copied him ) relies on inserting in each module at initial design time the following line of code: Private Const thisModuleName As String = "basWhatever" Not very swept up sorry! Stephen Bond > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Friday, 14 November 2003 2:35 p.m. > To: AccessD List > Subject: [AccessD] A2K: Get Current Sub Name > > > Hello all > Is there a way to determine the current sub name once you are > in it then display it > Is there a Current Sub Property? etc > > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > > 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From stuart at lexacorp.com.pg Thu Nov 13 22:23:43 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Nov 2003 14:23:43 +1000 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Message-ID: <3FB4E56F.13148.256C32@localhost> I doubt it very much (unless you embed the name in a string). Once the code is compiled, the name is no longer there, just a pointer to a code location. On 14 Nov 2003 at 12:35, Darren DICK wrote: > Hello all > Is there a way to determine the current sub name once you are in it then display it > Is there a Current Sub Property? etc > > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From john at winhaven.net Thu Nov 13 23:04:19 2003 From: john at winhaven.net (John Bartow) Date: Thu, 13 Nov 2003 23:04:19 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Jim, Oh sure. I'll send it right over. I installed it duel boot on my UnixWare machine. NOT I used to be a SysAdmin for AT&T Unix version 3.2.(something or or other) and then had to move to UnixWare version 4? (IIRC-whatever version it was the first version of Novell "UnixWare"). "THAT was sure a good idea on their part" I would have loved an SCO system! I tried really hard to get one but just couldn't swing it. And I didn't have the hardware for Sun (pre-Solaris). I actually came into the NT world because when we were starting our GIS pilot project and we wanted it to be hosted on Unixware so I would admin everything the same. Funny thing is we couldn't find one that would run on UnixWare so we went with Intergraph (who had their own Unix called Clipper). The project finally got approved and right about then Intergraph made this wild leap into porting everything to Windows NT and we had to go with it. They were the first really big company to support NT and they suffered for it for a long time. NT 3.1 and even 3.5 were pretty horrible. NT 3.51 was really the first stable version of the product IMHO. But even then you had to deal with the horrible Windows 3.1 GUI. NT 4 was a slice of heaven! I actually ran my GIS Pilot project on NT 3.51, NT 4 with the attribute data held in an Informix SE v5 RDBMS on UnixWare. Nobody could believe it worked. I do believe it was the only configuration like that in the world-ever :o) We used to tell Intergraph Support (the local Intergraph guys idea) that it was an SCO box and just make little changes here and there where things were different between UnixWare and SCO. Never had any data loss and other than the initial connection time (about a minute) it ran as fast as anything I've ever worked on. I did that (UnixWare-SysAdmin/NT-Admin/RDBMS-Admin/GIS Pilot Project Manager) for 4 years. Plus I supported all of the dept. desktops/programs and three CADD stations. Never a dull moment. I don't think I ever listed that all before. No wonder I got burned out and can't remember anything anymore! BTW what were we discussing? John B. "slap-happy tired" http://www.w2knews.com/rd/rd.cfm?id=031110FA-Inner_Geek > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Thursday, November 13, 2003 9:57 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > OT > > John, > > I will have you know that I was a fully certified SCO reseller > and trainer, > at one time. Mind you that was almost fifteen years ago and I > having a tough > time setting up Samba on an old beater-box using 5.2 Red Hat linux. Do you > have a 5.2 pre-built floating around that you would like to send me? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Thursday, November 13, 2003 8:29 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > Hi Jim, > I'll bet you can't write about "SCO Unix" on too many lists > anymore without > getting flamed! > :o) > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > > (AccessD) > > Sent: Thursday, November 13, 2003 10:01 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] POLL: Access Security > > > > > > Hi All: > > > > This security thing can go a little overboard. If your applications have > > sensitive data and provides access from the general public no one > > will ever > > use a standard computer terminal and Access's MDB as the BE, it > > is just too > > flaky. > > > > SCO Unix had a 'Yellow Book' setting that when toggled > basically made the > > system inaccessible and consumed all the system resources > monitoring every > > access, every task performed and continually validated every > > user, again and > > again. The system now became a monster to handle and even to do > > the simplest > > of tasks, for the systems guy, could take an hour. (Everyone in > > that office > > was delighted when the data was backed up and the server was > > reformatted and > > the system re-installed.) > > > > My point is, that sometimes super tight security is a waste of > > time. A good > > talk by the office manager on how he/she will whack the first person who > > screws with things, without authorization, is the best security of all. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie > > Sent: Thursday, November 13, 2003 6:08 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] POLL: Access Security > > > > > > 2 > > > > Have had a whole series of HR databases with sensitive data that needs > > locked tight. It takes me a while and I avoid it if I can. Secured > > databases are a PITA. I inherited a database locked so tight > it was darn > > near impenetrable. All of this for info that was common > knowledge in the > > workplace and not all that sensitive outside it. The thing is nearly > > impossible to modify or troubleshoot and I would love to give > the guy that > > wrote this a piece of my mind. > > > > Debbie > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: 13 November 2003 01:00 > > To: AccessD > > Subject: [AccessD] POLL: Access Security > > > > > > I'd like to take a poll regarding your knowledge of Access' built-in > > security. By security I do NOT mean the database properties, > rather using > > workgroups / users to secure forms, tables, queries etc. > > > > Anyone interested in participating please choose one of the following: > > > > 1) I am an Access security guru. I can quickly and easily lock > a database > > down so tight I can't even get back in. No help / books needed. > > 2) I am fluent with Access security. I can get the job done but it > > definitely takes a few hours. I probably won't need the help / books. > > 3) I have done Access Security on at least one real paying > > project. I would > > need help / books to do it again. > > 4) I have heard about Access Security, read about it, managed to > > shoot a toe > > off, maybe played around with it, but I am confident I could get the job > > done. Books / help definitly needed. > > 5) Access has built in security? What is this and where would I > > go to learn > > it? Why haven't I ever seen these books / help? > > > > If you would please just select a number and reply I would > appreciate it. > > > > As for myself, I must admit I rate a solid 4. No client has ever been > > willing to pay for it and I have always had other things to learn > > / do so I > > just never did it (for real). > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > - 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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 13 23:07:30 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri, 14 Nov 2003 00:07:30 -0500 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Message-ID: Darren, The VBEErrorHandler error handler wizard can do this for you but as everyone else is stating, it isn't pretty. There seems to be simply no way to just "know" the function name, no variable you can go to etc. Ken Gets et al (ADH) uses two classes, one that holds info about the current sub and another that holds a collection of those classes. IOW, code is inserted in each function which instantiates a class on entry and tears it down on exit. These are stored in a collection. What this gives you is a very slick call path, i.e. how did I get here? Or that's the theory anyway. Given the asynchronous nature of Access, with code running and then the user clicking on things, email being received and firing outlook events etc. I think this whole concept could get confusing real fast. But it exists if you want to look at it. Go to DatabaseAdvisors.com and go to the downloads. http://www.databaseadvisors.com/downloads.htm click VBErrorHandler and install it. I use it daily for my error handlers anyway, the call stack tracing is just a little bonus I threw in when I specifically needed it once. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Thursday, November 13, 2003 8:35 PM To: AccessD List Subject: [AccessD] A2K: Get Current Sub Name Hello all Is there a way to determine the current sub name once you are in it then display it Is there a Current Sub Property? etc eg (PSEUDO Code) Private Sub MySub() Msgbox "My Sub Name is " & Application.SubName End sub Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 14 01:39:21 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 14 Nov 2003 08:39:21 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD3@stekelbes.ithelps.local> I conclude. (at client locations). The user managment is insufficient from the workgrou file anyway. Where you gnna put other data , like first, last, Dateinservice, direct e-mail, private address, native language, date of birth. I find for user management U most forget the workgroup and create your own. I don't have any form level security in my apps (next to a common password for some functions) but that would be probably something I goooing to be needing one day. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Francisco H Tapia Verzonden: donderdag 13 november 2003 20:14 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] workgroup file (Sec Poll spin-off) No no no no no.... the system.mdw SHOULD NEVER BE TOUCHED. This is just bad practice... while it makes it incredibly convenient for a one database solution, when you begin adding new databases they automatically go and seek the permissions from the system.mdw, therefore all settings in that db are inherently applied to the new databases. Again this is all fine if you're doing this to one database for one organization and even while you're the current developer. But what happens when a new guy takes over or if you are given an mdb for another database. You'll see weird errors that you wouldn't should you not have messed w/ the original System.mdw. Additionally other developers following the Security FAQ will develop against their copy of the mdw. Of course I know you're the main / only? developer for access apps w/ your organization. But things can not always be so smooth. -- -Francisco Drew Wutka wrote: >Personally, my favorite setup is to use the system.mdw for users, and >an 'admin' .mdw for development/maintenance. That way, the only >'special' shortcuts I need is for administrators of the database. Of >course that method only works if you can clump all of the 'users' in >one pile. If the users need to be split up by their capabilities, you >can't use that method. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Thursday, November 13, 2003 8:40 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) > > >I believe I'm not with with you.... > >First, to set thing strait. It's only in our office for develepmont I'm >speaking. > >Second. >You mean you have a shorcut that starts msaccess.exe with /workgroup >xxx? Problem with that is that you need a hard path to msaccess.exe and >hard paths is something I try to avoid. >I always use roaming profiles and hard paths can problematic. >I supose solutions are out there, but I already played alot with them >and they are often OS dependent. > >You know, Gustav, It's not that a big deal... >It's rarely I do a repair... > >And I don't use workgroups anymore at customer sites. >I use the network user name and match them with the users in the >database (user management based on tables/forms). If a network user is >unkown in the database it exits instantly (after a msgbox). > > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, November 13, 2003 3:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] POLL: Access Security > > >Hi Erwin > >In my opinion it is not a good idea to have a special mdw assigned as >the default. I have a shortcut for such an Access with the wkrgrp >switch opening a secured database. > >/gustav > > > > >>I know...I know... >>At least I supose you mean that you can give msaccess.exe an /wrkgrp >>command line option. Or use the /profile and a profile file. >> >> > > > >>I only use MDW for developing purposes indside the office and just >>want it always to be my company.mdw group... >> >> > > > >>Specifying company.mdw for default gets reset to system.mdw in the >>user profile folder.... Or is it in the program Files/common folder... >> >> > > > >>? >> >> > > > >>Don't bother, I just overcopy all system.mdw with company.mdw... >> >> > > > > >>Erwin >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >>Brock >>Sent: Thursday, November 13, 2003 1:56 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] POLL: Access Security >> >> > > > > >>Hi Erwin >> >> > > > >>You can supply your app with your own mdw, say erwin.mdw. Office won't >> >> > > > >>overwrite that. For that kind of apps we create shortcuts (menu >>entries) which makes it easy for the user to open the app with the >>needed command line. >> >> > > > >>/gustav >> >> > > > >>>.. I want to add that a office repair each time reset or overwrites >>>your MDW file). >>> >>> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 14 01:42:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 14 Nov 2003 08:42:54 +0100 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <46B976F2B698FF46A4FE7636509B22DF7246@stekelbes.ithelps.local> I believe not... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK Verzonden: vrijdag 14 november 2003 2:35 Aan: AccessD List Onderwerp: [AccessD] A2K: Get Current Sub Name Hello all Is there a way to determine the current sub name once you are in it then display it Is there a Current Sub Property? etc eg (PSEUDO Code) Private Sub MySub() Msgbox "My Sub Name is " & Application.SubName End sub Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 14 02:15:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 09:15:09 +0100 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <012f01c3aa4f$913ce010$fabb9a89@DDICK> References: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Message-ID: <1621596745.20031114091509@cactus.dk> Hi Darren At least you can retrieve the name of the module ...: Public Sub ModuleName() Dim strModuleName As String On Error Resume Next strModuleName = Null strModuleName = Err.Source MsgBox strModuleName End Sub /gustav > Is there a way to determine the current sub name once you are in it then display it > Is there a Current Sub Property? etc > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > Many thanks in advance > Darren From lists at jbsolutions.com.au Fri Nov 14 02:23:44 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Fri, 14 Nov 2003 18:23:44 +1000 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <200311140823.hAE8Ng607489@databaseadvisors.com> Hello Darren DICK, If you have the A2K Developers Error Handler add-in, you may be able to automate the process of "recording" the current sub name in each procedure. See, in the default setup of the add-in, it includes a line in each procedure as follows... MsgBox "Error " & Err.Number & ": " & Err.Description, vbCritical, ModuleName.ProcedureName So in theory, you should be able to setup an Error Handler template that doesnt really handle errors, but adds a line into each procedure like so glblRunningProcedure = ModuleName.ProcedureName Still not a pretty solution, but easier than doing it by hand.... ======= At 2003-11-14, 12:35:00 you wrote: ======= >Hello all >Is there a way to determine the current sub name once you are in it then display it >Is there a Current Sub Property? etc > >eg (PSEUDO Code) >Private Sub MySub() >Msgbox "My Sub Name is " & Application.SubName >End sub > >Many thanks in advance > >Darren > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-11-14 From caa at highway.com.br Fri Nov 14 02:56:53 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 14 Nov 2003 06:56:53 -0200 Subject: [AccessD] Distinguishing Key Press In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> Message-ID: On Wed, 12 Nov 2003 10:52:50 -0700, Gowey Mike W wrote: > What I need it to do is if the Tab key is pressed to move to the next > field, if the Enter key is pressed to save the record and than print a > label of the information. > > This is a mail tracking database, in the form they are able to enter the > information on the piece of mail that is coming in, lots of times the > same publication comes in, so they fill out all the imformation on the > publication once and all they want to be able to do is change the number > of the reciepient and be able to press enter and the label for the > distribution of the publication/Piece of mail is printed. If they need > to change any information than pressing the Tab key will allow this. > > I hope that makes better sense or maybe I am just muttering > > Mike > Take a look at help for "KeyPreview Property"!!! HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From caa at highway.com.br Fri Nov 14 02:57:17 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 14 Nov 2003 06:57:17 -0200 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: 4 for myself. I have always used .MDE files with a single password to login. -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From roz.clarke at donnslaw.co.uk Fri Nov 14 03:12:54 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 14 Nov 2003 09:12:54 -0000 Subject: [AccessD] FW: A2K developer Message-ID: <61F915314798D311A2F800A0C9C83188047C6753@dibble.observatory.donnslaw.co.uk> Forwarded mail below.... -----Original Message----- From: Annie Courchesne, cma [mailto:annie.courchesne at sympatico.ca] Sent: 14 November 2003 02:52 To: Accessd Subject: A2K developer Hi guys, It's been a while since I've posted here... A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn't have to buy 20+ licences of A2K. I'm trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn't have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA From HollisVJ at pgdp.usec.com Fri Nov 14 07:01:31 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:01:31 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95C@cntexchange.pgdp.usec.com> I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If From andy at minstersystems.co.uk Fri Nov 14 06:09:13 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 14 Nov 2003 13:09:13 +0100 Subject: [AccessD] Don't Open Form Message-ID: <20031114130910.2949B24EB90@smithers.nildram.co.uk> Virginia You need to test If DCount(etc)>0. You've omitted the >0 part. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Don't Open Form Date: 14/11/03 19:04 I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From HollisVJ at pgdp.usec.com Fri Nov 14 07:15:22 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:15:22 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95D@cntexchange.pgdp.usec.com> I tried making a query & using this code. In the query I set the StatusID to show only open & EngineerID = Forms!frmSystemFailure.EngineerID. If there are not any open EFRs for the Engineer, the message box shows, but I get an error, that it can't find frmSystemFailure. Function NoOpenEng() If DCount("*", "qryStatusEng") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPendingEng", Forms!frmUpdateEFRs.UserID = Forms!frmSystemFailure.EngineerID, acFormEdit, acWindowNormal Else MsgBox "No Open EFRs" End If End Function -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, November 14, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Don't Open Form I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ 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 Nov 14 07:17:15 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:17:15 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95E@cntexchange.pgdp.usec.com> Sorry about that - typo on the query. I set the query EngineerID = frmUpdateEFR.EngineerID frmUpdateEFR is the form with the combobox for selecting the Engineer's name to open frmSystemFailure and view the open EFRs. Totally confused yet? Virginia -----Original Message----- From: Hollis,Virginia Sent: Friday, November 14, 2003 7:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Don't Open Form I tried making a query & using this code. In the query I set the StatusID to show only open & EngineerID = Forms!frmSystemFailure.EngineerID. If there are not any open EFRs for the Engineer, the message box shows, but I get an error, that it can't find frmSystemFailure. Function NoOpenEng() If DCount("*", "qryStatusEng") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPendingEng", Forms!frmUpdateEFRs.UserID = Forms!frmSystemFailure.EngineerID, acFormEdit, acWindowNormal Else MsgBox "No Open EFRs" End If End Function -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, November 14, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Don't Open Form I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ 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 Nov 14 07:19:06 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:19:06 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> I tried that already, & it still opens a blank form. Virginia -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Friday, November 14, 2003 6:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Don't Open Form Virginia You need to test If DCount(etc)>0. You've omitted the >0 part. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Don't Open Form Date: 14/11/03 19:04 I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 14 07:38:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 14:38:38 +0100 Subject: [AccessD] Don't Open Form In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> Message-ID: <9021005924.20031114143838@cactus.dk> Hi Virginia Well, how about uncommenting that error line and debug the criteria and the output of DCount: Rem On Error Resume Next Debug.Print stLinkCriteria Debug.Print DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) /gustav > I tried that already, & it still opens a blank form. > Virginia > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > I have the below code on a form that is used to open another form filtered > to the selected Engineer's name. The user selects their name from a combobox > (UserID), if the document status is open, or pending, or in progress, the > frmSystemFailure opens filtered to show their open documents. > If there are not any open EFRs for the selected Engineer, the form is still > opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... > What is wrong that the form is opening blank instead of giving the MsgBox? > Virginia > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If From stuart at pacific.net.hk Fri Nov 14 07:42:53 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 21:42:53 +0800 Subject: [AccessD] Don't Open Form In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> Message-ID: <001b01c3aab5$3acc35d0$5100a8c0@BITSNB02> You get a blank form if the underlying record source is empty. As Andy mentioned, you need to test for the recordcount and if 0 warn the user and either don't open the form, or if the test is in the form itself close gracefully. Alternatively you could go the main/subform approach, where the main form uses the userid and the subform lists all open documents with the userid. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 9:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > I tried that already, & it still opens a blank form. > > Virginia > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > > > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > > > I have the below code on a form that is used to open another > form filtered > to the selected Engineer's name. The user selects their name > from a combobox > (UserID), if the document status is open, or pending, or in > progress, the > frmSystemFailure opens filtered to show their open documents. > > If there are not any open EFRs for the selected Engineer, the > form is still > opening, but it is blank. It is not giving the MsgBox, No > Open EFRs.... > > What is wrong that the form is opening blank instead of > giving the MsgBox? > > Virginia > > > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at pacific.net.hk Fri Nov 14 07:47:50 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 21:47:50 +0800 Subject: [AccessD] Don't Open Form In-Reply-To: <001b01c3aab5$3acc35d0$5100a8c0@BITSNB02> Message-ID: <001c01c3aab5$e5c7e0b0$5100a8c0@BITSNB02> Oops ... Nevermind .. Didn't read properly > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart Sanders > Sent: Friday, 14 November, 2003 9:43 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > You get a blank form if the underlying record source is > empty. As Andy > mentioned, you need to test for the recordcount and if 0 warn > the user and > either don't open the form, or if the test is in the form itself close > gracefully. > > Alternatively you could go the main/subform approach, where > the main form uses > the userid and the subform lists all open documents with the userid. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: Friday, 14 November, 2003 9:19 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Don't Open Form > > > > > > I tried that already, & it still opens a blank form. > > > > Virginia > > > > -----Original Message----- > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > > Sent: Friday, November 14, 2003 6:09 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Don't Open Form > > > > > > Virginia > > You need to test If DCount(etc)>0. You've omitted the >0 part. > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > > > --------- Original Message -------- > > From: "Access Developers discussion and problem solving" > > > > To: "'accessd at databaseadvisors.com'" > > Subject: [AccessD] Don't Open Form > > Date: 14/11/03 19:04 > > > > > > I have the below code on a form that is used to open another > > form filtered > > to the selected Engineer's name. The user selects their name > > from a combobox > > (UserID), if the document status is open, or pending, or in > > progress, the > > frmSystemFailure opens filtered to show their open documents. > > > > If there are not any open EFRs for the selected Engineer, the > > form is still > > opening, but it is blank. It is not giving the MsgBox, No > > Open EFRs.... > > > > What is wrong that the form is opening blank instead of > > giving the MsgBox? > > > > Virginia > > > > > > stDocName = "frmSystemFailure" > > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > > [StatusID] = 1" & > > _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > > > ' Check whether the user has any EFRs open. If they do, open the > > ' form with a filter. > > On Error Resume Next > > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > Else > > 'DisplayMessage "No open EFRs" > > MsgBox "No open EFRs for " & > > Forms![frmUpdateEFRs]![UserID].Column(1) > > End If > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.2 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 14 07:51:11 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri, 14 Nov 2003 08:51:11 -0500 Subject: [AccessD] Don't Open Form In-Reply-To: <001b01c3aab5$3acc35d0$5100a8c0@BITSNB02> Message-ID: Are you manipulating the AllowEdit property? I have seen AllowEdit false (for the form) cause blank forms. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Friday, November 14, 2003 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Don't Open Form You get a blank form if the underlying record source is empty. As Andy mentioned, you need to test for the recordcount and if 0 warn the user and either don't open the form, or if the test is in the form itself close gracefully. Alternatively you could go the main/subform approach, where the main form uses the userid and the subform lists all open documents with the userid. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 9:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > I tried that already, & it still opens a blank form. > > Virginia > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > > > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > > > I have the below code on a form that is used to open another > form filtered > to the selected Engineer's name. The user selects their name > from a combobox > (UserID), if the document status is open, or pending, or in > progress, the > frmSystemFailure opens filtered to show their open documents. > > If there are not any open EFRs for the selected Engineer, the > form is still > opening, but it is blank. It is not giving the MsgBox, No > Open EFRs.... > > What is wrong that the form is opening blank instead of > giving the MsgBox? > > Virginia > > > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 14 08:05:55 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 08:05:55 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C961@cntexchange.pgdp.usec.com> Yes, you are correct - AllowEdit = False. Va. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, November 14, 2003 7:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Don't Open Form Are you manipulating the AllowEdit property? I have seen AllowEdit false (for the form) cause blank forms. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Friday, November 14, 2003 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Don't Open Form You get a blank form if the underlying record source is empty. As Andy mentioned, you need to test for the recordcount and if 0 warn the user and either don't open the form, or if the test is in the form itself close gracefully. Alternatively you could go the main/subform approach, where the main form uses the userid and the subform lists all open documents with the userid. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 9:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > I tried that already, & it still opens a blank form. > > Virginia > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > > > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > > > I have the below code on a form that is used to open another > form filtered > to the selected Engineer's name. The user selects their name > from a combobox > (UserID), if the document status is open, or pending, or in > progress, the > frmSystemFailure opens filtered to show their open documents. > > If there are not any open EFRs for the selected Engineer, the > form is still > opening, but it is blank. It is not giving the MsgBox, No > Open EFRs.... > > What is wrong that the form is opening blank instead of > giving the MsgBox? > > Virginia > > > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Nov 14 08:18:05 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 22:18:05 +0800 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <1621596745.20031114091509@cactus.dk> Message-ID: <001d01c3aaba$1f74c090$5100a8c0@BITSNB02> While I just tried this in debug mode, I got err.Source as the name of the database (ie from database properties). Not the name of the module. I tested with a class module, so I'll take a look at other modules. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Friday, 14 November, 2003 4:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: Get Current Sub Name > > > Hi Darren > > At least you can retrieve the name of the module ...: > > > > Public Sub ModuleName() > > Dim strModuleName As String > > On Error Resume Next > strModuleName = Null > strModuleName = Err.Source > > MsgBox strModuleName > > End Sub > > > > /gustav > > > > Is there a way to determine the current sub name once you > are in it then display it > > Is there a Current Sub Property? etc > > > eg (PSEUDO Code) > > Private Sub MySub() > > Msgbox "My Sub Name is " & Application.SubName > > End sub > > > Many thanks in advance > > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at pacific.net.hk Fri Nov 14 08:22:05 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 22:22:05 +0800 Subject: [AccessD] Don't Open Form In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C961@cntexchange.pgdp.usec.com> Message-ID: <001e01c3aaba$ae40d7f0$5100a8c0@BITSNB02> Hehe ... That?s it... I remember it was something to do with empty recordset. Last I hit it was years ago though. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 10:06 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > Yes, you are correct - AllowEdit = False. > > Va. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Friday, November 14, 2003 7:51 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Don't Open Form > > > Are you manipulating the AllowEdit property? I have seen > AllowEdit false > (for the form) cause blank forms. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Stuart Sanders > Sent: Friday, November 14, 2003 8:43 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > You get a blank form if the underlying record source is > empty. As Andy > mentioned, you need to test for the recordcount and if 0 warn > the user and > either don't open the form, or if the test is in the form itself close > gracefully. > > Alternatively you could go the main/subform approach, where > the main form > uses > the userid and the subform lists all open documents with the userid. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: Friday, 14 November, 2003 9:19 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Don't Open Form > > > > > > I tried that already, & it still opens a blank form. > > > > Virginia > > > > -----Original Message----- > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > > Sent: Friday, November 14, 2003 6:09 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Don't Open Form > > > > > > Virginia > > You need to test If DCount(etc)>0. You've omitted the >0 part. > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > > > --------- Original Message -------- > > From: "Access Developers discussion and problem solving" > > > > To: "'accessd at databaseadvisors.com'" > > Subject: [AccessD] Don't Open Form > > Date: 14/11/03 19:04 > > > > > > I have the below code on a form that is used to open another > > form filtered > > to the selected Engineer's name. The user selects their name > > from a combobox > > (UserID), if the document status is open, or pending, or in > > progress, the > > frmSystemFailure opens filtered to show their open documents. > > > > If there are not any open EFRs for the selected Engineer, the > > form is still > > opening, but it is blank. It is not giving the MsgBox, No > > Open EFRs.... > > > > What is wrong that the form is opening blank instead of > > giving the MsgBox? > > > > Virginia > > > > > > stDocName = "frmSystemFailure" > > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > > [StatusID] = 1" & > > _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > > > ' Check whether the user has any EFRs open. If they do, open the > > ' form with a filter. > > On Error Resume Next > > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > Else > > 'DisplayMessage "No open EFRs" > > MsgBox "No open EFRs for " & > > Forms![frmUpdateEFRs]![UserID].Column(1) > > End If > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.2 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 14 08:28:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 15:28:16 +0100 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <001d01c3aaba$1f74c090$5100a8c0@BITSNB02> References: <001d01c3aaba$1f74c090$5100a8c0@BITSNB02> Message-ID: <8123983316.20031114152816@cactus.dk> Hi Stuart Oops, you're right. But hey, it's Friday! /gustav > While I just tried this in debug mode, I got err.Source as the name of the > database (ie from database properties). Not the name of the module. > I tested with a class module, so I'll take a look at other modules. > Stuart >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Gustav Brock >> Sent: Friday, 14 November, 2003 4:15 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] A2K: Get Current Sub Name >> >> >> Hi Darren >> >> At least you can retrieve the name of the module ...: >> >> >> >> Public Sub ModuleName() >> >> Dim strModuleName As String >> >> On Error Resume Next >> strModuleName = Null >> strModuleName = Err.Source >> >> MsgBox strModuleName >> >> End Sub >> >> >> >> /gustav From HollisVJ at pgdp.usec.com Fri Nov 14 08:57:08 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 08:57:08 -0600 Subject: [AccessD] OT Friday Stuff Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> Ok, good one for a Friday. I just had someone call me that is trying to work on a database. This database tracks data for each year, 2001, 2002, and they are trying to enter the new data for 2003. Here is the good part - they can't figure out why the previous years data is changing when they change something - they saved the form as a new form "2003". Virginia From gustav at cactus.dk Fri Nov 14 09:18:21 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 16:18:21 +0100 Subject: [AccessD] OT Friday Stuff In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> Message-ID: <12226988958.20031114161821@cactus.dk> Hi Virginia This must be one of JC's "creative" users. /gustav > Ok, good one for a Friday. I just had someone call me that is trying to work > on a database. This database tracks data for each year, 2001, 2002, and they > are trying to enter the new data for 2003. > Here is the good part - they can't figure out why the previous years data is > changing when they change something - they saved the form as a new form > "2003". From John.Clark at niagaracounty.com Fri Nov 14 09:40:54 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 14 Nov 2003 10:40:54 -0500 Subject: [AccessD] Auto install fonts Message-ID: I use basically the same 'look' for all (or most) of the programs that I write for my employer. This 'look' includes two fonts that are not standard (airfoil.ttf and motley.ttf). When I install these programs to a new computer, it is necessary for me to copy these ttf files and then install them via 'control panel' and 'fonts'. This was all fine for a while, but now the number of programs is growing, as is the amount of users and the physical area that they are spread over. Now I cannot always be the one who does the actual installation, so I have been trying to create an automated process for the install of these programs. I currently use a batch file that creates a directory in 'Program Files' on their root drive, copies the files into this directory, and copies a shortcut onto their desktop. The remaining problem is that the fonts need to be installed, and I don't know how to get around having them install the font--I don't want them to touch anything they don't need to touch. Is there a way to do this? I have never used any of the 'installer' programs that I have read about, on this list--is this what I need to be looking at? And, if so, which ones? I think I have noticed 'Install Shield' (?) the most. Thank you! Take care! John W Clark From gustav at cactus.dk Fri Nov 14 10:04:03 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 17:04:03 +0100 Subject: [AccessD] Auto install fonts In-Reply-To: References: Message-ID: <12429730660.20031114170403@cactus.dk> Hi John You can use the free Inno Setup for this: http://www.jrsoftware.org/isinfo.php FontInstall Description: Tells Setup the file is a font that needs to be installed. The value of this parameter is the name of the font as stored in the registry or WIN.INI. This must be exactly the same name as you see when you double-click the font file in Explorer. Note that Setup will automatically append " (TrueType)" to the end of the name. If the file is not a TrueType font, you must specify the flag fontisnttruetype in the Flags parameter. It's recommended that you use the flags onlyifdoesntexist and uninsneveruninstall when installing fonts to the {fonts} directory. To successfully install a font on Windows 2000/XP, the user must be a member of the Power Users or Administrators groups. On Windows NT 4.0 and earlier, anyone can install a font. Example: Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall /gustav > I use basically the same 'look' for all (or most) of the programs that I > write for my employer. This 'look' includes two fonts that are not > standard (airfoil.ttf and motley.ttf). When I install these programs to > a new computer, it is necessary for me to copy these ttf files and then > install them via 'control panel' and 'fonts'. > This was all fine for a while, but now the number of programs is > growing, as is the amount of users and the physical area that they are > spread over. Now I cannot always be the one who does the actual > installation, so I have been trying to create an automated process for > the install of these programs. I currently use a batch file that creates > a directory in 'Program Files' on their root drive, copies the files > into this directory, and copies a shortcut onto their desktop. The > remaining problem is that the fonts need to be installed, and I don't > know how to get around having them install the font--I don't want them > to touch anything they don't need to touch. > Is there a way to do this? I have never used any of the 'installer' > programs that I have read about, on this list--is this what I need to be > looking at? And, if so, which ones? I think I have noticed 'Install > Shield' (?) the most. From john at winhaven.net Fri Nov 14 10:15:28 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 10:15:28 -0600 Subject: [AccessD] OT Friday Stuff In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> Message-ID: Reminds me of a state bureaucrat I used to know. For years she would send out an annual update of a "Time Reporting" database application that the local employees used to keep track of the time they spent on state funded programs. In the data entry they would have to enter the date, the year and the quarter. The only thing she changed over the entire time she did this was to add the new year and quarters to lookup tables (4 digit number for year e.g. "1999" and: 99-1, 99-2, 99-3, 99-4 for the quarters). Of course she also had to adjust the reports so they would print out for the new year and/or quarter. The reports had hard coded year and/or quarter - there were 5 reports. There was no routine to get rid of the old data and there was no way to print out reports or use the old data in any manner (which a number of local people wanted to do so they started to duplicate the database and keep the old application in order to be able to get the reports for each year. Some offices had 5 of these applications/databases set up! The funny part: She really wasn't aware that she could just let the users enter the date and filter the reports for year and/or quarter based on that! Well, we fixed all that and she has never issued another update (wipes sweat from his forehead). John B. Another complicated programming issue solved by (drum roll and horn blasts please) Super-Programmer! (As he places his hands on his hips and thrusts out his chest!) ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Hollis,Virginia > Sent: Friday, November 14, 2003 8:57 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] OT Friday Stuff > > > Ok, good one for a Friday. I just had someone call me that is > trying to work > on a database. This database tracks data for each year, 2001, > 2002, and they > are trying to enter the new data for 2003. > > Here is the good part - they can't figure out why the previous > years data is > changing when they change something - they saved the form as a new form > "2003". > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Fri Nov 14 10:19:01 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 10:19:01 -0600 Subject: [AccessD] Auto install fonts In-Reply-To: Message-ID: Hi John: In Wise InstallBuilder its as easy as adding a line: Register Font Tt0195.ttf Which is actually created using a dialog with combo boxes. I would imagine this is calling some API to register the font but since I have Wise I've never bothered to look into it. Maybe someone else here can expand on this. Wise or Installshield are both top notch. It seems most people here use Wise (with SageKey Access Scripts). There are other installers out there, some free, but I don't know that handle installing Access runtime apps very well, which is why I use an installer. I just haven't heard much about anything other than those already mentioned. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark > Sent: Friday, November 14, 2003 9:41 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Auto install fonts > > > I use basically the same 'look' for all (or most) of the programs that I > write for my employer. This 'look' includes two fonts that are not > standard (airfoil.ttf and motley.ttf). When I install these programs to > a new computer, it is necessary for me to copy these ttf files and then > install them via 'control panel' and 'fonts'. > > This was all fine for a while, but now the number of programs is > growing, as is the amount of users and the physical area that they are > spread over. Now I cannot always be the one who does the actual > installation, so I have been trying to create an automated process for > the install of these programs. I currently use a batch file that creates > a directory in 'Program Files' on their root drive, copies the files > into this directory, and copies a shortcut onto their desktop. The > remaining problem is that the fonts need to be installed, and I don't > know how to get around having them install the font--I don't want them > to touch anything they don't need to touch. > > Is there a way to do this? I have never used any of the 'installer' > programs that I have read about, on this list--is this what I need to be > looking at? And, if so, which ones? I think I have noticed 'Install > Shield' (?) the most. > > Thank you! Take care! > > John W Clark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Fri Nov 14 10:21:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Nov 2003 08:21:35 -0800 Subject: [AccessD] FW: A2K developer Message-ID: I've heard of people finding it on eBay, but since it's now 2 versions back, it may be hard to find. Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Friday, November 14, 2003 1:13 AM To: AccessD (AccessD at databaseadvisors.com) Subject: [AccessD] FW: A2K developer Forwarded mail below.... -----Original Message----- From: Annie Courchesne, cma [mailto:annie.courchesne at sympatico.ca] Sent: 14 November 2003 02:52 To: Accessd Subject: A2K developer Hi guys, It's been a while since I've posted here... A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn't have to buy 20+ licences of A2K. I'm trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn't have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA _______________________________________________ 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 Nov 14 10:22:53 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 14 Nov 2003 11:22:53 -0500 Subject: [AccessD] OT Friday Stuff References: Message-ID: <003c01c3aacb$8ee8f2a0$6401a8c0@default> John, I was going to thank you last night for sharing your expeiences ... wondered why you were out standing in your field ... you old farmer :) Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Friday, November 14, 2003 11:15 AM Subject: RE: [AccessD] OT Friday Stuff > Reminds me of a state bureaucrat I used to know. For years she would send > out an annual update of a "Time Reporting" database application that the > local employees used to keep track of the time they spent on state funded > programs. In the data entry they would have to enter the date, the year and > the quarter. The only thing she changed over the entire time she did this > was to add the new year and quarters to lookup tables (4 digit number for > year e.g. "1999" and: 99-1, 99-2, 99-3, 99-4 for the quarters). Of course > she also had to adjust the reports so they would print out for the new year > and/or quarter. The reports had hard coded year and/or quarter - there were > 5 reports. There was no routine to get rid of the old data and there was no > way to print out reports or use the old data in any manner (which a number > of local people wanted to do so they started to duplicate the database and > keep the old application in order to be able to get the reports for each > year. Some offices had 5 of these applications/databases set up! > > The funny part: She really wasn't aware that she could just let the users > enter the date and filter the reports for year and/or quarter based on that! > > Well, we fixed all that and she has never issued another update (wipes sweat > from his forehead). > > John B. > Another complicated programming issue solved by (drum roll and horn blasts > please) Super-Programmer! > (As he places his hands on his hips and thrusts out his chest!) > ;o) > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Hollis,Virginia > > Sent: Friday, November 14, 2003 8:57 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] OT Friday Stuff > > > > > > Ok, good one for a Friday. I just had someone call me that is > > trying to work > > on a database. This database tracks data for each year, 2001, > > 2002, and they > > are trying to enter the new data for 2003. > > > > Here is the good part - they can't figure out why the previous > > years data is > > changing when they change something - they saved the form as a new form > > "2003". > > > > Virginia > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Fri Nov 14 11:01:15 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 11:01:15 -0600 Subject: [AccessD] OT: Friday Funny Message-ID: I think this fits the bill today: http://www.unitedmedia.com/comics/dilbert/index.html From john at winhaven.net Fri Nov 14 11:01:16 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 11:01:16 -0600 Subject: [AccessD] OT Friday Stuff In-Reply-To: <003c01c3aacb$8ee8f2a0$6401a8c0@default> Message-ID: LOL Actually, I was envisioning standing atop a high rise building with a cape billowing in the wind! This bureaucrat was from Madison, WI (state capital). LOL again! But I guess an old farmer would be more fitting since this is when I worked for the Agricultural Land Conservation Dept. I did stand out in a lot of fields (and other stuff too). :o) John B. PS: My degree (primary) is Natural Resources Sciences. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Friday, November 14, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Friday Stuff > > > John, > > I was going to thank you last night > for sharing your expeiences ... > wondered why you were out standing in > your field ... you old farmer :) > > Michael R. Mattys > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 14, 2003 11:15 AM > Subject: RE: [AccessD] OT Friday Stuff > > > > Reminds me of a state bureaucrat I used to know. For years she > would send > > out an annual update of a "Time Reporting" database application that the > > local employees used to keep track of the time they spent on > state funded > > programs. In the data entry they would have to enter the date, the year > and > > the quarter. The only thing she changed over the entire time > she did this > > was to add the new year and quarters to lookup tables (4 digit > number for > > year e.g. "1999" and: 99-1, 99-2, 99-3, 99-4 for the quarters). > Of course > > she also had to adjust the reports so they would print out for the new > year > > and/or quarter. The reports had hard coded year and/or quarter - there > were > > 5 reports. There was no routine to get rid of the old data and there was > no > > way to print out reports or use the old data in any manner > (which a number > > of local people wanted to do so they started to duplicate the > database and > > keep the old application in order to be able to get the reports for each > > year. Some offices had 5 of these applications/databases set up! > > > > The funny part: She really wasn't aware that she could just let > the users > > enter the date and filter the reports for year and/or quarter based on > that! > > > > Well, we fixed all that and she has never issued another update (wipes > sweat > > from his forehead). > > > > John B. > > Another complicated programming issue solved by (drum roll and > horn blasts > > please) Super-Programmer! > > (As he places his hands on his hips and thrusts out his chest!) > > ;o) > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Hollis,Virginia > > > Sent: Friday, November 14, 2003 8:57 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: [AccessD] OT Friday Stuff > > > > > > > > > Ok, good one for a Friday. I just had someone call me that is > > > trying to work > > > on a database. This database tracks data for each year, 2001, > > > 2002, and they > > > are trying to enter the new data for 2003. > > > > > > Here is the good part - they can't figure out why the previous > > > years data is > > > changing when they change something - they saved the form as > a new form > > > "2003". > > > > > > 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 rbgajewski at adelphia.net Fri Nov 14 11:18:00 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 14 Nov 2003 12:18:00 -0500 Subject: [AccessD] Problem: subtotaling time (long email) Message-ID: Dear List I cannot figure out how to add time. I have a database that tracks responses for emergency services providers. Table and report details are below. I'm trying to create a report showing each provider's responses, sorted and subtotaled by major class types and then minor class types, with the time of each incident shown AND subtotaled. I have no problem with the report EXCEPT that I cannot subtotal the time (the "Time = " and "Total Time = " fields). I suspect that the problem may be that I am using a formatted field (TimeDiff), and cannot add the data because they are now string values. If anyone can help steer me in a better direction, I would be extremely grateful! TIA, Bob Gajewski ************************************************************* DATABASE DETAILS: tblEmployees EmployeeID (PK) EmployeeName tblMajorClass MajorClassID (PK) MajorClassName tblMinorClass MinorClassID (PK) MinorClassName tblIncidents IncidentID (PK) MajorClassID (FK) (has "Call" or "Drill") MinorClassID (FK) (for "Call", has "Fire" or "EMS") (for "Drill", has "Internal" or "External") DispatchTime InServiceTime tblResponses ResponseID (PK) IncidentID (FK) EmployeeID (FK) The report (rptEmployeeResponse) has the following: Sorting & Grouping: EmployeeName (Ascending) Group Header = Yes Group Footer = Yes Group On = Each Value MajorClassName (Ascending) Group Header = Yes Group Footer = Yes Group On = Each Value MinorClassName (Ascending) Group Header = Yes Group Footer = Yes Group On = Each Value IncidentID Group Header = No Group Footer = No Group On = Each Value SQL Statement (QBE) EmployeeName (GroupBy) MajorClass (GroupBy) MinorClass (GroupBy) IncidentID (Count) - from tblResponses! DispatchTime (GroupBy) InServiceTime (GroupBy) TimeDiff (GroupBy) TimeDiff: IIf([InServiceTime]>[DispatchTime],Format([InServiceTime]-[DispatchTime]),"S hort Time"),Format(DateAdd("d",1,[InServiceTime])-[DispatchTime]),"Short Time")) Sample Output: Brown, Joe Calls EMS 001 11:00 13:59 2:59 003 09:13 10:29 1:16 Count = 2 Time = 4:15 Fire 002 23:04 01:41 2:37 004 11:42 12:02 0:20 005 04:30 05:58 1:28 Count = 3 Time = 4:25 Total Count = 5 Total Time = 8:40 Drills External 001 11:00 12:00 1:00 003 09:00 10:30 1:30 Count = 2 Time = 2:30 EMS 002 19:00 21:30 2:30 004 11:00 12:00 1:00 005 09:30 11:00 1:30 Count = 3 Time = 5:00 Total Count = 5 Total Time = 7:30 {Next Employee ....} Counts and times are only totaled per employee; there is no aggregate grand total. From gustav at cactus.dk Fri Nov 14 11:51:36 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 18:51:36 +0100 Subject: [AccessD] Problem: subtotaling time (long email) In-Reply-To: References: Message-ID: <7836183749.20031114185136@cactus.dk> Hi Bob Use DateDiff("n", datStart, datStop) to calculate the time difference in minutes (assuming you are ignoring seconds). Sum those minutes as your subtotal. Then you can use a function like this to calculate a pseudo time: Function TimeHour(ByVal curHMS As Currency) As Date ' Rounds and converts curHMS (number of hours as decimalnumber). ' Returns a time value, hh:nn:ss. ' Gustav Brock, Cactus Data ApS. ' 1999-08-12. Dim lngH As Long Dim lngM As Long Dim lngS As Long Dim curR As Currency ' No error handling needed. On Error Resume Next ' Round to two decimals, and skip number of days if curHMS > 24. ' If day count is needed, omit modulus like this: ' curHMS = (CLng(curHMS * 10000) / 100 * 36) ' Mod 86400 curHMS = (CLng(curHMS * 10000) / 100 * 36) Mod 86400 ' Calculate hours, minutes, and seconds. lngH = Int(curHMS / 3600) curR = curHMS - (lngH * 3600) lngM = Int(curR / 60) curR = curR - (lngM * 60) lngS = CInt(curR) ' Create time value. TimeHour = TimeSerial(lngH, lngM, lngS) End Function Finally, format the returned date/time value as you like, say: strTimeDiff = Format(datTimeDiff, "hh:nn") or simply specify this format for the textbox in the report. /gustav > I cannot figure out how to add time. > I have a database that tracks responses for emergency services providers. > Table and report details are below. I'm trying to create a report showing > each provider's responses, sorted and subtotaled by major class types and > then minor class types, with the time of each incident shown AND subtotaled. > I have no problem with the report EXCEPT that I cannot subtotal the time > (the "Time = " and "Total Time = " fields). > I suspect that the problem may be that I am using a formatted field > (TimeDiff), and cannot add the data because they are now string values. If > anyone can help steer me in a better direction, I would be extremely > grateful! > TIA, > Bob Gajewski > ************************************************************* > DATABASE DETAILS: > tblEmployees > EmployeeID (PK) > EmployeeName > tblMajorClass > MajorClassID (PK) > MajorClassName > tblMinorClass > MinorClassID (PK) > MinorClassName > tblIncidents > IncidentID (PK) > MajorClassID (FK) > (has "Call" or "Drill") > MinorClassID (FK) > (for "Call", has "Fire" or "EMS") > (for "Drill", has "Internal" or "External") > DispatchTime > InServiceTime > tblResponses > ResponseID (PK) > IncidentID (FK) > EmployeeID (FK) > The report (rptEmployeeResponse) has the following: > Sorting & Grouping: > EmployeeName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MajorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MinorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > IncidentID > Group Header = No > Group Footer = No > Group On = Each Value > SQL Statement (QBE) > EmployeeName (GroupBy) > MajorClass (GroupBy) > MinorClass (GroupBy) > IncidentID (Count) - from tblResponses! > DispatchTime (GroupBy) > InServiceTime (GroupBy) > TimeDiff (GroupBy) > TimeDiff: IIf([InServiceTime]>>[DispatchTime],Format([InServiceTime]-[DispatchTime]),"S > hort Time"),Format(DateAdd("d",1,[InServiceTime])-[DispatchTime]),"Short > Time")) > Sample Output: > Brown, Joe > Calls > EMS > 001 11:00 13:59 2:59 > 003 09:13 10:29 1:16 > Count = 2 Time = 4:15 > Fire > 002 23:04 01:41 2:37 > 004 11:42 12:02 0:20 > 005 04:30 05:58 1:28 > Count = 3 Time = 4:25 > Total Count = 5 Total Time = 8:40 > Drills > External > 001 11:00 12:00 1:00 > 003 09:00 10:30 1:30 > Count = 2 Time = 2:30 > EMS > 002 19:00 21:30 2:30 > 004 11:00 12:00 1:00 > 005 09:30 11:00 1:30 > Count = 3 Time = 5:00 > Total Count = 5 Total Time = 7:30 > {Next Employee ....} > Counts and times are only totaled per employee; there is no aggregate grand > total. From DWUTKA at marlow.com Fri Nov 14 12:03:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 14 Nov 2003 12:03:23 -0600 Subject: [AccessD] A2K: Access Security via a browser Message-ID: <2F8793082E00D4119A1700B0D0216BF802227577@main2.marlow.com> Certainly not impossible, but quite frankly, it would be easier to just use Terminal Server, Citrix, or Remote Administrator, then to go and create what would be a pretty complex ASP site. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, November 13, 2003 5:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Access Security via a browser Hi Drew Thanks for the reply I mean setting permissions, creating users and groups, changing passwords, etc, as you suggested. Basically she would like interfacing with Access Security and totally managing, at every level via a browser, whatever you can manage whilst sitting directly in from of the System.mdw file In relation to John Colby's Poll on Access Security I am a 14. Never touched the stuff and am vaguely aware that it exists. So if it seems I am asking the impossible because I don't know any better it's because...I don't know any better :-)) Many thanks for the reply Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 14, 2003 5:40 AM Subject: RE: [AccessD] A2K: Access Security via a browser > What do you mean Darren. Do you mean like setting permissions, creating > users and groups, changing passwords, etc? Or simply logging into a secured > database? > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, November 12, 2003 6:48 PM > To: AccessD List > Subject: [AccessD] A2K: Access Security via a browser > > > Hello all > I have a Web Developer friend asking me if anyone knows of some useful > URL's that will show how to or give examples of administering Access > security via a browser. > > She has Access Security implemented and can administer it fine from the > local PC via the > 'normal' means, she just wants to do it via the web > > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 14 12:07:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 14 Nov 2003 12:07:46 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227579@main2.marlow.com> I think you're agreeing with me. The problem with a BE though, is that if it's an .mdb, it has to be accessible by the user, in order for an Access (or even VB) FE to use it. You're right, if you go with a server side db, like Oracle or SQL, then you have that security in place, but even that stuff isn't unbreakable. The ASP FE let's you use an .mdb as a backend, but since it doesn't need to be accessible by the user, it is pretty 'tight' security. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, November 13, 2003 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Fri Nov 14 14:11:19 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 14 Nov 2003 14:11:19 -0600 Subject: [AccessD] Problem: subtotaling time (long email) Message-ID: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> Gustav- If you ever decide to put all your code solutions into a book ("Gustav's Goodies"?) I'll be first in line to buy it. Thanks for a ton of useful code over the years. Jim Hale -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, November 14, 2003 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem: subtotaling time (long email) Hi Bob Use DateDiff("n", datStart, datStop) to calculate the time difference in minutes (assuming you are ignoring seconds). Sum those minutes as your subtotal. Then you can use a function like this to calculate a pseudo time: Function TimeHour(ByVal curHMS As Currency) As Date ' Rounds and converts curHMS (number of hours as decimalnumber). ' Returns a time value, hh:nn:ss. ' Gustav Brock, Cactus Data ApS. ' 1999-08-12. Dim lngH As Long Dim lngM As Long Dim lngS As Long Dim curR As Currency ' No error handling needed. On Error Resume Next ' Round to two decimals, and skip number of days if curHMS > 24. ' If day count is needed, omit modulus like this: ' curHMS = (CLng(curHMS * 10000) / 100 * 36) ' Mod 86400 curHMS = (CLng(curHMS * 10000) / 100 * 36) Mod 86400 ' Calculate hours, minutes, and seconds. lngH = Int(curHMS / 3600) curR = curHMS - (lngH * 3600) lngM = Int(curR / 60) curR = curR - (lngM * 60) lngS = CInt(curR) ' Create time value. TimeHour = TimeSerial(lngH, lngM, lngS) End Function Finally, format the returned date/time value as you like, say: strTimeDiff = Format(datTimeDiff, "hh:nn") or simply specify this format for the textbox in the report. /gustav > I cannot figure out how to add time. > I have a database that tracks responses for emergency services providers. > Table and report details are below. I'm trying to create a report showing > each provider's responses, sorted and subtotaled by major class types and > then minor class types, with the time of each incident shown AND subtotaled. > I have no problem with the report EXCEPT that I cannot subtotal the time > (the "Time = " and "Total Time = " fields). > I suspect that the problem may be that I am using a formatted field > (TimeDiff), and cannot add the data because they are now string values. If > anyone can help steer me in a better direction, I would be extremely > grateful! > TIA, > Bob Gajewski > ************************************************************* > DATABASE DETAILS: > tblEmployees > EmployeeID (PK) > EmployeeName > tblMajorClass > MajorClassID (PK) > MajorClassName > tblMinorClass > MinorClassID (PK) > MinorClassName > tblIncidents > IncidentID (PK) > MajorClassID (FK) > (has "Call" or "Drill") > MinorClassID (FK) > (for "Call", has "Fire" or "EMS") > (for "Drill", has "Internal" or "External") > DispatchTime > InServiceTime > tblResponses > ResponseID (PK) > IncidentID (FK) > EmployeeID (FK) > The report (rptEmployeeResponse) has the following: > Sorting & Grouping: > EmployeeName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MajorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MinorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > IncidentID > Group Header = No > Group Footer = No > Group On = Each Value > SQL Statement (QBE) > EmployeeName (GroupBy) > MajorClass (GroupBy) > MinorClass (GroupBy) > IncidentID (Count) - from tblResponses! > DispatchTime (GroupBy) > InServiceTime (GroupBy) > TimeDiff (GroupBy) > TimeDiff: IIf([InServiceTime]>>[DispatchTime],Format([InServiceTime]-[DispatchTime])," S > hort Time"),Format(DateAdd("d",1,[InServiceTime])-[DispatchTime]),"Short > Time")) > Sample Output: > Brown, Joe > Calls > EMS > 001 11:00 13:59 2:59 > 003 09:13 10:29 1:16 > Count = 2 Time = 4:15 > Fire > 002 23:04 01:41 2:37 > 004 11:42 12:02 0:20 > 005 04:30 05:58 1:28 > Count = 3 Time = 4:25 > Total Count = 5 Total Time = 8:40 > Drills > External > 001 11:00 12:00 1:00 > 003 09:00 10:30 1:30 > Count = 2 Time = 2:30 > EMS > 002 19:00 21:30 2:30 > 004 11:00 12:00 1:00 > 005 09:30 11:00 1:30 > Count = 3 Time = 5:00 > Total Count = 5 Total Time = 7:30 > {Next Employee ....} > Counts and times are only totaled per employee; there is no aggregate grand > total. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 15 03:45:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Nov 2003 10:45:16 +0100 Subject: [AccessD] Problem: subtotaling time (long email) In-Reply-To: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> References: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> Message-ID: <833226809.20031115104516@cactus.dk> Hi Jim Thank you! However, to share ideas and code, isn't that what the list is about? About a book - where would I find the time? Long time ago I promised Susan to contribute to some articles but haven't been able to locate a free spot in the stuffed calendar ... By the way, I haven't bought a single book on Access development except for those accompanying Access 1.0, 2.0 and 97 developer versions (those were the days of printed documentation, sigh). Everything else is from the on-line help (up to and including A97), searching the net (many nice sites are related to Access development), and, of course, our list. But with the evolving use of XML and web services it may be about time to visit the bookstore. /gustav > Gustav- > If you ever decide to put all your code solutions into a book ("Gustav's > Goodies"?) I'll be first in line to buy it. Thanks for a ton of useful code > over the years. > Jim Hale From ssharkins at bellsouth.net Sat Nov 15 09:37:15 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 15 Nov 2003 10:37:15 -0500 Subject: [AccessD] Problem: subtotaling time (long email) References: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> <833226809.20031115104516@cactus.dk> Message-ID: <002d01c3ab8e$a8361c10$210110ac@SUSANONE> > About a book - where would I find the time? Long time ago I promised > Susan to contribute to some articles but haven't been able to locate a > free spot in the stuffed calendar ... =========Don't quit your day job. :( Market's bad -- but seems to be coming back. Someone adopt me please! ;) Susan H. From starkey at wanadoo.nl Sat Nov 15 14:37:28 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Sat, 15 Nov 2003 21:37:28 +0100 Subject: [AccessD] A2K: Allowbypasskey 4th parameter Message-ID: Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From Subscriptions at servicexp.com Sat Nov 15 14:54:38 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sat, 15 Nov 2003 15:54:38 -0500 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 starkey at wanadoo.nl Sat Nov 15 15:35:54 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Sat, 15 Nov 2003 22:35:54 +0100 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From Subscriptions at servicexp.com Sat Nov 15 18:01:33 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sat, 15 Nov 2003 19:01:33 -0500 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Eric, Ah yes, I see now... Nope your out of luck... but I guess you know that the db is not really going to be secure... You have read the "SECFAQ97" White papers correct? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (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 starkey at wanadoo.nl Sun Nov 16 14:01:28 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 16 Nov 2003 21:01:28 +0100 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Well actually I haven't been reading for a long time. After you mentioned this doc I started reading it but there's nothing I didn't already know. Usually I don't make use of the workgroup file because I find a user-defined security more flexible and easier to maintain. Code protection is not the issue for me and on the other hand I do not really want to use the 'owner permission' stuff. The shift-key feature is enough in combination with an mde though it would be nicer to have it locked tight. I guess this is where VB steps in;-) Thanks, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zondag 16 november 2003 01:02 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Eric, Ah yes, I see now... Nope your out of luck... but I guess you know that the db is not really going to be secure... You have read the "SECFAQ97" White papers correct? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 16-11-2003 21:01:27 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From michael.broesdorf at web.de Sun Nov 16 16:24:19 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Sun, 16 Nov 2003 23:24:19 +0100 Subject: [AccessD] Transparent images on an Access form? In-Reply-To: Message-ID: Dear group, is MS Access 2K able to display GIF-files with a transparent background? I want to create a form with an Background image (JPG). The buttons will be separate GIF-images created with Photoshop. These buttons are essentially text with transparent background. In Photoshop it looks fine (including the transparency). But if I put those buttons on the Access form, their background appears white. Can't Access handle transparency or am I doing something wrong here? TIA, Michael From michael.broesdorf at web.de Sun Nov 16 16:37:07 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Sun, 16 Nov 2003 23:37:07 +0100 Subject: AW: [AccessD] POLL: Access Security In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227579@main2.marlow.com> Message-ID: Hi, I didn't read the whole thread, so please forgive me if I repeat things. It is not too complicated to apply user security to both FE and BE (plus, you can always lock up the FE by converting it into an MDE). The main problem with Access security is the mdw. There is a couple of programs out there that can simply read all user names and passwords from an MDW file. AFAIK there is no way to avoid that. So, with an Access BE the only option would be to ship an MDW that does not contain a user account that allows access to sensitive information. But that doesn't make sense anyway if someone is supposed to actually work with the db ;-) Maybe encrypting data with a user defined function in the MDE(!) is an option. The BE would than contain only encrypted data. Anyone with the right tools could read the data, but that would be useles unless they know how to do crypt-analysis - just a thought... HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Drew Wutka Gesendet: Freitag, 14. November 2003 19:08 An: 'Access Developers discussion and problem solving' Betreff: RE: [AccessD] POLL: Access Security I think you're agreeing with me. The problem with a BE though, is that if it's an .mdb, it has to be accessible by the user, in order for an Access (or even VB) FE to use it. You're right, if you go with a server side db, like Oracle or SQL, then you have that security in place, but even that stuff isn't unbreakable. The ASP FE let's you use an .mdb as a backend, but since it doesn't need to be accessible by the user, it is pretty 'tight' security. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, November 13, 2003 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hadyn at dataconcepts.co.nz Sun Nov 16 16:49:25 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Mon, 17 Nov 2003 11:49:25 +1300 Subject: [AccessD] Custom Help File Integration Message-ID: We have created a custom help file for an A2K database. The database is distributed using Wise and Sagekey scripts. The A2K help says that 2 properties are required to integrate custom help: HelpFile and HelpContextID. The HelpFile property is supposed to be a fully qualified path to a Help file. Only problem is we don't know where the user will install it to. Does anybody have have any experience with integrating help files that can give a few pointers/tips? Kind regards Hadyn --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003 From dwaters at usinternet.com Sun Nov 16 17:16:24 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Nov 2003 17:16:24 -0600 Subject: [AccessD] Protect MDW (was POLL: Access Security) In-Reply-To: <16256252.1069022412694.JavaMail.root@localhost.localdomain> Message-ID: <000201c3ac97$a79dc640$de1811d8@DanWaters> Michael, I tested a situation once where I was able to put the .mdw file (not system.mdw) into a separate folder on a server, where this folder had network security applied so that the only people who could open the folder directly were network administrators. Each user had a shortcut on their desktop which listed the full paths to the Access file, the .mdb file, and the .mdw file. The user was able to open the database, security worked correctly, but they couldn't get at the .mdw file. I never found any documentation for this, and I've only tested this setup at one location so far. I'll try it again next chance I get. Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Br?sdorf Sent: Sunday, November 16, 2003 4:37 PM To: Access Developers discussion and problem solving Subject: AW: [AccessD] POLL: Access Security Hi, I didn't read the whole thread, so please forgive me if I repeat things. It is not too complicated to apply user security to both FE and BE (plus, you can always lock up the FE by converting it into an MDE). The main problem with Access security is the mdw. There is a couple of programs out there that can simply read all user names and passwords from an MDW file. AFAIK there is no way to avoid that. So, with an Access BE the only option would be to ship an MDW that does not contain a user account that allows access to sensitive information. But that doesn't make sense anyway if someone is supposed to actually work with the db ;-) Maybe encrypting data with a user defined function in the MDE(!) is an option. The BE would than contain only encrypted data. Anyone with the right tools could read the data, but that would be useles unless they know how to do crypt-analysis - just a thought... HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Drew Wutka Gesendet: Freitag, 14. November 2003 19:08 An: 'Access Developers discussion and problem solving' Betreff: RE: [AccessD] POLL: Access Security I think you're agreeing with me. The problem with a BE though, is that if it's an .mdb, it has to be accessible by the user, in order for an Access (or even VB) FE to use it. You're right, if you go with a server side db, like Oracle or SQL, then you have that security in place, but even that stuff isn't unbreakable. The ASP FE let's you use an .mdb as a backend, but since it doesn't need to be accessible by the user, it is pretty 'tight' security. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, November 13, 2003 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But > > > it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, > > > 2) read/write, 3) admin. I put their access level in a global > > > variable. > Each > > > form has to check the access level then to see if they are allowed > > > to do > a > > > certain function. So far, the three levels have been adequate and > > > no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Nov 16 18:19:50 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 17 Nov 2003 11:19:50 +1100 Subject: [AccessD] Transparent images on an Access form? References: Message-ID: <00c701c3aca0$876edb80$3c619a89@DDICK> Hi Michael No That's what I have discovered. Access XP may be different. So what I have to do when this sort of 'look' comes up is go with a white background. Sorry The gurus may have an alternative though Darren ----- Original Message ----- From: "Michael Br?sdorf" To: "Access Developers discussion and problem solving" Sent: Monday, November 17, 2003 9:24 AM Subject: [AccessD] Transparent images on an Access form? > Dear group, > > is MS Access 2K able to display GIF-files with a transparent background? > I want to create a form with an Background image (JPG). The buttons will be > separate GIF-images created with Photoshop. These buttons are essentially > text with transparent background. In Photoshop it looks fine (including the > transparency). > But if I put those buttons on the Access form, their background appears > white. > > Can't Access handle transparency or am I doing something wrong here? > > TIA, > > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Mon Nov 17 01:41:02 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Mon, 17 Nov 2003 08:41:02 +0100 Subject: AW: [AccessD] Transparent images on an Access form? In-Reply-To: <00c701c3aca0$876edb80$3c619a89@DDICK> Message-ID: Found something that works on Google (http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&group=comp.databases.ms-a ccess): Here are 2 solutions: (A) 1) Load and convert the desired Image as a Transparent Gif file. Save the converted Image to disk as you would normally. 2) Open Microsoft Word. Menu-_Insert->Picture->From File Browse to your converted Image you previously saved and select it. 3) After the Image appears on the page Click once on the Image to select it. 4) Right click and select Copy from the Popup menu or click on the ToolBar to select COPY 5) Open an Access Form and Select Paste from the Menu or ToolBar. The Image is pasted as an unbound OLE frame. 6) On the Access Form-Format menu select Change To->Image control. 7) Change the new converted Image control's Back Style Prop to Transparent. (B) http://www.lebans.com/transparent.htm (A) actually does the job!! Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Darren DICK Gesendet: Montag, 17. November 2003 01:20 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Transparent images on an Access form? Hi Michael No That's what I have discovered. Access XP may be different. So what I have to do when this sort of 'look' comes up is go with a white background. Sorry The gurus may have an alternative though Darren ----- Original Message ----- From: "Michael Br?sdorf" To: "Access Developers discussion and problem solving" Sent: Monday, November 17, 2003 9:24 AM Subject: [AccessD] Transparent images on an Access form? > Dear group, > > is MS Access 2K able to display GIF-files with a transparent background? > I want to create a form with an Background image (JPG). The buttons will be > separate GIF-images created with Photoshop. These buttons are essentially > text with transparent background. In Photoshop it looks fine (including the > transparency). > But if I put those buttons on the Access form, their background appears > white. > > Can't Access handle transparency or am I doing something wrong here? > > TIA, > > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 17 03:35:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Nov 2003 10:35:13 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: <1618747858.20031117103513@cactus.dk> Hi all Dealing with security, Anthony D'Ambra today released some tips, links and tools for this in his November newsletter: http://www.aadconsulting.com/news.html Browse a page down to: Special Feature: Access Security /gustav From Lambert.Heenan at AIG.com Mon Nov 17 09:35:23 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 17 Nov 2003 10:35:23 -0500 Subject: [AccessD] Custom Help File Integration Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD791D@xlivmbx12.aig.com> As the application is installed using Wise/Sagekey you at least have control over what groups of files are installed to the folder chosen by the user, including the help file(s). So just arrange for them all to be copied to the same folder as the MDB/MDE file. Having done that you can set the Help File property of all you forms to a function [ =FunctionName() ] and have the function return the path to the current database (CurrentDb.Name with the file name stripped off.). That should do it. Lambert > -----Original Message----- > From: Hadyn Morgan [SMTP:hadyn at dataconcepts.co.nz] > Sent: Sunday, November 16, 2003 5:49 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Custom Help File Integration > > We have created a custom help file for an A2K database. The database is > distributed using Wise and Sagekey scripts. The A2K help says that 2 > properties are required to integrate custom help: HelpFile and > HelpContextID. > The HelpFile property is supposed to be a fully qualified path to a Help > file. Only problem is we don't know where the user will install it to. > > Does anybody have have any experience with integrating help files that can > give a few pointers/tips? > > Kind regards > Hadyn > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Nov 17 09:53:50 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 17 Nov 2003 07:53:50 -0800 (PST) Subject: [AccessD] Open an Access report from ASP.Net Message-ID: <20031117155350.80944.qmail@web20416.mail.yahoo.com> Is there a way to open (print) an Access report from an ASP page? Here's a big thanks in advance to the Guru that comes up with this one. Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From mwp.reid at qub.ac.uk Mon Nov 17 10:14:52 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 17 Nov 2003 16:14:52 -0000 Subject: [AccessD] Open an Access report from ASP.Net References: <20031117155350.80944.qmail@web20416.mail.yahoo.com> Message-ID: <003001c3ad25$eeb23f00$9111758f@aine> http://www.4guysfromrolla.com/webtech/042600-1.shtml Martin ----- Original Message ----- From: "Lonnie Johnson" To: "'MS-ACCESS-L at lists.missouri.edu'" ; "AccessDevelopers" ; "ms_access" ; "AccessD solving'" Sent: Monday, November 17, 2003 3:53 PM Subject: [AccessD] Open an Access report from ASP.Net > Is there a way to open (print) an Access report from an ASP page? > > Here's a big thanks in advance to the Guru that comes up with this one. > > > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Mon Nov 17 10:26:44 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 17 Nov 2003 08:26:44 -0800 (PST) Subject: [AccessD] Open an Access report from ASP.Net In-Reply-To: <003001c3ad25$eeb23f00$9111758f@aine> Message-ID: <20031117162644.41254.qmail@web20421.mail.yahoo.com> Martin, you are da man. Thanks for the prompt response. Martin Reid wrote: http://www.4guysfromrolla.com/webtech/042600-1.shtml Martin ----- Original Message ----- From: "Lonnie Johnson" To: "'MS-ACCESS-L at lists.missouri.edu'" ; "AccessDevelopers" ; "ms_access" ; "AccessD solving'" Sent: Monday, November 17, 2003 3:53 PM Subject: [AccessD] Open an Access report from ASP.Net > Is there a way to open (print) an Access report from an ASP page? > > Here's a big thanks in advance to the Guru that comes up with this one. > > > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From cfoust at infostatsystems.com Mon Nov 17 11:40:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 09:40:37 -0800 Subject: [AccessD] Custom Help File Integration Message-ID: We put our help files in the application folder. Then it's easy to use something like CurrentProject.Path to get the folder. Charlotte Foust -----Original Message----- From: Hadyn Morgan [mailto:hadyn at dataconcepts.co.nz] Sent: Sunday, November 16, 2003 2:49 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Custom Help File Integration We have created a custom help file for an A2K database. The database is distributed using Wise and Sagekey scripts. The A2K help says that 2 properties are required to integrate custom help: HelpFile and HelpContextID. The HelpFile property is supposed to be a fully qualified path to a Help file. Only problem is we don't know where the user will install it to. Does anybody have have any experience with integrating help files that can give a few pointers/tips? Kind regards Hadyn --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 12:41:34 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 12:41:34 -0600 Subject: [AccessD] Primary Key Violation Message-ID: I've got a seemingly stupid question, but I can't figure it out. I've got a form that collects a staff member's first and last name and uses that combination as a primary key (unfortunately, no one can remember their employee ID and we don't collect SSN or anything unique they could enter). If they violate the exclusivity of that first/last name combination, they get the convoluted error message that Access puts out which only serves to confuse. Is there a way for me to replace that message with my own and, if so, how do I check for the violation and where would I put the error message? At the moment it comes up when they click the "done" button, which seems like a good place. Thanks, Gina p.s. Please don't chastise me for perceived primary key protocol violations. _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games From mwp.reid at qub.ac.uk Mon Nov 17 12:59:09 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 17 Nov 2003 10:59:09 -0800 Subject: [AccessD] OT: Primary Key Violation References: Message-ID: <000901c3ad3c$e469ae40$260c6351@martin1> Here we go again (<: Sorry Gina its a sort of in joke.No offense intended. But out of interest we have three Martin Reids in work. How would you create the PK then? Martin ----- Original Message ----- From: "Gina Hoopes" To: Sent: Monday, November 17, 2003 10:41 AM Subject: [AccessD] Primary Key Violation > I've got a seemingly stupid question, but I can't figure it out. I've got a > form that collects a staff member's first and last name and uses that > combination as a primary key (unfortunately, no one can remember their > employee ID and we don't collect SSN or anything unique they could enter). > If they violate the exclusivity of that first/last name combination, they > get the convoluted error message that Access puts out which only serves to > confuse. Is there a way for me to replace that message with my own and, if > so, how do I check for the violation and where would I put the error > message? At the moment it comes up when they click the "done" button, which > seems like a good place. > > Thanks, > Gina > > p.s. Please don't chastise me for perceived primary key protocol violations. > > _________________________________________________________________ > Send a QuickGreet with MSN Messenger > http://www.msnmessenger-download.com/tracking/cdp_games > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Mon Nov 17 13:02:55 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Mon, 17 Nov 2003 14:02:55 -0500 Subject: [AccessD] Primary Key Violation Message-ID: Gina, Without chastising...hope this helps. Mark > how do I check for the violation Trap for error 2627, I believe. If this is not the correct error number, make the corrections in the code below. > Is there a way for me to replace that message with my own Yes. > where would I put the error message? In the error handler for the event. Something along the lines of: *************************************** 'A constant for the error number Const cErrDupPrimaryKey = 2627 FunctionExit: On Error Resume Next Exit Function ErrHandler: Select Case Err.Number Case cErrDupPrimaryKey 2627 'Insert your custom MsgBox here... MsgBox "Duplicate Primary Key. Please re-enter." _ , vbExclamation, "ErrHandler" Resume Next Case Else MsgBox "The application encountered an unexpected " & _ "error #" & Err.Number & " with message string '" & _ Err.Description & "'", _ vbExclamation, "ErrHandler" End Select Resume FunctionExit End Function *************************************** -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Monday, November 17, 2003 1:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Primary Key Violation I've got a seemingly stupid question, but I can't figure it out. I've got a form that collects a staff member's first and last name and uses that combination as a primary key (unfortunately, no one can remember their employee ID and we don't collect SSN or anything unique they could enter). If they violate the exclusivity of that first/last name combination, they get the convoluted error message that Access puts out which only serves to confuse. Is there a way for me to replace that message with my own and, if so, how do I check for the violation and where would I put the error message? At the moment it comes up when they click the "done" button, which seems like a good place. Thanks, Gina p.s. Please don't chastise me for perceived primary key protocol violations. _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 13:07:58 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 13:07:58 -0600 Subject: [AccessD] OT: Primary Key Violation Message-ID: No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina From: "Martin Reid" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 10:59:09 -0800 But out of interest we have three Martin Reids in work. How would you create the PK then? Martin _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games From serbach at new.rr.com Mon Nov 17 13:34:17 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 17 Nov 2003 13:34:17 -0600 Subject: [AccessD] Primary Key Violation Message-ID: <20031117133417.776806128.serbach@new.rr.com> Gina, Since Access doesn't have an On Key Violation event, you could put code that handles it in the On Error event. The numeric code for Duplicate Key is 3022. The On Error event procedure has two parameters: DataErr, the error number, and Response, what you tell Access to do about the error. If you have a Select Case DataErr statement in your On Error event code, then you can trap for 3022 and present your own message. Then you can return acDataErrContinue to tell Access to short-circuit the normal duplicate key error message. There's a good example of this in the Access 2000 Developer's Handbook by Getz, Litwin, and Gilbert. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. > ------------Original Message------------ > From: Gina Hoopes > To: AccessD at databaseadvisors.com > Date: Mon, Nov-17-2003 12:48 PM > Subject: [AccessD] Primary Key Violation > > I've got a seemingly stupid question, but I can't figure it out. I've got a > form that collects a staff member's first and last name and uses that > combination as a primary key (unfortunately, no one can remember their > employee ID and we don't collect SSN or anything unique they could enter). > If they violate the exclusivity of that first/last name combination, they > get the convoluted error message that Access puts out which only serves to > confuse. Is there a way for me to replace that message with my own and, if > so, how do I check for the violation and where would I put the error > message? At the moment it comes up when they click the "done" button, which > seems like a good place. > > Thanks, > Gina > > p.s. Please don't chastise me for perceived primary key protocol violations. > > _________________________________________________________________ > Send a QuickGreet with MSN Messenger > http://www.msnmessenger-download.com/tracking/cdp_games > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Mon Nov 17 13:34:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 11:34:08 -0800 Subject: [AccessD] OT: Primary Key Violation Message-ID: Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. Do yourself a favor and use an artificial key rather than the staff names. You can still create a unique key with the name and something like their work phone number, which you should surely be able to collect. Charlotte Foust -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Monday, November 17, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Primary Key Violation No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina From: "Martin Reid" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 10:59:09 -0800 But out of interest we have three Martin Reids in work. How would you create the PK then? Martin _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Mon Nov 17 13:40:02 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 17 Nov 2003 11:40:02 -0800 Subject: [AccessD] OT: Primary Key Violation Message-ID: <657FB70438B7D311AF320090279C1801026D7CF8@EXCHMAIL> Famous last words... ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes Sent: Monday, November 17, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Primary Key Violation No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina From: "Martin Reid" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 10:59:09 -0800 But out of interest we have three Martin Reids in work. How would you create the PK then? Martin _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 13:52:43 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 13:52:43 -0600 Subject: [AccessD] Primary Key Violation Message-ID: I am actually using an AutoNumber for an ID that links them to the other pertinent tables, but when they go to enter or edit their data, they don't know this number so if they've already put in their data and they attempt to do it again instead of editing what's already there, I can't ask them for anything but their name to check if they've already entered data. I'm open to any better suggestions. Thanks for your help, Gina From: "Charlotte Foust" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 11:34:08 -0800 Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. Do yourself a favor and use an artificial key rather than the staff names. You can still create a unique key with the name and something like their work phone number, which you should surely be able to collect. Charlotte Foust -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Monday, November 17, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Primary Key Violation No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina _________________________________________________________________ MSN Shopping upgraded for the holidays! Snappier product search... http://shopping.msn.com From john at winhaven.net Mon Nov 17 14:41:29 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 14:41:29 -0600 Subject: [AccessD] Primary Key Violation In-Reply-To: Message-ID: Gina, Not sure I understand everything you're doing here but here's a couple of ideas: present a listbox or combobox of existing names to choose from, If they can't find it then let them add a new name. If their name exists make them use a middle intial. If that exists make them use the full middle name, if that exists make them add their lucky number to the end, if that doesn't work then make them add their... :o) If this is on their personal PCs add a column to the table which holds their windows login then use that to identify them if its present and then present their full name on the screen in a form they can relate to. (lookup their name for them based on windows login). If the login is not present then make them enter a new name. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes > Sent: Monday, November 17, 2003 1:53 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Primary Key Violation > > > I am actually using an AutoNumber for an ID that links them to the other > pertinent tables, but when they go to enter or edit their data, > they don't > know this number so if they've already put in their data and they > attempt to > do it again instead of editing what's already there, I can't ask them for > anything but their name to check if they've already entered data. > I'm open > to any better suggestions. > > Thanks for your help, > Gina > > > From: "Charlotte Foust" > Reply-To: Access Developers discussion and problem > solving > To: "Access Developers discussion and problem > solving" > Subject: RE: [AccessD] OT: Primary Key Violation > Date: Mon, 17 Nov 2003 11:34:08 -0800 > > Gina, > > There is no such thing as a one-time use application, trust me. If it > works, they'll want to keep using it. Do yourself a favor and use an > artificial key rather than the staff names. You can still create a > unique key with the name and something like their work phone number, > which you should surely be able to collect. > > Charlotte Foust > > -----Original Message----- > From: Gina Hoopes [mailto:hoopesg at hotmail.com] > Sent: Monday, November 17, 2003 11:08 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Primary Key Violation > > > No offense taken, Martin, I've seen the carnage. Fortunately this is a > one-time use db that I have to put together quickly and we don't have > any > staff members with the same name. This time ... > > Gina > > _________________________________________________________________ > MSN Shopping upgraded for the holidays! Snappier product search... > http://shopping.msn.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From SP1KEMAG00 at aol.com Mon Nov 17 14:54:17 2003 From: SP1KEMAG00 at aol.com (SP1KEMAG00) Date: Mon, 17 Nov 2003 20:54:17 -0000 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: <002101c3ad4c$f9746360$9170bdac@mycomputer> I've disabled the shift-key completely on a couple of my more recents dbs and either used a separate admin file to lock/unlock the file and/or built in some sort of backdoor (typically only available to my logon id). This has been more out of interest than to stop noisy users though - I'm not sure there's any that even know about the shift-key let alone anything with any tighter security! Shaun -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of StaRKeY Sent: 16 November 2003 20:01 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Well actually I haven't been reading for a long time. After you mentioned this doc I started reading it but there's nothing I didn't already know. Usually I don't make use of the workgroup file because I find a user-defined security more flexible and easier to maintain. Code protection is not the issue for me and on the other hand I do not really want to use the 'owner permission' stuff. The shift-key feature is enough in combination with an mde though it would be nicer to have it locked tight. I guess this is where VB steps in;-) Thanks, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zondag 16 november 2003 01:02 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Eric, Ah yes, I see now... Nope your out of luck... but I guess you know that the db is not really going to be secure... You have read the "SECFAQ97" White papers correct? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 16-11-2003 21:01:27 avast! is copyright (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 ssharkins at bellsouth.net Mon Nov 17 15:00:59 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 17 Nov 2003 16:00:59 -0500 Subject: [AccessD] Primary Key Violation References: Message-ID: <010c01c3ad4d$e9e23930$210110ac@SUSANONE> Or, how about avoiding the problem in the first place? I'm assuming that the employee name is only entered once -- the first time the employee encounters this particular application? Is there anyway you can just enter all the employee names now -- and then just let them choose theirs, as suggested below. Of course, that means someone must update the database when a new employee is hired, but that's not that unusual. Susan H. > Gina, > Not sure I understand everything you're doing here but here's a couple of > ideas: > present a listbox or combobox of existing names to choose from, If they > can't find it then let them add a new name. > > If their name exists make them use a middle intial. If that exists make them > use the full middle name, if that exists make them add their lucky number to > the end, if that doesn't work then make them add their... > :o) > > If this is on their personal PCs add a column to the table which holds their > windows login then use that to identify them if its present and then present > their full name on the screen in a form they can relate to. (lookup their > name for them based on windows login). If the login is not present then make > them enter a new name. > > HTH > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes > > Sent: Monday, November 17, 2003 1:53 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Primary Key Violation > > > > > > I am actually using an AutoNumber for an ID that links them to the other > > pertinent tables, but when they go to enter or edit their data, > > they don't > > know this number so if they've already put in their data and they > > attempt to > > do it again instead of editing what's already there, I can't ask them for > > anything but their name to check if they've already entered data. > > I'm open > > to any better suggestions. > > > > Thanks for your help, > > Gina > > > > > > From: "Charlotte Foust" > > Reply-To: Access Developers discussion and problem > > solving > > To: "Access Developers discussion and problem > > solving" > > Subject: RE: [AccessD] OT: Primary Key Violation > > Date: Mon, 17 Nov 2003 11:34:08 -0800 > > > > Gina, > > > > There is no such thing as a one-time use application, trust me. If it > > works, they'll want to keep using it. Do yourself a favor and use an > > artificial key rather than the staff names. You can still create a > > unique key with the name and something like their work phone number, > > which you should surely be able to collect. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Gina Hoopes [mailto:hoopesg at hotmail.com] > > Sent: Monday, November 17, 2003 11:08 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] OT: Primary Key Violation > > > > > > No offense taken, Martin, I've seen the carnage. Fortunately this is a > > one-time use db that I have to put together quickly and we don't have > > any > > staff members with the same name. This time ... > > > > Gina > > > > _________________________________________________________________ > > MSN Shopping upgraded for the holidays! Snappier product search... > > http://shopping.msn.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Mon Nov 17 14:03:56 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 13:03:56 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <178810-220031111720356963@christopherhawkins.com> Good morning! I just got a shiny new development box at work and I'm excited. So far the only snag is that my install of Access 2003 doesn't seem to recognize the Visual SourceSafe 6.0d installed on the same machine. Ordinarily, Access would display a Source Safe item on it's Tools menu. Mine does not. Is there a registry hack or some such that I need to put in place to make these two play nicely together? -Christopher Hawkins- From cfoust at infostatsystems.com Mon Nov 17 15:41:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 13:41:42 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: The VSS add-in for earlier versions came with the ODE. Since there isn't any such animal in 2003, I'm not sure where that leaves those of us who use Source Safe. It's an interesting question, though, and I hope someone on the list will be able to answer the question before I put 2003 on my machine. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2003 integration problem with VSS Good morning! I just got a shiny new development box at work and I'm excited. So far the only snag is that my install of Access 2003 doesn't seem to recognize the Visual SourceSafe 6.0d installed on the same machine. Ordinarily, Access would display a Source Safe item on it's Tools menu. Mine does not. Is there a registry hack or some such that I need to put in place to make these two play nicely together? -Christopher Hawkins- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 16:34:13 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 16:34:13 -0600 Subject: [AccessD] Primary Key Violation Message-ID: This is the perfect solution, John (the last part, I mean). I can grab their user ID from their logon and that eliminates the need for them to enter it. Thanks!! Gina From: "John Bartow" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Primary Key Violation Date: Mon, 17 Nov 2003 14:41:29 -0600 Gina, Not sure I understand everything you're doing here but here's a couple of ideas: present a listbox or combobox of existing names to choose from, If they can't find it then let them add a new name. If their name exists make them use a middle intial. If that exists make them use the full middle name, if that exists make them add their lucky number to the end, if that doesn't work then make them add their... :o) If this is on their personal PCs add a column to the table which holds their windows login then use that to identify them if its present and then present their full name on the screen in a form they can relate to. (lookup their name for them based on windows login). If the login is not present then make them enter a new name. HTH John B. _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.) From sgeller at cce.umn.edu Mon Nov 17 16:56:26 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 17 Nov 2003 16:56:26 -0600 Subject: [AccessD] VSS Question Message-ID: I just started using VSS with my ADP file (this does work by the way). I'm wondering what I need to do when I release this to my users? Is there an easy way to disconnect my application from VSS? --Susan Susan B. Geller 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 john at winhaven.net Mon Nov 17 17:02:51 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 17:02:51 -0600 Subject: [AccessD] Primary Key Violation In-Reply-To: Message-ID: Glad I could help! JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes > Sent: Monday, November 17, 2003 4:34 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Primary Key Violation > > > This is the perfect solution, John (the last part, I mean). I can grab > their user ID from their logon and that eliminates the need for them to > enter it. Thanks!! > > Gina > > > From: "John Bartow" > Reply-To: Access Developers discussion and problem > solving > To: "Access Developers discussion and problem > solving" > Subject: RE: [AccessD] Primary Key Violation > Date: Mon, 17 Nov 2003 14:41:29 -0600 > > Gina, > Not sure I understand everything you're doing here but here's a couple of > ideas: > present a listbox or combobox of existing names to choose from, If they > can't find it then let them add a new name. > > If their name exists make them use a middle intial. If that > exists make them > use the full middle name, if that exists make them add their > lucky number to > the end, if that doesn't work then make them add their... > :o) > > If this is on their personal PCs add a column to the table which > holds their > windows login then use that to identify them if its present and > then present > their full name on the screen in a form they can relate to. (lookup their > name for them based on windows login). If the login is not > present then make > them enter a new name. > > HTH > John B. > > _________________________________________________________________ > Frustrated with dial-up? Get high-speed for as low as $26.95. > https://broadband.msn.com (Prices may vary by service area.) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Mon Nov 17 17:02:32 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 17 Nov 2003 18:02:32 -0500 Subject: [AccessD] Primary Key Violation In-Reply-To: Message-ID: Gina, Not to chastise, but it is important to distinguish between "primary key" and "unique index". 1) A unique index is an index set on one or more columns (fields) to prevent entering the same data in that field or fields. 2) A primary key is used to fill foreign keys in child tables, which creates the "link" between parent / child tables (records). Understanding this, then understand that Access automatically sets up a unique index on any field / set of fields used as a PK, i.e. has the key symbol next to it / them. So it often APPEARS that the PK is a unique index, but they are in fact two completely different things. I am not going to go into the natural vs artificial key thing, there is ample coverage in the archives. It appears from another message from you where you discuss an autonumber field, that you are actually talking about a unique index, not a PK. The autonumber appears to be your PK (and has a unique index on it as well we assume), and then you somehow created a unique index on the set of fields (last name / first name) such that identical data cannot be entered in these fields taken as a whole. Now, to your problem. There is no way to test for the unique index being violated (identical info) until the point where you attempt to store the data. At that point you see the errors you indicate generated by JET. Other people have already discussed trapping the errors which is the "after the fact" way of doing things. Personally, I don't like that method because it implies you have already entered a TON of data (address, birthday, sexual preferences, etc. ad nausium) and this sorely pisses off the user to have to enter all that stuff only to be told that it was already in there when at the very end they try to save it. It is therefore preferable to take the info in the unique index and "look it up" somehow after just that much has been entered, in effect bypassing entering anything that doesn't absolutely have to be entered. One list member discussed the idea of a combo to see if it exists already. That works well and is widely used. Another way is to have a search screen where wild cards can be used, particularly if they are entering names from handwritten lists where spelling is suspect. This allows getting a "set" of records based on what is already entered, and visually inspecting the set to see if the one desired is in it etc. So my answer to you is no NOT let them get to the point where they get the error, but rather use some form of search and if not found, then enter the data. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes Sent: Monday, November 17, 2003 1:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Primary Key Violation I've got a seemingly stupid question, but I can't figure it out. I've got a form that collects a staff member's first and last name and uses that combination as a primary key (unfortunately, no one can remember their employee ID and we don't collect SSN or anything unique they could enter). If they violate the exclusivity of that first/last name combination, they get the convoluted error message that Access puts out which only serves to confuse. Is there a way for me to replace that message with my own and, if so, how do I check for the violation and where would I put the error message? At the moment it comes up when they click the "done" button, which seems like a good place. Thanks, Gina p.s. Please don't chastise me for perceived primary key protocol violations. _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 17 17:17:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 15:17:38 -0800 Subject: [AccessD] VSS Question Message-ID: With an mdb, you compact a copy out of the source safe version, and it prompts you to see if you want to remove it from source safe. I've never tried it with an ADP, so maybe someone else can answer that question. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, November 17, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] VSS Question I just started using VSS with my ADP file (this does work by the way). I'm wondering what I need to do when I release this to my users? Is there an easy way to disconnect my application from VSS? --Susan Susan B. Geller 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 clh at christopherhawkins.com Mon Nov 17 17:40:30 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 16:40:30 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <293910-2200311117234030708@christopherhawkins.com> There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those >of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 >doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 17 17:46:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 15:46:06 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: There's a specific set of tools for Access 2003 as well. That may be where the hooks are found. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 3:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Nov 17 17:52:28 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 17 Nov 2003 17:52:28 -0600 Subject: [AccessD] VSS Question Message-ID: Thanks, Charlotte. That works with ADP file, too. --Susan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 17, 2003 5:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] VSS Question With an mdb, you compact a copy out of the source safe version, and it prompts you to see if you want to remove it from source safe. I've never tried it with an ADP, so maybe someone else can answer that question. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, November 17, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] VSS Question I just started using VSS with my ADP file (this does work by the way). I'm wondering what I need to do when I release this to my users? Is there an easy way to disconnect my application from VSS? --Susan Susan B. Geller 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 clh at christopherhawkins.com Mon Nov 17 18:56:52 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 17:56:52 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <245790-220031121805652173@christopherhawkins.com> What tools are you referring to? There must be a CD I haven't found someplace in this MSN subscription. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 15:46:06 -0800 >There's a specific set of tools for Access 2003 as well. That may be >where the hooks are found. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 3:41 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >There is a "Visual Studio.NET Tools for Microsoft Office 2003", but >it >does not appear to be anything like the ODE we have all come to know. > >I understand that MS has been helping SourceGear market it's Vault >product - a product that was specifically designed to be a >replacement >for VSS. I wonder if MS has given up on VSS? > >-C- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 13:41:42 -0800 > >>The VSS add-in for earlier versions came with the ODE. Since there >>isn't any such animal in 2003, I'm not sure where that leaves those >of >>us who use Source Safe. It's an interesting question, though, and I >>hope someone on the list will be able to answer the question before >I >>put 2003 on my machine. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 12:04 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Access 2003 integration problem with VSS >> >> >>Good morning! I just got a shiny new development box at work and >I'm >>excited. So far the only snag is that my install of Access 2003 >doesn't >>seem to recognize the Visual SourceSafe 6.0d installed on the same >>machine. Ordinarily, Access would display a Source Safe item on >it's >>Tools menu. Mine does not. >> >>Is there a registry hack or some such that I need to put in place >to >>make these two play nicely together? >> >>-Christopher Hawkins- >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 17 19:23:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 17:23:03 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: Access 2003 Developer Extensions, part of Visual Studio Tools for the Microsoft Office System http://www.msdn.microsoft.com/office/technologyinfo/devtools/accessexten sions/default.aspx Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS What tools are you referring to? There must be a CD I haven't found someplace in this MSN subscription. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 15:46:06 -0800 >There's a specific set of tools for Access 2003 as well. That may be >where the hooks are found. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 3:41 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >There is a "Visual Studio.NET Tools for Microsoft Office 2003", but >it >does not appear to be anything like the ODE we have all come to know. > >I understand that MS has been helping SourceGear market it's Vault >product - a product that was specifically designed to be a replacement >for VSS. I wonder if MS has given up on VSS? > >-C- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 13:41:42 -0800 > >>The VSS add-in for earlier versions came with the ODE. Since there >>isn't any such animal in 2003, I'm not sure where that leaves those >of >>us who use Source Safe. It's an interesting question, though, and I >>hope someone on the list will be able to answer the question before >I >>put 2003 on my machine. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 12:04 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Access 2003 integration problem with VSS >> >> >>Good morning! I just got a shiny new development box at work and >I'm >>excited. So far the only snag is that my install of Access 2003 >doesn't >>seem to recognize the Visual SourceSafe 6.0d installed on the same >>machine. Ordinarily, Access would display a Source Safe item on >it's >>Tools menu. Mine does not. >> >>Is there a registry hack or some such that I need to put in place >to >>make these two play nicely together? >> >>-Christopher Hawkins- >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Mon Nov 17 20:19:35 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 19:19:35 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <410-220031121821935986@christopherhawkins.com> Hm. That's the same Visual Studio Tools package I installed on my new machine, but I don't see Access Extensions anywhere. Hm. Time for a reinstall! -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 17:23:03 -0800 >Access 2003 Developer Extensions, part of Visual Studio Tools for >the >Microsoft Office System >http://www.msdn.microsoft.com/office/technologyinfo/devtools/accessex >ten >sions/default.aspx > > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 4:57 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >What tools are you referring to? There must be a CD I haven't found >someplace in this MSN subscription. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 15:46:06 -0800 > >>There's a specific set of tools for Access 2003 as well. That may >be >>where the hooks are found. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 3:41 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >> >> >>There is a "Visual Studio.NET Tools for Microsoft Office 2003", but >>it >>does not appear to be anything like the ODE we have all come to >know. >> >>I understand that MS has been helping SourceGear market it's Vault >>product - a product that was specifically designed to be a >replacement >>for VSS. I wonder if MS has given up on VSS? >> >>-C- >> >>---- Original Message ---- >>From: cfoust at infostatsystems.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >>Date: Mon, 17 Nov 2003 13:41:42 -0800 >> >>>The VSS add-in for earlier versions came with the ODE. Since there >>>isn't any such animal in 2003, I'm not sure where that leaves >those >>of >>>us who use Source Safe. It's an interesting question, though, and >I >>>hope someone on the list will be able to answer the question before >>I >>>put 2003 on my machine. >>> >>>Charlotte Foust >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Monday, November 17, 2003 12:04 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Access 2003 integration problem with VSS >>> >>> >>>Good morning! I just got a shiny new development box at work and >>I'm >>>excited. So far the only snag is that my install of Access 2003 >>doesn't >>>seem to recognize the Visual SourceSafe 6.0d installed on the same >>>machine. Ordinarily, Access would display a Source Safe item on >>it's >>>Tools menu. Mine does not. >>> >>>Is there a registry hack or some such that I need to put in place >>to >>>make these two play nicely together? >>> >>>-Christopher Hawkins- >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >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 Mon Nov 17 20:48:16 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 18 Nov 2003 13:48:16 +1100 Subject: [AccessD] A2K: Access Security via a browser References: <2F8793082E00D4119A1700B0D0216BF802227577@main2.marlow.com> Message-ID: <019e01c3ad7e$6aeac080$3c619a89@DDICK> Thanks Drew I have passed this onto her Have a great day Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 15, 2003 5:03 AM Subject: RE: [AccessD] A2K: Access Security via a browser > Certainly not impossible, but quite frankly, it would be easier to just use > Terminal Server, Citrix, or Remote Administrator, then to go and create what > would be a pretty complex ASP site. > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, November 13, 2003 5:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: Access Security via a browser > > > Hi Drew > Thanks for the reply > I mean setting permissions, creating users and groups, changing passwords, > etc, > as you suggested. > > Basically she would like interfacing with Access Security and totally > managing, at every > level via a browser, whatever you can manage whilst sitting directly in from > of the System.mdw file > > In relation to John Colby's Poll on Access Security I am a 14. Never touched > the stuff and > am vaguely aware that it exists. So if it seems I am asking the impossible > because I don't know > any better it's because...I don't know any better :-)) > > Many thanks for the reply > > Darren > > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 14, 2003 5:40 AM > Subject: RE: [AccessD] A2K: Access Security via a browser > > > > What do you mean Darren. Do you mean like setting permissions, creating > > users and groups, changing passwords, etc? Or simply logging into a > secured > > database? > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Wednesday, November 12, 2003 6:48 PM > > To: AccessD List > > Subject: [AccessD] A2K: Access Security via a browser > > > > > > Hello all > > I have a Web Developer friend asking me if anyone knows of some useful > > URL's that will show how to or give examples of administering Access > > security via a browser. > > > > She has Access Security implemented and can administer it fine from the > > local PC via the > > 'normal' means, she just wants to do it via the web > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 17 21:41:52 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 21:41:52 -0600 Subject: [AccessD] Message-ID: I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB From DWUTKA at marlow.com Mon Nov 17 21:53:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 17 Nov 2003 21:53:19 -0600 Subject: [AccessD] Message-ID: <2F8793082E00D4119A1700B0D0216BF80222758D@main2.marlow.com> "SELECT " & strNewEventName & " AS fldName, tblEvent." & _ Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, November 17, 2003 9:42 PM To: AccessD Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 17 21:53:36 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 17 Nov 2003 22:53:36 -0500 Subject: [AccessD] In-Reply-To: Message-ID: "SELECT " & strNewEventName & " AS fldName This assumes that you want the contents of strNewEventName "interpreted" and that value of the variable placed in the string. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, November 17, 2003 10:42 PM To: AccessD Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Mon Nov 17 21:56:36 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Tue, 18 Nov 2003 14:56:36 +1100 Subject: [AccessD] Message-ID: "SELECT " & strNewEventName & " AS fldName, tblEvent." & _ Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 "John Bartow" Sent by: accessd-bounces at databaseadvisors.com 18/11/2003 02:41 PM Please respond to Access Developers discussion and problem solving To: "AccessD" cc: Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From Developer at UltraDNT.com Mon Nov 17 21:59:48 2003 From: Developer at UltraDNT.com (Developer) Date: Mon, 17 Nov 2003 22:59:48 -0500 Subject: [AccessD] In-Reply-To: Message-ID: <000501c3ad88$68e8ca70$7001a8c0@COA3> "SELECT " & strNewEventName & " AS fldName, tblEvent." & _ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, November 17, 2003 10:42 PM To: AccessD Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 17 22:30:02 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 17 Nov 2003 23:30:02 -0500 Subject: [AccessD] Excel warning on save Message-ID: I am getting a spreadsheet in an old format. In order to get it to a version that will link into Access, I renamed the sheet inside and saved. It pops up a warning about "was in 2.x, do you want to save in xxx etc.". I would like to avoid that warning (just save it). Anyone know how to turn off that warning? Is there any "direct way" to modify it such that it is now a current version of Excel? John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Nov 17 22:38:10 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 22:38:10 -0600 Subject: [AccessD] In-Reply-To: Message-ID: Thanks everyone! That was quick, went up for another cup of mud and had 4 answers already. Unfortunatley, you all confirmed that I don't have brainlock. It was my original syntax, (and I think the 5th, 12th and 17th attempt's syntaxes) Now I have to troubleshoot this thing as to why the SQL statement is causing an error. :o( Thanks again. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Monday, November 17, 2003 9:42 PM > To: AccessD > Subject: [AccessD] > > > I need someone to unlock my brainjam! > > "strNewEventName" is a string variable I need to insert in this statement > and after a half an hour I can't seem to get the syntax correct. > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > "fldEvTypeID, fldOccur, fldLocation, " & _ > "fldDesc, fldDeptID, fldRecorded, " & _ > "fldStaffID ) " & _ > "SELECT strNewEventName AS fldName, tblEvent." & _ > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > "fldDeptID, tblEvent.fldRecorded, " & _ > "tblEvent.fldStaffID " & _ > "FROM tblEvent;" > > TIA > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Mon Nov 17 23:08:45 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 23:08:45 -0600 Subject: [AccessD] In-Reply-To: Message-ID: Well, in a way you all did remove brainlock. Got me off of checking the syntax and onto troubleshooting it, the way I should've been. I needed to add some single quotes when building the string variable "strNewEventName". Thanks! jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Monday, November 17, 2003 10:38 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] > > > Thanks everyone! > That was quick, went up for another cup of mud and had 4 answers already. > > Unfortunatley, you all confirmed that I don't have brainlock. It was my > original syntax, (and I think the 5th, 12th and 17th attempt's syntaxes) > > Now I have to troubleshoot this thing as to why the SQL statement > is causing > an error. > :o( > > Thanks again. > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Monday, November 17, 2003 9:42 PM > > To: AccessD > > Subject: [AccessD] > > > > > > I need someone to unlock my brainjam! > > > > "strNewEventName" is a string variable I need to insert in this > statement > > and after a half an hour I can't seem to get the syntax correct. > > > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > > "fldEvTypeID, fldOccur, fldLocation, " & _ > > "fldDesc, fldDeptID, fldRecorded, " & _ > > "fldStaffID ) " & _ > > "SELECT strNewEventName AS fldName, tblEvent." & _ > > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > > "fldDeptID, tblEvent.fldRecorded, " & _ > > "tblEvent.fldStaffID " & _ > > "FROM tblEvent;" > > > > 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 pcs at azizaz.com Mon Nov 17 23:23:08 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Tue, 18 Nov 2003 15:23:08 +1000 Subject: [AccessD] Excel Question References: Message-ID: <000901c3ad94$0e5432f0$be0e90cb@prosys.local> Hi, anyone with a quick answer to this one: Excel appears to treat blank cell as zero I've created a function that tests the value in a cell (say A1) using Select Case and delivers a value in another cell (say B1) depending on value in cell. The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message if any other value is entered. So far so good! Now, the annoying part is that a blank value - null - is treated as ZERO by the function. How do I turn this off - so that a the value of a blank cell is treated as null ??? Regards Borge, From pcs at azizaz.com Mon Nov 17 23:46:11 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Tue, 18 Nov 2003 15:46:11 +1000 Subject: [AccessD] References: Message-ID: <001f01c3ad97$4679a4f0$be0e90cb@prosys.local> I don't know if this is relevant for you, but if the textstring that your string variable holds may contain single quote (like in "Sandy's Order") you need to handle that as well in your sql string.... regards Borge ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 18, 2003 3:08 PM Subject: RE: [AccessD] > Well, in a way you all did remove brainlock. Got me off of checking the > syntax and onto troubleshooting it, the way I should've been. I needed to > add some single quotes when building the string variable "strNewEventName". > > Thanks! > jb > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Monday, November 17, 2003 10:38 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] > > > > > > Thanks everyone! > > That was quick, went up for another cup of mud and had 4 answers already. > > > > Unfortunatley, you all confirmed that I don't have brainlock. It was my > > original syntax, (and I think the 5th, 12th and 17th attempt's syntaxes) > > > > Now I have to troubleshoot this thing as to why the SQL statement > > is causing > > an error. > > :o( > > > > Thanks again. > > JB > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > > Sent: Monday, November 17, 2003 9:42 PM > > > To: AccessD > > > Subject: [AccessD] > > > > > > > > > I need someone to unlock my brainjam! > > > > > > "strNewEventName" is a string variable I need to insert in this > > statement > > > and after a half an hour I can't seem to get the syntax correct. > > > > > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > > > "fldEvTypeID, fldOccur, fldLocation, " & _ > > > "fldDesc, fldDeptID, fldRecorded, " & _ > > > "fldStaffID ) " & _ > > > "SELECT strNewEventName AS fldName, tblEvent." & _ > > > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > > > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > > > "fldDeptID, tblEvent.fldRecorded, " & _ > > > "tblEvent.fldStaffID " & _ > > > "FROM tblEvent;" > > > > > > 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 Mon Nov 17 23:55:19 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 23:55:19 -0600 Subject: [AccessD] In-Reply-To: <001f01c3ad97$4679a4f0$be0e90cb@prosys.local> Message-ID: Borge, Thanks, that's a good point. I'm padding the variable with quotes after I build it to cover all possible problems. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Borge Steen > Hansen > Sent: Monday, November 17, 2003 11:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] > > > I don't know if this is relevant for you, but if the textstring that your > string variable holds may contain single quote (like in "Sandy's > Order") you > need to handle that as well in your sql string.... > regards > Borge > > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 18, 2003 3:08 PM > Subject: RE: [AccessD] > > > > Well, in a way you all did remove brainlock. Got me off of checking the > > syntax and onto troubleshooting it, the way I should've been. I > needed to > > add some single quotes when building the string variable > "strNewEventName". > > > > Thanks! > > jb > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > > Sent: Monday, November 17, 2003 10:38 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] > > > > > > > > > Thanks everyone! > > > That was quick, went up for another cup of mud and had 4 answers > already. > > > > > > Unfortunatley, you all confirmed that I don't have brainlock. > It was my > > > original syntax, (and I think the 5th, 12th and 17th > attempt's syntaxes) > > > > > > Now I have to troubleshoot this thing as to why the SQL statement > > > is causing > > > an error. > > > :o( > > > > > > Thanks again. > > > JB > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > John Bartow > > > > Sent: Monday, November 17, 2003 9:42 PM > > > > To: AccessD > > > > Subject: [AccessD] > > > > > > > > > > > > I need someone to unlock my brainjam! > > > > > > > > "strNewEventName" is a string variable I need to insert in this > > > statement > > > > and after a half an hour I can't seem to get the syntax correct. > > > > > > > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > > > > "fldEvTypeID, fldOccur, fldLocation, " & _ > > > > "fldDesc, fldDeptID, fldRecorded, " & _ > > > > "fldStaffID ) " & _ > > > > "SELECT strNewEventName AS fldName, tblEvent." & _ > > > > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > > > > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > > > > "fldDeptID, tblEvent.fldRecorded, " & _ > > > > "tblEvent.fldStaffID " & _ > > > > "FROM tblEvent;" > > > > > > > > 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 > > _______________________________________________ > 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 Nov 18 06:25:35 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue, 18 Nov 2003 06:25:35 -0600 Subject: [AccessD] Training Location Tables Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C99C@cntexchange.pgdp.usec.com> I am setting up a new database for training results. The records are entered by location, each location has a class & an instructor. Then they track each students comments about the class & instructor. I am confused on how to set up the table to link the location with the class. I created a tblLocation, tblInstructor, tblClasses. Would I need a tblClassDetails that would contain the DetailID PK, ClassID, InstructorID, & LocationID? Or would I need just a DetailID & LocationID (tblDetailLocation). If so, how do I connect that to the form to make the entries to the tblDetailLocation? Or do I just add each field, tblLocation, tblInstructor, tblClasses to the Main table that tracks the students comments? Virginia From paulawright at boddienoell.com Tue Nov 18 06:28:03 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 07:28:03 -0500 Subject: [AccessD] Problems closing XP Message-ID: I have an Access XP database calling Crystal Reports 8.5. I am desparate - I've looked everywhere I can think of and still no answers. I have a crystl32.ocx embedded in my subform. The main form is a switchboard. The problem is that the database will not shut down without using CTRL-ALT-DEL after calling a Crystal Report. I can open any subform (including the subform with the ocx) and close without problems, but as soon as I call the CR I have a problem shutting down. I call Crystal Reports from the subform. Here is a sample code: Private Sub PNL_Recap_Click() On Error GoTo Err_PNL_Recap_click Set db = CurrentDb Set rs = db.OpenRecordset("Page 1 Report") If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then DoCmd.Hourglass True Select Case Me.SelectRpt Case 1 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1.rpt" Case 2 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1 $.rpt" Case 3 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1 Totals.rpt" Case 4 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1Y.rpt" End Select CrystalReport3.Destination = 0 CrystalReport3.WindowState = 2 CrystalReport3.Action = 1 DoCmd.Hourglass False Else MsgBox "You must fill out fields in ADR/Occupancy." End If Set rs = Nothing Exit_PNL_Recap_click: Exit Sub Err_PNL_Recap_click: MsgBox Err.Number & " " & Err.Description & " /PNL_Recap_Click" Resume Exit_PNL_Recap_click End Sub At first I was able to take the focus off the subform before shutting down and that seemed to work, however that no longer works. I've been told that it may not actually be the CR causing the problem but something else. The problem is that it seems to work fine except when I open the CR. That seems to indicate that something is left hanging, but I don't know what and I don't know how to close the CR programmatically. Thank you Paula Wright From stuart at pacific.net.hk Tue Nov 18 06:43:39 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 18 Nov 2003 20:43:39 +0800 Subject: [AccessD] Problems closing XP In-Reply-To: Message-ID: <002701c3add1$97a021d0$5100a8c0@BITSNB02> I don't use crystal reports, but I'll take a stab and suggest that you may need to terminate the instance of crystal reports. If its embedded, I'm not really sure what you'd need to do, but for called objects you usually need to do something the following when you close the form: Set object = nothing So try Set CrystalReport3 = nothing In your form close event, and if that fails you may need to lookup your documentation on how to close it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paula Wright > Sent: Tuesday, 18 November, 2003 8:28 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Problems closing XP > > > I have an Access XP database calling Crystal Reports 8.5. I > am desparate - > I've looked everywhere I can think of and still no answers. > > I have a crystl32.ocx embedded in my subform. The main form is a > switchboard. The problem is that the database will not shut > down without > using CTRL-ALT-DEL after calling a Crystal Report. I can > open any subform > (including the subform with the ocx) and close without > problems, but as soon > as I call the CR I have a problem shutting down. > > I call Crystal Reports from the subform. Here is a sample code: > > Private Sub PNL_Recap_Click() > On Error GoTo Err_PNL_Recap_click > Set db = CurrentDb > Set rs = db.OpenRecordset("Page 1 Report") > If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then > DoCmd.Hourglass True > Select Case Me.SelectRpt > Case 1 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1.rpt" > Case 2 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > $.rpt" > Case 3 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > Totals.rpt" > Case 4 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1Y.rpt" > End Select > > CrystalReport3.Destination = 0 > CrystalReport3.WindowState = 2 > CrystalReport3.Action = 1 > > DoCmd.Hourglass False > Else > MsgBox "You must fill out fields in ADR/Occupancy." > End If > > Set rs = Nothing > > Exit_PNL_Recap_click: > Exit Sub > Err_PNL_Recap_click: > MsgBox Err.Number & " " & Err.Description & " /PNL_Recap_Click" > Resume Exit_PNL_Recap_click > End Sub > > At first I was able to take the focus off the subform before > shutting down > and that seemed to work, however that no longer works. I've > been told that > it may not actually be the CR causing the problem but > something else. The > problem is that it seems to work fine except when I open the > CR. That seems > to indicate that something is left hanging, but I don't know > what and I don't > know how to close the CR programmatically. > > Thank you > Paula Wright > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Tue Nov 18 07:06:05 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 18 Nov 2003 08:06:05 -0500 Subject: [AccessD] Excel Question Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8A8@TTNEXCHSRV1.hshhp.com> Borge, Can you use Excel's built in IsBlank function to determine the empty cell? HTH, Jim DeMarco -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Tuesday, November 18, 2003 12:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Question Hi, anyone with a quick answer to this one: Excel appears to treat blank cell as zero I've created a function that tests the value in a cell (say A1) using Select Case and delivers a value in another cell (say B1) depending on value in cell. The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message if any other value is entered. So far so good! Now, the annoying part is that a blank value - null - is treated as ZERO by the function. How do I turn this off - so that a the value of a blank cell is treated as null ??? Regards Borge, _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From viner at eunet.yu Tue Nov 18 07:16:57 2003 From: viner at eunet.yu (Ervin Brindza) Date: Tue, 18 Nov 2003 14:16:57 +0100 Subject: [AccessD] More subforms on the main form Message-ID: <003d01c3add6$5a484c40$0100a8c0@razvoj> Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin From paulawright at boddienoell.com Tue Nov 18 07:45:34 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 08:45:34 -0500 Subject: [AccessD] Problems closing XP Message-ID: Believe me, I've tried that and every other method I can think of to close it and I'm still not having any luck. Set CrystalReport3 = nothing gives me an Invalid Use of Property message. Other variations: CrystalReport3.exit - Object doesn't support this object or method CrystalReport3.Object.Exit - Object doesn't support this object or method CrystalReport3.Connection.Close - Object doesn't support this object or method CrystalReport3.Connection.Exit- Object doesn't support this object or method CrystalReport3.Object.Close - Object doesn't support this object or method I wish I could find documentation that addresses this situation. That's what I'm saying - I've looked EVERYWHERE I can think of and I cannot find any answers. I know that someone, somewhere has had to call Crystal Reports from Access before so there is a solution, I just need to make contact with the right person. -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Stuart Sanders Sent: Tue 11/18/2003 7:43 AM To: 'Access Developers discussion and problem solving' Cc: Subject: RE: [AccessD] Problems closing XP I don't use crystal reports, but I'll take a stab and suggest that you may need to terminate the instance of crystal reports. If its embedded, I'm not really sure what you'd need to do, but for called objects you usually need to do something the following when you close the form: Set object = nothing So try Set CrystalReport3 = nothing In your form close event, and if that fails you may need to lookup your documentation on how to close it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paula Wright > Sent: Tuesday, 18 November, 2003 8:28 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Problems closing XP > > > I have an Access XP database calling Crystal Reports 8.5. I > am desparate - > I've looked everywhere I can think of and still no answers. > > I have a crystl32.ocx embedded in my subform. The main form is a > switchboard. The problem is that the database will not shut > down without > using CTRL-ALT-DEL after calling a Crystal Report. I can > open any subform > (including the subform with the ocx) and close without > problems, but as soon > as I call the CR I have a problem shutting down. > > I call Crystal Reports from the subform. Here is a sample code: > > Private Sub PNL_Recap_Click() > On Error GoTo Err_PNL_Recap_click > Set db = CurrentDb > Set rs = db.OpenRecordset("Page 1 Report") > If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then > DoCmd.Hourglass True > Select Case Me.SelectRpt > Case 1 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1.rpt" > Case 2 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > $.rpt" > Case 3 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > Totals.rpt" > Case 4 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1Y.rpt" > End Select > > CrystalReport3.Destination = 0 > CrystalReport3.WindowState = 2 > CrystalReport3.Action = 1 > > DoCmd.Hourglass False > Else > MsgBox "You must fill out fields in ADR/Occupancy." > End If > > Set rs = Nothing > > Exit_PNL_Recap_click: > Exit Sub > Err_PNL_Recap_click: > MsgBox Err.Number & " " & Err.Description & " /PNL_Recap_Click" > Resume Exit_PNL_Recap_click > End Sub > > At first I was able to take the focus off the subform before > shutting down > and that seemed to work, however that no longer works. I've > been told that > it may not actually be the CR causing the problem but > something else. The > problem is that it seems to work fine except when I open the > CR. That seems > to indicate that something is left hanging, but I don't know > what and I don't > know how to close the CR programmatically. > > Thank you > Paula Wright > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Tue Nov 18 07:51:46 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Tue, 18 Nov 2003 08:51:46 -0500 Subject: [AccessD] Excel Question References: <000901c3ad94$0e5432f0$be0e90cb@prosys.local> Message-ID: <3FBA23F2.4050501@torchlake.com> Hi Borge, I ran into this when I was trying to automatically create a chart that would interpolate the values of an empty cell, rather than draw a sharp sawtooth. Here's what I found: if the function is evaluating the cell numerically, it sees an enpty cell as having the value of zero. What I ended up using was the following 'Copy only non-zero data from "onReadings" to "chartOnRead" Range("onReadings").Select ActiveCell.Select For x = 1 To Range("valToLookup").Count If ActiveCell.Value <> "" Then Selection.Copy ActiveCell.Offset(0, 4).Range("A1").Select Selection.PasteSpecial Paste:=xlPasteValues ActiveCell.Offset(1, -4).Range("A1").Select Else: ActiveCell.Offset(1, 0).Range("A1").Select End If Next x Application.CutCopyMode = False The significant line is - If ActiveCell.Value <> "" Then HTH Tina Borge Steen Hansen wrote: >Hi, >anyone with a quick answer to this one: > >Excel appears to treat blank cell as zero > >I've created a function that tests the value in a cell (say A1) using Select >Case and delivers a value in another cell (say B1) depending on value in >cell. > >The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message >if any other value is entered. > >So far so good! > >Now, the annoying part is that a blank value - null - is treated as ZERO by >the function. > > >How do I turn this off - so that a the value of a blank cell is treated as >null ??? > >Regards > > >Borge, > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From paulawright at boddienoell.com Tue Nov 18 07:52:33 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 08:52:33 -0500 Subject: [AccessD] More subforms on the main form Message-ID: I've used a main form to call several different subforms and I've also included tabs in the subform. Place a generic subform on the main form and change the subform being used; Me.genericsubformname.SourceObject = "Form Name" -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Ervin Brindza Sent: Tue 11/18/2003 8:16 AM To: AccessD at databaseadvisors.com Cc: Subject: [AccessD] More subforms on the main form Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From James at fcidms.com Tue Nov 18 08:29:33 2003 From: James at fcidms.com (James Barash) Date: Tue, 18 Nov 2003 09:29:33 -0500 Subject: [AccessD] Access 2003 integration problem with VSS In-Reply-To: Message-ID: When I attended the launch of Office 2003, one of the presenters said that, internally, Microsoft developers do not use VSS since they found that, in the words of the presenter, "it sucks". They have a different as yet unnamed, at least he wouldn't name it, product that should become a replacement for VSS but he would not give a timeline for public release. The .NET tools that were presented only worked with Excel and Word, nothing at all about Access2003. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, November 17, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 18 08:35:20 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 18 Nov 2003 08:35:20 -0600 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE142@TAPPEEXCH01> I think a fairly telling aspect of this story is that Microsoft does not use VSS for their own development. They have a homebrew program called SLM that they have used for several years now. -----Original Message----- From: James Barash [mailto:James at fcidms.com] Sent: Tuesday, November 18, 2003 8:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2003 integration problem with VSS When I attended the launch of Office 2003, one of the presenters said that, internally, Microsoft developers do not use VSS since they found that, in the words of the presenter, "it sucks". They have a different as yet unnamed, at least he wouldn't name it, product that should become a replacement for VSS but he would not give a timeline for public release. The .NET tools that were presented only worked with Excel and Word, nothing at all about Access2003. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, November 17, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From gustav at cactus.dk Tue Nov 18 08:58:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Nov 2003 15:58:14 +0100 Subject: [AccessD] Multiplatform Access "replacement" In-Reply-To: <6320718151.20030317144457@cactus.dk> References: <6320718151.20030317144457@cactus.dk> Message-ID: <5126293357.20031118155814@cactus.dk> Hi All The Access inspired tool, Rekall, is now available under GPL: http://www.thekompany.com/press_media/full.php3?Id=242 Rekall is here: http://www.thekompany.com/products/rekall/ I have no experience with it but it could be interesting, indeed if you have knowledge in Python. /gustav From liam at energyexhausts.co.uk Tue Nov 18 09:07:25 2003 From: liam at energyexhausts.co.uk (Liam Meadows) Date: Tue, 18 Nov 2003 15:07:25 -0000 Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB Message-ID: <125066531861D043863CE6453EE8509E017095@energys1.energy.local> I am trying to create a form Based on an SQL table but when I try and exit from the form sometimes I get an error saying "'Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". I have tried MSKB and changed the Persist Security Info to False in connection manager (File -> Connections -> All) and checked the registry setting as described in the MS KB but it still happens. Has anyone any idea how to resolve this ? Liam From markamatte at hotmail.com Tue Nov 18 09:48:19 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 18 Nov 2003 15:48:19 +0000 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize From Mark.Mitsules at ngc.com Tue Nov 18 09:59:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Tue, 18 Nov 2003 10:59:59 -0500 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: Microsoft Knowledge Base Article - 256847 Mark -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, November 18, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT:Map Netwrok Drive Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Nov 18 10:02:33 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 18 Nov 2003 11:02:33 -0500 Subject: [AccessD] acNewRec Message-ID: I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. From jeffrey.demulling at usbank.com Tue Nov 18 10:08:47 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 18 Nov 2003 10:08:47 -0600 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: The API should be: Connect: WNetAddConnection WNetAddConnection2 Disconnect: WNetCancelConnection WNetCancelConnection2 "Mark A Matte" To: accessd at databaseadvisors.com Sent by: cc: accessd-bounces at databasead Subject: [AccessD] OT:Map Netwrok Drive visors.com 11/18/2003 09:48 AM Please respond to "Access Developers discussion and problem solving" Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Tue Nov 18 10:17:01 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Tue, 18 Nov 2003 17:17:01 +0100 Subject: [AccessD] acNewRec In-Reply-To: Message-ID: <005201c3adef$66809e40$69fa2250@servercafe> Check the config in Access 2002: Default Open Mode : SHARED Default RecordLocking : EDITED RECORD When we install a new computer always check the main config from access (report, general, advanced, etc.) If this run, check in the main form if you used LOCK EDITED RECORD Good luck Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: martes, 18 de noviembre de 2003 17:03 To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Tue Nov 18 10:28:19 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Wed, 19 Nov 2003 00:28:19 +0800 Subject: [AccessD] Problems closing XP In-Reply-To: Message-ID: <003301c3adf0$fc3cdfb0$5100a8c0@BITSNB02> OK a couple of questions... You mentioned you embedded the ocx into the subform. Have you tested whether it works if you only call it from the main form? I did a quick search and found a reference to crviewer also being embedded (was in a discussion you started at UtterAccess). Have you tried testing what methods are availabel for crviewer if that is in fact embedded. If that handles the actual display part, perhaps it has a close/etc method. Finally is it actually possible to call the ocx from code without embedding? Ie add reference to the control and then use something along the lines of Dim crR As CrystalReport set crR = New CrystalReport Etc Sorry can't really offer much more since I don't have it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paula Wright > Sent: Tuesday, 18 November, 2003 9:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Problems closing XP > > > Believe me, I've tried that and every other method I can > think of to close it > and I'm still not having any luck. > > Set CrystalReport3 = nothing gives me an Invalid Use of > Property message. > > Other variations: > CrystalReport3.exit - Object doesn't support this object or method > CrystalReport3.Object.Exit - Object doesn't support this > object or method > CrystalReport3.Connection.Close - Object doesn't support this > object or > method > CrystalReport3.Connection.Exit- Object doesn't support this > object or method > > CrystalReport3.Object.Close - Object doesn't support this > object or method > > I wish I could find documentation that addresses this > situation. That's what > I'm saying - I've looked EVERYWHERE I can think of and I > cannot find any > answers. I know that someone, somewhere has had to call > Crystal Reports from > Access before so there is a solution, I just need to make > contact with the > right person. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com on behalf of Stuart > Sanders > Sent: Tue 11/18/2003 7:43 AM > To: 'Access Developers discussion and problem solving' > Cc: > Subject: RE: [AccessD] Problems closing XP > > > > I don't use crystal reports, but I'll take a stab and > suggest that > you may need > to terminate the instance of crystal reports. > > If its embedded, I'm not really sure what you'd need to > do, but for > called > objects you usually need to do something the following > when you close > the form: > Set object = nothing > > So try > Set CrystalReport3 = nothing > In your form close event, and if that fails you may > need to lookup > your > documentation on how to close it. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Paula Wright > > Sent: Tuesday, 18 November, 2003 8:28 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Problems closing XP > > > > > > I have an Access XP database calling Crystal Reports 8.5. I > > am desparate - > > I've looked everywhere I can think of and still no answers. > > > > I have a crystl32.ocx embedded in my subform. The > main form is a > > switchboard. The problem is that the database will not shut > > down without > > using CTRL-ALT-DEL after calling a Crystal Report. I can > > open any subform > > (including the subform with the ocx) and close without > > problems, but as soon > > as I call the CR I have a problem shutting down. > > > > I call Crystal Reports from the subform. Here is a > sample code: > > > > Private Sub PNL_Recap_Click() > > On Error GoTo Err_PNL_Recap_click > > Set db = CurrentDb > > Set rs = db.OpenRecordset("Page 1 Report") > > If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then > > DoCmd.Hourglass True > > Select Case Me.SelectRpt > > Case 1 > > CrystalReport3.ReportFileName = "c:\Hotel > Management > > System\page1.rpt" > > Case 2 > > CrystalReport3.ReportFileName = "c:\Hotel > > Management System\page1 > > $.rpt" > > Case 3 > > CrystalReport3.ReportFileName = "c:\Hotel > > Management System\page1 > > Totals.rpt" > > Case 4 > > CrystalReport3.ReportFileName = "c:\Hotel > Management > > System\page1Y.rpt" > > End Select > > > > CrystalReport3.Destination = 0 > > CrystalReport3.WindowState = 2 > > CrystalReport3.Action = 1 > > > > DoCmd.Hourglass False > > Else > > MsgBox "You must fill out fields in ADR/Occupancy." > > End If > > > > Set rs = Nothing > > > > Exit_PNL_Recap_click: > > Exit Sub > > Err_PNL_Recap_click: > > MsgBox Err.Number & " " & Err.Description & " > /PNL_Recap_Click" > > Resume Exit_PNL_Recap_click > > End Sub > > > > At first I was able to take the focus off the subform before > > shutting down > > and that seemed to work, however that no longer works. I've > > been told that > > it may not actually be the CR causing the problem but > > something else. The > > problem is that it seems to work fine except when I open the > > CR. That seems > > to indicate that something is left hanging, but I don't know > > what and I don't > > know how to close the CR programmatically. > > > > Thank you > > Paula Wright > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > From liz at symphonyinfo.com Tue Nov 18 10:36:17 2003 From: liz at symphonyinfo.com (Liz Doering) Date: Tue, 18 Nov 2003 10:36:17 -0600 Subject: [AccessD] acNewRec In-Reply-To: Message-ID: Mark, Have you checked for a corrupt record in the affected tables? It will usually show up with ####### in one field. Deleting the record clears up the mess. Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com 763-391-7400 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Tuesday, November 18, 2003 10:03 AM To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 18 10:43:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 08:43:32 -0800 Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB Message-ID: You need to error trap the ADO errors specifically and loop through the connection's errors collection to see what's going on. A lot of ADO errors are "silent" in Access. Charlotte Foust -----Original Message----- From: Liam Meadows [mailto:liam at energyexhausts.co.uk] Sent: Tuesday, November 18, 2003 7:07 AM To: Access Developers discussion and problem solving Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB I am trying to create a form Based on an SQL table but when I try and exit from the form sometimes I get an error saying "'Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". I have tried MSKB and changed the Persist Security Info to False in connection manager (File -> Connections -> All) and checked the registry setting as described in the MS KB but it still happens. Has anyone any idea how to resolve this ? Liam _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Tue Nov 18 10:43:22 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 18 Nov 2003 10:43:22 -0600 Subject: [AccessD] Sage RT script Message-ID: <200311181643.hAIGhY607970@databaseadvisors.com> Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek From cfoust at infostatsystems.com Tue Nov 18 10:51:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 08:51:00 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: I thought the Access tools were a separate download. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 6:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS Hm. That's the same Visual Studio Tools package I installed on my new machine, but I don't see Access Extensions anywhere. Hm. Time for a reinstall! -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 17:23:03 -0800 >Access 2003 Developer Extensions, part of Visual Studio Tools for >the >Microsoft Office System >http://www.msdn.microsoft.com/office/technologyinfo/devtools/accessex >ten >sions/default.aspx > > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 4:57 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >What tools are you referring to? There must be a CD I haven't found >someplace in this MSN subscription. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 15:46:06 -0800 > >>There's a specific set of tools for Access 2003 as well. That may >be >>where the hooks are found. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 3:41 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >> >> >>There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it >>does not appear to be anything like the ODE we have all come to >know. >> >>I understand that MS has been helping SourceGear market it's Vault >>product - a product that was specifically designed to be a >replacement >>for VSS. I wonder if MS has given up on VSS? >> >>-C- >> >>---- Original Message ---- >>From: cfoust at infostatsystems.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >>Date: Mon, 17 Nov 2003 13:41:42 -0800 >> >>>The VSS add-in for earlier versions came with the ODE. Since there >>>isn't any such animal in 2003, I'm not sure where that leaves >those >>of >>>us who use Source Safe. It's an interesting question, though, and >I >>>hope someone on the list will be able to answer the question before >>I >>>put 2003 on my machine. >>> >>>Charlotte Foust >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Monday, November 17, 2003 12:04 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Access 2003 integration problem with VSS >>> >>> >>>Good morning! I just got a shiny new development box at work and >>I'm >>>excited. So far the only snag is that my install of Access 2003 >>doesn't >>>seem to recognize the Visual SourceSafe 6.0d installed on the same >>>machine. Ordinarily, Access would display a Source Safe item on >>it's >>>Tools menu. Mine does not. >>> >>>Is there a registry hack or some such that I need to put in place >>to >>>make these two play nicely together? >>> >>>-Christopher Hawkins- >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 18 10:56:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 08:56:24 -0800 Subject: [AccessD] Sage RT script Message-ID: It sounds like there's something wrong with your script or with the shortcut it's installing. Are you using the Wise installer? We use SageKey and Wise and have for the last 3 (?) versions of Access (we skipped 2000) and don't have problems. I have Win2k on my personal machine and Office 2000 MOD and I don't have a problem with one of our apps installed on that machine. Charlotte Foust -----Original Message----- From: rfv at entelix.com [mailto:rfv at entelix.com] Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Tue Nov 18 11:35:15 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 12:35:15 -0500 Subject: [AccessD] Sage RT script Message-ID: Sagekey support is pretty good. I'd contact them. -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Tue 11/18/2003 11:56 AM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] Sage RT script It sounds like there's something wrong with your script or with the shortcut it's installing. Are you using the Wise installer? We use SageKey and Wise and have for the last 3 (?) versions of Access (we skipped 2000) and don't have problems. I have Win2k on my personal machine and Office 2000 MOD and I don't have a problem with one of our apps installed on that machine. Charlotte Foust -----Original Message----- From: rfv at entelix.com [mailto:rfv at entelix.com] Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db??s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Nov 18 11:33:14 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Tue, 18 Nov 2003 09:33:14 -0800 Subject: [AccessD] Sage RT script In-Reply-To: <200311181643.hAIGhY607970@databaseadvisors.com> Message-ID: <001d01c3adfa$242aa670$8500a8c0@CX615377a> The way that Sagekey gets around the problem of Access trying to open a database in the last version of Access used when you have when you have several versions of Access on the same computer is to open the application through a small executable called runaccess.exe. This should be what your desktop shotcut calls, not Access.exe. If the runtime is opened through this method the registry setting that indicates what version of Access was used last is not supposed to be reset to your runtime version. If the shortcut goes directly to Access.exe then that is the problem. I'd contact tech support at Sagekey and have them work with you to resolve the problem. I have found them to be very helpfull. Doug Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rfv at entelix.com Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Nov 18 11:57:05 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 18 Nov 2003 12:57:05 -0500 Subject: [AccessD] acNewRec Message-ID: Liz - Thanks for the input. I searched the table, but didn't find corrupt records. Thanks, Mark -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Tuesday, November 18, 2003 11:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] acNewRec Mark, Have you checked for a corrupt record in the affected tables? It will usually show up with ####### in one field. Deleting the record clears up the mess. Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com 763-391-7400 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Tuesday, November 18, 2003 10:03 AM To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Nov 18 11:59:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 18 Nov 2003 12:59:00 -0500 Subject: [AccessD] acNewRec Message-ID: Thanks Juan. I'll check the user's machines to make sure these settings are correct. Mark -----Original Message----- From: MastercafeCTV [mailto:mastercafe at ctv.es] Sent: Tuesday, November 18, 2003 11:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] acNewRec Check the config in Access 2002: Default Open Mode : SHARED Default RecordLocking : EDITED RECORD When we install a new computer always check the main config from access (report, general, advanced, etc.) If this run, check in the main form if you used LOCK EDITED RECORD Good luck Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: martes, 18 de noviembre de 2003 17:03 To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Tue Nov 18 12:05:44 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 13:05:44 -0500 Subject: [AccessD] Problems closing XP Message-ID: I've tried taking the ocx out of the subform so that it is no longer embedded and using the Dim/Set statements, setting crR to nothing on closing the main form and still have the error. I tried calling it from the main form and still have the error. There are a few things that are very strange to me. There are several reports that I call from this subform. There is one set where only one of the reports causes the error. There is nothing different in the code that calls the reports. There are queries that run before opening the subform to compile the data for the reports. I have gone through and made sure all the Set db and Set rs are set to nothing so I don't think it's a data issue. The other thing is that Access acts like it is going to close - goes through the compact and appears to be shutting down but then maximizes. It's not frozen. I can reopen the database, I just can't shut the Access window down. From paulawright at boddienoell.com Tue Nov 18 12:21:59 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 13:21:59 -0500 Subject: [AccessD] Problems closing XP - Bizarre Behavior Message-ID: Okay, I went into my closing action and changed docmd.quit to application.quit and got all excited because the application shut down and then it reopened!!! I tried it again, leaving the Windows Task Manager where I could see what was happening and it literally closed and reopened. What's that all about???? -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Paula Wright Sent: Tue 11/18/2003 1:05 PM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] Problems closing XP I've tried taking the ocx out of the subform so that it is no longer embedded and using the Dim/Set statements, setting crR to nothing on closing the main form and still have the error. I tried calling it from the main form and still have the error. There are a few things that are very strange to me. There are several reports that I call from this subform. There is one set where only one of the reports causes the error. There is nothing different in the code that calls the reports. There are queries that run before opening the subform to compile the data for the reports. I have gone through and made sure all the Set db and Set rs are set to nothing so I don't think it's a data issue. The other thing is that Access acts like it is going to close - goes through the compact and appears to be shutting down but then maximizes. It's not frozen. I can reopen the database, I just can't shut the Access window down. From cfoust at infostatsystems.com Tue Nov 18 12:44:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 10:44:49 -0800 Subject: [AccessD] Sage RT script Message-ID: You're right. We had to start using the RunAccess.exe with our XP shortcuts, although I don't recall it being an issue with earlier versions. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Tuesday, November 18, 2003 9:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Sage RT script The way that Sagekey gets around the problem of Access trying to open a database in the last version of Access used when you have when you have several versions of Access on the same computer is to open the application through a small executable called runaccess.exe. This should be what your desktop shotcut calls, not Access.exe. If the runtime is opened through this method the registry setting that indicates what version of Access was used last is not supposed to be reset to your runtime version. If the shortcut goes directly to Access.exe then that is the problem. I'd contact tech support at Sagekey and have them work with you to resolve the problem. I have found them to be very helpfull. Doug Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rfv at entelix.com Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Tue Nov 18 12:51:54 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 18:51:54 -0000 Subject: [AccessD] Problems closing XP - Bizarre Behavior In-Reply-To: Message-ID: <002101c3ae05$17e503a0$530b6bd5@netboxxp> I use docmd.quit without problem... But there's a whole load of other weird stuff going on... Tab controls that grow, list views that draw their contents in strange places and subform objects that keep setting themselves to different control source (I have 4 on one form and if I edit any by clicking them from the main form in design view then all four use the same subform - xp rocks... It even closes down all by iself someimes... Usually when I click save, you need to really be on your toes with this one :@) Good luck... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paula Wright Sent: 18 November 2003 18:22 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Problems closing XP - Bizarre Behavior Okay, I went into my closing action and changed docmd.quit to application.quit and got all excited because the application shut down and then it reopened!!! I tried it again, leaving the Windows Task Manager where I could see what was happening and it literally closed and reopened. What's that all about???? -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Paula Wright Sent: Tue 11/18/2003 1:05 PM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] Problems closing XP I've tried taking the ocx out of the subform so that it is no longer embedded and using the Dim/Set statements, setting crR to nothing on closing the main form and still have the error. I tried calling it from the main form and still have the error. There are a few things that are very strange to me. There are several reports that I call from this subform. There is one set where only one of the reports causes the error. There is nothing different in the code that calls the reports. There are queries that run before opening the subform to compile the data for the reports. I have gone through and made sure all the Set db and Set rs are set to nothing so I don't think it's a data issue. The other thing is that Access acts like it is going to close - goes through the compact and appears to be shutting down but then maximizes. It's not frozen. I can reopen the database, I just can't shut the Access window down. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From lists at theopg.com Tue Nov 18 12:56:52 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 18:56:52 -0000 Subject: [AccessD] Cancel the mouse wheel.... In-Reply-To: <019e01c3ad7e$6aeac080$3c619a89@DDICK> Message-ID: <002201c3ae05$c8e49940$530b6bd5@netboxxp> Hi all... I'm using XP and would like to intercept the mousewheel when it scrolls records, and if needed cancel the move record. I can catch it and see the number of lines (count) etc. but what if I want to stop it changing records ??? Thanks in advance mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From martyconnelly at shaw.ca Tue Nov 18 13:03:58 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Nov 2003 11:03:58 -0800 Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB References: Message-ID: <3FBA6D1E.5050307@shaw.ca> Here is a snippet of code to look at Ado expanded errors 'where cnn is ADODB Connection Object cnn.Close Set cnn = Nothing Exit Function ' ADO Error/Exception Handler AdoError: Dim ErrNumber As Long Dim ErrSource As String Dim ErrDescription As String ErrNumber = Err.Number ErrSource = Err.Source ErrDescription = Err.Description AdoErrorExpanded cnn cnn.Close Set cnn = Nothing 'where Cnn is Connection Object End Function Sub AdoErrorExpanded(Conn1 As ADODB.Connection) ' ADO Error/Exception Handler Expanded Dim Errs1 As ADODB.Errors Dim errLoop As ADODB.Error Dim i As Long Dim strMsgErr As String i = 1 On Error Resume Next ' For any error condition, show results in debug ' Enumerate Errors collection and display properties ' of each Error object. Set Errs1 = Conn1.Errors For Each errLoop In Errs1 With errLoop Debug.Print " Error #" & i & ":" Debug.Print " ADO Error #" & .Number Debug.Print " Description " & .Description Debug.Print " Source " & .Source Debug.Print " HelpFile " & .HelpFile Debug.Print " HelpContext " & .HelpContext Debug.Print " NativeError " & .NativeError Debug.Print " SQLState " & .SQLState strMsgErr = " Error #" & i & ":" strMsgErr = strMsgErr & vbCrLf & " ADO Error #" & .Number strMsgErr = strMsgErr & vbCrLf & " Description " & .Description strMsgErr = strMsgErr & vbCrLf & " Source " & .Source strMsgErr = strMsgErr & vbCrLf & " HelpFile " & .HelpFile strMsgErr = strMsgErr & vbCrLf & " HelpContext " & .HelpContext strMsgErr = strMsgErr & vbCrLf & " NativeError " & .NativeError strMsgErr = strMsgErr & vbCrLf & " SQLState " & .SQLState MsgBox strMsgErr i = i + 1 End With Next With Conn1 Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf & _ "Driver Name: " & .Properties("Driver Name") & vbCrLf & _ "Driver Version: " & .Properties("Driver Version") & vbCrLf & _ "Driver ODBC Version: " & .Properties("Driver ODBC Version") End With End Sub Charlotte Foust wrote: >You need to error trap the ADO errors specifically and loop through the >connection's errors collection to see what's going on. A lot of ADO >errors are "silent" in Access. > >Charlotte Foust > >-----Original Message----- >From: Liam Meadows [mailto:liam at energyexhausts.co.uk] >Sent: Tuesday, November 18, 2003 7:07 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB > > >I am trying to create a form Based on an SQL table but when I try and >exit from the form sometimes I get an error saying "'Multiple-step OLE >DB operation generated errors. Check each OLE DB status value, if >available. No work was done.". I have tried MSKB and changed the Persist >Security Info to False in connection manager (File -> Connections -> >All) and checked the registry setting as described in the MS KB but it >still happens. Has anyone any idea how to resolve this ? > >Liam >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From rfv at entelix.com Tue Nov 18 13:19:09 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 18 Nov 2003 13:19:09 -0600 Subject: [AccessD] Sage RT script In-Reply-To: Message-ID: <200311181919.hAIJJP618240@databaseadvisors.com> Solved! Thanks to everybody. Rudolf Vanek -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Martes, 18 de Noviembre de 2003 12:45 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sage RT script You're right. We had to start using the RunAccess.exe with our XP shortcuts, although I don't recall it being an issue with earlier versions. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Tuesday, November 18, 2003 9:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Sage RT script The way that Sagekey gets around the problem of Access trying to open a database in the last version of Access used when you have when you have several versions of Access on the same computer is to open the application through a small executable called runaccess.exe. This should be what your desktop shotcut calls, not Access.exe. If the runtime is opened through this method the registry setting that indicates what version of Access was used last is not supposed to be reset to your runtime version. If the shortcut goes directly to Access.exe then that is the problem. I'd contact tech support at Sagekey and have them work with you to resolve the problem. I have found them to be very helpfull. Doug Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rfv at entelix.com Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Nov 18 13:58:54 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 18 Nov 2003 14:58:54 -0500 Subject: [AccessD] Cancel the mouse wheel.... Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD794B@xlivmbx12.aig.com> Go here... http://www.lebans.com/mousewheelonoff.htm > -----Original Message----- > From: MarkH [SMTP:lists at theopg.com] > Sent: Tuesday, November 18, 2003 1:57 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Cancel the mouse wheel.... > > Hi all... > > I'm using XP and would like to intercept the mousewheel when it scrolls > records, and if needed cancel the move record. I can catch it and see > the number of lines (count) etc. but what if I want to stop it changing > records ??? > > Thanks in advance > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > 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 Nov 18 14:09:40 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue, 18 Nov 2003 14:09:40 -0600 Subject: [AccessD] Combo Subform Entries Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C9C7@cntexchange.pgdp.usec.com> I have a combobox on a main form that is used to select certain records on the subform. For example, if you select Car from the combo, the subform shows all the records for Car. I need to be able to add an entry to the combobox on the main form & have it available for use to add new records. So if I add Jeep to the NotInList event of the combobox, Jeep would be in the list, the Combo would show Jeep, & the subform should be blank & ready to add new entries for Jeep. I tried Requery, I tried a seperate form for adding new entries to the list, and OnClose of the form, requery the form, but nothing works. The entry is in the list, but the subform stays on the previous selections entry. Or should the requery go on the After Update of the Combo? Virginia On NotInList ' Return Control object that points to combo box. Set ctl = Me!cboLocation ' Prompt user to verify they wish to add new value. If MsgBox("Would you like to add '" & NewData & "' to the list?", vbYesNo, "Add New Name") = vbYes Then ' Set Response argument to indicate that data is being added. Response = acDataErrAdded ' Add string in NewData argument to table. NewData = DoConv(NewData) strSQL = " INSERT INTO tbl_Location ( Location ) SELECT '" & DoConv(NewData) & "'" DoCmd.SetWarnings False DoCmd.RunSQL strSQL ctl.Value = NewData DoCmd.SetWarnings True Else ' If user chooses Cancel, suppress error message and undo changes. Response = acDataErrContinue ctl.Undo End If From DWUTKA at marlow.com Tue Nov 18 14:11:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 18 Nov 2003 14:11:55 -0600 Subject: [AccessD] Training Location Tables Message-ID: <2F8793082E00D4119A1700B0D0216BF802227599@main2.marlow.com> If each class is only ever in one location, then just put the location ID as a foriegn key in the tblClasses table. However, if you may have multiple locations for a class, then create a tblClassLocations table, which has an Autonumber (ClassLocationID), the ClassID and the LocationID fields. Then, if you are just referring to a class, regardless of location (like if you are putting in notes about the class...) then just use the ClassID field. But if you are referring to a class in a particular location, (like a class schedule), then use the ClassLocationID. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, November 18, 2003 6:26 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Training Location Tables I am setting up a new database for training results. The records are entered by location, each location has a class & an instructor. Then they track each students comments about the class & instructor. I am confused on how to set up the table to link the location with the class. I created a tblLocation, tblInstructor, tblClasses. Would I need a tblClassDetails that would contain the DetailID PK, ClassID, InstructorID, & LocationID? Or would I need just a DetailID & LocationID (tblDetailLocation). If so, how do I connect that to the form to make the entries to the tblDetailLocation? Or do I just add each field, tblLocation, tblInstructor, tblClasses to the Main table that tracks the students comments? Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 18 14:12:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 18 Nov 2003 14:12:33 -0600 Subject: [AccessD] More subforms on the main form Message-ID: <2F8793082E00D4119A1700B0D0216BF80222759A@main2.marlow.com> Tab control? -----Original Message----- From: Ervin Brindza [mailto:viner at eunet.yu] Sent: Tuesday, November 18, 2003 7:17 AM To: AccessD at databaseadvisors.com Subject: [AccessD] More subforms on the main form Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 18 14:14:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 18 Nov 2003 14:14:02 -0600 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: <2F8793082E00D4119A1700B0D0216BF80222759B@main2.marlow.com> just shell out using the 'net use' function. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, November 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT:Map Netwrok Drive Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Nov 18 14:34:59 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Nov 2003 12:34:59 -0800 Subject: [AccessD] Cancel the mouse wheel.... References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD794B@xlivmbx12.aig.com> Message-ID: <3FBA8273.5020509@shaw.ca> If that is not bad enough there is a new mouse out with a tiltable wheel not just rotating to allow right to left scrolling. Heenan, Lambert wrote: >Go here... > >http://www.lebans.com/mousewheelonoff.htm > > > >>-----Original Message----- >>From: MarkH [SMTP:lists at theopg.com] >>Sent: Tuesday, November 18, 2003 1:57 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Cancel the mouse wheel.... >> >>Hi all... >> >>I'm using XP and would like to intercept the mousewheel when it scrolls >>records, and if needed cancel the move record. I can catch it and see >>the number of lines (count) etc. but what if I want to stop it changing >>records ??? >> >>Thanks in advance >> >>mark >> >>--- >>Outgoing mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/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 > > > -- Marty Connelly Victoria, B.C. Canada From ssharkins at bellsouth.net Tue Nov 18 14:55:43 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 18 Nov 2003 15:55:43 -0500 Subject: [AccessD] Many To Many Message-ID: <004101c3ae16$55c6a0a0$210110ac@SUSANONE> We hope to have a new issue out within the next week -- finally! If anyone has a classified, please send the text to me privately at ssharkins at bellsouth.net Thanks! Susan H. From john at winhaven.net Tue Nov 18 15:12:14 2003 From: john at winhaven.net (John Bartow) Date: Tue, 18 Nov 2003 15:12:14 -0600 Subject: [AccessD] Use Wildcards Correctly and Safely Message-ID: Access/VB/SQL Advisor Article December 2003 Author Susan Sales Harkins Nice Article Susan! JB From ssharkins at bellsouth.net Tue Nov 18 15:14:51 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 18 Nov 2003 16:14:51 -0500 Subject: [AccessD] Use Wildcards Correctly and Safely References: Message-ID: <000801c3ae19$07d21610$210110ac@SUSANONE> Thank you -- I appreciate that! Susan H. > Access/VB/SQL Advisor Article > December 2003 > Author Susan Sales Harkins > > Nice Article Susan! > > JB From lists at theopg.com Tue Nov 18 15:34:41 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 21:34:41 -0000 Subject: [AccessD] Cancel the mouse wheel.... In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD794B@xlivmbx12.aig.com> Message-ID: <000001c3ae1b$d6113db0$530b6bd5@netboxxp> Thanks Lambert mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: 18 November 2003 19:59 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cancel the mouse wheel.... Go here... http://www.lebans.com/mousewheelonoff.htm > -----Original Message----- > From: MarkH [SMTP:lists at theopg.com] > Sent: Tuesday, November 18, 2003 1:57 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Cancel the mouse wheel.... > > Hi all... > > I'm using XP and would like to intercept the mousewheel when it > scrolls records, and if needed cancel the move record. I can catch it > and see the number of lines (count) etc. but what if I want to stop it > changing records ??? > > Thanks in advance > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/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.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From lists at theopg.com Tue Nov 18 15:35:09 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 21:35:09 -0000 Subject: [AccessD] Cancel the mouse wheel.... In-Reply-To: <3FBA8273.5020509@shaw.ca> Message-ID: <000101c3ae1b$d7689050$530b6bd5@netboxxp> Great :@( mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 18 November 2003 20:35 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cancel the mouse wheel.... If that is not bad enough there is a new mouse out with a tiltable wheel not just rotating to allow right to left scrolling. Heenan, Lambert wrote: >Go here... > >http://www.lebans.com/mousewheelonoff.htm > > > >>-----Original Message----- >>From: MarkH [SMTP:lists at theopg.com] >>Sent: Tuesday, November 18, 2003 1:57 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Cancel the mouse wheel.... >> >>Hi all... >> >>I'm using XP and would like to intercept the mousewheel when it >>scrolls records, and if needed cancel the move record. I can catch it >>and see the number of lines (count) etc. but what if I want to stop it >>changing records ??? >> >>Thanks in advance >> >>mark >> >>--- >>Outgoing mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/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 > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ 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.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From DElam at jenkens.com Tue Nov 18 15:33:10 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 18 Nov 2003 15:33:10 -0600 Subject: [AccessD] Dynamic Sorting Report Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0106B784@natexch.jenkens.com> I have a report I originally wrote in Access 97 that I have upgraded to XP. This report sorts dynamically based on the values in a form. This works as advertised in 97, but has one quirk in XP. If I try to sort by ActionDueDate first then there is no discernable order to the report. Any other sort works fine for the first sort. This is the only date in the sort by fields. If both the first and second sort are the ActionDueDate, then it behaves as expected. Some additional info: If the first sort is Attorney, then the report is grouped and each attorney is on a new page. If it is different then the breaks are turned off, but presumably in some ways it is still a group though there is no visual indication of this in the report. Out of curiosity I left the breaks on and there are places where new pages are started. The breaks are in the order of the month and first digit of the day. This makes me wonder if this date is being treated as a string for some reason. The sorting breaks down after that first digit of the day though. 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. From d.dick at uws.edu.au Tue Nov 18 18:57:20 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 19 Nov 2003 11:57:20 +1100 Subject: [AccessD] Combo Subform Entries References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C9C7@cntexchange.pgdp.usec.com> Message-ID: <008701c3ae38$164ecb10$41619a89@DDICK> Hi Virginia Demo sent off line If anyone wants a me too then make 'em to d.dick at uws.edu.au Any me too's direct to this list will be ignored, snubbed and otherwise shown contempt :-) See ya Darren ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Wednesday, November 19, 2003 7:09 AM Subject: [AccessD] Combo Subform Entries > I have a combobox on a main form that is used to select certain records on > the subform. For example, if you select Car from the combo, the subform > shows all the records for Car. > > I need to be able to add an entry to the combobox on the main form & have it > available for use to add new records. So if I add Jeep to the NotInList > event of the combobox, Jeep would be in the list, the Combo would show Jeep, > & the subform should be blank & ready to add new entries for Jeep. > > I tried Requery, I tried a seperate form for adding new entries to the list, > and OnClose of the form, requery the form, but nothing works. The entry is > in the list, but the subform stays on the previous selections entry. Or > should the requery go on the After Update of the Combo? > > Virginia > > On NotInList > > ' Return Control object that points to combo box. > Set ctl = Me!cboLocation > ' Prompt user to verify they wish to add new value. > If MsgBox("Would you like to add '" & NewData & "' to the list?", > vbYesNo, "Add New Name") = vbYes Then > ' Set Response argument to indicate that data is being added. > Response = acDataErrAdded > ' Add string in NewData argument to table. > NewData = DoConv(NewData) > strSQL = " INSERT INTO tbl_Location ( Location ) SELECT '" & > DoConv(NewData) & "'" > DoCmd.SetWarnings False > DoCmd.RunSQL strSQL > ctl.Value = NewData > DoCmd.SetWarnings True > > Else > ' If user chooses Cancel, suppress error message and undo changes. > Response = acDataErrContinue > ctl.Undo > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Nov 18 22:52:24 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue, 18 Nov 2003 23:52:24 -0500 Subject: [AccessD] SQL Server strangeness Message-ID: Awhile back I moved my client billing to SQL Server, just a simple upload of the mdb data, and then relinked to the ODBC. Nothing fancy. It all just worked. Now (since recovering EVERYTHING due to a hard disk crash), the LIKE keyword is causing failures in the odbc call. I use things like "LIKE forms!someform!somecontrol" etc. Now this fails (silently), just no data returned. Replace the LIKE with IN() and it works again. The TRULY strange part is that I use a LIKE ccfrmWhich() EVERYWHERE in order to only display active records in my forms. That fails in a combo, but succeeds in the form that hosts that combo. I do so love Access / SQL Server. John W. Colby www.ColbyConsulting.com From jcolby at colbyconsulting.com Tue Nov 18 22:52:24 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue, 18 Nov 2003 23:52:24 -0500 Subject: [AccessD] [dba-SQLServer]SQL Server strangeness Message-ID: Awhile back I moved my client billing to SQL Server, just a simple upload of the mdb data, and then relinked to the ODBC. Nothing fancy. It all just worked. Now (since recovering EVERYTHING due to a hard disk crash), the LIKE keyword is causing failures in the odbc call. I use things like "LIKE forms!someform!somecontrol" etc. Now this fails (silently), just no data returned. Replace the LIKE with IN() and it works again. The TRULY strange part is that I use a LIKE ccfrmWhich() EVERYWHERE in order to only display active records in my forms. That fails in a combo, but succeeds in the form that hosts that combo. I do so love Access / SQL Server. John W. Colby www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From viner at eunet.yu Wed Nov 19 01:48:59 2003 From: viner at eunet.yu (Ervin Brindza) Date: Wed, 19 Nov 2003 08:48:59 +0100 Subject: [AccessD] More subforms on the main form References: Message-ID: <014401c3ae72$7c171c60$0100a8c0@razvoj> > I've used a main form to call several different subforms and I've also > included tabs in the subform. > > Place a generic subform on the main form and change the subform being used; > > Me.genericsubformname.SourceObject = "Form Name" > Many thanks for the suggestions! I 'll try with gliding subforms... Ervin From gustav at cactus.dk Wed Nov 19 05:50:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 12:50:52 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: <8615823653.20031103132209@cactus.dk> References: <8615823653.20031103132209@cactus.dk> Message-ID: <18814505828.20031119125052@cactus.dk> Hi All Located this short article by Bill Ramos (Lead Program Manager, Microsoft Office Access 2003) on InfoPath which addresses people like us: http://accessvbsqladvisor.com/doc/13108 and about the toolkit: http://msadvisor.com/doc/13297 /gustav > Hi all > Anyone familiar with these new products and if they somehow relate to > Access? > I've tried to browse some brochures but they are so hyped that it is > just plain impossible to figure out wether these apps are fancy toys > which will bring any machine to a crawl or if they could be useful > tools in cooperation with Access and database applications. > And how are the programmed if you wish to create custom build apps? > I've located this link to a SDK related to InfoPath: > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en > but it looks like you need to take a deep breath and have a weekend > set aside. > Also, how much are they relying on specific MS server software like > SharePoint or Exchange or pure MS environments or Office 2003 only? If > so, the usefulness is very limited as our clients use a variety of > systems. > /gustav From gustav at cactus.dk Wed Nov 19 05:56:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 12:56:17 +0100 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <19014831166.20031119125617@cactus.dk> Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav From jcolby at colbyconsulting.com Wed Nov 19 06:46:58 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 07:46:58 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <19014831166.20031119125617@cactus.dk> Message-ID: LOL. Thanks for the plug Gustav. That would be my chapter, the only one in the book that was brand new. Had to do a little pushing to get it in there, they thought it too "advanced" for a beginning basic book. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 6:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Wed Nov 19 07:02:45 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 19 Nov 2003 07:02:45 -0600 Subject: [AccessD] A2K / AXP: Indirect Replication Message-ID: <20031119070245.1140044549.serbach@new.rr.com> Dear Group, Has anyone here actually implemented Indirect Replication where the "drop box" for each computer is an FTP site? I'm a bit stymied by the configuration options in the Office XP Developer's Replication Manager. (My w/s is Windows 2000 Pro) That is: 1) I click on the "Support indirect synchronization" check box and click Next twice. 2) I click on the "Network..." button since I'm testing the situation where the computer is disconnected from a network. 3) In the "Browse Network Folders" dialog box I only "see" the drives and servers on my LAN, so I click on the Network button to "connect to a shared network folder." 4) I then see the "Map Network Drive" wizard dialog. I pick a drive letter, say, K:. Then I click on "Browse..." button to specify the folder to connect to. 5) I then see the "Browse for Folder" dialog, which shows me my Network Places. I see the folder I created that points to my FTP site. But when I click on the folder the OK button in the dialog box remains unavailable because the FTP folder, apparently, isn't a shared network folder. If I click on a folder on my file server then the OK button is available. 6) So back to the wizard in step 4). There's a link to "Create a shortcut to a Web folder or FTP site." I click on that. 7) I'm now at the "Add Network Place Wizard." I type in the ftp:// path to the FTP site and click Next. 8) I'm asked whether I want to log in anonymously. I un-check the box and then enter the User name that I set up for the FTP site. The prompt under the User name says that I'll be prompted for a password when I connect to the FTP server. I click Next. 9) I then enter a name for the Network Place and click Finish. 10) Then I see the password prompt for the User name I entered. 11) Then a window appears with the ftp:// address in the title bar and the list of files on the FTP site. Looks good so far. 12) But now I'm back to step 3). I click on the Network button again. 13) Now I'm back at step 4). I click on "Browse..." and once again see all My Network Places. Sure enough, there's the new FTP folder I created. But when I select it, the OK button remains unavailable because, I guess, it isn't shared. Sorry for the long explanation. It helps me to do it step-by-step like that. What am I missing? I can't even begin a test of Indirect Replication unless the Replication Manager can see the FTP folder, can I? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From mwp.reid at qub.ac.uk Wed Nov 19 07:02:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 13:02:54 -0000 Subject: [AccessD] Primer on WithEvents and RaiseEvent References: Message-ID: <001201c3ae9d$725a39c0$9111758f@aine> Mine where brand new as well. Not as good but new LOL Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 12:46 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > LOL. > > Thanks for the plug Gustav. That would be my chapter, the only one in the > book that was brand new. Had to do a little pushing to get it in there, > they thought it too "advanced" for a beginning basic book. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, November 19, 2003 6:56 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > Hi all > > Just noted this book chapter counting several well known listmembers > among the numerous authors: > > http://accessvbsqladvisor.com/doc/13276 > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > handle an object's events inside classes other than the form classes. > This book chapter explains what it can do for you. > > /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 HollisVJ at pgdp.usec.com Wed Nov 19 07:14:40 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 19 Nov 2003 07:14:40 -0600 Subject: [AccessD] Combo Subform Entries Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C9CF@cntexchange.pgdp.usec.com> Anyway, I guess I am still doing something wrong because when I add a new entry it still does not show the new entry as the selection. When I add a new entry it refreshes back to the first entry in the list. I set the LocationID to visible on each form so I can see what was happening. The subform locationID is set to the new entry after I reselect the new entry, but the main form with the combobox does not. ComboBox (main form) shows Austin = LocationID 23 Subform LocationID = 23 Add new entry: LocationID should be 24 Main Form shows LocationID = 23 Subform LocationID = 24 Another think I noticed - sometimes when I open the form, the LocationID shows on the Main form, but not the subform. I close the form & reopen & the LocationID shows in the subform. What have I done here?? Virginia -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Tuesday, November 18, 2003 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo Subform Entries Hi Virginia Demo sent off line If anyone wants a me too then make 'em to d.dick at uws.edu.au Any me too's direct to this list will be ignored, snubbed and otherwise shown contempt :-) See ya Darren ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Wednesday, November 19, 2003 7:09 AM Subject: [AccessD] Combo Subform Entries > I have a combobox on a main form that is used to select certain records on > the subform. For example, if you select Car from the combo, the subform > shows all the records for Car. > > I need to be able to add an entry to the combobox on the main form & have it > available for use to add new records. So if I add Jeep to the NotInList > event of the combobox, Jeep would be in the list, the Combo would show Jeep, > & the subform should be blank & ready to add new entries for Jeep. > > I tried Requery, I tried a seperate form for adding new entries to the list, > and OnClose of the form, requery the form, but nothing works. The entry is > in the list, but the subform stays on the previous selections entry. Or > should the requery go on the After Update of the Combo? > > Virginia > > On NotInList > > ' Return Control object that points to combo box. > Set ctl = Me!cboLocation > ' Prompt user to verify they wish to add new value. > If MsgBox("Would you like to add '" & NewData & "' to the list?", > vbYesNo, "Add New Name") = vbYes Then > ' Set Response argument to indicate that data is being added. > Response = acDataErrAdded > ' Add string in NewData argument to table. > NewData = DoConv(NewData) > strSQL = " INSERT INTO tbl_Location ( Location ) SELECT '" & > DoConv(NewData) & "'" > DoCmd.SetWarnings False > DoCmd.RunSQL strSQL > ctl.Value = NewData > DoCmd.SetWarnings True > > Else > ' If user chooses Cancel, suppress error message and undo changes. > Response = acDataErrContinue > ctl.Undo > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 19 07:14:51 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 14:14:51 +0100 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: References: Message-ID: <10219544613.20031119141451@cactus.dk> Hi John Yes, one can feel the "JC breath"*) when reading. I'm glad you succeeded in getting this chapter in. It is advanced but without it Access would miss an arm. And MS keeps it as a secret - without the postings and examples from Shamil and you, I wonder if I would ever have noticed this topic. /gustav *) Uppercase comments. PS: Notice the printer friendly version: http://accessvbsqladvisor.com/Articles.nsf/dp/A6CBCC9F0ED68B2E88256DD4007C2FDD > LOL. > Thanks for the plug Gustav. That would be my chapter, the only one in the > book that was brand new. Had to do a little pushing to get it in there, > they thought it too "advanced" for a beginning basic book. > John W. Colby > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, November 19, 2003 6:56 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Primer on WithEvents and RaiseEvent > Hi all > Just noted this book chapter counting several well known listmembers > among the numerous authors: > http://accessvbsqladvisor.com/doc/13276 > Beginning Access 2002 VBA: WithEvents and RaiseEvent > One of the best-kept secrets in Microsoft Access, WithEvents lets you > handle an object's events inside classes other than the form classes. > This book chapter explains what it can do for you. > /gustav From John.Clark at niagaracounty.com Wed Nov 19 07:31:20 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 19 Nov 2003 08:31:20 -0500 Subject: [AccessD] Excel Question Message-ID: I don't think I saw a reply to this question, so I'll pass this on. I don't know exactly what you are trying to accomplish, but I used the following code to test column A for Odd or Even. If it is blank it returns "BLANK", but you could always have it do nothing (""). =IF(ISBLANK(A3),"BLANK",IF(MOD(A3,2)=0,"EVEN","ODD")) John W Clark >>> pcs at azizaz.com 11/18/03 12:23AM >>> Hi, anyone with a quick answer to this one: Excel appears to treat blank cell as zero I've created a function that tests the value in a cell (say A1) using Select Case and delivers a value in another cell (say B1) depending on value in cell. The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message if any other value is entered. So far so good! Now, the annoying part is that a blank value - null - is treated as ZERO by the function. How do I turn this off - so that a the value of a blank cell is treated as null ??? Regards Borge, _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 19 07:38:53 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 08:38:53 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <001201c3ae9d$725a39c0$9111758f@aine> Message-ID: Sorry Martin, I didn't realize. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, November 19, 2003 8:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent Mine where brand new as well. Not as good but new LOL Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 12:46 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > LOL. > > Thanks for the plug Gustav. That would be my chapter, the only one in the > book that was brand new. Had to do a little pushing to get it in there, > they thought it too "advanced" for a beginning basic book. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, November 19, 2003 6:56 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > Hi all > > Just noted this book chapter counting several well known listmembers > among the numerous authors: > > http://accessvbsqladvisor.com/doc/13276 > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > handle an object's events inside classes other than the form classes. > This book chapter explains what it can do for you. > > /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 andy at minstersystems.co.uk Wed Nov 19 06:40:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 19 Nov 2003 13:40:25 +0100 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <20031119134021.89D14256FCE@smithers.nildram.co.uk> John, you must have pushed too hard. Wrox have left you off the author's list :-( http://www.wrox.com/books/0764544020.shtml Sue 'em, I say. Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Date: 19/11/03 17:50 LOL. Thanks for the plug Gustav. That would be my chapter, the only one in the book that was brand new. Had to do a little pushing to get it in there, they thought it too "advanced" for a beginning basic book. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 6:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav ________________________________________________ Message sent using UebiMiau 2.7.2 From mwp.reid at qub.ac.uk Wed Nov 19 07:43:30 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 13:43:30 -0000 Subject: [AccessD] Primer on WithEvents and RaiseEvent References: Message-ID: <001d01c3aea3$1e6a2180$9111758f@aine> only kidding John. As I said to you before, the stuff you put in is much better that anything in the previous versions. Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 1:38 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Sorry Martin, I didn't realize. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, November 19, 2003 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > Mine where brand new as well. Not as good but new LOL > > Martin > > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 12:46 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > LOL. > > > > Thanks for the plug Gustav. That would be my chapter, the only one in the > > book that was brand new. Had to do a little pushing to get it in there, > > they thought it too "advanced" for a beginning basic book. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Wednesday, November 19, 2003 6:56 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Hi all > > > > Just noted this book chapter counting several well known listmembers > > among the numerous authors: > > > > http://accessvbsqladvisor.com/doc/13276 > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > handle an object's events inside classes other than the form classes. > > This book chapter explains what it can do for you. > > > > /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 DElam at jenkens.com Wed Nov 19 07:41:05 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 19 Nov 2003 07:41:05 -0600 Subject: [AccessD] RE: Dynamic Sorting Report Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0106B788@natexch.jenkens.com> Many hours since I sent the original, so I am re-sending. Debbie -----Original Message----- From: Elam, Debbie Sent: Tuesday, November 18, 2003 3:33 PM To: 'Access Developers discussion and problem solving' Subject: Dynamic Sorting Report I have a report I originally wrote in Access 97 that I have upgraded to XP. This report sorts dynamically based on the values in a form. This works as advertised in 97, but has one quirk in XP. If I try to sort by ActionDueDate first then there is no discernable order to the report. Any other sort works fine for the first sort. This is the only date in the sort by fields. If both the first and second sort are the ActionDueDate, then it behaves as expected. Some additional info: If the first sort is Attorney, then the report is grouped and each attorney is on a new page. If it is different then the breaks are turned off, but presumably in some ways it is still a group though there is no visual indication of this in the report. Out of curiosity I left the breaks on and there are places where new pages are started. The breaks are in the order of the month and first digit of the day. This makes me wonder if this date is being treated as a string for some reason. The sorting breaks down after that first digit of the day though. 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. From markamatte at hotmail.com Wed Nov 19 08:58:54 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 19 Nov 2003 14:58:54 +0000 Subject: [AccessD] More subforms on the main form Message-ID: Ervin, Could you use tabs...1 subform per tab? Hope it helps... Mark >From: "Ervin Brindza" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] More subforms on the main form >Date: Tue, 18 Nov 2003 14:16:57 +0100 > > >Hi, >I need an advice(Access97): on the main form I have 2 subforms, and 3 >other(separated by meaning) subforms. The problem is that the users have >only 17" screen and I have to shrink the subforms too much. Can you provide >any reasonable solution? Like hiding one "thread" of subforms or open one >"thread of subforms" on some pop up window or something else? >Many TIA, > Ervin >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Is there a gadget-lover on your gift list? MSN Shopping has lined up some good bets! http://shopping.msn.com From KIsmert at TexasSystems.com Wed Nov 19 10:10:05 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 19 Nov 2003 10:10:05 -0600 Subject: [AccessD] More subforms on the main form In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222759A@main2.marlow.com> Message-ID: <003801c3aeb7$990bee50$2a3ca8c0@TEXASSYSTEMS.COM> If the data is heirarchical in nature, subdatasheets are also a possibility. Like a treeview control, they allow users to drill down to the level of detail they require. -Ken -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, November 18, 2003 2:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] More subforms on the main form Tab control? -----Original Message----- From: Ervin Brindza [mailto:viner at eunet.yu] Sent: Tuesday, November 18, 2003 7:17 AM To: AccessD at databaseadvisors.com Subject: [AccessD] More subforms on the main form Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Nov 19 10:31:05 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 19 Nov 2003 11:31:05 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <806536912C472E4A9D6515DF2E57261E2395EF@mercury.tnco-inc.com> Just wondering...is this article the entire chapter or is there more in the book on this topic? Thanks! JR -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent only kidding John. As I said to you before, the stuff you put in is much better that anything in the previous versions. Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 1:38 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Sorry Martin, I didn't realize. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, November 19, 2003 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > Mine where brand new as well. Not as good but new LOL > > Martin > > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 12:46 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > LOL. > > > > Thanks for the plug Gustav. That would be my chapter, the only one in the > > book that was brand new. Had to do a little pushing to get it in there, > > they thought it too "advanced" for a beginning basic book. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Wednesday, November 19, 2003 6:56 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Hi all > > > > Just noted this book chapter counting several well known listmembers > > among the numerous authors: > > > > http://accessvbsqladvisor.com/doc/13276 > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > handle an object's events inside classes other than the form classes. > > This book chapter explains what it can do for you. > > > > /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 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 cfoust at infostatsystems.com Wed Nov 19 10:45:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 08:45:06 -0800 Subject: [AccessD] MS InfoPath and OneNote Message-ID: Am I the only one who thinks Access is history? Heaven knows what they intend to use to *analyze* that data they collect with InfoPath. I certainly won't volunteer to do it because I had too much experience trying to do something similar with data collected (similarly except for the XML) in FileMaker! Yuck!! Relational design is apparently too hard for people to learn so we're going to use XML instead. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, November 19, 2003 3:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS InfoPath and OneNote Hi All Located this short article by Bill Ramos (Lead Program Manager, Microsoft Office Access 2003) on InfoPath which addresses people like us: http://accessvbsqladvisor.com/doc/13108 and about the toolkit: http://msadvisor.com/doc/13297 /gustav > Hi all > Anyone familiar with these new products and if they somehow relate to > Access? > I've tried to browse some brochures but they are so hyped that it is > just plain impossible to figure out wether these apps are fancy toys > which will bring any machine to a crawl or if they could be useful > tools in cooperation with Access and database applications. > And how are the programmed if you wish to create custom build apps? > I've located this link to a SDK related to InfoPath: > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa > -4fe8-9238-d702f1bfbab4&displaylang=en > but it looks like you need to take a deep breath and have a weekend > set aside. > Also, how much are they relying on specific MS server software like > SharePoint or Exchange or pure MS environments or Office 2003 only? If > so, the usefulness is very limited as our clients use a variety of > systems. > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Nov 19 11:03:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 17:03:06 -0000 Subject: [AccessD] MS InfoPath and OneNote References: Message-ID: <002b01c3aebf$006a5120$9111758f@aine> Yeah XML but inside a relational database. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 4:45 PM Subject: RE: [AccessD] MS InfoPath and OneNote > Am I the only one who thinks Access is history? Heaven knows what they > intend to use to *analyze* that data they collect with InfoPath. I > certainly won't volunteer to do it because I had too much experience > trying to do something similar with data collected (similarly except for > the XML) in FileMaker! Yuck!! Relational design is apparently too hard > for people to learn so we're going to use XML instead. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 3:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Hi All > > Located this short article by Bill Ramos (Lead Program Manager, > Microsoft Office Access 2003) on InfoPath which addresses people like > us: > > http://accessvbsqladvisor.com/doc/13108 > > and about the toolkit: > > http://msadvisor.com/doc/13297 > > /gustav > > > > Hi all > > > Anyone familiar with these new products and if they somehow relate to > > Access? > > > I've tried to browse some brochures but they are so hyped that it is > > just plain impossible to figure out wether these apps are fancy toys > > which will bring any machine to a crawl or if they could be useful > > tools in cooperation with Access and database applications. > > > And how are the programmed if you wish to create custom build apps? > > I've located this link to a SDK related to InfoPath: > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > but it looks like you need to take a deep breath and have a weekend > > set aside. > > > Also, how much are they relying on specific MS server software like > > SharePoint or Exchange or pure MS environments or Office 2003 only? If > > > so, the usefulness is very limited as our clients use a variety of > > systems. > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Wed Nov 19 11:12:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 18:12:06 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: References: Message-ID: <033779752.20031119181206@cactus.dk> Hi Charlotte Though without having touched it yet, I see xforms and InfoPath as tools for more or less platform independent data entry and lookup. The important thing is that you should be able to build in data validation it a high level without having to do the usual roundtrips to a server or rely on specail applets, ActiveX modules etc. But I have the same wonderings as you: where do these generated xml files go? Somewhere they have to be munched and entered into some kind of central storage (SQL engine). For any application with high traffic this calls for a sort of message queue and then all the "quick and easy" is gone. /gustav > Am I the only one who thinks Access is history? Heaven knows what they > intend to use to *analyze* that data they collect with InfoPath. I > certainly won't volunteer to do it because I had too much experience > trying to do something similar with data collected (similarly except for > the XML) in FileMaker! Yuck!! Relational design is apparently too hard > for people to learn so we're going to use XML instead. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 3:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > Hi All > Located this short article by Bill Ramos (Lead Program Manager, > Microsoft Office Access 2003) on InfoPath which addresses people like > us: > http://accessvbsqladvisor.com/doc/13108 > and about the toolkit: > http://msadvisor.com/doc/13297 > /gustav >> Hi all >> Anyone familiar with these new products and if they somehow relate to >> Access? >> I've tried to browse some brochures but they are so hyped that it is >> just plain impossible to figure out wether these apps are fancy toys >> which will bring any machine to a crawl or if they could be useful >> tools in cooperation with Access and database applications. >> And how are the programmed if you wish to create custom build apps? >> I've located this link to a SDK related to InfoPath: >> http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa >> -4fe8-9238-d702f1bfbab4&displaylang=en >> but it looks like you need to take a deep breath and have a weekend >> set aside. >> Also, how much are they relying on specific MS server software like >> SharePoint or Exchange or pure MS environments or Office 2003 only? If >> so, the usefulness is very limited as our clients use a variety of >> systems. >> /gustav From cfoust at infostatsystems.com Wed Nov 19 11:30:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 09:30:22 -0800 Subject: [AccessD] MS InfoPath and OneNote Message-ID: I have nothing at all against XML (except the lack of security) and think it's a great tool, but there is nothing inherently relational about XML. So are they introducing an entirely new object-based data model, or what? "Design a form and don't worry about the data structure" ... Until later? I think of the nightmare designs I've seen in Excel and wonder just how far they intend to take this. Just because ADO and XML can give you very flexible access to data doesn't mean the data can be shaped any ol' which way and still make sense! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS InfoPath and OneNote Yeah XML but inside a relational database. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 4:45 PM Subject: RE: [AccessD] MS InfoPath and OneNote > Am I the only one who thinks Access is history? Heaven knows what > they intend to use to *analyze* that data they collect with InfoPath. > I certainly won't volunteer to do it because I had too much experience > trying to do something similar with data collected (similarly except > for the XML) in FileMaker! Yuck!! Relational design is apparently > too hard for people to learn so we're going to use XML instead. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 3:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Hi All > > Located this short article by Bill Ramos (Lead Program Manager, > Microsoft Office Access 2003) on InfoPath which addresses people like > us: > > http://accessvbsqladvisor.com/doc/13108 > > and about the toolkit: > > http://msadvisor.com/doc/13297 > > /gustav > > > > Hi all > > > Anyone familiar with these new products and if they somehow relate > > to Access? > > > I've tried to browse some brochures but they are so hyped that it is > > just plain impossible to figure out wether these apps are fancy toys > > which will bring any machine to a crawl or if they could be useful > > tools in cooperation with Access and database applications. > > > And how are the programmed if you wish to create custom build apps? > > I've located this link to a SDK related to InfoPath: > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93 > > aa > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > but it looks like you need to take a deep breath and have a weekend > > set aside. > > > Also, how much are they relying on specific MS server software like > > SharePoint or Exchange or pure MS environments or Office 2003 only? > > If > > > so, the usefulness is very limited as our clients use a variety of > > systems. > > > /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 MarkBoyd at McBeeAssociates.com Wed Nov 19 11:31:32 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 19 Nov 2003 12:31:32 -0500 Subject: [AccessD] ODBC Driver Automation Message-ID: Does anyone know of a way to automate the process of setting up an ODBC driver to a SQL Server? This would be extremely helpful. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. From mwp.reid at qub.ac.uk Wed Nov 19 11:38:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 17:38:06 -0000 Subject: [AccessD] MS InfoPath and OneNote References: Message-ID: <000b01c3aec3$e3e160c0$9111758f@aine> True Here a code from someone at Microsoft when I asked about this stuff "We have bet the farm on XML" To be honest I hardly touched Infopath and OneNote during the entire beta process. I have noticed that all big RDBMS are now including some form of XML functionality (Oracle and DB2) and the new version of SQL Server has a lot of features. Lot of arguments on database debunkings re this sort of stuff and the move away from simple relational data tp XML. Video etc all stored within the database. Just out of interest I am goign to copy this thread to Bill Ramos see if he is willing to make a comment for the lsit on this. Is that OK with you both? Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 5:30 PM Subject: RE: [AccessD] MS InfoPath and OneNote > I have nothing at all against XML (except the lack of security) and > think it's a great tool, but there is nothing inherently relational > about XML. So are they introducing an entirely new object-based data > model, or what? "Design a form and don't worry about the data > structure" ... Until later? I think of the nightmare designs I've seen > in Excel and wonder just how far they intend to take this. Just because > ADO and XML can give you very flexible access to data doesn't mean the > data can be shaped any ol' which way and still make sense! > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 9:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Yeah XML but inside a relational database. > > Martin > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 4:45 PM > Subject: RE: [AccessD] MS InfoPath and OneNote > > > > Am I the only one who thinks Access is history? Heaven knows what > > they intend to use to *analyze* that data they collect with InfoPath. > > > I certainly won't volunteer to do it because I had too much experience > > > trying to do something similar with data collected (similarly except > > for the XML) in FileMaker! Yuck!! Relational design is apparently > > too hard for people to learn so we're going to use XML instead. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Wednesday, November 19, 2003 3:51 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MS InfoPath and OneNote > > > > > > Hi All > > > > Located this short article by Bill Ramos (Lead Program Manager, > > Microsoft Office Access 2003) on InfoPath which addresses people like > > us: > > > > http://accessvbsqladvisor.com/doc/13108 > > > > and about the toolkit: > > > > http://msadvisor.com/doc/13297 > > > > /gustav > > > > > > > Hi all > > > > > Anyone familiar with these new products and if they somehow relate > > > to Access? > > > > > I've tried to browse some brochures but they are so hyped that it is > > > > just plain impossible to figure out wether these apps are fancy toys > > > > which will bring any machine to a crawl or if they could be useful > > > tools in cooperation with Access and database applications. > > > > > And how are the programmed if you wish to create custom build apps? > > > I've located this link to a SDK related to InfoPath: > > > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93 > > > aa > > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > > > but it looks like you need to take a deep breath and have a weekend > > > set aside. > > > > > Also, how much are they relying on specific MS server software like > > > SharePoint or Exchange or pure MS environments or Office 2003 only? > > > If > > > > > so, the usefulness is very limited as our clients use a variety of > > > systems. > > > > > /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 gustav at cactus.dk Wed Nov 19 11:40:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 18:40:02 +0100 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <19535455983.20031119184002@cactus.dk> Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /gustav From gustav at cactus.dk Wed Nov 19 11:42:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 18:42:59 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: <000b01c3aec3$e3e160c0$9111758f@aine> References: <000b01c3aec3$e3e160c0$9111758f@aine> Message-ID: <8735633207.20031119184259@cactus.dk> Hi Martin Yes. No problem. /gustav > Just out of interest I am goign to copy this thread to Bill Ramos see if he > is willing to make a comment for the lsit on this. Is that OK with you both? From mwp.reid at qub.ac.uk Wed Nov 19 11:46:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 17:46:54 -0000 Subject: [AccessD] Primer on WithEvents and RaiseEvent References: <806536912C472E4A9D6515DF2E57261E2395EF@mercury.tnco-inc.com> Message-ID: <001f01c3aec5$1f1adb70$9111758f@aine> Who needs the book when you have JC on the list (<: Martin ----- Original Message ----- From: "Joe Rojas" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 19, 2003 4:31 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Just wondering...is this article the entire chapter or is there more in the > book on this topic? > > Thanks! > JR > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 8:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > only kidding John. > > As I said to you before, the stuff you put in is much better that anything > in the previous versions. > > Martin > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 1:38 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > Sorry Martin, I didn't realize. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Wednesday, November 19, 2003 8:03 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Mine where brand new as well. Not as good but new LOL > > > > Martin > > > > > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 19, 2003 12:46 PM > > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > LOL. > > > > > > Thanks for the plug Gustav. That would be my chapter, the only one in > the > > > book that was brand new. Had to do a little pushing to get it in there, > > > they thought it too "advanced" for a beginning basic book. > > > > > > John W. Colby > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > > Sent: Wednesday, November 19, 2003 6:56 AM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > > > Hi all > > > > > > Just noted this book chapter counting several well known listmembers > > > among the numerous authors: > > > > > > http://accessvbsqladvisor.com/doc/13276 > > > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > > handle an object's events inside classes other than the form classes. > > > This book chapter explains what it can do for you. > > > > > > /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 > > > > 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 Wed Nov 19 12:01:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 10:01:18 -0800 Subject: [AccessD] MS InfoPath and OneNote Message-ID: It's certainly OK with me. It would be nice to know whether I need to get into a new line of work! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS InfoPath and OneNote True Here a code from someone at Microsoft when I asked about this stuff "We have bet the farm on XML" To be honest I hardly touched Infopath and OneNote during the entire beta process. I have noticed that all big RDBMS are now including some form of XML functionality (Oracle and DB2) and the new version of SQL Server has a lot of features. Lot of arguments on database debunkings re this sort of stuff and the move away from simple relational data tp XML. Video etc all stored within the database. Just out of interest I am goign to copy this thread to Bill Ramos see if he is willing to make a comment for the lsit on this. Is that OK with you both? Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 5:30 PM Subject: RE: [AccessD] MS InfoPath and OneNote > I have nothing at all against XML (except the lack of security) and > think it's a great tool, but there is nothing inherently relational > about XML. So are they introducing an entirely new object-based data > model, or what? "Design a form and don't worry about the data > structure" ... Until later? I think of the nightmare designs I've > seen in Excel and wonder just how far they intend to take this. Just > because ADO and XML can give you very flexible access to data doesn't > mean the data can be shaped any ol' which way and still make sense! > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 9:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Yeah XML but inside a relational database. > > Martin > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 4:45 PM > Subject: RE: [AccessD] MS InfoPath and OneNote > > > > Am I the only one who thinks Access is history? Heaven knows what > > they intend to use to *analyze* that data they collect with > > InfoPath. > > > I certainly won't volunteer to do it because I had too much > > experience > > > trying to do something similar with data collected (similarly except > > for the XML) in FileMaker! Yuck!! Relational design is apparently > > too hard for people to learn so we're going to use XML instead. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Wednesday, November 19, 2003 3:51 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MS InfoPath and OneNote > > > > > > Hi All > > > > Located this short article by Bill Ramos (Lead Program Manager, > > Microsoft Office Access 2003) on InfoPath which addresses people > > like > > us: > > > > http://accessvbsqladvisor.com/doc/13108 > > > > and about the toolkit: > > > > http://msadvisor.com/doc/13297 > > > > /gustav > > > > > > > Hi all > > > > > Anyone familiar with these new products and if they somehow relate > > > to Access? > > > > > I've tried to browse some brochures but they are so hyped that it > > > is > > > > just plain impossible to figure out wether these apps are fancy > > > toys > > > > which will bring any machine to a crawl or if they could be useful > > > tools in cooperation with Access and database applications. > > > > > And how are the programmed if you wish to create custom build > > > apps? I've located this link to a SDK related to InfoPath: > > > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616- > > > 93 > > > aa > > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > > > but it looks like you need to take a deep breath and have a > > > weekend set aside. > > > > > Also, how much are they relying on specific MS server software > > > like SharePoint or Exchange or pure MS environments or Office 2003 > > > only? If > > > > > so, the usefulness is very limited as our clients use a variety of > > > systems. > > > > > /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 From jeffrey.demulling at usbank.com Wed Nov 19 12:11:28 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 19 Nov 2003 12:11:28 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: I thought it would be either a or d. But when I ran it I got 12/29/1899 11:00 PM. I used the following: Function test() MsgBox Format(DateAdd("h", -3, #2:00:00 AM#), "mm\/dd\/yyyy hh\:nn AM/PM") End Function "Gustav Brock" To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: [AccessD] Pop-quiz: DateAdd() and negative time values 11/19/2003 11:40 AM Please respond to "Access Developers discussion and problem solving" Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.Carter at telus.com Wed Nov 19 12:30:23 2003 From: Elizabeth.Carter at telus.com (Elizabeth Carter) Date: Wed, 19 Nov 2003 10:30:23 -0800 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: The answer you got is the one I would have expected off the top of my head... but it wasn't an option in the answers. Liz -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: November 19, 2003 10:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pop-quiz: DateAdd() and negative time values I thought it would be either a or d. But when I ran it I got 12/29/1899 11:00 PM. I used the following: Function test() MsgBox Format(DateAdd("h", -3, #2:00:00 AM#), "mm\/dd\/yyyy hh\:nn AM/PM") End Function "Gustav Brock" To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: [AccessD] Pop-quiz: DateAdd() and negative time values 11/19/2003 11:40 AM Please respond to "Access Developers discussion and problem solving" Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /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 starkey at wanadoo.nl Wed Nov 19 12:36:19 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Wed, 19 Nov 2003 19:36:19 +0100 Subject: [AccessD] ODBC Driver Automation In-Reply-To: Message-ID: Mark, setting up the driver or the ODBC (user/system/file) dsn? The driver has to be installed on the system, no way to automate this but with execution of the driver installation file. As for setting up an ODBC connection to a database you could look into this hint: dbengine.RegisterDatabase I also found this code on the web: http://www.utteraccess.com/forums/access/access173548.html Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 november 2003 18:32 To: AccessD at databaseadvisors.com Subject: [AccessD] ODBC Driver Automation Does anyone know of a way to automate the process of setting up an ODBC driver to a SQL Server? This would be extremely helpful. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 18-11-2003 Tested on: 19-11-2003 19:36:17 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From MarkBoyd at McBeeAssociates.com Wed Nov 19 12:39:05 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 19 Nov 2003 13:39:05 -0500 Subject: [AccessD] ODBC Driver Automation Message-ID: Thanks Eric, I think I can use 'DBEngine.RegisterDatabase' to do what I need. Mark -----Original Message----- From: StaRKeY [mailto:starkey at wanadoo.nl] Sent: Wednesday, November 19, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ODBC Driver Automation Mark, setting up the driver or the ODBC (user/system/file) dsn? The driver has to be installed on the system, no way to automate this but with execution of the driver installation file. As for setting up an ODBC connection to a database you could look into this hint: dbengine.RegisterDatabase I also found this code on the web: http://www.utteraccess.com/forums/access/access173548.html Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 november 2003 18:32 To: AccessD at databaseadvisors.com Subject: [AccessD] ODBC Driver Automation Does anyone know of a way to automate the process of setting up an ODBC driver to a SQL Server? This would be extremely helpful. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 18-11-2003 Tested on: 19-11-2003 19:36:17 avast! is copyright (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 John.Clark at niagaracounty.com Wed Nov 19 12:39:19 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 19 Nov 2003 13:39:19 -0500 Subject: [AccessD] Auto install fonts Message-ID: Thanks for the tip Gustav! Sorry for the delayed response...I've been off quite a bit lately and, when I have been here, there has been many diversions...today it is a 'toasted' server. I not only downloaded Inno Setup, but I also downloaded IS Tool, which is an interface designed for Inno, but created by another developer. It seems like it is exactly what I need, but it also looks like it is going to take some learning. Where did you get the that you sent me? I would like to investigate it more. I actually have it working except for the font...I don't know where to put it. Thanks again. I believe this will save my department hours of work, in the long run. John W Clark >>> gustav at cactus.dk 11/14/03 11:04AM >>> Hi John You can use the free Inno Setup for this: http://www.jrsoftware.org/isinfo.php FontInstall Description: Tells Setup the file is a font that needs to be installed. The value of this parameter is the name of the font as stored in the registry or WIN.INI. This must be exactly the same name as you see when you double-click the font file in Explorer. Note that Setup will automatically append " (TrueType)" to the end of the name. If the file is not a TrueType font, you must specify the flag fontisnttruetype in the Flags parameter. It's recommended that you use the flags onlyifdoesntexist and uninsneveruninstall when installing fonts to the {fonts} directory. To successfully install a font on Windows 2000/XP, the user must be a member of the Power Users or Administrators groups. On Windows NT 4.0 and earlier, anyone can install a font. Example: Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall /gustav > I use basically the same 'look' for all (or most) of the programs that I > write for my employer. This 'look' includes two fonts that are not > standard (airfoil.ttf and motley.ttf). When I install these programs to > a new computer, it is necessary for me to copy these ttf files and then > install them via 'control panel' and 'fonts'. > This was all fine for a while, but now the number of programs is > growing, as is the amount of users and the physical area that they are > spread over. Now I cannot always be the one who does the actual > installation, so I have been trying to create an automated process for > the install of these programs. I currently use a batch file that creates > a directory in 'Program Files' on their root drive, copies the files > into this directory, and copies a shortcut onto their desktop. The > remaining problem is that the fonts need to be installed, and I don't > know how to get around having them install the font--I don't want them > to touch anything they don't need to touch. > Is there a way to do this? I have never used any of the 'installer' > programs that I have read about, on this list--is this what I need to be > looking at? And, if so, which ones? I think I have noticed 'Install > Shield' (?) the most. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 19 13:15:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 20:15:58 +0100 Subject: [AccessD] Auto install fonts In-Reply-To: References: Message-ID: <2541211889.20031119201558@cactus.dk> Hi John The snip is from the help file. If you study this - it's more like a reference - while looking at the included samples (*.iss), you should be off. As for "where to put it"? I guess you mean the source directory? Either you can specify the full path of the font file: Source: "S:\SETUP\fonts\TrueType\OZHANDIN.TTF"; .. or insert a parameter under the [Setup] section: SourceDir=c:\files /gustav > Thanks for the tip Gustav! Sorry for the delayed response...I've been > off quite a bit lately and, when I have been here, there has been many > diversions...today it is a 'toasted' server. > I not only downloaded Inno Setup, but I also downloaded IS Tool, which > is an interface designed for Inno, but created by another developer. It > seems like it is exactly what I need, but it also looks like it is going > to take some learning. > Where did you get the that you sent me? I would like to > investigate it more. I actually have it working except for the font...I > don't know where to put it. > Thanks again. I believe this will save my department hours of work, in > the long run. > John W Clark >>>> gustav at cactus.dk 11/14/03 11:04AM >>> > Hi John > You can use the free Inno Setup for this: > http://www.jrsoftware.org/isinfo.php > > FontInstall > Description: > Tells Setup the file is a font that needs to be installed. The value > of this parameter is the name of the font as stored in the registry or > WIN.INI. This must be exactly the same name as you see when you > double-click the font file in Explorer. Note that Setup will > automatically append " (TrueType)" to the end of the name. > If the file is not a TrueType font, you must specify the flag > fontisnttruetype in the Flags parameter. > It's recommended that you use the flags onlyifdoesntexist and > uninsneveruninstall when installing fonts to the {fonts} directory. > To successfully install a font on Windows 2000/XP, the user must be a > member of the Power Users or Administrators groups. On Windows NT 4.0 > and earlier, anyone can install a font. > Example: > Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft > BT"; Flags: onlyifdoesntexist uninsneveruninstall > > /gustav >> I use basically the same 'look' for all (or most) of the programs > that I >> write for my employer. This 'look' includes two fonts that are not >> standard (airfoil.ttf and motley.ttf). When I install these programs > to >> a new computer, it is necessary for me to copy these ttf files and > then >> install them via 'control panel' and 'fonts'. >> This was all fine for a while, but now the number of programs is >> growing, as is the amount of users and the physical area that they > are >> spread over. Now I cannot always be the one who does the actual >> installation, so I have been trying to create an automated process > for >> the install of these programs. I currently use a batch file that > creates >> a directory in 'Program Files' on their root drive, copies the files >> into this directory, and copies a shortcut onto their desktop. The >> remaining problem is that the fonts need to be installed, and I > don't >> know how to get around having them install the font--I don't want > them >> to touch anything they don't need to touch. >> Is there a way to do this? I have never used any of the 'installer' >> programs that I have read about, on this list--is this what I need to > be >> looking at? And, if so, which ones? I think I have noticed 'Install >> Shield' (?) the most. From cfoust at infostatsystems.com Wed Nov 19 13:17:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 11:17:47 -0800 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: Why would it return any of those values, Gustav? Since the date is implied, removing 3 hours from it is going to kick it into the previous day. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, November 19, 2003 9:40 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Wed Nov 19 13:58:39 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 19 Nov 2003 13:58:39 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031119135839.659822691.serbach@new.rr.com> Dear Group, I'm helping another Access developer in my area upgrade an app to Access XP Runtime that will run in a Terminal Server environment. I'm supposed to help with the installation and testing of this configuration, too. One of the things I'm not clear on is this: does Runtime have to be installed once for every user on the Terminal Server? It seems to me that TS is based on Citrix, and as far as I know, a Citrix server parcelled out disk and RAM to each user; and each user had a copy of Word, Excel, etc., installed on his/her drive. Is this correct or am I way off base? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From ssharkins at bellsouth.net Wed Nov 19 13:54:24 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 19 Nov 2003 14:54:24 -0500 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values References: Message-ID: <007a01c3aed6$f1f140a0$210110ac@SUSANONE> Right -- shouldn't one of your options be 12/29/1899 11:00 PM? Susan H. > Why would it return any of those values, Gustav? Since the date is > implied, removing 3 hours from it is going to kick it into the previous > day. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 9:40 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Pop-quiz: DateAdd() and negative time values > > > Boring day. > So here's a quick quiz to wake you up. > > The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > > What does - off your head - this expression return: > > ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > > a) 12/30/1898 11:00 PM > b) 12/30/1899 01:00 AM > c) 12/30/1899 05:00 AM > d) 12/30/1899 05:00 PM > e) 12/30/1899 11:00 PM > > The tricky part is DateAdd(). Format(), it is only for ensuring a > consistent format of the return value. > > Morale: Be careful with negative time values. > > /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 jcolby at colbyconsulting.com Wed Nov 19 14:19:11 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 15:19:11 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <001f01c3aec5$1f1adb70$9111758f@aine> Message-ID: HEY! My royalty % was so small I never expect to see anything, but with you encouraging them to NOT buy the book... ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, November 19, 2003 12:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent Who needs the book when you have JC on the list (<: Martin ----- Original Message ----- From: "Joe Rojas" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 19, 2003 4:31 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Just wondering...is this article the entire chapter or is there more in the > book on this topic? > > Thanks! > JR > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 8:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > only kidding John. > > As I said to you before, the stuff you put in is much better that anything > in the previous versions. > > Martin > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 1:38 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > Sorry Martin, I didn't realize. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Wednesday, November 19, 2003 8:03 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Mine where brand new as well. Not as good but new LOL > > > > Martin > > > > > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 19, 2003 12:46 PM > > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > LOL. > > > > > > Thanks for the plug Gustav. That would be my chapter, the only one in > the > > > book that was brand new. Had to do a little pushing to get it in there, > > > they thought it too "advanced" for a beginning basic book. > > > > > > John W. Colby > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > > Sent: Wednesday, November 19, 2003 6:56 AM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > > > Hi all > > > > > > Just noted this book chapter counting several well known listmembers > > > among the numerous authors: > > > > > > http://accessvbsqladvisor.com/doc/13276 > > > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > > handle an object's events inside classes other than the form classes. > > > This book chapter explains what it can do for you. > > > > > > /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 > > > > 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 From jcolby at colbyconsulting.com Wed Nov 19 14:24:53 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 15:24:53 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <20031119134021.89D14256FCE@smithers.nildram.co.uk> Message-ID: They also left off Ian Blackburn, and Helmut Watson. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Wednesday, November 19, 2003 7:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent John, you must have pushed too hard. Wrox have left you off the author's list :-( http://www.wrox.com/books/0764544020.shtml Sue 'em, I say. Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Date: 19/11/03 17:50 LOL. Thanks for the plug Gustav. That would be my chapter, the only one in the book that was brand new. Had to do a little pushing to get it in there, they thought it too "advanced" for a beginning basic book. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 6:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav ________________________________________________ Message sent using UebiMiau 2.7.2 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Wed Nov 19 14:39:45 2003 From: askolits at ot.com (John Skolits) Date: Wed, 19 Nov 2003 15:39:45 -0500 Subject: [AccessD] Freezing a datasheet rows like in Excel In-Reply-To: Message-ID: Anyone know a way to allow a user to freeze rows in a datasheet view like you can freeze a frame in Excel? John Skolits From markamatte at hotmail.com Wed Nov 19 14:51:29 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 19 Nov 2003 20:51:29 +0000 Subject: [AccessD] First Record of Subform Message-ID: Hello All, Please forgive the confusing question...but: In A97 I have a subform(SF2) that is refreshed each time a different record is selected in another subform(SF1). Both are continuous forms. When I click a record in SF1...SF2 displays 5 records related to SF1 record...I click on record#5 in SF2....now I select a different record in SF1...and SF2 displays 8 records...but record#5 has focus. How do I refresh a subform and cause it to always go to the first record? Thanks, Mark _________________________________________________________________ Groove on the latest from the hot new rock groups! Get downloads, videos, and more here. http://special.msn.com/entertainment/wiredformusic.armx From cfoust at infostatsystems.com Wed Nov 19 14:55:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 12:55:23 -0800 Subject: [AccessD] First Record of Subform Message-ID: Requery the subform. That always sets the record pointer to the first record. Charlotte Foust -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, November 19, 2003 12:51 PM To: accessd at databaseadvisors.com Subject: [AccessD] First Record of Subform Hello All, Please forgive the confusing question...but: In A97 I have a subform(SF2) that is refreshed each time a different record is selected in another subform(SF1). Both are continuous forms. When I click a record in SF1...SF2 displays 5 records related to SF1 record...I click on record#5 in SF2....now I select a different record in SF1...and SF2 displays 8 records...but record#5 has focus. How do I refresh a subform and cause it to always go to the first record? Thanks, Mark _________________________________________________________________ Groove on the latest from the hot new rock groups! Get downloads, videos, and more here. http://special.msn.com/entertainment/wiredformusic.armx _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Wed Nov 19 15:01:18 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 19 Nov 2003 15:01:18 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: or f) None of the above? it should be 12/29/1899 11:00 pm shouldn't it? Gary Kjos garykjos at hotmail.com >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: [AccessD] Pop-quiz: DateAdd() and negative time values >Date: Wed, 19 Nov 2003 18:40:02 +0100 > >Boring day. >So here's a quick quiz to wake you up. > >The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > >What does - off your head - this expression return: > >? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > >a) 12/30/1898 11:00 PM >b) 12/30/1899 01:00 AM >c) 12/30/1899 05:00 AM >d) 12/30/1899 05:00 PM >e) 12/30/1899 11:00 PM > >The tricky part is DateAdd(). Format(), it is only for ensuring a >consistent format of the return value. > >Morale: Be careful with negative time values. > >/gustav > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Has one of the new viruses infected your computer? Find out with a FREE online computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From DWUTKA at marlow.com Wed Nov 19 15:13:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 19 Nov 2003 15:13:40 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275AC@main2.marlow.com> That's my answer too. Of course, I don't think I have ever used the DateAdd function. I just use plain old math when adding date/time info. Drew -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, November 19, 2003 3:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Pop-quiz: DateAdd() and negative time values or f) None of the above? it should be 12/29/1899 11:00 pm shouldn't it? Gary Kjos garykjos at hotmail.com >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: [AccessD] Pop-quiz: DateAdd() and negative time values >Date: Wed, 19 Nov 2003 18:40:02 +0100 > >Boring day. >So here's a quick quiz to wake you up. > >The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > >What does - off your head - this expression return: > >? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > >a) 12/30/1898 11:00 PM >b) 12/30/1899 01:00 AM >c) 12/30/1899 05:00 AM >d) 12/30/1899 05:00 PM >e) 12/30/1899 11:00 PM > >The tricky part is DateAdd(). Format(), it is only for ensuring a >consistent format of the return value. > >Morale: Be careful with negative time values. > >/gustav > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Has one of the new viruses infected your computer? Find out with a FREE online computer virus scan from McAfee. Take the FreeScan now! 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 greggs at msn.com Wed Nov 19 15:37:33 2003 From: greggs at msn.com (Greggs) Date: Wed, 19 Nov 2003 15:37:33 -0600 Subject: [AccessD] Terminal Server and Access XP In-Reply-To: <20031119135839.659822691.serbach@new.rr.com> Message-ID: I haven't done Access XP Runtime but all the other apps I have done like Office you just go to a DOS window, change user /install, and then install. When you're finished you go back to DOS, change user /execute, exit. The app is available to all users with the single install. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, November 19, 2003 1:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Terminal Server and Access XP Dear Group, I'm helping another Access developer in my area upgrade an app to Access XP Runtime that will run in a Terminal Server environment. I'm supposed to help with the installation and testing of this configuration, too. One of the things I'm not clear on is this: does Runtime have to be installed once for every user on the Terminal Server? It seems to me that TS is based on Citrix, and as far as I know, a Citrix server parcelled out disk and RAM to each user; and each user had a copy of Word, Excel, etc., installed on his/her drive. Is this correct or am I way off base? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 19 16:11:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 17:11:44 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <806536912C472E4A9D6515DF2E57261E2395EF@mercury.tnco-inc.com> Message-ID: Joe, I didn't compare to the book directly but it appears that they published the entire chapter, and that is all there is about withevents in the book. However I also wrote a series of withevent articles for DatabaseAdvisors' Many to Many. Poke through the various newsletters at http://www.databaseadvisors.com/newsletters.htm And more importantly, take one of the simple examples and just do it. It's easy once you try it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, November 19, 2003 11:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Just wondering...is this article the entire chapter or is there more in the book on this topic? Thanks! JR -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent only kidding John. As I said to you before, the stuff you put in is much better that anything in the previous versions. Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 1:38 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Sorry Martin, I didn't realize. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, November 19, 2003 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > Mine where brand new as well. Not as good but new LOL > > Martin > > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 12:46 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > LOL. > > > > Thanks for the plug Gustav. That would be my chapter, the only one in the > > book that was brand new. Had to do a little pushing to get it in there, > > they thought it too "advanced" for a beginning basic book. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Wednesday, November 19, 2003 6:56 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Hi all > > > > Just noted this book chapter counting several well known listmembers > > among the numerous authors: > > > > http://accessvbsqladvisor.com/doc/13276 > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > handle an object's events inside classes other than the form classes. > > This book chapter explains what it can do for you. > > > > /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 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 stuart at lexacorp.com.pg Wed Nov 19 16:30:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Nov 2003 08:30:50 +1000 Subject: [AccessD] ODBC Driver Automation In-Reply-To: Message-ID: <3FBC7BBA.32340.11B745@localhost> On 19 Nov 2003 at 12:31, Mark Boyd wrote: > Does anyone know of a way to automate the process of setting up an ODBC > driver to a SQL Server? > Here's the code I use (modify as necessary - watch for word wrap). I don't claim any originality, I can't remember where I found this. Option Compare Database Option Explicit Private Declare Function RegEnumKeyEx Lib "advapi32.dll" _ Alias "RegEnumKeyExA" _ (ByVal hKey As Long, _ ByVal dwIndex As Long, _ ByVal lpName As String, _ lpcbName As Long, _ ByVal lpReserved As Long, _ ByVal lpClass As String, _ lpcbClass As Long, _ ByVal lpftLastWriteTime As String) As Long Private Declare Function RegOpenKeyEx Lib "advapi32.dll" _ Alias "RegOpenKeyExA" _ (ByVal hKey As Long, _ ByVal lpSubKey As String, _ ByVal ulOptions As Long, _ ByVal samDesired As Long, phkResult As Long) As Long Private Declare Function SQLConfigDataSource Lib "odbccp32.dll" _ (ByVal hwndParent As Long, _ ByVal fRequest As Integer, _ ByVal lpszDriver As String, _ ByVal lpszAttributes As String) As Long Private Declare Function RegCloseKey Lib "advapi32.dll" _ (ByVal hKey As Long) As Long Const HKEY_LOCAL_MACHINE = &H80000002 Const ERROR_SUCCESS = 0& Const SYNCHRONIZE = &H100000 Const STANDARD_RIGHTS_READ = &H20000 Const STANDARD_RIGHTS_WRITE = &H20000 Const STANDARD_RIGHTS_EXECUTE = &H20000 Const STANDARD_RIGHTS_REQUIRED = &HF0000 Const STANDARD_RIGHTS_ALL = &H1F0000 Const KEY_QUERY_VALUE = &H1 Const KEY_SET_VALUE = &H2 Const KEY_CREATE_SUB_KEY = &H4 Const KEY_ENUMERATE_SUB_KEYS = &H8 Const KEY_NOTIFY = &H10 Const KEY_CREATE_LINK = &H20 Const KEY_READ = ((STANDARD_RIGHTS_READ Or _ KEY_QUERY_VALUE Or _ KEY_ENUMERATE_SUB_KEYS Or _ KEY_NOTIFY) And _ (Not SYNCHRONIZE)) Const REG_DWORD = 4 Const REG_BINARY = 3 Const REG_SZ = 1 Const ODBC_ADD_SYS_DSN = 4 '*********** Modify next lines as appropriate************** Const DSN_name = "MotuKoitabu" Const Server_name = "192.168.0.1" ' Raw IP address is used to avoid NT _ Domain name resolution probs. Const Database_name = "MotuKoitabu" Const Database_description = "Motu Koitabu Roll" Function Check_SDSN() ' Look for our System Data Source Name. If we find it,then great! ' If not, then let's create one on the fly. Dim lngKeyHandle As Long Dim lngResult As Long Dim lngCurIdx As Long Dim strValue As String Dim classValue As String Dim timeValue As String Dim lngValueLen As Long Dim classlngValueLen As Long Dim lngData As Long Dim lngDataLen As Long Dim strResult As String Dim DSNfound As Long Dim syscmdresult As Long syscmdresult = SysCmd(acSysCmdSetStatus, "Looking for System DSN " & DSN_name & " ...") ' Let's open the registry key that contains all of the ' System Data Source Names. lngResult = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _ "SOFTWARE\ODBC\ODBC.INI", _ 0&, _ KEY_READ, _ lngKeyHandle) If lngResult <> ERROR_SUCCESS Then MsgBox "ERROR: Cannot open the registry key HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI." & vbCrLf & vbCrLf & _ "Please make sure that ODBC and the SQL Server ODBC drivers have been installed." & vbCrLf & _ "Contact call your IT Section for more information." syscmdresult = SysCmd(acSysCmdClearStatus) Check_SDSN = -1 End If ' Now that the key is open, Let's look among all of ' the possible system data source names for the one ' we want. lngCurIdx = 0 DSNfound = False Do lngValueLen = 512 classlngValueLen = 512 strValue = String(lngValueLen, 0) classValue = String(classlngValueLen, 0) timeValue = String(lngValueLen, 0) lngDataLen = 512 lngResult = RegEnumKeyEx(lngKeyHandle, _ lngCurIdx, _ strValue, _ lngValueLen, _ 0&, _ classValue, _ classlngValueLen, _ timeValue) lngCurIdx = lngCurIdx + 1 If lngResult = ERROR_SUCCESS Then ' Is this our System Data Source Name? If strValue = DSN_name Then ' It is! Let's assume everything is good and do nothing. DSNfound = True syscmdresult = SysCmd(acSysCmdClearStatus) End If End If Loop While lngResult = ERROR_SUCCESS And Not DSNfound Call RegCloseKey(lngKeyHandle) If Not DSNfound Then ' Our System Data Source Name doesn't exist, so let's ' try to create it on the fly. syscmdresult = SysCmd(acSysCmdSetStatus, "Creating System DSN " & DSN_name & "...") '*********** Deleted "Trusted_Connection = Yes" if using SQL Security ' not NT Security to control access lngResult = SQLConfigDataSource(0, _ ODBC_ADD_SYS_DSN, _ "SQL Server", _ "DSN=" & DSN_name & Chr(0) & _ "Server=" & Server_name & Chr(0) & _ "Database=" & Database_name & Chr(0) & _ "UseProcForPrepare=Yes" & Chr(0) & _ "Trusted_Connection=Yes" & Chr$(0) & _ "Description=" & Database_description & Chr(0) & Chr(0)) If lngResult = False Then MsgBox "ERROR: Could not create the System DSN " & DSN_name & "." & vbCrLf & vbCrLf & _ "Please make sure that the SQL Server ODBC drivers have been installed." & vbCrLf & _ "Contact IT Section for more information." syscmdresult = SysCmd(acSysCmdClearStatus) Check_SDSN = -1 End If End If syscmdresult = SysCmd(acSysCmdClearStatus) Check_SDSN = 0 End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From sgeller at cce.umn.edu Wed Nov 19 16:31:18 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 19 Nov 2003 16:31:18 -0600 Subject: [AccessD] Page Break and SubReport Message-ID: I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 Lambert.Heenan at AIG.com Wed Nov 19 16:42:54 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 19 Nov 2003 17:42:54 -0500 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7961@xlivmbx12.aig.com> Gustav, Interesting bug you've discovered there, but the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" Here's a little code I just run and the output from it... Sub dateaddtest() Dim n As Integer Dim JustTime As Date Dim TimeAndDate As Date JustTime = #2:00:00 AM# TimeAndDate = #12/31/1899 2:00:00 AM# ' note it you try typing TimeAndDate = #21/30/1899 2:00:00# then Access will ' automatically change it to TimeAndDate - #2:00:00# For n = 1 To 26 Debug.Print n, Format(JustTime, "mm\/dd\/yyyy hh\:nn AM/PM"), _ Format(DateAdd("h", -n, JustTime), "mm\/dd\/yyyy hh\:nn AM/PM"), _ Format(DateAdd("h", n, JustTime), "mm\/dd\/yyyy hh\:nn AM/PM") Next n Debug.Print "====================" For n = 1 To 5 TimeAndDate = DateAdd("d", -1, TimeAndDate) Debug.Print n, Format(TimeAndDate, "mm\/dd\/yyyy hh\:nn AM/PM"), _ Format(DateAdd("h", -3, TimeAndDate), "mm\/dd\/yyyy hh\:nn AM/PM") Next n End Sub dateaddtest 1 12/30/1899 02:00 AM 12/30/1899 01:00 AM 12/30/1899 03:00 AM 2 12/30/1899 02:00 AM 12/30/1899 12:00 AM 12/30/1899 04:00 AM 3 12/30/1899 02:00 AM 12/30/1899 11:00 PM 12/30/1899 05:00 AM 4 12/30/1899 02:00 AM 12/30/1899 10:00 PM 12/30/1899 06:00 AM 5 12/30/1899 02:00 AM 12/30/1899 09:00 PM 12/30/1899 07:00 AM 6 12/30/1899 02:00 AM 12/30/1899 08:00 PM 12/30/1899 08:00 AM 7 12/30/1899 02:00 AM 12/30/1899 07:00 PM 12/30/1899 09:00 AM 8 12/30/1899 02:00 AM 12/30/1899 06:00 PM 12/30/1899 10:00 AM 9 12/30/1899 02:00 AM 12/30/1899 05:00 PM 12/30/1899 11:00 AM 10 12/30/1899 02:00 AM 12/30/1899 04:00 PM 12/30/1899 12:00 PM 11 12/30/1899 02:00 AM 12/30/1899 03:00 PM 12/30/1899 01:00 PM 12 12/30/1899 02:00 AM 12/30/1899 02:00 PM 12/30/1899 02:00 PM 13 12/30/1899 02:00 AM 12/30/1899 01:00 PM 12/30/1899 03:00 PM 14 12/30/1899 02:00 AM 12/30/1899 12:00 PM 12/30/1899 04:00 PM 15 12/30/1899 02:00 AM 12/30/1899 11:00 AM 12/30/1899 05:00 PM 16 12/30/1899 02:00 AM 12/30/1899 10:00 AM 12/30/1899 06:00 PM 17 12/30/1899 02:00 AM 12/30/1899 09:00 AM 12/30/1899 07:00 PM 18 12/30/1899 02:00 AM 12/30/1899 08:00 AM 12/30/1899 08:00 PM 19 12/30/1899 02:00 AM 12/30/1899 07:00 AM 12/30/1899 09:00 PM 20 12/30/1899 02:00 AM 12/30/1899 06:00 AM 12/30/1899 10:00 PM 21 12/30/1899 02:00 AM 12/30/1899 05:00 AM 12/30/1899 11:00 PM 22 12/30/1899 02:00 AM 12/30/1899 04:00 AM 12/31/1899 12:00 AM 23 12/30/1899 02:00 AM 12/30/1899 03:00 AM 12/31/1899 01:00 AM 24 12/30/1899 02:00 AM 12/30/1899 02:00 AM 12/31/1899 02:00 AM 25 12/30/1899 02:00 AM 12/30/1899 01:00 AM 12/31/1899 03:00 AM 26 12/30/1899 02:00 AM 12/30/1899 12:00 AM 12/31/1899 04:00 AM ==================== 1 12/30/1899 02:00 AM 12/30/1899 11:00 PM <== wrong 2 12/29/1899 02:00 AM 12/28/1899 11:00 PM 3 12/28/1899 02:00 AM 12/27/1899 11:00 PM 4 12/27/1899 02:00 AM 12/26/1899 11:00 PM 5 12/26/1899 02:00 AM 12/25/1899 11:00 PM Notice that for the magic date 12/30/1899, no matter how many hours you subtract from a Date/Time item you still wind up with a date of 12/30/1899. On the other hand if you add hours on everything seems to work as expected. Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Wednesday, November 19, 2003 2:18 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values > > Why would it return any of those values, Gustav? Since the date is > implied, removing 3 hours from it is going to kick it into the previous > day. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 9:40 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Pop-quiz: DateAdd() and negative time values > > > Boring day. > So here's a quick quiz to wake you up. > > The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > > What does - off your head - this expression return: > > ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > > a) 12/30/1898 11:00 PM > b) 12/30/1899 01:00 AM > c) 12/30/1899 05:00 AM > d) 12/30/1899 05:00 PM > e) 12/30/1899 11:00 PM > > The tricky part is DateAdd(). Format(), it is only for ensuring a > consistent format of the return value. > > Morale: Be careful with negative time values. > > /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 hsimpson88 at hotmail.com Wed Nov 19 16:43:22 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed, 19 Nov 2003 15:43:22 -0700 Subject: [AccessD] IE 5.5 download Message-ID: IE 5.5 is no longer available from Microsoft as a download yet I have a client in the position of it becoming a minimum system requirement to access a new government registry formerly only accessible with Netscape. Regrettably the client boxes run Win 3.11 and Win 95 and neither OS meets the IE 6 minimum of Win 98. It seems there is a limitless supply of throw away computers and Win 95 licenses that will forever meet the client's needs and taste for Word Perfect 5. The Win 95 machines currently run IE 5.00.2314.1003 and I'm curious whether 5.5 can run on a 95 box and if there is any where a version can be obtained. The registries will cease hosting the version that supports Netscape as of December 1, 2003. By the way, the machines are rock, ok - sandstone, solid, provided I don't run Word, WordPerfect, Netscape and IE concurrently (Netscape tends to crash when all are loaded at once) and although there are obvious memory leaks in the OS (if the primary peer server isn't rebooted every 3 days, resources go below 30% and worse after a Netscape crash, so it is rebooted every morning). The Win 95 machines run an Access 2K FE and the Win 3 machines use Access 2. The fastest machine here runs a 233 AMD chip with 64 megs. I'm almost shocked at how well it all works. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From serbach at new.rr.com Wed Nov 19 16:49:26 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 19 Nov 2003 16:49:26 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031119164926.699964895.serbach@new.rr.com> Greggs, >> I haven't done Access XP Runtime but all the other apps I have done like Office you just go to a DOS window, change user /install, and then install. When you're finished you go back to DOS, change user /execute, exit. << I'm sorry, but I didn't follow that. I know that you have to use a DOS window (God alone knows why) to execute certain NET commands like NET USER SoAndSo /TIME. Are you saying that it's important in Terminal Server, too? Who'd 'a thunk it? Do you mean that you don't login/logout of Windows TS as you do with Windows 2000 or XP? I confess that I know nothing about the operation of Terminal Server. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From KIsmert at TexasSystems.com Wed Nov 19 17:02:38 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 19 Nov 2003 17:02:38 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7961@xlivmbx12.aig.com> Message-ID: <006901c3aef1$3ad14350$2a3ca8c0@TEXASSYSTEMS.COM> Lambert, Gustav: Hmmm... What version of Access are you using? Lambert's routine gives correct results using Access 2000, SP3. I get 12/29/1899 for the subtractions > 2 hours, and 12/31 for additions > 23. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 19, 2003 4:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values Gustav, Interesting bug you've discovered there, but the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" Here's a little code I just run and the output from it... . . . Notice that for the magic date 12/30/1899, no matter how many hours you subtract from a Date/Time item you still wind up with a date of 12/30/1899. On the other hand if you add hours on everything seems to work as expected. Lambert . . . From cfoust at infostatsystems.com Wed Nov 19 17:46:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 15:46:15 -0800 Subject: [AccessD] Page Break and SubReport Message-ID: Put it in the main report and set the pagebreak to Visible = the subreport's HasData property. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, November 19, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Page Break and SubReport I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 Jdemarco at hshhp.org Wed Nov 19 18:02:56 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 19 Nov 2003 19:02:56 -0500 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8D2@TTNEXCHSRV1.hshhp.com> A97 gives result "e" from Gustav's original post - 12/30/1899 11:00 PM although we all agree it should return 12/29/1899. Jim DeMarco -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Wednesday, November 19, 2003 6:03 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values Lambert, Gustav: Hmmm... What version of Access are you using? Lambert's routine gives correct results using Access 2000, SP3. I get 12/29/1899 for the subtractions > 2 hours, and 12/31 for additions > 23. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 19, 2003 4:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values Gustav, Interesting bug you've discovered there, but the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" Here's a little code I just run and the output from it... . . . Notice that for the magic date 12/30/1899, no matter how many hours you subtract from a Date/Time item you still wind up with a date of 12/30/1899. On the other hand if you add hours on everything seems to work as expected. Lambert . . . _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From greggs at msn.com Wed Nov 19 19:32:05 2003 From: greggs at msn.com (Greggs) Date: Wed, 19 Nov 2003 19:32:05 -0600 Subject: [AccessD] Terminal Server and Access XP In-Reply-To: <20031119164926.699964895.serbach@new.rr.com> Message-ID: No... Terminal Services login does work just like windows. The DOS commands are just for installing the app. You load the app using the procedure below and then it is available to any Terminal Services user. I should have been a little clearer. 1. Open the DOS window and type... CHANGE USER /INSTALL 2. Install your application as you normally would 3. Go back to your DOS window and type... CHANGE USER /EXECUTE You only have to do this when installing the app. After that everything should work just like it normally would. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, November 19, 2003 4:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Terminal Server and Access XP Greggs, >> I haven't done Access XP Runtime but all the other apps I have done like Office you just go to a DOS window, change user /install, and then install. When you're finished you go back to DOS, change user /execute, exit. << I'm sorry, but I didn't follow that. I know that you have to use a DOS window (God alone knows why) to execute certain NET commands like NET USER SoAndSo /TIME. Are you saying that it's important in Terminal Server, too? Who'd 'a thunk it? Do you mean that you don't login/logout of Windows TS as you do with Windows 2000 or XP? I confess that I know nothing about the operation of Terminal Server. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 19 19:32:02 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Nov 2003 17:32:02 -0800 Subject: [AccessD] IE 5.5 download References: Message-ID: <3FBC1992.5080308@shaw.ca> From the help desk at U Victoria , it says Win95 works with IE5.5SP2 They only have the download installers which no longer work but the help desk directs you to another site that has the downloads from IE 1.0 to IE 5.5 SP2 thru IE 6.0 and there is a SDK as well You may need IE 4 for Win 3.11 not sure Bit of a large download 84 Meg http://browsers.evolt.org/?ie/32bit Henry Simpson wrote: > IE 5.5 is no longer available from Microsoft as a download yet I have > a client in the position of it becoming a minimum system requirement > to access a new government registry formerly only accessible with > Netscape. Regrettably the client boxes run Win 3.11 and Win 95 and > neither OS meets the IE 6 minimum of Win 98. It seems there is a > limitless supply of throw away computers and Win 95 licenses that will > forever meet the client's needs and taste for Word Perfect 5. > > The Win 95 machines currently run IE 5.00.2314.1003 and I'm curious > whether 5.5 can run on a 95 box and if there is any where a version > can be obtained. The registries will cease hosting the version that > supports Netscape as of December 1, 2003. > > By the way, the machines are rock, ok - sandstone, solid, provided I > don't run Word, WordPerfect, Netscape and IE concurrently (Netscape > tends to crash when all are loaded at once) and although there are > obvious memory leaks in the OS (if the primary peer server isn't > rebooted every 3 days, resources go below 30% and worse after a > Netscape crash, so it is rebooted every morning). The Win 95 machines > run an Access 2K FE and the Win 3 machines use Access 2. The fastest > machine here runs a 233 AMD chip with 64 megs. I'm almost shocked at > how well it all works. > > Hen > > -- Marty Connelly Victoria, B.C. Canada From jmhla at earthlink.net Wed Nov 19 19:36:16 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Wed, 19 Nov 2003 17:36:16 -0800 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted Message-ID: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA From cfoust at infostatsystems.com Wed Nov 19 19:44:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 17:44:07 -0800 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: I've got two at work, 97 and 2002 (WinXP). On my personal machine (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 19 19:53:43 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Nov 2003 11:53:43 +1000 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: <3FBCAB47.13588.1E580AB7@localhost> On 19 Nov 2003 at 17:36, Joe Hecht wrote: > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > 2.0, 97 and 2K on one machine. 97 and 2K on several others. I've got a couple of client sites with mixed 97/2000 installations (work stations range from old Compaq P133/32MB machines running W95 up to the latest Dells running W2K). Back ends are 97, front end MDEs are both 97 and 2K. I always have at least one machine with A97 and A2K installed on the site. As the older machines die, more and more machines switch over to the 2K version - hopefully in a couple of years, I'll be able to retire the A97 FEs and upgrade the BEs :-) One my primary dev machine in the office, I have a dual boot system with Office 97 running under 98SE and Office 2K running under W2KPro. It also has Office 4.3 (Access v2.0) on the 98SE partition - I installed it a year or so ago to crack an old protected v2 application so that I could upgrade it to 2K. Took me a while to find the installation set ) -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From DWUTKA at marlow.com Wed Nov 19 20:02:49 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 19 Nov 2003 20:02:49 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275AF@main2.marlow.com> I have Office 97, and Office 2000 developers Edition installed on 3 machines (work machine, home machine, and laptop). When dealing with Access work, almost everything I am getting is 2000. I would say that at least 80% of the access work (I do for contract stuff) is in Access 2000. The rest is 97. Now, at my full time job, it is STRICTLY Access 97, because our entire office is still using Office 97 (with some upgrades for components like Front Page and Outlook). Now, that is strictly dealing with Access only applications. When I am working with web pages, in house is STRICTLY 97. As far as contract stuff, it's split. Some are 97, some are 2000. However, if I am building from scratch, I use 97 as the backend. This includes VB and/or ASP front ends. One note on this, when I build this applications, I use ADO to connect to the Backends. I also use the Microsoft.Jet.OLEDB.4.0 provider, which connects to either 97 or 2000 database sources. I do this for 2 reasons. Back when I started writing VB front ends, the current service pack for VB 6.0 had a quirk in it (either the service pack or the version of MDAC, don't remember which), which caused all sorts of odd behavior when using the provider specifically for Jet 3.51. However, the provider for Jet 4.0 didn't have the issues, and worked the same with Access 97. Secondly, if there is ever a reason to upgrade a backend from 97 to 2000, I don't have to change the FE code, because it doesn't care. Drew -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 19 20:23:10 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 21:23:10 -0500 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: I have Access97 and A2K on one machine, and AXP on another. I use Outlook automation to send email and the SP3 for Office2K breaks outlook automation such that it asks for permission for every email sent. SP3 fixed the screwup where XP breaks 2K but I simply can't install it on my dev machine. Thus XP on one, 2K on another. And I am NOT happy to have to do that! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht Sent: Wednesday, November 19, 2003 8:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From caa at highway.com.br Wed Nov 19 20:23:04 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Thu, 20 Nov 2003 00:23:04 -0200 Subject: [AccessD] More subforms on the main form In-Reply-To: <003d01c3add6$5a484c40$0100a8c0@razvoj> References: <003d01c3add6$5a484c40$0100a8c0@razvoj> Message-ID: On Tue, 18 Nov 2003 14:16:57 +0100, Ervin Brindza wrote: > > Hi, > I need an advice(Access97): on the main form I have 2 subforms, and 3 > other(separated by meaning) subforms. The problem is that the users have > only 17" screen and I have to shrink the subforms too much. Can you > provide any reasonable solution? Like hiding one "thread" of subforms or > open one "thread of subforms" on some pop up window or something else? What about using tabs??? -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From demulling at centurytel.net Wed Nov 19 21:23:50 2003 From: demulling at centurytel.net (Demulling Family) Date: Wed, 19 Nov 2003 21:23:50 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> References: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: <3FBC33C6.9030104@centurytel.net> On my home pc I have A97, A2K, and AXP Developer. OS is Win98 At work I have A97 and AXP Developer OS is NT. At work I see the following on user's desktops: A97 A2K A97 and A2k AXP Runtime (This are my latest apps) Joe Hecht wrote: >I have one machine and Access 97, 2000, XP and 2003. > >The OS is win XP. > >How many people have more than one version of Access on one machine. >Which versions? What are most clients still using? > >Thanks > > >Joe Hecht > >Los Angeles CA > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > From jmhla at earthlink.net Wed Nov 19 21:27:47 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Wed, 19 Nov 2003 19:27:47 -0800 Subject: [AccessD] John Colby Does your sysvar work in Access XP? Message-ID: <002801c3af16$485cf9e0$fda8a8c0@delllaptop> Less experienced programming minds would like to know. Thanks Joe Hecht Los Angeles CA From john at winhaven.net Wed Nov 19 21:40:07 2003 From: john at winhaven.net (John Bartow) Date: Wed, 19 Nov 2003 21:40:07 -0600 Subject: [AccessD] More subforms on the main form In-Reply-To: Message-ID: IMO this is a very good suggestion. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Carlos Alberto > Alves > Sent: Wednesday, November 19, 2003 8:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] More subforms on the main form > > > On Tue, 18 Nov 2003 14:16:57 +0100, Ervin Brindza wrote: > > > > > Hi, > > I need an advice(Access97): on the main form I have 2 subforms, and 3 > > other(separated by meaning) subforms. The problem is that the > users have > > only 17" screen and I have to shrink the subforms too much. Can you > > provide any reasonable solution? Like hiding one "thread" of > subforms or > > open one "thread of subforms" on some pop up window or something else? > > What about using tabs??? > > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > ************************************** > _______________________________________________ > 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 Nov 19 22:05:48 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 20 Nov 2003 12:05:48 +0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: Message-ID: <003e01c3af1b$9476b050$5100a8c0@BITSNB02> I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are > you running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every > email sent. > SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you > running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 19 22:11:02 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 20 Nov 2003 12:11:02 +0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? X Posted In-Reply-To: <3FBCAB47.13588.1E580AB7@localhost> Message-ID: <003f01c3af1c$5005d350$5100a8c0@BITSNB02> > -----Original Message----- > One my primary dev machine in the office, I have a dual boot > system with > Office 97 running under 98SE and Office 2K running under > W2KPro. It also > has Office 4.3 (Access v2.0) on the 98SE partition - I installed it a > year or so ago to crack an old protected v2 application so > that I could > upgrade it to 2K. Took me a while to find the installation set ) I remember for one project I was upgrading a BE to 2K from ver2, and was having immense troubles. I ended up digging out Office 4.3 as well, but after messing around with it, discovered if I had used Acc97 as the intermediate I would have had much less pain. Stuart From adtp at touchtelindia.net Wed Nov 19 22:15:37 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 20 Nov 2003 09:45:37 +0530 Subject: [AccessD] Page Break and SubReport References: Message-ID: <009501c3af1d$14b7d450$ceedf73d@winxp> Susan, If the RecordSource for a subreport has no data, the only event that gets fired (for the report acting as SourceObject for the subreport control) is its open event. Thereafter, for other events, the subreport behaves as if it does not exist. It would therefore be preferable to check for No Data by using DCount() function directly on the query serving as record source for the subreport. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, November 20, 2003 05:16 Subject: RE: [AccessD] Page Break and SubReport Put it in the main report and set the pagebreak to Visible = the subreport's HasData property. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, November 19, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Page Break and SubReport I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 weeden1949 at hotmail.com Wed Nov 19 22:27:23 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Wed, 19 Nov 2003 22:27:23 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted References: <2F8793082E00D4119A1700B0D0216BF8022275AF@main2.marlow.com> Message-ID: I have Access97 ODE and Access XP (used to have Access97 ODE, 2000 and XP, but new computer and 2000 was toast). Most of my clients are still using Access 97. Hinting at changing to XP, but now 2003 is out so they'll probably wait until I clear their apps through it. Sigh. This is never going to end. Greg Smith weeden1949 at hotmail.com From stuart at lexacorp.com.pg Wed Nov 19 22:35:33 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Nov 2003 14:35:33 +1000 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? X Posted In-Reply-To: <003f01c3af1c$5005d350$5100a8c0@BITSNB02> References: <3FBCAB47.13588.1E580AB7@localhost> Message-ID: <3FBCD135.9437.1EEC3987@localhost> On 20 Nov 2003 at 12:11, Stuart Sanders wrote: > > I remember for one project I was upgrading a BE to 2K from ver2, and was having > immense troubles. I ended up digging out Office 4.3 as well, but after messing > around with it, discovered if I had used Acc97 as the intermediate I would have > had much less pain. > > Stuart > I would have if I could, but the problem was the Access security that was used. I had to run under v2.0 to crack it before I could do anythinbg with it in another version. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From glen_mcwilliams at msn.com Wed Nov 19 22:59:01 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Wed, 19 Nov 2003 20:59:01 -0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted References: Message-ID: Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, November 19, 2003 5:44 PM Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted I've got two at work, 97 and 2002 (WinXP). On my personal machine (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 19 23:28:10 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 20 Nov 2003 05:28:10 +0000 Subject: [AccessD] First Record of Subform Message-ID: Sorry Charlotte...but thats not the case...I requery the subform of SF2 on each ONCURRENT of SF1...and whatever record has focus prior...still has focus after the REQUERY. Other ideas? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] First Record of Subform >Date: Wed, 19 Nov 2003 12:55:23 -0800 > >Requery the subform. That always sets the record pointer to the first >record. > >Charlotte Foust > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, November 19, 2003 12:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] First Record of Subform > > >Hello All, > >Please forgive the confusing question...but: > >In A97 I have a subform(SF2) that is refreshed each time a different >record >is selected in another subform(SF1). Both are continuous forms. When I > >click a record in SF1...SF2 displays 5 records related to SF1 >record...I >click on record#5 in SF2....now I select a different record in SF1...and >SF2 >displays 8 records...but record#5 has focus. > >How do I refresh a subform and cause it to always go to the first >record? > >Thanks, > >Mark > >_________________________________________________________________ >Groove on the latest from the hot new rock groups! Get downloads, >videos, >and more here. http://special.msn.com/entertainment/wiredformusic.armx > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From the hottest toys to tips on keeping fit this winter, you?ll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx From stuart at pacific.net.hk Wed Nov 19 23:36:29 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 20 Nov 2003 13:36:29 +0800 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted In-Reply-To: Message-ID: <004301c3af28$4009c2c0$5100a8c0@BITSNB02> Generally involves installing in the correct order (97 then 2K then XP). And to be safe, install the service packs for each after each app install (97 and 97 SPs, then 2K and 2K SPs, etc) When installing 2K and XP, you will need to do a custom install and tell the installer not to remove the previous version of access. Also note that it is advisable to put shortcuts to each msaccess.exe where you can easily get them (ie for me they are in the quick launch toolbar on Windows 2K), as each version of access claims the mdb extension automatically when you run it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Glen McWilliams > Sent: Thursday, 20 November, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Poll: How many versions of Access are > you running ononemachine? XPosted > > > Is there some place I can find instructions for loading 97, > 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access > are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either > 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are > you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhla at earthlink.net Thu Nov 20 00:34:48 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Wed, 19 Nov 2003 22:34:48 -0800 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted In-Reply-To: Message-ID: <000701c3af30$6857c760$fda8a8c0@delllaptop> It used to be if you loaded the oldest version first and worked up you were ok. Do not know if that is still true with XP and 2003 Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Glen McWilliams Sent: Wednesday, November 19, 2003 8:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, November 19, 2003 5:44 PM Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted I've got two at work, 97 and 2002 (WinXP). On my personal machine (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 00:52:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Nov 2003 22:52:41 -0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted References: Message-ID: <3FBC64B9.6080605@shaw.ca> Load in order Access 97, 2 Office service packs, (ODE SP 2 if needed), Jet 3.51 Service Release 3 (needed for Jet SR7 and 8) Jet SR3 from here http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en Access 2000, 3 Office service packs Access XP, 2 Office SP's Finally Jet Service Pack 7 on win NT or Win9x,( Access xp won't install on win95.) or Jet Service Pack 8 on Win2000, WinXP or Win2003 Maybe they have fixed 8 to run on lower OS, not sure. You can't get the Office upgrades for Office 97 through the MS office update scan site anymore but you can get all of them from here http://support.microsoft.com/default.aspx?scid=fh;EN-CA;sp Oh yes there are also these two new goodies for word97 and excel 97 security. http://woodyswatch.com/kb/?830354 http://woodyswatch.com/kb/?830356 Glen McWilliams wrote: >Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 20 01:00:16 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Nov 2003 23:00:16 -0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted References: <3FBC64B9.6080605@shaw.ca> Message-ID: <3FBC6680.2000306@shaw.ca> Oh yes install each version into a different directory say Office9,Office10 etc. MartyConnelly wrote: > Load in order > > Access 97, 2 Office service packs, (ODE SP 2 if needed), Jet 3.51 > Service Release 3 (needed for Jet SR7 and 8) > Jet SR3 from here > http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en > > > Access 2000, 3 Office service packs > > Access XP, 2 Office SP's > > Finally Jet Service Pack 7 on win NT or Win9x,( Access xp won't > install on win95.) > or Jet Service Pack 8 on Win2000, WinXP or Win2003 > Maybe they have fixed 8 to run on lower OS, not sure. > > You can't get the Office upgrades for Office 97 through the MS office > update scan site anymore > but you can get all of them from here > http://support.microsoft.com/default.aspx?scid=fh;EN-CA;sp > > Oh yes there are also these two new goodies for word97 and excel 97 > security. > > http://woodyswatch.com/kb/?830354 > > http://woodyswatch.com/kb/?830356 > > > Glen McWilliams wrote: > >> Is there some place I can find instructions for loading 97, 2000, >> 2002 on a machine? >> >> ----- Original Message ----- From: Charlotte Foust To: Access >> Developers discussion and problem solving Sent: Wednesday, November >> 19, 2003 5:44 PM >> Subject: RE: [AccessD] Poll: How many versions of Access are you >> running onone machine? XPosted >> >> >> I've got two at work, 97 and 2002 (WinXP). On my personal machine >> (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or >> 2002. >> >> Charlotte Foust >> >> -----Original Message----- >> From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, >> November 19, 2003 5:36 PM >> To: AccessD; ACCESS-L >> Subject: [AccessD] Poll: How many versions of Access are you running on >> one machine? XPosted >> >> >> I have one machine and Access 97, 2000, XP and 2003. The OS is >> win XP. >> How many people have more than one version of Access on one machine. >> Which versions? What are most clients still using? >> Thanks >> >> Joe Hecht >> >> Los Angeles CA >> >> >> >> >> > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Nov 20 01:07:02 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 19 Nov 2003 23:07:02 -0800 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <19014831166.20031119125617@cactus.dk> Message-ID: Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 20 01:42:27 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 08:42:27 +0100 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CED3@stekelbes.ithelps.local> Since yesterday I have now 3 versions running. Access 2000, 2002(XP), 2003. +Off Dev 2000, 2002. Still have an client in A97 but I find A97 doesn't go that well with A2K or others. I'm used to the VBA interface of A2K, so I convert each time back and forth between A2K and A97. Give me sometimes some reference problems, but I can live with that. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Thursday, November 20, 2003 2:36 AM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Nov 20 02:01:11 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 20 Nov 2003 00:01:11 -0800 (PST) Subject: [AccessD] Copy current record Message-ID: <20031120080111.64718.qmail@web60204.mail.yahoo.com> Hi group, i've got an DAO recordset in A2k called rstNM wich is linked to table tblNewMessage I need to copy the current record to a new table called tblError. tblnewmessage and tblError are identical. Problem: rstNM has 27 fields and several of them can be Null. How can I copy the current record (wich has at least one Null value) to this table? TIA Sander __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ From mwp.reid at qub.ac.uk Thu Nov 20 02:54:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 20 Nov 2003 08:54:25 -0000 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> Message-ID: <000901c3af43$e615e4d0$9111758f@aine> Disclaimer This is a personal reply to me and NOT an OFFICIAL Microsoft Response I try to dispel the marketing hype around InfoPath for the Access developer. I've yet to see an InfoPath scenario that couldn't be solved quicker with Access 2003 and its new XML features. If you are not familiar with relational databases and tools like Access, then InfoPath is a tool to consider if your business is starting to adopt XML as a transport mechanism between business processes. If you live in a world of ODBC and OLEDB for moving data within your organization - and it's working - why mess with a good thing. On the other hand, if you are struggling with ways to send that data through your firewall to your business partners/customers, XML works really well, because text doesn't get hung up in the process. With that said, Access is an excellent tool for exporting relational data as XML and importing XML from other sources. From gustav at cactus.dk Thu Nov 20 03:08:33 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 10:08:33 +0100 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values In-Reply-To: <19535455983.20031119184002@cactus.dk> References: <19535455983.20031119184002@cactus.dk> Message-ID: <294426525.20031120100833@cactus.dk> Hi all OK, this was a bit unfair as one option, the correct, was left out! But that didn't fool you. For a human the result should be: f) 12/29/1899 11:00 PM However, the result depends on the version. Access 2.0 (!): b) 12/30/1899 01:00 AM Access 95, 97: e) 12/30/1899 11:00 PM Access 2000: f) 12/29/1899 11:00 PM I didn't go further but I guess Access XP and A2003 calculate it right as A2000 does. Also, Lambert's wording is more precise than mine: .. the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" [for version 97 and earlier]. /gustav > Boring day. > So here's a quick quiz to wake you up. > The time value of #02:00 AM# equals > 12/30/1899 02:00 AM > What does - off your head - this expression return: > ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > a) 12/30/1898 11:00 PM > b) 12/30/1899 01:00 AM > c) 12/30/1899 05:00 AM > d) 12/30/1899 05:00 PM > e) 12/30/1899 11:00 PM > The tricky part is DateAdd(). Format(), it is only for ensuring a > consistent format of the return value. > Morale: Be careful with negative time values for A97 and earlier. > /gustav From pedro at plex.nl Thu Nov 20 11:54:19 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 20 Nov 2003 11:54:19 (MET) Subject: [AccessD] query Message-ID: <200311201054.hAKAsJEU010363@mailhostC.plex.net> Hello, i have a query in which i want to show each "Praktijk" with the same "adres". How can this been done now i get [Praktijk] [adres] Janssen rondweg Janssen rondweg Janssen rondweg Janssen herenweg Hendriks kortweg Hendriks kortweg Hendriks langeweg i would like to have [Praktijk] [adres] Janssen rondweg Janssen herenweg Hendriks kortweg Hendriks langeweg SELECT DISTINCTROW tblHarts.Praktijk, tblHarts.Adres, tblHarts.Postcode, tblHarts.Plaats, tblHarts.Oud FROM tblHarts WHERE (((tblHarts.Praktijk) In (SELECT [Praktijk] FROM [tblHarts] As Tmp GROUP BY [Praktijk] )) AND ((tblHarts.Oud)=No)) ORDER BY tblHarts.Praktijk; From R.Griffiths at bury.gov.uk Thu Nov 20 05:03:20 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 20 Nov 2003 11:03:20 -0000 Subject: [AccessD] query Message-ID: try change DISTINCTROW to DISTINCT AFAIK the DISTINCTROW will take into account other fields such as tblHarts.Postcode, tblHarts.Plaats, tblHarts.Oud (if they differ from row to row the row will be returned) with DISTINCT if you only return the two fields [Praktijk] [adres] in your query then this should return the results as required Richard Richard > -----Original Message----- > From: pedro at plex.nl [SMTP:pedro at plex.nl] > Sent: 20 November 2003 11:54 > To: AccessD at databaseadvisors.com > Subject: [AccessD] query > > Hello, > > i have a query in which i want to show each "Praktijk" with the same > "adres". > How can this been done > > now i get > > [Praktijk] [adres] > Janssen rondweg > Janssen rondweg > Janssen rondweg > Janssen herenweg > Hendriks kortweg > Hendriks kortweg > Hendriks langeweg > > > i would like to have > > [Praktijk] [adres] > Janssen rondweg > Janssen herenweg > Hendriks kortweg > Hendriks langeweg > > > > SELECT DISTINCTROW tblHarts.Praktijk, tblHarts.Adres, tblHarts.Postcode, > tblHarts.Plaats, tblHarts.Oud > FROM tblHarts > WHERE (((tblHarts.Praktijk) In (SELECT [Praktijk] FROM [tblHarts] As Tmp > GROUP BY [Praktijk] )) AND ((tblHarts.Oud)=No)) > ORDER BY tblHarts.Praktijk; > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Nov 20 05:05:44 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 20 Nov 2003 11:05:44 -0000 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: <030801c3af56$3f005320$b274d0d5@minster33c3r25> I have 97 and 2002. Main client still on 97. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht > Sent: 20 November 2003 01:36 > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you > running on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one > machine. Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From andy at minstersystems.co.uk Thu Nov 20 06:59:51 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 20 Nov 2003 12:59:51 -0000 Subject: [AccessD] First Record of Subform In-Reply-To: Message-ID: <031201c3af66$2fa20c60$b274d0d5@minster33c3r25> Mark How about something like this in the OnCurrent of SF1: Me.Parent.sub2.Form.Requery If Me.Parent.sub2.Form.Recordsetclone.RecordCount<>0 then Me.Parent.sub2.Form.Recordsetclone.MoveFirst Me.Parent.sub2.Form.Bookmark=Me.Parent.sub2.Form.Recordsetclone.Bookmark End If Haven't tested it, but seems about right. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: 20 November 2003 05:28 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] First Record of Subform > > > Sorry Charlotte...but thats not the case...I requery the > subform of SF2 on > each ONCURRENT of SF1...and whatever record has focus > prior...still has > focus after the REQUERY. > > Other ideas? > > Thanks, > > Mark > > > >From: "Charlotte Foust" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] First Record of Subform > >Date: Wed, 19 Nov 2003 12:55:23 -0800 > > > >Requery the subform. That always sets the record pointer to > the first > >record. > > > >Charlotte Foust > > > >-----Original Message----- > >From: Mark A Matte [mailto:markamatte at hotmail.com] > >Sent: Wednesday, November 19, 2003 12:51 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] First Record of Subform > > > > > >Hello All, > > > >Please forgive the confusing question...but: > > > >In A97 I have a subform(SF2) that is refreshed each time a different > >record is selected in another subform(SF1). Both are > continuous forms. > >When I > > > >click a record in SF1...SF2 displays 5 records related to SF1 > >record...I click on record#5 in SF2....now I select a > different record > >in SF1...and SF2 > >displays 8 records...but record#5 has focus. > > > >How do I refresh a subform and cause it to always go to the first > >record? > > > >Thanks, > > > >Mark > > > >_________________________________________________________________ > >Groove on the latest from the hot new rock groups! Get downloads, > >videos, and more here. > >http://special.msn.com/entertainment/wiredformusic.armx > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > >From the hottest toys to tips on keeping fit this winter, > you'll find a > range of helpful holiday info here. > http://special.msn.com/network/happyholidays.armx > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From serbach at new.rr.com Thu Nov 20 07:31:28 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 07:31:28 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031120073128.772570248.serbach@new.rr.com> Greggs, Thanks for the clarification. What floors me is that there is *anything* that requires a DOS command prompt in Windows these days. Since I'm a rookie with Terminal Services let me see if I've got this right. I can install one copy of Access XP Runtime and one copy of the FE for my Access application on the Terminal Services server. The BE is also installed there. Then anybody that is a user of the Terminal Server loads a copy of Access XP Runtime and my application into a "separate" memory space on the server and just the screens are sent down the wire to the user's workstation/terminal. All of the normal Access processing of queries and reports and such is done on the Terminal Server for each and every user of the Access application. Have I got that right? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From serbach at new.rr.com Thu Nov 20 07:33:06 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 07:33:06 -0600 Subject: [AccessD] A2K / AXP: Indirect Replication Message-ID: <20031120073306.1667392103.serbach@new.rr.com> Dear Group, So, nobody here has done Indirect Synchronization / Replication using an FTP site "drop box"? Well, maybe if I get it going I can write an article for the AccessD newsletter, eh? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jcolby at colbyconsulting.com Thu Nov 20 08:01:32 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:01:32 -0500 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <3FBC64B9.6080605@shaw.ca> Message-ID: Why don't you write this up for Many to Many? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Thursday, November 20, 2003 1:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Load in order Access 97, 2 Office service packs, (ODE SP 2 if needed), Jet 3.51 Service Release 3 (needed for Jet SR7 and 8) Jet SR3 from here http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f- 8bb2-8b06d6cb668d&DisplayLang=en Access 2000, 3 Office service packs Access XP, 2 Office SP's Finally Jet Service Pack 7 on win NT or Win9x,( Access xp won't install on win95.) or Jet Service Pack 8 on Win2000, WinXP or Win2003 Maybe they have fixed 8 to run on lower OS, not sure. You can't get the Office upgrades for Office 97 through the MS office update scan site anymore but you can get all of them from here http://support.microsoft.com/default.aspx?scid=fh;EN-CA;sp Oh yes there are also these two new goodies for word97 and excel 97 security. http://woodyswatch.com/kb/?830354 http://woodyswatch.com/kb/?830356 Glen McWilliams wrote: >Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 20 08:03:19 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:03:19 -0500 Subject: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted In-Reply-To: <004301c3af28$4009c2c0$5100a8c0@BITSNB02> Message-ID: Also make SURE that you put them each in a different directory and program group. I use Office for 97 (it doesn't seem to offer a choice), but then use Microsoft Office2K for 2K and Microsoft Office XP for XP. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Thursday, November 20, 2003 12:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Generally involves installing in the correct order (97 then 2K then XP). And to be safe, install the service packs for each after each app install (97 and 97 SPs, then 2K and 2K SPs, etc) When installing 2K and XP, you will need to do a custom install and tell the installer not to remove the previous version of access. Also note that it is advisable to put shortcuts to each msaccess.exe where you can easily get them (ie for me they are in the quick launch toolbar on Windows 2K), as each version of access claims the mdb extension automatically when you run it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Glen McWilliams > Sent: Thursday, 20 November, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Poll: How many versions of Access are > you running ononemachine? XPosted > > > Is there some place I can find instructions for loading 97, > 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access > are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either > 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are > you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 20 08:04:59 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:04:59 -0500 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted In-Reply-To: <003e01c3af1b$9476b050$5100a8c0@BITSNB02> Message-ID: Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are > you running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every > email sent. > SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you > running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 20 08:06:41 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:06:41 -0500 Subject: [AccessD] John Colby Does your sysvar work in Access XP? In-Reply-To: <002801c3af16$485cf9e0$fda8a8c0@delllaptop> Message-ID: Joe, Yes it does. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht Sent: Wednesday, November 19, 2003 10:28 PM To: AccessD Subject: [AccessD] John Colby Does your sysvar work in Access XP? Less experienced programming minds would like to know. Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 20 08:26:09 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 20 Nov 2003 08:26:09 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: Main work machine is Office 2000 on Windows 2000 Second work Machine (My previous main system) is Office 97 on NT4 My Main home machine has Office XP on Windows XP Pro Second system (old main system) is Office 97 Developer and Access 2 on Windows 98 SE. An old Laptop has Office 97 Developer and Access 2 on Windows 98 SE My wife's computer has Office 97 on Windows 95 My work projects are primarily Access 2000. Gary Kjos garykjos at hotmail.com >From: "Joe Hecht" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" , "ACCESS-L" > >Subject: [AccessD] Poll: How many versions of Access are you running on one >machine? XPosted >Date: Wed, 19 Nov 2003 17:36:16 -0800 > >I have one machine and Access 97, 2000, XP and 2003. > >The OS is win XP. > >How many people have more than one version of Access on one machine. >Which versions? What are most clients still using? > >Thanks > > >Joe Hecht > >Los Angeles CA > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Set yourself up for fun at home! Get tips on home entertainment equipment, video game reviews, and more here. http://special.msn.com/home/homeent.armx From JHewson at karta.com Thu Nov 20 08:34:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 20 Nov 2003 08:34:00 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: <4AE733BBEEE72647A9F950F7275F262E1125AA@nt04.karta.com> Office: A97, A2K, AXP, Windows 2000 Pro Home: A2K, AXP, Windows XP Primary development A2K. Jim -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Thu Nov 20 08:49:30 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 20 Nov 2003 09:49:30 -0500 Subject: [AccessD] Poll: How many versions of Access are you running o none machine? XPosted Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641288D7@mail2.wrsystems.com> A2.0, A97, A2K, AXP. -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, November 20, 2003 9:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Office: A97, A2K, AXP, Windows 2000 Pro Home: A2K, AXP, Windows XP Primary development A2K. Jim -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 08:49:25 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:49:25 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: Message-ID: Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav From Erwin.Craps at ithelps.be Thu Nov 20 08:54:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 15:54:54 +0100 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> A2.0 Oh my god... I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. No real apps where developed in 1,0 ot 1,1 so that should really not exists anymore... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall Anthony Sent: Thursday, November 20, 2003 3:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted A2.0, A97, A2K, AXP. -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, November 20, 2003 9:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Office: A97, A2K, AXP, Windows 2000 Pro Home: A2K, AXP, Windows XP Primary development A2K. Jim -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Nov 20 09:03:35 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 09:03:35 -0600 Subject: [AccessD] Poll: How many versions of Access are you running o none machine? XPosted Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> I'm still maintaining a handful of A2.0 apps here as well. I've considered upsizing them but haven't found a compelling business reason to do so. Plus, they run about 4x the speed of an equivalent A2K app. I had a client with an invoicing app written using A1, which I avoided. As JC put it, A1 is a steak sauce, not a development platform. Most developers avoided A95 like the plague due to its general instability/suckyness. -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, November 20, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted A2.0 Oh my god... I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. No real apps where developed in 1,0 ot 1,1 so that should really not exists anymore... Erwin -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From greggs at msn.com Thu Nov 20 09:14:36 2003 From: greggs at msn.com (Greggs) Date: Thu, 20 Nov 2003 09:14:36 -0600 Subject: [AccessD] Terminal Server and Access XP In-Reply-To: <20031120073128.772570248.serbach@new.rr.com> Message-ID: Right... you give them the normal shortcut to the FE in the Terminal Services window and Terminal Services will do the rest. It will work just as though you had one FE on a regular windows network. So if your app requires separate front ends for each user as most of mine do, you will have to set up separate FEs for each user on Terminal services. It is an awesome product. Performance is outstanding and you can shadow the user which makes support and training a breeze. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Thursday, November 20, 2003 7:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Terminal Server and Access XP Greggs, Thanks for the clarification. What floors me is that there is *anything* that requires a DOS command prompt in Windows these days. Since I'm a rookie with Terminal Services let me see if I've got this right. I can install one copy of Access XP Runtime and one copy of the FE for my Access application on the Terminal Services server. The BE is also installed there. Then anybody that is a user of the Terminal Server loads a copy of Access XP Runtime and my application into a "separate" memory space on the server and just the screens are sent down the wire to the user's workstation/terminal. All of the normal Access processing of queries and reports and such is done on the Terminal Server for each and every user of the Access application. Have I got that right? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 20 09:08:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 16:08:41 +0100 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> Message-ID: <1926034555.20031120160841@cactus.dk> Hi Erwin > A2.0 Oh my god... > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. Not exactly but: 2.0, 95, 97, 2K on the same desktop. Don't blame A2.0. It still runs rock steady - on everything from WinXP down to Win95 - and Win 3.11 should you ever need it. /gustav From jcolby at colbyconsulting.com Thu Nov 20 09:11:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 10:11:44 -0500 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> Message-ID: >...due to its general instability/suckyness. LOL. That just about says it. I refuse to even look at anything in A95 that the client won't allow me to port to at least A97. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 10:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted I'm still maintaining a handful of A2.0 apps here as well. I've considered upsizing them but haven't found a compelling business reason to do so. Plus, they run about 4x the speed of an equivalent A2K app. I had a client with an invoicing app written using A1, which I avoided. As JC put it, A1 is a steak sauce, not a development platform. Most developers avoided A95 like the plague due to its general instability/suckyness. -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, November 20, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted A2.0 Oh my god... I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. No real apps where developed in 1,0 ot 1,1 so that should really not exists anymore... Erwin ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 09:47:44 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 09:47:44 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120094744.1147728671.serbach@new.rr.com> Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack/actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From gustav at cactus.dk Thu Nov 20 09:46:03 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 16:46:03 +0100 Subject: [AccessD] Poll: How many versions of Access are you running o none machine? XPosted In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> References: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> Message-ID: <7528276920.20031120164603@cactus.dk> Hi Brett > I'm still maintaining a handful of A2.0 apps here as well. I've considered > upsizing them but haven't found a compelling business reason to do so. > Plus, they run about 4x the speed of an equivalent A2K app. I've noticed similar differences in speed. > I had a client with an invoicing app written using A1, which I avoided. As > JC put it, A1 is a steak sauce, not a development platform. > Most developers avoided A95 like the plague due to its general > instability/suckyness. This is not entirely true. We had a client running a major accounting/invoicing package, four concurrent users, for about five years without a hitch. But, of course, this was in a NetWare environment ... /gustav From serbach at new.rr.com Thu Nov 20 10:04:42 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 10:04:42 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031120100442.1545946710.serbach@new.rr.com> Greggs, Again, thanks for the clarification. This will be the first time I've ever worked with Terminal Services. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jdolby at GATELY.COM Thu Nov 20 10:03:35 2003 From: jdolby at GATELY.COM (Jack Dolby) Date: Thu, 20 Nov 2003 11:03:35 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <84C3AB1A3A24D311BC9100500410A17E94E335@GATELY01> We are on our second year of Action Pack and it is worth every penny! Jack Dolby Gately Communication Company -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 20, 2003 10:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:21:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:21:19 -0800 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Message-ID: Access 2 was a solid, but somewhat limited database. It was very fast because its AccessBasic was written in Assembler, but there were *so* many things you had to fake ... Like tooltips ... And the commandbars had to be created using macros! The move to VBA came in A95, which I managed to avoid. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, November 20, 2003 7:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Hi Erwin > A2.0 Oh my god... > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. Not exactly but: 2.0, 95, 97, 2K on the same desktop. Don't blame A2.0. It still runs rock steady - on everything from WinXP down to Win95 - and Win 3.11 should you ever need it. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:24:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:24:58 -0800 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: I think you've hit on it, John. I had the same experience of studying Shamil's stuff and suddenly understanding it. Unfortunately, I still have difficulty explaining it to anyone else. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:28:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:28:00 -0800 Subject: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Message-ID: Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 10:34:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:34:08 -0800 Subject: [AccessD] Infopath and One Note Message-ID: Well ... I'm not sure that answers any of our concerns. They're hyping InfoPath to the max and his reply doesn't really address the issues. Do I detect just a hint of fence straddling here? Or is that just me being cynical again? Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, November 20, 2003 12:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Infopath and One Note Disclaimer This is a personal reply to me and NOT an OFFICIAL Microsoft Response I try to dispel the marketing hype around InfoPath for the Access developer. I've yet to see an InfoPath scenario that couldn't be solved quicker with Access 2003 and its new XML features. If you are not familiar with relational databases and tools like Access, then InfoPath is a tool to consider if your business is starting to adopt XML as a transport mechanism between business processes. If you live in a world of ODBC and OLEDB for moving data within your organization - and it's working - why mess with a good thing. On the other hand, if you are struggling with ways to send that data through your firewall to your business partners/customers, XML works really well, because text doesn't get hung up in the process. With that said, Access is an excellent tool for exporting relational data as XML and importing XML from other sources. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:34:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:34:49 -0800 Subject: [AccessD] Copy current record Message-ID: -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, November 20, 2003 12:01 AM To: Acces User Group Subject: [AccessD] Copy current record Hi group, i've got an DAO recordset in A2k called rstNM wich is linked to table tblNewMessage I need to copy the current record to a new table called tblError. tblnewmessage and tblError are identical. Problem: rstNM has 27 fields and several of them can be Null. How can I copy the current record (wich has at least one Null value) to this table? TIA Sander __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 10:43:10 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 10:43:10 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120104310.1982667250.serbach@new.rr.com> Jack, >> We are on our second year of Action Pack and it is worth every penny! << I can well believe it. What I'm interested in is if it allows a developer to distribute Runtime Access applications. Any idea on that? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From cfoust at infostatsystems.com Thu Nov 20 10:38:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:38:00 -0800 Subject: [AccessD] First Record of Subform Message-ID: That's interesting because I've never seen that behavior ... Unless I misunderstood the scenario you described. Charlotte Foust -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, November 19, 2003 9:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] First Record of Subform Sorry Charlotte...but thats not the case...I requery the subform of SF2 on each ONCURRENT of SF1...and whatever record has focus prior...still has focus after the REQUERY. Other ideas? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] First Record of Subform >Date: Wed, 19 Nov 2003 12:55:23 -0800 > >Requery the subform. That always sets the record pointer to the first >record. > >Charlotte Foust > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, November 19, 2003 12:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] First Record of Subform > > >Hello All, > >Please forgive the confusing question...but: > >In A97 I have a subform(SF2) that is refreshed each time a different >record is selected in another subform(SF1). Both are continuous forms. >When I > >click a record in SF1...SF2 displays 5 records related to SF1 >record...I click on record#5 in SF2....now I select a different record >in SF1...and SF2 >displays 8 records...but record#5 has focus. > >How do I refresh a subform and cause it to always go to the first >record? > >Thanks, > >Mark > >_________________________________________________________________ >Groove on the latest from the hot new rock groups! Get downloads, >videos, and more here. >http://special.msn.com/entertainment/wiredformusic.armx > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From the hottest toys to tips on keeping fit this winter, you'll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 20 10:38:32 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 10:38:32 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Kenneth.Stoker at pnl.gov Thu Nov 20 10:40:33 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Thu, 20 Nov 2003 08:40:33 -0800 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: <249C1CB246997C48BB74963CCD361C1B014A0290@pnlmse28.pnl.gov> I have A2000 and A2002 on my machine, which is running Win XP. 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: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 10:44:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:44:25 -0800 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: Not to my knowledge. We still have individual licenses for Office Developer on each of our machines. It does allow you to run all the various apps as test platforms, though. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 20, 2003 8:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jack, >> We are on our second year of Action Pack and it is worth every penny! >> << I can well believe it. What I'm interested in is if it allows a developer to distribute Runtime Access applications. Any idea on that? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 20 10:50:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 17:50:14 +0100 Subject: [AccessD] Infopath and One Note In-Reply-To: <000901c3af43$e615e4d0$9111758f@aine> References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> Message-ID: <1032127787.20031120175014@cactus.dk> Hi Martin I agree with Charlotte - he makes it sound like InfoPath is a no-product? And this scares me: > .. If you are not familiar with relational databases and tools like > Access, then InfoPath is a tool to consider if your business is starting > to adopt XML as a transport mechanism between business processes. I mean, if you are not familiar with relational databases, you don't know about a relational structure and, thus, you should stay away from even thinking of transferring data by any means including XML as you don't have a chance to know what you are doing. Of course, you can move around with a Word document saved as XML but that has little to do with moving data between business processes. /gustav > > I try to dispel the marketing hype around InfoPath for the Access developer. > I've yet to see an InfoPath > scenario that couldn't be solved quicker with Access 2003 and its new > XML features. If you are not familiar with relational databases and tools > like > Access, then InfoPath is a tool to consider if your business is starting > to adopt XML as a transport mechanism between business processes. > If you live in a world of ODBC and OLEDB for moving data within your > organization - and it's working - why mess with a good thing. On the > other hand, if you are struggling with ways to send that data through > your firewall to your business partners/customers, XML works really > well, because text doesn't get hung up in the process. With that said, > Access is an excellent tool for exporting relational data as XML and > importing XML from other sources. From Jdemarco at hshhp.org Thu Nov 20 10:52:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 20 Nov 2003 11:52:12 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8DF@TTNEXCHSRV1.hshhp.com> There seems to be some stigma about using COM components with Access apps. I do it all the time for a number of reasons: 1. Keeps the db size smaller by moving large code blocks into the COM object 2. Compiled code is more secure 3. Compiled code runs faster 4. The COM object is a great way to store and reuse common libraries (no files to move around, no copy/paste of code) 5. I can use functionality that may not be a part of A97 (in my case) such as providing enums to functions or use of Interfaces 6. Copying and registering an ActiveX DLL is easy and simple. 7. I can even reuse certain functionality in web apps via ASP (my DataGrabber -name changed to protect the innocent- can be used in Access, VB, ASP or any COM compliant application). I guess if I keep going I could do a "Jim's Top Ten reasons To Use COM"! Jim DeMarco Director Product Development Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Thu Nov 20 10:53:41 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Nov 2003 11:53:41 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <20031120094744.1147728671.serbach@new.rr.com> Message-ID: Steve, I've been on it a little over two years. I have a MSDN Universal subscription as well. The action pack is geared towards sales people and marketing. It basically tells you how to sell Microsoft products. So far, I have not taken advantage of it, but feel if I need to explore something new, it will be there. And to answer your question, no because technically your not buying the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 10:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Thu Nov 20 10:56:35 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 20 Nov 2003 10:56:35 -0600 Subject: [AccessD] Page Break and SubReport Message-ID: Charlotte, I tried these two things and neither works (see below). When I put it on_open of report, I get an error. When I put it on_format of the detail section where the subreport and the page break are both located I don't get an error, but it doesn't work either. In debugging, I do find that the value for Me!sub_payhist.Report.HasData is 0 which means that it is seeing that there is no data on the report. Could it be that even when the page break item is invisible, it still functions? --Susan #1: Me!PageBreak_payhistory.Visible = Me!sub_payhist.Report.HasData #2: If Me!sub_payhist.Report.HasData = 0 Then Me!PageBreak_payhistory.Visible = False Else: Me!PageBreak_payhistory.Visible = True End If -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 19, 2003 5:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Page Break and SubReport Put it in the main report and set the pagebreak to Visible = the subreport's HasData property. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, November 19, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Page Break and SubReport I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 mwp.reid at qub.ac.uk Thu Nov 20 10:58:47 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 20 Nov 2003 16:58:47 -0000 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> Message-ID: <000b01c3af87$9041c120$9111758f@aine> To be honest during the beta process thats the impression I got. The ACcess XML list had about 11 posts and similar level of posts in other XML related groups. Appeared to be no interest. I think its a product looking for a market. Martin ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, November 20, 2003 4:50 PM Subject: Re: [AccessD] Infopath and One Note > Hi Martin > > I agree with Charlotte - he makes it sound like InfoPath is a > no-product? > > And this scares me: > > > .. If you are not familiar with relational databases and tools like > > Access, then InfoPath is a tool to consider if your business is starting > > to adopt XML as a transport mechanism between business processes. > > I mean, if you are not familiar with relational databases, you don't > know about a relational structure and, thus, you should stay away from > even thinking of transferring data by any means including XML as you > don't have a chance to know what you are doing. > > Of course, you can move around with a Word document saved as XML but > that has little to do with moving data between business processes. > > /gustav > > > > > > I try to dispel the marketing hype around InfoPath for the Access developer. > > I've yet to see an InfoPath > > scenario that couldn't be solved quicker with Access 2003 and its new > > XML features. If you are not familiar with relational databases and tools > > like > > Access, then InfoPath is a tool to consider if your business is starting > > to adopt XML as a transport mechanism between business processes. > > If you live in a world of ODBC and OLEDB for moving data within your > > organization - and it's working - why mess with a good thing. On the > > other hand, if you are struggling with ways to send that data through > > your firewall to your business partners/customers, XML works really > > well, because text doesn't get hung up in the process. With that said, > > Access is an excellent tool for exporting relational data as XML and > > importing XML from other sources. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Thu Nov 20 11:00:38 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 20 Nov 2003 12:00:38 -0500 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com><000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> <000b01c3af87$9041c120$9111758f@aine> Message-ID: <017401c3af87$e14cd320$210110ac@SUSANONE> There aren't any publishers interested in it either -- not yet at any rate. I've seen a few books on it, but in general -- editors don't even want a proposal on it. And the contents sites aren't biting at topics either. Could mean that the product simply hasn't found its niche yet, but could also mean it's a product for a certain audience, but that audience is small enough that no one's really interested in hitting it. Susan H. > To be honest during the beta process thats the impression I got. The ACcess > XML list had about 11 posts and similar level of posts in other XML related > groups. Appeared to be no interest. > > I think its a product looking for a market. > > Martin > > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 20, 2003 4:50 PM > Subject: Re: [AccessD] Infopath and One Note > > > > Hi Martin > > > > I agree with Charlotte - he makes it sound like InfoPath is a > > no-product? > > > > And this scares me: > > > > > .. If you are not familiar with relational databases and tools like > > > Access, then InfoPath is a tool to consider if your business is starting > > > to adopt XML as a transport mechanism between business processes. > > > > I mean, if you are not familiar with relational databases, you don't > > know about a relational structure and, thus, you should stay away from > > even thinking of transferring data by any means including XML as you > > don't have a chance to know what you are doing. > > > > Of course, you can move around with a Word document saved as XML but > > that has little to do with moving data between business processes. > > > > /gustav > > > > > > > > > > I try to dispel the marketing hype around InfoPath for the Access > developer. > > > I've yet to see an InfoPath > > > scenario that couldn't be solved quicker with Access 2003 and its new > > > XML features. If you are not familiar with relational databases and > tools > > > like > > > Access, then InfoPath is a tool to consider if your business is starting > > > to adopt XML as a transport mechanism between business processes. > > > If you live in a world of ODBC and OLEDB for moving data within your > > > organization - and it's working - why mess with a good thing. On the > > > other hand, if you are struggling with ways to send that data through > > > your firewall to your business partners/customers, XML works really > > > well, because text doesn't get hung up in the process. With that said, > > > Access is an excellent tool for exporting relational data as XML and > > > importing XML from other sources. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 20 11:07:06 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 20 Nov 2003 12:07:06 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF570@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB032@ADGSERVER> Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 20 11:16:26 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 11:16:26 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE15C@TAPPEEXCH01> Bobby, Do you have any CDO links/resources that give examples of this? I'd like to write my own royalty/license free version of this. Then I could wrap it into my own class, and maybe compile it into an ActiveX DLL to use in my projects. (Oops! Sorry John) -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, November 20, 2003 11:07 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Thu Nov 20 11:20:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 09:20:29 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: I tmight be simpler to write something to use SMTP instead. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 20, 2003 9:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Bobby, Do you have any CDO links/resources that give examples of this? I'd like to write my own royalty/license free version of this. Then I could wrap it into my own class, and maybe compile it into an ActiveX DLL to use in my projects. (Oops! Sorry John) -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, November 20, 2003 11:07 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my dev machine. Thus XP on one, 2K on another. And I > am NOT happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ------------------------------------------------------------------------ ---- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 11:33:32 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 11:33:32 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120113332.2090885569.serbach@new.rr.com> Charlotte, >> Not to my knowledge. ?We still have individual licenses for Office Developer on each of our machines. ?It does allow you to run all the various apps as test platforms, though. << A closer reading of the web site gave me some additional information, too. I don't see the Developer's edition of OfficeXP included in the subscription...but $300 for the whole shebang is hard to pass up. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From serbach at new.rr.com Thu Nov 20 11:35:50 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 11:35:50 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120113550.1992730160.serbach@new.rr.com> Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From bheid at appdevgrp.com Thu Nov 20 11:40:15 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 20 Nov 2003 12:40:15 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF588@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB034@ADGSERVER> Look around here. http://www.slipstick.com/ Lots of examples, links, and information. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 12:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Bobby, Do you have any CDO links/resources that give examples of this? I'd like to write my own royalty/license free version of this. Then I could wrap it into my own class, and maybe compile it into an ActiveX DLL to use in my projects. (Oops! Sorry John) -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, November 20, 2003 11:07 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my dev machine. Thus XP on one, 2K on another. And I > am NOT happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ 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 Nov 20 12:05:31 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 21 Nov 2003 07:05:31 +1300 Subject: [AccessD] A2K / AXP: Indirect Replication In-Reply-To: <20031120073306.1667392103.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031121070046.00b5c4a0@mail.dalyn.co.nz> Steve, I have done indirect synchronizing but not with an FTP site. I have the drop boxes on the server and the users need to dial into the server. In this case their drop boxes need to be shared, but they ONLY have permissions to view their drop box and the server's box (otherwise, if they have permission on the folder that the database file is in then direct synchronization takes place - not a good idea over a land line). Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (877) 456-1205 At 20/11/2003, you wrote: >Dear Group, > >So, nobody here has done Indirect Synchronization / Replication using an >FTP site "drop box"? > >Well, maybe if I get it going I can write an article for the AccessD >newsletter, eh? > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >Disclaimer: No tree was killed in the transmission of this message. >However, several coulombs of electrons were temporarily inconvenienced. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 20 12:05:40 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 13:05:40 -0500 Subject: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted In-Reply-To: Message-ID: Charlotte, >Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. The problem with that argument is that I don't use runtimes. Thus an "install" is nothing more than running a batch file that builds a directory, downloads my framework to the windows dir and the app to it's dir, then starts the app. Installing a dll means registering it (doesn't it?). If I could simply copy it somewhere and use it I would quiet my complaints considerably. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 20, 2003 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 12:14:07 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 13:14:07 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: >What's the big issue with installing a COM component on a user's machine? The big issue is I don't use an installer, nor a runtime. Thus I have to do "something" (unexplained) to get it installed on that machine. What is that "something" that is no big deal? >If you don't use the redemption DLL, how do you bypass the security dialog? I bypassing it by not installing the service pack that turns it on. (A2K) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Nov 20 12:11:25 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Nov 2003 10:11:25 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... References: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: <3FBD03CD.30507@shaw.ca> One big issue , you might have to deal with, is the wild rolling of the eyes of network guys when you suggest installing a dll affecting security that has not recieved an imperitur from the local potentate. especially on locked down networks. Brett Barabash wrote: >OK, I give up. >What's the big issue with installing a COM component on a user's machine? > >And a better question: >If you don't use the redemption DLL, how do you bypass the security dialog? >Or do you use the line a tech consulting firm recently handed us: "The email >warning dialog is for your protection. It can't be bypassed" Uh huh... > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Thursday, November 20, 2003 6:05 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Poll: How many versions of Access are you >runningononemachine? XPosted > > >Stuart, > >The same reason I don't use it. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders >Sent: Wednesday, November 19, 2003 11:06 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Poll: How many versions of Access are you running >ononemachine? XPosted > > >I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP >for email currently, but don't use automation. > >I had considered giving this a look: http://www.dimastr.com/redemption/ > >Which supposedly works around the security patch, but is a com component >which needs to be installed on systems. > >Stuart > > > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. >>Colby >>Sent: Thursday, 20 November, 2003 10:23 AM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Poll: How many versions of Access are you >>running onone machine? XPosted >> >> >>I have Access97 and A2K on one machine, and AXP on another. >> >>I use Outlook automation to send email and the SP3 for Office2K breaks >> >> > > > >>outlook automation such that it asks for permission for every email >>sent. SP3 fixed the screwup where XP breaks 2K but I simply can't >>install it on my >>dev machine. Thus XP on one, 2K on another. And I am NOT >>happy to have to >>do that! >> >>John W. Colby >>www.ColbyConsulting.com >> >> >> > >-------------------------------------------------------------------------------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed >by SurfControl E-mail Filter software in conjunction with >virus detection software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From Erwin.Craps at ithelps.be Thu Nov 20 12:19:31 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 19:19:31 +0100 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD4@stekelbes.ithelps.local> Yes, I have them for 3 or 4 years now. Highly advisable and much cheaper than regular licenses. But, Only for dealers, resellers, etx Not everything is included. The ODE's, .NET, are for example not included. It's Office, Windows OS's, SQL, Exchange server, ISA server, that kind of stuff. At least in the Belgian version. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Steven W. Erbach Verzonden: donderdag 20 november 2003 16:48 Aan: Access Developers discussion and problem solving Onderwerp: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack/actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 20 12:20:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 13:20:44 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F8DF@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, If I were a VB6 programmer I probably would have attacked this problem ages ago. Since I'm not I don't routinely build DLLs. All I know is that when I try to use VBEErrorHandler I have to open the run dialog, and paste in a line of code that causes it to be registered. Thinking about it in that light, I have to assume I could run that same line of code in a batch file, properly modified with the name of the dll to register? Assuming that it doesn't annoy the user with an error message the 2nd and subsequent times I register it (the user runs the "download my app" batch file every morning) then it would be easy enough to start using something like redemption. In the end, inertia is the reason I don't (I've been reading Isaac Asimov's Physics book). If an object is at rest (Me re dlls) it takes an external force to put it in motion. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, November 20, 2003 11:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... There seems to be some stigma about using COM components with Access apps. I do it all the time for a number of reasons: 1. Keeps the db size smaller by moving large code blocks into the COM object 2. Compiled code is more secure 3. Compiled code runs faster 4. The COM object is a great way to store and reuse common libraries (no files to move around, no copy/paste of code) 5. I can use functionality that may not be a part of A97 (in my case) such as providing enums to functions or use of Interfaces 6. Copying and registering an ActiveX DLL is easy and simple. 7. I can even reuse certain functionality in web apps via ASP (my DataGrabber -name changed to protect the innocent- can be used in Access, VB, ASP or any COM compliant application). I guess if I keep going I could do a "Jim's Top Ten reasons To Use COM"! Jim DeMarco Director Product Development Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 12:21:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 10:21:24 -0800 Subject: [AccessD] Poll: How many versions of Access areyourunningononemachine? XPosted Message-ID: Ah, I see. We create full blown installers, so we can install and register anything we need. We never just copy files, since we have no control and no way of knowing what operating system or anything else will be on the target machine. However, it wouldn't be hard to copy the dll and run regsvr32 in your batch file to register it. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 10:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access areyourunningononemachine? XPosted Charlotte, >Since we install our applications on user systems, it hardly seems >valid to quibble about installing the Redemption dll as well. The problem with that argument is that I don't use runtimes. Thus an "install" is nothing more than running a batch file that builds a directory, downloads my framework to the windows dir and the app to it's dir, then starts the app. Installing a dll means registering it (doesn't it?). If I could simply copy it somewhere and use it I would quiet my complaints considerably. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 20, 2003 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my dev machine. Thus XP on one, 2K on another. And I > am NOT happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 12:23:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 10:23:30 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: It doesn't affect security, Marty. It uses Extended MAPI, which isn't subject to the security problems with MAPI, so the calls don't trigger the security flags. MAPI is where all the security holes have been found. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, November 20, 2003 10:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Redemption DLL WAS: Poll: How many versions... One big issue , you might have to deal with, is the wild rolling of the eyes of network guys when you suggest installing a dll affecting security that has not recieved an imperitur from the local potentate. especially on locked down networks. Brett Barabash wrote: >OK, I give up. >What's the big issue with installing a COM component on a user's >machine? > >And a better question: >If you don't use the redemption DLL, how do you bypass the security >dialog? Or do you use the line a tech consulting firm recently handed >us: "The email warning dialog is for your protection. It can't be >bypassed" Uh huh... > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Thursday, November 20, 2003 6:05 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Poll: How many versions of Access are you >runningononemachine? XPosted > > >Stuart, > >The same reason I don't use it. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >Sanders >Sent: Wednesday, November 19, 2003 11:06 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Poll: How many versions of Access are you running >ononemachine? XPosted > > >I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP >for email currently, but don't use automation. > >I had considered giving this a look: http://www.dimastr.com/redemption/ > >Which supposedly works around the security patch, but is a com >component which needs to be installed on systems. > >Stuart > > > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. >>Colby >>Sent: Thursday, 20 November, 2003 10:23 AM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Poll: How many versions of Access are you >>running onone machine? XPosted >> >> >>I have Access97 and A2K on one machine, and AXP on another. >> >>I use Outlook automation to send email and the SP3 for Office2K breaks >> >> > > > >>outlook automation such that it asks for permission for every email >>sent. SP3 fixed the screwup where XP breaks 2K but I simply can't >>install it on my >>dev machine. Thus XP on one, 2K on another. And I am NOT >>happy to have to >>do that! >> >>John W. Colby >>www.ColbyConsulting.com >> >> >> > >----------------------------------------------------------------------- >--------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual sender, >except where the sender specifies and with authority, states them to be >the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed by >SurfControl E-mail Filter software in conjunction with virus detection >software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 20 12:24:06 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 19:24:06 +0100 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <46B976F2B698FF46A4FE7636509B22DF7264@stekelbes.ithelps.local> If I understand well, you are only allowed to use the soft during a period of 1 year and then you need to renew your action pack. As I already responded. I never had a ODE in my action pack. Only ting I ever had was Visual Interdev (I believe).. Always purchased seperately ODE and VB and .NET. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust Verzonden: donderdag 20 november 2003 17:44 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Slightly OT: Microsoft ActionPack Not to my knowledge. We still have individual licenses for Office Developer on each of our machines. It does allow you to run all the various apps as test platforms, though. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 20, 2003 8:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jack, >> We are on our second year of Action Pack and it is worth every penny! >> << I can well believe it. What I'm interested in is if it allows a developer to distribute Runtime Access applications. Any idea on that? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 13:39:43 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 13:39:43 -0600 Subject: [AccessD] A2K / AXP: Indirect Replication Message-ID: <20031120133943.1361225605.serbach@new.rr.com> David, Thanks for the reply! I'm beginning to think that no one on the face of the planet has ever done FTP Indirect Synchronization. I'm trying to make sense of the TSI Synchronizer since it says that it will handle indirect synchronization. Nothing for it but to slog through it, I guess. I'll try to keep notes. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From martyconnelly at shaw.ca Thu Nov 20 14:32:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Nov 2003 12:32:32 -0800 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> Message-ID: <3FBD24E0.3030004@shaw.ca> Where this is leading, I am not sure but here are some things, you can do with InfoPath. --------- Here is one way of getting speed out of xml files try using with InfoPath If the methods are followed you may get a retrieval time 10 times that of SQL Creating an In-Memory Database Using XML and XPath -- Part 2 http://www.15seconds.com/Issue/010410.htm?voteresult=5 ---------- downloaded the InfoPath SDK, and try to use the ADO sample form and access database that MS has provided. However, one caveat that messed me up If you search inside manifest.xsf you will see that the reference to Infnwind.mdb is relative. So the published form template expects to find Infnwind.mdb in the same directory as you published the form template to. But the Access database isn't there. If you copy it there your problem should be solved. Copy Infnwind.mdb to the shared folder. InfoPath SDK http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en --- Try viewing the .xsn or .mht file in IE. ------- You should be able to access web services from InfoPath. ------- Gustav Brock wrote: >Hi Martin > >I agree with Charlotte - he makes it sound like InfoPath is a >no-product? > >And this scares me: > > > >>.. If you are not familiar with relational databases and tools like >>Access, then InfoPath is a tool to consider if your business is starting >>to adopt XML as a transport mechanism between business processes. >> >> > >I mean, if you are not familiar with relational databases, you don't >know about a relational structure and, thus, you should stay away from >even thinking of transferring data by any means including XML as you >don't have a chance to know what you are doing. > >Of course, you can move around with a Word document saved as XML but >that has little to do with moving data between business processes. > >/gustav > > > >> >> >> > > > >>I try to dispel the marketing hype around InfoPath for the Access developer. >>I've yet to see an InfoPath >>scenario that couldn't be solved quicker with Access 2003 and its new >>XML features. If you are not familiar with relational databases and tools >>like >>Access, then InfoPath is a tool to consider if your business is starting >>to adopt XML as a transport mechanism between business processes. >> If you live in a world of ODBC and OLEDB for moving data within your >>organization - and it's working - why mess with a good thing. On the >>other hand, if you are struggling with ways to send that data through >>your firewall to your business partners/customers, XML works really >>well, because text doesn't get hung up in the process. With that said, >>Access is an excellent tool for exporting relational data as XML and >>importing XML from other sources. >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Thu Nov 20 16:13:36 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 08:13:36 +1000 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> Message-ID: <3FBDC930.21849.2C2518@localhost> On 20 Nov 2003 at 15:54, Erwin Craps wrote: > A2.0 Oh my god... > > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. > > No real apps where developed in 1,0 ot 1,1 so that should really not > exists anymore... > Exsqueese me. I built a "real app" in 1.1 in 1993 :-) My first foray into Access after quite a few years of Dataflex - what a mind bender :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at optusnet.com.au Thu Nov 20 16:57:38 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 09:57:38 +1100 Subject: [AccessD] OT Excel event proc Urgent Message-ID: <000a01c3afb9$b26cef40$6401a8c0@user> Hi all - apologies for posting an Excel question - (I'm desperate now). I am writing an Excel app for a client and finding my way through the events in Excel vs. Access. I have 3 combo box controls on the worksheet. When the user changes data in any of the 3, I want to construct a code based on the 1st digit of the data in each combo. I have spent may hours playing with the Worksheet_change event, but I now realise that that does not fire when data changes in a form control (in the combo anyway). What event can I use which will fire when the user makes a selection in the combo box? Thanks - running out of time. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From SDSSoftware at optusnet.com.au Thu Nov 20 17:00:54 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 10:00:54 +1100 Subject: [AccessD] Re: OT Excel event proc Urgent Message-ID: <001501c3afba$26f27e70$6401a8c0@user> OK - just worked it out. (Assign macro etc.) ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Friday, November 21, 2003 9:57 AM Subject: OT Excel event proc Urgent Hi all - apologies for posting an Excel question - (I'm desperate now). I am writing an Excel app for a client and finding my way through the events in Excel vs. Access. I have 3 combo box controls on the worksheet. When the user changes data in any of the 3, I want to construct a code based on the 1st digit of the data in each combo. I have spent may hours playing with the Worksheet_change event, but I now realise that that does not fire when data changes in a form control (in the combo anyway). What event can I use which will fire when the user makes a selection in the combo box? Thanks - running out of time. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From SDSSoftware at optusnet.com.au Thu Nov 20 17:38:07 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 10:38:07 +1100 Subject: [AccessD] OT Excel refer to form control Message-ID: <002401c3afbf$5a1f4940$6401a8c0@user> Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From jimdettman at earthlink.net Thu Nov 20 17:40:30 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Nov 2003 18:40:30 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <20031120113550.1992730160.serbach@new.rr.com> Message-ID: Steve, <> As I said, the Action Pack is geared towards marketing and sales. It's a different focus. The only reason software is in there is to help you explore new areas of technology. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 12:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 20 17:55:30 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 17:55:30 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE166@TAPPEEXCH01> > What is that "something" that is no big deal? Copy the DLL to the machine (by convention winnt\system32, but you can put it anywhere you want) and regsvr32 . You can do this from a command line, or in a batch file (in which case I would use the /s switch with regsvr32 to supress the confirmation msgbox). Alternatively, you can use the setup.exe that comes with the Redemption DLL to install it. Either way, no big deal. >I bypassing it by not installing the service pack that turns it on. (A2K) Not installing a security service pack to stop malicious VBScript code from propogating viruses IS a big deal. Are you advising your clients not to install security patches so your email code will work? -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... >What's the big issue with installing a COM component on a user's machine? The big issue is I don't use an installer, nor a runtime. Thus I have to do "something" (unexplained) to get it installed on that machine. What is that "something" that is no big deal? >If you don't use the redemption DLL, how do you bypass the security dialog? I bypassing it by not installing the service pack that turns it on. (A2K) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jcolby at colbyconsulting.com Thu Nov 20 18:20:10 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 19:20:10 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE166@TAPPEEXCH01> Message-ID: >Not installing a security service pack to stop malicious VBScript code from propagating viruses IS a big deal. So in other words, its quite ok to run vbscripts that trash the client, format hard disks etc. as long as you don't propagate it? How silly does that sound? >Are you advising your clients not to install security patches so your email code will work? Turning on SP3 doesn't prevent code (viruses) from running, it causes a stupid box to pop up IF a mail tries to go out that is caused by code. BIG DIFFERENCE. IOW, it makes NO attempt to stop viruses, it simply attempts to protect Microsoft's ass from lawsuits when a virus sends email. As long as the virus doesn't send email, hey, do whatever you want. My code is NOT a virus. I wrote it at the request of my client. To allow viruses to run (vb code) but prevent my valid code from mailing out is simply ludicrous, stupid, silly, and finally, fu*king irritating. So no, I'm advising my client to run virus checkers to stop viruses (hmmm... that's even what they're CALLED!), and yes, I'm advising my client not to install a stupid, silly, ludicrous and finally, fuc*ing irritating POS service patch that is nothing more than an attempt by Microsoft to protect THEMSELVES at MY expense. Uhh... did I make my position clear? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 6:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > What is that "something" that is no big deal? Copy the DLL to the machine (by convention winnt\system32, but you can put it anywhere you want) and regsvr32 . You can do this from a command line, or in a batch file (in which case I would use the /s switch with regsvr32 to supress the confirmation msgbox). Alternatively, you can use the setup.exe that comes with the Redemption DLL to install it. Either way, no big deal. >I bypassing it by not installing the service pack that turns it on. (A2K) Not installing a security service pack to stop malicious VBScript code from propogating viruses IS a big deal. Are you advising your clients not to install security patches so your email code will work? -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... >What's the big issue with installing a COM component on a user's machine? The big issue is I don't use an installer, nor a runtime. Thus I have to do "something" (unexplained) to get it installed on that machine. What is that "something" that is no big deal? >If you don't use the redemption DLL, how do you bypass the security dialog? I bypassing it by not installing the service pack that turns it on. (A2K) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ 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 Nov 20 18:32:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 10:32:00 +1000 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE166@TAPPEEXCH01> Message-ID: <3FBDE9A0.16070.BC492@localhost> On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > I'm with JC 100% on this one. The "security" patch is not about stopping viruses from infecting machines. It's not about stopping viruses from causing damage. It's not about stopiing viruses from doing anything. It's about stopping the perfectly legitimate function of interprocess communication which is supposed at the heart of the MS software suite paradigm. It's a half-witted attempt at arse covering by MS which has the side effect of destroying the functionality of many existing applications. Yes I am advising my clients not to instal it. (At least the ones who don't heed my other advice to use non-MS email programs. My Pegasus/Mercury using clients don't have to worry about it at all ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Thu Nov 20 19:40:08 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 20:40:08 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <3FBDE9A0.16070.BC492@localhost> Message-ID: Stuart, I personally don't say it has no place in the world. The unfortunate reality is that there are millions of machines out there used by individuals in their homes (or small office) who are too ignorant to run virus checkers. THESE users should indeed install the service patch so that they only screw up their own machines when the virus hits them. It simply has no place in a business where they should be running AV software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, November 20, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > I'm with JC 100% on this one. The "security" patch is not about stopping viruses from infecting machines. It's not about stopping viruses from causing damage. It's not about stopiing viruses from doing anything. It's about stopping the perfectly legitimate function of interprocess communication which is supposed at the heart of the MS software suite paradigm. It's a half-witted attempt at arse covering by MS which has the side effect of destroying the functionality of many existing applications. Yes I am advising my clients not to instal it. (At least the ones who don't heed my other advice to use non-MS email programs. My Pegasus/Mercury using clients don't have to worry about it at all ) -- 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 jmhla at earthlink.net Thu Nov 20 20:29:16 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Thu, 20 Nov 2003 18:29:16 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <000801c3afd7$47b9e360$fda8a8c0@delllaptop> John Put me in group 4 Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Thu Nov 20 22:10:40 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 21 Nov 2003 12:10:40 +0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: <005701c3afe5$6d8d8a70$5100a8c0@BITSNB02> > -----Original Message----- > OK, I give up. > What's the big issue with installing a COM component on a > user's machine? I generally avoid installing extra dlls except where absolutely necessary because of past dll problems. Particularly with Microsofts standard controls that some other app would install another version that broke what I was doing. "One bitten twice shy" In most cases I don't need other components at runtime. (there are some exceptions ... See below for one) > And a better question: > If you don't use the redemption DLL, how do you bypass the > security dialog? > Or do you use the line a tech consulting firm recently handed > us: "The email > warning dialog is for your protection. It can't be bypassed" > Uh huh... OK a separate question from me. What do YOU do when a client refuses to use Microsoft Outlook or Outlook Express because of security concerns? Redemption isn't going to be useful for you then. I have clients like that, so tried to adopt an agnostic solution that could be used across the board. Initially I wrote a small smtp engine in vba, then ended up using a free 3rd party smtp control. So as a separate answer to your first question, I do use other com controls, but sparingly. The reason I'm now considering looking at redemption is not for email per se, but for integration into outlook (email, contacts, meetings etc) for a medium term project I'm working on, and redemption looks like a good place to start. This would then force the use of outlook, which limits it a bit. Since I do currently use outlook, a nice bonus would be that I could hook my internal systems into redemption for emailing statements and so on, and I plan to use the developer version of the control for that when I have some time. Regards Stuart From john at winhaven.net Thu Nov 20 22:54:13 2003 From: john at winhaven.net (John Bartow) Date: Thu, 20 Nov 2003 22:54:13 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: Message-ID: JC, I'm trying to read between the lines here but I'm not quite sure of what you're trying to say. Are you implying that Microsoft would do something techically simple to address a complicated problem for the sake of public image?! Please clarify this. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 20, 2003 6:20 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > >Not installing a security service pack to stop malicious > VBScript code from > propagating viruses IS a big deal. > > So in other words, its quite ok to run vbscripts that trash the client, > format hard disks etc. as long as you don't propagate it? How silly does > that sound? > > >Are you advising your clients not to install security patches so > your email > code will work? > > Turning on SP3 doesn't prevent code (viruses) from running, it causes a > stupid box to pop up IF a mail tries to go out that is caused by > code. BIG > DIFFERENCE. IOW, it makes NO attempt to stop viruses, it simply > attempts to > protect Microsoft's ass from lawsuits when a virus sends email. > As long as > the virus doesn't send email, hey, do whatever you want. > > My code is NOT a virus. I wrote it at the request of my client. To allow > viruses to run (vb code) but prevent my valid code from mailing out is > simply ludicrous, stupid, silly, and finally, fu*king irritating. > > So no, I'm advising my client to run virus checkers to stop > viruses (hmmm... > that's even what they're CALLED!), and yes, I'm advising my client not to > install a stupid, silly, ludicrous and finally, fuc*ing irritating POS > service patch that is nothing more than an attempt by Microsoft to protect > THEMSELVES at MY expense. > > Uhh... did I make my position clear? > > > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Thursday, November 20, 2003 6:56 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > > What is that "something" that is no big deal? > Copy the DLL to the machine (by convention winnt\system32, but you can put > it anywhere you want) and regsvr32 . You can do this from a > command line, or in a batch file (in which case I would use the /s switch > with regsvr32 to supress the confirmation msgbox). > Alternatively, you can use the setup.exe that comes with the > Redemption DLL > to install it. > Either way, no big deal. > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript > code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, November 20, 2003 12:14 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > >What's the big issue with installing a COM component on a user's machine? > > The big issue is I don't use an installer, nor a runtime. Thus I > have to do > "something" (unexplained) to get it installed on that machine. > What is that > "something" that is no big deal? > > >If you don't use the redemption DLL, how do you bypass the > security dialog? > > I bypassing it by not installing the service pack that turns it on. (A2K) > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Thursday, November 20, 2003 11:39 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > OK, I give up. > What's the big issue with installing a COM component on a user's machine? > > And a better question: > If you don't use the redemption DLL, how do you bypass the > security dialog? > Or do you use the line a tech consulting firm recently handed us: > "The email > warning dialog is for your protection. It can't be bypassed" Uh huh... > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, November 20, 2003 6:05 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > runningononemachine? XPosted > > > Stuart, > > The same reason I don't use it. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders > Sent: Wednesday, November 19, 2003 11:06 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Poll: How many versions of Access are you running > ononemachine? XPosted > > > I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP > for email currently, but don't use automation. > > I had considered giving this a look: http://www.dimastr.com/redemption/ > > Which supposedly works around the security patch, but is a com component > which needs to be installed on systems. > > Stuart > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: Thursday, 20 November, 2003 10:23 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Poll: How many versions of Access are you > > running onone machine? XPosted > > > > > > I have Access97 and A2K on one machine, and AXP on another. > > > > I use Outlook automation to send email and the SP3 for Office2K breaks > > > outlook automation such that it asks for permission for every email > > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > > install it on my > > dev machine. Thus XP on one, 2K on another. And I am NOT > > happy to have to > > do that! > > > > John W. Colby > > www.ColbyConsulting.com > > > > ------------------------------------------------------------------ > ---------- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection 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 > > ------------------------------------------------------------------ > ---------- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection 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 stuart at lexacorp.com.pg Thu Nov 20 22:59:24 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 14:59:24 +1000 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <005701c3afe5$6d8d8a70$5100a8c0@BITSNB02> References: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: <3FBE284C.17027.B06CF@localhost> On 21 Nov 2003 at 12:10, Stuart Sanders wrote: > > OK a separate question from me. What do YOU do when a client refuses to use > Microsoft Outlook or Outlook Express because of security concerns? Personally, I say "Congratulations - that's a very sensible attitude" and then use Simple MAPI, BLAT or one of my "self-rolled" solutions often a *real* dll built in PowerBasic. Real dlls don't need registering. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Nov 20 23:07:06 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 15:07:06 +1000 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: References: <3FBDE9A0.16070.BC492@localhost> Message-ID: <3FBE2A1A.16609.121514@localhost> On 20 Nov 2003 at 20:40, John W. Colby wrote: > Stuart, > > I personally don't say it has no place in the world. The unfortunate > reality is that there are millions of machines out there used by individuals > in their homes (or small office) who are too ignorant to run virus checkers. > THESE users should indeed install the service patch so that they only screw > up their own machines when the virus hits them. It simply has no place in a > business where they should be running AV software. > Which brings us on to another question, prompted recently by a client. What is your option on running anti-virus software on network servers? (Assuming that you do run on-access scanning software on the workstations) Note: X-posted to All follow ups to that list only. Please! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at optusnet.com.au Thu Nov 20 23:24:25 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 16:24:25 +1100 Subject: [AccessD] OT: Excel input range Message-ID: <000a01c3afef$bacdcd40$6401a8c0@user> After a long day battling my way through this Excel development I am signing off for now but in case any Excel gurus have the time, could you answer this: On an Excel s/sheet I have 3 combos (created with the form control). I have nominated an input range for each (on a separate sheet). Depending on the choice the user makes in Combo 1 and Combo 2, I need to modify the range for Combo 3. What's the best way in Excel? I see on lots of internet samples that quite often people set up range after range of values and nominate one or the other as the appropriate range when the combos change, but surely there is a more efficient way?? I have fairly simple rules from the client and I think that I should be able to set up a grid /range of cells which hold my criteria. I can post sample data if anyone thinks they can help. Thanks everyone - and apologies for the Excel posts (I am also posting to Excel sites but no luck yet). Have a great w/end. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From stuart at pacific.net.hk Fri Nov 21 00:24:48 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 21 Nov 2003 14:24:48 +0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <3FBDE9A0.16070.BC492@localhost> Message-ID: The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which > has the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 martyconnelly at shaw.ca Fri Nov 21 01:39:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Nov 2003 23:39:18 -0800 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] References: <3FBDE9A0.16070.BC492@localhost> <3FBE2A1A.16609.121514@localhost> Message-ID: <3FBDC126.5010004@shaw.ca> Depends on what file extensions are scanned on a network server. I keep a special stick to poke network guys who insist on scanning ldb and mdb file types among others. Scanning a 300MB file on-access can bring things to a grinding halt. Stuart McLachlan wrote: >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > >>Stuart, >> >>I personally don't say it has no place in the world. The unfortunate >>reality is that there are millions of machines out there used by individuals >>in their homes (or small office) who are too ignorant to run virus checkers. >>THESE users should indeed install the service patch so that they only screw >>up their own machines when the virus hits them. It simply has no place in a >>business where they should be running AV software. >> >> >> > >Which brings us on to another question, prompted recently by a >client. > >What is your option on running anti-virus software on network >servers? >(Assuming that you do run on-access scanning software on the >workstations) > >Note: >X-posted to >All follow ups to that list only. Please! > > > > > > -- Marty Connelly Victoria, B.C. Canada From Alun.Garraway at otto.de Fri Nov 21 02:35:25 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 21 Nov 2003 09:35:25 +0100 Subject: AW: [AccessD] OT Excel refer to form control Message-ID: hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Fri Nov 21 02:46:24 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 19:46:24 +1100 Subject: [AccessD] OT Excel refer to form control References: Message-ID: <000b01c3b00b$f23a9440$6401a8c0@user> Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 21 02:54:11 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 21 Nov 2003 09:54:11 +0100 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEDA@stekelbes.ithelps.local> Aha, Stuart, I hereby wish to officialy declare you as the first ever serious developer using Access as a development platform. (This until someone else shows up claiming this title :-) Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, November 20, 2003 11:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted On 20 Nov 2003 at 15:54, Erwin Craps wrote: > A2.0 Oh my god... > > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. > > No real apps where developed in 1,0 ot 1,1 so that should really not > exists anymore... > Exsqueese me. I built a "real app" in 1.1 in 1993 :-) My first foray into Access after quite a few years of Dataflex - what a mind bender :-) -- 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 Erwin.Craps at ithelps.be Fri Nov 21 03:04:22 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 21 Nov 2003 10:04:22 +0100 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Action pack is not solely to sales and marketing, but apart from the OS software it also includes demo's and sales/marketing tools. It's ment for the typical dealer/reseller/network integrator and not for the developer. Does the MSDN includes OS software like Exchange server, Isa Server, SQL server, Small Business server etc? I believe MSDN is more expensive too? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, November 21, 2003 12:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Steve, <> As I said, the Action Pack is geared towards marketing and sales. It's a different focus. The only reason software is in there is to help you explore new areas of technology. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 12:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying >> the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 21 10:05:54 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 21 Nov 2003 10:05:54 (MET) Subject: [AccessD] Message-ID: <200311210905.hAL95sEU029814@mailhostC.plex.net> Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen From stuart at pacific.net.hk Fri Nov 21 03:10:28 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 21 Nov 2003 17:10:28 +0800 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Message-ID: <007301c3b00f$4f7791a0$5100a8c0@BITSNB02> Erwin is correct :) The official blurb from Microsoft on my local MS site is: "The Microsoft Action Pack Subscription is restricted to resellers, consultants, value-added resellers, value-added providers, system integrators, developers, system builders, hosts, service providers, and IT professionals who sell Microsoft products or provide solutions based on Microsoft products and technologies to third-party customers." See ... They do include developers there :) But alas, as someone pointed out it doesn't come with the developers edition of office. That said, it is still a very good price, and I am on my 2nd year of using it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > Sent: Friday, 21 November, 2003 5:04 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Action pack is not solely to sales and marketing, but apart > from the OS software it also includes demo's and > sales/marketing tools. > It's ment for the typical dealer/reseller/network integrator > and not for the developer. > > Does the MSDN includes OS software like Exchange server, Isa > Server, SQL server, Small Business server etc? > > I believe MSDN is more expensive too? > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, November 21, 2003 12:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > Steve, > > < MSDN Universal includes everything. Why would you want the > Action Pack?>> > > As I said, the Action Pack is geared towards marketing and > sales. It's a different focus. The only reason software is > in there is to help you explore new areas of technology. > > 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 Steven W. > Erbach > Sent: Thursday, November 20, 2003 12:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Jim, > > >> I've been on it a little over two years. ?I have a MSDN Universal > subscription as well. << > > If you don't mind my saying so, I find that a bit curious. > MSDN Universal includes everything. Why would you want the > Action Pack? > > >> And to answer your question, no because technically your > not buying > >> the > Developers Edition and the license to distribute. Could you? > Yes. What Microsoft care? Probably not. << > > Thanks for the interp. > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this > message. However, several coulombs of electrons were > temporarily inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Alun.Garraway at otto.de Fri Nov 21 03:06:36 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 21 Nov 2003 10:06:36 +0100 Subject: AW: [AccessD] OT Excel refer to form control Message-ID: ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 21 10:58:34 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 21 Nov 2003 10:58:34 (MET) Subject: [AccessD] single label; was subject "blank" Message-ID: <200311210958.hAL9wYEU002289@mailhostC.plex.net> Sorry i forgot the subject > Hello group, > > i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. > > for example > > i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 > > "labelsheet" > > cmd1 cmd2 cmd3 > > cmd4 cmd5 cmd6 > > > TIA > > Pedro Janssen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Fri Nov 21 04:13:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Nov 2003 11:13:07 +0100 Subject: [AccessD] Infopath and One Note In-Reply-To: <3FBD24E0.3030004@shaw.ca> References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> <3FBD24E0.3030004@shaw.ca> Message-ID: <1027776982.20031121111307@cactus.dk> Thanks Marty, I will study these links closer. /gustav > Where this is leading, I am not sure but here are some things, you can > do with InfoPath. > --------- > Here is one way of getting speed out of xml files try using with InfoPath > If the methods are followed you may get a retrieval time 10 times that > of SQL > Creating an In-Memory Database Using XML and XPath -- Part 2 > http://www.15seconds.com/Issue/010410.htm?voteresult=5 > ---------- > downloaded the InfoPath SDK, and try to use the ADO sample form and > access database that MS has provided. > However, one caveat that messed me up > If you search inside manifest.xsf you will see that the reference to > Infnwind.mdb is relative. So the published form template expects to find > Infnwind.mdb in the same directory as you published the form template > to. But the Access database isn't there. If you copy it there your > problem should be solved. Copy Infnwind.mdb to the shared folder. > InfoPath SDK > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en > --- > Try viewing the .xsn or .mht file in IE. > ------- > You should be able to access web services from InfoPath. > ------- From Tim.Pain at sc.akzonobel.com Fri Nov 21 04:34:53 2003 From: Tim.Pain at sc.akzonobel.com (Pain, T. (Tim)) Date: Fri, 21 Nov 2003 10:34:53 -0000 Subject: [AccessD] Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6AAD358@lbrn12.d20.intra> Have a look at http://www.peterssoftware.com/ls.htm Tim -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: 21 November 2003 10:06 To: AccessD at databaseadvisors.com Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Nov 21 04:47:22 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 21 Nov 2003 11:47:22 +0100 Subject: [AccessD] Message-ID: <20031121114719.11FD925EE7E@smithers.nildram.co.uk> A dead simple way that I use is to set up a temporary table with an Autonumber key, set the Label report's recordsource to the temp table sorted on the Autonumber, then when the user selects the starting position I write the appropriate number of blank records (one less than starting pos) to the temp table before writing the required address. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Date: 21/11/03 10:41 Have a look at http://www.peterssoftware.com/ls.htm Tim -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: 21 November 2003 10:06 To: AccessD at databaseadvisors.com Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 sent using UebiMiau 2.7.2 From SDSSoftware at optusnet.com.au Fri Nov 21 06:35:31 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 23:35:31 +1100 Subject: [AccessD] OT Excel refer to form control References: Message-ID: <000d01c3b02b$f3981ae0$6401a8c0@user> Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Fri Nov 21 06:52:56 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 23:52:56 +1100 Subject: [AccessD] References: <200311210905.hAL95sEU029814@mailhostC.plex.net> Message-ID: <002101c3b02e$62ded220$6401a8c0@user> Hi Pedro - I had a very similar situation last year. My client was using a page of labels with 2 columns, 10 labels per column. The code below prompts the user for a label no and they enter the no. of the label they want to use, ie. 1 for 10 would print in the first column, and 11-20 print in the second column. Then by adjusting the height of the report header (section1) you can push the data down to the right place. It's a while since I wrote this and it looks like I had to create 2 reports to cater for the second column - the second report has a left margin of 11 cms. The code does force you to open the report in design mode to adjust the report header height, so you would have to distrubute as an mdb, not mde. But it works really well. HTH: code below - watch the wrap. Kath -------------------------------------- Private Sub PrintLabel_Click() Dim strerrormsg As String On Error GoTo Err_Handler Dim IntLabelNo As Integer, strMsg As String, Rptname As String Dim IntRptheight As Integer If Me.Dirty Then DoCmd.RunCommand acCmdSaveRecord End If Rptname = "RptClientLabel" 'Each cm is 567 twips in measurement strMsg = "Enter label no (from 1 to 10 for first column, and 10 to 20 for second column):" IntLabelNo = InputBox(Prompt:=strMsg, _ Title:="Client Labels", XPos:=2000, YPos:=2000) If IsNull(IntLabelNo) Or IntLabelNo = 0 Then MsgBox ("No label no selected"), vbOKOnly, "Reports" GoTo Normal_exit End If If IntLabelNo < 1 Or IntLabelNo > 20 Then MsgBox ("Label number can be from 1 to 20"), vbOKOnly, "Reports" GoTo Normal_exit End If If IntLabelNo > 10 Then Rptname = "RptClientLabelColumn2" 'push data to 2nd column IntLabelNo = IntLabelNo - 10 '11 become position 1, 12 becomes pos 2 etc. End If If IntLabelNo = 1 Then IntRptheight = 800 ElseIf IntLabelNo > 1 Then IntRptheight = ((IntLabelNo * 567) * 2.54) - 567 End If Application.Echo False If Rptname = "RptClientLabelColumn2" Then DoCmd.OpenReport "RptClientLabelColumn2", acViewDesign DoCmd.SelectObject acReport, "RptClientLabelColumn2" Reports!RptClientLabelColumn2.Section(1).Height = IntRptheight DoCmd.Save acReport, "RptClientLabelColumn2" DoCmd.close Application.Echo True DoCmd.OpenReport "RptClientLabelColumn2", acViewPreview, [ClientID] = Me.ClientID Else DoCmd.OpenReport "RptClientLabel", acViewDesign DoCmd.SelectObject acReport, "RptClientLabel" Reports!RptClientLabel.Section(1).Height = IntRptheight DoCmd.Save acReport, "RptClientLabel" DoCmd.close Application.Echo True DoCmd.OpenReport "Rptclientlabel", acViewPreview, [ClientID] = Me.ClientID End If Normal_exit: Application.Echo True DoCmd.SetWarnings True Exit Sub Err_Handler: Select Case Err.Number Case 13 Resume Normal_exit Case Else MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Select End Sub ----- Original Message ----- From: pedro at plex.nl To: AccessD at databaseadvisors.com Sent: Friday, November 21, 2003 10:05 AM Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Nov 21 07:28:13 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 21 Nov 2003 05:28:13 -0800 Subject: [AccessD] Change Default Printer Message-ID: <003101c3b033$50aa8900$6501a8c0@HAL9002> Dear List: I'm using the Print To Picture thingy to print reports to a PCX file so they can be dropped into a manual. Works pretty good. But one of my reports got it's default printer switched from the printer everything else goes to (a networked laser) to this 'print to picture' which is installed as a printer. Does anyone know how to change this back so that when I hit ctrl-P in the preview mode the printer dialog box comes up with the printer I want? MTIA, Rocky Smolin Beach Access Software From bchacc at san.rr.com Fri Nov 21 07:56:06 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 21 Nov 2003 05:56:06 -0800 Subject: [AccessD] Change Default Printer References: <003101c3b033$50aa8900$6501a8c0@HAL9002> Message-ID: <003701c3b037$35fdef30$6501a8c0@HAL9002> Never mind. It was simple. Just change the printer and save. Don't know why this had me so baffled last night. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Friday, November 21, 2003 5:28 AM Subject: [AccessD] Change Default Printer Dear List: I'm using the Print To Picture thingy to print reports to a PCX file so they can be dropped into a manual. Works pretty good. But one of my reports got it's default printer switched from the printer everything else goes to (a networked laser) to this 'print to picture' which is installed as a printer. Does anyone know how to change this back so that when I hit ctrl-P in the preview mode the printer dialog box comes up with the printer I want? 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 garykjos at hotmail.com Fri Nov 21 08:13:48 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 21 Nov 2003 08:13:48 -0600 Subject: [AccessD] Change Default Printer Message-ID: Because you worked too long. You need more breaks. ;-) Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Change Default Printer >Date: Fri, 21 Nov 2003 05:56:06 -0800 > >Never mind. It was simple. Just change the printer and save. Don't know >why this had me so baffled last night. > >Rocky > >----- Original Message ----- >From: "Rocky Smolin - Beach Access Software" >To: >Sent: Friday, November 21, 2003 5:28 AM >Subject: [AccessD] Change Default Printer > > >Dear List: > >I'm using the Print To Picture thingy to print reports to a PCX file so >they >can be dropped into a manual. Works pretty good. > >But one of my reports got it's default printer switched from the printer >everything else goes to (a networked laser) to this 'print to picture' >which >is installed as a printer. > >Does anyone know how to change this back so that when I hit ctrl-P in the >preview mode the printer dialog box comes up with the printer I want? > >MTIA, > >Rocky Smolin >Beach Access Software _________________________________________________________________ >From the hottest toys to tips on keeping fit this winter, you?ll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx From john at winhaven.net Fri Nov 21 09:31:39 2003 From: john at winhaven.net (John Bartow) Date: Fri, 21 Nov 2003 09:31:39 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <3FBDC126.5010004@shaw.ca> Message-ID: Oh, yes, there always have to have some people that overdo everything, beside scanning .mdb how about not allowing .zip extensions in email?! Then of course you have people who resort to changing the file extension on your zipped files to .txt and instructing the person on other end to change it back. That's good covenient security. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Friday, November 21, 2003 1:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Depends on what file extensions are scanned on a network server. I keep > a special stick to poke network guys who insist on scanning ldb and mdb > file types among others. Scanning a 300MB file on-access can bring > things to a grinding halt. > > Stuart McLachlan wrote: > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > >>Stuart, > >> > >>I personally don't say it has no place in the world. The unfortunate > >>reality is that there are millions of machines out there used > by individuals > >>in their homes (or small office) who are too ignorant to run > virus checkers. > >>THESE users should indeed install the service patch so that > they only screw > >>up their own machines when the virus hits them. It simply has > no place in a > >>business where they should be running AV software. > >> > >> > >> > > > >Which brings us on to another question, prompted recently by a > >client. > > > >What is your option on running anti-virus software on network > >servers? > >(Assuming that you do run on-access scanning software on the > >workstations) > > > >Note: > >X-posted to > >All follow ups to that list only. Please! > > > > > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Fri Nov 21 09:39:49 2003 From: john at winhaven.net (John Bartow) Date: Fri, 21 Nov 2003 09:39:49 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Message-ID: MSDN is expensive and it does include everything you've mentioned below. I've never subscribed to the MS Action Pack but what you get with MSDN depends on the subscription level. I do believe with Universal you recieve everything MS churns out (other than games). I know I nearly had to hire an "MSDN librarian" to keep it all straight! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps > Sent: Friday, November 21, 2003 3:04 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Action pack is not solely to sales and marketing, but apart from > the OS software it also includes demo's and sales/marketing tools. > It's ment for the typical dealer/reseller/network integrator and > not for the developer. > > Does the MSDN includes OS software like Exchange server, Isa > Server, SQL server, Small Business server etc? > > I believe MSDN is more expensive too? > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, November 21, 2003 12:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > Steve, > > < Universal includes everything. Why would you want the Action Pack?>> > > As I said, the Action Pack is geared towards marketing and > sales. It's a different focus. The only reason software is in > there is to help you explore new areas of technology. > > 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 Steven W. > Erbach > Sent: Thursday, November 20, 2003 12:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Jim, > > >> I've been on it a little over two years. ?I have a MSDN Universal > subscription as well. << > > If you don't mind my saying so, I find that a bit curious. MSDN > Universal includes everything. Why would you want the Action Pack? > > >> And to answer your question, no because technically your not buying > >> the > Developers Edition and the license to distribute. Could you? > Yes. What Microsoft care? Probably not. << > > Thanks for the interp. > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this > message. However, several coulombs of electrons were temporarily > inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Jdemarco at hshhp.org Fri Nov 21 09:45:45 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 10:45:45 -0500 Subject: [AccessD] ADO 2.6 install Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99022B0978@TTNEXCHSRV1.hshhp.com> List, I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. TIA, Jim DeMarco Director Product Development Hudson Health Plan Tarrytown, NY *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ssharkins at bellsouth.net Fri Nov 21 09:48:47 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 21 Nov 2003 10:48:47 -0500 Subject: [AccessD] single label; was subject "blank" References: <200311210958.hAL9wYEU002289@mailhostC.plex.net> Message-ID: <005001c3b046$f90bdf50$210110ac@SUSANONE> You want to start printing labels or just one label at a specific label on the sheet of labels -- is that what you're asking? You say "the position on the report" so I'm not sure if I understand the exact problem. Susan H. > Sorry i forgot the subject > > > > > Hello group, > > > > i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. > > > > for example > > > > i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 > > > > "labelsheet" > > > > cmd1 cmd2 cmd3 > > > > cmd4 cmd5 cmd6 > > > > > > TIA > > > > Pedro Janssen > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 10:02:25 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 21 Nov 2003 09:02:25 -0700 Subject: [AccessD] IE 5.5 download Message-ID: Thank you Thank you. Seems 5.5 and up are the only versions that work with the new Alberta govt registry software. I was real concerned about having to upgrade all the Win 95 boxes to Win 98 because the big drives are 1.6 gigs and a few of the machines didin't have space for the size difference between 95 and 98 and I didn't want to be upgrading all the drives, even if 40 gig dirives are only about $50.00, I didn't want to have to look into bios upgrades and physically dismantling the machines. And then getting drivers for all the old hardware. At least we have high speed access and the LAN is good. This will be far less painful. Thank you Thank you. Hen >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] IE 5.5 download >Date: Wed, 19 Nov 2003 17:32:02 -0800 > >From the help desk at U Victoria , it says Win95 works with IE5.5SP2 >They only have the download installers which no longer work >but the help desk directs you to another site that has the downloads >from IE 1.0 to IE 5.5 SP2 thru IE 6.0 and there is a SDK as well >You may need IE 4 for Win 3.11 not sure >Bit of a large download 84 Meg >http://browsers.evolt.org/?ie/32bit > > > >Henry Simpson wrote: > >>IE 5.5 is no longer available from Microsoft as a download yet I have a >>client in the position of it becoming a minimum system requirement to >>access a new government registry formerly only accessible with Netscape. >>Regrettably the client boxes run Win 3.11 and Win 95 and neither OS meets >>the IE 6 minimum of Win 98. It seems there is a limitless supply of throw >>away computers and Win 95 licenses that will forever meet the client's >>needs and taste for Word Perfect 5. >> >>The Win 95 machines currently run IE 5.00.2314.1003 and I'm curious >>whether 5.5 can run on a 95 box and if there is any where a version can be >>obtained. The registries will cease hosting the version that supports >>Netscape as of December 1, 2003. >> >>By the way, the machines are rock, ok - sandstone, solid, provided I don't >>run Word, WordPerfect, Netscape and IE concurrently (Netscape tends to >>crash when all are loaded at once) and although there are obvious memory >>leaks in the OS (if the primary peer server isn't rebooted every 3 days, >>resources go below 30% and worse after a Netscape crash, so it is rebooted >>every morning). The Win 95 machines run an Access 2K FE and the Win 3 >>machines use Access 2. The fastest machine here runs a 233 AMD chip with >>64 megs. I'm almost shocked at how well it all works. >> >>Hen >> >> > >-- >Marty Connelly >Victoria, B.C. >Canada _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Alun.Garraway at otto.de Fri Nov 21 09:52:04 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 21 Nov 2003 16:52:04 +0100 Subject: AW: [AccessD] OT Excel refer to form control Message-ID: hi Kath I've now tried both types of comboboxs, no problems with loading data or passing value/text to variable. both have the change event. remember in excel each sheet is like a "module" that means if you have a combobox on sheet1 you have to go to the ide and select "Sheet1" in the project explorer, then select the object from the objectlist, with the combobox the change event is standard. then you can use var = me.combobox1.value ( or .text) example i sent u. if you want to get the value/text of the combobox from a module then you need something like this: Sub getit() Dim v As Variant Dim o As ComboBox Set o = ActiveWorkbook.Sheets(1).cbo2 v = o.Value Debug.Print v End Sub hth alun btw regarding your other problem the only solution i know is, as you said, to use different ranges depending on the selection. -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 13:36 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 21 10:26:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 11:26:17 -0500 Subject: [AccessD] ADO 2.6 install Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8F6@TTNEXCHSRV1.hshhp.com> Forget this. It looks like IS handled MDAC and related OLEDB drivers. Jim DeMarco -----Original Message----- From: Jim DeMarco Sent: Friday, November 21, 2003 10:46 AM To: AccessD (E-mail) Subject: [AccessD] ADO 2.6 install List, I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. TIA, Jim DeMarco Director Product Development Hudson Health Plan Tarrytown, NY *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Fri Nov 21 10:29:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Nov 2003 08:29:47 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which > has the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 martyconnelly at shaw.ca Fri Nov 21 11:04:16 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 21 Nov 2003 09:04:16 -0800 Subject: [AccessD] ADO 2.6 install References: <22F1CCD5171D17419CB37FEEE09D5F99022B0978@TTNEXCHSRV1.hshhp.com> Message-ID: <3FBE4590.8050704@shaw.ca> Some OS have a basic install of MDAC ie. WinXP has MDAC 2.7 To quote. http://www.microsoft.com/downloads/details.aspx?FamilyID=8e5f816c-4918-4250-b8bd-3794582c9089&DisplayLang=en "The MDAC 2.6 SP2 redistributable installer installs the same Data Access core components as Microsoft SQL Server 2000 SP2. This release does not include Microsoft Jet, the Microsoft Jet OLE DB Provider, the Desktop Database Drivers ODBC Driver, or the Visual FoxPro ODBC Driver." MDAC 2.6 was last one, able to be installed on Win95. To get these drivers I think you need MDAC 2.5 SP 3. This MDAC comes with Win 2000 SP-3. MDAC 2.5 SP-3 was last MDAC to contain total Jet 4.0 Install http://www.microsoft.com/downloads/details.aspx?FamilyID=c57692e9-dde7-4a60-b586-5d4fd6794db6&DisplayLang=en Here is manifest list for MDAC 2.5 SP3 http://support.microsoft.com/default.aspx?scid=/support/servicepacks/MDAC/2.5/SP3manifest.asp Just for interest sakes MDAC 2.0 was last one that installed Jet 3.0 or was it 3.5, but it is no longer available. You can still install it via Access 97 or VB6. There are some bugs with FoxPro Drivers that were fixed in Jet SP 5 or 6 that might affect you. So you would need Jet SP 7 or SP 8 upgrade depending on the OS If you want to get really carried away MDAC 2.8 has just been released. This handles a lot of security changes , you may have to modify security in IE if calling ado from there or if you have a space in a database name put within brackets. A lot of the gory details are at http://www.microsoft.com/data Jim DeMarco wrote: >List, > >I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. > >TIA, > >Jim DeMarco >Director Product Development >Hudson Health Plan >Tarrytown, NY > > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From Jdemarco at hshhp.org Fri Nov 21 11:14:55 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 12:14:55 -0500 Subject: [AccessD] ADO 2.6 install Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8F8@TTNEXCHSRV1.hshhp.com> Thanks Marty. Jim D -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, November 21, 2003 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO 2.6 install Some OS have a basic install of MDAC ie. WinXP has MDAC 2.7 To quote. http://www.microsoft.com/downloads/details.aspx?FamilyID=8e5f816c-4918-4250-b8bd-3794582c9089&DisplayLang=en "The MDAC 2.6 SP2 redistributable installer installs the same Data Access core components as Microsoft SQL Server 2000 SP2. This release does not include Microsoft Jet, the Microsoft Jet OLE DB Provider, the Desktop Database Drivers ODBC Driver, or the Visual FoxPro ODBC Driver." MDAC 2.6 was last one, able to be installed on Win95. To get these drivers I think you need MDAC 2.5 SP 3. This MDAC comes with Win 2000 SP-3. MDAC 2.5 SP-3 was last MDAC to contain total Jet 4.0 Install http://www.microsoft.com/downloads/details.aspx?FamilyID=c57692e9-dde7-4a60-b586-5d4fd6794db6&DisplayLang=en Here is manifest list for MDAC 2.5 SP3 http://support.microsoft.com/default.aspx?scid=/support/servicepacks/MDAC/2.5/SP3manifest.asp Just for interest sakes MDAC 2.0 was last one that installed Jet 3.0 or was it 3.5, but it is no longer available. You can still install it via Access 97 or VB6. There are some bugs with FoxPro Drivers that were fixed in Jet SP 5 or 6 that might affect you. So you would need Jet SP 7 or SP 8 upgrade depending on the OS If you want to get really carried away MDAC 2.8 has just been released. This handles a lot of security changes , you may have to modify security in IE if calling ado from there or if you have a space in a database name put within brackets. A lot of the gory details are at http://www.microsoft.com/data Jim DeMarco wrote: >List, > >I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. > >TIA, > >Jim DeMarco >Director Product Development >Hudson Health Plan >Tarrytown, NY > > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From rfv at entelix.com Fri Nov 21 11:33:13 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Fri, 21 Nov 2003 11:33:13 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: Message-ID: <200311211733.hALHXQ624497@databaseadvisors.com> Check out the EMPOWER program. http://msdn.microsoft.com/ Rudolf -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Viernes, 21 de Noviembre de 2003 09:40 a.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack MSDN is expensive and it does include everything you've mentioned below. I've never subscribed to the MS Action Pack but what you get with MSDN depends on the subscription level. I do believe with Universal you recieve everything MS churns out (other than games). I know I nearly had to hire an "MSDN librarian" to keep it all straight! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps > Sent: Friday, November 21, 2003 3:04 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Action pack is not solely to sales and marketing, but apart from the > OS software it also includes demo's and sales/marketing tools. > It's ment for the typical dealer/reseller/network integrator and not > for the developer. > > Does the MSDN includes OS software like Exchange server, Isa Server, > SQL server, Small Business server etc? > > I believe MSDN is more expensive too? > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, November 21, 2003 12:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > Steve, > > < Universal includes everything. Why would you want the Action Pack?>> > > As I said, the Action Pack is geared towards marketing and sales. > It's a different focus. The only reason software is in there is to > help you explore new areas of technology. > > 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 Steven W. > Erbach > Sent: Thursday, November 20, 2003 12:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Jim, > > >> I've been on it a little over two years. ?I have a MSDN Universal > subscription as well. << > > If you don't mind my saying so, I find that a bit curious. MSDN > Universal includes everything. Why would you want the Action Pack? > > >> And to answer your question, no because technically your not buying > >> the > Developers Edition and the license to distribute. Could you? > Yes. What Microsoft care? Probably not. << > > Thanks for the interp. > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this message. > However, several coulombs of electrons were temporarily > inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Nov 21 11:57:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 21 Nov 2003 10:57:51 -0700 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariable? Message-ID: <35110-2200311521175751944@christopherhawkins.com> I have inherited an application that uses the GetEnvironmentVariable API to identify a machine for purposes of authenticating that a certain application can be accessed from that machine. For those unfamiliar, here's the code that makes this call: ***START*** Declare Function GetEnvironmentVariable Lib "kernel32" Alias "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Function GetClientName() As String Dim strBuffer As String Dim iLenBuffer As Integer Dim retval As Integer On Error GoTo Err_GetClientName strBuffer = Space(255) iLenBuffer = 255 retval = GetEnvironmentVariable("CLIENTNAME", strBuffer, iLenBuffer) If Len(Trim(strBuffer)) <> 0 Then strBuffer = Left(strBuffer, Len(Trim(strBuffer)) - 1) Else ' probably no client name strBuffer = "" End If Exit_GetClientName: Exit Function Err_GetClientName: MsgBox Err.Description, , "Error in Function modUtil.GetClientName" Resume Exit_GetClientName Resume 0 ' .FOR TROUBLESHOOTING End Function ***END*** This has been working like a charm on Windows98 machines. We add the following line to AutoExec.bat: "SET CLIENTNAME=FOOBAR" And the API call returns the string "FOOBAR", every time without fail. Now my client is migrating all their machines to XP. Unfortunately, this same API call returns an empty string, or sometimes the string "Console". "OK," I think to myself. "XP doesn't really use AutoExec.bat, it uses AutoExec.NT. I'll set the ClientName in that file instead! But that does not work either. IThe fact that XP will return the string "Console" every so often made me think " Aha! On XP this API call is looking in the registry, not in a .bat file". So I searched the registry for every place where the string "Console" existed, and one by one replaced them with "FOOBAR" and re-ran the code. I still got nothing. If it was returning "Console" before, it returned "Console" again. if it returned empty string before, it returned empty string again. Then I wet to Control Panel > System > Advanced > Environment Variables and added a system variable named CLIENTNAME with a value of FOOBAR. That did not work either, and now I am out of ideas. Is there anyone who owns the API to the degree that they can tell me where exactly GetEnvironmentVariable is looking to get the value it returns? I am well and truly stumped. -Christopher- From gustav at cactus.dk Fri Nov 21 12:08:11 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Nov 2003 19:08:11 +0100 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariable? In-Reply-To: <35110-2200311521175751944@christopherhawkins.com> References: <35110-2200311521175751944@christopherhawkins.com> Message-ID: <8736280738.20031121190811@cactus.dk> Hi Christopher 1. Have you tried replacing that function with = Environ("CLIENTNAME") 2. Your problem may be due to missing rights for the login account. Have you tried running the app under the Administrator account? /gustav > I have inherited an application that uses the GetEnvironmentVariable > API to identify a machine for purposes of authenticating that a > certain application can be accessed from that machine. For those > unfamiliar, here's the code that makes this call: From Mark.Mitsules at ngc.com Fri Nov 21 12:08:38 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 21 Nov 2003 13:08:38 -0500 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariab le? Message-ID: If it is any "console"-ation, ;) someone else has faced your situation. Perhaps the reply to his question will provide something useful. Q. http://www.vbug.co.uk/vaspfaq/tsviewq.asp?ID=7755 A. http://www.vbug.co.uk/vaspfaq/tsviewa.asp?AID=7756&QID=7755 Mark -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, November 21, 2003 12:58 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariable? I have inherited an application that uses the GetEnvironmentVariable API to identify a machine for purposes of authenticating that a certain application can be accessed from that machine. For those unfamiliar, here's the code that makes this call: ***START*** Declare Function GetEnvironmentVariable Lib "kernel32" Alias "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Function GetClientName() As String Dim strBuffer As String Dim iLenBuffer As Integer Dim retval As Integer On Error GoTo Err_GetClientName strBuffer = Space(255) iLenBuffer = 255 retval = GetEnvironmentVariable("CLIENTNAME", strBuffer, iLenBuffer) If Len(Trim(strBuffer)) <> 0 Then strBuffer = Left(strBuffer, Len(Trim(strBuffer)) - 1) Else ' probably no client name strBuffer = "" End If Exit_GetClientName: Exit Function Err_GetClientName: MsgBox Err.Description, , "Error in Function modUtil.GetClientName" Resume Exit_GetClientName Resume 0 ' .FOR TROUBLESHOOTING End Function ***END*** This has been working like a charm on Windows98 machines. We add the following line to AutoExec.bat: "SET CLIENTNAME=FOOBAR" And the API call returns the string "FOOBAR", every time without fail. Now my client is migrating all their machines to XP. Unfortunately, this same API call returns an empty string, or sometimes the string "Console". "OK," I think to myself. "XP doesn't really use AutoExec.bat, it uses AutoExec.NT. I'll set the ClientName in that file instead! But that does not work either. IThe fact that XP will return the string "Console" every so often made me think " Aha! On XP this API call is looking in the registry, not in a .bat file". So I searched the registry for every place where the string "Console" existed, and one by one replaced them with "FOOBAR" and re-ran the code. I still got nothing. If it was returning "Console" before, it returned "Console" again. if it returned empty string before, it returned empty string again. Then I wet to Control Panel > System > Advanced > Environment Variables and added a system variable named CLIENTNAME with a value of FOOBAR. That did not work either, and now I am out of ideas. Is there anyone who owns the API to the degree that they can tell me where exactly GetEnvironmentVariable is looking to get the value it returns? I am well and truly stumped. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Nov 21 12:12:18 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 21 Nov 2003 13:12:18 -0500 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariab le? Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD797B@xlivmbx12.aig.com> Um... not sure about the API call for the environment variable, but Access 97 (and up, I believe) has the Environ() function, call it like this... strEnvVar = Environ("CLIENTNAME") Also, to confirm if your environment variable is being set, just open a DOS box and type the command SET. It will list all the environment variables that are set and you can see their values. Lambert > -----Original Message----- > From: Christopher Hawkins [SMTP:clh at christopherhawkins.com] > Sent: Friday, November 21, 2003 12:58 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Broken API Call in WinXP: > GetEnvironmentVariable? > > I have inherited an application that uses the GetEnvironmentVariable > API to identify a machine for purposes of authenticating that a > certain application can be accessed from that machine. For those > unfamiliar, here's the code that makes this call: > > ***START*** > Declare Function GetEnvironmentVariable Lib "kernel32" Alias > "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As > String, ByVal nSize As Long) As Long > > > Private Function GetClientName() As String > > Dim strBuffer As String > Dim iLenBuffer As Integer > Dim retval As Integer > > On Error GoTo Err_GetClientName > > strBuffer = Space(255) > iLenBuffer = 255 > > retval = GetEnvironmentVariable("CLIENTNAME", strBuffer, > iLenBuffer) > If Len(Trim(strBuffer)) <> 0 Then > strBuffer = Left(strBuffer, Len(Trim(strBuffer)) - 1) > Else > ' probably no client name > strBuffer = "" > End If > > Exit_GetClientName: > Exit Function > > Err_GetClientName: > MsgBox Err.Description, , "Error in Function > modUtil.GetClientName" > Resume Exit_GetClientName > Resume 0 ' .FOR TROUBLESHOOTING > End Function > ***END*** > > This has been working like a charm on Windows98 machines. We add the > following line to AutoExec.bat: > > "SET CLIENTNAME=FOOBAR" > > And the API call returns the string "FOOBAR", every time without fail. > > Now my client is migrating all their machines to XP. Unfortunately, > this same API call returns an empty string, or sometimes the string > "Console". > > "OK," I think to myself. "XP doesn't really use AutoExec.bat, it uses > AutoExec.NT. I'll set the ClientName in that file instead! But that > does not work either. > > IThe fact that XP will return the string "Console" every so often > made me think " Aha! On XP this API call is looking in the registry, > not in a .bat file". So I searched the registry for every place > where the string "Console" existed, and one by one replaced them with > "FOOBAR" and re-ran the code. I still got nothing. If it was > returning "Console" before, it returned "Console" again. if it > returned empty string before, it returned empty string again. > > Then I wet to Control Panel > System > Advanced > Environment > Variables and added a system variable named CLIENTNAME with a value > of FOOBAR. > > That did not work either, and now I am out of ideas. > > Is there anyone who owns the API to the degree that they can tell me > where exactly GetEnvironmentVariable is looking to get the value it > returns? I am well and truly stumped. > > -Christopher- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Fri Nov 21 12:16:39 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 21 Nov 2003 13:16:39 -0500 Subject: [AccessD] Re: Problem Shutting Down Access Message-ID: I posted a question about a week ago where I was having a problem shutting down Access after calling a Crystal Report. Actually what I found was happening was that Access was shutting down and the re-opening. In case anyone has a problem with this in the future, here is the solution to the problem I was having. Crystal Reports based on Access queries creates an indirect connection. Some of my reports were based on tables. Once I created queries based on the tables and linked the reports to them, my problem was resolved. Just a note: I couldn't find an easy way to replace all the table names referenced in every field on the report, so I simply changed the names of my tables and used Rick Fisher's Find and Replace Add-In to change all references to the tables. Then I used the old names of the tables on the queries. From dwaters at usinternet.com Fri Nov 21 12:20:16 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Nov 2003 12:20:16 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <28212869.1069432457235.JavaMail.root@sniper.marix.com> Message-ID: <000501c3b05c$1d84fb40$de1811d8@DanWaters> Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 cfoust at infostatsystems.com Fri Nov 21 12:29:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Nov 2003 10:29:15 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: How are you at C or C++? That's pretty much what you have to write direct calls in. Take a look at this MSKB article to get started. Watch out for the wrap: http://support.microsoft.com/default.aspx?scid=http://support.microsoft. com:80/support/kb/articles/Q200/0/18.asp&NoWebContent=1 Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 dwaters at usinternet.com Fri Nov 21 13:50:04 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Nov 2003 13:50:04 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <16179155.1069440260187.JavaMail.root@sniper.marix.com> Message-ID: <000001c3b068$a8c31370$de1811d8@DanWaters> Well . . . I have no experience with C or C++. I'll look at the article you referenced, but I'll probably go ahead and buy Redemption. Thanks - That was just what I needed! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 12:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... How are you at C or C++? That's pretty much what you have to write direct calls in. Take a look at this MSKB article to get started. Watch out for the wrap: http://support.microsoft.com/default.aspx?scid=http://support.microsoft. com:80/support/kb/articles/Q200/0/18.asp&NoWebContent=1 Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 21 14:45:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 14:45:22 -0600 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275B9@main2.marlow.com> Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 21 14:51:09 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 14:51:09 -0600 Subject: [AccessD] Poll: How many versions of Access are yourunningono nemachine? XPosted Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BA@main2.marlow.com> I hear ya. I'm in the same boat. When dealing with Access, it's a rare rare rare day when I have to create a runtime version. 99.95% of the Access stuff i work on are .mdb's (or .mde's) that run on full blown versions of Access. No install necessary. To me, that is part of the charm of Access. No need to install anything anywhere, just copy the file. On the other hand, I deal with VB quite a bit, and that's a different story. With VB, you are faced with installing the VB runtimes already, so adding other components into the install is just part of the mix. However, what I have found to be the best of both worlds is ASP/VB/Access. Access (Well Jet) as the backend. ASP as the FE, and VB in the middle as an ActiveX .dll. The real beauty of that system is that if I think things through when I am building it, I can make the ActiveX .dll's interactive with each other. In a corporate environment, it is very handy to just reference a pre-existing .dll on the IIS server, and use it with a new application. Loads of fun! Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 12:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Charlotte, >Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. The problem with that argument is that I don't use runtimes. Thus an "install" is nothing more than running a batch file that builds a directory, downloads my framework to the windows dir and the app to it's dir, then starts the app. Installing a dll means registering it (doesn't it?). If I could simply copy it somewhere and use it I would quiet my complaints considerably. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 20, 2003 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 21 14:55:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 15:55:13 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8FE@TTNEXCHSRV1.hshhp.com> Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Fri Nov 21 14:58:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 14:58:43 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BC@main2.marlow.com> It's still a pointless check, especially since the last 'big' virus came with it's own SMTP protocols, to propogate itself without using anything on your machine (though I think it grabbed your SMTP settings). Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 7:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Stuart, I personally don't say it has no place in the world. The unfortunate reality is that there are millions of machines out there used by individuals in their homes (or small office) who are too ignorant to run virus checkers. THESE users should indeed install the service patch so that they only screw up their own machines when the virus hits them. It simply has no place in a business where they should be running AV software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, November 20, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > I'm with JC 100% on this one. The "security" patch is not about stopping viruses from infecting machines. It's not about stopping viruses from causing damage. It's not about stopiing viruses from doing anything. It's about stopping the perfectly legitimate function of interprocess communication which is supposed at the heart of the MS software suite paradigm. It's a half-witted attempt at arse covering by MS which has the side effect of destroying the functionality of many existing applications. Yes I am advising my clients not to instal it. (At least the ones who don't heed my other advice to use non-MS email programs. My Pegasus/Mercury using clients don't have to worry about it at all ) -- 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 bheid at appdevgrp.com Fri Nov 21 15:01:11 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Nov 2003 16:01:11 -0500 Subject: [AccessD] AccessXP native controls question In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF570@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB040@ADGSERVER> Hi all, Was wanting to update the look of our Acc97 app in AccXP. What controls come with Office XP that do not natively show up in AccXP? By that I mean are there listviews, treeviews, etc that I can access from the other tools button? Our client wants only controls that come with office so that we won't run into issues of another control not getting installed properly. TIA, Bobby From DWUTKA at marlow.com Fri Nov 21 15:03:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:03:17 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BD@main2.marlow.com> We use Trend Micro's Server Protect on our file servers. Can barely tell it's running. Only issue I have ever had with it was that it did it's job TOO well. (Grin) There was a discussion on OT about viruses, and I had a copy of the ILOVEYOU virus on Floppy. Since I run 2000 Server, our normal office scanner (Trend's OfficeScan) won't run on my machine, so I'm part of the ServerProtect Cluster. I put the disk in, and when to open it in notepad, to paste the contents (safe, had removed the scripting tags) into an email, and blip, the file disappeared off of the floppy. Took me a second to realize that by opening it, ServerProtect was triggered to read it, saw it was a virus, and deleted it (actually, it archived it.....) hehehehe Had to shut down serverprotect to do what I needed to do! Drew -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, November 21, 2003 1:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] Depends on what file extensions are scanned on a network server. I keep a special stick to poke network guys who insist on scanning ldb and mdb file types among others. Scanning a 300MB file on-access can bring things to a grinding halt. Stuart McLachlan wrote: >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > >>Stuart, >> >>I personally don't say it has no place in the world. The unfortunate >>reality is that there are millions of machines out there used by individuals >>in their homes (or small office) who are too ignorant to run virus checkers. >>THESE users should indeed install the service patch so that they only screw >>up their own machines when the virus hits them. It simply has no place in a >>business where they should be running AV software. >> >> >> > >Which brings us on to another question, prompted recently by a >client. > >What is your option on running anti-virus software on network >servers? >(Assuming that you do run on-access scanning software on the >workstations) > >Note: >X-posted to >All follow ups to that list only. Please! > > > > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 21 15:05:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:05:45 -0600 Subject: [AccessD] Change Default Printer Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BE@main2.marlow.com> 'Print To Picture thingy'. Is that a technical term, or just an industry standard out in Arnold's World? (Sorry, it's Friday, I couldn't resist!). Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 21, 2003 7:28 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Change Default Printer Dear List: I'm using the Print To Picture thingy to print reports to a PCX file so they can be dropped into a manual. Works pretty good. But one of my reports got it's default printer switched from the printer everything else goes to (a networked laser) to this 'print to picture' which is installed as a printer. Does anyone know how to change this back so that when I hit ctrl-P in the preview mode the printer dialog box comes up with the printer I want? 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 DWUTKA at marlow.com Fri Nov 21 15:09:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:09:53 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BF@main2.marlow.com> persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 Nov 21 15:13:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:13:52 -0600 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275C0@main2.marlow.com> Good question. Because I do exactly that 99% of the time. But every once in a while, I get hit with an ASP job running on a non-IIS server (or an IIS server that I don't have sufficient access to register ActiveX .dll's). Case in point, my latest project is just that. I think the hosting company is running Red Hat, with ASP support. So I can write ASP, but I can't use custom VB .dll's. I was building sort of a 'cross-tab' query, of sorts (price matrix....from row, column, and data tables), and was left with the choice of either running back and forth through a couple recordset objects, or just building a few classes, put them in Dictionary objects (which is a collection), and 'keying' them with the references I need to pull them up when I need them. Worked great. Granted, would MUCH rather deal with VB, but in this particular case (and a few others I've run into), I get to stretch the limits of ASP itself! Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 2:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 21 14:53:43 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 21 Nov 2003 21:53:43 +0100 Subject: [AccessD] single label; was subject "blank" References: <200311210958.hAL9wYEU002289@mailhostC.plex.net> Message-ID: <000001c3b07a$f5a38960$f4c581d5@pedro> Hello, Thanks to all who responded. All Solutions were handy, but i found the peterssoftware the most handy. Pedro Janssen ----- Original Message ----- From: To: Sent: Friday, November 21, 2003 10:58 AM Subject: Re: [AccessD] single label; was subject "blank" > Sorry i forgot the subject > > > > > Hello group, > > > > i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. > > > > for example > > > > i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 > > > > "labelsheet" > > > > cmd1 cmd2 cmd3 > > > > cmd4 cmd5 cmd6 > > > > > > TIA > > > > Pedro Janssen > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 16:09:41 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 17:09:41 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8FF@TTNEXCHSRV1.hshhp.com> Makes sense thanks. I just found out about VBS classes a short while ago in a pretty good ASP book by O'Reilly Press "Designing Active Server Pages" by Scott Mitchell (I think he's the 4gusfromfolla.com guy). Jim D. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 4:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Good question. Because I do exactly that 99% of the time. But every once in a while, I get hit with an ASP job running on a non-IIS server (or an IIS server that I don't have sufficient access to register ActiveX .dll's). Case in point, my latest project is just that. I think the hosting company is running Red Hat, with ASP support. So I can write ASP, but I can't use custom VB .dll's. I was building sort of a 'cross-tab' query, of sorts (price matrix....from row, column, and data tables), and was left with the choice of either running back and forth through a couple recordset objects, or just building a few classes, put them in Dictionary objects (which is a collection), and 'keying' them with the references I need to pull them up when I need them. Worked great. Granted, would MUCH rather deal with VB, but in this particular case (and a few others I've run into), I get to stretch the limits of ASP itself! Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 2:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From dwaters at usinternet.com Fri Nov 21 16:13:27 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Nov 2003 16:13:27 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <17774621.1069449271819.JavaMail.root@localhost.localdomain> Message-ID: <000001c3b07c$b08782d0$de1811d8@DanWaters> Thanks Drew! I'll take a look . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 3:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ 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 Nov 21 17:03:35 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 21 Nov 2003 17:03:35 -0600 Subject: [AccessD] OT: Excel input range Message-ID: <869379ABF177D4118D3100508B5EF873063952D8@corp-es00> If you send me a sample I will take a look at it on Monday. regards, Jim Hale -----Original Message----- From: Kath Pelletti [mailto:SDSSoftware at optusnet.com.au] Sent: Thursday, November 20, 2003 11:24 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Excel input range After a long day battling my way through this Excel development I am signing off for now but in case any Excel gurus have the time, could you answer this: On an Excel s/sheet I have 3 combos (created with the form control). I have nominated an input range for each (on a separate sheet). Depending on the choice the user makes in Combo 1 and Combo 2, I need to modify the range for Combo 3. What's the best way in Excel? I see on lots of internet samples that quite often people set up range after range of values and nominate one or the other as the appropriate range when the combos change, but surely there is a more efficient way?? I have fairly simple rules from the client and I think that I should be able to set up a grid /range of cells which hold my criteria. I can post sample data if anyone thinks they can help. Thanks everyone - and apologies for the Excel posts (I am also posting to Excel sites but no luck yet). Have a great w/end. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ 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 Nov 21 17:29:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 22 Nov 2003 09:29:50 +1000 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: Message-ID: <3FBF2C8E.17674.25FCCD@localhost> On 21 Nov 2003 at 10:29, Charlotte Foust wrote: > How are you at C or C++? That's pretty much what you have to write > direct calls in. Horsepuckey :-) I may have mentioned PowerBasic before on this list :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Fri Nov 21 17:40:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 17:40:00 -0600 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275C8@main2.marlow.com> Ya, I heard about them close to a year ago. I had built a sitemap .asp page, that uses Front Pages navigation file. My initial project used VB, to put all of the 'nodes' into a collection. Worked like a charm, but a lot of people wanted to use it on Red Hat Linux systems, so VB was out. I recreated it in strictly ASP, but I used arrays. (Also created a php version...my first and only php project). I was asked why I didn't use classes in ASP, and was taken back by that. I soon discovered that what the MSDN had on VB script (at least my version) was a little out of date, so I downloaded the latest VbScript help files, and learned all about the new commands available. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 4:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Makes sense thanks. I just found out about VBS classes a short while ago in a pretty good ASP book by O'Reilly Press "Designing Active Server Pages" by Scott Mitchell (I think he's the 4gusfromfolla.com guy). Jim D. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 4:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Good question. Because I do exactly that 99% of the time. But every once in a while, I get hit with an ASP job running on a non-IIS server (or an IIS server that I don't have sufficient access to register ActiveX .dll's). Case in point, my latest project is just that. I think the hosting company is running Red Hat, with ASP support. So I can write ASP, but I can't use custom VB .dll's. I was building sort of a 'cross-tab' query, of sorts (price matrix....from row, column, and data tables), and was left with the choice of either running back and forth through a couple recordset objects, or just building a few classes, put them in Dictionary objects (which is a collection), and 'keying' them with the references I need to pull them up when I need them. Worked great. Granted, would MUCH rather deal with VB, but in this particular case (and a few others I've run into), I get to stretch the limits of ASP itself! Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 2:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 21 18:03:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Nov 2003 16:03:08 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: I'm just repeating what Microsoft said about it. If you can do it in PowerBasic go right ahead. You can certainly build dlls in VB too, but apparently, not for Extended MAPI wrappers. Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, November 21, 2003 3:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... On 21 Nov 2003 at 10:29, Charlotte Foust wrote: > How are you at C or C++? That's pretty much what you have to write > direct calls in. Horsepuckey :-) I may have mentioned PowerBasic before on this list :-) -- 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 jmhla at earthlink.net Fri Nov 21 19:10:23 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Fri, 21 Nov 2003 17:10:23 -0800 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <20031120094744.1147728671.serbach@new.rr.com> Message-ID: <000101c3b095$68d6a920$fda8a8c0@delllaptop> The action pack is office and many servers. What to order depends on your nee Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steven W. Erbach Sent: Thursday, November 20, 2003 7:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack/actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Nov 21 19:34:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 21 Nov 2003 20:34:18 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Message-ID: Erwin, <> In other words, sales and marketing <> Yes, depending on subscription level <> Quite a bit. Retail on a Universal sub is just under $3000, but can be found from resellers for $1200 or so. The top level Action Pack is $300 or $400. Don't remember which. 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 Erwin Craps Sent: Friday, November 21, 2003 4:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Action pack is not solely to sales and marketing, but apart from the OS software it also includes demo's and sales/marketing tools. It's ment for the typical dealer/reseller/network integrator and not for the developer. Does the MSDN includes OS software like Exchange server, Isa Server, SQL server, Small Business server etc? I believe MSDN is more expensive too? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, November 21, 2003 12:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Steve, <> As I said, the Action Pack is geared towards marketing and sales. It's a different focus. The only reason software is in there is to help you explore new areas of technology. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 12:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying >> the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From caa at highway.com.br Fri Nov 21 20:26:11 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 22 Nov 2003 00:26:11 -0200 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted In-Reply-To: References: Message-ID: Just Access 2000... -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From tinanfields at torchlake.com Sat Nov 22 06:53:30 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 22 Nov 2003 07:53:30 -0500 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted References: <2F8793082E00D4119A1700B0D0216BF8022275AF@main2.marlow.com> Message-ID: <3FBF5C4A.1050502@torchlake.com> I have 4 machines - WIN3.1 has A2 WIN95 has A95 WIN98 has A97 and A2K WINXP has AXP Most of my stuff was A97, A2K, and AXP. Migration from A97 --> A2K --> AXP is commonly happening. I did precious little in A2, and virtually nothing in A95 - I'm just not very good at throwing things away (I might need it SOMETIME) Tina Greg Smith wrote: >I have Access97 ODE and Access XP (used to have Access97 ODE, 2000 and XP, >but new computer and 2000 was toast). > >Most of my clients are still using Access 97. Hinting at changing to XP, >but now 2003 is out so they'll probably wait until I clear their apps >through it. Sigh. This is never going to end. > >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 mmaddison at optusnet.com.au Sat Nov 22 08:11:08 2003 From: mmaddison at optusnet.com.au (Michael Maddison) Date: Sun, 23 Nov 2003 01:11:08 +1100 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: Message-ID: I have a client who did the disallow zip thing, they are over it now :-) The av software they were using at the time would also strip the contents of zip files, then it started disallowing zip files all together. I started changing the extension, it would work once then fail. I started working my way through the alphabet .aaa .aab etc etc LOL This only lasted a couple of weeks, as no one in their company ended up being able to send attachments. cheers Michael M Oh, yes, there always have to have some people that overdo everything, beside scanning .mdb how about not allowing .zip extensions in email?! Then of course you have people who resort to changing the file extension on your zipped files to .txt and instructing the person on other end to change it back. That's good covenient security. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Friday, November 21, 2003 1:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Depends on what file extensions are scanned on a network server. I keep > a special stick to poke network guys who insist on scanning ldb and mdb > file types among others. Scanning a 300MB file on-access can bring > things to a grinding halt. > > Stuart McLachlan wrote: > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > >>Stuart, > >> > >>I personally don't say it has no place in the world. The unfortunate > >>reality is that there are millions of machines out there used > by individuals > >>in their homes (or small office) who are too ignorant to run > virus checkers. > >>THESE users should indeed install the service patch so that > they only screw > >>up their own machines when the virus hits them. It simply has > no place in a > >>business where they should be running AV software. > >> > >> > >> > > > >Which brings us on to another question, prompted recently by a > >client. > > > >What is your option on running anti-virus software on network > >servers? > >(Assuming that you do run on-access scanning software on the > >workstations) > > > >Note: > >X-posted to > >All follow ups to that list only. Please! > > > > > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Nov 22 08:23:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 22 Nov 2003 06:23:19 -0800 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] References: Message-ID: <001901c3b104$2e132ce0$650a6351@martin1> Thats just how we do it in work. PITA but gets us past the email people. Martin > Oh, yes, there always have to have some people that overdo everything, > beside scanning .mdb how about not allowing .zip extensions in email?! Then > of course you have people who resort to changing the file extension on your > zipped files to .txt and instructing the person on other end to change it > back. That's good covenient security. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > > Sent: Friday, November 21, 2003 1:39 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Depends on what file extensions are scanned on a network server. I keep > > a special stick to poke network guys who insist on scanning ldb and mdb > > file types among others. Scanning a 300MB file on-access can bring > > things to a grinding halt. > > > > Stuart McLachlan wrote: > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > >>Stuart, > > >> > > >>I personally don't say it has no place in the world. The unfortunate > > >>reality is that there are millions of machines out there used > > by individuals > > >>in their homes (or small office) who are too ignorant to run > > virus checkers. > > >>THESE users should indeed install the service patch so that > > they only screw > > >>up their own machines when the virus hits them. It simply has > > no place in a > > >>business where they should be running AV software. > > >> > > >> > > >> > > > > > >Which brings us on to another question, prompted recently by a > > >client. > > > > > >What is your option on running anti-virus software on network > > >servers? > > >(Assuming that you do run on-access scanning software on the > > >workstations) > > > > > >Note: > > >X-posted to > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > -- > > Marty Connelly > > Victoria, B.C. > > Canada > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Sat Nov 22 10:02:36 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 10:02:36 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <001901c3b104$2e132ce0$650a6351@martin1> Message-ID: That's a shame. I would think that security and productivity should have at least equal priority in the work place :o) For true security to ever happen the email security people are going to have to start identifying what's in a zip file rather than the fact that its a zip file. Most AV scanners can already scan zip contents so I would think that if a message came through with a zip attachment that the zip attachment's contents could be scanned for problems rather than just assuming that its a problem because its a zip. Even if they pulled the email aside and processed it out of stream rather than doing it directly and clogging up the system it would be preferable to just deleting it! Hey Drew can Trend Micro's system do that? Of course if they scan the zip - then .mdbs can't be considered dangerous either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? If one could write a script to scan .mdbs with FMS AV scanner it could eliminating the whole annoying process of not allowing .mdb attachments. (Of course I always zip my mdbs because they usually compress about 80% so I'm back to the first argument... now I'm just babbling... :o) What say we get some big company to put a bounty out on the heads of virus writers? ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Saturday, November 22, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Thats just how we do it in work. PITA but gets us past the email people. > > Martin > > > > Oh, yes, there always have to have some people that overdo everything, > > beside scanning .mdb how about not allowing .zip extensions in email?! > Then > > of course you have people who resort to changing the file extension on > your > > zipped files to .txt and instructing the person on other end to > change it > > back. That's good covenient security. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > > > Sent: Friday, November 21, 2003 1:39 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > Depends on what file extensions are scanned on a network > server. I keep > > > a special stick to poke network guys who insist on scanning > ldb and mdb > > > file types among others. Scanning a 300MB file on-access can bring > > > things to a grinding halt. > > > > > > Stuart McLachlan wrote: > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > >>Stuart, > > > >> > > > >>I personally don't say it has no place in the world. The > unfortunate > > > >>reality is that there are millions of machines out there used > > > by individuals > > > >>in their homes (or small office) who are too ignorant to run > > > virus checkers. > > > >>THESE users should indeed install the service patch so that > > > they only screw > > > >>up their own machines when the virus hits them. It simply has > > > no place in a > > > >>business where they should be running AV software. > > > >> > > > >> > > > >> > > > > > > > >Which brings us on to another question, prompted recently by a > > > >client. > > > > > > > >What is your option on running anti-virus software on network > > > >servers? > > > >(Assuming that you do run on-access scanning software on the > > > >workstations) > > > > > > > >Note: > > > >X-posted to > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Marty Connelly > > > Victoria, B.C. > > > Canada > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sat Nov 22 11:03:20 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 09:03:20 -0800 Subject: [AccessD] OT: Color Laser Message-ID: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> Cross posting from dba-tech. ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Saturday, November 22, 2003 8:34 AM Subject: [dba-Tech] Color Laser Hello: I'm writing a manual now into which I've dropped a lot of screen shots. They look much better in color than in black and white. I think that having Kinko's do these on their color laser might be cost prohibitive. The manual will be about 150+ pages when done and of course, not all of the pages will require color, although they'll have to charge the color cost for every page. So now I'm thinking about a color laser printer. Ink jet would be far too slow if I have to make these manuals in the quantity I'm praying will be necessary. Does anyone have any experience or advice on color laser printers? TIA, Rocky _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 22 12:57:07 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat, 22 Nov 2003 13:57:07 -0500 Subject: [AccessD] Link child / master field fails in subsubform Message-ID: I have a db where the subform pulls the correct records using ling child / master field properties, but the subsub form fails to follow the subform, i.e. it pulls a set associated with the parent form but not associated with the first subform. Agency / contract / assignment. As I move through agency records I see the contract change. I also see the assignment change, but as I move through the contracts the assignments don't change. I have seen this before, and worked around it by just replacing the link properties with query filters in the subform. Has anyone seen a bug fix for this? John W. Colby www.ColbyConsulting.com From serbach at new.rr.com Sat Nov 22 16:51:43 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 22 Nov 2003 16:51:43 -0600 Subject: [AccessD] OT: Color Laser Message-ID: <20031122165143.1349102459.serbach@new.rr.com> Rocky, >> Does anyone have any experience or advice on color laser printers? << I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. I have a long history with HP printers, but that Xerox looks awfully good. http://www.printershowcase.com/printer_reviews_xerox6250.asp Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From davesharpe2 at cox.net Sat Nov 22 17:11:55 2003 From: davesharpe2 at cox.net (Dave Sharpe) Date: Sat, 22 Nov 2003 18:11:55 -0500 Subject: [AccessD] OT: Color Laser References: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> Message-ID: <004601c3b14e$05c33330$dd2f0a44@bcsext6137> Rocky I don't know the qtys involved or the kinko options; but a couple of general thoughts. Many ( all? or most? ) printing packages have page number options - ex 1,5,10-12,25,35 print color 2-4,6-9,13-24,26-34,36-150 print b&w ( if they can't or will not, make two files and polulate them with Your existing pages; to end up with one color doc and one b&w doc. Is copying color less expensive that printing? If yes print once then copy to complete the order. Dave ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Saturday, November 22, 2003 12:03 PM Subject: [AccessD] OT: Color Laser Cross posting from dba-tech. ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Saturday, November 22, 2003 8:34 AM Subject: [dba-Tech] Color Laser Hello: I'm writing a manual now into which I've dropped a lot of screen shots. They look much better in color than in black and white. I think that having Kinko's do these on their color laser might be cost prohibitive. The manual will be about 150+ pages when done and of course, not all of the pages will require color, although they'll have to charge the color cost for every page. So now I'm thinking about a color laser printer. Ink jet would be far too slow if I have to make these manuals in the quantity I'm praying will be necessary. Does anyone have any experience or advice on color laser printers? TIA, Rocky _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech 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 Sat Nov 22 18:59:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 16:59:18 -0800 Subject: [AccessD] OT: Color Laser References: <20031122165143.1349102459.serbach@new.rr.com> Message-ID: <00fe01c3b15d$05ebf310$6501a8c0@HAL9002> $2000 bucks, whew. Could get a lot of manuals at Kinko's for that. Rocky ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Saturday, November 22, 2003 2:51 PM Subject: Re: [AccessD] OT: Color Laser > Rocky, > > >> Does anyone have any experience or advice on color laser printers? << > > I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. > > I have a long history with HP printers, but that Xerox looks awfully good. > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Sat Nov 22 19:24:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 22 Nov 2003 19:24:06 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275CD@main2.marlow.com> Yes, ScanMail will scan the files within a zip file. You can even set how deep you want it to scan (for zips within zips). I think we are set to 5 levels. We have never blocked .zip files, and I certainly don't plan on starting. We do block any extension that can be run off the bat, such as .exe, .com, .bat, etc. Those are blocked simply as a buffer, since brand new viruses aren't caught until Trend updates their patterns (which they do pretty fast). Once a virus is in the pattern though, it will strip it out of zip files. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Saturday, November 22, 2003 10:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] That's a shame. I would think that security and productivity should have at least equal priority in the work place :o) For true security to ever happen the email security people are going to have to start identifying what's in a zip file rather than the fact that its a zip file. Most AV scanners can already scan zip contents so I would think that if a message came through with a zip attachment that the zip attachment's contents could be scanned for problems rather than just assuming that its a problem because its a zip. Even if they pulled the email aside and processed it out of stream rather than doing it directly and clogging up the system it would be preferable to just deleting it! Hey Drew can Trend Micro's system do that? Of course if they scan the zip - then .mdbs can't be considered dangerous either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? If one could write a script to scan .mdbs with FMS AV scanner it could eliminating the whole annoying process of not allowing .mdb attachments. (Of course I always zip my mdbs because they usually compress about 80% so I'm back to the first argument... now I'm just babbling... :o) What say we get some big company to put a bounty out on the heads of virus writers? ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Saturday, November 22, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Thats just how we do it in work. PITA but gets us past the email people. > > Martin > > > > Oh, yes, there always have to have some people that overdo everything, > > beside scanning .mdb how about not allowing .zip extensions in email?! > Then > > of course you have people who resort to changing the file extension on > your > > zipped files to .txt and instructing the person on other end to > change it > > back. That's good covenient security. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > > > Sent: Friday, November 21, 2003 1:39 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > Depends on what file extensions are scanned on a network > server. I keep > > > a special stick to poke network guys who insist on scanning > ldb and mdb > > > file types among others. Scanning a 300MB file on-access can bring > > > things to a grinding halt. > > > > > > Stuart McLachlan wrote: > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > >>Stuart, > > > >> > > > >>I personally don't say it has no place in the world. The > unfortunate > > > >>reality is that there are millions of machines out there used > > > by individuals > > > >>in their homes (or small office) who are too ignorant to run > > > virus checkers. > > > >>THESE users should indeed install the service patch so that > > > they only screw > > > >>up their own machines when the virus hits them. It simply has > > > no place in a > > > >>business where they should be running AV software. > > > >> > > > >> > > > >> > > > > > > > >Which brings us on to another question, prompted recently by a > > > >client. > > > > > > > >What is your option on running anti-virus software on network > > > >servers? > > > >(Assuming that you do run on-access scanning software on the > > > >workstations) > > > > > > > >Note: > > > >X-posted to > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Marty Connelly > > > Victoria, B.C. > > > Canada > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Sat Nov 22 20:04:41 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sat, 22 Nov 2003 20:04:41 -0600 Subject: [AccessD] OT: Color Laser References: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> Message-ID: <004f01c3b166$281e70d0$64a39a44@hive> Rocky, I did a little investigation a few years ago, and the cost of consumables for I think 5% coverage was something like $0.66 per page. Add to that the price of a printer and it makes Kinko's look much more attractive. Then you have to add the cost of assembling, binding and shipping the manual which makes it a pretty expensive proposition. Most manuals that I have seen still use monochrome screen shots. Why not just include the manual in .pdf format and let the customer decide whether they get color or monochrome manuals, if they decide to print them at all. Jim ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Saturday, November 22, 2003 11:03 AM Subject: [AccessD] OT: Color Laser > Cross posting from dba-tech. > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "dba-tech" > Sent: Saturday, November 22, 2003 8:34 AM > Subject: [dba-Tech] Color Laser > > > Hello: > > I'm writing a manual now into which I've dropped a lot of screen shots. > They look much better in color than in black and white. I think that having > Kinko's do these on their color laser might be cost prohibitive. The manual > will be about 150+ pages when done and of course, not all of the pages will > require color, although they'll have to charge the color cost for every > page. > > So now I'm thinking about a color laser printer. Ink jet would be far too > slow if I have to make these manuals in the quantity I'm praying will be > necessary. > > Does anyone have any experience or advice on color laser printers? > > TIA, > > Rocky > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > 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 Nov 22 20:27:28 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 20:27:28 -0600 Subject: [AccessD] OT: Color Laser In-Reply-To: <20031122165143.1349102459.serbach@new.rr.com> Message-ID: Phaser printers rock! If you have the bucks. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > Erbach > Sent: Saturday, November 22, 2003 4:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Color Laser > > > Rocky, > > >> Does anyone have any experience or advice on color laser printers? << > > I googled a few printer review web sites. Good reviews for the HP > 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level > priced color lasers. > > I have a long history with HP printers, but that Xerox looks awfully good. > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this > message. However, several coulombs of electrons were temporarily > inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Sat Nov 22 20:32:05 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 20:32:05 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275CD@main2.marlow.com> Message-ID: Drew, Thanks for the info, sounds like a rock solid server app. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, November 22, 2003 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Yes, ScanMail will scan the files within a zip file. You can even set how > deep you want it to scan (for zips within zips). I think we are set to 5 > levels. We have never blocked .zip files, and I certainly don't plan on > starting. We do block any extension that can be run off the bat, such as > .exe, .com, .bat, etc. Those are blocked simply as a buffer, since brand > new viruses aren't caught until Trend updates their patterns > (which they do > pretty fast). Once a virus is in the pattern though, it will strip it out > of zip files. > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 10:03 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > That's a shame. > > I would think that security and productivity should have at least equal > priority in the work place :o) > > For true security to ever happen the email security people are > going to have > to start identifying what's in a zip file rather than the fact that its a > zip file. Most AV scanners can already scan zip contents so I would think > that if a message came through with a zip attachment that the zip > attachment's contents could be scanned for problems rather than just > assuming that its a problem because its a zip. Even if they > pulled the email > aside and processed it out of stream rather than doing it directly and > clogging up the system it would be preferable to just deleting it! > > Hey Drew can Trend Micro's system do that? > > Of course if they scan the zip - then .mdbs can't be considered dangerous > either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? > If one could write a script to scan .mdbs with FMS AV scanner it could > eliminating the whole annoying process of not allowing .mdb > attachments. (Of > course I always zip my mdbs because they usually compress about 80% so I'm > back to the first argument... now I'm just babbling... > :o) > > What say we get some big company to put a bounty out on the heads of virus > writers? > ;o) > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Saturday, November 22, 2003 8:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Thats just how we do it in work. PITA but gets us past the email people. > > > > Martin > > > > > > > Oh, yes, there always have to have some people that overdo everything, > > > beside scanning .mdb how about not allowing .zip extensions in email?! > > Then > > > of course you have people who resort to changing the file extension on > > your > > > zipped files to .txt and instructing the person on other end to > > change it > > > back. That's good covenient security. > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > server. I keep > > > > a special stick to poke network guys who insist on scanning > > ldb and mdb > > > > file types among others. Scanning a 300MB file on-access can bring > > > > things to a grinding halt. > > > > > > > > Stuart McLachlan wrote: > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > >> > > > > >>I personally don't say it has no place in the world. The > > unfortunate > > > > >>reality is that there are millions of machines out there used > > > > by individuals > > > > >>in their homes (or small office) who are too ignorant to run > > > > virus checkers. > > > > >>THESE users should indeed install the service patch so that > > > > they only screw > > > > >>up their own machines when the virus hits them. It simply has > > > > no place in a > > > > >>business where they should be running AV software. > > > > >> > > > > >> > > > > >> > > > > > > > > > >Which brings us on to another question, prompted recently by a > > > > >client. > > > > > > > > > >What is your option on running anti-virus software on network > > > > >servers? > > > > >(Assuming that you do run on-access scanning software on the > > > > >workstations) > > > > > > > > > >Note: > > > > >X-posted to > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Marty Connelly > > > > Victoria, B.C. > > > > Canada > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 22 20:38:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 22 Nov 2003 20:38:44 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275CE@main2.marlow.com> I love everything we use from Trend, with the exception of eManager, which is a spam blocking 'add-in' for ScanMail. Don't get me wrong, it works, as well as most of the stuff I've seen out there, but that's the problem. It's not stellar! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Saturday, November 22, 2003 8:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] Drew, Thanks for the info, sounds like a rock solid server app. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, November 22, 2003 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Yes, ScanMail will scan the files within a zip file. You can even set how > deep you want it to scan (for zips within zips). I think we are set to 5 > levels. We have never blocked .zip files, and I certainly don't plan on > starting. We do block any extension that can be run off the bat, such as > .exe, .com, .bat, etc. Those are blocked simply as a buffer, since brand > new viruses aren't caught until Trend updates their patterns > (which they do > pretty fast). Once a virus is in the pattern though, it will strip it out > of zip files. > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 10:03 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > That's a shame. > > I would think that security and productivity should have at least equal > priority in the work place :o) > > For true security to ever happen the email security people are > going to have > to start identifying what's in a zip file rather than the fact that its a > zip file. Most AV scanners can already scan zip contents so I would think > that if a message came through with a zip attachment that the zip > attachment's contents could be scanned for problems rather than just > assuming that its a problem because its a zip. Even if they > pulled the email > aside and processed it out of stream rather than doing it directly and > clogging up the system it would be preferable to just deleting it! > > Hey Drew can Trend Micro's system do that? > > Of course if they scan the zip - then .mdbs can't be considered dangerous > either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? > If one could write a script to scan .mdbs with FMS AV scanner it could > eliminating the whole annoying process of not allowing .mdb > attachments. (Of > course I always zip my mdbs because they usually compress about 80% so I'm > back to the first argument... now I'm just babbling... > :o) > > What say we get some big company to put a bounty out on the heads of virus > writers? > ;o) > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Saturday, November 22, 2003 8:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Thats just how we do it in work. PITA but gets us past the email people. > > > > Martin > > > > > > > Oh, yes, there always have to have some people that overdo everything, > > > beside scanning .mdb how about not allowing .zip extensions in email?! > > Then > > > of course you have people who resort to changing the file extension on > > your > > > zipped files to .txt and instructing the person on other end to > > change it > > > back. That's good covenient security. > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > server. I keep > > > > a special stick to poke network guys who insist on scanning > > ldb and mdb > > > > file types among others. Scanning a 300MB file on-access can bring > > > > things to a grinding halt. > > > > > > > > Stuart McLachlan wrote: > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > >> > > > > >>I personally don't say it has no place in the world. The > > unfortunate > > > > >>reality is that there are millions of machines out there used > > > > by individuals > > > > >>in their homes (or small office) who are too ignorant to run > > > > virus checkers. > > > > >>THESE users should indeed install the service patch so that > > > > they only screw > > > > >>up their own machines when the virus hits them. It simply has > > > > no place in a > > > > >>business where they should be running AV software. > > > > >> > > > > >> > > > > >> > > > > > > > > > >Which brings us on to another question, prompted recently by a > > > > >client. > > > > > > > > > >What is your option on running anti-virus software on network > > > > >servers? > > > > >(Assuming that you do run on-access scanning software on the > > > > >workstations) > > > > > > > > > >Note: > > > > >X-posted to > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Marty Connelly > > > > Victoria, B.C. > > > > Canada > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 22 20:46:08 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 20:46:08 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275CE@main2.marlow.com> Message-ID: I guess the only server app I was ever that happy with was Diskeeper defragger. I needed it because almost all of the NT4WS I had on the network were used for apps that caused massive fragging. It worked great. As Ron Popeil would say "I just set it and forget" and it ran for years that way every night. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, November 22, 2003 8:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > I love everything we use from Trend, with the exception of eManager, which > is a spam blocking 'add-in' for ScanMail. Don't get me wrong, it > works, as > well as most of the stuff I've seen out there, but that's the > problem. It's > not stellar! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 8:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Drew, > Thanks for the info, sounds like a rock solid server app. > > jb > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Saturday, November 22, 2003 7:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Yes, ScanMail will scan the files within a zip file. You can > even set how > > deep you want it to scan (for zips within zips). I think we > are set to 5 > > levels. We have never blocked .zip files, and I certainly don't plan on > > starting. We do block any extension that can be run off the > bat, such as > > .exe, .com, .bat, etc. Those are blocked simply as a buffer, > since brand > > new viruses aren't caught until Trend updates their patterns > > (which they do > > pretty fast). Once a virus is in the pattern though, it will > strip it out > > of zip files. > > > > Drew > > > > -----Original Message----- > > From: John Bartow [mailto:john at winhaven.net] > > Sent: Saturday, November 22, 2003 10:03 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > That's a shame. > > > > I would think that security and productivity should have at least equal > > priority in the work place :o) > > > > For true security to ever happen the email security people are > > going to have > > to start identifying what's in a zip file rather than the fact > that its a > > zip file. Most AV scanners can already scan zip contents so I > would think > > that if a message came through with a zip attachment that the zip > > attachment's contents could be scanned for problems rather than just > > assuming that its a problem because its a zip. Even if they > > pulled the email > > aside and processed it out of stream rather than doing it directly and > > clogging up the system it would be preferable to just deleting it! > > > > Hey Drew can Trend Micro's system do that? > > > > Of course if they scan the zip - then .mdbs can't be considered > dangerous > > either. FMS has a free virus scanner for .mdbs I wonder if its > worthwhile? > > If one could write a script to scan .mdbs with FMS AV scanner it could > > eliminating the whole annoying process of not allowing .mdb > > attachments. (Of > > course I always zip my mdbs because they usually compress about > 80% so I'm > > back to the first argument... now I'm just babbling... > > :o) > > > > What say we get some big company to put a bounty out on the > heads of virus > > writers? > > ;o) > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > > Sent: Saturday, November 22, 2003 8:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > Thats just how we do it in work. PITA but gets us past the > email people. > > > > > > Martin > > > > > > > > > > Oh, yes, there always have to have some people that overdo > everything, > > > > beside scanning .mdb how about not allowing .zip extensions > in email?! > > > Then > > > > of course you have people who resort to changing the file > extension on > > > your > > > > zipped files to .txt and instructing the person on other end to > > > change it > > > > back. That's good covenient security. > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > MartyConnelly > > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] AV Software on Servers [was > Redemption DLL ] > > > > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > > server. I keep > > > > > a special stick to poke network guys who insist on scanning > > > ldb and mdb > > > > > file types among others. Scanning a 300MB file on-access can bring > > > > > things to a grinding halt. > > > > > > > > > > Stuart McLachlan wrote: > > > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > > >> > > > > > >>I personally don't say it has no place in the world. The > > > unfortunate > > > > > >>reality is that there are millions of machines out there used > > > > > by individuals > > > > > >>in their homes (or small office) who are too ignorant to run > > > > > virus checkers. > > > > > >>THESE users should indeed install the service patch so that > > > > > they only screw > > > > > >>up their own machines when the virus hits them. It simply has > > > > > no place in a > > > > > >>business where they should be running AV software. > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > >Which brings us on to another question, prompted recently by a > > > > > >client. > > > > > > > > > > > >What is your option on running anti-virus software on network > > > > > >servers? > > > > > >(Assuming that you do run on-access scanning software on the > > > > > >workstations) > > > > > > > > > > > >Note: > > > > > >X-posted to > > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Marty Connelly > > > > > Victoria, B.C. > > > > > Canada > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Nov 22 21:23:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 19:23:23 -0800 Subject: [AccessD] OT: Color Laser References: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> <004f01c3b166$281e70d0$64a39a44@hive> Message-ID: <010801c3b171$271675b0$6501a8c0@HAL9002> Rats. I really want a color laser printer. This was my big opportunity to create a flimsy rationalization for one. You're probably right though. Color copying will be cheaper. There are some marketing reasons, however, why I want to deliver the software with a manual. But I was always a slow adopter. Maybe that's the right way to go. Rocky ----- Original Message ----- From: "jmoss111" To: Sent: Saturday, November 22, 2003 6:04 PM Subject: Re: [AccessD] OT: Color Laser > Rocky, > > I did a little investigation a few years ago, and the cost of consumables > for I think 5% coverage was something like $0.66 per page. Add to that the > price of a printer and it makes Kinko's look much more attractive. Then you > have to add the cost of assembling, binding and shipping the manual which > makes it a pretty expensive proposition. Most manuals that I have seen still > use monochrome screen shots. > > Why not just include the manual in .pdf format and let the customer decide > whether they get color or monochrome manuals, if they decide to print them > at all. > > Jim > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Saturday, November 22, 2003 11:03 AM > Subject: [AccessD] OT: Color Laser > > > > Cross posting from dba-tech. > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "dba-tech" > > Sent: Saturday, November 22, 2003 8:34 AM > > Subject: [dba-Tech] Color Laser > > > > > > Hello: > > > > I'm writing a manual now into which I've dropped a lot of screen shots. > > They look much better in color than in black and white. I think that > having > > Kinko's do these on their color laser might be cost prohibitive. The > manual > > will be about 150+ pages when done and of course, not all of the pages > will > > require color, although they'll have to charge the color cost for every > > page. > > > > So now I'm thinking about a color laser printer. Ink jet would be far too > > slow if I have to make these manuals in the quantity I'm praying will be > > necessary. > > > > Does anyone have any experience or advice on color laser printers? > > > > TIA, > > > > Rocky > > _______________________________________________ > > dba-Tech mailing list > > dba-Tech at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ebarro at afsweb.com Sat Nov 22 21:23:49 2003 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 22 Nov 2003 19:23:49 -0800 Subject: [AccessD] OT: Color Laser In-Reply-To: <20031122165143.1349102459.serbach@new.rr.com> Message-ID: I've worked with Tektronix Phaser printers and they have excellent output. The consumables were killing us though. As an alternative we now have a SAVIN SLP38c color printer. The company that sold us the printer takes care of the consumables and maintenance as part of the contract. I believe it's $1.00 per page for this kind of arrangement. The printed output is close enough to the Tektronix and the speed of printing beats the Tektronix hands down. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Saturday, November 22, 2003 2:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Color Laser Rocky, >> Does anyone have any experience or advice on color laser printers? << I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. I have a long history with HP printers, but that Xerox looks awfully good. http://www.printershowcase.com/printer_reviews_xerox6250.asp Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ 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.538 / Virus Database: 333 - Release Date: 11/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 From tomk at multiline.com.au Sat Nov 22 21:41:22 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Sun, 23 Nov 2003 11:41:22 +0800 Subject: [AccessD] OT: Color Laser References: Message-ID: <002301c3b173$af490720$0300a8c0@print> I use eight Tekronix(Xerox) Phaser 860's in my business ...brilliant printer for my application and the beauty of the 860 (also the 840 and 850) is that black ink is FREE. You only pay for colour ink Unlike inkjet printers the finish to the printed page looks as though it was offset printed and glossy ....I think also the 860 came with duplexing as standard (although check that) I always buy duplexing as its essential for my application You can still buy the 860 new although they would be scarce now as the model was superseded a couple of years ago...I managed to pick 3 up a few months ago with full warranty etc..... If you are stuck ....or only want to print one or two ....send me a PDF of your manual and I would be happy to print it for you .... I can courier it to you. (you could advertise PRINTED INTERNATIONALLY) Regards Tom Keatley ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Sunday, November 23, 2003 10:27 AM Subject: RE: [AccessD] OT: Color Laser > Phaser printers rock! > > If you have the bucks. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > > Erbach > > Sent: Saturday, November 22, 2003 4:52 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Color Laser > > > > > > Rocky, > > > > >> Does anyone have any experience or advice on color laser printers? << > > > > I googled a few printer review web sites. Good reviews for the HP > > 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level > > priced color lasers. > > > > I have a long history with HP printers, but that Xerox looks awfully good. > > > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > > > Regards, > > > > Steve Erbach > > Scientific Marketing > > Neenah, WI > > > > Disclaimer: No tree was killed in the transmission of this > > message. However, several coulombs of electrons were temporarily > > inconvenienced. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Nov 22 22:39:42 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 20:39:42 -0800 Subject: [AccessD] OT: Color Laser References: Message-ID: <015b01c3b17b$d0485180$6501a8c0@HAL9002> Well at that rate it'll cost me $150 to print out the manual. Probably Kinko's or Staples will be able to beat that. Rocky ----- Original Message ----- From: "Eric Barro" To: "Access Developers discussion and problem solving" Sent: Saturday, November 22, 2003 7:23 PM Subject: RE: [AccessD] OT: Color Laser > I've worked with Tektronix Phaser printers and they have excellent output. The consumables were killing us though. As an alternative we now have a SAVIN SLP38c color printer. The company that sold us the printer takes care of the consumables and maintenance as part of the contract. I believe it's $1.00 per page for this kind of arrangement. The printed output is close enough to the Tektronix and the speed of printing beats the Tektronix hands down. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > Erbach > Sent: Saturday, November 22, 2003 2:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Color Laser > > > Rocky, > > >> Does anyone have any experience or advice on color laser printers? << > > I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. > > I have a long history with HP printers, but that Xerox looks awfully good. > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. > > _______________________________________________ > 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.538 / Virus Database: 333 - Release Date: 11/10/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sat Nov 22 22:42:46 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 20:42:46 -0800 Subject: [AccessD] OT: Color Laser References: <002301c3b173$af490720$0300a8c0@print> Message-ID: <016101c3b17c$3dfb8260$6501a8c0@HAL9002> Looked it up. Looks beautiful. The carts are a killer though, aren't they? Looks like about $200 a pop!! Anyway, thanks for the offer. I think I've got to stay local though. Probably print 10-20 at a time. Rocky ----- Original Message ----- From: "Tom Keatley" To: "Access Developers discussion and problem solving" Sent: Saturday, November 22, 2003 7:41 PM Subject: Re: [AccessD] OT: Color Laser > I use eight Tekronix(Xerox) Phaser 860's in my business ...brilliant printer > for my application and the beauty of the 860 (also the 840 and 850) is that > black ink is FREE. You only pay for colour ink > > Unlike inkjet printers the finish to the printed page looks as though it was > offset printed and glossy ....I think also the 860 came with duplexing as > standard (although check that) I always buy duplexing as its essential for > my application > > You can still buy the 860 new although they would be scarce now as the model > was superseded a couple of years ago...I managed to pick 3 up a few months > ago with full warranty etc..... > > If you are stuck ....or only want to print one or two ....send me a PDF of > your manual and I would be happy to print it for you .... I can courier it > to you. (you could advertise PRINTED INTERNATIONALLY) > > Regards > > Tom Keatley > > > > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 23, 2003 10:27 AM > Subject: RE: [AccessD] OT: Color Laser > > > > Phaser printers rock! > > > > If you have the bucks. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > > > Erbach > > > Sent: Saturday, November 22, 2003 4:52 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > Rocky, > > > > > > >> Does anyone have any experience or advice on color laser printers? << > > > > > > I googled a few printer review web sites. Good reviews for the HP > > > 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level > > > priced color lasers. > > > > > > I have a long history with HP printers, but that Xerox looks awfully > good. > > > > > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > > > > > Regards, > > > > > > Steve Erbach > > > Scientific Marketing > > > Neenah, WI > > > > > > Disclaimer: No tree was killed in the transmission of this > > > message. However, several coulombs of electrons were temporarily > > > inconvenienced. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sun Nov 23 04:11:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 23 Nov 2003 11:11:57 +0100 Subject: [AccessD] Change Default Printer In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275BE@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8022275BE@main2.marlow.com> Message-ID: <1774296928.20031123111157@cactus.dk> Hi Drew Look up the archive on "Export Access Report to Word" two weeks ago. /gustav > 'Print To Picture thingy'. Is that a technical term, or just an industry > standard out in Arnold's World? (Sorry, it's Friday, I couldn't > resist!). From djkr at msn.com Sun Nov 23 04:13:50 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 10:13:50 -0000 Subject: [AccessD] OT: Color Laser In-Reply-To: <010801c3b171$271675b0$6501a8c0@HAL9002> Message-ID: <002b01c3b1aa$7d3ca930$bf00a8c0@dabsight> Rocky Get one! See dba-Tech for my posting enthusing about my Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - I have no connection.) Your needs just sound so similar to mine, and $1.00 a page would have been *WAY* way over the top! John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 23 November 2003 03:23 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Color Laser > > > Rats. I really want a color laser printer. This was my big > opportunity to create a flimsy rationalization for one. > You're probably right though. Color copying will be cheaper. > > There are some marketing reasons, however, why I want to > deliver the software with a manual. But I was always a slow > adopter. Maybe that's the right way to go. > > Rocky > > ----- Original Message ----- > From: "jmoss111" > To: > Sent: Saturday, November 22, 2003 6:04 PM > Subject: Re: [AccessD] OT: Color Laser > > > > Rocky, > > > > I did a little investigation a few years ago, and the cost of > > consumables for I think 5% coverage was something like > $0.66 per page. > > Add to that the price of a printer and it makes Kinko's > look much more > > attractive. Then > you > > have to add the cost of assembling, binding and shipping the manual > > which makes it a pretty expensive proposition. Most manuals that I > > have seen > still > > use monochrome screen shots. > > > > Why not just include the manual in .pdf format and let the customer > > decide whether they get color or monochrome manuals, if > they decide to > > print them at all. > > > > Jim > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Saturday, November 22, 2003 11:03 AM > > Subject: [AccessD] OT: Color Laser > > > > > > > Cross posting from dba-tech. > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: "dba-tech" > > > Sent: Saturday, November 22, 2003 8:34 AM > > > Subject: [dba-Tech] Color Laser > > > > > > > > > Hello: > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > shots. They look much better in color than in black and white. I > > > think that > > having > > > Kinko's do these on their color laser might be cost prohibitive. > > > The > > manual > > > will be about 150+ pages when done and of course, not all of the > > > pages > > will > > > require color, although they'll have to charge the color cost for > > > every page. > > > > > > So now I'm thinking about a color laser printer. Ink jet > would be > > > far > too > > > slow if I have to make these manuals in the quantity I'm praying > > > will be necessary. > > > > > > Does anyone have any experience or advice on color laser printers? > > > > > > TIA, > > > > > > Rocky > > > _______________________________________________ > > > dba-Tech mailing list > > > dba-Tech at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 andy at minstersystems.co.uk Sun Nov 23 04:23:04 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 23 Nov 2003 10:23:04 -0000 Subject: [AccessD] OT: Color Laser ON TECH In-Reply-To: <002b01c3b1aa$7d3ca930$bf00a8c0@dabsight> Message-ID: <04ad01c3b1ab$c7b5f2e0$b274d0d5@minster33c3r25> Please keep this thread to dba-Tech where the other half of it's running. Thanks Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DJK(John) Robinson > Sent: 23 November 2003 10:14 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Color Laser > > > Rocky > > Get one! See dba-Tech for my posting enthusing about my > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > I have no connection.) Your needs just sound so similar to > mine, and $1.00 a page would have been > *WAY* way over the top! > > John > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 23 November 2003 03:23 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Color Laser > > > > > > Rats. I really want a color laser printer. This was my big > > opportunity to create a flimsy rationalization for one. > > You're probably right though. Color copying will be cheaper. > > > > There are some marketing reasons, however, why I want to > > deliver the software with a manual. But I was always a slow > > adopter. Maybe that's the right way to go. > > > > Rocky > > > > ----- Original Message ----- > > From: "jmoss111" > > To: > > Sent: Saturday, November 22, 2003 6:04 PM > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > Rocky, > > > > > > I did a little investigation a few years ago, and the cost of > > > consumables for I think 5% coverage was something like > > $0.66 per page. > > > Add to that the price of a printer and it makes Kinko's > > look much more > > > attractive. Then > > you > > > have to add the cost of assembling, binding and shipping > the manual > > > which makes it a pretty expensive proposition. Most > manuals that I > > > have seen > > still > > > use monochrome screen shots. > > > > > > Why not just include the manual in .pdf format and let > the customer > > > decide whether they get color or monochrome manuals, if > > they decide to > > > print them at all. > > > > > > Jim > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Saturday, November 22, 2003 11:03 AM > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: "dba-tech" > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > Hello: > > > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > > shots. They look much better in color than in black and > white. I > > > > think that > > > having > > > > Kinko's do these on their color laser might be cost prohibitive. > > > > The > > > manual > > > > will be about 150+ pages when done and of course, not all of the > > > > pages > > > will > > > > require color, although they'll have to charge the > color cost for > > > > every page. > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > would be > > > > far > > too > > > > slow if I have to make these manuals in the quantity I'm praying > > > > will be necessary. > > > > > > > > Does anyone have any experience or advice on color > laser printers? > > > > > > > > TIA, > > > > > > > > Rocky > > > > _______________________________________________ > > > > dba-Tech mailing list > > > > dba-Tech at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From andy at minstersystems.co.uk Sun Nov 23 04:24:46 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 23 Nov 2003 10:24:46 -0000 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275CE@main2.marlow.com> Message-ID: <04ae01c3b1ac$0493c430$b274d0d5@minster33c3r25> Please take this thread to dba-Tech too. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 23 November 2003 02:39 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > I love everything we use from Trend, with the exception of > eManager, which is a spam blocking 'add-in' for ScanMail. > Don't get me wrong, it works, as well as most of the stuff > I've seen out there, but that's the problem. It's not stellar! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 8:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Drew, > Thanks for the info, sounds like a rock solid server app. > > jb > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Saturday, November 22, 2003 7:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Yes, ScanMail will scan the files within a zip file. You > can even set > > how deep you want it to scan (for zips within zips). I > think we are > > set to 5 levels. We have never blocked .zip files, and I certainly > > don't plan on starting. We do block any extension that can > be run off > > the bat, such as .exe, .com, .bat, etc. Those are blocked > simply as a > > buffer, since brand new viruses aren't caught until Trend updates > > their patterns (which they do pretty fast). Once a virus is in the > > pattern though, it will strip it out of zip files. > > > > Drew > > > > -----Original Message----- > > From: John Bartow [mailto:john at winhaven.net] > > Sent: Saturday, November 22, 2003 10:03 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > That's a shame. > > > > I would think that security and productivity should have at least > > equal priority in the work place :o) > > > > For true security to ever happen the email security people > are going > > to have to start identifying what's in a zip file rather > than the fact > > that its a zip file. Most AV scanners can already scan zip > contents so > > I would think that if a message came through with a zip attachment > > that the zip attachment's contents could be scanned for problems > > rather than just assuming that its a problem because its a > zip. Even > > if they pulled the email > > aside and processed it out of stream rather than doing it > directly and > > clogging up the system it would be preferable to just deleting it! > > > > Hey Drew can Trend Micro's system do that? > > > > Of course if they scan the zip - then .mdbs can't be considered > > dangerous either. FMS has a free virus scanner for .mdbs I > wonder if > > its worthwhile? If one could write a script to scan .mdbs > with FMS AV > > scanner it could eliminating the whole annoying process of not > > allowing .mdb attachments. (Of course I always zip my mdbs because > > they usually compress about 80% so I'm > > back to the first argument... now I'm just babbling... > > :o) > > > > What say we get some big company to put a bounty out on the > heads of > > virus writers? > > ;o) > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin > > > Reid > > > Sent: Saturday, November 22, 2003 8:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was > Redemption DLL ] > > > > > > > > > Thats just how we do it in work. PITA but gets us past the email > > > people. > > > > > > Martin > > > > > > > > > > Oh, yes, there always have to have some people that overdo > > > > everything, beside scanning .mdb how about not allowing .zip > > > > extensions in email?! > > > Then > > > > of course you have people who resort to changing the file > > > > extension on > > > your > > > > zipped files to .txt and instructing the person on other end to > > > change it > > > > back. That's good covenient security. > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > MartyConnelly > > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption > > > > > DLL ] > > > > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > > server. I keep > > > > > a special stick to poke network guys who insist on scanning > > > ldb and mdb > > > > > file types among others. Scanning a 300MB file on-access can > > > > > bring things to a grinding halt. > > > > > > > > > > Stuart McLachlan wrote: > > > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > > >> > > > > > >>I personally don't say it has no place in the world. The > > > unfortunate > > > > > >>reality is that there are millions of machines out > there used > > > > > by individuals > > > > > >>in their homes (or small office) who are too ignorant to run > > > > > virus checkers. > > > > > >>THESE users should indeed install the service patch so that > > > > > they only screw > > > > > >>up their own machines when the virus hits them. It > simply has > > > > > no place in a > > > > > >>business where they should be running AV software. > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > >Which brings us on to another question, prompted > recently by a > > > > > >client. > > > > > > > > > > > >What is your option on running anti-virus software > on network > > > > > >servers? (Assuming that you do run on-access > scanning software > > > > > >on the > > > > > >workstations) > > > > > > > > > > > >Note: > > > > > >X-posted to > > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Marty Connelly > > > > > Victoria, B.C. > > > > > Canada > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From djkr at msn.com Sun Nov 23 11:10:01 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 17:10:01 -0000 Subject: [AccessD] List broken? In-Reply-To: <002301c3b173$af490720$0300a8c0@print> Message-ID: <004101c3b1e4$a12ee210$bf00a8c0@dabsight> Is this list broken? My post of seven hours ago still hasn't appeared (1710 GMT/UTC). Nor has anything else. The dba-Tech list is running fine, meanwhile, at a delay of just a few minutes. John From carbonnb at sympatico.ca Sun Nov 23 12:03:12 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 23 Nov 2003 13:03:12 -0500 Subject: [AccessD] List broken? In-Reply-To: <004101c3b1e4$a12ee210$bf00a8c0@dabsight> References: <002301c3b173$af490720$0300a8c0@print> Message-ID: <3FC0B010.5985.DAAC4C@localhost> On 23 Nov 2003 at 17:10, DJK(John) Robinson wrote: > Is this list broken? My post of seven hours ago still hasn't appeared > (1710 GMT/UTC). Nor has anything else. > > The dba-Tech list is running fine, meanwhile, at a delay of just a few > minutes. John, Your post must be lost in the ether somewhere. It never made it to the list host. Also the last post to the list was at 10:38 UTC, so that was about 6.5 hours previous to the post I'm replying to. Nothing is stuck anywhere at the list host, either comning in or going out. Your friendly listmaster, -- Bryan Carbonnell - carbonnb at sympatico.ca Tell me what you need, and I'll tell you how to get along without it. From carbonnb at sympatico.ca Sun Nov 23 12:05:02 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 23 Nov 2003 13:05:02 -0500 Subject: [AccessD] List broken? In-Reply-To: <3FC0B010.5985.DAAC4C@localhost> References: <004101c3b1e4$a12ee210$bf00a8c0@dabsight> Message-ID: <3FC0B07E.21952.DC593C@localhost> On 23 Nov 2003 at 13:03, Bryan Carbonnell wrote: > On 23 Nov 2003 at 17:10, DJK(John) Robinson wrote: > > > Is this list broken? My post of seven hours ago still hasn't > > appeared (1710 GMT/UTC). Nor has anything else. > > > > The dba-Tech list is running fine, meanwhile, at a delay of just a > > few minutes. > > John, > > Your post must be lost in the ether somewhere. > > It never made it to the list host. > > Also the last post to the list was at 10:38 UTC, so that was about 6.5 > hours previous to the post I'm replying to. > > Nothing is stuck anywhere at the list host, either comning in or going > out. Just FYI, This post took less than a minute to make it back to me. -- Bryan Carbonnell - carbonnb at sympatico.ca My reality check bounced. From djkr at msn.com Sun Nov 23 12:13:26 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 18:13:26 -0000 Subject: [AccessD] OT: Color Laser Message-ID: <004201c3b1ed$7da5cfd0$bf00a8c0@dabsight> *** REPOST *** > -----Original Message----- > From: DJK(John) Robinson [mailto:djkr at msn.com] > Sent: 23 November 2003 10:14 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Color Laser > > > Rocky > > Get one! See dba-Tech for my posting enthusing about my > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > I have no connection.) Your needs just sound so similar to > mine, and $1.00 a page would have been *WAY* way over the top! > > John > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 23 November 2003 03:23 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Color Laser > > > > > > Rats. I really want a color laser printer. This was my big > > opportunity to create a flimsy rationalization for one. > > You're probably right though. Color copying will be cheaper. > > > > There are some marketing reasons, however, why I want to > > deliver the software with a manual. But I was always a slow > > adopter. Maybe that's the right way to go. > > > > Rocky > > > > ----- Original Message ----- > > From: "jmoss111" > > To: > > Sent: Saturday, November 22, 2003 6:04 PM > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > Rocky, > > > > > > I did a little investigation a few years ago, and the cost of > > > consumables for I think 5% coverage was something like > > $0.66 per page. > > > Add to that the price of a printer and it makes Kinko's > > look much more > > > attractive. Then > > you > > > have to add the cost of assembling, binding and shipping > the manual > > > which makes it a pretty expensive proposition. Most > manuals that I > > > have seen > > still > > > use monochrome screen shots. > > > > > > Why not just include the manual in .pdf format and let > the customer > > > decide whether they get color or monochrome manuals, if > > they decide to > > > print them at all. > > > > > > Jim > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Saturday, November 22, 2003 11:03 AM > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: "dba-tech" > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > Hello: > > > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > > shots. They look much better in color than in black and > white. I > > > > think that > > > having > > > > Kinko's do these on their color laser might be cost prohibitive. > > > > The > > > manual > > > > will be about 150+ pages when done and of course, not all of the > > > > pages > > > will > > > > require color, although they'll have to charge the > color cost for > > > > every page. > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > would be > > > > far > > too > > > > slow if I have to make these manuals in the quantity I'm praying > > > > will be necessary. > > > > > > > > Does anyone have any experience or advice on color > laser printers? > > > > > > > > TIA, > > > > > > > > Rocky > > > > _______________________________________________ > > > > dba-Tech mailing list > > > > dba-Tech at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 djkr at msn.com Sun Nov 23 12:20:48 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 18:20:48 -0000 Subject: [AccessD] List broken? In-Reply-To: <3FC0B07E.21952.DC593C@localhost> Message-ID: <004301c3b1ee$84a05a20$bf00a8c0@dabsight> Hmm, thanks Bryan. Maybe it's an MSN problem... Anyway, the repost worked fine. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 23 November 2003 18:05 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] List broken? > > > On 23 Nov 2003 at 13:03, Bryan Carbonnell wrote: > > > On 23 Nov 2003 at 17:10, DJK(John) Robinson wrote: > > > > > Is this list broken? My post of seven hours ago still hasn't > > > appeared (1710 GMT/UTC). Nor has anything else. > > > > > > The dba-Tech list is running fine, meanwhile, at a delay > of just a > > > few minutes. > > > > John, > > > > Your post must be lost in the ether somewhere. > > > > It never made it to the list host. > > > > Also the last post to the list was at 10:38 UTC, so that > was about 6.5 > > hours previous to the post I'm replying to. > > > > Nothing is stuck anywhere at the list host, either comning > in or going > > out. > > Just FYI, > > This post took less than a minute to make it back to me. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > My reality check bounced. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From bchacc at san.rr.com Sun Nov 23 12:43:05 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 23 Nov 2003 10:43:05 -0800 Subject: [AccessD] OT: Color Laser References: <004201c3b1ed$7da5cfd0$bf00a8c0@dabsight> Message-ID: <009301c3b1f1$a1b42bc0$6501a8c0@HAL9002> DK - saw this one earlier. Rocky ----- Original Message ----- From: "DJK(John) Robinson" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 23, 2003 10:13 AM Subject: RE: [AccessD] OT: Color Laser > *** REPOST *** > > > -----Original Message----- > > From: DJK(John) Robinson [mailto:djkr at msn.com] > > Sent: 23 November 2003 10:14 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Color Laser > > > > > > Rocky > > > > Get one! See dba-Tech for my posting enthusing about my > > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > > I have no connection.) Your needs just sound so similar to > > mine, and $1.00 a page would have been *WAY* way over the top! > > > > John > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Rocky Smolin - Beach Access Software > > > Sent: 23 November 2003 03:23 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > Rats. I really want a color laser printer. This was my big > > > opportunity to create a flimsy rationalization for one. > > > You're probably right though. Color copying will be cheaper. > > > > > > There are some marketing reasons, however, why I want to > > > deliver the software with a manual. But I was always a slow > > > adopter. Maybe that's the right way to go. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "jmoss111" > > > To: > > > Sent: Saturday, November 22, 2003 6:04 PM > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > > Rocky, > > > > > > > > I did a little investigation a few years ago, and the cost of > > > > consumables for I think 5% coverage was something like > > > $0.66 per page. > > > > Add to that the price of a printer and it makes Kinko's > > > look much more > > > > attractive. Then > > > you > > > > have to add the cost of assembling, binding and shipping > > the manual > > > > which makes it a pretty expensive proposition. Most > > manuals that I > > > > have seen > > > still > > > > use monochrome screen shots. > > > > > > > > Why not just include the manual in .pdf format and let > > the customer > > > > decide whether they get color or monochrome manuals, if > > > they decide to > > > > print them at all. > > > > > > > > Jim > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: > > > > Sent: Saturday, November 22, 2003 11:03 AM > > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > To: "dba-tech" > > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > > > > Hello: > > > > > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > > > shots. They look much better in color than in black and > > white. I > > > > > think that > > > > having > > > > > Kinko's do these on their color laser might be cost prohibitive. > > > > > The > > > > manual > > > > > will be about 150+ pages when done and of course, not all of the > > > > > pages > > > > will > > > > > require color, although they'll have to charge the > > color cost for > > > > > every page. > > > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > > would be > > > > > far > > > too > > > > > slow if I have to make these manuals in the quantity I'm praying > > > > > will be necessary. > > > > > > > > > > Does anyone have any experience or advice on color > > laser printers? > > > > > > > > > > TIA, > > > > > > > > > > Rocky > > > > > _______________________________________________ > > > > > dba-Tech mailing list > > > > > dba-Tech at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.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 > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at sympatico.ca Sun Nov 23 13:03:10 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 23 Nov 2003 14:03:10 -0500 Subject: [AccessD] List broken? In-Reply-To: <004301c3b1ee$84a05a20$bf00a8c0@dabsight> References: <3FC0B07E.21952.DC593C@localhost> Message-ID: <3FC0BE1E.18496.11191A1@localhost> On 23 Nov 2003 at 18:20, DJK(John) Robinson wrote: > Hmm, thanks Bryan. Maybe it's an MSN problem... > Anyway, the repost worked fine. Your original worked fine too, but should have gone to dba-tech -- Bryan Carbonnell - carbonnb at sympatico.ca Goals are deceptive - the unaimed arrow never misses. From djkr at msn.com Sun Nov 23 13:20:52 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 19:20:52 -0000 Subject: [AccessD] List broken? In-Reply-To: <3FC0BE1E.18496.11191A1@localhost> Message-ID: <004401c3b1f6$e8ea82a0$bf00a8c0@dabsight> Bryan "...should have gone to dba-tech" Umm, no. I was replying to an accessD posting, and making my own feeble attempt to divert people to the active discussion on dba-Tech - the appropriate place. Incidentally, I reposted because you said my original "never made it to the list host". Ah well, never mind now. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 23 November 2003 19:03 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] List broken? > > > On 23 Nov 2003 at 18:20, DJK(John) Robinson wrote: > > > Hmm, thanks Bryan. Maybe it's an MSN problem... > > Anyway, the repost worked fine. > > Your original worked fine too, but should have gone to dba-tech > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Goals are deceptive - the unaimed arrow never misses. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From artful at rogers.com Sun Nov 23 18:38:46 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 23 Nov 2003 16:38:46 -0800 Subject: [AccessD] Change all Yes/No fields in a database Message-ID: <000001c3b223$5bfd43f0$6701a8c0@rock> I've been working on this database lately, and I made all the Yes/No fields CheckBoxes. Turns out the client hates CheckBoxes and wants Yes/No combos instead. So I need a routine to walk every table and change the properties of every Yes/No field from CheckBox to Combo + Value List, "-1","Yes", "0","No", column count = 2, column widths = 0". Anyone got such a routine or something close that I can rework to suit my needs? TIA, Arthur From michael.mattys at adelphia.net Sun Nov 23 17:54:44 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun, 23 Nov 2003 18:54:44 -0500 Subject: [AccessD] Change all Yes/No fields in a database References: <000001c3b223$5bfd43f0$6701a8c0@rock> Message-ID: <003201c3b21d$2e0e9850$6401a8c0@default> Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > TIA, > Arthur > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From djkr at msn.com Sun Nov 23 18:21:21 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 24 Nov 2003 00:21:21 -0000 Subject: [AccessD] OT: Color Laser ON TECH In-Reply-To: <04ad01c3b1ab$c7b5f2e0$b274d0d5@minster33c3r25> Message-ID: <004c01c3b220$e32890d0$bf00a8c0@dabsight> Andy Thank you for your gratuitous support. I've already said "See dba-Tech". John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: 23 November 2003 10:23 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Color Laser ON TECH > > > Please keep this thread to dba-Tech where the other half of > it's running. Thanks > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > DJK(John) Robinson > > Sent: 23 November 2003 10:14 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Color Laser > > > > > > Rocky > > > > Get one! See dba-Tech for my posting enthusing about my > > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > > I have no connection.) Your needs just sound so similar to > > mine, and $1.00 a page would have been > > *WAY* way over the top! > > > > John > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Rocky Smolin - Beach Access Software > > > Sent: 23 November 2003 03:23 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > Rats. I really want a color laser printer. This was my big > > > opportunity to create a flimsy rationalization for one. > > > You're probably right though. Color copying will be cheaper. > > > > > > There are some marketing reasons, however, why I want to > deliver the > > > software with a manual. But I was always a slow adopter. Maybe > > > that's the right way to go. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "jmoss111" > > > To: > > > Sent: Saturday, November 22, 2003 6:04 PM > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > > Rocky, > > > > > > > > I did a little investigation a few years ago, and the cost of > > > > consumables for I think 5% coverage was something like > > > $0.66 per page. > > > > Add to that the price of a printer and it makes Kinko's > > > look much more > > > > attractive. Then > > > you > > > > have to add the cost of assembling, binding and shipping > > the manual > > > > which makes it a pretty expensive proposition. Most > > manuals that I > > > > have seen > > > still > > > > use monochrome screen shots. > > > > > > > > Why not just include the manual in .pdf format and let > > the customer > > > > decide whether they get color or monochrome manuals, if > > > they decide to > > > > print them at all. > > > > > > > > Jim > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: > > > > Sent: Saturday, November 22, 2003 11:03 AM > > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > > To: "dba-tech" > > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > > > > Hello: > > > > > > > > > > I'm writing a manual now into which I've dropped a > lot of screen > > > > > shots. They look much better in color than in black and > > white. I > > > > > think that > > > > having > > > > > Kinko's do these on their color laser might be cost > prohibitive. > > > > > The > > > > manual > > > > > will be about 150+ pages when done and of course, not > all of the > > > > > pages > > > > will > > > > > require color, although they'll have to charge the > > color cost for > > > > > every page. > > > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > > would be > > > > > far > > > too > > > > > slow if I have to make these manuals in the quantity > I'm praying > > > > > will be necessary. > > > > > > > > > > Does anyone have any experience or advice on color > > laser printers? > > > > > > > > > > TIA, > > > > > > > > > > Rocky > > > > > _______________________________________________ > > > > > dba-Tech mailing list > > > > > dba-Tech at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.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 > > > > > _______________________________________________ > > 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 adtp at touchtelindia.net Sun Nov 23 22:29:34 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 24 Nov 2003 09:59:34 +0530 Subject: [AccessD] Link child / master field fails in subsubform References: Message-ID: <00a401c3b248$5a837560$4cedf73d@winxp> John, Are you in a position to send zipped extract of database containing the problem forms with sample data in relevant record sources ? Regards, A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: AccessD Sent: Sunday, November 23, 2003 00:27 Subject: [AccessD] Link child / master field fails in subsubform I have a db where the subform pulls the correct records using ling child / master field properties, but the subsub form fails to follow the subform, i.e. it pulls a set associated with the parent form but not associated with the first subform. Agency / contract / assignment. As I move through agency records I see the contract change. I also see the assignment change, but as I move through the contracts the assignments don't change. I have seen this before, and worked around it by just replacing the link properties with query filters in the subform. Has anyone seen a bug fix for this? John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Nov 24 00:26:36 2003 From: john at winhaven.net (John Bartow) Date: Mon, 24 Nov 2003 00:26:36 -0600 Subject: [AccessD] report field font size Message-ID: Anyone have a function to set the font size in a report field to the maximum that will fit in the control? TIA jb From gustav at cactus.dk Mon Nov 24 02:12:35 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Nov 2003 09:12:35 +0100 Subject: [AccessD] report field font size In-Reply-To: References: Message-ID: <1691069107.20031124091235@cactus.dk> Hi John Stephen Lebans may be able to inspire you: http://www.lebans.com/makefitsingle.htm /gustav > Anyone have a function to set the font size in a report field to the maximum > that will fit in the control? From Erwin.Craps at ithelps.be Mon Nov 24 03:54:38 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 10:54:38 +0100 Subject: [AccessD] Change all Yes/No fields in a database Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF0@stekelbes.ithelps.local> You gonna need to change every form or report to... The table setting is a default setting when creating a new form/report. Changing the table setting does not change the already created forms/reports. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, November 24, 2003 12:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 Mon Nov 24 04:07:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Nov 2003 11:07:37 +0100 Subject: [AccessD] Link child / master field fails in subsubform In-Reply-To: References: Message-ID: <657971302.20031124110737@cactus.dk> Hi John Could it be that you are fiddling with the AllowEdit etc. properties of the sub(sub)forms? If so, you may need to reassign the LinkMaster/ChildFields settings (to themselves) when opening the mainform. /gustav > Date: 2003-11-22 19:57 > I have a db where the subform pulls the correct records using ling child / > master field properties, but the subsub form fails to follow the subform, > i.e. it pulls a set associated with the parent form but not associated with > the first subform. > Agency / contract / assignment. As I move through agency records I see the > contract change. I also see the assignment change, but as I move through > the contracts the assignments don't change. > I have seen this before, and worked around it by just replacing the link > properties with query filters in the subform. > Has anyone seen a bug fix for this? From Erwin.Craps at ithelps.be Mon Nov 24 04:56:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 11:56:19 +0100 Subject: [AccessD] Compile options in VBA. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF4@stekelbes.ithelps.local> Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From SDSSoftware at optusnet.com.au Mon Nov 24 06:02:30 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Mon, 24 Nov 2003 23:02:30 +1100 Subject: [AccessD] OT Excel refer to form control References: Message-ID: <000d01c3b282$d6589cd0$6401a8c0@user> Thanks Alan - I will be back working on this tomorrow and will try that. Rgds Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Saturday, November 22, 2003 2:52 AM Subject: AW: [AccessD] OT Excel refer to form control hi Kath I've now tried both types of comboboxs, no problems with loading data or passing value/text to variable. both have the change event. remember in excel each sheet is like a "module" that means if you have a combobox on sheet1 you have to go to the ide and select "Sheet1" in the project explorer, then select the object from the objectlist, with the combobox the change event is standard. then you can use var = me.combobox1.value ( or .text) example i sent u. if you want to get the value/text of the combobox from a module then you need something like this: Sub getit() Dim v As Variant Dim o As ComboBox Set o = ActiveWorkbook.Sheets(1).cbo2 v = o.Value Debug.Print v End Sub hth alun btw regarding your other problem the only solution i know is, as you said, to use different ranges depending on the selection. -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 13:36 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Mon Nov 24 06:03:20 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Mon, 24 Nov 2003 23:03:20 +1100 Subject: [AccessD] OT: Excel input range References: <869379ABF177D4118D3100508B5EF873063952D8@corp-es00> Message-ID: <001701c3b282$f441c730$6401a8c0@user> Hi Jim - thank you. I will put together a sample and send it tomorrow. Rgds Kath ----- Original Message ----- From: Hale, Jim To: 'Access Developers discussion and problem solving' Sent: Saturday, November 22, 2003 10:03 AM Subject: RE: [AccessD] OT: Excel input range If you send me a sample I will take a look at it on Monday. regards, Jim Hale -----Original Message----- From: Kath Pelletti [mailto:SDSSoftware at optusnet.com.au] Sent: Thursday, November 20, 2003 11:24 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Excel input range After a long day battling my way through this Excel development I am signing off for now but in case any Excel gurus have the time, could you answer this: On an Excel s/sheet I have 3 combos (created with the form control). I have nominated an input range for each (on a separate sheet). Depending on the choice the user makes in Combo 1 and Combo 2, I need to modify the range for Combo 3. What's the best way in Excel? I see on lots of internet samples that quite often people set up range after range of values and nominate one or the other as the appropriate range when the combos change, but surely there is a more efficient way?? I have fairly simple rules from the client and I think that I should be able to set up a grid /range of cells which hold my criteria. I can post sample data if anyone thinks they can help. Thanks everyone - and apologies for the Excel posts (I am also posting to Excel sites but no luck yet). Have a great w/end. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 07:34:26 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 24 Nov 2003 08:34:26 -0500 Subject: [AccessD] Link child / master field fails in subsubform In-Reply-To: <657971302.20031124110737@cactus.dk> Message-ID: It turns out it had to do with the name of the field it was bound to. The field name was the same in the child and the parent and I guess the wizard just got them wrong somehow. I went in and aliased the IDs in the queries for the main form and the child form, reran the query that builds the links, and the problem went away. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, November 24, 2003 5:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Link child / master field fails in subsubform Hi John Could it be that you are fiddling with the AllowEdit etc. properties of the sub(sub)forms? If so, you may need to reassign the LinkMaster/ChildFields settings (to themselves) when opening the mainform. /gustav > Date: 2003-11-22 19:57 > I have a db where the subform pulls the correct records using ling child / > master field properties, but the subsub form fails to follow the subform, > i.e. it pulls a set associated with the parent form but not associated with > the first subform. > Agency / contract / assignment. As I move through agency records I see the > contract change. I also see the assignment change, but as I move through > the contracts the assignments don't change. > I have seen this before, and worked around it by just replacing the link > properties with query filters in the subform. > Has anyone seen a bug fix for this? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Mon Nov 24 09:03:53 2003 From: michael.broesdorf at web.de (=?us-ascii?Q?Michael_Brosdorf?=) Date: Mon, 24 Nov 2003 16:03:53 +0100 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: Message-ID: Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael From bheid at appdevgrp.com Mon Nov 24 09:14:35 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Nov 2003 10:14:35 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF981@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> I think that you mean www.persits.com. :) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Mon Nov 24 09:28:50 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Mon, 24 Nov 2003 07:28:50 -0800 (PST) Subject: [AccessD] Excel Automation Question In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> Message-ID: <20031124152850.82382.qmail@web9802.mail.yahoo.com> Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now From Lembit.Soobik at t-online.de Mon Nov 24 09:21:10 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 16:21:10 +0100 Subject: [AccessD] All Computer Names In Network References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> Message-ID: <008701c3b2a0$1dfbd260$0200a8c0@S856> Does anybody know how to get all computer names in the network? thank you Lembit From Lambert.Heenan at AIG.com Mon Nov 24 09:47:44 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 24 Nov 2003 10:47:44 -0500 Subject: [AccessD] Excel Automation Question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7989@xlivmbx12.aig.com> Two questions here . 1/ Setting the column width. Here's a routine I use to format a range of columns so they fit the data in them, and also it formats the column headers. Sub FormatAndAutoFitHeaders(sFileName As String, nWkSheetNumber As Integer, nLastColumn As Integer _ , Optional nFirstColumn As Integer = 1, Optional nCellColor As Long = vbYellow _ , Optional nCellBorder As Long = vbBlack) Dim xlFile As Excel.Application Dim xlwb As Excel.Workbook Dim xlSheet As Excel.Worksheet Dim oRng As Excel.Range Set xlFile = OpenXLWorkBookHidden(sFileName) With xlFile Set xlwb = xlFile.Workbooks(GetFileName(sFileName)) Set xlSheet = xlwb.Worksheets(nWkSheetNumber) Set oRng = xlSheet.Range(xlSheet.Cells(1, nFirstColumn), xlSheet.Cells(1, nLastColumn)) oRng.EntireColumn.AutoFit oRng.Interior.Color = vbYellow oRng.Borders.Color = vbBlack Set oRng = Nothing Set xlSheet = Nothing Set xlwb = Nothing End With CloseXLWorkBook xlFile, True End Sub This uses three other routines. Function OpenXLWorkBookHidden(Path As String, Optional UpdateLinks As Boolean = False, Optional password As String = "") As Excel.Application Dim xlObj As Excel.Application On Error GoTo OpenXLWorkBookHidden_err 'Check to see if the file name passed in to the procedure is valid If IsNull(Path) Or isDirectory(Path) Or Not FileExists(Path) Then MsgBox Path & " isn't a valid path!", vbCritical, "Open Excel Workbook" Set OpenXLWorkBookHidden = Nothing Exit Function Else Set xlObj = CreateObject("Excel.Application") xlObj.Workbooks.Open Path, UpdateLinks, , , password Set OpenXLWorkBookHidden = xlObj End If OpenXLWorkBookHidden_exit: Exit Function OpenXLWorkBookHidden_err: ' call your own error reporting routine here. ' ReportError Err.Number, Err.Description, "OpenXLWorkBookHidden", "Excel_mod", "File Name=" & Path Set OpenXLWorkBookHidden = Nothing Resume OpenXLWorkBookHidden_exit End Function Sub CloseXLWorkBook(xlApp As Excel.Application, Optional bSaveChanges As Boolean = False) Dim wb As Excel.Workbook On Error Resume Next If xlApp.Name > "" Then End If If Err.Number <> 0 Then Exit Sub On Error GoTo 0 For Each wb In xlApp.Workbooks 'Close all open workbooks wb.Close bSaveChanges Next wb xlApp.UserControl = False Set xlApp = Nothing End Sub and finally Function GetFileName(aPath) As String Dim fPath As String fPath = GetPath(aPath) If Len(fPath) = Len(aPath) Then ' only a path was provided GetFileName = "" Else GetFileName = Right$(aPath, Len(aPath) - Len(fPath)) End If End Function which in turn uses... Function GetPath(aPath) As String ' Strips the path name from the supplied file and path name ' leaves the trailing slash on there Dim foo As Integer, aSlash As Integer aSlash = 0 foo = InStr(aPath, "\") While (foo > 0) aSlash = foo foo = InStr(aSlash + 1, aPath, "\") Wend If aSlash > 0 Then GetPath = Left$(aPath, aSlash) Else GetPath = "" End If End Function as for setting the colum to Time format, simply recording a macro in Excel reveals the code looks like this... Sub Macro1() ' ' Macro1 Macro ' Macro recorded 11/24/2003 by L Heenan ' ' Columns("A:A").Select Selection.NumberFormat = "h:mm:ss" End Sub HTH Lambert > -----Original Message----- > From: Dale Kalsow [SMTP:dkalsow at yahoo.com] > Sent: Monday, November 24, 2003 10:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Excel Automation Question > > > Goood Morning Everyone, > > > > I have an excel automation question. I have Access XP and though vba I am > writing to an excel spread sheet. Does any know how to set the column > width of a column in excel and then format that column for time. > > > > Thanks in advance. > > > > Dale > > > > --------------------------------- > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Nov 24 10:02:41 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 17:02:41 +0100 Subject: [AccessD] All Computer Names In Network Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF7@stekelbes.ithelps.local> Lembit, wrong list for this question, should be the tech list. Huumm 1) Using Sneakernet :-) 2) The domain computermanager (if all computers are NT, 2K, XPPRO and added in the domain) 3) Use a tool like iInventory (former LanAudit) http://www.iinventory.com Is a free tool up to 25 pc's. BUT, you need to be able to run a small program on each computer from the logon script or manual using sneakernet :-) or convince the user by phone to run it from a server or diskette. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Monday, November 24, 2003 4:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] All Computer Names In Network Does anybody know how to get all computer names in the network? thank you Lembit _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Nov 24 10:12:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 24 Nov 2003 11:12:12 -0500 Subject: [AccessD] Excel Automation Question Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F907@TTNEXCHSRV1.hshhp.com> Dale, A really neat and easy way to find out how certain Excel objects behave is to simply record a macro that does what you need. Then go into the VBA editor and see what properties were set and how. HTH, Jim DeMarco Director Product Development Hudson Health Plan Tarrytown, NY -----Original Message----- From: Dale Kalsow [mailto:dkalsow at yahoo.com] Sent: Monday, November 24, 2003 10:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Automation Question Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Lembit.Soobik at t-online.de Mon Nov 24 10:30:10 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 17:30:10 +0100 Subject: [AccessD] All Computer Names In Network References: <46B976F2B698FF46A4FE7636509B22DF03CEF7@stekelbes.ithelps.local> Message-ID: <011d01c3b2a8$3b2b01f0$0200a8c0@S856> thanks, Erwin, but its the right list, since I want to do it from Access (A2k) can I use the domain computermanager from within Access VB? Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:02 PM Subject: RE: [AccessD] All Computer Names In Network > Lembit, wrong list for this question, should be the tech list. > > Huumm > > 1) Using Sneakernet :-) > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > added in the domain) > 3) Use a tool like iInventory (former LanAudit) > http://www.iinventory.com > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > program on each computer from the logon script or manual using > sneakernet :-) or convince the user by phone to run it from a server or > diskette. > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 4:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 24 10:43:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 08:43:52 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Nov 24 10:48:16 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 17:48:16 +0100 Subject: [AccessD] All Computer Names In Network Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF8@stekelbes.ithelps.local> Hoe hoe Don't know, maybe there exist some tools/controls for domain manager (NT) and/or Active directory services (W2K up). Maybe you should consider looking at iInventory. They store the data in a Access database and inventories also software on computers. And again if u use domain manager/active directory all computers must be in the domain (this can only be true for NT, W2K, XP pro). There are some dos tools like "net view" but they do not always show all computers, only those who are on and depending on the os if they have netbeui installed or not.... And whom are in the same workgroup/domain.... Only sure thing is to run iInventory on each computer. Or using sneakernet :-) Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Monday, November 24, 2003 5:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] All Computer Names In Network thanks, Erwin, but its the right list, since I want to do it from Access (A2k) can I use the domain computermanager from within Access VB? Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:02 PM Subject: RE: [AccessD] All Computer Names In Network > Lembit, wrong list for this question, should be the tech list. > > Huumm > > 1) Using Sneakernet :-) > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > added in the domain) > 3) Use a tool like iInventory (former LanAudit) > http://www.iinventory.com > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > program on each computer from the logon script or manual using > sneakernet :-) or convince the user by phone to run it from a server or > diskette. > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 4:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Nov 24 10:58:16 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 24 Nov 2003 17:58:16 +0100 (CET) Subject: [AccessD] All Computer Names In Network Message-ID: <24248381.1069693096180.JavaMail.www@wwinf3004> Couldn't you write a couple of lines of code to execute the following from a command prompt Net View > filename.txt then import the file directly into Access.... ???? Paul Hartland Message date : Nov 24 2003, 04:34 PM >From : Lembit Soobik To : Access Developers discussion and problem solving Copy to : Subject : Re: [AccessD] All Computer Names In Network thanks, Erwin, but its the right list, since I want to do it from Access (A2k) can I use the domain computermanager from within Access VB? Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:02 PM Subject: RE: [AccessD] All Computer Names In Network > Lembit, wrong list for this question, should be the tech list. > > Huumm > > 1) Using Sneakernet :-) > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > added in the domain) > 3) Use a tool like iInventory (former LanAudit) > http://www.iinventory.com > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > program on each computer from the logon script or manual using > sneakernet :-) or convince the user by phone to run it from a server or > diskette. > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 4:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 24 11:13:26 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 18:13:26 +0100 Subject: [AccessD] All Computer Names In Network References: <46B976F2B698FF46A4FE7636509B22DF03CEF8@stekelbes.ithelps.local> Message-ID: <013701c3b2ae$46708a20$0200a8c0@S856> thanks Erwin, will check iInventory Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:48 PM Subject: RE: [AccessD] All Computer Names In Network > Hoe hoe > > Don't know, maybe there exist some tools/controls for domain manager > (NT) and/or Active directory services (W2K up). > > Maybe you should consider looking at iInventory. They store the data in > a Access database and inventories also software on computers. > > And again if u use domain manager/active directory all computers must be > in the domain (this can only be true for NT, W2K, XP pro). > > There are some dos tools like "net view" but they do not always show all > computers, only those who are on and depending on the os if they have > netbeui installed or not.... > And whom are in the same workgroup/domain.... > > Only sure thing is to run iInventory on each computer. > Or using sneakernet :-) > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 5:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] All Computer Names In Network > > thanks, Erwin, > but its the right list, since I want to do it from Access (A2k) > > can I use the domain computermanager from within Access VB? > > Lembit Soobik > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 24, 2003 5:02 PM > Subject: RE: [AccessD] All Computer Names In Network > > > > Lembit, wrong list for this question, should be the tech list. > > > > Huumm > > > > 1) Using Sneakernet :-) > > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > > added in the domain) > > 3) Use a tool like iInventory (former LanAudit) > > http://www.iinventory.com > > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > > program on each computer from the logon script or manual using > > sneakernet :-) or convince the user by phone to run it from a server > or > > diskette. > > > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit > Soobik > > Sent: Monday, November 24, 2003 4:21 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] All Computer Names In Network > > > > Does anybody know how to get all computer names in the network? > > thank you > > > > Lembit > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Mon Nov 24 11:00:47 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 24 Nov 2003 22:30:47 +0530 Subject: [AccessD] Freezing a datasheet rows like in Excel References: Message-ID: <00e201c3b2ae$2ede7390$86edf73d@winxp> John, You might like to take a look at sample database named FreezeDatasheetRows.mdb at Rogers Access Library (Other Developers). Regards, A.D.Tejpal -------------- ----- Original Message ----- From: John Skolits To: Access Developers discussion and problem solving Sent: Thursday, November 20, 2003 02:09 Subject: [AccessD] Freezing a datasheet rows like in Excel Anyone know a way to allow a user to freeze rows in a datasheet view like you can freeze a frame in Excel? John Skolits From Lembit.Soobik at t-online.de Mon Nov 24 11:13:59 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 18:13:59 +0100 Subject: [AccessD] All Computer Names In Network References: <24248381.1069693096180.JavaMail.www@wwinf3004> Message-ID: <013d01c3b2ae$5a01b1e0$0200a8c0@S856> thank you, Paul that sounds simple Lembit Soobik ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:58 PM Subject: Re: Re: [AccessD] All Computer Names In Network > Couldn't you write a couple of lines of code to execute the following from a command prompt > Net View > filename.txt > then import the file directly into Access.... ???? > Paul Hartland > > > > > Message date : Nov 24 2003, 04:34 PM > >From : Lembit Soobik > To : Access Developers discussion and problem solving > Copy to : > Subject : Re: [AccessD] All Computer Names In Network > thanks, Erwin, > but its the right list, since I want to do it from Access (A2k) > > can I use the domain computermanager from within Access VB? > > Lembit Soobik > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 24, 2003 5:02 PM > Subject: RE: [AccessD] All Computer Names In Network > > > > Lembit, wrong list for this question, should be the tech list. > > > > Huumm > > > > 1) Using Sneakernet :-) > > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > > added in the domain) > > 3) Use a tool like iInventory (former LanAudit) > > http://www.iinventory.com > > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > > program on each computer from the logon script or manual using > > sneakernet :-) or convince the user by phone to run it from a server or > > diskette. > > > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > > Sent: Monday, November 24, 2003 4:21 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] All Computer Names In Network > > > > Does anybody know how to get all computer names in the network? > > thank you > > > > Lembit > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 24 12:20:05 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 24 Nov 2003 12:20:05 -0600 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: <22527820.1069696515297.JavaMail.root@localhost.localdomain> Message-ID: <000001c3b2b7$98b76160$de1811d8@DanWaters> The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:44:55 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 24 Nov 2003 13:44:55 -0800 Subject: [AccessD] OT: Primary Key Violation In-Reply-To: Message-ID: <000001c3b2d4$3ba780f0$6701a8c0@rock> Sorry to play the pessimist, but there IS such a thing as a one-time app: the one that doesn't work :-) To put it another way, if you haven't got time to do it right, where will you find the time to do it again? Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 17, 2003 11:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Primary Key Violation Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. From michael.broesdorf at web.de Mon Nov 24 13:10:34 2003 From: michael.broesdorf at web.de (=?us-ascii?Q?Michael_Brosdorf?=) Date: Mon, 24 Nov 2003 20:10:34 +0100 Subject: AW: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: Message-ID: Charlotte, I am so used to it, I catch myself trying to use the wheel on mice missing one... Navigating through large documents is so much easier! There ws this funny experience when a colleague asked me to fix something on his Word document. He was using Word for Macintosh. I was desperately trying to bring up the context menu using the right mouse key. However, it took a while for me to realize that Macintosh computers only have on mouse key... Michael -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Charlotte Foust Gesendet: Montag, 24. November 2003 17:44 An: Access Developers discussion and problem solving Betreff: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:02:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:02:35 -0600 Subject: [AccessD] Compile options in VBA. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DB@main2.marlow.com> The Compile on Demand is an option that either compiles your code in it's entirety when your application starts (the option would be off for this..), or compiles it when it is required (when you have Compile on Demand on). The big difference is startup speed. If you project has a lot of code, if you don't use 'Compile on Demand', you are going to get a startup delay as Access compiles the VBA code. The second option (background compile) is a subset of compile on demand. If you have compile on demand set, you can use the background compile option to have Access compile it's code during idle time periods. The reason you have these options, is because VBA is a 'higher' language, which means it makes sense (or it should...) to a human. But the CPU itself still requires machine language to be sent to it, so your VBA code must be compiled into machine language, in order for the CPU to carry out your instructions. I wonder if you have the Compile on Demand turned off, if you wouldn't be allowed to make changes to code on the fly, when the application is running. Hmmmm..... Anyhow, I don't see a real reason to not have both options checked. If you want your code to be compiled all the time, use an .mde. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, November 24, 2003 4:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Compile options in VBA. Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 24 15:05:11 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:05:11 -0600 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DC@main2.marlow.com> My IBM Aptiva came with a mouse that had a 'joystick' instead of a scroll wheel. (So you could scroll left-right and up-down). Funny thing, it also worked in the Visual Basic Editor window. When I started working at Marlow, I tried bringing that mouse in to work, but it just didn't seem to work unless it was plugged into the Aptiva it came with. (The mouse worked, just not the joystick.) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:06:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:06:51 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DD@main2.marlow.com> Oh sure, just give out the real site! Drew -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, November 24, 2003 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... I think that you mean www.persits.com. :) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:13:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:13:03 -0600 Subject: [AccessD] All Computer Names In Network Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DE@main2.marlow.com> Just out of curiousity...why? I only ask, because you can do this with VBA, the process would be to get the subnet of the machine you are on (API calls), then do a DNS reverse lookup on every IP address in the subnet (more API calls). The question is, why do you want to know this? Just curious... Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Monday, November 24, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: [AccessD] All Computer Names In Network Does anybody know how to get all computer names in the network? thank you Lembit _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Mon Nov 24 14:28:42 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Nov 2003 21:28:42 +0100 Subject: [AccessD] mailmerge Format Yes\No Message-ID: <000601c3b2d1$208bfce0$f7c581d5@pedro> Hello Group, i use mailmerge for creating word-documents from access. This is done by using code. The following line is a peace of this code: item("Drawing").value = Nz(Me![txtDrawing]) in word i use the following code with properties {DOCPROPERTY "Drawing" \*MERGEFORMAT} txtDrawing is a checkbox. In the word-document i get as result: -1 or 0 i would like Yes \ No or in Dutch Ja \ Nee i tried things like: item("Drawing").value = Format(Nz(Me![txtDrawing]), "Ja \ Nee") or {DOCPROPERTY "Drawing" \@"Ja \ Nee" \*MERGEFORMAT} with no result. How can i get the good format? TIA Pedro Janssen From pedro at plex.nl Mon Nov 24 15:21:51 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Nov 2003 22:21:51 +0100 Subject: [AccessD] middle X and Y coordinates Message-ID: <000801c3b2d1$22d6d740$f7c581d5@pedro> Hello Group, I have a table with two fields which are X and Y coordinates. X Y 97,234 234,632 98,456 257,678 107,453 278,945 107,234 278,346 109,123 245,567 i need as result X Y 97,500 237,500 97,500 257,500 107,500 277,500 107,500 277,500 on the result i would like a distinct. Can this be done in one query? TIA Pedro Janssen From cfoust at infostatsystems.com Mon Nov 24 15:37:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 13:37:41 -0800 Subject: [AccessD] OT: Primary Key Violation Message-ID: I wouldn't call that a one-time app, Arthur. If it doesn't work, it won't be used the first time. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, November 24, 2003 1:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Primary Key Violation Sorry to play the pessimist, but there IS such a thing as a one-time app: the one that doesn't work :-) To put it another way, if you haven't got time to do it right, where will you find the time to do it again? Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 17, 2003 11:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Primary Key Violation Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 24 15:39:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 13:39:50 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 16:22:34 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 24 Nov 2003 16:22:34 -0600 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: <10857578.1069710579708.JavaMail.root@localhost.localdomain> Message-ID: <000001c3b2d9$756d4a90$de1811d8@DanWaters> Charlotte, I couldn't find anything relevant in any Access option settings. In the control panel for the mouse, there is an advanced wheel setting where you can specify applications where the mouse wheel does not work. It's possible that Access is included in this list on your PC. For survival's sake I stay out of the registry! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 3:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 16:23:38 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 24 Nov 2003 16:23:38 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <28922294.1069708927653.JavaMail.root@sniper.marix.com> Message-ID: <000101c3b2d9$9ee1c770$de1811d8@DanWaters> It's OK. I knew what Drew meant! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, November 24, 2003 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Oh sure, just give out the real site! Drew -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, November 24, 2003 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... I think that you mean www.persits.com. :) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 16:33:39 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Nov 2003 08:33:39 +1000 Subject: [AccessD] All Computer Names In Network In-Reply-To: <008701c3b2a0$1dfbd260$0200a8c0@S856> Message-ID: <3FC313E3.2383.423894@localhost> On 24 Nov 2003 at 16:21, Lembit Soobik wrote: > Does anybody know how to get all computer names in the network? > thank you > One way would be to use a tool like Angry IP Scanner http://www.angryziber.com/ipscan/ -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From pedro at plex.nl Mon Nov 24 16:36:47 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Nov 2003 23:36:47 +0100 Subject: [AccessD] middle X and Y coordinates (correction) References: <000801c3b2d1$22d6d740$f7c581d5@pedro> Message-ID: <001301c3b2db$72f47070$f7c581d5@pedro> I made some mistakes with the data, below is the correction I have a table with two fields which are X and Y coordinates. X Y 97,234 234,632 98,456 257,678 107,453 278,945 107,234 278,346 109,123 242,134 i need as result X Y 97,500 232,500 97,500 257,500 107,500 277,500 107,500 277,500 107,500 242,500 on the result i would like a distinct. Can this be done in one query? TIA Pedro Janssen _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Subscriptions at servicexp.com Mon Nov 24 16:53:46 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 24 Nov 2003 17:53:46 -0500 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: Message-ID: You need to load the mouse driver pack for your model. If you only allow Win XP to install it's drivers for the mouse, it will not work in all environments.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 4:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 17:12:51 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 24 Nov 2003 15:12:51 -0800 Subject: [AccessD] Re: A2K - Access send email via Groupwise (non-SMTP) In-Reply-To: <000501c3b2da$6bcc4670$f1c683a5@eau1lnc54198> References: <000501c3b2da$6bcc4670$f1c683a5@eau1lnc54198> Message-ID: <3FC29073.7060209@verizon.net> I just finished putting together an SSD that has the "blat" function we use in order to email out. You'll need to add your own Mail Server IP and UserID and Password, in order for it to work and also d/l a copy of blat from it's home page, I've included the link in the SSD for those who wish to try it out. Blatint email has been so easy that I don't have to worry about such things as the SR patches nor any other limitations brought up from CDO's or SendMail or event the Mapi functions on like the one on the Trigeminal (sp?) site. I'll be forwarding the SSD to Roger's site but until then anyone who would like a copy can email me OTL. -- -Francisco Duane Hookom wrote: >Try this link from mvps.org. I think this is for Access 97 > >http://www.mvps.org/access/modules/mdl0059.htm > > >Duane Hookom >Microsoft Access MVP > > >----- Original Message ----- >From: "Lauren Horn" >To: >Sent: Monday, November 24, 2003 4:12 PM >Subject: Re: A2K - Access send email via Groupwise (non-SMTP) > > > > >>I haven't done it, but I've heard others say they have. >> >>You might want to check the PDF and Mail Class Libary for Access on this >>site: >>http://ourworld.compuserve.com/homepages/attac-cg/ >> >> >> >>>-----Original Message----- >>>From: Microsoft Access Database Discussion List >>>[mailto:ACCESS-L at PEACH.EASE.LSOFT.COM]On Behalf Of Kevin Carpenter >>>Sent: Monday, November 24, 2003 9:41 AM >>>To: ACCESS-L at PEACH.EASE.LSOFT.COM >>>Subject: A2K - Access send email via Groupwise (non-SMTP) >>> >>> >>>Can it do it? >>> >>>Has anyone done it? >>> >>>-:>Kevin >>> >>> > > > From cfoust at infostatsystems.com Mon Nov 24 17:16:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 15:16:00 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: Aha! I knew there was a reason for not loading mouse software! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, November 24, 2003 2:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window You need to load the mouse driver pack for your model. If you only allow Win XP to install it's drivers for the mouse, it will not work in all environments.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 4:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 17:17:44 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Nov 2003 18:17:44 -0500 Subject: [AccessD] All Computer Names In Network References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> <008701c3b2a0$1dfbd260$0200a8c0@S856> Message-ID: <003501c3b2e1$2fb78d50$6001a8c0@dejpolsys> http://www.mvps.org/access/api/api0058.htm ...the workstation names are included in the level 2 data ...HTH :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 10:21 AM Subject: [AccessD] All Computer Names In Network > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomk at multiline.com.au Mon Nov 24 17:37:32 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Tue, 25 Nov 2003 07:37:32 +0800 Subject: [AccessD] Access to SQL Server References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER><008701c3b2a0$1dfbd260$0200a8c0@S856> <003501c3b2e1$2fb78d50$6001a8c0@dejpolsys> Message-ID: <003001c3b2e3$f0e1dc40$0300a8c0@print> Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley From djkr at msn.com Mon Nov 24 17:55:48 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 24 Nov 2003 23:55:48 -0000 Subject: [AccessD] middle X and Y coordinates In-Reply-To: <000801c3b2d1$22d6d740$f7c581d5@pedro> Message-ID: <007901c3b2e6$7b9684b0$bf00a8c0@dabsight> Pedro You don't say how the results relate to the data - or am I missing something obvious? John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Pedro Janssen > Sent: 24 November 2003 21:22 > To: AccessD at databaseadvisors.com > Subject: [AccessD] middle X and Y coordinates > > > Hello Group, > > > I have a table with two fields which are X and Y coordinates. > > X Y > 97,234 234,632 > 98,456 257,678 > 107,453 278,945 > 107,234 278,346 > 109,123 245,567 > > i need as result > > X Y > 97,500 237,500 > 97,500 257,500 > 107,500 277,500 > 107,500 277,500 > > on the result i would like a distinct. > > > > Can this be done in one query? > > TIA > > Pedro Janssen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Nov 24 18:20:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 18:20:45 -0600 Subject: [AccessD] Access to SQL Server Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275E3@main2.marlow.com> I must admit I am a relative newbie to digging into SQL Server, but I can give you a few pointers. First of all, the data terminology is similar, but SQL is JUST a backend. No forms, no modules, no reports. Since it is a server side db, it has options not available with Access, such as data triggers. Secondly, I haven't found SQL server to be all that difficult to mess around with. The Enterprise Manager (it's administrative interface) is pretty well organized, and thus it's easy to import, export, edit and view data directly in the database. Didn't take much time at all to pick up. Drew -----Original Message----- From: Tom Keatley [mailto:tomk at multiline.com.au] Sent: Monday, November 24, 2003 5:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to SQL Server Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Mon Nov 24 18:34:37 2003 From: Developer at UltraDNT.com (Developer) Date: Mon, 24 Nov 2003 19:34:37 -0500 Subject: [AccessD] Access to SQL Server In-Reply-To: <003001c3b2e3$f0e1dc40$0300a8c0@print> Message-ID: <001901c3b2eb$e92faba0$7001a8c0@COA3> Well, not exactly ... Tables are tables, but ... In SQL Server, the eqivalent of a query is a View. SQL Stored Procedures are roughly equivalent to Modules (but they are written in T-SQL, not VBA ... Although they are saying that in some future version you can write SP's in VB.net ... I can't wait for that, I hate T-SQL!)... And SP's can return data (like views) or execute insert/update/delete commands. BUT ... There are no Forms/Reports; you still need Access (or VB, or ASP pages) to be the Front End for your users. You can use Access as the FE, and link tables (or views) as you would a back-end .mdb. So, you *might* get away with a copy of your current .mdb, linked to a View of the same name(s) as you current tables, with no other changes to the current Access application. Hope this is a good start, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Keatley Sent: Monday, November 24, 2003 6:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to SQL Server Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley _______________________________________________ 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 Nov 24 19:20:12 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 24 Nov 2003 17:20:12 -0800 Subject: [AccessD] Access to SQL Server In-Reply-To: <001901c3b2eb$e92faba0$7001a8c0@COA3> References: <001901c3b2eb$e92faba0$7001a8c0@COA3> Message-ID: <3FC2AE4C.7070703@verizon.net> Don't talk about SQL Sever as Access big brother. SQL Server is a robust engine which specifically addresses the need for Very Large Databases (vldb). Things are handled a lot more diffrent in SQL Server in that you now will normally not want to allow users or processes to touch the actual table via a simple ODBC connection, instead you will create VIEWS which are like queries but cannot take parameters. To use parameters you will need to use Stored Procedures which are written in TSQL which should be easy enough for you to grasp if you've ever used VBA. Lastly TSQL is an awesome tool. Using Sql Server 2000 and Query Analyzer you can even debug a stored procedure. In Sql Server you can write scripts (in TSQL) that run on the SQL Agent, and you can schedule this to fire on a trigger, alert, or schedule. lastly if you are trying to find the shortest point between 2 lines then the view option mentioned below is probably the most optimal. If your Acces Front End is simply for data import then this is very acceptable, if not, then it is a plausible solution for the interim, while you work on a more robust interface using an Access Data Project which is simply a front end to Sql Server. lastly sign up to the dba-sqlserver list and also the Sql Server Central Home website, it is very informative and has a very robust library of SQL Scripts. http://www.sqlservercentral.com/default.asp -- -Francisco Developer wrote: >Well, not exactly ... Tables are tables, but ... In SQL Server, the >eqivalent of a query is a View. SQL Stored Procedures are roughly >equivalent to Modules (but they are written in T-SQL, not VBA ... >Although they are saying that in some future version you can write SP's >in VB.net ... I can't wait for that, I hate T-SQL!)... And SP's can >return data (like views) or execute insert/update/delete commands. > >BUT ... There are no Forms/Reports; you still need Access (or VB, or ASP >pages) to be the Front End for your users. > >You can use Access as the FE, and link tables (or views) as you would a >back-end .mdb. So, you *might* get away with a copy of your current >.mdb, linked to a View of the same name(s) as you current tables, with >no other changes to the current Access application. > >Hope this is a good start, > >Steve > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Keatley >Sent: Monday, November 24, 2003 6:38 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access to SQL Server > > >Hi all... > >I contract to a large company producing some goods which require me to >process 450 individual orders each month. These orders come from 450 >different sources and are (currently) sent to me via 450 individual >excel spreadsheets. To this end I have developed an Access database to >process these orders and also produce the goods. > >In the New Year the company is going to change their ordering system to >SQL server and all orders will be placed over the Web therefore >centralising their ordering system. They have asked me what information >I need to produce what I normally do from the server. I think the move >is WELL overdue BUT... > >I know little (OK... NOTHING) about SQL server and its capabilities and >would not know the most efficient way of extracting the data. > >The data I need is Customer name and address (approx 450), Description >of goods (Up to 700 items Per customer), and quantity to buy. > >My head tells me that read only access to a query via ODBC into SQL >Server >is the way to go but many of you are working with Access AND SQL >server >and I thought I would ask within the group for advice. > >Can I talk technically about SQL server the way I talk about Access >....ie is the terminology the same as in Tables, Queries, Forms and >Modules etc (certainly dont want to appear stupid when talking about it) > >What connection options are there (I am physically 3000 miles from the >server) > >The little I have gleaned about SQL server suggests that it is like the >"Big Brother" to Access which means that I can talk about it the way I >would talk about Access but ......am I correct? > >As always any help would be appreciated > >Regards > >Tom Keatley > > > From stephen at bondsoftware.co.nz Mon Nov 24 20:54:20 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 25 Nov 2003 15:54:20 +1300 Subject: [AccessD] Performance issue - QueryDef Message-ID: <70F3D727890C784291D8433E9C418F29088522@server.bondsoftware.co.nz> Line 3 below takes 4 seconds to execute: 1. Dim db as DAO.database, qdf as DAO.QueryDef 2. set db = Currentdb() 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") 4. For each prm in qdf.Parameters 5. prm.value = Eval(prm.Name) 6. Next prm 7. qdf.execute The query is an Append query, the table being appended to is empty. The execution time is negligible. Why should line 4 take so long?? Stephen Bond Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on. -- Sir Winston Churchill From glen_mcwilliams at msn.com Mon Nov 24 21:11:55 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Mon, 24 Nov 2003 19:11:55 -0800 Subject: [AccessD] OT Excel refer to form control References: Message-ID: Kath It should be the After Update event, not the On Change event. ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 1:06 AM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Nov 24 21:14:21 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 24 Nov 2003 21:14:21 -0600 Subject: [AccessD] Performance issue - QueryDef Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE186@TAPPEEXCH01> Steven, If this is a fairly complex query, it probably takes the SQL parser a bit of time to process it so it can generate a list of parameters. Try opening it in design view. How long does it take? Then, it has to determine whether what the parameters are: controls on a form or otherwise. -----Original Message----- From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] Sent: Monday, November 24, 2003 8:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Performance issue - QueryDef Line 3 below takes 4 seconds to execute: 1. Dim db as DAO.database, qdf as DAO.QueryDef 2. set db = Currentdb() 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") 4. For each prm in qdf.Parameters 5. prm.value = Eval(prm.Name) 6. Next prm 7. qdf.execute The query is an Append query, the table being appended to is empty. The execution time is negligible. Why should line 4 take so long?? Stephen Bond -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From accessd at shaw.ca Mon Nov 24 21:11:59 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 24 Nov 2003 19:11:59 -0800 Subject: [AccessD] Access to SQL Server In-Reply-To: <003001c3b2e3$f0e1dc40$0300a8c0@print> Message-ID: Hi Tom: You do not have to give up your Access Front-End and it is straight-forward to connect to a SQL7/2000 Back-End. 450 orders through a MS SQL DB would be effortless on the SQL server. You can either use ODBC, setup through your control panel or ADO-OLE, setup directly through your Access. There are a number of steps to go through and it would be best to ask the 'list' when you reach an impasse, on the specific problem, then continue until the next crisis. The recommended list group to get involved with would be the SQL list at http://dba-sqlserver at databaseadvisors.com (That list specialists in MS SQL issues. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Keatley Sent: Monday, November 24, 2003 3:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to SQL Server Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 24 21:15:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 24 Nov 2003 19:15:09 -0800 Subject: [AccessD] Access to SQL Server In-Reply-To: <3FC2AE4C.7070703@verizon.net> Message-ID: Hey Francisco...don't scare the fellow off just yet. :-) MS SQL is simple to use but can take a life-time to master. My first exposure to MS SQL was when the box appeared on the top of the desk. A couple of us then received a quicky, few days of training then it was off to install and write the front-end... :-\ and it was up and running in less than a month, with a few hicups of course.... ...and it is still running. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Monday, November 24, 2003 5:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to SQL Server Don't talk about SQL Sever as Access big brother. SQL Server is a robust engine which specifically addresses the need for Very Large Databases (vldb). Things are handled a lot more diffrent in SQL Server in that you now will normally not want to allow users or processes to touch the actual table via a simple ODBC connection, instead you will create VIEWS which are like queries but cannot take parameters. To use parameters you will need to use Stored Procedures which are written in TSQL which should be easy enough for you to grasp if you've ever used VBA. Lastly TSQL is an awesome tool. Using Sql Server 2000 and Query Analyzer you can even debug a stored procedure. In Sql Server you can write scripts (in TSQL) that run on the SQL Agent, and you can schedule this to fire on a trigger, alert, or schedule. lastly if you are trying to find the shortest point between 2 lines then the view option mentioned below is probably the most optimal. If your Acces Front End is simply for data import then this is very acceptable, if not, then it is a plausible solution for the interim, while you work on a more robust interface using an Access Data Project which is simply a front end to Sql Server. lastly sign up to the dba-sqlserver list and also the Sql Server Central Home website, it is very informative and has a very robust library of SQL Scripts. http://www.sqlservercentral.com/default.asp -- -Francisco Developer wrote: >Well, not exactly ... Tables are tables, but ... In SQL Server, the >eqivalent of a query is a View. SQL Stored Procedures are roughly >equivalent to Modules (but they are written in T-SQL, not VBA ... >Although they are saying that in some future version you can write SP's >in VB.net ... I can't wait for that, I hate T-SQL!)... And SP's can >return data (like views) or execute insert/update/delete commands. > >BUT ... There are no Forms/Reports; you still need Access (or VB, or ASP >pages) to be the Front End for your users. > >You can use Access as the FE, and link tables (or views) as you would a >back-end .mdb. So, you *might* get away with a copy of your current >.mdb, linked to a View of the same name(s) as you current tables, with >no other changes to the current Access application. > >Hope this is a good start, > >Steve > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Keatley >Sent: Monday, November 24, 2003 6:38 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access to SQL Server > > >Hi all... > >I contract to a large company producing some goods which require me to >process 450 individual orders each month. These orders come from 450 >different sources and are (currently) sent to me via 450 individual >excel spreadsheets. To this end I have developed an Access database to >process these orders and also produce the goods. > >In the New Year the company is going to change their ordering system to >SQL server and all orders will be placed over the Web therefore >centralising their ordering system. They have asked me what information >I need to produce what I normally do from the server. I think the move >is WELL overdue BUT... > >I know little (OK... NOTHING) about SQL server and its capabilities and >would not know the most efficient way of extracting the data. > >The data I need is Customer name and address (approx 450), Description >of goods (Up to 700 items Per customer), and quantity to buy. > >My head tells me that read only access to a query via ODBC into SQL >Server >is the way to go but many of you are working with Access AND SQL >server >and I thought I would ask within the group for advice. > >Can I talk technically about SQL server the way I talk about Access >....ie is the terminology the same as in Tables, Queries, Forms and >Modules etc (certainly dont want to appear stupid when talking about it) > >What connection options are there (I am physically 3000 miles from the >server) > >The little I have gleaned about SQL server suggests that it is like the >"Big Brother" to Access which means that I can talk about it the way I >would talk about Access but ......am I correct? > >As always any help would be appreciated > >Regards > >Tom Keatley > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Mon Nov 24 21:48:43 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Tue, 25 Nov 2003 14:48:43 +1100 Subject: [AccessD] OT Excel refer to form control References: <000d01c3b02b$f3981ae0$6401a8c0@user> Message-ID: <002101c3b307$062225b0$6401a8c0@user> Thanks Glen - I can see what you are getting at with the after_update vs. the on_Change and thanks for the sample. It's taken me a couple of days to work out what's what with combo boxes in Excel and yours has been created with the combo box control on the forms toolbar, right? So it is an ActiveX control with on change events, value property etc. The only problem I have with that is that I am trying to create this app without ActiveX controls as it will be widely used by a client and I don't want to have any deployment issues. The hassle of not using the ActiveXcontrol and going with the combo on the forms toolbar, though, is the lack of properties and events - it has no on change event - you can only assign a macro, define an input range, and a cell link. But I have found (YES!!) a way to reference that object in code which, coming from access vba development, I find really strange. 1. You give the combo boxes named ranges (in my case Cbo_Entity, Cbo_CostCentre), 2. Not that the named ranges do not appear in the list of named ranges anywhere. (Why I don't know - that threw me for ages)) 3. Assign a macro to the combo and in the vba window refer to that or any other combo boxes created using the syntax ActiveSheet.DrawingObjects("RangeNameofCombo") syntax. eg. when my combo Cbo_Entity changes, change the source data (ie. input range) for the other combo box Cbo_CostCentre: Sub CboEntity_Change() 'name of assigned macro Dim strerrormsg As String On Error GoTo Err_Handler ThisWorkbook.Worksheets("lists").Activate ' 'Application.ScreenUpdating = False ThisWorkbook.Worksheets("Lists 2").Activate ' If Range("Sel_Entity") = 1 And (Range("Sel_Location") = 2) Then ThisWorkbook.Worksheets("Menu").Activate ActiveSheet.DrawingObjects("Cbo_CostCentre").Select 'select the combo box With Selection .ListFillRange = "CostCentres_Range1" 'populate its source data with new range '.LinkedCell = "ExpSelection_No" .DropDownLines = 10 End With End If -------------- Kath ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving ; SDSSoftware at optusnet.com.au Sent: Tuesday, November 25, 2003 2:20 PM Subject: Re: [AccessD] OT Excel refer to form control Kath, I was wrong, it is the On Change event. See attached sample ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 4:35 AM Subject: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Nov 24 21:48:03 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 25 Nov 2003 16:48:03 +1300 Subject: [AccessD] Performance issue - QueryDef Message-ID: <70F3D727890C784291D8433E9C418F298F37@server.bondsoftware.co.nz> Thanks Brett. It is only the 'Set qdf =' line that is slow, the params and other lines are almost instantaneous. In Design view, the Q takes less than a second to open, less after close then re-open in Design view. The Q itself is 3 tables, a 'one' and two 'manys', with RI enforced in the underlying tables. Anyway, I think it's resolved ... a close db, compact, and re-open has worked wonders . My thanks Stephen Bond > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] > Sent: Tuesday, 25 November 2003 4:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Performance issue - QueryDef > > > Steven, > If this is a fairly complex query, it probably takes the SQL > parser a bit of > time to process it so it can generate a list of parameters. > Try opening it > in design view. How long does it take? Then, it has to > determine whether > what the parameters are: controls on a form or otherwise. > > > -----Original Message----- > From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] > Sent: Monday, November 24, 2003 8:54 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Performance issue - QueryDef > > Line 3 below takes 4 seconds to execute: > > 1. Dim db as DAO.database, qdf as DAO.QueryDef > 2. set db = Currentdb() > 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") > 4. For each prm in qdf.Parameters > 5. prm.value = Eval(prm.Name) > 6. Next prm > 7. qdf.execute > > The query is an Append query, the table being appended to is > empty. The > execution time is negligible. Why should line 4 take so long?? > > Stephen Bond > > -------------------------------------------------------------- > ------------------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Mon Nov 24 22:34:11 2003 From: john at winhaven.net (John Bartow) Date: Mon, 24 Nov 2003 22:34:11 -0600 Subject: [AccessD] report field font size In-Reply-To: <1691069107.20031124091235@cactus.dk> Message-ID: Hi Gustav, In between postings here I developed a rudimentary function that works well with the few fonts (Arial, Time New Roman, etc.) I use in apps. It wouldn't work well with many of them though because I don't actually query for font metrics. I also found some info on this in the ADH so along with the lebans site you sent I should have it covered if I need more depth to my solution. Thanks, John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Monday, November 24, 2003 2:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] report field font size > > > Hi John > > Stephen Lebans may be able to inspire you: > > http://www.lebans.com/makefitsingle.htm > > /gustav > > > > Anyone have a function to set the font size in a report field > to the maximum > > that will fit in the control? > > _______________________________________________ > 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 Tue Nov 25 08:50:03 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 25 Nov 2003 07:50:03 -0700 Subject: [AccessD] Auto Lookup Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> Hi All, I am trying to complete a project on a Mail Processing database. The one part I am stuck on now is some way for the Auto lookup of a record everytime a number is put it. I have a form in which it has 5 fields, the first field is the ID of the person receiving the mail, the next four fields depend on this number to be filled in. What I need it to be able to do is as the user puts in a number it will auto check the table for the ID number and fill the fields on the form with the underlying info with out the user having to press enter or Tab to have update or search, something like on each Key Down or Key Up. For example say the ID to enter is 123456, when the user enters the 1 it will do a auto check for a ID of 1 and when the user enters 2 it will do a auto check for a ID of 12 and so forth. I hope that makes sense. Thanks for any info or examples anyone has to accomplish this, if it is at all possible. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division From pedro at plex.nl Tue Nov 25 08:01:48 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Nov 2003 15:01:48 +0100 Subject: [AccessD] middle X and Y coordinates References: <007901c3b2e6$7b9684b0$bf00a8c0@dabsight> Message-ID: <000b01c3b35d$30c875c0$fac581d5@pedro> Hello John, sorry that i didn't give a relation between the data and the result. I thought that this was clear. The result has to be the middle (2,500) from 0 to 5 when the first number after the comma lies between this value. The result has to be the middle (7,500) from 5 to 10 when the first number after the comma lies between this value. I'll hope this explains a little bit more together with the data and the result. Pedro ----- Original Message ----- From: "DJK(John) Robinson" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:55 AM Subject: RE: [AccessD] middle X and Y coordinates > Pedro > > You don't say how the results relate to the data - or am I missing something > obvious? > > John > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Pedro Janssen > > Sent: 24 November 2003 21:22 > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] middle X and Y coordinates > > > > > > Hello Group, > > > > > > I have a table with two fields which are X and Y coordinates. > > > > X Y > > 97,234 234,632 > > 98,456 257,678 > > 107,453 278,945 > > 107,234 278,346 > > 109,123 245,567 > > > > i need as result > > > > X Y > > 97,500 237,500 > > 97,500 257,500 > > 107,500 277,500 > > 107,500 277,500 > > > > on the result i would like a distinct. > > > > > > > > Can this be done in one query? > > > > TIA > > > > Pedro Janssen > > > > _______________________________________________ > > 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 Tue Nov 25 08:54:17 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue, 25 Nov 2003 09:54:17 -0500 Subject: [AccessD] test Message-ID: No traffic this morning. John W. Colby www.ColbyConsulting.com From Lambert.Heenan at aig.com Tue Nov 25 08:14:59 2003 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 09:14:59 -0500 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79A6@xlivmbx12.aig.com> Actually I'd say that as a developer you should load mouse wheel software. Because then you'll know how your application behaves in the real world, where almost everyone else uses wheel mice. How else are you going to test if the measures you put in place to stop Access navigating to different records work when the user idly twiddles the wheel? Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Monday, November 24, 2003 6:16 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Aha! I knew there was a reason for not loading mouse software! > > Charlotte Foust > > -----Original Message----- > From: Robert Gracie [mailto:Subscriptions at servicexp.com] > Sent: Monday, November 24, 2003 2:54 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > > You need to load the mouse driver pack for your model. If you only > allow Win XP to install it's drivers for the mouse, it will not work in > all environments.... > > Robert Gracie > www.servicexp.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 4:40 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > That's interesting because I'm using Access XP on WinXP with a Microsoft > mouse and it does NOT work in any of the VBE windows. Nor does it work > in Office 2000 on my Win2k machine (with a super mini mouse). Do you > have some kind of special magic you worked in the registry? I don't > want to use it, but maybe someone else will. > > Charlotte Foust > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Monday, November 24, 2003 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The mouse wheel works fine for me in the code window. I'm using Access > XP on Windows XP, but have used other office version with other Windows > versions and I can't remember not being able to use the mouse wheel. I'm > currently using a Fellowes Mini Web Pro mouse (which is very nice if > anyone happens to be looking for a small optical mouse). > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 10:44 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The scroll wheel does not work in the Visual Basic Editor in *any* of > the Office apps ... Thank goodness. I personally could live nicely > without scroll wheels on mice in any environment. > > Charlotte Foust > > -----Original Message----- > From: Michael Brosdorf [mailto:michael.broesdorf at web.de] > Sent: Monday, November 24, 2003 7:04 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Mouse wheel does not work in VBA window > > > Hello, > > my mousewheel does not work in the VBA windows of Access 2000 - I am > unable to scroll through the code with the wheel. In other applications > and even in Access it works fine. Is that a known problem? Is there any > way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 > with current Microsoft drivers, but the same problems occurs with > Logitech mice.. > > TIA, > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 01:44:33 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 08:44:33 +0100 Subject: [AccessD] Performance issue - QueryDef Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFC@stekelbes.ithelps.local> Prm is not defined in your dim statement could be one issue... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stephen Bond Verzonden: dinsdag 25 november 2003 3:54 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Performance issue - QueryDef Line 3 below takes 4 seconds to execute: 1. Dim db as DAO.database, qdf as DAO.QueryDef 2. set db = Currentdb() 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") 4. For each prm in qdf.Parameters 5. prm.value = Eval(prm.Name) 6. Next prm 7. qdf.execute The query is an Append query, the table being appended to is empty. The execution time is negligible. Why should line 4 take so long?? Stephen Bond Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on. -- Sir Winston Churchill From gustav at cactus.dk Tue Nov 25 09:25:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Nov 2003 16:25:49 +0100 Subject: [AccessD] Auto Lookup In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> Message-ID: <826276954.20031125162549@cactus.dk> Hi Gowey Sound like a job for a combobox ... /gustav > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > I have a form in which it has 5 fields, the first field is the ID of the > person receiving the mail, the next four fields depend on this number to > be filled in. > What I need it to be able to do is as the user puts in a number it will > auto check the table for the ID number and fill the fields on the form > with the underlying info with out the user having to press enter or Tab > to have update or search, something like on each Key Down or Key Up. > For example say the ID to enter is 123456, when the user enters the 1 it > will do a auto check for a ID of 1 and when the user enters 2 it will do > a auto check for a ID of 12 and so forth. > I hope that makes sense. Thanks for any info or examples anyone has to > accomplish this, if it is at all possible. From Mike.W.Gowey at doc.state.or.us Tue Nov 25 09:33:06 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 25 Nov 2003 08:33:06 -0700 Subject: [AccessD] Auto Lookup Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE23@srciml1.ds.doc.state.or.us> Yeah it is, I got that already. It's the rest of the puzzle that I need to work out. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, November 25, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Auto Lookup Hi Gowey Sound like a job for a combobox ... /gustav > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > I have a form in which it has 5 fields, the first field is the ID of > the person receiving the mail, the next four fields depend on this > number to be filled in. > What I need it to be able to do is as the user puts in a number it > will auto check the table for the ID number and fill the fields on the > form with the underlying info with out the user having to press enter > or Tab to have update or search, something like on each Key Down or > Key Up. For example say the ID to enter is 123456, when the user > enters the 1 it will do a auto check for a ID of 1 and when the user > enters 2 it will do a auto check for a ID of 12 and so forth. > I hope that makes sense. Thanks for any info or examples anyone has > to accomplish this, if it is at all possible. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 03:55:55 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 10:55:55 +0100 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFE@stekelbes.ithelps.local> You known what!. I have this to.... But only recently, must be some update from office or the mouse software. I installed recently the Wireless desktop elite with downloaded software v5.. I supose this could be the cause. Have no time to search it out right now... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 5:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 01:31:59 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 08:31:59 +0100 Subject: [AccessD] Compile options in VBA. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFB@stekelbes.ithelps.local> Thats confirms what I was thinking. I compile my apps compleetly before distributing, so I supose while developing it's best having both options on? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Drew Wutka Verzonden: maandag 24 november 2003 22:03 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Compile options in VBA. The Compile on Demand is an option that either compiles your code in it's entirety when your application starts (the option would be off for this..), or compiles it when it is required (when you have Compile on Demand on). The big difference is startup speed. If you project has a lot of code, if you don't use 'Compile on Demand', you are going to get a startup delay as Access compiles the VBA code. The second option (background compile) is a subset of compile on demand. If you have compile on demand set, you can use the background compile option to have Access compile it's code during idle time periods. The reason you have these options, is because VBA is a 'higher' language, which means it makes sense (or it should...) to a human. But the CPU itself still requires machine language to be sent to it, so your VBA code must be compiled into machine language, in order for the CPU to carry out your instructions. I wonder if you have the Compile on Demand turned off, if you wouldn't be allowed to make changes to code on the fly, when the application is running. Hmmmm..... Anyhow, I don't see a real reason to not have both options checked. If you want your code to be compiled all the time, use an .mde. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, November 24, 2003 4:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Compile options in VBA. Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 03:52:11 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 10:52:11 +0100 Subject: [AccessD] Excel Automation Question Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFD@stekelbes.ithelps.local> Something like this. objExcelWorkSheet.Columns(x).ColumnWidth objExcelWorkSheet is a reference to the worksheet, but I supose you can use activeworksheet or something to... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, November 24, 2003 4:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Automation Question Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Nov 25 10:26:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 25 Nov 2003 08:26:18 -0800 Subject: [AccessD] Compile options in VBA. References: <2F8793082E00D4119A1700B0D0216BF8022275DB@main2.marlow.com> Message-ID: <3FC382AA.2000308@shaw.ca> There are some interesting affects leaving compile on demand on that may lead to code corruption What happens is that when COMPILE ON DEMAND is checked, only as much code as is called gets compiled. This means modules containing external functions may get partially compiled. When you turn it off, a call to the external function will compile the entire module, not just the called function. This means that the compiling will be in fewer chunks, and that there will be less chance of fragmentation of the compiled code and less chance of something going wrong in managing that fragmentation. Mary Chipman and Michael Kaplan recommend it be turned off. This does make for longer compiles though. see http://www.trigeminal.com/usenet/usenet004.asp?1033 Drew Wutka wrote: >The Compile on Demand is an option that either compiles your code in it's >entirety when your application starts (the option would be off for this..), >or compiles it when it is required (when you have Compile on Demand on). The >big difference is startup speed. If you project has a lot of code, if you >don't use 'Compile on Demand', you are going to get a startup delay as >Access compiles the VBA code. The second option (background compile) is a >subset of compile on demand. If you have compile on demand set, you can use >the background compile option to have Access compile it's code during idle >time periods. > >The reason you have these options, is because VBA is a 'higher' language, >which means it makes sense (or it should...) to a human. But the CPU itself >still requires machine language to be sent to it, so your VBA code must be >compiled into machine language, in order for the CPU to carry out your >instructions. I wonder if you have the Compile on Demand turned off, if you >wouldn't be allowed to make changes to code on the fly, when the application >is running. Hmmmm..... > >Anyhow, I don't see a real reason to not have both options checked. If you >want your code to be compiled all the time, use an .mde. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Monday, November 24, 2003 4:56 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Compile options in VBA. > > > > >Hi > >I was wondering something. >In the VBA editor in options>common(?)>Compile >You can click two options for compiling. >I have the dutch version and I find that the help is poorly explaining >the exact use of these options (if not for everything:-(. >Compile at request and background compiling. > >I wonder if anyone could explain me what those options do and what best >choice is... > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Tue Nov 25 10:32:56 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 11:32:56 -0500 Subject: [AccessD] Auto Lookup Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79A9@xlivmbx12.aig.com> Well, as you've figured that a combobox is the best tool for the job, all you need to do now is educate the user's of the world of possibilities that would open up if only they'd learn to press the enter key after selecting an item in the combobox. Problem solved. Lambert > -----Original Message----- > From: Gowey Mike W [SMTP:Mike.W.Gowey at doc.state.or.us] > Sent: Tuesday, November 25, 2003 10:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Auto Lookup > > Yeah it is, I got that already. It's the rest of the puzzle that I need > to work out. > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, November 25, 2003 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Hi Gowey > > Sound like a job for a combobox ... > > /gustav > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 25 10:36:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Nov 2003 08:36:49 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: Ah, but loading mouse software is unnecessary for that purpose, Lambert. The scroll wheel works in the UI as it is. It's only in the VBE that the scroll wheel doesn't work without the mouse software, and the users shouldn't be in there anyhow. I have made a *career* of not loading mouse software going back to the days of Windows 3.x, when it caused many problems that didn't exist if you didn't load it. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 25, 2003 6:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window Actually I'd say that as a developer you should load mouse wheel software. Because then you'll know how your application behaves in the real world, where almost everyone else uses wheel mice. How else are you going to test if the measures you put in place to stop Access navigating to different records work when the user idly twiddles the wheel? Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Monday, November 24, 2003 6:16 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Aha! I knew there was a reason for not loading mouse software! > > Charlotte Foust > > -----Original Message----- > From: Robert Gracie [mailto:Subscriptions at servicexp.com] > Sent: Monday, November 24, 2003 2:54 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > > You need to load the mouse driver pack for your model. If you only > allow Win XP to install it's drivers for the mouse, it will not work > in all environments.... > > Robert Gracie > www.servicexp.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 4:40 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > That's interesting because I'm using Access XP on WinXP with a > Microsoft mouse and it does NOT work in any of the VBE windows. Nor > does it work in Office 2000 on my Win2k machine (with a super mini > mouse). Do you have some kind of special magic you worked in the > registry? I don't want to use it, but maybe someone else will. > > Charlotte Foust > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Monday, November 24, 2003 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The mouse wheel works fine for me in the code window. I'm using > Access XP on Windows XP, but have used other office version with other > Windows versions and I can't remember not being able to use the mouse > wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is > very nice if anyone happens to be looking for a small optical mouse). > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 10:44 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The scroll wheel does not work in the Visual Basic Editor in *any* of > the Office apps ... Thank goodness. I personally could live nicely > without scroll wheels on mice in any environment. > > Charlotte Foust > > -----Original Message----- > From: Michael Brosdorf [mailto:michael.broesdorf at web.de] > Sent: Monday, November 24, 2003 7:04 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Mouse wheel does not work in VBA window > > > Hello, > > my mousewheel does not work in the VBA windows of Access 2000 - I am > unable to scroll through the code with the wheel. In other > applications and even in Access it works fine. Is that a known > problem? Is there any way to make it work? I am using a Microsoft > IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same > problems occurs with Logitech mice.. > > TIA, > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 25 11:47:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 11:47:19 -0600 Subject: [AccessD] test Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275EC@main2.marlow.com> Sheesh, there was more traffic then I cared for!.....oh, you mean on the list, I thought you meant driving.... Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 25, 2003 8:54 AM To: AccessD Subject: [AccessD] test No traffic this morning. John W. Colby www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 25 11:48:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 11:48:06 -0600 Subject: [AccessD] Compile options in VBA. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275ED@main2.marlow.com> Yep. If you make .mde's for your finished products, then those options are a moot point. They only apply to .mdb's. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Tuesday, November 25, 2003 1:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Compile options in VBA. Thats confirms what I was thinking. I compile my apps compleetly before distributing, so I supose while developing it's best having both options on? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Drew Wutka Verzonden: maandag 24 november 2003 22:03 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Compile options in VBA. The Compile on Demand is an option that either compiles your code in it's entirety when your application starts (the option would be off for this..), or compiles it when it is required (when you have Compile on Demand on). The big difference is startup speed. If you project has a lot of code, if you don't use 'Compile on Demand', you are going to get a startup delay as Access compiles the VBA code. The second option (background compile) is a subset of compile on demand. If you have compile on demand set, you can use the background compile option to have Access compile it's code during idle time periods. The reason you have these options, is because VBA is a 'higher' language, which means it makes sense (or it should...) to a human. But the CPU itself still requires machine language to be sent to it, so your VBA code must be compiled into machine language, in order for the CPU to carry out your instructions. I wonder if you have the Compile on Demand turned off, if you wouldn't be allowed to make changes to code on the fly, when the application is running. Hmmmm..... Anyhow, I don't see a real reason to not have both options checked. If you want your code to be compiled all the time, use an .mde. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, November 24, 2003 4:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Compile options in VBA. Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 25 11:49:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 11:49:46 -0600 Subject: [AccessD] Compile options in VBA. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275EE@main2.marlow.com> True, I personally have seen issues along the lines of code getting quirky after a lot of modification. However, it usually straightens out with closing and re-opening Access. That is in A2k though. I very rarely see any issues in 97. Drew -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Tuesday, November 25, 2003 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compile options in VBA. There are some interesting affects leaving compile on demand on that may lead to code corruption What happens is that when COMPILE ON DEMAND is checked, only as much code as is called gets compiled. This means modules containing external functions may get partially compiled. When you turn it off, a call to the external function will compile the entire module, not just the called function. This means that the compiling will be in fewer chunks, and that there will be less chance of fragmentation of the compiled code and less chance of something going wrong in managing that fragmentation. Mary Chipman and Michael Kaplan recommend it be turned off. This does make for longer compiles though. see http://www.trigeminal.com/usenet/usenet004.asp?1033 Drew Wutka wrote: >The Compile on Demand is an option that either compiles your code in it's >entirety when your application starts (the option would be off for this..), >or compiles it when it is required (when you have Compile on Demand on). The >big difference is startup speed. If you project has a lot of code, if you >don't use 'Compile on Demand', you are going to get a startup delay as >Access compiles the VBA code. The second option (background compile) is a >subset of compile on demand. If you have compile on demand set, you can use >the background compile option to have Access compile it's code during idle >time periods. > >The reason you have these options, is because VBA is a 'higher' language, >which means it makes sense (or it should...) to a human. But the CPU itself >still requires machine language to be sent to it, so your VBA code must be >compiled into machine language, in order for the CPU to carry out your >instructions. I wonder if you have the Compile on Demand turned off, if you >wouldn't be allowed to make changes to code on the fly, when the application >is running. Hmmmm..... > >Anyhow, I don't see a real reason to not have both options checked. If you >want your code to be compiled all the time, use an .mde. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Monday, November 24, 2003 4:56 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Compile options in VBA. > > > > >Hi > >I was wondering something. >In the VBA editor in options>common(?)>Compile >You can click two options for compiling. >I have the dutch version and I find that the help is poorly explaining >the exact use of these options (if not for everything:-(. >Compile at request and background compiling. > >I wonder if anyone could explain me what those options do and what best >choice is... > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 12:18:46 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 19:18:46 +0100 Subject: [AccessD] Strange send e-mail from Access+Outlook 2003 behavior. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF18@stekelbes.ithelps.local> Hi group The extract below is a function I'm using for 2 or 3 years now and always done the job. I recently installed Outlook 2003 (a week ago) and this function is behaving very bizar. It's a routine to check in a database I need to send out some new passwords and does this for me. For security reasons I send the mail to the user and myself. Today I noticed that I did not received my copy as I normaly do. I called the user and he did not received his copy. I checked my send items and the mail is in my sent items with the correct adresses. But No one has got it. How can it be posible that the mail is in my sent items and I nor the user has received the mail!!! So I start looking to my code and found that when I remove the lines: mItem.ReplyRecipients.Add "Staff at boxoffice.be " mItem.SentOnBehalfOfName = "Staff at boxoffice.be " My e-mail does get received by both users!!! I always had Sent-on-Behalf rights so I checked with a manual typed e-mail with identical adresses and same send-on-behalf user and guess what. The mail does arrive at both adresses Is this a bug or a security measure, and why does get in my sent items without actulay sending it??? So while I was writing this I tried the same thing on another computer with Outlook 2002 and gues what. Everything works fine.... Is this a bug? Anyone out there who can report this to MS? Below is the code. Erwin Set mOutlookApp = CreateObject("Outlook.Application") Set mNameSpace = mOutlookApp.GetNamespace("MAPI") With rstWebSec Do While rstWebSec.EOF = False If !WEBEmailedPassword = False And Trim(!Email) <> "" Then strBody = strBodyHeader & vbCrLf strBody = strBody & vbCrLf strBody = strBody & !Company & vbCrLf strBody = strBody & !Title & " " & !FirstName & " " & !SurName & vbCrLf strBody = strBody & vbCrLf strBody = strBody & strBodyFooter & vbCrLf Application.SysCmd acSysCmdUpdateMeter, rstWebSec.AbsolutePosition Set mItem = mOutlookApp.CreateItem(olMailItem) mItem.Recipients.Add !Email mItem.Recipients.Add "Erwin.Craps at ithelps.be " mItem.Subject = strSubject mItem.Body = strBody mItem.ReplyRecipients.Add "Staff at boxoffice.be " mItem.SentOnBehalfOfName = "Staff at boxoffice.be " 'mItem.Display mItem.Send DoEvents Set mItem = Nothing .Edit !WEBEmailedPassword = True .Update End If .MoveNext DoEvents Loop End With Set mNameSpace = Nothing Set mOutlookApp = Nothing Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From martyconnelly at shaw.ca Tue Nov 25 12:59:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 25 Nov 2003 10:59:30 -0800 Subject: [AccessD] Info: Article on Packaging Access 2003 Solutions or ODE References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79A9@xlivmbx12.aig.com> Message-ID: <3FC3A692.8060304@shaw.ca> I remember some people asking for info on this This is a reprint of October 2003 Access Advisor article One interesting thing is you only have to install the runtime once on a machine so makes for a smaller install, you can almost do from a web download . Packaging Access 2003 Solutions Rick Dobson http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart03/html/sa03j8.asp There is a sample 28M run time install included as download. -- Marty Connelly Victoria, B.C. Canada From Lembit.Soobik at t-online.de Tue Nov 25 06:01:25 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 25 Nov 2003 13:01:25 +0100 Subject: [AccessD] All Computer Names In Network References: <3FC313E3.2383.423894@localhost> Message-ID: <032c01c3b34b$dbf65960$0200a8c0@S856> thank you, Stuart, interesting site, will try it out Lembit Soobik ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 11:33 PM Subject: Re: [AccessD] All Computer Names In Network > On 24 Nov 2003 at 16:21, Lembit Soobik wrote: > > > Does anybody know how to get all computer names in the network? > > thank you > > > One way would be to use a tool like Angry IP Scanner > http://www.angryziber.com/ipscan/ > > > -- > 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 stephen at bondsoftware.co.nz Tue Nov 25 13:21:02 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 26 Nov 2003 08:21:02 +1300 Subject: [AccessD] middle X and Y coordinates Message-ID: <70F3D727890C784291D8433E9C418F29088526@server.bondsoftware.co.nz> Pedro, If you want the numbers to the nearest 2500, in the query put 2 derived fields MidX: Int([x]/2500+0.5)*2500 MidY: Int([y]/2500+0.5)*2500 Does this answer your question? Stephen Bond From Lambert.Heenan at AIG.com Tue Nov 25 13:37:44 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 14:37:44 -0500 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79AD@xlivmbx12.aig.com> Well ok. That's fine - but I'm one of those weirdoes that actually *likes* the wheel. I've been adicted since I first got my hands on it Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Tuesday, November 25, 2003 11:37 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Ah, but loading mouse software is unnecessary for that purpose, Lambert. > The scroll wheel works in the UI as it is. It's only in the VBE that > the scroll wheel doesn't work without the mouse software, and the users > shouldn't be in there anyhow. I have made a *career* of not loading > mouse software going back to the days of Windows 3.x, when it caused > many problems that didn't exist if you didn't load it. > > Charlotte Foust > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Tuesday, November 25, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > Actually I'd say that as a developer you should load mouse wheel > software. Because then you'll know how your application behaves in the > real world, where almost everyone else uses wheel mice. How else are you > going to test if the measures you put in place to stop Access navigating > to different records work when the user idly twiddles the wheel? > > Lambert > From cfoust at infostatsystems.com Tue Nov 25 13:47:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Nov 2003 11:47:52 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: Hey, I wouldn't even use a *mouse* for a long time! I had to learn, but that doesn't mean I have to use all the extra buttons and wheels they put on the darn thing. Two buttons is ample for me. LOL I can never remember what the other buttons do anyhow. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 25, 2003 11:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window Well ok. That's fine - but I'm one of those weirdoes that actually *likes* the wheel. I've been adicted since I first got my hands on it Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Tuesday, November 25, 2003 11:37 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Ah, but loading mouse software is unnecessary for that purpose, > Lambert. The scroll wheel works in the UI as it is. It's only in the > VBE that the scroll wheel doesn't work without the mouse software, and > the users shouldn't be in there anyhow. I have made a *career* of not > loading mouse software going back to the days of Windows 3.x, when it > caused many problems that didn't exist if you didn't load it. > > Charlotte Foust > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Tuesday, November 25, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > Actually I'd say that as a developer you should load mouse wheel > software. Because then you'll know how your application behaves in the > real world, where almost everyone else uses wheel mice. How else are > you going to test if the measures you put in place to stop Access > navigating to different records work when the user idly twiddles the > wheel? > > Lambert > _______________________________________________ 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 Tue Nov 25 05:59:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 25 Nov 2003 12:59:01 +0100 Subject: [AccessD] All Computer Names In Network References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER><008701c3b2a0$1dfbd260$0200a8c0@S856> <003501c3b2e1$2fb78d50$6001a8c0@dejpolsys> Message-ID: <032601c3b34b$848eb550$0200a8c0@S856> thank you, William, thats what I was after :) Lembit Soobik ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 12:17 AM Subject: Re: [AccessD] All Computer Names In Network > http://www.mvps.org/access/api/api0058.htm > > ...the workstation names are included in the level 2 data ...HTH :) > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 24, 2003 10:21 AM > Subject: [AccessD] All Computer Names In Network > > > > Does anybody know how to get all computer names in the network? > > thank you > > > > Lembit > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 25 15:23:42 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Nov 2003 16:23:42 -0500 Subject: [AccessD] Auto Lookup References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> Message-ID: <002801c3b39a$66d88ff0$6001a8c0@dejpolsys> Mike ...this is pretty standard stuff ...both of these sites have sample code and dbs that demonstrate different methods of getting the form populated with a record selected from a combo box ...HTH :) http://www.mvps.org/access/ http://www.candace-tripp.com/access_downloads.htm William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 9:50 AM Subject: [AccessD] Auto Lookup > > > Hi All, > > > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > > I have a form in which it has 5 fields, the first field is the ID of the > person receiving the mail, the next four fields depend on this number to > be filled in. > > What I need it to be able to do is as the user puts in a number it will > auto check the table for the ID number and fill the fields on the form > with the underlying info with out the user having to press enter or Tab > to have update or search, something like on each Key Down or Key Up. > For example say the ID to enter is 123456, when the user enters the 1 it > will do a auto check for a ID of 1 and when the user enters 2 it will do > a auto check for a ID of 12 and so forth. > > I hope that makes sense. Thanks for any info or examples anyone has to > accomplish this, if it is at all possible. > > > Thanks, > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Tue Nov 25 15:27:25 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Nov 2003 16:27:25 -0500 Subject: [AccessD] test References: <2F8793082E00D4119A1700B0D0216BF8022275EC@main2.marlow.com> Message-ID: <002d01c3b39a$ebc86460$6001a8c0@dejpolsys> ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Tue Nov 25 06:04:36 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 25 Nov 2003 13:04:36 +0100 Subject: [AccessD] All Computer Names In Network References: <2F8793082E00D4119A1700B0D0216BF8022275DE@main2.marlow.com> Message-ID: <033d01c3b34c$4c23d910$0200a8c0@S856> yes, want to do it with API calls. (got a good reference already from William) thanks Lembit Soobik ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 24, 2003 10:13 PM Subject: RE: [AccessD] All Computer Names In Network > Just out of curiousity...why? I only ask, because you can do this with VBA, > the process would be to get the subnet of the machine you are on (API > calls), then do a DNS reverse lookup on every IP address in the subnet (more > API calls). The question is, why do you want to know this? Just curious... > > Drew > > -----Original Message----- > From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] > Sent: Monday, November 24, 2003 9:21 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.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 Tue Nov 25 15:34:52 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 25 Nov 2003 14:34:52 -0700 Subject: [AccessD] Auto Lookup Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780107A1@srciml1.ds.doc.state.or.us> Yeah I understand that is simple stuff, but that is not the part that I am having problems with. I can get the form populated by the user selecting from the combo box and pressing either the Enter Key or Tab Key. What they want to be able to do is not have to press the Enter Key or Tab key for the information to be populated automatically. Say that they enter 123456 in the combo box manually, how can I get it to automatically look up the record without the enter key or tab key being pressed. What they want to be able to do is once the info is shown than they want to be able to press the enter key and it will print the mailing label (I have that part working just great)as long as they select from the pull down list in the combo box. It's the manual entry that causes a problem. I hope that makes better sense. \ \ Mike -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Auto Lookup Mike ...this is pretty standard stuff ...both of these sites have sample code and dbs that demonstrate different methods of getting the form populated with a record selected from a combo box ...HTH :) http://www.mvps.org/access/ http://www.candace-tripp.com/access_downloads.htm William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 9:50 AM Subject: [AccessD] Auto Lookup > > > Hi All, > > > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > > I have a form in which it has 5 fields, the first field is the ID of > the person receiving the mail, the next four fields depend on this > number to be filled in. > > What I need it to be able to do is as the user puts in a number it > will auto check the table for the ID number and fill the fields on the > form with the underlying info with out the user having to press enter > or Tab to have update or search, something like on each Key Down or > Key Up. For example say the ID to enter is 123456, when the user > enters the 1 it will do a auto check for a ID of 1 and when the user > enters 2 it will do a auto check for a ID of 12 and so forth. > > I hope that makes sense. Thanks for any info or examples anyone has > to accomplish this, if it is at all possible. > > > Thanks, > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Nov 25 16:02:47 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Tue, 25 Nov 2003 16:02:47 -0600 Subject: [AccessD] test Message-ID: Good thing you're moving to New Hampshire then, isn't it? ; -))))))))))))))))) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "William Hindman" To: "Access Developers discussion and problem solving" accessd-bounces at databasea cc: dvisors.com Subject: Re: [AccessD] test 11/25/2003 03:27 PM Please respond to Access Developers discussion and problem solving ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Nov 25 16:01:57 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 25 Nov 2003 17:01:57 -0500 Subject: [AccessD] Auto Lookup References: <05EBB8A3BEB95B4F8216BE4EF48607780107A1@srciml1.ds.doc.state.or.us> Message-ID: <019301c3b39f$bf8d8240$6401a8c0@default> Mike, If you're looking for an event proc, try writing code for the OnChange event by testing the length of the string that the user has typed in. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 4:34 PM Subject: RE: [AccessD] Auto Lookup > Yeah I understand that is simple stuff, but that is not the part that I > am having problems with. I can get the form populated by the user > selecting from the combo box and pressing either the Enter Key or Tab > Key. What they want to be able to do is not have to press the Enter Key > or Tab key for the information to be populated automatically. Say that > they enter 123456 in the combo box manually, how can I get it to > automatically look up the record without the enter key or tab key being > pressed. What they want to be able to do is once the info is shown than > they want to be able to press the enter key and it will print the > mailing label (I have that part working just great)as long as they > select from the pull down list in the combo box. It's the manual entry > that causes a problem. I hope that makes better sense. > \ > \ > Mike > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Mike > > ...this is pretty standard stuff ...both of these sites have sample code > and dbs that demonstrate different methods of getting the form populated > with a record selected from a combo box ...HTH :) > > http://www.mvps.org/access/ > http://www.candace-tripp.com/access_downloads.htm > > William Hindman > Government is not reason, government is not persuasion, government is > force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Gowey Mike W" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 25, 2003 9:50 AM > Subject: [AccessD] Auto Lookup > > > > > > > > Hi All, > > > > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > > > > > Thanks, > > > > Mike Gowey, MCSA, A+ > > Team Leader - SRCI > > Information Systems & Services Division > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 25 16:07:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 16:07:31 -0600 Subject: [AccessD] test Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275FC@main2.marlow.com> Traffic in Florida doesn't hold a candle to what I have seen in other states.... Of course, this is OT material.... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Nov 25 16:13:17 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Nov 2003 17:13:17 -0500 Subject: [AccessD] Auto Lookup References: <05EBB8A3BEB95B4F8216BE4EF48607780107A1@srciml1.ds.doc.state.or.us> Message-ID: <00aa01c3b3a1$54524450$6001a8c0@dejpolsys> Mike ...yeah ...lot more sense ...if the numbers are all the same length you could use the cbo's OnChange event to autofill the form ...if not then you'll have to test for a match after each character ...but I'm curious as to just what kind of users are willing to pay to avoid hitting the enter key ...seems like an idea place for some Colby style downsizing :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 4:34 PM Subject: RE: [AccessD] Auto Lookup > Yeah I understand that is simple stuff, but that is not the part that I > am having problems with. I can get the form populated by the user > selecting from the combo box and pressing either the Enter Key or Tab > Key. What they want to be able to do is not have to press the Enter Key > or Tab key for the information to be populated automatically. Say that > they enter 123456 in the combo box manually, how can I get it to > automatically look up the record without the enter key or tab key being > pressed. What they want to be able to do is once the info is shown than > they want to be able to press the enter key and it will print the > mailing label (I have that part working just great)as long as they > select from the pull down list in the combo box. It's the manual entry > that causes a problem. I hope that makes better sense. > \ > \ > Mike > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Mike > > ...this is pretty standard stuff ...both of these sites have sample code > and dbs that demonstrate different methods of getting the form populated > with a record selected from a combo box ...HTH :) > > http://www.mvps.org/access/ > http://www.candace-tripp.com/access_downloads.htm > > William Hindman > Government is not reason, government is not persuasion, government is > force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Gowey Mike W" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 25, 2003 9:50 AM > Subject: [AccessD] Auto Lookup > > > > > > > > Hi All, > > > > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > > > > > Thanks, > > > > Mike Gowey, MCSA, A+ > > Team Leader - SRCI > > Information Systems & Services Division > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Tue Nov 25 16:32:30 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 17:32:30 -0500 Subject: [AccessD] Auto Lookup Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com> I think we understood your question. What we (well 'I' anyway) can't understand is what's do bad about hitting enter or TAB after selecting from the combobox? However, if you want to do search as they type you can. With the "conventional" way of doing this, typically, in the combo's AfterUpdate event this type of code will be run... Private Sub cboSearch_AfterUpdate() Dim strCriteria As String If Not cboSearch & "" = "" Then strCriteria = "Seller_ID=" & cboSearch With Me.RecordsetClone .FindFirst strCriteria If Not .NoMatch Then Me.Bookmark = .Bookmark End If End With End If End Sub But in your case you want to do this in the Change event of the combobox. The change event fires every time a key is pressed when the combo has the focus. So as the user types "12345" the code will first search for "1" then "12" etc. So, if you have a large data set, as slow network or fast users, you could well find that the search process cannot keep up with the typing of the users. Lambert > -----Original Message----- > From: Gowey Mike W [SMTP:Mike.W.Gowey at doc.state.or.us] > Sent: Tuesday, November 25, 2003 4:35 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Auto Lookup > > Yeah I understand that is simple stuff, but that is not the part that I > am having problems with. I can get the form populated by the user > selecting from the combo box and pressing either the Enter Key or Tab > Key. What they want to be able to do is not have to press the Enter Key > or Tab key for the information to be populated automatically. Say that > they enter 123456 in the combo box manually, how can I get it to > automatically look up the record without the enter key or tab key being > pressed. What they want to be able to do is once the info is shown than > they want to be able to press the enter key and it will print the > mailing label (I have that part working just great)as long as they > select from the pull down list in the combo box. It's the manual entry > that causes a problem. I hope that makes better sense. > \ > \ > Mike > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Mike > > ...this is pretty standard stuff ...both of these sites have sample code > and dbs that demonstrate different methods of getting the form populated > with a record selected from a combo box ...HTH :) > > http://www.mvps.org/access/ > http://www.candace-tripp.com/access_downloads.htm > > William Hindman > Government is not reason, government is not persuasion, government is > force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Gowey Mike W" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 25, 2003 9:50 AM > Subject: [AccessD] Auto Lookup > > > > > > > > Hi All, > > > > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > > > > > Thanks, > > > > Mike Gowey, MCSA, A+ > > Team Leader - SRCI > > Information Systems & Services Division > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Tue Nov 25 17:06:42 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Wed, 26 Nov 2003 10:06:42 +1100 Subject: [AccessD] test OT Message-ID: I am married to a guy from Minnesota, first time I saw LA I was speechless..... I am sure we dont have as many cars as I saw on the road Of course what amazes me about the cars in MN is the rust Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 Drew Wutka Sent by: accessd-bounces at databaseadvisors.com 26/11/2003 09:07 AM Please respond to Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" cc: Subject: RE: [AccessD] test Traffic in Florida doesn't hold a candle to what I have seen in other states.... Of course, this is OT material.... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From DWUTKA at marlow.com Tue Nov 25 17:22:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 17:22:26 -0600 Subject: [AccessD] Archive Ooops.... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275FD@main2.marlow.com> Apparently my 'indexer' hasn't been running since late september. So searches on messages since then would have produced nothing. Fixed the problem earlier today, and now the indexing is all caught up. Oooops. Drew From accessd at shaw.ca Tue Nov 25 18:53:24 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 25 Nov 2003 16:53:24 -0800 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275FD@main2.marlow.com> Message-ID: Great...Drew. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, November 25, 2003 3:22 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Archive Ooops.... Apparently my 'indexer' hasn't been running since late september. So searches on messages since then would have produced nothing. Fixed the problem earlier today, and now the indexing is all caught up. Oooops. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Tue Nov 25 19:46:08 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Wed, 26 Nov 2003 11:46:08 +1000 Subject: [AccessD] Corrupt Backend Database - Help! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com> Message-ID: <001001c3b3bf$111d8aa0$be0e90cb@prosys.local> Hi, can anyone help with some direction here, please.... Access97 - corrupt backend database We can see the linked tables in the frontend. When I try and open the backend directly, the database window is empty - shows no tables, queries etc. I get the message that reads : "isn't an index in this table. Look in the Indexes Collection of the TableDef object to determine the valid index names". An attempt to repair using the /repair switch when starting the database does not do the trick. When trying to import the tables into a blank database you get messages about missing index etc etc. So, as it says it's probably the index for one or more of the system tables that handles all the tables etc. in the backend that's screwed up - gone missing..... Any one around that can help here, please ???? Conceptually, I would imagine that it would be possible from a different database run som DAO code that would re-build the indexes of all the system tables or something like that in the corrupt backend Worst case scenario is to use backup from last friday - but the boss has been working all weekend adding and modifying data, so we really would like to salvage the corrupt backend...... Cheers Borge From john at winhaven.net Tue Nov 25 19:52:24 2003 From: john at winhaven.net (John Bartow) Date: Tue, 25 Nov 2003 19:52:24 -0600 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275FD@main2.marlow.com> Message-ID: Thanks for staying on top of that Drew, the searchable archives are a great asset to this community. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Tuesday, November 25, 2003 5:22 PM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Archive Ooops.... > > > Apparently my 'indexer' hasn't been running since late september. So > searches on messages since then would have produced nothing. Fixed the > problem earlier today, and now the indexing is all caught up. Oooops. > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From SDSSoftware at optusnet.com.au Tue Nov 25 20:41:29 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 26 Nov 2003 13:41:29 +1100 Subject: [AccessD] Corrupt Backend Database - Help! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com> <001001c3b3bf$111d8aa0$be0e90cb@prosys.local> Message-ID: <002601c3b3c6$cb9f5820$6401a8c0@user> Have you tried running Jetcomp on it? http://www.accessdatabaserepair.com/jetcomp.htm HTH Kath ----- Original Message ----- From: Borge Steen Hansen To: Access Developers discussion and problem solving Sent: Wednesday, November 26, 2003 12:46 PM Subject: [AccessD] Corrupt Backend Database - Help! Hi, can anyone help with some direction here, please.... Access97 - corrupt backend database We can see the linked tables in the frontend. When I try and open the backend directly, the database window is empty - shows no tables, queries etc. I get the message that reads : "isn't an index in this table. Look in the Indexes Collection of the TableDef object to determine the valid index names". An attempt to repair using the /repair switch when starting the database does not do the trick. When trying to import the tables into a blank database you get messages about missing index etc etc. So, as it says it's probably the index for one or more of the system tables that handles all the tables etc. in the backend that's screwed up - gone missing..... Any one around that can help here, please ???? Conceptually, I would imagine that it would be possible from a different database run som DAO code that would re-build the indexes of all the system tables or something like that in the corrupt backend Worst case scenario is to use backup from last friday - but the boss has been working all weekend adding and modifying data, so we really would like to salvage the corrupt backend...... Cheers Borge _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From glen_mcwilliams at msn.com Tue Nov 25 21:28:20 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Tue, 25 Nov 2003 19:28:20 -0800 Subject: [AccessD] OT Excel refer to form control References: <000d01c3b02b$f3981ae0$6401a8c0@user> <002101c3b307$062225b0$6401a8c0@user> Message-ID: Kath The is sample does not use the combo box control from the forms toolbar, but rather the standard combo box control from the Control Toolbox. Glen ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Monday, November 24, 2003 7:48 PM Subject: Re: [AccessD] OT Excel refer to form control Thanks Glen - I can see what you are getting at with the after_update vs. the on_Change and thanks for the sample. It's taken me a couple of days to work out what's what with combo boxes in Excel and yours has been created with the combo box control on the forms toolbar, right? So it is an ActiveX control with on change events, value property etc. The only problem I have with that is that I am trying to create this app without ActiveX controls as it will be widely used by a client and I don't want to have any deployment issues. The hassle of not using the ActiveXcontrol and going with the combo on the forms toolbar, though, is the lack of properties and events - it has no on change event - you can only assign a macro, define an input range, and a cell link. But I have found (YES!!) a way to reference that object in code which, coming from access vba development, I find really strange. 1. You give the combo boxes named ranges (in my case Cbo_Entity, Cbo_CostCentre), 2. Not that the named ranges do not appear in the list of named ranges anywhere. (Why I don't know - that threw me for ages)) 3. Assign a macro to the combo and in the vba window refer to that or any other combo boxes created using the syntax ActiveSheet.DrawingObjects("RangeNameofCombo") syntax. eg. when my combo Cbo_Entity changes, change the source data (ie. input range) for the other combo box Cbo_CostCentre: Sub CboEntity_Change() 'name of assigned macro Dim strerrormsg As String On Error GoTo Err_Handler ThisWorkbook.Worksheets("lists").Activate ' 'Application.ScreenUpdating = False ThisWorkbook.Worksheets("Lists 2").Activate ' If Range("Sel_Entity") = 1 And (Range("Sel_Location") = 2) Then ThisWorkbook.Worksheets("Menu").Activate ActiveSheet.DrawingObjects("Cbo_CostCentre").Select 'select the combo box With Selection .ListFillRange = "CostCentres_Range1" 'populate its source data with new range '.LinkedCell = "ExpSelection_No" .DropDownLines = 10 End With End If -------------- Kath ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving ; SDSSoftware at optusnet.com.au Sent: Tuesday, November 25, 2003 2:20 PM Subject: Re: [AccessD] OT Excel refer to form control Kath, I was wrong, it is the On Change event. See attached sample ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 4:35 AM Subject: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From glen_mcwilliams at msn.com Tue Nov 25 21:45:02 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Tue, 25 Nov 2003 19:45:02 -0800 Subject: [AccessD] Excel Automation Question References: <46B976F2B698FF46A4FE7636509B22DF03CEFD@stekelbes.ithelps.local> Message-ID: Erwin Try something like this: With Worksheets("Sheet1").Columns("A") .ColumnWidth = .ColumnWidth * 2 End With----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Tuesday, November 25, 2003 1:52 AM Subject: RE: [AccessD] Excel Automation Question Something like this. objExcelWorkSheet.Columns(x).ColumnWidth objExcelWorkSheet is a reference to the worksheet, but I supose you can use activeworksheet or something to... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, November 24, 2003 4:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Automation Question Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Tue Nov 25 21:49:04 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 26 Nov 2003 14:49:04 +1100 Subject: [AccessD] OT Excel refer to form control References: <000d01c3b02b$f3981ae0$6401a8c0@user><002101c3b307$062225b0$6401a8c0@user> Message-ID: <004001c3b3d0$3cbc03b0$6401a8c0@user> Thanks ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving Sent: Wednesday, November 26, 2003 2:28 PM Subject: Re: [AccessD] OT Excel refer to form control Kath The is sample does not use the combo box control from the forms toolbar, but rather the standard combo box control from the Control Toolbox. Glen ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Monday, November 24, 2003 7:48 PM Subject: Re: [AccessD] OT Excel refer to form control Thanks Glen - I can see what you are getting at with the after_update vs. the on_Change and thanks for the sample. It's taken me a couple of days to work out what's what with combo boxes in Excel and yours has been created with the combo box control on the forms toolbar, right? So it is an ActiveX control with on change events, value property etc. The only problem I have with that is that I am trying to create this app without ActiveX controls as it will be widely used by a client and I don't want to have any deployment issues. The hassle of not using the ActiveXcontrol and going with the combo on the forms toolbar, though, is the lack of properties and events - it has no on change event - you can only assign a macro, define an input range, and a cell link. But I have found (YES!!) a way to reference that object in code which, coming from access vba development, I find really strange. 1. You give the combo boxes named ranges (in my case Cbo_Entity, Cbo_CostCentre), 2. Not that the named ranges do not appear in the list of named ranges anywhere. (Why I don't know - that threw me for ages)) 3. Assign a macro to the combo and in the vba window refer to that or any other combo boxes created using the syntax ActiveSheet.DrawingObjects("RangeNameofCombo") syntax. eg. when my combo Cbo_Entity changes, change the source data (ie. input range) for the other combo box Cbo_CostCentre: Sub CboEntity_Change() 'name of assigned macro Dim strerrormsg As String On Error GoTo Err_Handler ThisWorkbook.Worksheets("lists").Activate ' 'Application.ScreenUpdating = False ThisWorkbook.Worksheets("Lists 2").Activate ' If Range("Sel_Entity") = 1 And (Range("Sel_Location") = 2) Then ThisWorkbook.Worksheets("Menu").Activate ActiveSheet.DrawingObjects("Cbo_CostCentre").Select 'select the combo box With Selection .ListFillRange = "CostCentres_Range1" 'populate its source data with new range '.LinkedCell = "ExpSelection_No" .DropDownLines = 10 End With End If -------------- Kath ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving ; SDSSoftware at optusnet.com.au Sent: Tuesday, November 25, 2003 2:20 PM Subject: Re: [AccessD] OT Excel refer to form control Kath, I was wrong, it is the On Change event. See attached sample ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 4:35 AM Subject: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From glen_mcwilliams at msn.com Tue Nov 25 21:56:41 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Tue, 25 Nov 2003 19:56:41 -0800 Subject: [AccessD] test OT References: Message-ID: Connie The only place that comes close the number of cars is Bankok Glen McWilliams Creative Hightek, Inc. ----- Original Message ----- From: connie.kamrowski at agric.nsw.gov.au To: Access Developers discussion and problem solving Sent: Tuesday, November 25, 2003 3:06 PM Subject: RE: [AccessD] test OT I am married to a guy from Minnesota, first time I saw LA I was speechless..... I am sure we dont have as many cars as I saw on the road Of course what amazes me about the cars in MN is the rust Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 Drew Wutka Sent by: accessd-bounces at databaseadvisors.com 26/11/2003 09:07 AM Please respond to Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" cc: Subject: RE: [AccessD] test Traffic in Florida doesn't hold a candle to what I have seen in other states.... Of course, this is OT material.... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Tue Nov 25 22:18:07 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Wed, 26 Nov 2003 14:18:07 +1000 Subject: [AccessD] Corrupt Backend Database - Solved! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com><001001c3b3bf$111d8aa0$be0e90cb@prosys.local> <002601c3b3c6$cb9f5820$6401a8c0@user> Message-ID: <002801c3b3d4$4c2d9440$be0e90cb@prosys.local> Thanks for that, I was thrown by the user mentioning that applying the Repair utility did not work. Doing a bit of search I found that the latest version of the Microsoft Jet database engine 3.51 has enhanced its compact process. Compact now assumes all the functionality that the Jet database engine repair process included and it is no longer recommended to use the Jet database engine repair process. So disregarding the 'repair' and applying a compact solved the problem. I also now notice that Access 2K and XP has just "Compact and Repair Database...." Regards Borge ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 12:41 PM Subject: Re: [AccessD] Corrupt Backend Database - Help! Have you tried running Jetcomp on it? http://www.accessdatabaserepair.com/jetcomp.htm HTH Kath From andy at minstersystems.co.uk Wed Nov 26 01:37:06 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 26 Nov 2003 07:37:06 -0000 Subject: [AccessD] test OT - Enough In-Reply-To: Message-ID: <001a01c3b3f0$17b9c780$b274d0d5@minster33c3r25> Ok this is starting to sprout. If you want to continue please take it to the OT list. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Glen McWilliams > Sent: 26 November 2003 03:57 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test OT > > > Connie > > The only place that comes close the number of cars is Bankok > > Glen McWilliams > Creative Hightek, Inc. > ----- Original Message ----- > From: connie.kamrowski at agric.nsw.gov.au > To: Access Developers discussion and problem solving > Sent: Tuesday, November 25, 2003 3:06 PM > Subject: RE: [AccessD] test OT > > > I am married to a guy from Minnesota, first time I saw LA I was > speechless..... I am sure we dont have as many cars as I > saw on the road > > Of course what amazes me about the cars in MN is the rust > > Connie Kamrowski > > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph: 02 6391 3250 > Fax:02 6391 3290 > > > > > > Drew Wutka > Sent by: accessd-bounces at databaseadvisors.com > 26/11/2003 09:07 AM > Please respond to Access Developers discussion and problem solving > > > To: "'Access Developers discussion and problem > solving'" > > cc: > Subject: RE: [AccessD] test > > > Traffic in Florida doesn't hold a candle to what I have > seen in other > states.... > > Of course, this is OT material.... > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 3:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test > > > ...you've seen nothing ...the snowbirds have returned to > south Florida for > the season ...so instead of traffic jams at 8AM and 5PM we > now have just > one > ...24 friggin' hours of Caddies backing up to the exit they > missed ...pray > for March :( > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, November 25, 2003 12:47 PM > Subject: RE: [AccessD] test > > > > Sheesh, there was more traffic then I cared for!.....oh, > you mean on the > > list, I thought you meant driving.... > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Tuesday, November 25, 2003 8:54 AM > > To: AccessD > > Subject: [AccessD] test > > > > > > No traffic this morning. > > > > John W. Colby > > www.ColbyConsulting.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify > sender. Views > expressed are those of the individual sender and are not > necessarily the > views of their organisation. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.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 viner at eunet.yu Tue Nov 25 01:23:30 2003 From: viner at eunet.yu (Ervin Brindza) Date: Tue, 25 Nov 2003 08:23:30 +0100 Subject: [AccessD] OT: Learning English Message-ID: <03c201c3b325$0fc16400$0100a8c0@razvoj> Hi, sorry for the OT post, but I want to improve my English and want to start to teach my 7 years old daughter too(e.g. easy songs for kids). So, can you give me some "worth to take a look" sites on the Web, because Google are too generous :( Please post privately! MTIA, Ervin From gustav at cactus.dk Wed Nov 26 05:20:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 12:20:47 +0100 Subject: [AccessD] Info Interesting use of InfoPath In-Reply-To: <3F7A7578.9000007@shaw.ca> References: <3F7AF33E.14003.19E6DAF@localhost> <3F7A7578.9000007@shaw.ca> Message-ID: <19912402073.20031126122047@cactus.dk> Hi Marty et all Also, this quite nice link aimed at ISVs and developers is on-line: InfoPath 2003 Health Level Seven Clinical Document Architecture Demo http://www.microsoft.com/technet/itsolutions/mso/cda/ /gustav > If you were wondering about uses for InfoPath. > Rather than use Access to link to a webservice. This method with > InfoPath allows a user to quickly link to a webservice via XML with no > coding. The webservice could be a ASP.Net hook to an old Cobol legacy > app to edit or add data.. > Dynamically Data-bind in InfoPath By Thiru Thangarathinam > http://www.developer.com/net/article.php/3082431 From awithing at twcny.rr.com Wed Nov 26 05:58:32 2003 From: awithing at twcny.rr.com (augusta) Date: Wed, 26 Nov 2003 06:58:32 -0500 Subject: [AccessD] OT: Learning English In-Reply-To: <03c201c3b325$0fc16400$0100a8c0@razvoj> Message-ID: <007401c3b414$a07f0390$6401a8c0@dell8200> http://www.weesing.com/homepage.htm > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Ervin Brindza > Sent: Tuesday, November 25, 2003 2:24 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Learning English > > Hi, > sorry for the OT post, but I want to improve my English and want to start > to teach my 7 years old daughter too(e.g. easy songs for kids). So, can > you give me some "worth to take a look" sites on the Web, because Google > are too generous :( > Please post privately! > MTIA, > Ervin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From viner at eunet.yu Wed Nov 26 06:41:42 2003 From: viner at eunet.yu (Ervin Brindza) Date: Wed, 26 Nov 2003 13:41:42 +0100 Subject: [AccessD] Re: OT: Learning English References: <007401c3b414$a07f0390$6401a8c0@dell8200> Message-ID: <009701c3b41a$d75dbd60$0100a8c0@razvoj> > http://www.weesing.com/homepage.htm Many thanks, it'll be useful :) Have a nice day, Ervin From Drawbridge.Jack at ic.gc.ca Wed Nov 26 08:40:02 2003 From: Drawbridge.Jack at ic.gc.ca (Drawbridge.Jack at ic.gc.ca) Date: Wed, 26 Nov 2003 09:40:02 -0500 Subject: [AccessD] Accessing Oracle BLOB via MS Access Message-ID: <45C67756F7C0F942AD80AE35546F40C204D82649@mb-bp-011.ic.gc.ca> I'm hoping someone has an answer or advice on this. We have Oracle 9i with a table containing Blob/Clob data types. We also do a lot of data base queries against Oracle via Access 97 and Access 2000. (ODBC ADO). A new application has the blob/clob. Attempting to access these fields gives an error in Access. Does anyone have a technique or samples of how to access this Oracle data type with Access 97 or 2000? TIA. Jack From prodevmg at yahoo.com Wed Nov 26 08:59:02 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 26 Nov 2003 06:59:02 -0800 (PST) Subject: [AccessD] Hide Field Once New Record is Saved In-Reply-To: <45C67756F7C0F942AD80AE35546F40C204D82649@mb-bp-011.ic.gc.ca> Message-ID: <20031126145902.92539.qmail@web20415.mail.yahoo.com> I have a form that is used for new records and modifying existing records. I want a field to be visible when a user enters a new record then hide it from view once the new record has been saved. My other thought was to make the field a modal pop up when entering new records. Based on the flow of the data entry being done, I would prefer my first choice. Thanks to any and all responders! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now From Lambert.Heenan at AIG.com Wed Nov 26 09:16:20 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 26 Nov 2003 10:16:20 -0500 Subject: [AccessD] Hide Field Once New Record is Saved Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B9@xlivmbx12.aig.com> In the form's OnCurrent event... YourField.Visible = Not NewRecord Then do exactly the same thing in the AfterInsert event which will handle cases where the record is saved but remains current. Lambert > -----Original Message----- > From: Lonnie Johnson [SMTP:prodevmg at yahoo.com] > Sent: Wednesday, November 26, 2003 9:59 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hide Field Once New Record is Saved > > > > I have a form that is used for new records and modifying existing records. > I want a field to be visible when a user enters a new record then hide it > from view once the new record has been saved. > > My other thought was to make the field a modal pop up when entering new > records. Based on the flow of the data entry being done, I would prefer my > first choice. > > Thanks to any and all responders! > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Nov 26 09:25:12 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 26 Nov 2003 07:25:12 -0800 (PST) Subject: [AccessD] Hide Field Once New Record is Saved In-Reply-To: <20031126145902.92539.qmail@web20415.mail.yahoo.com> Message-ID: <20031126152512.35552.qmail@web20420.mail.yahoo.com> Sorry to bug you guys. I didn't look far enough in help. The code would be in the On Current Event and it would read... MyField.Visible = Me.NewRecord Lonnie Johnson wrote: I have a form that is used for new records and modifying existing records. I want a field to be visible when a user enters a new record then hide it from view once the new record has been saved. My other thought was to make the field a modal pop up when entering new records. Based on the flow of the data entry being done, I would prefer my first choice. Thanks to any and all responders! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now From pedro at plex.nl Wed Nov 26 16:52:23 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 26 Nov 2003 16:52:23 (MET) Subject: [AccessD] rotate text Message-ID: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Hello Group, i have a report on which adress-labels are shown. 1 label each. I want to use a dynamo label printer. The problem is that the labels of this printer are vertical. Is there a way to rotate text from a textbox on a report. TIA Pedro Janssen From Erwin.Craps at ithelps.be Wed Nov 26 09:53:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 16:53:19 +0100 Subject: [AccessD] IBAN/BIC length and structure. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF3E@stekelbes.ithelps.local> Hi people I'm adding some IBAN and BIC fields to an internationaly used app but can't find some data. I found everything I need to know about IBAN code structure and lenght, but i can't seem to find a structure and/or length for the Swift BIC code. Does anyone knows what the lenght and structure of a BIC code is? Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Erwin.Craps at ithelps.be Wed Nov 26 09:55:13 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 16:55:13 +0100 Subject: [AccessD] ISABEL CODA files importing/exporting. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF3F@stekelbes.ithelps.local> Hi Group Does anyone has some VB/VBA code to share to import/export CODA files to use with ISABEL 5.x? Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From paul.hartland at fsmail.net Wed Nov 26 09:55:26 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 26 Nov 2003 16:55:26 +0100 (CET) Subject: [AccessD] OT - Getting started with Web development Message-ID: <25154556.1069862126779.JavaMail.www@wwinf3004> To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland From mikedorism at adelphia.net Wed Nov 26 10:03:55 2003 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Wed, 26 Nov 2003 11:03:55 -0500 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: <002f01c3b436$e4fb6460$8b194244@hargrove.internal> "SQL Server 2000 Web Application Developer's Guide" ISBN 0072126191 Mike and Doris Manning mikedorism at adelphia.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, November 26, 2003 10:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Nov 26 10:05:19 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Nov 2003 11:05:19 -0500 Subject: [AccessD] OT - Getting started with Web development Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F940@TTNEXCHSRV1.hshhp.com> 4guysfromrolla.com or learnasp.com are pretty good. I'm sure if you search the archives you'll find plenty more as this subject comes up quite a bit. Jim DeMarco Director Product Development Hudson Health Plan -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 10:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Wed Nov 26 10:12:06 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 10:12:06 -0600 Subject: [AccessD] rotate text In-Reply-To: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: Pedro: Which model are you using? If its a thermal label printer I can give you some help. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > Sent: Wednesday, November 26, 2003 4:52 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] rotate text > > > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I > want to use a dynamo label printer. The problem is that the > labels of this printer are vertical. Is there a way to rotate > text from a textbox on a report. > > TIA > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at bellsouth.net Wed Nov 26 10:16:48 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 11:16:48 -0500 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: <000c01c3b438$b3c73110$6001a8c0@dejpolsys> www.lebans.com William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: Sent: Wednesday, November 26, 2003 4:52 PM Subject: [AccessD] rotate text > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I want to use a dynamo label printer. The problem is that the labels of this printer are vertical. Is there a way to rotate text from a textbox on a report. > > TIA > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 26 10:23:33 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 11:23:33 -0500 Subject: [AccessD] OT - Getting started with Web development References: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: <001601c3b439$a310ab20$6001a8c0@dejpolsys> ...first buy or steal a copy of Macromedia's Dreamweaver MX ...then buy a copy of our own Susan Harkins' Dreamweaver MX Databases (Sybex ISBN 078214148X) ...its full of sample dbs and scripts :) ...if you can't afford Dreamweaver, then the new FrontPage 2003 has become a pretty good alternative (just like everything else, MS eventually gets it right) HTH :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: "accessd" Sent: Wednesday, November 26, 2003 10:55 AM Subject: [AccessD] OT - Getting started with Web development > To all, > I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any book recommendations ? > Thanks in advance for all your help > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Wed Nov 26 10:23:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 17:23:19 +0100 Subject: [AccessD] Format of a field. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF40@stekelbes.ithelps.local> This is probably the first time in probably 10 years I'm looking at the field format in a table again. I never used them because of never needed or wanted it. I want to paper format an IBAN code which is 4 characters space 4 characters space 4 characters etc. something like this 1234 ABCD 5678 EFGH 90 The thing is that a IBAN code can be 34 character long wich means if all 34 characters are used you have at the end 2 characters. So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead of aligning left it aligns right, so my code looks like 12 34AB CD56 78EF GH90 instead of 1234 ABCD 5678 EFGH 90 How can I resolve this that the code is left aligned and not right? I could write some code to do this, but this is like a real good situation where I could use the format property of a field/control. Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From gustav at cactus.dk Wed Nov 26 10:29:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 17:29:37 +0100 Subject: [AccessD] IBAN/BIC length and structure. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF3E@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF3E@stekelbes.ithelps.local> Message-ID: <9130932809.20031126172937@cactus.dk> Hi Erwin > I'm adding some IBAN and BIC fields to an internationaly used app but > can't find some data. > I found everything I need to know about IBAN code structure and lenght, > but i can't seem to find a structure and/or length for the Swift BIC > code. > Does anyone knows what the lenght and structure of a BIC code is? Yes, in German! Also note this ultimate link: http://www.swift.com/biconline/index.cfm Jeder SWIFT-Teilnehmer hat eine eindeutige Kennung, den sogenannten BIC (Bank Identifier Code). Dieser hat 8 oder 11 Stellen und ist wie folgt aufgebaut : bank code 4 Stellen Alphazeichen frei gew?hlt (Bundesbank z.B. MARK) country code 2 Stellen Alphazeichen, ISO-Code des Landes (in Deutschland also DE) location code 2 Stellen alphanumerisch zur Ortsangabe (z.B. FF f?r Frankfurt) branch code wahlweise 3 Stellen alphanumerisch zur Bezeichnung von Filialen Einige Besonderheiten kann man auch am SWIFT-BIC erkennen: Eine Null an der 8. Stelle kennzeichnet eine Testkennung Eine 1 an der 8. Stelle gibt an, da? es sich nicht um einen Live-Teilnehmer handelt, der selber an SWIFT angeschlossen ist (sogenannte non-SWIFT BICs). Solche Kennungen k?nnen nur als eine Art "Adre?k?rzel" in Nachrichten benutzt werden, wenn auf diese Bank verwiesen wird, diese Teilnehmer k?nnen aber selber keine Nachrichten senden oder empfangen Bei US-amerikanischen Kennungen gibt die vorletzte Stelle des location codes die Zeitzone (3=Ostk?ste bis 6=Westk?ste) der betreffenden Bank an Eine Stelle mit Sende-/Empfangsterminal hat immer eine 8-stellige Kennung, Filialen (11 Stellen) senden immer ?ber die ?bergeordnete 8-stellige Nummer Wegen seiner Eindeutigkeit wird ein SWIFT-BIC im grenz?berschreitenden Zahlungsverkehr wie eine Art internationale Bankleitzahl verwendet. Diese Codes sind nach ISO 9362 genormt und SWIFT ist von ISO als die "registration authority" f?r die Umsetzung der Norm benannt worden. We use these declarations and two functions: ' Module for handling and validation of ' IBAN, International Bank Account Number ' and ' BIC, Bank Identifier Code ' ' as well as ISO 7064 MOD 97-10 calculations. ' ' (c) 2003. Cactus Data ApS. CPH. ' Length of short ISO 3166 alpha country code per definition. Private Const pclngLenISO3166Alpha As Long = 2 ' Lenght of ISO 7064 check number per definition. Private Const pclngLenISO7064Check As Long = 2 ' Minimum length of BBAN, Basic Bank Account Number. ' Emperic value. Normally minimum 4 + 8 but 11 for Norway. Private Const pclngLenBBANMin As Long = 10 ' Length of BIC bank code per definition. Private Const pclngLenBICBank As Long = 4 ' Length of BIC location code per definition. Private Const pclngLenBICLocation As Long = 2 ' Length of BIC branch code per definition. Private Const pclngLenBICBranch As Long = 3 ' Maximum length of Electronic IBAN string per definition. ' Example: FR1420041010050500013M02606 Private Const pclngLenIBANElectronicMax As Long = 34 ' Length of Paper IBAN group per definition. Private Const pclngLenIBANPaperGroup As Long = 4 ' Spacing of Paper IBAN groups per definition. Private Const pclngLenIBANPaperGroupSpacing As Long = 1 ' Constants for IsStrISO13616() for verification method. Private Const pcbytVerifyISO13616Alphanums As Byte = 0 Private Const pcbytVerifyISO13616Chars As Byte = 1 Private Const pcbytVerifyISO13616Digits As Byte = 2 ' Valid IBAN characters, 0-9 and A-Z. Private Const pcbytAscIBANDigitMin As Byte = &H30 Private Const pcbytAscIBANDigitMax As Byte = &H39 Private Const pcbytAscIBANCharMin As Byte = &H41 Private Const pcbytAscIBANCharMax As Byte = &H5A ' IBAN value of character "A" per definition. Private Const pclngValIBANCharA As Long = 10 ' Offset from IBAN value of char to ASCII value of char. Private Const pclngValIBANCharOffset As Long = pcbytAscIBANCharMin - pclngValIBANCharA ' Type definition for IBAN string. ' An IBAN string consists of: ' tIBAN.strISO & tIBAN.strChk & tIBAN.strBBAN ' Private Type tIBAN ' Chars only. strISO As String * pclngLenISO3166Alpha ' Digits only. strChk As String * pclngLenISO7064Check ' Alphanums. Variable length. strBBAN As String End Type ' Type definition for BIC string. ' A BIC string consists of: ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation ' or ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation & tBIC.strBranch ' Private Type tBIC ' Chars only. StrBank As String * pclngLenBICBank ' Chars only. strISO As String * pclngLenISO3166Alpha ' Alphanums. strLocation As String * pclngLenBICLocation ' Alphanums. strBranch As String * pclngLenBICBranch End Type '---- Public Function IsStrBIC(ByVal strBIC As String) As Boolean ' Verifies if strString is a valid BIC, Bank Interchange Code, or ' S.W.I.F.T. code according to ISO 13616. ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' Requires: ' IsStrISO13616() ' ' 2003-06-20. Cactus Data ApS. CPH. ' Length of BIC without branch code per definition. Const clngBICShort As Long = pclngLenBICBank + pclngLenISO3166Alpha + pclngLenBICLocation ' Length of BIC branch code per definition. Const clngBICBranch As Long = pclngLenBICBranch ' Length of BIC with branch code per definition. Const clngBICLong As Long = clngBICShort + clngBICBranch Dim typBIC As tBIC Dim lngLen As Long Dim booChk As Boolean lngLen = Len(strBIC) ' Check length of strBIC. If lngLen = clngBICShort Or lngLen = clngBICLong Then ' Extract substrings. With typBIC .StrBank = Mid(strBIC, 1) .strISO = Mid(strBIC, 1 + pclngLenBICBank) .strLocation = Mid(strBIC, 1 + pclngLenBICBank + pclngLenISO3166Alpha) .strBranch = Mid(strBIC, 1 + clngBICShort) ' Verify substrings. If IsStrISO13616(.StrBank, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strISO, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strLocation, pcbytVerifyISO13616Alphanums) = True Then If lngLen = clngBICShort Then ' Short BIC verified. booChk = True ElseIf IsStrISO13616(.strBranch, pcbytVerifyISO13616Alphanums) = True Then ' Long BIC verified. booChk = True End If End If End If End If End With End If IsStrBIC = booChk End Function Public Function IsStrISO13616( _ ByVal strString As String, _ Optional ByVal bytAlphaNum As Byte) _ As Boolean ' Performs a character by character validation according to ISO 13616. ' If bytAlphaNum is 1, only digits are accepted. ' If bytAlphaNum is 2, only chars are accepted. ' If bytAlphaNum is 0, missing or another value than 1 or 2, both ' chars and digits are accepted. ' ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' 2003-06-20. Cactus Data ApS. CPH. Dim lngLoop As Long Dim lngLen As Long Dim bytAsc As Byte Dim booChk As Boolean lngLen = Len(strString) If lngLen > 0 Then booChk = True For lngLoop = 1 To lngLen ' Check each character. bytAsc = Asc(Mid(strString, lngLoop)) Select Case bytAsc Case pcbytAscIBANDigitMin To pcbytAscIBANDigitMax ' Digit. If bytAlphaNum = pcbytVerifyISO13616Chars Then ' Digits not allowed. booChk = False End If Case pcbytAscIBANCharMin To pcbytAscIBANCharMax ' Valid non-numeric character. If bytAlphaNum = pcbytVerifyISO13616Digits Then ' Characters not allowed. booChk = False End If Case Else ' Invalid character. booChk = False End Select Next End If IsStrISO13616 = booChk End Function Great fun! /gustav From john at winhaven.net Wed Nov 26 10:30:36 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 10:30:36 -0600 Subject: [AccessD] rotate text In-Reply-To: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: BTW: Dymo will do this for you if its one of the thermal label printers. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > Sent: Wednesday, November 26, 2003 4:52 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] rotate text > > > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I > want to use a dynamo label printer. The problem is that the > labels of this printer are vertical. Is there a way to rotate > text from a textbox on a report. > > TIA > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Wed Nov 26 10:38:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 17:38:02 +0100 Subject: [AccessD] Format of a field. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF40@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF40@stekelbes.ithelps.local> Message-ID: <3531437194.20031126173802@cactus.dk> Hi Erwin > This is probably the first time in probably 10 years I'm looking at the > field format in a table again. > I never used them because of never needed or wanted it. > I want to paper format an IBAN code which is 4 characters space 4 > characters space 4 characters etc. > something like this > 1234 ABCD 5678 EFGH 90 > The thing is that a IBAN code can be 34 character long wich means if > all 34 characters are used you have at the end 2 characters. > So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && > But instead of aligning left it aligns right, so my code looks like > 12 34AB CD56 78EF GH90 > instead of > 1234 ABCD 5678 EFGH 90 > How can I resolve this that the code is left aligned and not right? > I could write some code to do this, but this is like a real good > situation where I could use the format property of a field/control. You are close. This is how to format a textbox: !&&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && Also, we have this function for creating a formatted string: Public Function FormatPaperIBAN(ByVal strIBAN As String) As String ' Formats Electronic IBAN (or Paper IBAN) strIBAN as Paper IBAN. ' ' Example: ' FR1420041010050500013M02606 ' formats as ' FR14 2004 1010 0505 0001 3M02 606 ' ' Limitation: Doesn't validate strIBAN except for string length. ' Use IsStrIBAN(strIBAN) for complete validation. ' ' Requires: ' MTrim() ' ' 2003-06-25. Cactus Data ApS. CPH. Dim strPaperIBAN As String Dim strFormat As String Dim strTrim As String Dim strGroup As String Dim lngGroups As Long Dim lngIBAN As Long Dim lngLoop As Long ' Trim mid spaces from string. strTrim = MTrim(strIBAN) lngIBAN = Len(strTrim) If lngIBAN < pclngLenISO3166Alpha + pclngLenISO7064Check + pclngLenBBANMin Then ' Not a possible IBAN string. Else ' Calculate number of format groups. lngGroups = (lngIBAN - 1) \ pclngLenIBANPaperGroup ' Build left filling format string forcing uppercase. strGroup = String(pclngLenIBANPaperGroup, "&") strFormat = "!>" & strGroup For lngLoop = 1 To lngGroups strFormat = strFormat & Space(pclngLenIBANPaperGroupSpacing) & strGroup Next ' Fill string from left to right. strPaperIBAN = Format(strTrim, strFormat) End If FormatPaperIBAN = strPaperIBAN End Function Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav > Erwin Craps > Zaakvoerder > www.ithelps.be/jonathan > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.be > Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: > Staff at boxoffice.be > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Nov 26 10:48:49 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 17:48:49 +0100 Subject: [AccessD] IBAN/BIC length and structure. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF41@stekelbes.ithelps.local> German is OK Every Dutch speaking persons understand pretty well German... When ich das spreche musse kan ich das mit eines heise kartuffel in den mond :-) I hope this makes some sense..... I was on the Swift site, but no way I could find some definitions. I got more than I needed from U Gustav, Thanks for your code, I'll leave the credit in it... Dankesch?n... (Or something :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 26, 2003 5:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] IBAN/BIC length and structure. Hi Erwin > I'm adding some IBAN and BIC fields to an internationaly used app but > can't find some data. > I found everything I need to know about IBAN code structure and > lenght, but i can't seem to find a structure and/or length for the > Swift BIC code. > Does anyone knows what the lenght and structure of a BIC code is? Yes, in German! Also note this ultimate link: http://www.swift.com/biconline/index.cfm Jeder SWIFT-Teilnehmer hat eine eindeutige Kennung, den sogenannten BIC (Bank Identifier Code). Dieser hat 8 oder 11 Stellen und ist wie folgt aufgebaut : bank code 4 Stellen Alphazeichen frei gew?hlt (Bundesbank z.B. MARK) country code 2 Stellen Alphazeichen, ISO-Code des Landes (in Deutschland also DE) location code 2 Stellen alphanumerisch zur Ortsangabe (z.B. FF f?r Frankfurt) branch code wahlweise 3 Stellen alphanumerisch zur Bezeichnung von Filialen Einige Besonderheiten kann man auch am SWIFT-BIC erkennen: Eine Null an der 8. Stelle kennzeichnet eine Testkennung Eine 1 an der 8. Stelle gibt an, da? es sich nicht um einen Live-Teilnehmer handelt, der selber an SWIFT angeschlossen ist (sogenannte non-SWIFT BICs). Solche Kennungen k?nnen nur als eine Art "Adre?k?rzel" in Nachrichten benutzt werden, wenn auf diese Bank verwiesen wird, diese Teilnehmer k?nnen aber selber keine Nachrichten senden oder empfangen Bei US-amerikanischen Kennungen gibt die vorletzte Stelle des location codes die Zeitzone (3=Ostk?ste bis 6=Westk?ste) der betreffenden Bank an Eine Stelle mit Sende-/Empfangsterminal hat immer eine 8-stellige Kennung, Filialen (11 Stellen) senden immer ?ber die ?bergeordnete 8-stellige Nummer Wegen seiner Eindeutigkeit wird ein SWIFT-BIC im grenz?berschreitenden Zahlungsverkehr wie eine Art internationale Bankleitzahl verwendet. Diese Codes sind nach ISO 9362 genormt und SWIFT ist von ISO als die "registration authority" f?r die Umsetzung der Norm benannt worden. We use these declarations and two functions: ' Module for handling and validation of ' IBAN, International Bank Account Number ' and ' BIC, Bank Identifier Code ' ' as well as ISO 7064 MOD 97-10 calculations. ' ' (c) 2003. Cactus Data ApS. CPH. ' Length of short ISO 3166 alpha country code per definition. Private Const pclngLenISO3166Alpha As Long = 2 ' Lenght of ISO 7064 check number per definition. Private Const pclngLenISO7064Check As Long = 2 ' Minimum length of BBAN, Basic Bank Account Number. ' Emperic value. Normally minimum 4 + 8 but 11 for Norway. Private Const pclngLenBBANMin As Long = 10 ' Length of BIC bank code per definition. Private Const pclngLenBICBank As Long = 4 ' Length of BIC location code per definition. Private Const pclngLenBICLocation As Long = 2 ' Length of BIC branch code per definition. Private Const pclngLenBICBranch As Long = 3 ' Maximum length of Electronic IBAN string per definition. ' Example: FR1420041010050500013M02606 Private Const pclngLenIBANElectronicMax As Long = 34 ' Length of Paper IBAN group per definition. Private Const pclngLenIBANPaperGroup As Long = 4 ' Spacing of Paper IBAN groups per definition. Private Const pclngLenIBANPaperGroupSpacing As Long = 1 ' Constants for IsStrISO13616() for verification method. Private Const pcbytVerifyISO13616Alphanums As Byte = 0 Private Const pcbytVerifyISO13616Chars As Byte = 1 Private Const pcbytVerifyISO13616Digits As Byte = 2 ' Valid IBAN characters, 0-9 and A-Z. Private Const pcbytAscIBANDigitMin As Byte = &H30 Private Const pcbytAscIBANDigitMax As Byte = &H39 Private Const pcbytAscIBANCharMin As Byte = &H41 Private Const pcbytAscIBANCharMax As Byte = &H5A ' IBAN value of character "A" per definition. Private Const pclngValIBANCharA As Long = 10 ' Offset from IBAN value of char to ASCII value of char. Private Const pclngValIBANCharOffset As Long = pcbytAscIBANCharMin - pclngValIBANCharA ' Type definition for IBAN string. ' An IBAN string consists of: ' tIBAN.strISO & tIBAN.strChk & tIBAN.strBBAN ' Private Type tIBAN ' Chars only. strISO As String * pclngLenISO3166Alpha ' Digits only. strChk As String * pclngLenISO7064Check ' Alphanums. Variable length. strBBAN As String End Type ' Type definition for BIC string. ' A BIC string consists of: ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation ' or ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation & tBIC.strBranch ' Private Type tBIC ' Chars only. StrBank As String * pclngLenBICBank ' Chars only. strISO As String * pclngLenISO3166Alpha ' Alphanums. strLocation As String * pclngLenBICLocation ' Alphanums. strBranch As String * pclngLenBICBranch End Type '---- Public Function IsStrBIC(ByVal strBIC As String) As Boolean ' Verifies if strString is a valid BIC, Bank Interchange Code, or ' S.W.I.F.T. code according to ISO 13616. ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' Requires: ' IsStrISO13616() ' ' 2003-06-20. Cactus Data ApS. CPH. ' Length of BIC without branch code per definition. Const clngBICShort As Long = pclngLenBICBank + pclngLenISO3166Alpha + pclngLenBICLocation ' Length of BIC branch code per definition. Const clngBICBranch As Long = pclngLenBICBranch ' Length of BIC with branch code per definition. Const clngBICLong As Long = clngBICShort + clngBICBranch Dim typBIC As tBIC Dim lngLen As Long Dim booChk As Boolean lngLen = Len(strBIC) ' Check length of strBIC. If lngLen = clngBICShort Or lngLen = clngBICLong Then ' Extract substrings. With typBIC .StrBank = Mid(strBIC, 1) .strISO = Mid(strBIC, 1 + pclngLenBICBank) .strLocation = Mid(strBIC, 1 + pclngLenBICBank + pclngLenISO3166Alpha) .strBranch = Mid(strBIC, 1 + clngBICShort) ' Verify substrings. If IsStrISO13616(.StrBank, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strISO, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strLocation, pcbytVerifyISO13616Alphanums) = True Then If lngLen = clngBICShort Then ' Short BIC verified. booChk = True ElseIf IsStrISO13616(.strBranch, pcbytVerifyISO13616Alphanums) = True Then ' Long BIC verified. booChk = True End If End If End If End If End With End If IsStrBIC = booChk End Function Public Function IsStrISO13616( _ ByVal strString As String, _ Optional ByVal bytAlphaNum As Byte) _ As Boolean ' Performs a character by character validation according to ISO 13616. ' If bytAlphaNum is 1, only digits are accepted. ' If bytAlphaNum is 2, only chars are accepted. ' If bytAlphaNum is 0, missing or another value than 1 or 2, both ' chars and digits are accepted. ' ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' 2003-06-20. Cactus Data ApS. CPH. Dim lngLoop As Long Dim lngLen As Long Dim bytAsc As Byte Dim booChk As Boolean lngLen = Len(strString) If lngLen > 0 Then booChk = True For lngLoop = 1 To lngLen ' Check each character. bytAsc = Asc(Mid(strString, lngLoop)) Select Case bytAsc Case pcbytAscIBANDigitMin To pcbytAscIBANDigitMax ' Digit. If bytAlphaNum = pcbytVerifyISO13616Chars Then ' Digits not allowed. booChk = False End If Case pcbytAscIBANCharMin To pcbytAscIBANCharMax ' Valid non-numeric character. If bytAlphaNum = pcbytVerifyISO13616Digits Then ' Characters not allowed. booChk = False End If Case Else ' Invalid character. booChk = False End Select Next End If IsStrISO13616 = booChk End Function Great fun! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Nov 26 10:54:33 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 17:54:33 +0100 Subject: [AccessD] Format of a field. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF42@stekelbes.ithelps.local> Well I knew there where some formatting characters, no way I could find them in the Access Help. I've lost my patience with Access help since they putted it in HTML format. Thanks for the code again. Snifff, this makes me so happy :-) Lucky me, sniffff... No overtime today, straight to home.... I'll tell my wife and kid that I'm early today thanks to you.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 26, 2003 5:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Format of a field. Hi Erwin > This is probably the first time in probably 10 years I'm looking at > the field format in a table again. > I never used them because of never needed or wanted it. > I want to paper format an IBAN code which is 4 characters space 4 > characters space 4 characters etc. > something like this > 1234 ABCD 5678 EFGH 90 > The thing is that a IBAN code can be 34 character long wich means if > all 34 characters are used you have at the end 2 characters. > So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead > of aligning left it aligns right, so my code looks like > 12 34AB CD56 78EF GH90 > instead of > 1234 ABCD 5678 EFGH 90 > How can I resolve this that the code is left aligned and not right? > I could write some code to do this, but this is like a real good > situation where I could use the format property of a field/control. You are close. This is how to format a textbox: !&&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && Also, we have this function for creating a formatted string: Public Function FormatPaperIBAN(ByVal strIBAN As String) As String ' Formats Electronic IBAN (or Paper IBAN) strIBAN as Paper IBAN. ' ' Example: ' FR1420041010050500013M02606 ' formats as ' FR14 2004 1010 0505 0001 3M02 606 ' ' Limitation: Doesn't validate strIBAN except for string length. ' Use IsStrIBAN(strIBAN) for complete validation. ' ' Requires: ' MTrim() ' ' 2003-06-25. Cactus Data ApS. CPH. Dim strPaperIBAN As String Dim strFormat As String Dim strTrim As String Dim strGroup As String Dim lngGroups As Long Dim lngIBAN As Long Dim lngLoop As Long ' Trim mid spaces from string. strTrim = MTrim(strIBAN) lngIBAN = Len(strTrim) If lngIBAN < pclngLenISO3166Alpha + pclngLenISO7064Check + pclngLenBBANMin Then ' Not a possible IBAN string. Else ' Calculate number of format groups. lngGroups = (lngIBAN - 1) \ pclngLenIBANPaperGroup ' Build left filling format string forcing uppercase. strGroup = String(pclngLenIBANPaperGroup, "&") strFormat = "!>" & strGroup For lngLoop = 1 To lngGroups strFormat = strFormat & Space(pclngLenIBANPaperGroupSpacing) & strGroup Next ' Fill string from left to right. strPaperIBAN = Format(strTrim, strFormat) End If FormatPaperIBAN = strPaperIBAN End Function Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav > Erwin Craps > Zaakvoerder > www.ithelps.be/jonathan > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a > criminal offence. Please delete if obtained in error and E-mail > confirmation to the sender. > IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.be > Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: > Staff at boxoffice.be > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Nov 26 10:43:06 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 26 Nov 2003 11:43:06 -0500 Subject: [AccessD] Format of a field. Message-ID: Erwin, An input mask would accomplish this > Causes all characters that follow to be converted to uppercase. ! Causes the input mask to display from right to left, rather than from left to right. Characters typed into the mask always fill it from left to right. You can include the exclamation point anywhere in the input mask. a Letter or digit (entry optional). If you are dealing with only letters and numbers you could change it to: !>aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aa Mark -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 26, 2003 11:23 AM To: accessd at databaseadvisors.com Subject: [AccessD] Format of a field. This is probably the first time in probably 10 years I'm looking at the field format in a table again. I never used them because of never needed or wanted it. I want to paper format an IBAN code which is 4 characters space 4 characters space 4 characters etc. something like this 1234 ABCD 5678 EFGH 90 The thing is that a IBAN code can be 34 character long wich means if all 34 characters are used you have at the end 2 characters. So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead of aligning left it aligns right, so my code looks like 12 34AB CD56 78EF GH90 instead of 1234 ABCD 5678 EFGH 90 How can I resolve this that the code is left aligned and not right? I could write some code to do this, but this is like a real good situation where I could use the format property of a field/control. Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 26 11:04:18 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 18:04:18 +0100 Subject: [AccessD] IBAN/BIC length and structure. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF41@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF41@stekelbes.ithelps.local> Message-ID: <19433013560.20031126180418@cactus.dk> Hi Erwin > German is OK > Every Dutch speaking persons understand pretty well German... I know. > When ich das spreche musse kan ich das mit eines heise kartuffel in den mond :-) > I hope this makes some sense..... Yes! > I was on the Swift site, but no way I could find some definitions. Not directly, perhaps, but under Standards you'll find many useful links. But I remember finding it difficult too until I began searching for German sites. > I got more than I needed from U Gustav, Thanks for your code, I'll leave the credit in it... > Dankesch?n... > (Or something :-) You're welcome. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, November 26, 2003 5:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] IBAN/BIC length and structure. > Hi Erwin >> I'm adding some IBAN and BIC fields to an internationaly used app but >> can't find some data. >> I found everything I need to know about IBAN code structure and >> lenght, but i can't seem to find a structure and/or length for the >> Swift BIC code. >> Does anyone knows what the lenght and structure of a BIC code is? > Yes, in German! > Also note this ultimate link: > http://www.swift.com/biconline/index.cfm From gustav at cactus.dk Wed Nov 26 11:06:25 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 18:06:25 +0100 Subject: [AccessD] Format of a field. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF42@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF42@stekelbes.ithelps.local> Message-ID: <3633140723.20031126180625@cactus.dk> Hi Erwin OK. A virtual handkerchief is attached! /gustav > Well I knew there where some formatting characters, no way I could find > them in the Access Help. I've lost my patience with Access help since > they putted it in HTML format. > Thanks for the code again. > Snifff, this makes me so happy :-) > Lucky me, sniffff... > No overtime today, straight to home.... > I'll tell my wife and kid that I'm early today thanks to you.... > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, November 26, 2003 5:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Format of a field. > Hi Erwin >> This is probably the first time in probably 10 years I'm looking at >> the field format in a table again. >> I never used them because of never needed or wanted it. >> I want to paper format an IBAN code which is 4 characters space 4 >> characters space 4 characters etc. >> something like this >> 1234 ABCD 5678 EFGH 90 >> The thing is that a IBAN code can be 34 character long wich means if >> all 34 characters are used you have at the end 2 characters. >> So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead >> of aligning left it aligns right, so my code looks like >> 12 34AB CD56 78EF GH90 >> instead of >> 1234 ABCD 5678 EFGH 90 >> How can I resolve this that the code is left aligned and not right? >> I could write some code to do this, but this is like a real good >> situation where I could use the format property of a field/control. > You are close. This is how to format a textbox: > !&&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && From Erwin.Craps at ithelps.be Wed Nov 26 11:17:08 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 18:17:08 +0100 Subject: [AccessD] Format of a field. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF43@stekelbes.ithelps.local> Aha, that should be better. The > I never use because it is not hard coded in the field. I use an ucase in the Afterupdate event. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, November 26, 2003 5:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Format of a field. Erwin, An input mask would accomplish this > Causes all characters that follow to be converted to uppercase. ! Causes the input mask to display from right to left, rather than from left to right. Characters typed into the mask always fill it from left to right. You can include the exclamation point anywhere in the input mask. a Letter or digit (entry optional). If you are dealing with only letters and numbers you could change it to: !>aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aa Mark -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 26, 2003 11:23 AM To: accessd at databaseadvisors.com Subject: [AccessD] Format of a field. This is probably the first time in probably 10 years I'm looking at the field format in a table again. I never used them because of never needed or wanted it. I want to paper format an IBAN code which is 4 characters space 4 characters space 4 characters etc. something like this 1234 ABCD 5678 EFGH 90 The thing is that a IBAN code can be 34 character long wich means if all 34 characters are used you have at the end 2 characters. So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead of aligning left it aligns right, so my code looks like 12 34AB CD56 78EF GH90 instead of 1234 ABCD 5678 EFGH 90 How can I resolve this that the code is left aligned and not right? I could write some code to do this, but this is like a real good situation where I could use the format property of a field/control. Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 26 11:54:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Nov 2003 09:54:36 -0800 Subject: [AccessD] OT - Getting started with Web development References: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: <3FC4E8DC.9090901@shaw.ca> You might want to look at the project code samples and articles from http://www.asptoday.com It has a cost of $100 a year but really good, if just starting out, with long specific examples. Has had problems in last 6 months since previous owner Wrox went down the drain. There are free sample articles available on a weekly basis. paul.hartland at fsmail.net wrote: >To all, >I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. >Anyone know any good sites to get me started along with any book recommendations ? >Thanks in advance for all your help >Paul Hartland >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From jim.hale at fleetpride.com Wed Nov 26 12:46:16 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 26 Nov 2003 12:46:16 -0600 Subject: [AccessD] Message-ID: <869379ABF177D4118D3100508B5EF873063952E4@corp-es00> Check out the ADH p689. I think this is what you are looking for. regards, Jim Hale -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: Friday, November 21, 2003 4:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 26 12:47:33 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Nov 2003 10:47:33 -0800 Subject: [AccessD] OT - Getting started with Web development References: <25154556.1069862126779.JavaMail.www@wwinf3004> <3FC4E8DC.9090901@shaw.ca> Message-ID: <3FC4F545.2040205@shaw.ca> Oh yes and these sites http://www.aspfree.com http:/www.asp101.com http://www.w3schools.com http://www.aspwire.com and maybe here http://www.databasejournal.com/features/msaccess/ MartyConnelly wrote: > You might want to look at the project code samples and articles from > http://www.asptoday.com > It has a cost of $100 a year but really good, if just starting out, > with long specific examples. > Has had problems in last 6 months since previous owner Wrox went down > the drain. > There are free sample articles available on a weekly basis. > > paul.hartland at fsmail.net wrote: > >> To all, >> I'm looking to start writing web pages etc, secure logins, returning >> resultsets in tables from Access & SQL Server etc. >> Anyone know any good sites to get me started along with any book >> recommendations ? >> Thanks in advance for all your help >> Paul Hartland >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Wed Nov 26 13:43:05 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 26 Nov 2003 20:43:05 +0100 Subject: [AccessD] middle X and Y coordinates References: <70F3D727890C784291D8433E9C418F29088526@server.bondsoftware.co.nz> Message-ID: <000b01c3b456$93fe9cb0$f4c581d5@pedro> Hello Stephen, i get 0 as result. Something is going wrong. The fields normally are text fields. I changed them into Number fields, Double, 3 decimal places. I added two fields. MidX and MidY. Made an update query and updated MidX and -Y. with Int([x or y]/2500+0.5)*2500 What is going wrong? Pedro Janssen ----- Original Message ----- From: "Stephen Bond" To: Sent: Tuesday, November 25, 2003 8:21 PM Subject: [AccessD] middle X and Y coordinates > Pedro, > > If you want the numbers to the nearest 2500, in the query put 2 derived fields > > MidX: Int([x]/2500+0.5)*2500 > MidY: Int([y]/2500+0.5)*2500 > > Does this answer your question? > > Stephen Bond > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Wed Nov 26 13:44:20 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 26 Nov 2003 20:44:20 +0100 Subject: [AccessD] rotate text References: Message-ID: <000c01c3b456$952d31a0$f4c581d5@pedro> Its a Dymo thermal label printer. How will Dymo do this for me? Pedro ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 5:30 PM Subject: RE: [AccessD] rotate text > BTW: Dymo will do this for you if its one of the thermal label printers. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > > Sent: Wednesday, November 26, 2003 4:52 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] rotate text > > > > > > Hello Group, > > > > i have a report on which adress-labels are shown. 1 label each. I > > want to use a dynamo label printer. The problem is that the > > labels of this printer are vertical. Is there a way to rotate > > text from a textbox on a report. > > > > TIA > > > > Pedro Janssen > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 26 13:49:42 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 26 Nov 2003 20:49:42 +0100 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net> <000c01c3b438$b3c73110$6001a8c0@dejpolsys> Message-ID: <000d01c3b456$962acb80$f4c581d5@pedro> The example on the website you mentioned, only works on labels, not on textboxes. I did found this rotate text example before on other websites. Maybe its an option to make a label from the value in the textbox by code. But i don't know if its possible and who knows how to do it. Pedro ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 5:16 PM Subject: Re: [AccessD] rotate text > www.lebans.com > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: > To: > Sent: Wednesday, November 26, 2003 4:52 PM > Subject: [AccessD] rotate text > > > > Hello Group, > > > > i have a report on which adress-labels are shown. 1 label each. I want to > use a dynamo label printer. The problem is that the labels of this printer > are vertical. Is there a way to rotate text from a textbox on a report. > > > > TIA > > > > Pedro Janssen > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Wed Nov 26 13:58:57 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Wed, 26 Nov 2003 14:58:57 -0500 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <3FC4F545.2040205@shaw.ca> Message-ID: <001501c3b457$bd08c990$9301110a@ql130> Also: www.4guysfromrolla.com www.15seconds.com www.coveryourasp.com Also go to www.planetsourcecode.com in the ASP/VB Script world. You will find tons of small asp samples. You will have to decide on wich technology you want to work/learn with: Traditional ASP or ASP.Net. If you want to develop/test on your machine, you will need IIS (Internet Information Server) installed on it. IIS comes with WinXP Professional and Win2000. Be careful, WinXP Home does *NOT* have IIS bundled with it and you cannot d/l it separately. If you are using Win 98 or below you will need PWS (Personal Web Server) from Microsoft. Do *NOT* install PWS on a WinXP machine. To use ASP.Net you will need to d/l the .NET Framework from Microsoft's site and you will need IIS. You do not need Visual Studio .Net to code in .Net but it's easier if you have it because you can see all the references while you code. Learning/working with ASP/ASP.Net is really really fun (at least it's been for me). Good luck, Steve -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de MartyConnelly Envoy??: 26 novembre 2003 13:48 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] OT - Getting started with Web development Oh yes and these sites http://www.aspfree.com http:/www.asp101.com http://www.w3schools.com http://www.aspwire.com and maybe here http://www.databasejournal.com/features/msaccess/ MartyConnelly wrote: > You might want to look at the project code samples and articles from > http://www.asptoday.com > It has a cost of $100 a year but really good, if just starting out, > with long specific examples. > Has had problems in last 6 months since previous owner Wrox went down > the drain. > There are free sample articles available on a weekly basis. > > paul.hartland at fsmail.net wrote: > >> To all, >> I'm looking to start writing web pages etc, secure logins, returning >> resultsets in tables from Access & SQL Server etc. >> Anyone know any good sites to get me started along with any book >> recommendations ? >> Thanks in advance for all your help >> Paul Hartland >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 26 14:13:45 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 15:13:45 -0500 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net><000c01c3b438$b3c73110$6001a8c0@dejpolsys> <000d01c3b456$962acb80$f4c581d5@pedro> Message-ID: <001001c3b459$cb74e2f0$6001a8c0@dejpolsys> ...don't know what you're looking at Pedro but the control acts just like a text box ...you can bind it to a record source, etc. William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 2:49 PM Subject: Re: [AccessD] rotate text > The example on the website you mentioned, only works on labels, not on > textboxes. > I did found this rotate text example before on other websites. > Maybe its an option to make a label from the value in the textbox by code. > But i don't know if its possible and who knows how to do it. > > Pedro > > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 26, 2003 5:16 PM > Subject: Re: [AccessD] rotate text > > > > www.lebans.com > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: > > To: > > Sent: Wednesday, November 26, 2003 4:52 PM > > Subject: [AccessD] rotate text > > > > > > > Hello Group, > > > > > > i have a report on which adress-labels are shown. 1 label each. I want > to > > use a dynamo label printer. The problem is that the labels of this printer > > are vertical. Is there a way to rotate text from a textbox on a report. > > > > > > TIA > > > > > > Pedro Janssen > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomk at multiline.com.au Wed Nov 26 14:20:51 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Thu, 27 Nov 2003 04:20:51 +0800 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: <004601c3b45a$cb689170$0300a8c0@print> > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I want to use a dynamo label printer. The problem is that the labels of this printer are vertical. Is there a way to rotate text from a textbox on a report. I have been using TILT 1.2 for a couple of years to rotate text on a report... its a great little control and best of all FREE. Its much better than the commercial control from a company beginning with F... Its pretty self explanatory in the sample db included in the download but if you need any help with it let me know .... http://home.planet.nl/~cruqsoft/tilt.htm REgards Tom Keatley From john at winhaven.net Wed Nov 26 14:33:34 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 14:33:34 -0600 Subject: [AccessD] rotate text In-Reply-To: <000d01c3b456$962acb80$f4c581d5@pedro> Message-ID: Pedro, I assumed you wanted to rotate the text for printout only (not the text in the control). Is this correct? If so I'll send you some code. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Wednesday, November 26, 2003 1:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] rotate text > > > The example on the website you mentioned, only works on labels, not on > textboxes. > I did found this rotate text example before on other websites. > Maybe its an option to make a label from the value in the textbox by code. > But i don't know if its possible and who knows how to do it. > > Pedro > > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 26, 2003 5:16 PM > Subject: Re: [AccessD] rotate text > > > > www.lebans.com > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: > > To: > > Sent: Wednesday, November 26, 2003 4:52 PM > > Subject: [AccessD] rotate text > > > > > > > Hello Group, > > > > > > i have a report on which adress-labels are shown. 1 label each. I want > to > > use a dynamo label printer. The problem is that the labels of > this printer > > are vertical. Is there a way to rotate text from a textbox on a report. > > > > > > TIA > > > > > > Pedro Janssen > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Wed Nov 26 15:01:41 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 26 Nov 2003 13:01:41 -0800 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: You got some good sites, but as for "tools", I highly recommend Dreamweaver. It's not cheap but it's made me so enthusiastic about doing web development, that I've now got 10 sites - and two of them I get paid for. If it sounds interesting to you, go to: http://www.blueworld.com/blueworld/lists/dreamweaver.html and subscribe to the Dreamweaver list. It's like a "family" there, very much like the DBA "family". Lots of professionals, as well as beginners - even a couple of Macromedia people. Everything you want to do has been discussed on the list, so lots of help. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > paul.hartland at fsmail.net > Sent: 26 Nov 2003 7:55:AM > To: accessd > Subject: [AccessD] OT - Getting started with Web development > > > To all, > I'm looking to start writing web pages etc, secure logins, returning resultsets in > tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any book recommendations ? > Thanks in advance for all your help > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Wed Nov 26 15:15:49 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 27 Nov 2003 10:15:49 +1300 Subject: [AccessD] middle X and Y coordinates Message-ID: <70F3D727890C784291D8433E9C418F298F3B@server.bondsoftware.co.nz> Yes, I assumed the X and Y would be numbers. However, I have changed the table fields to Text(10), re-run the query and it still works OK. Sending a small MDB (A2K) to you off-line. Stephen Bond > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Thursday, 27 November 2003 8:43 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] middle X and Y coordinates > > > Hello Stephen, > > i get 0 as result. Something is going wrong. > The fields normally are text fields. > I changed them into Number fields, Double, 3 decimal places. > I added two fields. MidX and MidY. > Made an update query and updated MidX and -Y. with Int([x or > y]/2500+0.5)*2500 > > What is going wrong? > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Stephen Bond" > To: > Sent: Tuesday, November 25, 2003 8:21 PM > Subject: [AccessD] middle X and Y coordinates > > > > Pedro, > > > > If you want the numbers to the nearest 2500, in the query > put 2 derived > fields > > > > MidX: Int([x]/2500+0.5)*2500 > > MidY: Int([y]/2500+0.5)*2500 > > > > Does this answer your question? > > > > Stephen Bond > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 26 15:18:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:18:21 -0600 Subject: [AccessD] Archive Ooops.... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275FF@main2.marlow.com> I probably wouldn't have even noticed, but I was hunting down memory issues on my server, and realized that service was put on Manual for some reason....oops! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, November 25, 2003 7:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive Ooops.... Thanks for staying on top of that Drew, the searchable archives are a great asset to this community. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Tuesday, November 25, 2003 5:22 PM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Archive Ooops.... > > > Apparently my 'indexer' hasn't been running since late september. So > searches on messages since then would have produced nothing. Fixed the > problem earlier today, and now the indexing is all caught up. Oooops. > > 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 Wed Nov 26 15:19:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:19:32 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227600@main2.marlow.com> ASP? Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeget at vgernet.net Wed Nov 26 15:36:38 2003 From: joeget at vgernet.net (John Eget) Date: Wed, 26 Nov 2003 16:36:38 -0500 Subject: [AccessD] backend application protection Message-ID: <001d01c3b465$6371ba00$3dc2f63f@Desktop> I have a split (backend on server and front end on individuals PC) access 2000 application that I would like to protect the backend from having people use the shift key bypass option to open the database in design mode and have individuals play with the backend tables. Does anyone have a solution to this? Would I still be able to do design/work myself if needed? I found someone in the database tables today just cruising around out of curiosity Thanks in advance John From john at winhaven.net Wed Nov 26 15:35:04 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 15:35:04 -0600 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275FF@main2.marlow.com> Message-ID: I meant to ask you a couple of times about it. I searched on things that I know we just discussed but I couldn't find them! But I thought I was just bad at searching :o) jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, November 26, 2003 3:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Archive Ooops.... > > > I probably wouldn't have even noticed, but I was hunting down > memory issues > on my server, and realized that service was put on Manual for some > reason....oops! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Tuesday, November 25, 2003 7:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Archive Ooops.... > > > Thanks for staying on top of that Drew, the searchable archives > are a great > asset to this community. > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Tuesday, November 25, 2003 5:22 PM > > To: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Archive Ooops.... > > > > > > Apparently my 'indexer' hasn't been running since late september. So > > searches on messages since then would have produced nothing. Fixed the > > problem earlier today, and now the indexing is all caught up. Oooops. > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Wed Nov 26 15:43:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:43:43 -0600 Subject: [AccessD] backend application protection Message-ID: <2F8793082E00D4119A1700B0D0216BF802227601@main2.marlow.com> Use code to disable the shift bypass key. (Help file, look for AllowShiftBypassKey). Then just make an AutoExec macro that has the command Quit. Drew -----Original Message----- From: John Eget [mailto:joeget at vgernet.net] Sent: Wednesday, November 26, 2003 3:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] backend application protection I have a split (backend on server and front end on individuals PC) access 2000 application that I would like to protect the backend from having people use the shift key bypass option to open the database in design mode and have individuals play with the backend tables. Does anyone have a solution to this? Would I still be able to do design/work myself if needed? I found someone in the database tables today just cruising around out of curiosity Thanks in advance John _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Nov 26 15:49:28 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:49:28 -0600 Subject: [AccessD] Archive Ooops.... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227602@main2.marlow.com> Hehehe. I know. It's a two step process. My print server has the Archiver service, which logs into our mailserver (at work here) through a VPN, looks for new messages (in the normal folder and an archive folder), it then dumps the new mail into the database, and marks them as archived (by setting a subject). That runs every 2 hours. Sort of. I have something running for Mike Mattys that is run through that process, and if it kicks off, it can take an hour or two before the archiving actually occurs. The second process is the indexer (which is what indexes the memo fields that the messages are stored in.). That indexer runs on my main server, and runs every hour, but only indexes 200 messages at a time. (Because it takes about 10 to 20 minutes to index 200 messages, and I didn't want the indexer to hog the server). What actually happened was for some reason, I set the index tables to have a max field size of 100 on the word tables. Someone posted a word over that limit, cause it was erroring by saying that the data was too big for the field. So yesterday, I set the field limit to 255 on all the index tables, and kicked off the indexer service again. Why I set it to 100, I don't know. It doesn't really matter, cause Access doesn't take up extra space, I guess I just thought there would never be a word bigger then 100 characters. Now that I think about it, I wonder what word caused the problem! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, November 26, 2003 3:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive Ooops.... I meant to ask you a couple of times about it. I searched on things that I know we just discussed but I couldn't find them! But I thought I was just bad at searching :o) jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, November 26, 2003 3:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Archive Ooops.... > > > I probably wouldn't have even noticed, but I was hunting down > memory issues > on my server, and realized that service was put on Manual for some > reason....oops! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Tuesday, November 25, 2003 7:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Archive Ooops.... > > > Thanks for staying on top of that Drew, the searchable archives > are a great > asset to this community. > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Tuesday, November 25, 2003 5:22 PM > > To: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Archive Ooops.... > > > > > > Apparently my 'indexer' hasn't been running since late september. So > > searches on messages since then would have produced nothing. Fixed the > > problem earlier today, and now the indexing is all caught up. Oooops. > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 26 16:02:46 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 16:02:46 -0600 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227602@main2.marlow.com> Message-ID: Sounds like a non-word to me! If you know what mean. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, November 26, 2003 3:49 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Archive Ooops.... > > > Hehehe. I know. It's a two step process. My print server has > the Archiver > service, which logs into our mailserver (at work here) through a > VPN, looks > for new messages (in the normal folder and an archive folder), it > then dumps > the new mail into the database, and marks them as archived (by setting a > subject). That runs every 2 hours. Sort of. I have something > running for > Mike Mattys that is run through that process, and if it kicks off, it can > take an hour or two before the archiving actually occurs. The second > process is the indexer (which is what indexes the memo fields that the > messages are stored in.). That indexer runs on my main server, and runs > every hour, but only indexes 200 messages at a time. (Because it > takes about > 10 to 20 minutes to index 200 messages, and I didn't want the > indexer to hog > the server). > > What actually happened was for some reason, I set the index > tables to have a > max field size of 100 on the word tables. Someone posted a word over that > limit, cause it was erroring by saying that the data was too big for the > field. So yesterday, I set the field limit to 255 on all the > index tables, > and kicked off the indexer service again. Why I set it to 100, I don't > know. It doesn't really matter, cause Access doesn't take up > extra space, I > guess I just thought there would never be a word bigger then 100 > characters. > Now that I think about it, I wonder what word caused the problem! > > Drew > From john at winhaven.net Wed Nov 26 16:04:56 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 16:04:56 -0600 Subject: [AccessD] backend application protection In-Reply-To: <001d01c3b465$6371ba00$3dc2f63f@Desktop> Message-ID: John: What I do is have my standard info screen as the start up form. That form has two small transparent command buttons (cmdABKT and cmdABKF) on it in a place no one thinks to double click. These allow me to set the bypass key on or off as I need to. (The database window is hidden on startup of course) You could just have a security warning form come up too. Heck, you could even log the system user name while your at it, maybe even tell them your logging it. Have some fun, scare the jeebies out of them! :o) Here's the code I use, if you find any gaping wholes in it or something let me know. John B. Code Start -------------------------------------------------- Private Sub cmdABKT_DblClick(intCancel As Integer) ' Comments : turns on bypass key option ChangeProperty "AllowBypassKey", dbBoolean, True End Sub Private Sub cmdABKF_DblClick(intCancel As Integer) ' Comments : turns off bypass key option ChangeProperty "AllowBypassKey", dbBoolean, False End Sub Function ChangeProperty(strPropName As String, varPropType As Variant, varPropValue As Variant) As Integer ' Comments : changes submitted property value ' Parameters : strPropName ' varPropType ' varPropValue - ' Returns : Integer - Dim dbs As Database Dim prp As Property Dim strMsg As String Dim varReturn As Variant Const conPropNotFoundError As Long = 3270 Set dbs = CurrentDb On Error GoTo Change_Err 'set property dbs.Properties(strPropName) = varPropValue 'read property Set prp = dbs.Properties(strPropName) strMsg = prp MsgBox strMsg ChangeProperty = True Change_Exit: Exit Function Change_Err: If Err = conPropNotFoundError Then ' Property not found. Set prp = dbs.CreateProperty(strPropName, varPropType, varPropValue) dbs.Properties.Append prp Resume Next Else ' Unknown error. ChangeProperty = False Resume Change_Exit End If End Function -------------------------------------------------- Code End From john at winhaven.net Wed Nov 26 16:15:09 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 16:15:09 -0600 Subject: [AccessD] backend application protection In-Reply-To: Message-ID: Oops, I forgot to mention that I also minimize the Access Window so only the Pop-up form is showing. That's a lot of code to post though so If you're interested let me know. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Wednesday, November 26, 2003 4:05 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] backend application protection > > > John: > What I do is have my standard info screen as the start up form. That form > has two small transparent command buttons (cmdABKT and cmdABKF) on it in a > place no one thinks to double click. These allow me to set the > bypass key on > or off as I need to. (The database window is hidden on startup of course) > > You could just have a security warning form come up too. Heck, you could > even log the system user name while your at it, maybe even tell them your > logging it. Have some fun, scare the jeebies out of them! > :o) > > Here's the code I use, if you find any gaping wholes in it or > something let > me know. > > John B. > > Code Start > -------------------------------------------------- > Private Sub cmdABKT_DblClick(intCancel As Integer) > ' Comments : turns on bypass key option > ChangeProperty "AllowBypassKey", dbBoolean, True > End Sub > > Private Sub cmdABKF_DblClick(intCancel As Integer) > ' Comments : turns off bypass key option > ChangeProperty "AllowBypassKey", dbBoolean, False > End Sub > > Function ChangeProperty(strPropName As String, varPropType As Variant, > varPropValue As Variant) As Integer > ' Comments : changes submitted property value > ' Parameters : strPropName > ' varPropType > ' varPropValue - > ' Returns : Integer - > Dim dbs As Database > Dim prp As Property > Dim strMsg As String > Dim varReturn As Variant > Const conPropNotFoundError As Long = 3270 > Set dbs = CurrentDb > On Error GoTo Change_Err > 'set property > dbs.Properties(strPropName) = varPropValue > 'read property > Set prp = dbs.Properties(strPropName) > strMsg = prp > MsgBox strMsg > ChangeProperty = True > Change_Exit: > Exit Function > Change_Err: > If Err = conPropNotFoundError Then ' Property not found. > Set prp = dbs.CreateProperty(strPropName, varPropType, varPropValue) > dbs.Properties.Append prp > Resume Next > Else > ' Unknown error. > ChangeProperty = False > Resume Change_Exit > End If > End Function > -------------------------------------------------- > Code End > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Wed Nov 26 16:54:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 16:54:33 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227603@main2.marlow.com> Paul, I have been developing ASP project for quite some time now. I think I can narrow down what you REALLY need to know to get started. First of all, before you dig into web development, you MUST understand how a web server and web pages work. It is a whole different ball of wax compared to an Access FE. With an Access FE, you create forms and reports, and each user has a copy (or uses a shared FE) of the front end. This has several drawbacks. First of all, if you have copies of the FE all over, you have to create an update process to push out new changes. If you have a shared FE, then you have to kick everyone out to update the process. On top of that, a user can be anywhere, so there can always be issues of where things are located. One user may have a share mapped to S, while another has it mapped to T. UNC's can handle this, but then there is also the issue of whether people are able to even get to the locations involved. On a web server, all of these issues are moot. The way a web server works, is the client opens their browser and requests a web page. Let's say they go to http://MyWebsite.com. The browser does a few things, one of which is it sends an http request to the server sitting at whatever mywebsite.com resolves too. (http is Hyper Text Transfer Protocol. HTML is Hyper Text Markup Language. So, HTTP is the protocol uses to transport HTML.). The server at the other end gets an http request for it's root directory. Notice the URL doesn't have a specific file (this is a KEY point to remember). That is just fine and dandy, because a webserver can be asked for a page by just the 'folder', since each folder can have a default document setup. In most cases it is index.htm or default.asp, but it can quite frankly be any document you want (or even a list of documents). For our example, let's say it's default.asp. The web server then reads the default.asp page and runs it through it's ISAPI filters. These are filters that cause various things to be done to the HTML that is going to be sent back. Two good examples of this are includes and ASP itself. Includes are when you mark another file or files to be included within the document. So, if you have a header that you want on every page, instead of putting the HTML for that header on every page, you put the header in it's own file, and just include it in all of your pages. The include ISAPI filter then incorporates that HTML in the outgoing HTML. You can also include .asp code, similar to putting code in a module, versus behind every form/report. The ASP ISAPI filter is a little more complex. Instead of just replacing text, it actually 'works' the ASP code on the page. This is the CORE of ASP. What the end user get's, is just the outgoing HTML. They never get the ASP code itself. ASP can either be passive or dynamic. My own terms for the two actions ASP can perform. Passive is when the ASP does something that the users can't see. Dynamic is when ASP does something that the users DO see. For example. If the default.asp page was like this: <% dim cnn dim rs dim strSQL set cnn=server.createobject("ADODB.Connection") set rs=server.createobject("ADODB.Recordset") cnn.Provider="Microsoft.Jet.OLEDB.4.0" cnn.Open "E:\MyDB.mdb" strSQL="SELECT Hit FROM tblHits;" rs.Open strSQL,cnn,1,3 rs.AddNew rs.Fields(0).value=1 rs.Update rs.close set rs=nothing cnn.close set cnn=nothing %> Hello The end user will get a page that says hello, but internally, the ASP page has added a record to a database, in this case, a simple hit counter. This is passive, since the user will always get 'Hello', no matter what they do. The ASP code is doing work, but it's something the end user doesn't see. Dynamic ASP pages are where the output the user sees is directly affected by the ASP code. To do this, you must either use the = symbol (which is a shortcut to have the ASP send something out with the resulting HTML stream), or the response.write procedure. For example, let's have default.asp be this: <% dim strIP strIP=request.ServerVariables("REMOTE_ADDR") %> Your IP Address is: <%=strIP%>
<% response.write "Have a nice day." %> What the user will see is a message that has their IP address, like this: Your IP Address is: 65.65.125.209 Have a nice day. We used the equal since to 'insert' something into the normal HTML with ASP, and then we used response.write to directly output a string into the outgoing HTML stream. The last thing to remember when dealing with a web server is that the end users are getting whatever the web server hands out, the moment they request it. Once they get the resulting HTML stream, and their browser displays the page, there is no longer a connection to the file they requested. That means if you are constantly updating asp pages, the end users will just simply get the 'current' results at the time of their request. No kicking everyone out, etc. Pretty handy. Three more items to cover. Above was the biggie. First of the three. HTML. HTML is actually pretty simple. I personally used Front Page when I started out, to let it do the HTML for me, then after a few months of going back and forth, I just got the hang of it, and I rarely ever use FP for writing the HTML anymore. The two key items to remember with HTML is that everything is written with tags. Some tags are stand alone, such as
(which is a line break), and some tags must have a start and finish ( and , or an easier example and which is for bolding text). Tags also can have properties. For example, an anchor tag (for hyperlinks) is a. Click here to go to Wolfwares.com , and between the start tag, and the closing tag , there is text, which is what the user will see as the text of the hyperlink. The second key item to remember with HTML is that no matter what format you write the HTML in, what the user sees in the browser is determine by the TAGS, not by the HTML code. So if you write: This is a Test The user sees: This is a Test If you write: This is a
Test The user sees: This is a Test Second of the three is a BIG difference between Access and ASP. Access runs it's code on the users processor. This is both good and bad. Bad, because the end user must have Access (or a run-time installed). Also, bad because users on slower machines are going to be delayed longer then users on fast machines. Good, because as long as the end users have the correct software/runtimes, your application should almost be gauranteed to work. With ASP, if you write standard HTML, it doesn't matter what you have the ASP code do. Your ASP code only has to run on the web server. Your clients can be running Pentium 4's, with IE, or Mac's with Netscape, and everyone sees the same results. A client running a 2.6 gigahertz on a 56k modem is going to run your application at the same speed (well, pretty much the same speed) as a client running a 486 66mhz with a 56k modem. In fact, if your pages are light enough on the output (little to no graphics, just plain HTML.....) there isn't going to be much of a difference between a modem user or a broad band user. Text transfers pretty quickly....though you could have slow downs if there is just a ton of text being sent (like combo boxes that have thousands of items in their lists). The final issue with this part is client side scripting. I personally stay away from it like the plague, unless it's for in house projects where I know everyone is using IE. So try to make your applications run strictly with ASP, unless absolutely necessary. Third of the three. The real nuts and bolts of ASP. ASP can be written in JScript or VBScript. Quite frankly I have never bothered to use JScript, since VBScript is practically second nature. When writting ASP, you enclose the ASP code with <% and %> (start and end tags for ASP), and then write away with VBScript. There are two things to remember/research. ASP is VBScript with extra objects (Application, ObjectContext,Request,ASPError,Response,Server,Session). The three you are going to deal with the most are Request, Response and Server. Request gives you access to what you have been 'sent' by the user. It can be used to read cookies, server variables (which include Usernames, passwords,IP Addresses, browser types, etc.), and form data. Response is what you use to send data back to the user (response.write outputs to the HTML stream, redirect can actually change the URL the end user is receiving, etc.). Server is the webserver itself. The two main methods you will probably use are MapPath(Which let's you map a virtual or actual path to a file) and CreateObject. That CreateObject is the big catch with ASP and VBScript. In normal VBScript you just call CreateObject. But with ASP, you must use the Server Object's CreateObject method to create an object in VBScript. (Because the object must be created by the webserver). That's ASP in a nutshell. The first item I talked about is a little difficult to figure out from the MSDN, the rest is in the MSDN, but can still be a little difficult to figure out. The details on everything (HTML tags, ASP objects, etc.) are pretty much well explained in the MSDN though. The last thing you will need to know about ASP pages versus Access FE's is how to get data FROM the user. (we already discussed sending it to them, with the response.write method). I mentioned the request object. The two methods of getting data from the user are through forms and querystrings. A querystring is what follows a URL (after a ?). So, if you have a URL like this: http://MyWebsite.com/default.asp?MyValue=10 , you can retrieve the value of MyValue by using the request.QueryString method, like this: <% response.write request.QueryString("MyValue") %> If you have an HTML form, and you POST the data:
The resulting page will have a textbox, and a submit button. Pressing the submit button will send the data within the MyValue textbox to results.asp. So if results.asp was this: <% response.write request.form("MyValue") %> The results page will output whatever was in the textbox. The key difference between a QueryString and a Form is that QueryStrings are limited by the max length of a URL (which is, I think, 2048 characters...maybe 1024 characters, not sure). Where as a form is not limited in the amount of data that can be submitted. You can also refer to a request 'variable' by just the request object. request("MyValue") can be a value in either a QueryString OR a Form. Phew, what an email. This was fun to write though. Keep in mind that ASP doesn't directly like DAO, so write your code using ADO. Feel free to contact me offlist if you have specific questions. I may get hammered for the length of this email, but I think it's pertinent to Access development on the web! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 26 19:25:36 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 26 Nov 2003 17:25:36 -0800 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227603@main2.marlow.com> Message-ID: Hi Drew: Have you ever thought about writing a book on the subject...You have finished chapter one. ...I teasing... :-) Very good introductory Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, November 26, 2003 2:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Getting started with Web development Paul, I have been developing ASP project for quite some time now. I think I can narrow down what you REALLY need to know to get started. First of all, before you dig into web development, you MUST understand how a web server and web pages work. It is a whole different ball of wax compared to an Access FE. With an Access FE, you create forms and reports, and each user has a copy (or uses a shared FE) of the front end. This has several drawbacks. First of all, if you have copies of the FE all over, you have to create an update process to push out new changes. If you have a shared FE, then you have to kick everyone out to update the process. On top of that, a user can be anywhere, so there can always be issues of where things are located. One user may have a share mapped to S, while another has it mapped to T. UNC's can handle this, but then there is also the issue of whether people are able to even get to the locations involved. On a web server, all of these issues are moot. The way a web server works, is the client opens their browser and requests a web page. Let's say they go to http://MyWebsite.com. The browser does a few things, one of which is it sends an http request to the server sitting at whatever mywebsite.com resolves too. (http is Hyper Text Transfer Protocol. HTML is Hyper Text Markup Language. So, HTTP is the protocol uses to transport HTML.). The server at the other end gets an http request for it's root directory. Notice the URL doesn't have a specific file (this is a KEY point to remember). That is just fine and dandy, because a webserver can be asked for a page by just the 'folder', since each folder can have a default document setup. In most cases it is index.htm or default.asp, but it can quite frankly be any document you want (or even a list of documents). For our example, let's say it's default.asp. The web server then reads the default.asp page and runs it through it's ISAPI filters. These are filters that cause various things to be done to the HTML that is going to be sent back. Two good examples of this are includes and ASP itself. Includes are when you mark another file or files to be included within the document. So, if you have a header that you want on every page, instead of putting the HTML for that header on every page, you put the header in it's own file, and just include it in all of your pages. The include ISAPI filter then incorporates that HTML in the outgoing HTML. You can also include .asp code, similar to putting code in a module, versus behind every form/report. The ASP ISAPI filter is a little more complex. Instead of just replacing text, it actually 'works' the ASP code on the page. This is the CORE of ASP. What the end user get's, is just the outgoing HTML. They never get the ASP code itself. ASP can either be passive or dynamic. My own terms for the two actions ASP can perform. Passive is when the ASP does something that the users can't see. Dynamic is when ASP does something that the users DO see. For example. If the default.asp page was like this: <% dim cnn dim rs dim strSQL set cnn=server.createobject("ADODB.Connection") set rs=server.createobject("ADODB.Recordset") cnn.Provider="Microsoft.Jet.OLEDB.4.0" cnn.Open "E:\MyDB.mdb" strSQL="SELECT Hit FROM tblHits;" rs.Open strSQL,cnn,1,3 rs.AddNew rs.Fields(0).value=1 rs.Update rs.close set rs=nothing cnn.close set cnn=nothing %> Hello The end user will get a page that says hello, but internally, the ASP page has added a record to a database, in this case, a simple hit counter. This is passive, since the user will always get 'Hello', no matter what they do. The ASP code is doing work, but it's something the end user doesn't see. Dynamic ASP pages are where the output the user sees is directly affected by the ASP code. To do this, you must either use the = symbol (which is a shortcut to have the ASP send something out with the resulting HTML stream), or the response.write procedure. For example, let's have default.asp be this: <% dim strIP strIP=request.ServerVariables("REMOTE_ADDR") %> Your IP Address is: <%=strIP%>
<% response.write "Have a nice day." %> What the user will see is a message that has their IP address, like this: Your IP Address is: 65.65.125.209 Have a nice day. We used the equal since to 'insert' something into the normal HTML with ASP, and then we used response.write to directly output a string into the outgoing HTML stream. The last thing to remember when dealing with a web server is that the end users are getting whatever the web server hands out, the moment they request it. Once they get the resulting HTML stream, and their browser displays the page, there is no longer a connection to the file they requested. That means if you are constantly updating asp pages, the end users will just simply get the 'current' results at the time of their request. No kicking everyone out, etc. Pretty handy. Three more items to cover. Above was the biggie. First of the three. HTML. HTML is actually pretty simple. I personally used Front Page when I started out, to let it do the HTML for me, then after a few months of going back and forth, I just got the hang of it, and I rarely ever use FP for writing the HTML anymore. The two key items to remember with HTML is that everything is written with tags. Some tags are stand alone, such as
(which is a line break), and some tags must have a start and finish ( and , or an easier example and which is for bolding text). Tags also can have properties. For example, an anchor tag (for hyperlinks) is a. Click here to go to Wolfwares.com , and between the start tag, and the closing tag , there is text, which is what the user will see as the text of the hyperlink. The second key item to remember with HTML is that no matter what format you write the HTML in, what the user sees in the browser is determine by the TAGS, not by the HTML code. So if you write: This is a Test The user sees: This is a Test If you write: This is a
Test The user sees: This is a Test Second of the three is a BIG difference between Access and ASP. Access runs it's code on the users processor. This is both good and bad. Bad, because the end user must have Access (or a run-time installed). Also, bad because users on slower machines are going to be delayed longer then users on fast machines. Good, because as long as the end users have the correct software/runtimes, your application should almost be gauranteed to work. With ASP, if you write standard HTML, it doesn't matter what you have the ASP code do. Your ASP code only has to run on the web server. Your clients can be running Pentium 4's, with IE, or Mac's with Netscape, and everyone sees the same results. A client running a 2.6 gigahertz on a 56k modem is going to run your application at the same speed (well, pretty much the same speed) as a client running a 486 66mhz with a 56k modem. In fact, if your pages are light enough on the output (little to no graphics, just plain HTML.....) there isn't going to be much of a difference between a modem user or a broad band user. Text transfers pretty quickly....though you could have slow downs if there is just a ton of text being sent (like combo boxes that have thousands of items in their lists). The final issue with this part is client side scripting. I personally stay away from it like the plague, unless it's for in house projects where I know everyone is using IE. So try to make your applications run strictly with ASP, unless absolutely necessary. Third of the three. The real nuts and bolts of ASP. ASP can be written in JScript or VBScript. Quite frankly I have never bothered to use JScript, since VBScript is practically second nature. When writting ASP, you enclose the ASP code with <% and %> (start and end tags for ASP), and then write away with VBScript. There are two things to remember/research. ASP is VBScript with extra objects (Application, ObjectContext,Request,ASPError,Response,Server,Session). The three you are going to deal with the most are Request, Response and Server. Request gives you access to what you have been 'sent' by the user. It can be used to read cookies, server variables (which include Usernames, passwords,IP Addresses, browser types, etc.), and form data. Response is what you use to send data back to the user (response.write outputs to the HTML stream, redirect can actually change the URL the end user is receiving, etc.). Server is the webserver itself. The two main methods you will probably use are MapPath(Which let's you map a virtual or actual path to a file) and CreateObject. That CreateObject is the big catch with ASP and VBScript. In normal VBScript you just call CreateObject. But with ASP, you must use the Server Object's CreateObject method to create an object in VBScript. (Because the object must be created by the webserver). That's ASP in a nutshell. The first item I talked about is a little difficult to figure out from the MSDN, the rest is in the MSDN, but can still be a little difficult to figure out. The details on everything (HTML tags, ASP objects, etc.) are pretty much well explained in the MSDN though. The last thing you will need to know about ASP pages versus Access FE's is how to get data FROM the user. (we already discussed sending it to them, with the response.write method). I mentioned the request object. The two methods of getting data from the user are through forms and querystrings. A querystring is what follows a URL (after a ?). So, if you have a URL like this: http://MyWebsite.com/default.asp?MyValue=10 , you can retrieve the value of MyValue by using the request.QueryString method, like this: <% response.write request.QueryString("MyValue") %> If you have an HTML form, and you POST the data:
The resulting page will have a textbox, and a submit button. Pressing the submit button will send the data within the MyValue textbox to results.asp. So if results.asp was this: <% response.write request.form("MyValue") %> The results page will output whatever was in the textbox. The key difference between a QueryString and a Form is that QueryStrings are limited by the max length of a URL (which is, I think, 2048 characters...maybe 1024 characters, not sure). Where as a form is not limited in the amount of data that can be submitted. You can also refer to a request 'variable' by just the request object. request("MyValue") can be a value in either a QueryString OR a Form. Phew, what an email. This was fun to write though. Keep in mind that ASP doesn't directly like DAO, so write your code using ADO. Feel free to contact me offlist if you have specific questions. I may get hammered for the length of this email, but I think it's pertinent to Access development on the web! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Wed Nov 26 20:22:15 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Thu, 27 Nov 2003 13:22:15 +1100 Subject: [AccessD] backend application protection Message-ID: John, We use an application at our place of business written by one John Colby (list frequenter) It allows us to protect the backend from users but also open with bypass when necessary. If John Colby is watching maybe he can enlighten you as to the workings of or how to obtain same. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange NSW Australia This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From wdhindman at bellsouth.net Wed Nov 26 20:58:35 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 21:58:35 -0500 Subject: [AccessD] backend application protection References: Message-ID: <000401c3b492$594ab900$6001a8c0@dejpolsys> ...lol ...JC ..."list frequenter" ...heck Connie, JC and Lembit (with a few others) invented the current version of AccessD :) www.colbyconsulting.com William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 9:22 PM Subject: Re: [AccessD] backend application protection > John, > We use an application at our place of business written by one John Colby > (list frequenter) > It allows us to protect the backend from users but also open with bypass > when necessary. > > If John Colby is watching maybe he can enlighten you as to the workings of > or how to obtain same. > > Connie Kamrowski > > Analyst/Programmer > Information Technology > NSW Agriculture > Orange NSW > Australia > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. Views > expressed are those of the individual sender and are not necessarily the > views of their organisation. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Thu Nov 27 02:34:51 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 27 Nov 2003 03:34:51 -0500 Subject: [AccessD] backend application protection In-Reply-To: Message-ID: The program to which Connie refers is called C2DbProperties. It can be found on my web site. It is a standalone application which allows you to set the database properties of any mda/b/e from outside of that mda/b/e. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of connie.kamrowski at agric.nsw.gov.au Sent: Wednesday, November 26, 2003 9:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] backend application protection John, We use an application at our place of business written by one John Colby (list frequenter) It allows us to protect the backend from users but also open with bypass when necessary. If John Colby is watching maybe he can enlighten you as to the workings of or how to obtain same. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange NSW Australia This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 27 04:48:59 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 27 Nov 2003 11:48:59 +0100 Subject: [AccessD] Connect Access to Database of Windows Media Player 9 Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF4E@stekelbes.ithelps.local> Has anyone ever tried (succesfully) to link Access to the Windows Media Player Database? If this is evenposible? For read and write? I'm putting my whole CD/Vinyl collection on pc and want to print labels and lists for storage purposes so if I'm looking for the physical media I know where to search (Rack/Box). Adding some barcode labels to each media would be a thing too... But I still want to use WMP9 as the main database. Greetz Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From andy at minstersystems.co.uk Thu Nov 27 05:12:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Nov 2003 11:12:25 -0000 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227603@main2.marlow.com> Message-ID: <015d01c3b4d7$56e4f640$b274d0d5@minster33c3r25> No Way you're going to "get hammered". The mods may take a (friendly) stick to you sometimes when you go off on one about beer, traffic or whatever but rest assured we hugely appreciate the efforts you make to help people on this list. And I second Jim's call - Write a book, or at least a series of aticles for Many-To-Many. Susan's tking of another issue soon so this would be a terrific subject. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 26 November 2003 22:55 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT - Getting started with Web development > > > Paul, I have been developing ASP project for quite some time > now. I think I can narrow down what you REALLY need to know > to get started. > > First of all, before you dig into web development, you MUST > understand how a web server and web pages work. It is a > whole different ball of wax compared to an Access FE. With > an Access FE, you create forms and reports, and each user has > a copy (or uses a shared FE) of the front end. This has > several drawbacks. First of all, if you have copies of the > FE all over, you have to create an update process to push out > new changes. If you have a shared FE, then you have to kick > everyone out to update the process. On top of that, a user > can be anywhere, so there can always be issues of where > things are located. One user may have a share mapped to S, > while another has it mapped to T. UNC's can handle this, but > then there is also the issue of whether people are able to > even get to the locations involved. On a web server, all of > these issues are moot. > > The way a web server works, is the client opens their browser > and requests a web page. Let's say they go to > http://MyWebsite.com. The browser does a few things, one of > which is it sends an http request to the server sitting at > whatever mywebsite.com resolves too. (http is Hyper Text > Transfer Protocol. HTML is Hyper Text Markup Language. So, > HTTP is the protocol uses to transport HTML.). The server at > the other end gets an http request for it's root directory. > Notice the URL doesn't have a specific file (this is a KEY > point to remember). That is just fine and dandy, because a > webserver can be asked for a page by just the 'folder', since > each folder can have a default document setup. In most cases > it is index.htm or default.asp, but it can quite frankly be > any document you want (or even a list of documents). For our > example, let's say it's default.asp. The web server then > reads the default.asp page and runs it through it's ISAPI > filters. These are filters that cause various things to be > done to the HTML that is going to be sent back. Two good > examples of this are includes and ASP itself. Includes are > when you mark another file or files to be included within the > document. So, if you have a header that you want on every > page, instead of putting the HTML for that header on every > page, you put the header in it's own file, and just include > it in all of your pages. The include ISAPI filter then > incorporates that HTML in the outgoing HTML. You can also > include .asp code, similar to putting code in a module, > versus behind every form/report. The ASP ISAPI filter is a > little more complex. Instead of just replacing text, it > actually 'works' the ASP code on the page. > > This is the CORE of ASP. What the end user get's, is just > the outgoing HTML. They never get the ASP code itself. ASP > can either be passive or dynamic. My own terms for the two > actions ASP can perform. Passive is when the ASP does > something that the users can't see. Dynamic is when ASP does > something that the users DO see. For example. If the > default.asp page was like this: > > <% > dim cnn > dim rs > dim strSQL > set cnn=server.createobject("ADODB.Connection") > set rs=server.createobject("ADODB.Recordset") > cnn.Provider="Microsoft.Jet.OLEDB.4.0" > cnn.Open "E:\MyDB.mdb" > strSQL="SELECT Hit FROM tblHits;" > rs.Open strSQL,cnn,1,3 > rs.AddNew > rs.Fields(0).value=1 > rs.Update > rs.close > set rs=nothing > cnn.close > set cnn=nothing > %> > > Hello > > > The end user will get a page that says hello, but internally, > the ASP page has added a record to a database, in this case, > a simple hit counter. This is passive, since the user will > always get 'Hello', no matter what they do. The ASP code is > doing work, but it's something the end user doesn't see. > > Dynamic ASP pages are where the output the user sees is > directly affected by the ASP code. To do this, you must > either use the = symbol (which is a shortcut to have the ASP > send something out with the resulting HTML stream), or the > response.write procedure. > > For example, let's have default.asp be this: > > <% > dim strIP > strIP=request.ServerVariables("REMOTE_ADDR") > %> > > Your IP Address is: <%=strIP%>
> <% > response.write "Have a nice day." > %> > > > What the user will see is a message that has their IP > address, like this: > > Your IP Address is: 65.65.125.209 > Have a nice day. > > We used the equal since to 'insert' something into the normal > HTML with ASP, and then we used response.write to directly > output a string into the outgoing HTML stream. > > The last thing to remember when dealing with a web server is > that the end users are getting whatever the web server hands > out, the moment they request it. Once they get the resulting > HTML stream, and their browser displays the page, there is no > longer a connection to the file they requested. That means > if you are constantly updating asp pages, the end users will > just simply get the 'current' results at the time of their > request. No kicking everyone out, etc. Pretty handy. > > Three more items to cover. Above was the biggie. First of > the three. HTML. HTML is actually pretty simple. I > personally used Front Page when I started out, to let it do > the HTML for me, then after a few months of going back and > forth, I just got the hang of it, and I rarely ever use FP > for writing the HTML anymore. The two key items to remember > with HTML is that everything is written with tags. Some tags > are stand alone, such as
(which is a line break), and > some tags must have a start and finish ( and , > or an easier example and which is for bolding text). > Tags also can have properties. For example, an anchor tag > (for hyperlinks) is a. Click > here to go to Wolfwares.com href property, which is the URL of the site/file the > hyperlink points too, then the tag is closed with the >, and > between the start tag, and the closing tag , there is > text, which is what the user will see as the text of the > hyperlink. The second key item to remember with HTML is that > no matter what format you write the HTML in, what the user > sees in the browser is determine by the TAGS, not by the HTML code. > > So if you write: > > > This is a > Test > > > The user sees: > This is a Test > > If you write: > This is a
Test > > The user sees: > This is a > Test > > Second of the three is a BIG difference between Access and > ASP. Access runs it's code on the users processor. This is > both good and bad. Bad, because the end user must have > Access (or a run-time installed). Also, bad because users on > slower machines are going to be delayed longer then users on > fast machines. Good, because as long as the end users have > the correct software/runtimes, your application should almost > be gauranteed to work. With ASP, if you write standard HTML, > it doesn't matter what you have the ASP code do. Your ASP > code only has to run on the web server. Your clients can be > running Pentium 4's, with IE, or Mac's with Netscape, and > everyone sees the same results. A client running a 2.6 > gigahertz on a 56k modem is going to run your application at > the same speed (well, pretty much the same > speed) as a client running a 486 66mhz with a 56k modem. In > fact, if your pages are light enough on the output (little to > no graphics, just plain > HTML.....) there isn't going to be much of a difference > between a modem user or a broad band user. Text transfers > pretty quickly....though you could have slow downs if there > is just a ton of text being sent (like combo boxes that have > thousands of items in their lists). The final issue with > this part is client side scripting. I personally stay away > from it like the plague, unless it's for in house projects > where I know everyone is using IE. So try to make your > applications run strictly with ASP, unless absolutely necessary. > > Third of the three. The real nuts and bolts of ASP. ASP can > be written in JScript or VBScript. Quite frankly I have > never bothered to use JScript, since VBScript is practically > second nature. When writting ASP, you enclose the ASP code > with <% and %> (start and end tags for ASP), and then write > away with VBScript. There are two things to > remember/research. ASP is VBScript with extra objects > (Application, > ObjectContext,Request,ASPError,Response,Server,Session). The > three you are going to deal with the most are Request, > Response and Server. Request gives you access to what you > have been 'sent' by the user. It can be used to read cookies, > server variables (which include Usernames, passwords,IP > Addresses, browser types, etc.), and form data. Response is > what you use to send data back to the user (response.write > outputs to the HTML stream, redirect can actually change the > URL the end user is receiving, etc.). Server is the > webserver itself. The two main methods you will probably use > are MapPath(Which let's you map a virtual or actual path to a > file) and CreateObject. That CreateObject is the big catch > with ASP and VBScript. In normal VBScript you just call > CreateObject. But with ASP, you must use the Server Object's > CreateObject method to create an object in VBScript. (Because > the object must be created by the webserver). > > That's ASP in a nutshell. The first item I talked about is a > little difficult to figure out from the MSDN, the rest is in > the MSDN, but can still be a little difficult to figure out. > The details on everything (HTML tags, ASP objects, etc.) are > pretty much well explained in the MSDN though. > > The last thing you will need to know about ASP pages versus > Access FE's is how to get data FROM the user. (we already > discussed sending it to them, with the response.write > method). I mentioned the request object. The two methods of > getting data from the user are through forms and > querystrings. A querystring is what follows a URL (after a > ?). So, if you have a URL like > this: http://MyWebsite.com/default.asp?MyValue=10 , you can > retrieve the value of MyValue by using the > request.QueryString method, like this: > > <% > response.write request.QueryString("MyValue") > %> > > If you have an HTML form, and you POST the data: > > > >
> > >
> > > > The resulting page will have a textbox, and a submit button. > Pressing the submit button will send the data within the > MyValue textbox to results.asp. So if results.asp was this: > > <% > response.write request.form("MyValue") > %> > > The results page will output whatever was in the textbox. > > The key difference between a QueryString and a Form is that > QueryStrings are limited by the max length of a URL (which > is, I think, 2048 characters...maybe 1024 characters, not > sure). Where as a form is not limited in the amount of data > that can be submitted. You can also refer to a request > 'variable' by just the request object. request("MyValue") > can be a value in either a QueryString OR a Form. > > Phew, what an email. This was fun to write though. Keep in > mind that ASP doesn't directly like DAO, so write your code > using ADO. Feel free to contact me offlist if you have > specific questions. I may get hammered for the length of > this email, but I think it's pertinent to Access development > on the web! > > Drew > > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, November 26, 2003 9:55 AM > To: accessd > Subject: [AccessD] OT - Getting started with Web development > > > To all, > I'm looking to start writing web pages etc, secure logins, > returning resultsets in tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any > book recommendations ? Thanks in advance for all your help > Paul Hartland _______________________________________________ > 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 sgoodhall at comcast.net Thu Nov 27 09:42:26 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Thu, 27 Nov 2003 10:42:26 -0500 Subject: [AccessD] backend application protection In-Reply-To: <001d01c3b465$6371ba00$3dc2f63f@Desktop> Message-ID: You can lock up the back end using Access Security. It won't stop your user from opening the database, but it will stop them from changing anything. There is a sample application on my web site, www.goodhall.info/steve. Click on the "Useful Software" link and download the first item. All of the usual disclaimers apply. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Wednesday, November 26, 2003 4:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] backend application protection I have a split (backend on server and front end on individuals PC) access 2000 application that I would like to protect the backend from having people use the shift key bypass option to open the database in design mode and have individuals play with the backend tables. Does anyone have a solution to this? Would I still be able to do design/work myself if needed? I found someone in the database tables today just cruising around out of curiosity Thanks in advance John _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 27 10:08:05 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 27 Nov 2003 10:08:05 -0600 Subject: [AccessD] Accessing Oracle BLOB via MS Access Message-ID: Hi Jack, I also work with Oracle data in Access but have been able to work around the field problem you ask about though luck as I haven't needed any of those fields in my apps. I am wondering if a pass-through query with an instr or the like to reformat the data on teh Oracle side before it get's sent over to the Access side of things would work? In a Pass Trhough query you are using Oracle SQL and you should be able to access those fields that way and if you can format them into regular string type fields through something like the instring function (like a left or a mid function in Access) it may do the job for you. Gary Kjos garykjos at hotmail.com >From: Drawbridge.Jack at ic.gc.ca >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Accessing Oracle BLOB via MS Access >Date: Wed, 26 Nov 2003 09:40:02 -0500 > >I'm hoping someone has an answer or advice on this. We have Oracle 9i with >a >table containing Blob/Clob data types. We also do a lot of data base >queries >against Oracle via Access 97 and Access 2000. (ODBC ADO). > >A new application has the blob/clob. Attempting to access these fields >gives >an error in Access. Does anyone have a technique or samples of how to >access >this Oracle data type with Access 97 or 2000? > >TIA. >Jack >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ online games and music with a high-speed Internet connection! Prices start at less than $1 a day average. https://broadband.msn.com (Prices may vary by service area.) From lytlenj at juno.com Thu Nov 27 10:45:17 2003 From: lytlenj at juno.com (Nancy J Lytle) Date: Thu, 27 Nov 2003 11:45:17 -0500 Subject: [AccessD] Same report 2 different summary cases Message-ID: <20031127.114517.3272.1.lytlenj@juno.com> I have a report that is driving me crazy and I know it is something easy I am just not getting. The report is a summary of purchase requests that have been processed. The information is summarized by FY; ProgramCode; Category and TransactionCode. Each programCode has up to 3 categories and many transactioncodes. Each transactioncode in a category in a program can have more than one purchase request. The problem is in summarizing when there is more than one purchase order within a single transactioncode within a single category within a programcode within a single year. FY 1 Program 1 Category 1 Transaction 1 - each trans has initial funding plus changes in funding that equal the current authorization Purchase Request1 Purchase Request2 Transaction 2 PurchaseRequest3 Category Summary: CurrentAuthorization: Initial Authorization + Changes. The problem is that if the Transaction has more than one PR it adds a Current Authorization amount for each PR there is, which means in this case the Current Authorization would be twice what it should be. Program 2 Category 1 Transaction 1 Purchase Request1 Transaction 2 PurchaseRequest1 Sum for Category - this is the problem area, I can get it work or either multiple PR's per Transaction or one PR per Transaction but not for both situations. Actually I am doing sums for Transaction, Category and Program, but it is only the Category one I am having problems with at this point I would like to use something like the below code as the Control Source for the Category Summary to account for the two different situations but can't seem to get it to work, the error message says missing operator: IIf((Count(qryCSPEL_rptELTEST.PR_PANumber) AS CountOfPR_PANumber FROM qryCSPEL_rptELTEST GROUP BY qryCSPEL_rptELTEST.Transaction, qryCSPEL_rptELTEST.Category, qryCSPEL_rptELTEST.ProgramCode) =1), [CurrentAuth],Sum([CurrentAuth])) Any ideas about the code or how else I could approach the problem TIA, Nancy From andy at minstersystems.co.uk Thu Nov 27 10:55:31 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Nov 2003 16:55:31 -0000 Subject: [AccessD] Same report 2 different summary cases In-Reply-To: <20031127.114517.3272.1.lytlenj@juno.com> Message-ID: <003801c3b507$44e913b0$b274d0d5@minster33c3r25> Nancy I'm sure there'll be other ideas but could you take the Current Authorisation out of the query, leaving the query to list all the purchase requests, and put it into the report as an unbound calculated field with a Dsum? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Nancy J Lytle > Sent: 27 November 2003 16:45 > To: accessd at databaseadvisors.com > Subject: [AccessD] Same report 2 different summary cases > > > I have a report that is driving me crazy and I know it is > something easy I am just not getting. > > The report is a summary of purchase requests that have been > processed. The information is summarized by FY; ProgramCode; > Category and TransactionCode. Each programCode has up to 3 > categories and many transactioncodes. Each transactioncode > in a category in a program can have more than one purchase request. > > The problem is in summarizing when there is more than one > purchase order within a single transactioncode within a > single category within a programcode within a single year. > > > FY 1 > Program 1 > Category 1 > Transaction 1 - each trans has initial funding > plus changes in funding that equal the current authorization > Purchase Request1 > Purchase Request2 > > Transaction 2 > PurchaseRequest3 > > Category Summary: CurrentAuthorization: Initial Authorization + > Changes. The problem is that if the Transaction has more than > one PR it adds a Current Authorization amount for each PR > there is, which means in this case the Current Authorization > would be twice what it should be. > > Program 2 > Category 1 > Transaction 1 > Purchase Request1 > > Transaction 2 > PurchaseRequest1 > > > Sum for Category - this is the problem area, I can get it > work or either multiple PR's per Transaction or one PR per > Transaction but not for both situations. > > Actually I am doing sums for Transaction, Category and > Program, but it is only the Category one I am having problems > with at this point > > I would like to use something like the below code as the > Control Source for the Category Summary to account for the > two different situations but can't seem to get it to work, > the error message says missing operator: > > IIf((Count(qryCSPEL_rptELTEST.PR_PANumber) AS > CountOfPR_PANumber FROM qryCSPEL_rptELTEST GROUP BY > qryCSPEL_rptELTEST.Transaction, qryCSPEL_rptELTEST.Category, > qryCSPEL_rptELTEST.ProgramCode) =1), > [CurrentAuth],Sum([CurrentAuth])) > > Any ideas about the code or how else I could approach the problem > > TIA, > Nancy > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Thu Nov 27 11:19:34 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 27 Nov 2003 12:19:34 -0500 Subject: [AccessD] Registry tweaks Message-ID: Have ya ever... wished you had a place to store all the registry tweaks you run across? I have run across so many things where they tell you to go to the registry and set / clear / delete some entry. I can NEVER remember where I found the tweak, but I always remember I was supposed to do some unnamed thing to make something happen. It all started with securing IIS. An article I ran across gives a handful of registry tweaks to tighten up security. Of course I can use regedit but how blas? Well I just whipped out a little database to hold the key / value name / value and a memo about the registry key, as well as a parent "topic" table that lets me organize the entries by a topic of my choosing, complete with memo. At the moment you have to type the registry key / value name / value in, but once you do you can press a button and the entry is created in the registry. It uses a registry class for anyone interested in how to read / write the registry (or doesn't want to write their own) courtesy of a VB Techniques article written by Eric Smith on 3/29/2000. I also use a few withevent classes for those of you who want to see how I use Withevents to run the basic forms. I may (probably will) eventually write code to back up an existing key before modification, read registry chunks into the table etc. Not there yet. I think it would be cool to organize a huge "registry tweak" database where anyone interested gets this database and enters their favorite tweak, then donates their tweaks to a pool. I can take care of merging everyone's tweaks into a single database and get the resulting pool up on my web site. Anyone interested? Anyone know of a public domain db that I can get tweaks already in a db? John W. Colby www.ColbyConsulting.com From john at winhaven.net Thu Nov 27 11:52:57 2003 From: john at winhaven.net (John Bartow) Date: Thu, 27 Nov 2003 11:52:57 -0600 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: Hi John, I actually just keep Reg Tweaks it in my "Code and Tips DB" - which is really lame compared to what you're doing here. I keep everything in there now just because otherwise I have to search too many places to find something that doesn't fit into a category just right. Basically code, tweaks, bugs, articles, and valuable software (for things that I don't keep loaded but use for one thing) Each is broken down into Category, General Area of Application, Description, Item Details (Code, Article Text, etc), Who and where it came from, The date I added it, what product it is used in and when it was last modified. It would be nice to be able to have a Code and Tips DB that was integrated but still had cool functionality like what you propose. We had at one time started a CodeDB list, I haven't seen anything on that list for months so I guess its dead in the water. In any case, I would definitely contribute any Reg tweaks I have to your DB. John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 27, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Registry tweaks > > > Have ya ever... wished you had a place to store all the registry > tweaks you > run across? I have run across so many things where they tell you to go to > the registry and set / clear / delete some entry. I can NEVER remember > where I found the tweak, but I always remember I was supposed to do some > unnamed thing to make something happen. > > It all started with securing IIS. An article I ran across gives a handful > of registry tweaks to tighten up security. Of course I can use > regedit but > how blas? > > Well I just whipped out a little database to hold the key / value name / > value and a memo about the registry key, as well as a parent "topic" table > that lets me organize the entries by a topic of my choosing, complete with > memo. At the moment you have to type the registry key / value > name / value > in, but once you do you can press a button and the entry is created in the > registry. It uses a registry class for anyone interested in how to read / > write the registry (or doesn't want to write their own) courtesy of a VB > Techniques article written by Eric Smith on 3/29/2000. I also use a few > withevent classes for those of you who want to see how I use Withevents to > run the basic forms. > > I may (probably will) eventually write code to back up an existing key > before modification, read registry chunks into the table etc. Not there > yet. > > I think it would be cool to organize a huge "registry tweak" > database where > anyone interested gets this database and enters their favorite tweak, then > donates their tweaks to a pool. I can take care of merging everyone's > tweaks into a single database and get the resulting pool up on my > web site. > > Anyone interested? Anyone know of a public domain db that I can > get tweaks > already in a db? > > John W. Colby > www.ColbyConsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Thu Nov 27 17:06:50 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 28 Nov 2003 00:06:50 +0100 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net><000c01c3b438$b3c73110$6001a8c0@dejpolsys><000d01c3b456$962acb80$f4c581d5@pedro> <001001c3b459$cb74e2f0$6001a8c0@dejpolsys> Message-ID: <000d01c3b53b$566651f0$fcc581d5@pedro> I want to thank John, Tom and William, for the suggestions on rotating text. I used the ActiveX from www.lebans.com because it is easy to use and you can use it also on textboxes. Some other programs can only be used on labels. Pedro Janssen From Erwin.Craps at ithelps.be Fri Nov 28 02:38:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 09:38:14 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> Dear Friends NTFS has the posibilty to report to an app when a new file is added or changed in a folder. So instead of screening a folder for new files app, its rather the OS that reports to the app that new or changed files are in a certain folder. Has anyone tried to use this in Access? I supose this is some kind of an API call. This is very true for WXP don't not for W2K. Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From gustav at cactus.dk Fri Nov 28 03:37:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Nov 2003 10:37:27 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> Message-ID: <575846857.20031128103727@cactus.dk> Hi Erwin > NTFS has the posibilty to report to an app when a new file is added or > changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. Look up the archive on these: 2002-02-19: On Timer Events and a repost/quote 2002-04-23: Monitoring Directories If you can achieve better results I would be most interested in learning about it. /gustav From Erwin.Craps at ithelps.be Fri Nov 28 05:33:00 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 12:33:00 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF52@stekelbes.ithelps.local> Ok Thanks, I look into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 28, 2003 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] NTFS new/changed file report by OS in Access Hi Erwin > NTFS has the posibilty to report to an app when a new file is added > or changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. Look up the archive on these: 2002-02-19: On Timer Events and a repost/quote 2002-04-23: Monitoring Directories If you can achieve better results I would be most interested in learning about it. /gustav _______________________________________________ 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 Nov 28 06:07:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 13:07:05 +0100 (CET) Subject: [AccessD] TransferSpreadsheet, TransferText Message-ID: <4761904.1070021225900.JavaMail.www@wwinf3005> To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland From paul.hartland at fsmail.net Fri Nov 28 06:07:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 13:07:05 +0100 (CET) Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText Message-ID: <4761904.1070021225900.JavaMail.www@wwinf3005> To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 28 08:49:45 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 15:49:45 +0100 Subject: [AccessD] Cut Paste actionto tabsheet looses events. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF5C@stekelbes.ithelps.local> When you cut and past controls to move controls from a tabsheets control (?! don't know correct name in English) they always looses their events.... The code is still there, but in the properties is no longer eventprocedure (?!) marked. So if you click on the tree dots the event is back. But that would take me to go over each control and verify the code if which events exists for which control. Is there a way that Access will put the events in the properties automaticaly? A cut and past is necesary because moving to a tab does not work... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From artful at rogers.com Fri Nov 28 12:53:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Nov 2003 10:53:01 -0800 Subject: [AccessD] Change all Yes/No fields in a database In-Reply-To: <003201c3b21d$2e0e9850$6401a8c0@default> Message-ID: <000001c3b5e0$de1b78f0$6701a8c0@rock> Thanks for this. It's a start, but what I don't see is how I can apply so that I can walk all the tables and all the fields, finding the Yes/No fields without knowing their names beforehand, and then applying the changes. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Sunday, November 23, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = > 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 sgoodhall at comcast.net Fri Nov 28 10:11:48 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Fri, 28 Nov 2003 11:11:48 -0500 Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText In-Reply-To: <4761904.1070021225900.JavaMail.www@wwinf3005> Message-ID: One way that I find useful is to treat the Excel workbook as an ODBC data source. This method will also work with CSV text files. This gets around many of the field type problems that can arise with the transfer methods or with linking worksheets as tables. Code for this is on my web site, http://www.goodhall.info/steve/, click on "Useful Software" and download the second item. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, November 28, 2003 7:07 AM To: dba-vb Cc: accessd Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ 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 Nov 28 10:18:04 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 17:18:04 +0100 (CET) Subject: [AccessD] Visual Basic Question/Access Message-ID: <32122179.1070036284838.JavaMail.www@wwinf3004> To all, I created a VB6 application a while back, I added the Microsoft Access 10.0 Object Library so that I could import spreadsheets & text files using DoCmd.TransferText or DoCmd.TransferSpreadsheet commands. All worked fine so I left it as it was, I have just gone to run it and I get the error message: This Operation Requires An Open Database. I haven?t changed any code and it worked the last time I ran the application. So I guess I need to know either why it may not be working now or how I can get it to work. Or is there another way I can change this. Thanks in advance for any help. Paul Hartland From paul.hartland at fsmail.net Fri Nov 28 10:18:04 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 17:18:04 +0100 (CET) Subject: [AccessD] [dba-VB] Visual Basic Question/Access Message-ID: <32122179.1070036284838.JavaMail.www@wwinf3004> To all, I created a VB6 application a while back, I added the Microsoft Access 10.0 Object Library so that I could import spreadsheets & text files using DoCmd.TransferText or DoCmd.TransferSpreadsheet commands. All worked fine so I left it as it was, I have just gone to run it and I get the error message: This Operation Requires An Open Database. I haven?t changed any code and it worked the last time I ran the application. So I guess I need to know either why it may not be working now or how I can get it to work. Or is there another way I can change this. Thanks in advance for any help. Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From starkey at wanadoo.nl Fri Nov 28 10:48:27 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 28 Nov 2003 17:48:27 +0100 Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText In-Reply-To: <4761904.1070021225900.JavaMail.www@wwinf3005> Message-ID: Hi Paul, sorry no code but in VB you should use the Objectmodel of Excel. Create a new instance and set the worksheet to the file. Then using the objectmodel you're able to read out the specific values and append them to a table using a recordset/SQL. I assume the sheet will always look the same or is used only once. Regards, Eric STarkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: vrijdag 28 november 2003 13:07 To: dba-vb Cc: accessd Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 28-11-2003 Tested on: 28-11-2003 17:48:26 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From starkey at wanadoo.nl Fri Nov 28 10:57:04 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 28 Nov 2003 17:57:04 +0100 Subject: [AccessD] Visual Basic Question/Access In-Reply-To: <32122179.1070036284838.JavaMail.www@wwinf3004> Message-ID: Paul, I am not sure about this but .. from within VB you are trying to import data using specific VBA Access code. You should probably open an Access database from VB first and then use the Access VBA code to transfer data to the table in Access. If it worked first could it be that you had Access open in the background? Regards Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: vrijdag 28 november 2003 17:18 To: accessd Cc: dba-vb Subject: [AccessD] Visual Basic Question/Access To all, I created a VB6 application a while back, I added the Microsoft Access 10.0 Object Library so that I could import spreadsheets & text files using DoCmd.TransferText or DoCmd.TransferSpreadsheet commands. All worked fine so I left it as it was, I have just gone to run it and I get the error message: This Operation Requires An Open Database. I haven?t changed any code and it worked the last time I ran the application. So I guess I need to know either why it may not be working now or how I can get it to work. Or is there another way I can change this. Thanks in advance for any help. Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 28-11-2003 Tested on: 28-11-2003 17:57:03 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From Developer at UltraDNT.com Fri Nov 28 11:17:58 2003 From: Developer at UltraDNT.com (Developer) Date: Fri, 28 Nov 2003 12:17:58 -0500 Subject: [AccessD] Change all Yes/No fields in a database In-Reply-To: <000001c3b5e0$de1b78f0$6701a8c0@rock> Message-ID: <000401c3b5d3$91e189f0$7001a8c0@COA3> To "walk" all, you need something like: Public Sub allyesno() Dim d As DAO.Database Dim t As DAO.TableDef Dim f As DAO.Field Set d = CurrentDb For Each t In d.TableDefs For Each f In t.Fields If f.Type = dbBoolean Then ' DO STUFF Debug.Print f.Name End If Next 'f Next 't End Sub - hth, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 28, 2003 1:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change all Yes/No fields in a database Thanks for this. It's a start, but what I don't see is how I can apply so that I can walk all the tables and all the fields, finding the Yes/No fields without knowing their names beforehand, and then applying the changes. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Sunday, November 23, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = > 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 jcolby at colbyconsulting.com Fri Nov 28 11:33:33 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri, 28 Nov 2003 12:33:33 -0500 Subject: [AccessD] Cut Paste actionto tabsheet looses events. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF5C@stekelbes.ithelps.local> Message-ID: Just cut and paste the CODE from the module and the event procedure will automatically be filled in again in the property sheet. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Friday, November 28, 2003 9:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cut Paste actionto tabsheet looses events. When you cut and past controls to move controls from a tabsheets control (?! don't know correct name in English) they always looses their events.... The code is still there, but in the properties is no longer eventprocedure (?!) marked. So if you click on the tree dots the event is back. But that would take me to go over each control and verify the code if which events exists for which control. Is there a way that Access will put the events in the properties automaticaly? A cut and past is necesary because moving to a tab does not work... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 28 12:14:18 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 19:14:18 +0100 Subject: [AccessD] Cut Paste actionto tabsheet looses events. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF66@stekelbes.ithelps.local> Sounds logical to me... I'll try it this w.e.. (yeah yeah, I'm one of those guys you see working in the week-end :-(. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, November 28, 2003 6:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Cut Paste actionto tabsheet looses events. Just cut and paste the CODE from the module and the event procedure will automatically be filled in again in the property sheet. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Friday, November 28, 2003 9:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cut Paste actionto tabsheet looses events. When you cut and past controls to move controls from a tabsheets control (?! don't know correct name in English) they always looses their events.... The code is still there, but in the properties is no longer eventprocedure (?!) marked. So if you click on the tree dots the event is back. But that would take me to go over each control and verify the code if which events exists for which control. Is there a way that Access will put the events in the properties automaticaly? A cut and past is necesary because moving to a tab does not work... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 28 12:30:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Nov 2003 10:30:39 -0800 Subject: [AccessD] NTFS new/changed file report by OS in Access References: <46B976F2B698FF46A4FE7636509B22DF03CF52@stekelbes.ithelps.local> Message-ID: <3FC7944F.2020106@shaw.ca> Maybe some clues here Have a look at Creating a Watched Folder with FindChangeNotification http://www.mvps.org/vbnet/index.html?code/fileapi/watchedfolder.htm or this one http://www.mvps.org/vbvision/Sample_Projects.htm#Watch_Directory_Demo Erwin Craps wrote: >Ok Thanks, I look into it. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, November 28, 2003 10:37 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] NTFS new/changed file report by OS in Access > >Hi Erwin > > > >>NTFS has the posibilty to report to an app when a new file is added >>or changed in a folder. >>So instead of screening a folder for new files app, its rather the OS >>that reports to the app that new or changed files are in a certain >>folder. >>Has anyone tried to use this in Access? >>I supose this is some kind of an API call. >>This is very true for WXP don't not for W2K. >> >> > >Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. > >Look up the archive on these: > > 2002-02-19: On Timer Events > >and a repost/quote > > 2002-04-23: Monitoring Directories > >If you can achieve better results I would be most interested in learning about it. > >/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 > > > -- Marty Connelly Victoria, B.C. Canada From clh at christopherhawkins.com Fri Nov 28 16:02:29 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 28 Nov 2003 15:02:29 -0700 Subject: [AccessD] OT: VBScript failing on login Message-ID: <73610-220031152822229302@christopherhawkins.com> Greetings. I wrote a login script for a client some time ago. Part of the script is a function that creates a comma-delimited list of what groups the logging-in user belongs to. The script has been working perfectly until this morning, when the IsMember function started failing. The IT guys have been making configuration changes to various servers, but can't tell me what exactly those changes are. My only clue is that g_oNet.UserDomain comes back with no value. I'm not sure why that would be. All the client machines have the Windows Scripting Host, Windows Management Instrumentation and ADSI installed. There are globals at the top of the script: ' Globals Dim g_oGroupDict Dim g_oNet dim g_sGroupList ...and this function, which is failing, at the bottom: Function IsMember(sGroup) ' Creates a comma-delimited list of groups to which the user belongs. msgbox "IsMember..." & sGroup ' DEBUG Dim sAdsPath Dim oUser Dim oGroup ' Populate dictionary if not already created. If IsEmpty(g_oGroupDict) Then msgbox "GROUPS DICTIONARY IS EMPTY...BUILDING DICTIONARY..." Set g_oGroupDict = CreateObject("Scripting.Dictionary") g_oGroupDict.CompareMode = vbTextCompare sAdsPath = g_oNet.UserDomain & "/" & g_oNet.UserName msgbox "g_oNet.UserDomain = " & g_oNet.UserDomain msgbox "USER PATH = " & sAdsPath ' DEBUG set oUser = GetObject("WinNT://DOMAINABC/" & sUser) For Each oGroup In oUser.Groups msgbox "MEMBER OF: " & oGroup.name ' DEBUG g_oGroupDict.Add oGroup.Name, " - " g_sGroupList = oGroup.Name & ", " & g_sGroupList Next Set oUser = Nothing msgbox "ALL GROUPS = " & g_sGroupList End If IsMember = CBool(g_oGroupDict.Exists(sGroup)) msgbox "End IsMember = " & IsMember msgbox err.number & " - " & err.description,"IsMember" End Function I'm very confounded. The script has been running successfully for weeks now, and no changes have been made (save for the various MsgBox statements I've been using this morning to debug it). The machine this script runs on is a PDC. More info: the script still executes successfully for XP clients. The 98 clients are the ones that cannot execute the script. And the PDC that the users authenticate against is an NT4 machine. I am well and truly stumped. -Christopher- From DWUTKA at marlow.com Fri Nov 28 18:07:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:07:03 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227605@main2.marlow.com> I've thought about writing a long set of articles to put on my website, but I always find something else comes up...know what I mean? Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 26, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Getting started with Web development Hi Drew: Have you ever thought about writing a book on the subject...You have finished chapter one. ...I teasing... :-) Very good introductory Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, November 26, 2003 2:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Getting started with Web development Paul, I have been developing ASP project for quite some time now. I think I can narrow down what you REALLY need to know to get started. First of all, before you dig into web development, you MUST understand how a web server and web pages work. It is a whole different ball of wax compared to an Access FE. With an Access FE, you create forms and reports, and each user has a copy (or uses a shared FE) of the front end. This has several drawbacks. First of all, if you have copies of the FE all over, you have to create an update process to push out new changes. If you have a shared FE, then you have to kick everyone out to update the process. On top of that, a user can be anywhere, so there can always be issues of where things are located. One user may have a share mapped to S, while another has it mapped to T. UNC's can handle this, but then there is also the issue of whether people are able to even get to the locations involved. On a web server, all of these issues are moot. The way a web server works, is the client opens their browser and requests a web page. Let's say they go to http://MyWebsite.com. The browser does a few things, one of which is it sends an http request to the server sitting at whatever mywebsite.com resolves too. (http is Hyper Text Transfer Protocol. HTML is Hyper Text Markup Language. So, HTTP is the protocol uses to transport HTML.). The server at the other end gets an http request for it's root directory. Notice the URL doesn't have a specific file (this is a KEY point to remember). That is just fine and dandy, because a webserver can be asked for a page by just the 'folder', since each folder can have a default document setup. In most cases it is index.htm or default.asp, but it can quite frankly be any document you want (or even a list of documents). For our example, let's say it's default.asp. The web server then reads the default.asp page and runs it through it's ISAPI filters. These are filters that cause various things to be done to the HTML that is going to be sent back. Two good examples of this are includes and ASP itself. Includes are when you mark another file or files to be included within the document. So, if you have a header that you want on every page, instead of putting the HTML for that header on every page, you put the header in it's own file, and just include it in all of your pages. The include ISAPI filter then incorporates that HTML in the outgoing HTML. You can also include .asp code, similar to putting code in a module, versus behind every form/report. The ASP ISAPI filter is a little more complex. Instead of just replacing text, it actually 'works' the ASP code on the page. This is the CORE of ASP. What the end user get's, is just the outgoing HTML. They never get the ASP code itself. ASP can either be passive or dynamic. My own terms for the two actions ASP can perform. Passive is when the ASP does something that the users can't see. Dynamic is when ASP does something that the users DO see. For example. If the default.asp page was like this: <% dim cnn dim rs dim strSQL set cnn=server.createobject("ADODB.Connection") set rs=server.createobject("ADODB.Recordset") cnn.Provider="Microsoft.Jet.OLEDB.4.0" cnn.Open "E:\MyDB.mdb" strSQL="SELECT Hit FROM tblHits;" rs.Open strSQL,cnn,1,3 rs.AddNew rs.Fields(0).value=1 rs.Update rs.close set rs=nothing cnn.close set cnn=nothing %> Hello The end user will get a page that says hello, but internally, the ASP page has added a record to a database, in this case, a simple hit counter. This is passive, since the user will always get 'Hello', no matter what they do. The ASP code is doing work, but it's something the end user doesn't see. Dynamic ASP pages are where the output the user sees is directly affected by the ASP code. To do this, you must either use the = symbol (which is a shortcut to have the ASP send something out with the resulting HTML stream), or the response.write procedure. For example, let's have default.asp be this: <% dim strIP strIP=request.ServerVariables("REMOTE_ADDR") %> Your IP Address is: <%=strIP%>
<% response.write "Have a nice day." %> What the user will see is a message that has their IP address, like this: Your IP Address is: 65.65.125.209 Have a nice day. We used the equal since to 'insert' something into the normal HTML with ASP, and then we used response.write to directly output a string into the outgoing HTML stream. The last thing to remember when dealing with a web server is that the end users are getting whatever the web server hands out, the moment they request it. Once they get the resulting HTML stream, and their browser displays the page, there is no longer a connection to the file they requested. That means if you are constantly updating asp pages, the end users will just simply get the 'current' results at the time of their request. No kicking everyone out, etc. Pretty handy. Three more items to cover. Above was the biggie. First of the three. HTML. HTML is actually pretty simple. I personally used Front Page when I started out, to let it do the HTML for me, then after a few months of going back and forth, I just got the hang of it, and I rarely ever use FP for writing the HTML anymore. The two key items to remember with HTML is that everything is written with tags. Some tags are stand alone, such as
(which is a line break), and some tags must have a start and finish ( and , or an easier example and which is for bolding text). Tags also can have properties. For example, an anchor tag (for hyperlinks) is a. Click here to go to Wolfwares.com , and between the start tag, and the closing tag , there is text, which is what the user will see as the text of the hyperlink. The second key item to remember with HTML is that no matter what format you write the HTML in, what the user sees in the browser is determine by the TAGS, not by the HTML code. So if you write: This is a Test The user sees: This is a Test If you write: This is a
Test The user sees: This is a Test Second of the three is a BIG difference between Access and ASP. Access runs it's code on the users processor. This is both good and bad. Bad, because the end user must have Access (or a run-time installed). Also, bad because users on slower machines are going to be delayed longer then users on fast machines. Good, because as long as the end users have the correct software/runtimes, your application should almost be gauranteed to work. With ASP, if you write standard HTML, it doesn't matter what you have the ASP code do. Your ASP code only has to run on the web server. Your clients can be running Pentium 4's, with IE, or Mac's with Netscape, and everyone sees the same results. A client running a 2.6 gigahertz on a 56k modem is going to run your application at the same speed (well, pretty much the same speed) as a client running a 486 66mhz with a 56k modem. In fact, if your pages are light enough on the output (little to no graphics, just plain HTML.....) there isn't going to be much of a difference between a modem user or a broad band user. Text transfers pretty quickly....though you could have slow downs if there is just a ton of text being sent (like combo boxes that have thousands of items in their lists). The final issue with this part is client side scripting. I personally stay away from it like the plague, unless it's for in house projects where I know everyone is using IE. So try to make your applications run strictly with ASP, unless absolutely necessary. Third of the three. The real nuts and bolts of ASP. ASP can be written in JScript or VBScript. Quite frankly I have never bothered to use JScript, since VBScript is practically second nature. When writting ASP, you enclose the ASP code with <% and %> (start and end tags for ASP), and then write away with VBScript. There are two things to remember/research. ASP is VBScript with extra objects (Application, ObjectContext,Request,ASPError,Response,Server,Session). The three you are going to deal with the most are Request, Response and Server. Request gives you access to what you have been 'sent' by the user. It can be used to read cookies, server variables (which include Usernames, passwords,IP Addresses, browser types, etc.), and form data. Response is what you use to send data back to the user (response.write outputs to the HTML stream, redirect can actually change the URL the end user is receiving, etc.). Server is the webserver itself. The two main methods you will probably use are MapPath(Which let's you map a virtual or actual path to a file) and CreateObject. That CreateObject is the big catch with ASP and VBScript. In normal VBScript you just call CreateObject. But with ASP, you must use the Server Object's CreateObject method to create an object in VBScript. (Because the object must be created by the webserver). That's ASP in a nutshell. The first item I talked about is a little difficult to figure out from the MSDN, the rest is in the MSDN, but can still be a little difficult to figure out. The details on everything (HTML tags, ASP objects, etc.) are pretty much well explained in the MSDN though. The last thing you will need to know about ASP pages versus Access FE's is how to get data FROM the user. (we already discussed sending it to them, with the response.write method). I mentioned the request object. The two methods of getting data from the user are through forms and querystrings. A querystring is what follows a URL (after a ?). So, if you have a URL like this: http://MyWebsite.com/default.asp?MyValue=10 , you can retrieve the value of MyValue by using the request.QueryString method, like this: <% response.write request.QueryString("MyValue") %> If you have an HTML form, and you POST the data:
The resulting page will have a textbox, and a submit button. Pressing the submit button will send the data within the MyValue textbox to results.asp. So if results.asp was this: <% response.write request.form("MyValue") %> The results page will output whatever was in the textbox. The key difference between a QueryString and a Form is that QueryStrings are limited by the max length of a URL (which is, I think, 2048 characters...maybe 1024 characters, not sure). Where as a form is not limited in the amount of data that can be submitted. You can also refer to a request 'variable' by just the request object. request("MyValue") can be a value in either a QueryString OR a Form. Phew, what an email. This was fun to write though. Keep in mind that ASP doesn't directly like DAO, so write your code using ADO. Feel free to contact me offlist if you have specific questions. I may get hammered for the length of this email, but I think it's pertinent to Access development on the web! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 28 18:09:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:09:48 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227606@main2.marlow.com> Okay. I know it ties into Access, but what so many new web/Access developers don't realize is that they already have most of the skills required for the development side, they just need the big picture information to get it to all work together. When do I go on about beer or traffic..... (That reminds me, I think I'm going to have a few beers after dealing with traffic tonight!). Susan, what would you need for Many to Many? Drew -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, November 27, 2003 5:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Getting started with Web development No Way you're going to "get hammered". The mods may take a (friendly) stick to you sometimes when you go off on one about beer, traffic or whatever but rest assured we hugely appreciate the efforts you make to help people on this list. And I second Jim's call - Write a book, or at least a series of aticles for Many-To-Many. Susan's tking of another issue soon so this would be a terrific subject. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 26 November 2003 22:55 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT - Getting started with Web development > > > Paul, I have been developing ASP project for quite some time > now. I think I can narrow down what you REALLY need to know > to get started. > > First of all, before you dig into web development, you MUST > understand how a web server and web pages work. It is a > whole different ball of wax compared to an Access FE. With > an Access FE, you create forms and reports, and each user has > a copy (or uses a shared FE) of the front end. This has > several drawbacks. First of all, if you have copies of the > FE all over, you have to create an update process to push out > new changes. If you have a shared FE, then you have to kick > everyone out to update the process. On top of that, a user > can be anywhere, so there can always be issues of where > things are located. One user may have a share mapped to S, > while another has it mapped to T. UNC's can handle this, but > then there is also the issue of whether people are able to > even get to the locations involved. On a web server, all of > these issues are moot. > > The way a web server works, is the client opens their browser > and requests a web page. Let's say they go to > http://MyWebsite.com. The browser does a few things, one of > which is it sends an http request to the server sitting at > whatever mywebsite.com resolves too. (http is Hyper Text > Transfer Protocol. HTML is Hyper Text Markup Language. So, > HTTP is the protocol uses to transport HTML.). The server at > the other end gets an http request for it's root directory. > Notice the URL doesn't have a specific file (this is a KEY > point to remember). That is just fine and dandy, because a > webserver can be asked for a page by just the 'folder', since > each folder can have a default document setup. In most cases > it is index.htm or default.asp, but it can quite frankly be > any document you want (or even a list of documents). For our > example, let's say it's default.asp. The web server then > reads the default.asp page and runs it through it's ISAPI > filters. These are filters that cause various things to be > done to the HTML that is going to be sent back. Two good > examples of this are includes and ASP itself. Includes are > when you mark another file or files to be included within the > document. So, if you have a header that you want on every > page, instead of putting the HTML for that header on every > page, you put the header in it's own file, and just include > it in all of your pages. The include ISAPI filter then > incorporates that HTML in the outgoing HTML. You can also > include .asp code, similar to putting code in a module, > versus behind every form/report. The ASP ISAPI filter is a > little more complex. Instead of just replacing text, it > actually 'works' the ASP code on the page. > > This is the CORE of ASP. What the end user get's, is just > the outgoing HTML. They never get the ASP code itself. ASP > can either be passive or dynamic. My own terms for the two > actions ASP can perform. Passive is when the ASP does > something that the users can't see. Dynamic is when ASP does > something that the users DO see. For example. If the > default.asp page was like this: > > <% > dim cnn > dim rs > dim strSQL > set cnn=server.createobject("ADODB.Connection") > set rs=server.createobject("ADODB.Recordset") > cnn.Provider="Microsoft.Jet.OLEDB.4.0" > cnn.Open "E:\MyDB.mdb" > strSQL="SELECT Hit FROM tblHits;" > rs.Open strSQL,cnn,1,3 > rs.AddNew > rs.Fields(0).value=1 > rs.Update > rs.close > set rs=nothing > cnn.close > set cnn=nothing > %> > > Hello > > > The end user will get a page that says hello, but internally, > the ASP page has added a record to a database, in this case, > a simple hit counter. This is passive, since the user will > always get 'Hello', no matter what they do. The ASP code is > doing work, but it's something the end user doesn't see. > > Dynamic ASP pages are where the output the user sees is > directly affected by the ASP code. To do this, you must > either use the = symbol (which is a shortcut to have the ASP > send something out with the resulting HTML stream), or the > response.write procedure. > > For example, let's have default.asp be this: > > <% > dim strIP > strIP=request.ServerVariables("REMOTE_ADDR") > %> > > Your IP Address is: <%=strIP%>
> <% > response.write "Have a nice day." > %> > > > What the user will see is a message that has their IP > address, like this: > > Your IP Address is: 65.65.125.209 > Have a nice day. > > We used the equal since to 'insert' something into the normal > HTML with ASP, and then we used response.write to directly > output a string into the outgoing HTML stream. > > The last thing to remember when dealing with a web server is > that the end users are getting whatever the web server hands > out, the moment they request it. Once they get the resulting > HTML stream, and their browser displays the page, there is no > longer a connection to the file they requested. That means > if you are constantly updating asp pages, the end users will > just simply get the 'current' results at the time of their > request. No kicking everyone out, etc. Pretty handy. > > Three more items to cover. Above was the biggie. First of > the three. HTML. HTML is actually pretty simple. I > personally used Front Page when I started out, to let it do > the HTML for me, then after a few months of going back and > forth, I just got the hang of it, and I rarely ever use FP > for writing the HTML anymore. The two key items to remember > with HTML is that everything is written with tags. Some tags > are stand alone, such as
(which is a line break), and > some tags must have a start and finish ( and , > or an easier example and which is for bolding text). > Tags also can have properties. For example, an anchor tag > (for hyperlinks) is a. Click > here to go to Wolfwares.com href property, which is the URL of the site/file the > hyperlink points too, then the tag is closed with the >, and > between the start tag, and the closing tag , there is > text, which is what the user will see as the text of the > hyperlink. The second key item to remember with HTML is that > no matter what format you write the HTML in, what the user > sees in the browser is determine by the TAGS, not by the HTML code. > > So if you write: > > > This is a > Test > > > The user sees: > This is a Test > > If you write: > This is a
Test > > The user sees: > This is a > Test > > Second of the three is a BIG difference between Access and > ASP. Access runs it's code on the users processor. This is > both good and bad. Bad, because the end user must have > Access (or a run-time installed). Also, bad because users on > slower machines are going to be delayed longer then users on > fast machines. Good, because as long as the end users have > the correct software/runtimes, your application should almost > be gauranteed to work. With ASP, if you write standard HTML, > it doesn't matter what you have the ASP code do. Your ASP > code only has to run on the web server. Your clients can be > running Pentium 4's, with IE, or Mac's with Netscape, and > everyone sees the same results. A client running a 2.6 > gigahertz on a 56k modem is going to run your application at > the same speed (well, pretty much the same > speed) as a client running a 486 66mhz with a 56k modem. In > fact, if your pages are light enough on the output (little to > no graphics, just plain > HTML.....) there isn't going to be much of a difference > between a modem user or a broad band user. Text transfers > pretty quickly....though you could have slow downs if there > is just a ton of text being sent (like combo boxes that have > thousands of items in their lists). The final issue with > this part is client side scripting. I personally stay away > from it like the plague, unless it's for in house projects > where I know everyone is using IE. So try to make your > applications run strictly with ASP, unless absolutely necessary. > > Third of the three. The real nuts and bolts of ASP. ASP can > be written in JScript or VBScript. Quite frankly I have > never bothered to use JScript, since VBScript is practically > second nature. When writting ASP, you enclose the ASP code > with <% and %> (start and end tags for ASP), and then write > away with VBScript. There are two things to > remember/research. ASP is VBScript with extra objects > (Application, > ObjectContext,Request,ASPError,Response,Server,Session). The > three you are going to deal with the most are Request, > Response and Server. Request gives you access to what you > have been 'sent' by the user. It can be used to read cookies, > server variables (which include Usernames, passwords,IP > Addresses, browser types, etc.), and form data. Response is > what you use to send data back to the user (response.write > outputs to the HTML stream, redirect can actually change the > URL the end user is receiving, etc.). Server is the > webserver itself. The two main methods you will probably use > are MapPath(Which let's you map a virtual or actual path to a > file) and CreateObject. That CreateObject is the big catch > with ASP and VBScript. In normal VBScript you just call > CreateObject. But with ASP, you must use the Server Object's > CreateObject method to create an object in VBScript. (Because > the object must be created by the webserver). > > That's ASP in a nutshell. The first item I talked about is a > little difficult to figure out from the MSDN, the rest is in > the MSDN, but can still be a little difficult to figure out. > The details on everything (HTML tags, ASP objects, etc.) are > pretty much well explained in the MSDN though. > > The last thing you will need to know about ASP pages versus > Access FE's is how to get data FROM the user. (we already > discussed sending it to them, with the response.write > method). I mentioned the request object. The two methods of > getting data from the user are through forms and > querystrings. A querystring is what follows a URL (after a > ?). So, if you have a URL like > this: http://MyWebsite.com/default.asp?MyValue=10 , you can > retrieve the value of MyValue by using the > request.QueryString method, like this: > > <% > response.write request.QueryString("MyValue") > %> > > If you have an HTML form, and you POST the data: > > > >
> > >
> > > > The resulting page will have a textbox, and a submit button. > Pressing the submit button will send the data within the > MyValue textbox to results.asp. So if results.asp was this: > > <% > response.write request.form("MyValue") > %> > > The results page will output whatever was in the textbox. > > The key difference between a QueryString and a Form is that > QueryStrings are limited by the max length of a URL (which > is, I think, 2048 characters...maybe 1024 characters, not > sure). Where as a form is not limited in the amount of data > that can be submitted. You can also refer to a request > 'variable' by just the request object. request("MyValue") > can be a value in either a QueryString OR a Form. > > Phew, what an email. This was fun to write though. Keep in > mind that ASP doesn't directly like DAO, so write your code > using ADO. Feel free to contact me offlist if you have > specific questions. I may get hammered for the length of > this email, but I think it's pertinent to Access development > on the web! > > Drew > > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, November 26, 2003 9:55 AM > To: accessd > Subject: [AccessD] OT - Getting started with Web development > > > To all, > I'm looking to start writing web pages etc, secure logins, > returning resultsets in tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any > book recommendations ? Thanks in advance for all your help > Paul Hartland _______________________________________________ > 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/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 28 18:12:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:12:55 -0600 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227607@main2.marlow.com> I've done it with VB, so I'm sure it can be done with Access. It works fine in NT 5.0 (and up, so that includes w2k and wxp), but NT requires much more detailed security information, which I never got around to goofing around with. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, November 28, 2003 2:38 AM To: accessd at databaseadvisors.com Subject: [AccessD] NTFS new/changed file report by OS in Access Dear Friends NTFS has the posibilty to report to an app when a new file is added or changed in a folder. So instead of screening a folder for new files app, its rather the OS that reports to the app that new or changed files are in a certain folder. Has anyone tried to use this in Access? I supose this is some kind of an API call. This is very true for WXP don't not for W2K. Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 28 18:15:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:15:08 -0600 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227608@main2.marlow.com> Actually, if you use the API (don't remember the name off the top of my head), but it works perfectly, no matter what the traffic is. It even works on remote machines. So you can 'hook' into another NT 5.0 or higher machine and watch all activity on a file/folder/directory. (No timers involved...though it does use API timer events not to continuously monitor a drive, but instead to force the loop.) Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, November 28, 2003 3:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] NTFS new/changed file report by OS in Access Hi Erwin > NTFS has the posibilty to report to an app when a new file is added or > changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. Look up the archive on these: 2002-02-19: On Timer Events and a repost/quote 2002-04-23: Monitoring Directories If you can achieve better results I would be most interested in learning about it. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 29 04:22:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Nov 2003 11:22:06 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> Message-ID: <1586354186.20031129112206@cactus.dk> Hi Erwin Not quite sure what you wish to achieve but here's another option for watching file changes: http://tailforwin32.sourceforge.net/ /gustav > NTFS has the posibilty to report to an app when a new file is added or > changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. From john at winhaven.net Sat Nov 29 10:51:04 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Nov 2003 10:51:04 -0600 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: JC, Not a lot of posts lately so I'm just a wondering if I'm seeing them all. Has anyone else responded to this post? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 27, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Registry tweaks > > > Have ya ever... wished you had a place to store all the registry > tweaks you > run across? I have run across so many things where they tell you to go to > the registry and set / clear / delete some entry. I can NEVER remember > where I found the tweak, but I always remember I was supposed to do some > unnamed thing to make something happen. > > It all started with securing IIS. An article I ran across gives a handful > of registry tweaks to tighten up security. Of course I can use > regedit but > how blas? > > Well I just whipped out a little database to hold the key / value name / > value and a memo about the registry key, as well as a parent "topic" table > that lets me organize the entries by a topic of my choosing, complete with > memo. At the moment you have to type the registry key / value > name / value > in, but once you do you can press a button and the entry is created in the > registry. It uses a registry class for anyone interested in how to read / > write the registry (or doesn't want to write their own) courtesy of a VB > Techniques article written by Eric Smith on 3/29/2000. I also use a few > withevent classes for those of you who want to see how I use Withevents to > run the basic forms. > > I may (probably will) eventually write code to back up an existing key > before modification, read registry chunks into the table etc. Not there > yet. > > I think it would be cool to organize a huge "registry tweak" > database where > anyone interested gets this database and enters their favorite tweak, then > donates their tweaks to a pool. I can take care of merging everyone's > tweaks into a single database and get the resulting pool up on my > web site. > > Anyone interested? Anyone know of a public domain db that I can > get tweaks > already in a db? > > John W. Colby > www.ColbyConsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Sat Nov 29 11:22:36 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat, 29 Nov 2003 12:22:36 -0500 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: Nope. That happens though. There may not be a lot of interest. Plus it's a holiday. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, November 29, 2003 11:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Registry tweaks JC, Not a lot of posts lately so I'm just a wondering if I'm seeing them all. Has anyone else responded to this post? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 27, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Registry tweaks > > > Have ya ever... wished you had a place to store all the registry > tweaks you > run across? I have run across so many things where they tell you to go to > the registry and set / clear / delete some entry. I can NEVER remember > where I found the tweak, but I always remember I was supposed to do some > unnamed thing to make something happen. > > It all started with securing IIS. An article I ran across gives a handful > of registry tweaks to tighten up security. Of course I can use > regedit but > how blas? > > Well I just whipped out a little database to hold the key / value name / > value and a memo about the registry key, as well as a parent "topic" table > that lets me organize the entries by a topic of my choosing, complete with > memo. At the moment you have to type the registry key / value > name / value > in, but once you do you can press a button and the entry is created in the > registry. It uses a registry class for anyone interested in how to read / > write the registry (or doesn't want to write their own) courtesy of a VB > Techniques article written by Eric Smith on 3/29/2000. I also use a few > withevent classes for those of you who want to see how I use Withevents to > run the basic forms. > > I may (probably will) eventually write code to back up an existing key > before modification, read registry chunks into the table etc. Not there > yet. > > I think it would be cool to organize a huge "registry tweak" > database where > anyone interested gets this database and enters their favorite tweak, then > donates their tweaks to a pool. I can take care of merging everyone's > tweaks into a single database and get the resulting pool up on my > web site. > > Anyone interested? Anyone know of a public domain db that I can > get tweaks > already in a db? > > John W. Colby > www.ColbyConsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Nov 29 14:01:54 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Nov 2003 14:01:54 -0600 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: Thanks, just checking. Are you on the Eng-Lib list? Maybe we could take it over there and continue. I'm certainly willing to give some effort. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Saturday, November 29, 2003 11:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Registry tweaks > > > Nope. That happens though. There may not be a lot of interest. > Plus it's > a holiday. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Saturday, November 29, 2003 11:51 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Registry tweaks > > > JC, > Not a lot of posts lately so I'm just a wondering if I'm seeing them all. > > Has anyone else responded to this post? > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > > Sent: Thursday, November 27, 2003 11:20 AM > > To: AccessD > > Subject: [AccessD] Registry tweaks > > > > > > Have ya ever... wished you had a place to store all the registry > > tweaks you > > run across? I have run across so many things where they tell > you to go to > > the registry and set / clear / delete some entry. I can NEVER remember > > where I found the tweak, but I always remember I was supposed to do some > > unnamed thing to make something happen. > > > > It all started with securing IIS. An article I ran across > gives a handful > > of registry tweaks to tighten up security. Of course I can use > > regedit but > > how blas? > > > > Well I just whipped out a little database to hold the key / value name / > > value and a memo about the registry key, as well as a parent > "topic" table > > that lets me organize the entries by a topic of my choosing, > complete with > > memo. At the moment you have to type the registry key / value > > name / value > > in, but once you do you can press a button and the entry is > created in the > > registry. It uses a registry class for anyone interested in > how to read / > > write the registry (or doesn't want to write their own) courtesy of a VB > > Techniques article written by Eric Smith on 3/29/2000. I also use a few > > withevent classes for those of you who want to see how I use > Withevents to > > run the basic forms. > > > > I may (probably will) eventually write code to back up an existing key > > before modification, read registry chunks into the table etc. Not there > > yet. > > > > I think it would be cool to organize a huge "registry tweak" > > database where > > anyone interested gets this database and enters their favorite > tweak, then > > donates their tweaks to a pool. I can take care of merging everyone's > > tweaks into a single database and get the resulting pool up on my > > web site. > > > > Anyone interested? Anyone know of a public domain db that I can > > get tweaks > > already in a db? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tinanfields at torchlake.com Sat Nov 29 14:02:35 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 29 Nov 2003 15:02:35 -0500 Subject: [AccessD] Registry tweaks References: Message-ID: <3FC8FB5B.2090607@torchlake.com> Well, here's a response: YAY!!!!! Like John B, I try to capture items I know will be of use to me sometime, and stash them in a folder somewhere - some things actually get into a database - some just sit in text files stashed in the folder. Clearly, there is a need for something more robust, more integrated, more creative. Thank you, JC for getting it started. I will be very happy to contribute any little "tweak" I run across that you don't already have. Now, back to the left-over turkey, Tina John W. Colby wrote: >Nope. That happens though. There may not be a lot of interest. Plus it's >a holiday. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow >Sent: Saturday, November 29, 2003 11:51 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Registry tweaks > > >JC, >Not a lot of posts lately so I'm just a wondering if I'm seeing them all. > >Has anyone else responded to this post? > >JB > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby >>Sent: Thursday, November 27, 2003 11:20 AM >>To: AccessD >>Subject: [AccessD] Registry tweaks >> >> >>Have ya ever... wished you had a place to store all the registry >>tweaks you >>run across? I have run across so many things where they tell you to go to >>the registry and set / clear / delete some entry. I can NEVER remember >>where I found the tweak, but I always remember I was supposed to do some >>unnamed thing to make something happen. >> >>It all started with securing IIS. An article I ran across gives a handful >>of registry tweaks to tighten up security. Of course I can use >>regedit but >>how blas? >> >>Well I just whipped out a little database to hold the key / value name / >>value and a memo about the registry key, as well as a parent "topic" table >>that lets me organize the entries by a topic of my choosing, complete with >>memo. At the moment you have to type the registry key / value >>name / value >>in, but once you do you can press a button and the entry is created in the >>registry. It uses a registry class for anyone interested in how to read / >>write the registry (or doesn't want to write their own) courtesy of a VB >>Techniques article written by Eric Smith on 3/29/2000. I also use a few >>withevent classes for those of you who want to see how I use Withevents to >>run the basic forms. >> >>I may (probably will) eventually write code to back up an existing key >>before modification, read registry chunks into the table etc. Not there >>yet. >> >>I think it would be cool to organize a huge "registry tweak" >>database where >>anyone interested gets this database and enters their favorite tweak, then >>donates their tweaks to a pool. I can take care of merging everyone's >>tweaks into a single database and get the resulting pool up on my >>web site. >> >>Anyone interested? Anyone know of a public domain db that I can >>get tweaks >>already in a db? >> >>John W. Colby >>www.ColbyConsulting.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From sgoodhall at comcast.net Sat Nov 29 17:31:12 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 29 Nov 2003 18:31:12 -0500 Subject: [AccessD] Table Linking in Access 2000 In-Reply-To: <3FC8FB5B.2090607@torchlake.com> Message-ID: I know that some of you picked up my Access97 routines that dynamically link to back-end tables because I get an occasional question. I finally got around to rewriting them for Access2000, that is to use ADO rather than DAO to create the links. I have posted a sample database and documentation to my web site, www.goodhall.info/steve. Click on "Useful Software" on the left frame and download the first item. Feel free to use these subject to the specified conditions which mostly consist of retaining the Copyright notices. As usual, there is no warranty expressed or implied. Regards, Steve Goodhall From askolits at ot.com Sat Nov 29 17:34:35 2003 From: askolits at ot.com (John Skolits) Date: Sat, 29 Nov 2003 18:34:35 -0500 Subject: [AccessD] Archive Ooops.... In-Reply-To: Message-ID: Gee, and I thought it was just me and my browser. Great! Thanks for fixin' it. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Tuesday, November 25, 2003 8:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive Ooops.... Thanks for staying on top of that Drew, the searchable archives are a great asset to this community. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Tuesday, November 25, 2003 5:22 PM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Archive Ooops.... > > > Apparently my 'indexer' hasn't been running since late september. So > searches on messages since then would have produced nothing. Fixed the > problem earlier today, and now the indexing is all caught up. Oooops. > > 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 artful at rogers.com Sun Nov 30 16:32:17 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Nov 2003 14:32:17 -0800 Subject: [AccessD] Change all Yes/No fields in a database In-Reply-To: <000401c3b5d3$91e189f0$7001a8c0@COA3> Message-ID: <000001c3b791$d7319e40$6501a8c0@rock> Thanks! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Developer Sent: Friday, November 28, 2003 9:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change all Yes/No fields in a database To "walk" all, you need something like: Public Sub allyesno() Dim d As DAO.Database Dim t As DAO.TableDef Dim f As DAO.Field Set d = CurrentDb For Each t In d.TableDefs For Each f In t.Fields If f.Type = dbBoolean Then ' DO STUFF Debug.Print f.Name End If Next 'f Next 't End Sub - hth, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 28, 2003 1:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change all Yes/No fields in a database Thanks for this. It's a start, but what I don't see is how I can apply so that I can walk all the tables and all the fields, finding the Yes/No fields without knowing their names beforehand, and then applying the changes. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Sunday, November 23, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = > 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 jcolby at colbyconsulting.com Sat Nov 1 00:31:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 01:31:35 -0500 Subject: [AccessD] OT: Noisy computer Message-ID: I just thought I'd share a tip. I build my own computers from parts. About two years ago now I bought these rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs and used Thermaltake volcanoes in them plus 3 case fans (plus two in the power supply). Needless to say it was NOISY!!! So noisy I couldn't hear a phone conversation. I finally decided I'd had enough. I found a HSF called the Thermaltake Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, but the case fans were still pretty loud. I was just about to order low noise variable speed fans when I ran across this article: http://www.cpemma.co.uk/7volt.html I decided since it was free and immediate (I'm a right now kinda guy) I'd go ahead and try it. Essentially you build a cable (don't panic, it's easy) that feeds 7 volts to the fan instead of the normal 12, which reduces the fan speed (and air volume) which reduces the noise (and air volume). As long as the remaining air volume is sufficient to keep the case cool all is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out that the temperature on the proc went up from ~104 f to 107 f idle. Not too bad actually. And the difference in noise between the new HSF and lower voltage to the case fans is immense. Not dead silent by any means but quiet now instead of sounding like the cleaning lady with a vacuum in my ear. Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. http://www.cpemma.co.uk/7volt.html John W. Colby www.colbyconsulting.com From Erwin.Craps at ithelps.be Sat Nov 1 01:36:13 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 1 Nov 2003 08:36:13 +0100 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> But switches have no sense in a 1 server environment because all of the trafic goes and comes from one point. Unless your clients are 100Mb and the uplink to the server is 1Gb. People often believe switches will improve their network speed, but that is not always the case. But indeed the prices of the switches have dropped that you buy a switch at the price of a good hub these days. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, November 01, 2003 1:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) Got it. I think. Switch can route packet based on IP address but can't generate an IP address. Yes? Rocky Rocky ----- Original Message ----- From: "Frank Tanner III" To: "Access Developers discussion and problem solving" Sent: Friday, October 31, 2003 10:29 AM Subject: Re: [AccessD] OT: Wireless network (sort of) > It is sort of half-way, but not really. > > Switches are a "generation" better. Hubs and > switches, on their most basic level perform the same function. They > distribute network traffic. But HOW they distribute that traffic is > fundimentally different. > > Unless they're one of the newer layer 3 or layer 4 > switches, they cannot perform routing functions. They > just hand packets off from point A to point B. Think > of them as sort of a postman. They have an address > for each device on the network and they hand off each > piece of mail to the appropriate address. A hub, > using this sama analagy would deliver the same piece > of mail to every house and the one that it belonged to > would be the one that actually reads it. > > --- Rocky Smolin - Beach Access Software > wrote: > > "but it's as close as I could think of without > > getting too technical." > > > > Thank you. Much appreciated. So a switch is like > > halfway between a hub and > > a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 7:36 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > A router and a switch are fundimentall different > > > things. > > > > > > A router does just that. It routes network > > traffic. > > > > > > A switch plays "traffic cop" for a network. > > > > > > Newer switches, especially the layer 3 and layer 4 > > > ones can perform both functions.This isn't an > > exact > > > definition, but it's as close as I could think of > > > without getting too technical. > > > > > > --- Rocky Smolin - Beach Access Software > > > wrote: > > > > Is there a difference between a switch and a > > router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > Subject: RE: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > I recommend "hardwiring" the IP address of any > > > > device > > > > > or server connected to your LAN that's not a workstation and > > > > > is virtually always on. > > > > > > > > > > For the price, I would also highly recommend > > > > removing > > > > > all hubs from your network and using them as doorstops. > > > > > Switches have come way down in > > price > > > > and > > > > > have many benifits over hubs. > > > > > > > > > > Hubs divide the bandwidth across all ports. > > Thus > > > > if > > > > > you have an 8-port 10-BaseT hub, all ports > > that > > > > are > > > > > processing data split that 10Mbit. A switch, > > each > > > > > port gets the fill bandwidth. > > > > > > > > > > That's not including the security issues > > inherent > > > > with > > > > > hubs as they broadcast all available data to > > all > > > > > available ports rather than to the proper > > > > destination > > > > > port. > > > > > > > > > > --- John Colby > > wrote: > > > > > > Yes, you can indeed daisy chain routers and SUPPOSEDLY hubs, > > > > > > though I had no joy doing that with my old hub. I am > > however > > > > daisy > > > > > > chaining my old 4 port > > > > > > router off of my new 4 port wireless router. > > > > The > > > > > > newer models even figure > > > > > > out what kind of cable you are using, > > crossover > > > > or > > > > > > regular. The biggest > > > > > > issue there was that the router was the dhcp > > > > server > > > > > > so I had to turn off the > > > > > > old as a dhcp server and turn on the new. I > > > > also > > > > > > hardwired the address of > > > > > > the old router to 192.168.1.2. Daisy > > Chaining > > > > two 4 > > > > > > port routers isn't a > > > > > > panacea however since you now end up using > > two > > > > ports > > > > > > just for the daisy > > > > > > chain and have 6 left. In my case though I > > also > > > > > > have a wireless so I can > > > > > > get my laptop in through that and could also > > get > > > > > > other computers in if > > > > > > needed. > > > > > > > > > > > > I have an old model I TIVO which I modded to > > use > > > > the > > > > > > internet to "call in" > > > > > > for programming. I had to snake a cable > > down > > > > the > > > > > > wall from the living room > > > > > > (luckily exactly over my office in the > > > > basement). I > > > > > > understand that the > > > > > > model II has USB ports that can > > automatically > > > > use > > > > > > the USB wireless cards to > > > > > > connect to the internet. > > > > > > > > > > > > John W. Colby > > > > > > www.colbyconsulting.com > > > > > > > > > > > > -----Original Message----- > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > > > Behalf Of Rocky Smolin - > > > > > > Beach Access Software > > > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > > > To: Access Developers discussion and problem > > > > solving > > > > > > Subject: Re: [AccessD] OT: Wireless network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > John: > > > > > > > > > > > > I heard that you can daisy chain hubs off > > one of > > > > the > > > > > > ports on your router to > > > > > > get more ports and that you can go up to 255 > > > > devices > > > > > > from one router this > > > > > > way. Seems to easy and cheap, though. > > > > > > > > > > > > I've also found that when creating a new > > network > > > > it > > > > > > sometimes takes a few > > > > > > minutes for the different shared devices to > > > > 'see' > > > > > > each other - especially on > > > > > > the wireless. So I'll whang around > > frustrated > > > > > > trying to get the network to > > > > > > work and then have the same experience you > > had - > > > > > > after a few minutes, > > > > > > suddenly the other machines are in my > > network > > > > > > neighborhood. Go figure. > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "John Colby" > > > > > > > > To: "Database Advisors Inc. (Tech)" > > > > > > ; "AccessD" > > > > > > > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > > > Subject: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless > > router a > > > > > > couple of weeks ago. I > > > > > > needed > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 1 04:13:15 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 1 Nov 2003 11:13:15 +0100 Subject: [AccessD] You don't need perfect code to avoid security problems In-Reply-To: <3FA2E88F.10808@verizon.net> References: <3FA2E88F.10808@verizon.net> Message-ID: <1954072515.20031101111315@cactus.dk> Hi Francisco I think you need to leave Users and Groups and which users are members of which groups, UserGroups, as is. Then build a set of tables for Apps and Attributes where Apps is a list of your Apps and Attributes are whatever security or user property (menus, printer options, default colourset and language, saved options for the user, whatever) that could be assigned a user of an app. Now you can build Roles (Admin, Clerk, Student, etc.) which for every App can be assigned a selection of Attributes. Finally, build UserRoles and GroupRoles to connect users and groups with apps and attributes. When a user logs in, check UserRoles as well as UserGroups/GroupRoles to retrieve the current attributes (including security) for the current app for this user. This, of course, assumes that one attribute cannot negate another; otherwise things get very complicated. /gustav > In the company I work for, we are gearing up to deliver a full blown > Upgrade to our current Department System. It is currently in Access 97 > and we've already been handeling the growing pains w/ normalizing the > data and upsizing it to Sql Server 2000. The 2nd part is a little more > critical because it deals w/ Security and because eventually all this > will auto-synchronize as a distributed application, but I digress. > A common Security Topology follows this type of table format > Users (1-many) UserGroups (many-1) Groups > But what if the database needed to handel security for multiple > applications. Would it then be more Along the lines of > Users (1-many) UserApp (many-1) Apps (1-many) Groups > The reason I ask, is because already I'm receiving a list of possible > "GROUP/Role" names of what each application will use. Commonalities are > ADMIN and Clerk or Guest. From pctech at mybellybutton.com Sat Nov 1 09:22:56 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sat, 1 Nov 2003 07:22:56 -0800 (PST) Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> Message-ID: <20031101152256.92373.qmail@web13403.mail.yahoo.com> Switches will ALWAYS improve your speed over hubs. Period. Hubs SHARE the same bandwidth on all ports. Switches allocate the max bandwidth per port. You are incorrect. --- Erwin Craps wrote: > But switches have no sense in a 1 server environment > because all of the > trafic goes and comes from one point. > Unless your clients are 100Mb and the uplink to the > server is 1Gb. > > People often believe switches will improve their > network speed, but that > is not always the case. > But indeed the prices of the switches have dropped > that you buy a switch > at the price of a good hub these days. > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, November 01, 2003 1:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > Got it. I think. Switch can route packet based on > IP address but can't > generate an IP address. Yes? > > Rocky > > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem > solving" > > Sent: Friday, October 31, 2003 10:29 AM > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > > It is sort of half-way, but not really. > > > > Switches are a "generation" better. Hubs and > > switches, on their most basic level perform the > same function. They > > distribute network traffic. But HOW they > distribute that traffic is > > fundimentally different. > > > > Unless they're one of the newer layer 3 or layer 4 > > switches, they cannot perform routing functions. > They > > just hand packets off from point A to point B. > Think > > of them as sort of a postman. They have an > address > > for each device on the network and they hand off > each > > piece of mail to the appropriate address. A hub, > > using this sama analagy would deliver the same > piece > > of mail to every house and the one that it > belonged to > > would be the one that actually reads it. > > > > --- Rocky Smolin - Beach Access Software > > wrote: > > > "but it's as close as I could think of without > > > getting too technical." > > > > > > Thank you. Much appreciated. So a switch is > like > > > halfway between a hub and > > > a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > > To: "Access Developers discussion and problem > > > solving" > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > Subject: Re: [AccessD] OT: Wireless network > (sort > > > of) > > > > > > > > > > A router and a switch are fundimentall > different > > > > things. > > > > > > > > A router does just that. It routes network > > > traffic. > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > Newer switches, especially the layer 3 and > layer 4 > > > > ones can perform both functions.This isn't an > > > exact > > > > definition, but it's as close as I could think > of > > > > without getting too technical. > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > wrote: > > > > > Is there a difference between a switch and a > > > router? > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "Frank Tanner III" > > > > > > > > To: "Access Developers discussion and > problem > > > > > solving" > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > Subject: RE: [AccessD] OT: Wireless network > > > (sort > > > > > of) > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address of > any > > > > > device > > > > > > or server connected to your LAN that's not > a workstation and > > > > > > is virtually always on. > > > > > > > > > > > > For the price, I would also highly > recommend > > > > > removing > > > > > > all hubs from your network and using them > as doorstops. > > > > > > Switches have come way down in > > > price > > > > > and > > > > > > have many benifits over hubs. > > > > > > > > > > > > Hubs divide the bandwidth across all > ports. > > > Thus > > > > > if > > > > > > you have an 8-port 10-BaseT hub, all ports > > > that > > > > > are > > > > > > processing data split that 10Mbit. A > switch, > > > each > > > > > > port gets the fill bandwidth. > > > > > > > > > > > > That's not including the security issues > > > inherent > > > > > with > > > > > > hubs as they broadcast all available data > to > > > all > > > > > > available ports rather than to the proper > > > > > destination > > > > > > port. > > > > > > > > > > > > --- John Colby > > > > wrote: > > > > > > > Yes, you can indeed daisy chain routers > and SUPPOSEDLY hubs, > > > > > > > > though I had no joy doing that with my > old hub. I am > > > however > > > > > daisy > > > > > > > chaining my old 4 port > > > > > > > router off of my new 4 port wireless > router. > > > > > The > > > > > > > newer models even figure > > > > > > > out what kind of cable you are using, > > > crossover > > > > > or > > > > > > > regular. The biggest > > > > > > > issue there was that the router was the > dhcp > > > > > server > > > > > > > so I had to turn off the > > > > > > > old as a dhcp server and turn on the > new. I > > > > > also > > > > > > > hardwired the address of > > > > > > > the old router to 192.168.1.2. Daisy > > > Chaining > > > > > two 4 > === message truncated === From john at winhaven.net Sat Nov 1 09:46:18 2003 From: john at winhaven.net (John Bartow) Date: Sat, 1 Nov 2003 09:46:18 -0600 Subject: [AccessD] OT: Noisy computer In-Reply-To: Message-ID: JC, You might find this as ironic as I do. I have a Compaq w4000 SCSI workstation (very fast BTW) that has a BIOS setting for the hard drive: Fast/Quiet. Of course I choose fast and yes, it is very noisy (when I have the door to my "bullpen" open). :o) JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Saturday, November 01, 2003 12:32 AM > To: AccessD > Subject: [AccessD] OT: Noisy computer > > > I just thought I'd share a tip. > > I build my own computers from parts. About two years ago now I > bought these > rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs > and used Thermaltake volcanoes in them plus 3 case fans (plus two in the > power supply). Needless to say it was NOISY!!! > > So noisy I couldn't hear a phone conversation. > > I finally decided I'd had enough. I found a HSF called the Thermaltake > Silent Boost. NICE! All copper, 80mm low noise fan. Almost > silent. That > got rid of the jet engine sound from the 60mm 4500 rpm fans on > the old HSF, > but the case fans were still pretty loud. I was just about to order low > noise variable speed fans when I ran across this article: > http://www.cpemma.co.uk/7volt.html > > I decided since it was free and immediate (I'm a right now kinda > guy) I'd go > ahead and try it. Essentially you build a cable (don't panic, it's easy) > that feeds 7 volts to the fan instead of the normal 12, which reduces the > fan speed (and air volume) which reduces the noise (and air volume). > > As long as the remaining air volume is sufficient to keep the > case cool all > is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out > that the temperature on the proc went up from ~104 f to 107 f > idle. Not too > bad actually. And the difference in noise between the new HSF and lower > voltage to the case fans is immense. Not dead silent by any > means but quiet > now instead of sounding like the cleaning lady with a vacuum in my ear. > > Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. > http://www.cpemma.co.uk/7volt.html > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Sat Nov 1 11:02:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 12:02:58 -0500 Subject: [AccessD] OT: Windows Media Player path to music Message-ID: In the process of making my computers quieter I moved a hard disk to my wife's computer (let her listen to it!) ;-). Anyway, all it had on it was my ripped music collection which is played on her computer anyway since it has the speakers now. Unfortunately the path to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is there anyway to tell Media Player to change where it is looking for these things short of a new scan? John W. Colby www.colbyconsulting.com From wdhindman at bellsouth.net Sat Nov 1 11:39:15 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 12:39:15 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <001e01c3a09f$120d6da0$6001a8c0@dejpolsys> JC ...simply copy your *wmbd files located in your C:\Documents and Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ folder over to the same folder under Mary's user directory. ...I'm using WXP and Media Player 9 but the same idea should work for W2K ...HTH :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 12:02 PM Subject: [AccessD] OT: Windows Media Player path to music > In the process of making my computers quieter I moved a hard disk to my > wife's computer (let her listen to it!) ;-). > > Anyway, all it had on it was my ripped music collection which is played on > her computer anyway since it has the speakers now. Unfortunately the path > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > there anyway to tell Media Player to change where it is looking for these > things short of a new scan? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sat Nov 1 11:51:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 12:51:00 -0500 Subject: [AccessD] OT: Windows Media Player path to music In-Reply-To: <001e01c3a09f$120d6da0$6001a8c0@dejpolsys> Message-ID: No, the music directory was a shared directory on my computer. I shared the Music Directory, then mapped it to M: on all of my computers. Thus the "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. IOW, Windows media player didn't use the mapped drive as the path but the workstation. No se por que. Mary's computer has always been the player, it just used to get the music off of my computer across the net. Now it is getting it off her own computer (I moved that drive to her computer). I thought if I shared the Music directory and mapped it to M: Media player would just work. But NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on mcolby-ws. Why in the world it would use the workstation name instead of the mapped drive is beyond me but it is damned annoying! It is remotely possible that I told it to search using the network neighborhood path but that doesn't seem like something I would do. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, November 01, 2003 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Windows Media Player path to music JC ...simply copy your *wmbd files located in your C:\Documents and Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ folder over to the same folder under Mary's user directory. ...I'm using WXP and Media Player 9 but the same idea should work for W2K ...HTH :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 12:02 PM Subject: [AccessD] OT: Windows Media Player path to music > In the process of making my computers quieter I moved a hard disk to my > wife's computer (let her listen to it!) ;-). > > Anyway, all it had on it was my ripped music collection which is played on > her computer anyway since it has the speakers now. Unfortunately the path > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > there anyway to tell Media Player to change where it is looking for these > things short of a new scan? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 1 12:03:03 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 13:03:03 -0500 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: In order to do a compact / repair everyone has to be out of the database, meaning (more or less) no FEs are open. After that, just use windows scheduler to do a compact using command line switches. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Friday, October 31, 2003 6:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 - Repair and Compact Hey All I have a program designed for a client that runs basically 24 hours a day, 7 days a week collecting and processing data. Is it possible to schedule a once weekly repair and compact operation on both the frontend and backend (or even for now just the backend). There is a lag/idle time between 1AM and 4AM, when no data is collected or processed. Any direction to available code, ideas or programs would be appreciated. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Nov 1 12:14:06 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 13:14:06 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <003601c3a0a3$f07a82e0$6001a8c0@dejpolsys> ...so why not open the file in notepad and do a replace all ...or just do another scan :( William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 12:51 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > No, the music directory was a shared directory on my computer. I shared the > Music Directory, then mapped it to M: on all of my computers. Thus the > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. IOW, > Windows media player didn't use the mapped drive as the path but the > workstation. No se por que. > > Mary's computer has always been the player, it just used to get the music > off of my computer across the net. Now it is getting it off her own > computer (I moved that drive to her computer). I thought if I shared the > Music directory and mapped it to M: Media player would just work. But > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > mcolby-ws. > > Why in the world it would use the workstation name instead of the mapped > drive is beyond me but it is damned annoying! It is remotely possible that > I told it to search using the network neighborhood path but that doesn't > seem like something I would do. ;-) > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 12:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > JC > > ...simply copy your *wmbd files located in your C:\Documents and > Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ > folder over to the same folder under Mary's user directory. > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > ...HTH :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Saturday, November 01, 2003 12:02 PM > Subject: [AccessD] OT: Windows Media Player path to music > > > > In the process of making my computers quieter I moved a hard disk to my > > wife's computer (let her listen to it!) ;-). > > > > Anyway, all it had on it was my ripped music collection which is played on > > her computer anyway since it has the speakers now. Unfortunately the path > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > > there anyway to tell Media Player to change where it is looking for these > > things short of a new scan? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Nov 1 12:24:38 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 13:24:38 -0500 Subject: [AccessD] ACC97 - Repair and Compact References: Message-ID: <003e01c3a0a5$6921b2d0$6001a8c0@dejpolsys> http://www.mvps.org/access/modules/mdl0030.htm ...this link is to a sample A97 mdb on Dev's site that allows compact/repair from within the current db ...it basically opens another Access instance through automation, closes yours, compacts it, reopens it, and then closes the 2nd instance :) ...although the code works reliably, you'd probably be better off rewriting it to use the Jet Compact/Repair Utility that subsequently came out which is much, much more reliable imo than the standard A97 compact operation ...HTH :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:03 PM Subject: RE: [AccessD] ACC97 - Repair and Compact > In order to do a compact / repair everyone has to be out of the database, > meaning (more or less) no FEs are open. After that, just use windows > scheduler to do a compact using command line switches. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav > Sent: Friday, October 31, 2003 6:14 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] ACC97 - Repair and Compact > > > Hey All > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > 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 davesharpe2 at cox.net Sat Nov 1 12:30:26 2003 From: davesharpe2 at cox.net (Dave Sharpe) Date: Sat, 1 Nov 2003 13:30:26 -0500 Subject: [AccessD] ACC97 - Repair and Compact References: Message-ID: <004f01c3a0a6$388743f0$dd2f0a44@bcsext6137> Tony I use the "lite" ( free version ) of this that can't schedule; but , I beleive that the "full" version has scheduling Access Maintainer developed by Gracemere Software http://www.gracemere.com Dave ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:03 PM Subject: RE: [AccessD] ACC97 - Repair and Compact In order to do a compact / repair everyone has to be out of the database, meaning (more or less) no FEs are open. After that, just use windows scheduler to do a compact using command line switches. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Friday, October 31, 2003 6:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 - Repair and Compact Hey All I have a program designed for a client that runs basically 24 hours a day, 7 days a week collecting and processing data. Is it possible to schedule a once weekly repair and compact operation on both the frontend and backend (or even for now just the backend). There is a lag/idle time between 1AM and 4AM, when no data is collected or processed. Any direction to available code, ideas or programs would be appreciated. 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 dwaters at usinternet.com Sat Nov 1 12:38:43 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 1 Nov 2003 12:38:43 -0600 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <13883919.1067710129957.JavaMail.root@sniper.marix.com> Message-ID: <000301c3a0a7$637aca40$de1811d8@DanWaters> To add on to John' suggestion, you can set up an automatic shutdown at a certain time. In a form which is always open (could be invisible), add a timer event for 60 seconds (60,000 mseconds). The timer event should check to see if you have reached the log-out time. Once you reach the log-out time, display a pop-up form (not modal) to the user that they have X minutes to finish their work. Use the same timer event to count down the X minutes, then Docmd.Quit in code. You'll also need code in your startup form to prevent users from logging in until after the compacting I done. You could also do this weekly in the timer event by checking for the specific day prior to forcing users out. 5 minutes later run the windows scheduler IAW John's instructions. 5 minutes later the code in your startup form should allow users to log in. This gives users a forced 'break' of about 15 minutes. HTH, Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 01, 2003 12:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ACC97 - Repair and Compact In order to do a compact / repair everyone has to be out of the database, meaning (more or less) no FEs are open. After that, just use windows scheduler to do a compact using command line switches. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Friday, October 31, 2003 6:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 - Repair and Compact Hey All I have a program designed for a client that runs basically 24 hours a day, 7 days a week collecting and processing data. Is it possible to schedule a once weekly repair and compact operation on both the frontend and backend (or even for now just the backend). There is a lag/idle time between 1AM and 4AM, when no data is collected or processed. Any direction to available code, ideas or programs would be appreciated. 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 jcolby at colbyconsulting.com Sat Nov 1 12:39:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 13:39:36 -0500 Subject: [AccessD] OT: Windows Media Player path to music In-Reply-To: <003601c3a0a3$f07a82e0$6001a8c0@dejpolsys> Message-ID: I tried opening it with notepad and it opened (it's 15 MBYTES however, but it appears to be a database of some sort (not clear text). The extension is WMDB which sounds suspiciously like an access database so I tried to open it with A2K. "Unknown file format". I'll try again with AXP. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, November 01, 2003 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Windows Media Player path to music ...so why not open the file in notepad and do a replace all ...or just do another scan :( William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 12:51 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > No, the music directory was a shared directory on my computer. I shared the > Music Directory, then mapped it to M: on all of my computers. Thus the > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. IOW, > Windows media player didn't use the mapped drive as the path but the > workstation. No se por que. > > Mary's computer has always been the player, it just used to get the music > off of my computer across the net. Now it is getting it off her own > computer (I moved that drive to her computer). I thought if I shared the > Music directory and mapped it to M: Media player would just work. But > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > mcolby-ws. > > Why in the world it would use the workstation name instead of the mapped > drive is beyond me but it is damned annoying! It is remotely possible that > I told it to search using the network neighborhood path but that doesn't > seem like something I would do. ;-) > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 12:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > JC > > ...simply copy your *wmbd files located in your C:\Documents and > Settings\YourUserName\Local Settings\ApplicationData\Microsoft\MediaPlayer\ > folder over to the same folder under Mary's user directory. > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > ...HTH :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Saturday, November 01, 2003 12:02 PM > Subject: [AccessD] OT: Windows Media Player path to music > > > > In the process of making my computers quieter I moved a hard disk to my > > wife's computer (let her listen to it!) ;-). > > > > Anyway, all it had on it was my ripped music collection which is played on > > her computer anyway since it has the speakers now. Unfortunately the path > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. Is > > there anyway to tell Media Player to change where it is looking for these > > things short of a new scan? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sun Nov 2 00:42:57 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 01 Nov 2003 22:42:57 -0800 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <3FA4A770.7BB08697@nanaimo.ark.com> Hey All Thanks John and William for your quick responses. John this has to be a no brainer (as far as the employees are concerned), as I already had a repair and compact option available when they closed the frontend, but nobody bothered to close the front end or use the option (tried a warning also). William I have looked at Dev's site, I will have to figure out how to incorporate the repair and compact of the backend in the same routine. I assume the Jet Repair/Compact utility is available from Microsoft. Thanks again From jcolby at colbyconsulting.com Sat Nov 1 12:49:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 13:49:37 -0500 Subject: [AccessD] ACC97 Repair and Compact In-Reply-To: <3FA4A770.7BB08697@nanaimo.ark.com> Message-ID: I'm thinking that you'll need to follow the suggestion to force the users out of the database, just closing it down around their ears if they don't get out. Unfortunately people go home and leave things open. No way out but to force a close. Once everyone is out, just do the compact. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Sunday, November 02, 2003 1:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 Repair and Compact Hey All Thanks John and William for your quick responses. John this has to be a no brainer (as far as the employees are concerned), as I already had a repair and compact option available when they closed the frontend, but nobody bothered to close the front end or use the option (tried a warning also). William I have looked at Dev's site, I will have to figure out how to incorporate the repair and compact of the backend in the same routine. I assume the Jet Repair/Compact utility is available from Microsoft. Thanks again _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sat Nov 1 13:08:01 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 01 Nov 2003 11:08:01 -0800 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <3FA40491.9CB11425@nanaimo.ark.com> Hey John Mentioned to Dan, that one way around the problem, may be his automatic shutdown suggestion (during the lag time). Then Task Scheduler to run the repair and compact, then after a certain time period have the Task Scheduler open the program again. Not as pretty as automating but an alternative if need be. From wdhindman at bellsouth.net Sat Nov 1 13:22:47 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 14:22:47 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <000801c3a0ad$88c27ea0$6001a8c0@dejpolsys> JC ...open it in notepad and scan down past all the goobledy gook ...you'll find a csv string listing of all your media information which can readily be f&r'd in notepad. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:39 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > I tried opening it with notepad and it opened (it's 15 MBYTES however, but > it appears to be a database of some sort (not clear text). The extension is > WMDB which sounds suspiciously like an access database so I tried to open it > with A2K. "Unknown file format". I'll try again with AXP. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > ...so why not open the file in notepad and do a replace all ...or just do > another scan :( > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 01, 2003 12:51 PM > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > No, the music directory was a shared directory on my computer. I shared > the > > Music Directory, then mapped it to M: on all of my computers. Thus the > > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. > IOW, > > Windows media player didn't use the mapped drive as the path but the > > workstation. No se por que. > > > > Mary's computer has always been the player, it just used to get the music > > off of my computer across the net. Now it is getting it off her own > > computer (I moved that drive to her computer). I thought if I shared the > > Music directory and mapped it to M: Media player would just work. But > > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > > mcolby-ws. > > > > Why in the world it would use the workstation name instead of the mapped > > drive is beyond me but it is damned annoying! It is remotely possible > that > > I told it to search using the network neighborhood path but that doesn't > > seem like something I would do. ;-) > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Saturday, November 01, 2003 12:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > JC > > > > ...simply copy your *wmbd files located in your C:\Documents and > > Settings\YourUserName\Local > Settings\ApplicationData\Microsoft\MediaPlayer\ > > folder over to the same folder under Mary's user directory. > > > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > > ...HTH :) > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "AccessD" > > Sent: Saturday, November 01, 2003 12:02 PM > > Subject: [AccessD] OT: Windows Media Player path to music > > > > > > > In the process of making my computers quieter I moved a hard disk to my > > > wife's computer (let her listen to it!) ;-). > > > > > > Anyway, all it had on it was my ripped music collection which is played > on > > > her computer anyway since it has the speakers now. Unfortunately the > path > > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. > Is > > > there anyway to tell Media Player to change where it is looking for > these > > > things short of a new scan? > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 1 12:27:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 1 Nov 2003 19:27:40 +0100 Subject: [AccessD] Writing raw RTF document using VBA In-Reply-To: <004901c39f36$185d8ba0$0300a8c0@print> References: <5614351436.20030524150347@cactus.dk> <1429226064.20031031183338@cactus.dk> <004901c39f36$185d8ba0$0300a8c0@print> Message-ID: <5133737291.20031101192740@cactus.dk> Hi Tom Thanks Tom, I can follow your approach. However, I do have the ocx running and bound to a memo field, thus I have the RTF memos build (and users type them in). My only task is to concatenate these micro documents into one RTF document. The ocx should happily work with Access 97. If not, you may have it inproperly registered. Here is a utility I found many years ago; it is still on-line: http://www.sareleku.com/DesktopDefault.aspx?tabid=43 It will install the RichText ocx so you can work with even without the Access Developer edition which is quite handy if you ever need to do some work on-site at a client. /gustav >> The client has got new budgets and is again asking for this: >> >> > My simple need (which I never got solved) was how to assemble an >> > rtf-formatted field from many records (essentially each an rtf >> > document) into one rtf document, stripping headers etc. from each >> > record and adding a header etc. to the final document. >> >> Does anybody have a clue how to attack it? > Gustav.. > I use rtf in one of my projects in the way you describe and although my method is very clunky .... it works and has been for some years now .....If you discover a cleaner/less clunky way I for one > would be very interested in hearing about it > My project is still using A97 and the biggest problem I found was the fact that the RTFocx will not bind directly to a table field or query so I had to use the control unbound and feed it from an > rtf file on the hard drive .....whether this has changed in A2000 or A2002 I dont know > Hmm...the pasted text below (looks crap in my email client) is produced by the function below it ....the result is saved as an rtf text file and then fed to the rtf OCX at runtime. > Setting it up is failrly simple ....simply set up a document the way you would like to see it in wordpad (or any rtf editor) and then nip the rtf codes from the raw rext and wrap those around a > variable in the function. the result of the rtf is below and then below that is the rtf code itself. Take RTFCODESTART from the start and then save as an rtf document to open in wordpad or similar. > The last line (you will see it as 4) is a font I have built with the rating symbols we use and 4 happens to correspond to "M"rating (mature audience). > I wrote this very early in my (ahem!) development and I think if I was to write it now I would use case statements instead of if then else's and also store the rtf codes in a table. Then I would > use a find replace function so that I could vary the text produced (similar to the way early word processors used to work to acheive bold text etc with tags) eg <@BOLD@>I want this to be > bold<@/BOLD@> > I seem to remember you and I discussing this a few years ago Gustav..... > Hope it helps > Regards > Tom Keatley From gustav at cactus.dk Sat Nov 1 13:27:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 1 Nov 2003 20:27:13 +0100 Subject: [AccessD] Writing raw RTF document using VBA - Solved In-Reply-To: <1429226064.20031031183338@cactus.dk> References: <5614351436.20030524150347@cactus.dk> <1429226064.20031031183338@cactus.dk> Message-ID: <7837311130.20031101202713@cactus.dk> Hi William, Tom > The client has got new budgets and is again asking for this: >> My simple need (which I never got solved) was how to assemble an >> rtf-formatted field from many records (essentially each an rtf >> document) into one rtf document, stripping headers etc. from each >> record and adding a header etc. to the final document. > Does anybody have a clue how to attack it? > It is for assembling a catalogue where each item in Access has it own > small description in formatted text (bold, underline, sub/sup script > only) into one rtf document which are read by the dtp people. > Basically the task is to strip the header and the tail from the small > rtf strings, concatenation these, then adding one header and one tail > to create one finished document. I did a Google search on "concatenate" and "rtf" and located some new hits, though mostly from nice people without a proven solution. However, I noticed you can use the RichTextBox on its own without having a control on a form: Dim rtf As RichTextBox Dim strRTF As String Set rtf = New RichTextBox rtf.TextRTF = "Gustav" Debug.Print rtf.TextRTF Set rtf = Nothing This will output: {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\lang1030\f0\fs17 Gustav \par } The nice thing with this control is that is has a much wider selection of text controls than the ocx, for example, superscript and subscript. By playing around with it I found out that the key to locate the beginning of the body is the code \pard which seems to always exists; then locate the following Space. This will skip the leading font tables and coloursets and bunches of other useless info wrapped in sets of curly brackets, {...}. This works fine except if the first char of the body is a non-ascii char; if so, RTF uses a single byte hex representation of the char and omits the Space. As an example, this is the string for "?240": Note the missing Space. The escape sequence for such hex bytes is "\'". Thus you'll have locate first the \pard control code then either a Space or the hex escape sequence whatever comes first. Following the body are some closing chars which may be "}" only or this followed by a CrLf and perhaps a Chr(0). To remove these, one must travel from the end of the document up to the last "}" and chop the tail off. The remaining part is the body which can be concatenated like any other string with other RTF body strings. When done, apply a minimum header and a closing "}" and write this to a file and your RTF document is ready! And, as this is pure code with no ocx or fancy utils it runs at flashing speed! First, here's one solution for extracting the RTF body: Public Function TrimTextBodyRTF(strTextRTF As String) As String ' Extract RTF body of full RTF formatted string. ' ' 2003-11-01. Gustav Brock. Cactus Data ApS. CPH. ' RTF escape char. Const cstrRTFEscape As String = "\" ' RTF code identifying RTF control codes leading RTF body. Const cstrRTFBodyPointer As String = cstrRTFEscape + "pard" ' Char identifying hex code for non-ascii char. Const cstrRTFByteChar As String = "'" ' Header string for hex code for non-ascii char. Const cstrRTFByteHeader As String = cstrRTFEscape + cstrRTFByteChar ' Char identifying start of RTF body if first RTF char is an ascii char. Const cstrRTFBodyHeader As String = " " ' Char closing RTF body. Const cstrRTFBodyEnd As String = "}" Dim strRTF As String Dim strEnd As String Dim lngPos As Long Dim lngPosAsc As Long Dim lngPosHex As Long Dim lngEnd As Long Dim lngLen As Long Dim lngChr As Long If Len(strTextRTF) > 0 Then ' Locate RTF body pointer. lngPos = InStr(strTextRTF, cstrRTFBodyPointer) If lngPos > 0 Then ' Locate start of body if first char is an ascii char. lngPosAsc = InStr(lngPos, strTextRTF, cstrRTFBodyHeader) ' Check if first char in RTF body is a non-ascii char. lngPosHex = InStr(lngPos, strTextRTF, cstrRTFByteHeader) - 1 lngPos = 0 If lngPosAsc > 0 Then If lngPosHex > 0 Then If lngPosHex < lngPosAsc Then lngPos = lngPosHex Else lngPos = lngPosAsc End If Else lngPos = lngPosAsc End If Else lngPos = lngPosHex End If If lngPos > 0 Then strRTF = Mid(strTextRTF, 1 + lngPos) ' Locate position of RTF end marker (closing bracket). lngChr = Asc(cstrRTFBodyEnd) lngLen = Len(strRTF) lngEnd = 1 While Asc(Right(strRTF, lngEnd)) <> lngChr And lngEnd < lngLen lngEnd = lngEnd + 1 Wend If lngEnd = lngLen Then ' RTF end marker was not found. lngPos = 0 Else ' Calculate length of RTF body. lngPos = lngLen - lngEnd End If ' Trim RTF body. strRTF = Left(strRTF, lngPos) End If End If End If TrimTextBodyRTF = strRTF End Function Having reached this point it's a simple matter to assemble and write the full RTF document (watch for line breaks): Public Function ConcatenateTextRTF() As Boolean ' Concatenate RTF body strings to one fully formatted RTF file. ' ' Error handling is missing. ' ' 2003-11-01. Gustav Brock. Cactus Data ApS. CPH. ' RTF header. ' Adjust codepage and language code and font as needed. ' Append fontsize to \f0 if needed. "\fs16" for 8 points. Const cstrRTFBodyHeader As String = "{\rtf1\ansi\ansicpg1252\deflang1030\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}}\viewkind4\uc1\pard\f0 " ' RTF closing bracket. Const cstrRTFBodyEnd As String = "}" ' Filename of finished RTF document. Const cstrRTFFile As String = "c:\winnt\temp\test.rtf" Dim dbs As Database Dim rst As Recordset Dim strRTF As String Dim intFile As Integer Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Tabel1") ' Set RTF header. strRTF = cstrRTFBodyHeader ' Concatenate RTF bodies. With rst While .EOF = False If Not IsNull(!MemoRTF) Then strRTF = strRTF + TrimTextBodyRTF(!MemoRTF) End If .MoveNext Wend .Close End With ' Append RTF closing bracket. strRTF = strRTF + cstrRTFBodyEnd ' Write RTF file. intFile = FreeFile Open cstrRTFFile For Output As #intFile Print #intFile, strRTF Close #intFile Set rst = Nothing Set dbs = Nothing ConcatenateTextRTF = True End Function I'm pretty sure this won't be able concatenate any collection of RTF documents whatever the size. But until further testing has been carried out, I guess it will be able to concatenate a vast amount of small RTF docs like those found and produced in an ocx controlled RTF memobox. /gustav From jcolby at colbyconsulting.com Sat Nov 1 13:31:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 14:31:18 -0500 Subject: [AccessD] OT: Windows Media Player path to music In-Reply-To: <000801c3a0ad$88c27ea0$6001a8c0@dejpolsys> Message-ID: Right you are. Trying that now. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, November 01, 2003 2:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Windows Media Player path to music JC ...open it in notepad and scan down past all the goobledy gook ...you'll find a csv string listing of all your media information which can readily be f&r'd in notepad. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 1:39 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > I tried opening it with notepad and it opened (it's 15 MBYTES however, but > it appears to be a database of some sort (not clear text). The extension is > WMDB which sounds suspiciously like an access database so I tried to open it > with A2K. "Unknown file format". I'll try again with AXP. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > ...so why not open the file in notepad and do a replace all ...or just do > another scan :( > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 01, 2003 12:51 PM > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > No, the music directory was a shared directory on my computer. I shared > the > > Music Directory, then mapped it to M: on all of my computers. Thus the > > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. > IOW, > > Windows media player didn't use the mapped drive as the path but the > > workstation. No se por que. > > > > Mary's computer has always been the player, it just used to get the music > > off of my computer across the net. Now it is getting it off her own > > computer (I moved that drive to her computer). I thought if I shared the > > Music directory and mapped it to M: Media player would just work. But > > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > > mcolby-ws. > > > > Why in the world it would use the workstation name instead of the mapped > > drive is beyond me but it is damned annoying! It is remotely possible > that > > I told it to search using the network neighborhood path but that doesn't > > seem like something I would do. ;-) > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Saturday, November 01, 2003 12:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > JC > > > > ...simply copy your *wmbd files located in your C:\Documents and > > Settings\YourUserName\Local > Settings\ApplicationData\Microsoft\MediaPlayer\ > > folder over to the same folder under Mary's user directory. > > > > ...I'm using WXP and Media Player 9 but the same idea should work for W2K > > ...HTH :) > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "AccessD" > > Sent: Saturday, November 01, 2003 12:02 PM > > Subject: [AccessD] OT: Windows Media Player path to music > > > > > > > In the process of making my computers quieter I moved a hard disk to my > > > wife's computer (let her listen to it!) ;-). > > > > > > Anyway, all it had on it was my ripped music collection which is played > on > > > her computer anyway since it has the speakers now. Unfortunately the > path > > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. > Is > > > there anyway to tell Media Player to change where it is looking for > these > > > things short of a new scan? > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 1 15:00:02 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 16:00:02 -0500 Subject: [AccessD] OT: Windows Media Player path to music References: Message-ID: <000401c3a0bb$1e93d840$6001a8c0@dejpolsys> ....also KB 272116 has a transfer method if the f&r didn't work. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 2:31 PM Subject: RE: [AccessD] OT: Windows Media Player path to music > Right you are. Trying that now. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Saturday, November 01, 2003 2:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > JC > > ...open it in notepad and scan down past all the goobledy gook ...you'll > find a csv string listing of all your media information which can readily be > f&r'd in notepad. > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 01, 2003 1:39 PM > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > I tried opening it with notepad and it opened (it's 15 MBYTES however, but > > it appears to be a database of some sort (not clear text). The extension > is > > WMDB which sounds suspiciously like an access database so I tried to open > it > > with A2K. "Unknown file format". I'll try again with AXP. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Saturday, November 01, 2003 1:14 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > ...so why not open the file in notepad and do a replace all ...or just do > > another scan :( > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Saturday, November 01, 2003 12:51 PM > > Subject: RE: [AccessD] OT: Windows Media Player path to music > > > > > > > No, the music directory was a shared directory on my computer. I shared > > the > > > Music Directory, then mapped it to M: on all of my computers. Thus the > > > "path", instead of M:\someArtist ended up being jcolby-ws\SomeArtist. > > IOW, > > > Windows media player didn't use the mapped drive as the path but the > > > workstation. No se por que. > > > > > > Mary's computer has always been the player, it just used to get the > music > > > off of my computer across the net. Now it is getting it off her own > > > computer (I moved that drive to her computer). I thought if I shared > the > > > Music directory and mapped it to M: Media player would just work. But > > > NOOOOOOoooooooo. The music itself is no longer on jcolby-ws it's on > > > mcolby-ws. > > > > > > Why in the world it would use the workstation name instead of the mapped > > > drive is beyond me but it is damned annoying! It is remotely possible > > that > > > I told it to search using the network neighborhood path but that doesn't > > > seem like something I would do. ;-) > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > > Hindman > > > Sent: Saturday, November 01, 2003 12:39 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Windows Media Player path to music > > > > > > > > > JC > > > > > > ...simply copy your *wmbd files located in your C:\Documents and > > > Settings\YourUserName\Local > > Settings\ApplicationData\Microsoft\MediaPlayer\ > > > folder over to the same folder under Mary's user directory. > > > > > > ...I'm using WXP and Media Player 9 but the same idea should work for > W2K > > > ...HTH :) > > > > > > William Hindman > > > - Next Year In The Free State! > > > > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "AccessD" > > > Sent: Saturday, November 01, 2003 12:02 PM > > > Subject: [AccessD] OT: Windows Media Player path to music > > > > > > > > > > In the process of making my computers quieter I moved a hard disk to > my > > > > wife's computer (let her listen to it!) ;-). > > > > > > > > Anyway, all it had on it was my ripped music collection which is > played > > on > > > > her computer anyway since it has the speakers now. Unfortunately the > > path > > > > to the music doesn't use MappedDrive:\Music, it uses jcolby-WS\Music. > > Is > > > > there anyway to tell Media Player to change where it is looking for > > these > > > > things short of a new scan? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wayne.warren at adelphia.net Sat Nov 1 17:46:05 2003 From: wayne.warren at adelphia.net (Wayne Warren-Angelucci) Date: Sat, 1 Nov 2003 15:46:05 -0800 Subject: [AccessD] ACC97 - Repair and Compact References: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <001801c3a0d2$50ecd320$6502a8c0@wayne> Sure, check out the FMS product: Access Agent. I use it for many clients to schedule archive, compact, etc. Works perfectly. (Google on FMS Agent) -- Wayne ----- Original Message ----- From: "Tony Septav" To: Sent: Friday, October 31, 2003 3:13 PM Subject: [AccessD] ACC97 - Repair and Compact > Hey All > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. > > From wdhindman at bellsouth.net Sat Nov 1 19:26:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 1 Nov 2003 20:26:24 -0500 Subject: [AccessD] MICROSOFT Activation policy References: <5614351436.20030524150347@cactus.dk><1429226064.20031031183338@cactus.dk><004901c39f36$185d8ba0$0300a8c0@print><5133737291.20031101192740@cactus.dk> <000701c3a009$1cf628b0$0300a8c0@print> <002501c3a00c$53fae870$0300a8c0@print> Message-ID: <000801c3a0e0$54a6ec90$6001a8c0@dejpolsys> ...the ODE actually contains two licenses, one desktop and one laptop ...I hit the activation wall with MS at 5 but all I had to do was call them and swear that I hadn't exceeded the number allowed and they gave me a new key ...no hassle really except for making the call :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Tom Keatley" To: "Access Developers discussion and problem solving" Sent: Friday, October 31, 2003 7:08 PM Subject: [AccessD] MICROSOFT Activation policy > Hi all... > > I bought Office 2002 Developers Edition a couple of years ago which of > course contained MS Activation and since that time I must have activated it > 3 or 4 times on different computers (I hasten to add that this was when I > was UPDATING hardware and I only use the software on a single computer) > > Although I havent as yet had any problems with activation or my request > being rejected it occurs to me that this at some point will happen and I > wondered what others experience might be. > > Does MS have a number of activations before one is rejected? And what are > the options if this happens? > > Regards > > Tom Keatley > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sat Nov 1 20:50:19 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 21:50:19 -0500 Subject: [AccessD] ID in MSysObjects Message-ID: Does anyone have experience using the ID field in MSysObjects? I assumed (bad, I know) that it was a PK and not reused. I built a table of form attributes, and pulled the ID from MSysObjects table by joining my table name with the table name in MSysObjects, storing this ID in my table so I would have a reference back to the object in Access' MSysObjects. After a couple of weeks playing around (and ASSUMING my numbers were still good) I started trying to use this ID. I joined the ID in msysObjects with the same FK in my table, and compared the name in my table with the name in MSysObjects. In many cases they matched, in others they aren't even the same TYPE of object anymore. The ID now belongs to a module instead of a form. WTFO? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Sat Nov 1 21:11:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 22:11:36 -0500 Subject: [AccessD] ID in MSysObjects Message-ID: Here's what I have discovered. If you build an object. lets say a form. It is issued a sequential number. It is issued the LAST sequential number in a series. If you create another object, lets say another form. It is issued the NEXT number in that sequence. If you delete the first form created, then add another object (lets say a form) the new form is issued the LAST sequential number, and a hole exists where the deleted object was. If you now delete all objects back to that hole, the next object created is issued the LAST sequential number, i.e. it is issued the number of the form that was deleted that created the hold. IOW, these IDs are NOT like an autonumber where they just go up. They cannot be counted on to be assigned to some object and never reused, in fact they can be counted on being reused as you add and delete objects. The next object created gets the next available number. What a PITA for my purposes! In fact, the ID may very well be useless for my purposes. My problem: I create a record in a table of my own design called MSysTables. It contains the name of the table and an ID from MSysObjects of the object that has that ID at this moment. Now... if the designer renames the table, MSysObjects correctly updates the same record (same ID) with the new name. My intention was to use that ID as a "link back" to my own table whenever an object was renamed. However... if a developer DELETES that object, AND IT IS THE LAST ID IN THE SERIES, when they create the next object it gets that old ID. Thus now my ID in my table points to a completely different object, perhaps not even the same kind. It could now be a query or a report! Holy crap batman, how do I track name changes? John W. Colby www.colbyconsulting.com From michael.mattys at adelphia.net Sat Nov 1 21:14:33 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 1 Nov 2003 22:14:33 -0500 Subject: [AccessD] ID in MSysObjects References: Message-ID: <021101c3a0ef$7140b5c0$6401a8c0@default> John, It seems like you might be missing MSysObjects.Type? ---- The List of Forms - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32768)); The List of reports - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32764)); The List of Macros - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32766)); The List of Modules - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32761)); etc, etc, ... ---- Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 9:50 PM Subject: [AccessD] ID in MSysObjects > Does anyone have experience using the ID field in MSysObjects? > > I assumed (bad, I know) that it was a PK and not reused. I built a table of > form attributes, and pulled the ID from MSysObjects table by joining my > table name with the table name in MSysObjects, storing this ID in my table > so I would have a reference back to the object in Access' MSysObjects. > After a couple of weeks playing around (and ASSUMING my numbers were still > good) I started trying to use this ID. I joined the ID in msysObjects with > the same FK in my table, and compared the name in my table with the name in > MSysObjects. In many cases they matched, in others they aren't even the > same TYPE of object anymore. The ID now belongs to a module instead of a > form. > > WTFO? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 1 21:28:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 1 Nov 2003 22:28:02 -0500 Subject: [AccessD] ID in MSysObjects In-Reply-To: <021101c3a0ef$7140b5c0$6401a8c0@default> Message-ID: No, Iknow about that. I was hoping for a persistant ID that I could use to track database objects. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, November 01, 2003 10:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ID in MSysObjects John, It seems like you might be missing MSysObjects.Type? ---- The List of Forms - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32768)); The List of reports - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32764)); The List of Macros - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32766)); The List of Modules - SELECT MSysObjects.Id, MSysObjects.Name _ FROM MSysObjects WHERE (((MSysObjects.Type)=-32761)); etc, etc, ... ---- Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Saturday, November 01, 2003 9:50 PM Subject: [AccessD] ID in MSysObjects > Does anyone have experience using the ID field in MSysObjects? > > I assumed (bad, I know) that it was a PK and not reused. I built a table of > form attributes, and pulled the ID from MSysObjects table by joining my > table name with the table name in MSysObjects, storing this ID in my table > so I would have a reference back to the object in Access' MSysObjects. > After a couple of weeks playing around (and ASSUMING my numbers were still > good) I started trying to use this ID. I joined the ID in msysObjects with > the same FK in my table, and compared the name in my table with the name in > MSysObjects. In many cases they matched, in others they aren't even the > same TYPE of object anymore. The ID now belongs to a module instead of a > form. > > WTFO? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Nov 1 22:12:08 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 1 Nov 2003 23:12:08 -0500 Subject: [AccessD] ID in MSysObjects References: Message-ID: <021b01c3a0f7$896b6930$6401a8c0@default> Running the documenter creates a table in an access MDT file stored in your profile folder: C:\Documents and Settings\YourName\Application Data\ Microsoft\Access\ACWZUSR.MDT If you were to import doc_tblObjects and save it, you might be able to do some comparision with it. Maybe ... Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 01, 2003 10:28 PM Subject: RE: [AccessD] ID in MSysObjects > No, Iknow about that. I was hoping for a persistant ID that I could use to > track database objects. > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Saturday, November 01, 2003 10:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ID in MSysObjects > > > John, > > It seems like you might be missing MSysObjects.Type? > ---- > The List of Forms - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32768)); > > The List of reports - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32764)); > > The List of Macros - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32766)); > > The List of Modules - > SELECT MSysObjects.Id, MSysObjects.Name _ > FROM MSysObjects WHERE (((MSysObjects.Type)=-32761)); > > etc, etc, ... > ---- > > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Saturday, November 01, 2003 9:50 PM > Subject: [AccessD] ID in MSysObjects > > > > Does anyone have experience using the ID field in MSysObjects? > > > > I assumed (bad, I know) that it was a PK and not reused. I built a table > of > > form attributes, and pulled the ID from MSysObjects table by joining my > > table name with the table name in MSysObjects, storing this ID in my table > > so I would have a reference back to the object in Access' MSysObjects. > > After a couple of weeks playing around (and ASSUMING my numbers were still > > good) I started trying to use this ID. I joined the ID in msysObjects > with > > the same FK in my table, and compared the name in my table with the name > in > > MSysObjects. In many cases they matched, in others they aren't even the > > same TYPE of object anymore. The ID now belongs to a module instead of a > > form. > > > > WTFO? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sun Nov 2 02:36:16 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sun, 2 Nov 2003 09:36:16 +0100 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <46B976F2B698FF46A4FE7636509B22DF71F1@stekelbes.ithelps.local> The weakest link in a network will decide the bandwith. If you only have one server all trafic goes to and comes from one link. If that link is the same speed as the clients link a switch is of no use. You gonna have a bottleneck. Again, switch are very good but you must have a different server speed link OR multiple servers. By that your bandwith gets divided over multiple or higer speed links. Switches are useles (for reaons of speed) in a single server and only 1 speed link. It's a basic rule of a switch!!! Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Frank Tanner III Verzonden: zaterdag 1 november 2003 16:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT: Wireless network (sort of) Switches will ALWAYS improve your speed over hubs. Period. Hubs SHARE the same bandwidth on all ports. Switches allocate the max bandwidth per port. You are incorrect. --- Erwin Craps wrote: > But switches have no sense in a 1 server environment > because all of the > trafic goes and comes from one point. > Unless your clients are 100Mb and the uplink to the > server is 1Gb. > > People often believe switches will improve their > network speed, but that > is not always the case. > But indeed the prices of the switches have dropped > that you buy a switch > at the price of a good hub these days. > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, November 01, 2003 1:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > Got it. I think. Switch can route packet based on > IP address but can't > generate an IP address. Yes? > > Rocky > > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem > solving" > > Sent: Friday, October 31, 2003 10:29 AM > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > > It is sort of half-way, but not really. > > > > Switches are a "generation" better. Hubs and > > switches, on their most basic level perform the > same function. They > > distribute network traffic. But HOW they > distribute that traffic is > > fundimentally different. > > > > Unless they're one of the newer layer 3 or layer 4 switches, they > > cannot perform routing functions. > They > > just hand packets off from point A to point B. > Think > > of them as sort of a postman. They have an > address > > for each device on the network and they hand off > each > > piece of mail to the appropriate address. A hub, > > using this sama analagy would deliver the same > piece > > of mail to every house and the one that it > belonged to > > would be the one that actually reads it. > > > > --- Rocky Smolin - Beach Access Software wrote: > > > "but it's as close as I could think of without > > > getting too technical." > > > > > > Thank you. Much appreciated. So a switch is > like > > > halfway between a hub and > > > a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > > To: "Access Developers discussion and problem > > > solving" > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > Subject: Re: [AccessD] OT: Wireless network > (sort > > > of) > > > > > > > > > > A router and a switch are fundimentall > different > > > > things. > > > > > > > > A router does just that. It routes network > > > traffic. > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > Newer switches, especially the layer 3 and > layer 4 > > > > ones can perform both functions.This isn't an > > > exact > > > > definition, but it's as close as I could think > of > > > > without getting too technical. > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > wrote: > > > > > Is there a difference between a switch and a > > > router? > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "Frank Tanner III" > > > > > > > > To: "Access Developers discussion and > problem > > > > > solving" > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > Subject: RE: [AccessD] OT: Wireless network > > > (sort > > > > > of) > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address of > any > > > > > device > > > > > > or server connected to your LAN that's not > a workstation and > > > > > > is virtually always on. > > > > > > > > > > > > For the price, I would also highly > recommend > > > > > removing > > > > > > all hubs from your network and using them > as doorstops. > > > > > > Switches have come way down in > > > price > > > > > and > > > > > > have many benifits over hubs. > > > > > > > > > > > > Hubs divide the bandwidth across all > ports. > > > Thus > > > > > if > > > > > > you have an 8-port 10-BaseT hub, all ports > > > that > > > > > are > > > > > > processing data split that 10Mbit. A > switch, > > > each > > > > > > port gets the fill bandwidth. > > > > > > > > > > > > That's not including the security issues > > > inherent > > > > > with > > > > > > hubs as they broadcast all available data > to > > > all > > > > > > available ports rather than to the proper > > > > > destination > > > > > > port. > > > > > > > > > > > > --- John Colby > > > > wrote: > > > > > > > Yes, you can indeed daisy chain routers > and SUPPOSEDLY hubs, > > > > > > > > though I had no joy doing that with my > old hub. I am > > > however > > > > > daisy > > > > > > > chaining my old 4 port > > > > > > > router off of my new 4 port wireless > router. > > > > > The > > > > > > > newer models even figure > > > > > > > out what kind of cable you are using, > > > crossover > > > > > or > > > > > > > regular. The biggest > > > > > > > issue there was that the router was the > dhcp > > > > > server > > > > > > > so I had to turn off the > > > > > > > old as a dhcp server and turn on the > new. I > > > > > also > > > > > > > hardwired the address of > > > > > > > the old router to 192.168.1.2. Daisy > > > Chaining > > > > > two 4 > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sun Nov 2 02:38:43 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sun, 2 Nov 2003 09:38:43 +0100 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <46B976F2B698FF46A4FE7636509B22DF71F2@stekelbes.ithelps.local> And to be correct, switches don't improve speed (compared to hub's) they improve bandwith and reduce collisions!!! Switches create virtual point to point connections. Switches do improve speed compared to routers. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Frank Tanner III Verzonden: zaterdag 1 november 2003 16:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT: Wireless network (sort of) Switches will ALWAYS improve your speed over hubs. Period. Hubs SHARE the same bandwidth on all ports. Switches allocate the max bandwidth per port. You are incorrect. --- Erwin Craps wrote: > But switches have no sense in a 1 server environment > because all of the > trafic goes and comes from one point. > Unless your clients are 100Mb and the uplink to the > server is 1Gb. > > People often believe switches will improve their > network speed, but that > is not always the case. > But indeed the prices of the switches have dropped > that you buy a switch > at the price of a good hub these days. > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, November 01, 2003 1:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > Got it. I think. Switch can route packet based on > IP address but can't > generate an IP address. Yes? > > Rocky > > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem > solving" > > Sent: Friday, October 31, 2003 10:29 AM > Subject: Re: [AccessD] OT: Wireless network (sort > of) > > > > It is sort of half-way, but not really. > > > > Switches are a "generation" better. Hubs and > > switches, on their most basic level perform the > same function. They > > distribute network traffic. But HOW they > distribute that traffic is > > fundimentally different. > > > > Unless they're one of the newer layer 3 or layer 4 switches, they > > cannot perform routing functions. > They > > just hand packets off from point A to point B. > Think > > of them as sort of a postman. They have an > address > > for each device on the network and they hand off > each > > piece of mail to the appropriate address. A hub, > > using this sama analagy would deliver the same > piece > > of mail to every house and the one that it > belonged to > > would be the one that actually reads it. > > > > --- Rocky Smolin - Beach Access Software wrote: > > > "but it's as close as I could think of without > > > getting too technical." > > > > > > Thank you. Much appreciated. So a switch is > like > > > halfway between a hub and > > > a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > > To: "Access Developers discussion and problem > > > solving" > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > Subject: Re: [AccessD] OT: Wireless network > (sort > > > of) > > > > > > > > > > A router and a switch are fundimentall > different > > > > things. > > > > > > > > A router does just that. It routes network > > > traffic. > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > Newer switches, especially the layer 3 and > layer 4 > > > > ones can perform both functions.This isn't an > > > exact > > > > definition, but it's as close as I could think > of > > > > without getting too technical. > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > wrote: > > > > > Is there a difference between a switch and a > > > router? > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "Frank Tanner III" > > > > > > > > To: "Access Developers discussion and > problem > > > > > solving" > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > Subject: RE: [AccessD] OT: Wireless network > > > (sort > > > > > of) > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address of > any > > > > > device > > > > > > or server connected to your LAN that's not > a workstation and > > > > > > is virtually always on. > > > > > > > > > > > > For the price, I would also highly > recommend > > > > > removing > > > > > > all hubs from your network and using them > as doorstops. > > > > > > Switches have come way down in > > > price > > > > > and > > > > > > have many benifits over hubs. > > > > > > > > > > > > Hubs divide the bandwidth across all > ports. > > > Thus > > > > > if > > > > > > you have an 8-port 10-BaseT hub, all ports > > > that > > > > > are > > > > > > processing data split that 10Mbit. A > switch, > > > each > > > > > > port gets the fill bandwidth. > > > > > > > > > > > > That's not including the security issues > > > inherent > > > > > with > > > > > > hubs as they broadcast all available data > to > > > all > > > > > > available ports rather than to the proper > > > > > destination > > > > > > port. > > > > > > > > > > > > --- John Colby > > > > wrote: > > > > > > > Yes, you can indeed daisy chain routers > and SUPPOSEDLY hubs, > > > > > > > > though I had no joy doing that with my > old hub. I am > > > however > > > > > daisy > > > > > > > chaining my old 4 port > > > > > > > router off of my new 4 port wireless > router. > > > > > The > > > > > > > newer models even figure > > > > > > > out what kind of cable you are using, > > > crossover > > > > > or > > > > > > > regular. The biggest > > > > > > > issue there was that the router was the > dhcp > > > > > server > > > > > > > so I had to turn off the > > > > > > > old as a dhcp server and turn on the > new. I > > > > > also > > > > > > > hardwired the address of > > > > > > > the old router to 192.168.1.2. Daisy > > > Chaining > > > > > two 4 > === message truncated === _______________________________________________ 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 Nov 2 03:25:41 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 02 Nov 2003 19:25:41 +1000 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <3FA55A35.28453.260F272@localhost> On 31 Oct 2003 at 15:13, Tony Septav wrote: > Hey All > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. > How about a timer which periodically checks the date/time. If it's Sunday 2.00am or whenever, shell to a batch file and close the app. In the batch file open another one that waits for a while then compacts and repairs the first one and re-opens it. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Sun Nov 2 04:11:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 2 Nov 2003 11:11:42 +0100 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> References: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <765336573.20031102111142@cactus.dk> Hi Tony > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. 1. If you write protect the front end database file (before launching it) there's no need to compact it as, in that case, Access's temporary data always will be written to external files. 2. If you don't have any open connections from the front end to the back end, you can safely open the back end in a separate workspace and compact it. To make sure that no other app has open connections to the back end, let your compacting app open the back end exclusively; if this fails don't continue. 3. Don't apply Repair for routine maintenance. This is a general advice not invented by me, but I've never seen a need for it except for corrupted database files and then JetComp.exe is a better first attempt. Re. 1. Write protecting an app will cause a message about this to pop up at launch. This can be avoided by running the app from a runtime installation. Re. 2. The difficult part is not to compact the database file - it's a couple of code lines only. The critical part is to create and keep track of backup files in case something fails. Here's a function which handles this. It is a part of a solution which has run for several years and also handles archiving to a cab or zip file and ftp'ing this to a remote server. The backup routine is triggered by a timer function on the main form. Public Function DatabaseCompact( _ ByVal strDataFile As String) As Boolean Const cbooDbOpenExclusive As Boolean = True Const cbooDbOpenReadOnly As Boolean = True Const cbytDbFileExtLength As Byte = 3 Const cstrDbFileExtBackup As String * cbytDbFileExtLength = "mdk" Const cstrDbFileExtTemp As String * cbytDbFileExtLength = "tmp" Dim wks As Workspace Dim dbs As Database Dim strBackFile As String Dim strTempFile As String Dim strDataFilePath As String Dim strDataFileName As String Dim intDataFileName As Integer Dim booClosed As Boolean Dim booSuccess As Boolean On Error GoTo Err_DatabaseCompact strDataFileName = Dir(strDataFile, vbNormal) intDataFileName = Len(strDataFileName) If intDataFileName = 0 Then ' No data file to process. Else ' Data file exists. strDataFilePath = Left(strDataFile, Len(strDataFile) - intDataFileName) strBackFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtBackup strTempFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtTemp Set wks = DBEngine(0) Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) ' No error. Database file can be opened exclusively, thus no open connections. ' Keep it open to prevent access from other users while compacting it. If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Delete old backup file. Kill strBackFile End If If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Old backup file could not be deleted. Else ' Create copy for further processing. FileCopy strDataFile, strBackFile If Len(Dir(strBackFile, vbNormal)) > 0 Then If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Kill left-over temp file. Kill strTempFile End If If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Old temp file could not be deleted. Else ' Compact backup file to a temporary file. DBEngine.CompactDatabase strBackFile, strTempFile, dbLangNorwDan If Len(Dir(strTempFile, vbNormal)) = 0 Then ' Compact failed somehow. Else ' Temporary file was created. ' Close database and delete current data file leaving backup file. dbs.Close booClosed = True Kill strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Current data file was not deleted. ' Clean up. Kill strTempFile Else ' Current data file is gone. ' Rename temporary data file as new data file. Name strTempFile As strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Temporary file was renamed successfully. ' Check that the data file can be opened and recognized. Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) booClosed = False dbs.Close booClosed = True booSuccess = True End If End If End If End If End If End If If booClosed = False Then dbs.Close End If If booSuccess = False Then ' For some reason something failed. If Len(Dir(strDataFile, vbNormal)) = 0 Then ' Data file is lost. ' Copy back the backup file if it exists. If Len(Dir(strBackFile, vbNormal)) > 0 Then FileCopy strBackFile, strDataFile End If End If End If End If Set dbs = Nothing Set wks = Nothing DatabaseCompact = booSuccess Exit_DatabaseCompact: Exit Function Err_DatabaseCompact: MsgBox CStr(Err.Number) & ": " & Err.Description, vbCritical + vbOKOnly, "Database Compact" Resume Exit_DatabaseCompact End Function As always, beware of line breaks. /gustav From jcolby at colbyconsulting.com Sun Nov 2 07:53:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 08:53:42 -0500 Subject: [AccessD] Weakest Link In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F1@stekelbes.ithelps.local> Message-ID: I have a client running about 25 Access FEs against an MDB BE. He has a single server, and of course must use a single server at least for the BE if we don't get into replication. The server is Windows NT, not even 2K. He just expanded into another wing of the building they rent and are going to move one unit of the business (and database) into that wing. Can he run multiple NICS in Windows NT? That would allow him to put a switch (or router) on what would essentially be two different LANs. They don't really have any inter workstation traffic so this would probably work if NT can deal with more than one NIC. I know that they have (or had) bandwidth issues because when they replaced a hub with a switch awhile back the performance of the db improved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Sunday, November 02, 2003 3:36 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) The weakest link in a network will decide the bandwith. If you only have one server all trafic goes to and comes from one link. If that link is the same speed as the clients link a switch is of no use. You gonna have a bottleneck. Again, switch are very good but you must have a different server speed link OR multiple servers. By that your bandwith gets divided over multiple or higer speed links. Switches are useles (for reaons of speed) in a single server and only 1 speed link. It's a basic rule of a switch!!! Erwin From jcolby at colbyconsulting.com Sun Nov 2 07:57:21 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 08:57:21 -0500 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <765336573.20031102111142@cactus.dk> Message-ID: Gustav, I was under the impression that Access stored query results etc internal to the FE. What happens if you write protect the FE? You say temporary data will be written to temporary files? What does this mean? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, November 02, 2003 5:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ACC97 - Repair and Compact Hi Tony > I have a program designed for a client that runs basically 24 hours a > day, 7 days a week collecting and processing data. Is it possible to > schedule a once weekly repair and compact operation on both the frontend > and backend (or even for now just the backend). There is a lag/idle time > between 1AM and 4AM, when no data is collected or processed. Any > direction to available code, ideas or programs would be appreciated. > Thank you. 1. If you write protect the front end database file (before launching it) there's no need to compact it as, in that case, Access's temporary data always will be written to external files. 2. If you don't have any open connections from the front end to the back end, you can safely open the back end in a separate workspace and compact it. To make sure that no other app has open connections to the back end, let your compacting app open the back end exclusively; if this fails don't continue. 3. Don't apply Repair for routine maintenance. This is a general advice not invented by me, but I've never seen a need for it except for corrupted database files and then JetComp.exe is a better first attempt. Re. 1. Write protecting an app will cause a message about this to pop up at launch. This can be avoided by running the app from a runtime installation. Re. 2. The difficult part is not to compact the database file - it's a couple of code lines only. The critical part is to create and keep track of backup files in case something fails. Here's a function which handles this. It is a part of a solution which has run for several years and also handles archiving to a cab or zip file and ftp'ing this to a remote server. The backup routine is triggered by a timer function on the main form. Public Function DatabaseCompact( _ ByVal strDataFile As String) As Boolean Const cbooDbOpenExclusive As Boolean = True Const cbooDbOpenReadOnly As Boolean = True Const cbytDbFileExtLength As Byte = 3 Const cstrDbFileExtBackup As String * cbytDbFileExtLength = "mdk" Const cstrDbFileExtTemp As String * cbytDbFileExtLength = "tmp" Dim wks As Workspace Dim dbs As Database Dim strBackFile As String Dim strTempFile As String Dim strDataFilePath As String Dim strDataFileName As String Dim intDataFileName As Integer Dim booClosed As Boolean Dim booSuccess As Boolean On Error GoTo Err_DatabaseCompact strDataFileName = Dir(strDataFile, vbNormal) intDataFileName = Len(strDataFileName) If intDataFileName = 0 Then ' No data file to process. Else ' Data file exists. strDataFilePath = Left(strDataFile, Len(strDataFile) - intDataFileName) strBackFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtBackup strTempFile = Left(strDataFile, Len(strDataFile) - cbytDbFileExtLength) & cstrDbFileExtTemp Set wks = DBEngine(0) Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) ' No error. Database file can be opened exclusively, thus no open connections. ' Keep it open to prevent access from other users while compacting it. If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Delete old backup file. Kill strBackFile End If If Len(Dir(strBackFile, vbNormal)) > 0 Then ' Old backup file could not be deleted. Else ' Create copy for further processing. FileCopy strDataFile, strBackFile If Len(Dir(strBackFile, vbNormal)) > 0 Then If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Kill left-over temp file. Kill strTempFile End If If Len(Dir(strTempFile, vbNormal)) > 0 Then ' Old temp file could not be deleted. Else ' Compact backup file to a temporary file. DBEngine.CompactDatabase strBackFile, strTempFile, dbLangNorwDan If Len(Dir(strTempFile, vbNormal)) = 0 Then ' Compact failed somehow. Else ' Temporary file was created. ' Close database and delete current data file leaving backup file. dbs.Close booClosed = True Kill strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Current data file was not deleted. ' Clean up. Kill strTempFile Else ' Current data file is gone. ' Rename temporary data file as new data file. Name strTempFile As strDataFile If Len(Dir(strDataFile, vbNormal)) > 0 Then ' Temporary file was renamed successfully. ' Check that the data file can be opened and recognized. Set dbs = wks.OpenDatabase(strDataFile, cbooDbOpenExclusive, cbooDbOpenReadOnly) booClosed = False dbs.Close booClosed = True booSuccess = True End If End If End If End If End If End If If booClosed = False Then dbs.Close End If If booSuccess = False Then ' For some reason something failed. If Len(Dir(strDataFile, vbNormal)) = 0 Then ' Data file is lost. ' Copy back the backup file if it exists. If Len(Dir(strBackFile, vbNormal)) > 0 Then FileCopy strBackFile, strDataFile End If End If End If End If Set dbs = Nothing Set wks = Nothing DatabaseCompact = booSuccess Exit_DatabaseCompact: Exit Function Err_DatabaseCompact: MsgBox CStr(Err.Number) & ": " & Err.Description, vbCritical + vbOKOnly, "Database Compact" Resume Exit_DatabaseCompact End Function As always, beware of line breaks. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Nov 2 08:19:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 2 Nov 2003 15:19:14 +0100 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: References: Message-ID: <6520188649.20031102151914@cactus.dk> Hi John > I was under the impression that Access stored query results etc internal to > the FE. Yes, within certain limits which I'm not aware of. Beyond that - say for running a large query - temp data are always stored in temp files. > What happens if you write protect the FE? You say temporary data > will be written to temporary files? What does this mean? Exactly that. Access seems to be clever enough to realize when the FE is run write protected - which happens, say, when you open it directly from a cd-rom. Then temp data goes to the temp folder where they truly belong. Also, saving reports with weird printer settings are avoided this way. Of course, write protecting the file cannot be used if you write to internal tables. But - as you know - it is very simple to create a temporary database if you need to write some data which should not go into the BE file. On the other hand write protection, by definition, effectively stops any bloating or corruption of the FE. /gustav From pctech at mybellybutton.com Sun Nov 2 08:35:04 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sun, 2 Nov 2003 06:35:04 -0800 (PST) Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F2@stekelbes.ithelps.local> Message-ID: <20031102143504.25706.qmail@web13401.mail.yahoo.com> And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === From gustav at cactus.dk Sun Nov 2 08:51:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 2 Nov 2003 15:51:32 +0100 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <20031102143504.25706.qmail@web13401.mail.yahoo.com> References: <20031102143504.25706.qmail@web13401.mail.yahoo.com> Message-ID: <9522126135.20031102155132@cactus.dk> Please, can't this never-ending "mine is bigger than yours" be moved to the techno list - or better: to the eternal fields of bits? /gustav > Maybe you need to learn what you are talking about > before you give out false information. >> You are incorrect. > === message truncated === From wdhindman at bellsouth.net Sun Nov 2 08:57:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 2 Nov 2003 09:57:08 -0500 Subject: [AccessD] Weakest Link References: Message-ID: <000401c3a151$96bcbbc0$6001a8c0@dejpolsys> ...yes he can run multiple nics, but why the extra h/w ...you can run multiple subnets off the same NT nic ...and he can certainly run multiple co-located servers with one be without replication :( ...your real issue appears to be db performance ...assuming he's already running a 100Mb Ethernet and has no nic/cabling problems, then your real answer lies in a server upgrade of one sort or another. ...personally I'd persuade him to upgrade to W2K Server OS with a minimum of 1Gb of ram, the more the merrier ...the server h/w, other than the ram is not as critical as the server os ime unless his HDs are prehistoric ...W2K Server runs circles around NT, especially in reliability, and NT support is going away ...and if he has about $8-10K to spend I'd persuade him to go with a new Dell server with a 25 cal SBS2K OS which includes SQL Server ...plus a free upgrade to W2003 Server (only AFTER the first SP though). ...given the costs involved in the different approaches, his TOC bottom line is going to be lower with a new server since his maintenance costs will drop dramatically with the W2K Server vs NT, even on essentially the same box assuming its not stone aged ...plus you could immediately give him the benefits of a SQL Server be. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 8:53 AM Subject: [AccessD] Weakest Link > I have a client running about 25 Access FEs against an MDB BE. He has a > single server, and of course must use a single server at least for the BE if > we don't get into replication. The server is Windows NT, not even 2K. He > just expanded into another wing of the building they rent and are going to > move one unit of the business (and database) into that wing. Can he run > multiple NICS in Windows NT? That would allow him to put a switch (or > router) on what would essentially be two different LANs. They don't really > have any inter workstation traffic so this would probably work if NT can > deal with more than one NIC. I know that they have (or had) bandwidth > issues because when they replaced a hub with a switch awhile back the > performance of the db improved. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps > Sent: Sunday, November 02, 2003 3:36 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > The weakest link in a network will decide the bandwith. > > If you only have one server all trafic goes to and comes from one link. > If that link is the same speed as the clients link a switch is of no > use. You gonna have a bottleneck. > > Again, switch are very good but you must have a different server speed > link OR multiple servers. By that your bandwith gets divided over > multiple or higer speed links. > > Switches are useles (for reaons of speed) in a single server and only 1 > speed link. > > It's a basic rule of a switch!!! > > Erwin > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sun Nov 2 08:59:42 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 2 Nov 2003 09:59:42 -0500 Subject: [AccessD] OT: Wireless network (sort of) References: <20031102143504.25706.qmail@web13401.mail.yahoo.com> <9522126135.20031102155132@cactus.dk> Message-ID: <000f01c3a151$f28c26c0$6001a8c0@dejpolsys> ...amen :( William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 9:51 AM Subject: Re: [AccessD] OT: Wireless network (sort of) > Please, can't this never-ending "mine is bigger than yours" be moved > to the techno list - or better: to the eternal fields of bits? > > /gustav > > > > Maybe you need to learn what you are talking about > > before you give out false information. > > >> You are incorrect. > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sun Nov 2 09:19:05 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 10:19:05 -0500 Subject: [AccessD] Weakest Link In-Reply-To: <000401c3a151$96bcbbc0$6001a8c0@dejpolsys> Message-ID: William, >...yes he can run multiple nics, but why the extra h/w ...you can run multiple subnets off the same NT nic In the end the bandwidth at the connector of the NIC is 100 mbits. Two NICS means TWO 100 mbit networks, not one 100 mbit lan. >and he can certainly run multiple co-located servers with one be without replication What the hell is a co-located server? There is an MDB that all 25 workstations are trying to get data out of, a single file. >...your real issue appears to be db performance This is absolutely true. They want to so some stuff that just pulls a lot of data however, and in this kind of situation a lot of data is a lot of bandwidth times a lot of users. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Sunday, November 02, 2003 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Weakest Link ...yes he can run multiple nics, but why the extra h/w ...you can run multiple subnets off the same NT nic ...and he can certainly run multiple co-located servers with one be without replication :( ...your real issue appears to be db performance ...assuming he's already running a 100Mb Ethernet and has no nic/cabling problems, then your real answer lies in a server upgrade of one sort or another. ...personally I'd persuade him to upgrade to W2K Server OS with a minimum of 1Gb of ram, the more the merrier ...the server h/w, other than the ram is not as critical as the server os ime unless his HDs are prehistoric ...W2K Server runs circles around NT, especially in reliability, and NT support is going away ...and if he has about $8-10K to spend I'd persuade him to go with a new Dell server with a 25 cal SBS2K OS which includes SQL Server ...plus a free upgrade to W2003 Server (only AFTER the first SP though). ...given the costs involved in the different approaches, his TOC bottom line is going to be lower with a new server since his maintenance costs will drop dramatically with the W2K Server vs NT, even on essentially the same box assuming its not stone aged ...plus you could immediately give him the benefits of a SQL Server be. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 8:53 AM Subject: [AccessD] Weakest Link > I have a client running about 25 Access FEs against an MDB BE. He has a > single server, and of course must use a single server at least for the BE if > we don't get into replication. The server is Windows NT, not even 2K. He > just expanded into another wing of the building they rent and are going to > move one unit of the business (and database) into that wing. Can he run > multiple NICS in Windows NT? That would allow him to put a switch (or > router) on what would essentially be two different LANs. They don't really > have any inter workstation traffic so this would probably work if NT can > deal with more than one NIC. I know that they have (or had) bandwidth > issues because when they replaced a hub with a switch awhile back the > performance of the db improved. > > John W. Colby > www.colbyconsulting.com From pctech at mybellybutton.com Sun Nov 2 09:26:55 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sun, 2 Nov 2003 07:26:55 -0800 (PST) Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <9522126135.20031102155132@cactus.dk> Message-ID: <20031102152655.84721.qmail@web13407.mail.yahoo.com> It has nothing to do with "mine is bigger than yours". It has to do with him spreading false information as the truth. How would you respond if people were spreading misinformation about Access? --- Gustav Brock wrote: > Please, can't this never-ending "mine is bigger than > yours" be moved > to the techno list - or better: to the eternal > fields of bits? > > /gustav > > > > Maybe you need to learn what you are talking about > > before you give out false information. > > >> You are incorrect. > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sun Nov 2 09:51:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 10:51:27 -0500 Subject: [AccessD] defining constants as hex numbers Message-ID: how do you force VB to consider a number hex? I thought there was something like h0f but I can't get it to work and NOT help isn't. John W. Colby www.colbyconsulting.com From carbonnb at sympatico.ca Sun Nov 2 10:28:06 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 02 Nov 2003 11:28:06 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <9522126135.20031102155132@cactus.dk> References: <20031102143504.25706.qmail@web13401.mail.yahoo.com> Message-ID: <3FA4EA46.30655.2439D7@localhost> On 2 Nov 2003 at 15:51, Gustav Brock wrote: > Please, can't this never-ending "mine is bigger than yours" be moved > to the techno list - or better: to the eternal fields of bits? Just like I asked when this thread FIRST showed up!! -- Bryan Carbonnell - carbonnb at sympatico.ca Stupid questions are better than stupid mistakes. - Japanese proverb From bchacc at san.rr.com Sun Nov 2 10:53:51 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 2 Nov 2003 08:53:51 -0800 Subject: [AccessD] Info: Jet SP 8.0 is out References: <22F1CCD5171D17419CB37FEEE09D5F990173F7A7@TTNEXCHSRV1.hshhp.com> <3F9993CF.3030603@shaw.ca> Message-ID: <004401c3a161$e4d91f00$6501a8c0@HAL9002> Marty: Belated questions, maybe you know - if I install SP8 and send an app to a client who is on an earlier SP can this cause problems at the client site? Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, October 24, 2003 1:04 PM Subject: [AccessD] Info: Jet SP 8.0 is out > Went looking for version SP 7.0 of Jet and got redirected.to 8.0 > > Information about Jet 4.0 Service Pack 8 > http://support.microsoft.com/?kbid=829558 > > How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 > Database Engine > http://support.microsoft.com/default.aspx?scid=kb;EN-US;239114#11 > > To find what Jet Service Pack you are running > On the Start menu, click Search. > In the Search Results pane, click All files and folders under Search > Companion. > In the All or part of the file name box, type msjet40.dll, and then > click Search. > In the list of files, right-click the Msjet40.dll file that is located > in the Windows\System32 (or Windows\System) folder, and then click > Properties. > Click the Version tab, and then use the following table to determine the > current Jet 4.0 service pack level: > Msjet40.dll Version Jet 4.0 Service Pack Level > 4.0.2927.4 Service Pack 3 (SP3) > 4.0.3714.7 Service Pack 4 (SP4) > 4.0.4431.1 or 4.0.4431.3 Service Pack 5 (SP5) > 4.0.6218.0 Service Pack 6 (SP6) > 4.0.6807.0 Service Pack 6 (SP6) shipped only with Windows Server 2003 > 4.0.7328.0 Service Pack 7 (SP7) > 4.0.8015.0 Service Pack 8 (SP8) > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fahooper at trapo.com Sun Nov 2 11:00:44 2003 From: fahooper at trapo.com (Fred Hooper) Date: Sun, 2 Nov 2003 12:00:44 -0500 Subject: [AccessD] ACC97 - Repair and Compact In-Reply-To: <3FA2ECB0.30B2FC4C@nanaimo.ark.com> Message-ID: <000501c3a162$db41dee0$a81d0e44@fred> I had a similar requirement but needed to be sure that the program kept running within the same original job. I solved it with another mdb. The other one has a table where I put information on what to do from the main program. So when I closed the main one and started the other one, the other one compacted and repaired the back end. As the back end will sometimes be on another server for me, I used (the free) PsExec from www.sysinternals.com to start a batch file there. Fred Hooper |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav |Sent: Friday, October 31, 2003 6:14 PM |To: AccessD at databaseadvisors.com |Subject: [AccessD] ACC97 - Repair and Compact | | |Hey All |I have a program designed for a client that runs basically 24 |hours a day, 7 days a week collecting and processing data. Is |it possible to schedule a once weekly repair and compact |operation on both the frontend and backend (or even for now |just the backend). There is a lag/idle time between 1AM and |4AM, when no data is collected or processed. Any direction to |available code, ideas or programs would be appreciated. Thank you. | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com | From wdhindman at bellsouth.net Sun Nov 2 11:29:48 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 2 Nov 2003 12:29:48 -0500 Subject: [AccessD] Weakest Link References: Message-ID: <001001c3a166$ea800360$6001a8c0@dejpolsys> ****inline :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 10:19 AM Subject: RE: [AccessD] Weakest Link > William, > > >...yes he can run multiple nics, but why the extra h/w ...you can run > multiple subnets off the same NT nic > > In the end the bandwidth at the connector of the NIC is 100 mbits. Two NICS > means TWO 100 mbit networks, not one 100 mbit lan. ****and you think an NT server can service two 100Mb nets any faster? > > >and he can certainly run multiple co-located servers with one be without > replication > > What the hell is a co-located server? There is an MDB that all 25 > workstations are trying to get data out of, a single file. ****one server doing OS functions while a co-located one works as the file server with most of its processor and memory dedicated to servicing your be. > > >...your real issue appears to be db performance > > This is absolutely true. They want to so some stuff that just pulls a lot > of data however, and in this kind of situation a lot of data is a lot of > bandwidth times a lot of users. ****hard to believe that a 100Mb lan is b/w limited w/25 users regardless of the db demands ...the real limit is almost always in the processor, memory, and/or HD access ...none of which are affected by how many nics you are using ...by your theory, I could just add a nic any old time I needed to speed things up :) William > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Sunday, November 02, 2003 9:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Weakest Link > > > ...yes he can run multiple nics, but why the extra h/w ...you can run > multiple subnets off the same NT nic ...and he can certainly run multiple > co-located servers with one be without replication :( > > ...your real issue appears to be db performance ...assuming he's already > running a 100Mb Ethernet and has no nic/cabling problems, then your real > answer lies in a server upgrade of one sort or another. > > ...personally I'd persuade him to upgrade to W2K Server OS with a minimum of > 1Gb of ram, the more the merrier ...the server h/w, other than the ram is > not as critical as the server os ime unless his HDs are prehistoric ...W2K > Server runs circles around NT, especially in reliability, and NT support is > going away ...and if he has about $8-10K to spend I'd persuade him to go > with a new Dell server with a 25 cal SBS2K OS which includes SQL Server > ...plus a free upgrade to W2003 Server (only AFTER the first SP though). > > ...given the costs involved in the different approaches, his TOC bottom line > is going to be lower with a new server since his maintenance costs will drop > dramatically with the W2K Server vs NT, even on essentially the same box > assuming its not stone aged ...plus you could immediately give him the > benefits of a SQL Server be. > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 02, 2003 8:53 AM > Subject: [AccessD] Weakest Link > > > > I have a client running about 25 Access FEs against an MDB BE. He has a > > single server, and of course must use a single server at least for the BE > if > > we don't get into replication. The server is Windows NT, not even 2K. He > > just expanded into another wing of the building they rent and are going to > > move one unit of the business (and database) into that wing. Can he run > > multiple NICS in Windows NT? That would allow him to put a switch (or > > router) on what would essentially be two different LANs. They don't > really > > have any inter workstation traffic so this would probably work if NT can > > deal with more than one NIC. I know that they have (or had) bandwidth > > issues because when they replaced a hub with a switch awhile back the > > performance of the db improved. > > > > John W. Colby > > www.colbyconsulting.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sat Nov 1 18:30:12 2003 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 01 Nov 2003 16:30:12 -0800 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <3FA45013.23B22CFE@nanaimo.ark.com> Hey All Did a little mock up using Dev's compacter.mda(mde) for compacting the frontend. Added some code to allow for the compacting of the backend also and a scheduler/timer ability. Seems to be working quite nicely. The program is not any "rocket science" (1 user, no network), still needs checking for users logged on, scheduling by day, week, biweekly etc., backing up front and backends first before compacting etc. etc. But as I said the little mockup seems to be working nicely compacting both the front and back end at a scheduled time and returning to the program all in one automated step. Still got to do more testing and additions. Thanks for all your help and suggestions. From stuart at lexacorp.com.pg Sun Nov 2 17:12:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 03 Nov 2003 09:12:50 +1000 Subject: [AccessD] defining constants as hex numbers In-Reply-To: Message-ID: <3FA61C12.22982.1A3CC4@localhost> On 2 Nov 2003 at 10:51, John Colby wrote: > how do you force VB to consider a number hex? I thought there was something > like h0f but I can't get it to work and NOT help isn't. > &H -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Sun Nov 2 18:27:45 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 2 Nov 2003 19:27:45 -0500 Subject: [AccessD] defining constants as hex numbers In-Reply-To: <3FA61C12.22982.1A3CC4@localhost> Message-ID: Thanks John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Sunday, November 02, 2003 6:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] defining constants as hex numbers On 2 Nov 2003 at 10:51, John Colby wrote: > how do you force VB to consider a number hex? I thought there was something > like h0f but I can't get it to work and NOT help isn't. > &H -- 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 martyconnelly at shaw.ca Sun Nov 2 19:41:09 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 02 Nov 2003 17:41:09 -0800 Subject: [AccessD] Info: Jet SP 8.0 is out References: <22F1CCD5171D17419CB37FEEE09D5F990173F7A7@TTNEXCHSRV1.hshhp.com> <3F9993CF.3030603@shaw.ca> <004401c3a161$e4d91f00$6501a8c0@HAL9002> Message-ID: <3FA5B235.6070502@shaw.ca> In so much as you might not have written a code workaround to get a problem corrected in a later SP, you will have a problem. For example: :After you compact and repair a database that includes a table that has an AutoNumber field, you notice that when you enter new data, the AutoNumber is a duplicate of an earlier AutoNumber. This is fixed by SP4. You won't see the error developing in SP8, but if your client is still on SP3 she will. Or for example SP7 gets around problems of importing paradox and dbase files. MS and Borland kissed and made up so it is was fixed in SP7. To find the errors corrected by SPs you will have to find the KB associated with each SP. Ha Ha Ha .Giggle They keep switching them every six months. . To apply SP 8 it goes with Win 2003, 2000 and XP otherwise use SP7 for lower OS. To apply either you need at least SP3 installed. The SP's are cumulative so that SP7 has all the fixes of SP7 thru SP4. There is also a seperate SP for replication and SP7. SP 8 fixes Access/Oracle problems. There is a list here to determine your SP level from Version number of msjet40.dll How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine http://support.microsoft.com/default.aspx?scid=kb;EN-US;239114 SP7 here http://support.microsoft.com/default.aspx?scid=kb;en-us;Q282010 Rocky Smolin - Beach Access Software wrote: >Marty: > >Belated questions, maybe you know - if I install SP8 and send an app to a >client who is on an earlier SP can this cause problems at the client site? > >Regards, > >Rocky Smolin >Beach Access Software > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Friday, October 24, 2003 1:04 PM >Subject: [AccessD] Info: Jet SP 8.0 is out > > > > >>Went looking for version SP 7.0 of Jet and got redirected.to 8.0 >> >>Information about Jet 4.0 Service Pack 8 >>http://support.microsoft.com/?kbid=829558 >> >>How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 >>Database Engine >>http://support.microsoft.com/default.aspx?scid=kb;EN-US;239114#11 >> >>To find what Jet Service Pack you are running >>On the Start menu, click Search. >>In the Search Results pane, click All files and folders under Search >>Companion. >>In the All or part of the file name box, type msjet40.dll, and then >>click Search. >>In the list of files, right-click the Msjet40.dll file that is located >>in the Windows\System32 (or Windows\System) folder, and then click >>Properties. >>Click the Version tab, and then use the following table to determine the >>current Jet 4.0 service pack level: >>Msjet40.dll Version Jet 4.0 Service Pack Level >>4.0.2927.4 Service Pack 3 (SP3) >>4.0.3714.7 Service Pack 4 (SP4) >>4.0.4431.1 or 4.0.4431.3 Service Pack 5 (SP5) >>4.0.6218.0 Service Pack 6 (SP6) >>4.0.6807.0 Service Pack 6 (SP6) shipped only with Windows Server 2003 >>4.0.7328.0 Service Pack 7 (SP7) >>4.0.8015.0 Service Pack 8 (SP8) >> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Nov 2 19:43:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 02 Nov 2003 17:43:47 -0800 Subject: [AccessD] defining constants as hex numbers References: Message-ID: <3FA5B2D3.4010906@shaw.ca> Sub ones() Dim iTest As Integer Dim inum As Integer Dim lnum As Long Dim hexvalue As String hexvalue = "8A" iTest = 255 inum = Val("&H" & hexvalue) ' hex 8A lnum = inum Xor iTest Debug.Print "lnum=" & lnum & "hex=" & Hex(lnum) End Sub John Colby wrote: >how do you force VB to consider a number hex? I thought there was something >like h0f but I can't get it to work and NOT help isn't. > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From stuart at pacific.net.hk Sun Nov 2 20:29:02 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 3 Nov 2003 10:29:02 +0800 Subject: [AccessD] Weakest Link In-Reply-To: <001001c3a166$ea800360$6001a8c0@dejpolsys> Message-ID: It is usually better to run some tests to see what is the weakest link before jumping to conclusions. NT, has a utility called perfmon (performance monitor) where you can set up and monitor various stats. Occasionally a simple memory upgrade may resolve performance issues where the server is paging continuously. What you really need to determine is whether it is the LAN or the server that is the main issue. If your network is constantly running maxed out, then maybe a second NIC is the answer. Though I agree with William that Win2K runs rings around winNT in terms of ease of maintenance. NT can also a right PITA for installing new gear. I've also set up win2k server for VPN service between a clients offices between here and Tokyo running on an old Pentium Pro with 96 MB of ram (they didn't want to spend the money on a new box, so a replaced fileserver got the job). After hacking out services to get the memory footprint down it hasn't had a hickup in over 6 months of use. Just goes to show that win2k can also run on older gear, though I'd not recommend that for a heavily used system. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Monday, 03 November, 2003 1:30 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Weakest Link > > > ****inline :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 02, 2003 10:19 AM > Subject: RE: [AccessD] Weakest Link > > > > William, > > > > >...yes he can run multiple nics, but why the extra h/w > ...you can run > > multiple subnets off the same NT nic > > > > In the end the bandwidth at the connector of the NIC is 100 > mbits. Two > NICS > > means TWO 100 mbit networks, not one 100 mbit lan. > > ****and you think an NT server can service two 100Mb nets any faster? > > > > >and he can certainly run multiple co-located servers with > one be without > > replication > > > > What the hell is a co-located server? There is an MDB that all 25 > > workstations are trying to get data out of, a single file. > > ****one server doing OS functions while a co-located one > works as the file > server with most of its processor and memory dedicated to > servicing your be. > > > > >...your real issue appears to be db performance > > > > This is absolutely true. They want to so some stuff that > just pulls a lot > > of data however, and in this kind of situation a lot of > data is a lot of > > bandwidth times a lot of users. > > ****hard to believe that a 100Mb lan is b/w limited w/25 > users regardless of > the db demands ...the real limit is almost always in the > processor, memory, > and/or HD access ...none of which are affected by how many > nics you are > using ...by your theory, I could just add a nic any old time > I needed to > speed things up :) > William > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Sunday, November 02, 2003 9:57 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Weakest Link > > > > > > ...yes he can run multiple nics, but why the extra h/w > ...you can run > > multiple subnets off the same NT nic ...and he can > certainly run multiple > > co-located servers with one be without replication :( > > > > ...your real issue appears to be db performance ...assuming > he's already > > running a 100Mb Ethernet and has no nic/cabling problems, > then your real > > answer lies in a server upgrade of one sort or another. > > > > ...personally I'd persuade him to upgrade to W2K Server OS > with a minimum > of > > 1Gb of ram, the more the merrier ...the server h/w, other > than the ram is > > not as critical as the server os ime unless his HDs are > prehistoric ...W2K > > Server runs circles around NT, especially in reliability, > and NT support > is > > going away ...and if he has about $8-10K to spend I'd > persuade him to go > > with a new Dell server with a 25 cal SBS2K OS which > includes SQL Server > > ...plus a free upgrade to W2003 Server (only AFTER the > first SP though). > > > > ...given the costs involved in the different approaches, > his TOC bottom > line > > is going to be lower with a new server since his > maintenance costs will > drop > > dramatically with the W2K Server vs NT, even on essentially > the same box > > assuming its not stone aged ...plus you could immediately > give him the > > benefits of a SQL Server be. > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "John Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Sunday, November 02, 2003 8:53 AM > > Subject: [AccessD] Weakest Link > > > > > > > I have a client running about 25 Access FEs against an > MDB BE. He has a > > > single server, and of course must use a single server at > least for the > BE > > if > > > we don't get into replication. The server is Windows NT, > not even 2K. > He > > > just expanded into another wing of the building they rent > and are going > to > > > move one unit of the business (and database) into that > wing. Can he run > > > multiple NICS in Windows NT? That would allow him to put > a switch (or > > > router) on what would essentially be two different LANs. > They don't > > really > > > have any inter workstation traffic so this would probably > work if NT can > > > deal with more than one NIC. I know that they have (or > had) bandwidth > > > issues because when they replaced a hub with a switch > awhile back the > > > performance of the db improved. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From my.lists at verizon.net Mon Nov 3 01:33:30 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Sun, 02 Nov 2003 23:33:30 -0800 Subject: [AccessD] OT: Noisy computer In-Reply-To: References: Message-ID: <3FA604CA.1020200@verizon.net> Aerocool's DP101 is a neat idea, I have not ordered it but am gonna, http://www.amdmb.com/article-display.php?ArticleID=242 according to this review by AMD MB, it's a very good well performing cpu cooler that is no louder than a soft whisper, in my pc I have volcano 7 and while I don't mind it, my wife does, and has threatened to cut all power to my pc. :D John Colby wrote: > I just thought I'd share a tip. > > I build my own computers from parts. About two years ago now I bought these > rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs > and used Thermaltake volcanoes in them plus 3 case fans (plus two in the > power supply). Needless to say it was NOISY!!! > > So noisy I couldn't hear a phone conversation. > > I finally decided I'd had enough. I found a HSF called the Thermaltake > Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That > got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, > but the case fans were still pretty loud. I was just about to order low > noise variable speed fans when I ran across this article: > http://www.cpemma.co.uk/7volt.html > > I decided since it was free and immediate (I'm a right now kinda guy) I'd go > ahead and try it. Essentially you build a cable (don't panic, it's easy) > that feeds 7 volts to the fan instead of the normal 12, which reduces the > fan speed (and air volume) which reduces the noise (and air volume). > > As long as the remaining air volume is sufficient to keep the case cool all > is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out > that the temperature on the proc went up from ~104 f to 107 f idle. Not too > bad actually. And the difference in noise between the new HSF and lower > voltage to the case fans is immense. Not dead silent by any means but quiet > now instead of sounding like the cleaning lady with a vacuum in my ear. > > Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. > http://www.cpemma.co.uk/7volt.html > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From accessd at shaw.ca Mon Nov 3 01:46:35 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 02 Nov 2003 23:46:35 -0800 Subject: [AccessD] Running local file format In-Reply-To: <3FA604CA.1020200@verizon.net> Message-ID: Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA Jim From gmiller at sistersnet.com Mon Nov 3 02:34:13 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Mon, 3 Nov 2003 00:34:13 -0800 Subject: [AccessD] Running local file format References: Message-ID: <03a201c3a1e5$45cfe0e0$0300a8c0@svreo1> Jim, Look up the Shell() function in Help. Sounds like what you are looking for. Gary Miller Sisters, OR ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 11:46 PM Subject: [AccessD] Running local file format > Hi All: > > This is a simple question I am sure but the life of me I can not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to run/display any file that > the local computer recognizes, like a Word document, pdf file, spreadsheet > or maybe a web page without writing specific code for each type. I have > written procedures for Word Excel and Web pages but there must be any easier > way than blocks of code for each extension. A browser web page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > Jim > > > _______________________________________________ > 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 Nov 3 04:26:12 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 3 Nov 2003 18:26:12 +0800 Subject: [AccessD] Running local file format In-Reply-To: Message-ID: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> What you want is this: http://www.mvps.org/access/api/api0018.htm Regards Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence (AccessD) > Sent: Monday, 03 November, 2003 3:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running local file format > > > Hi All: > > This is a simple question I am sure but the life of me I can > not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to > run/display any file that > the local computer recognizes, like a Word document, pdf > file, spreadsheet > or maybe a web page without writing specific code for each > type. I have > written procedures for Word Excel and Web pages but there > must be any easier > way than blocks of code for each extension. A browser web > page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > Jim > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Nov 3 04:31:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 11:31:59 +0100 Subject: [AccessD] defining constants as hex numbers In-Reply-To: <2400510678138396723d0567@global.net.pg> References: <2400510678138396723d0567@global.net.pg> Message-ID: <1709213628.20031103113159@cactus.dk> Hi John, Stuart But be careful with values above the max. positive value of a signed Integer &H7FFF as these evaluates to negative values in VB. Not even assigning such a value to a constant or a variable declared as Long will help you. If you expect, say, 65535 for &HFFFF, add the type declaration sign for Long: &HFFFF& or make it initially a Long by adding and subtracting one &H10000 - 1 or wrap it, again forcing a Long and taking advantage of &HFFFF as a fancy way of writing -1 &H10000 + &HFFFF The last one is a nice item to add in your box of tools for writing unreadable code! /gustav >> how do you force VB to consider a number hex? I thought there was something >> like h0f but I can't get it to work and NOT help isn't. >> > &H From gustav at cactus.dk Mon Nov 3 06:22:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 13:22:09 +0100 Subject: [AccessD] MS InfoPath and OneNote Message-ID: <8615823653.20031103132209@cactus.dk> Hi all Anyone familiar with these new products and if they somehow relate to Access? I've tried to browse some brochures but they are so hyped that it is just plain impossible to figure out wether these apps are fancy toys which will bring any machine to a crawl or if they could be useful tools in cooperation with Access and database applications. And how are the programmed if you wish to create custom build apps? I've located this link to a SDK related to InfoPath: http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en but it looks like you need to take a deep breath and have a weekend set aside. Also, how much are they relying on specific MS server software like SharePoint or Exchange or pure MS environments or Office 2003 only? If so, the usefulness is very limited as our clients use a variety of systems. /gustav From bheid at appdevgrp.com Mon Nov 3 06:26:09 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 3 Nov 2003 07:26:09 -0500 Subject: [AccessD] Weird Access XP/SS problem-Answer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA3067BF79@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFA0@ADGSERVER> Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. Charlotte Foust From jcolby at colbyconsulting.com Mon Nov 3 08:10:45 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 09:10:45 -0500 Subject: [AccessD] Weird Access XP/SS problem-Answer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BAFA0@ADGSERVER> Message-ID: Charlotte, I would hope there is a better answer than that. I intentionally leave my client's dbs in A2K file format since AXP as the compact bug. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Monday, November 03, 2003 7:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 3 08:14:57 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 09:14:57 -0500 Subject: [AccessD] defining constants as hex numbers In-Reply-To: <1709213628.20031103113159@cactus.dk> Message-ID: Gustav, I am dealing with longs and am doing bit manipulations of individual bits (which is why I want Hex to begin with) so I must have the ability to deal with upper bits. However I avoid the sign bit so I don't really care if it "makes it negative" as long as it doesn't do so by propagating a 1 through all of the upper bits such that all of the upper 16 bits are a 1. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, November 03, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] defining constants as hex numbers Hi John, Stuart But be careful with values above the max. positive value of a signed Integer &H7FFF as these evaluates to negative values in VB. Not even assigning such a value to a constant or a variable declared as Long will help you. If you expect, say, 65535 for &HFFFF, add the type declaration sign for Long: &HFFFF& or make it initially a Long by adding and subtracting one &H10000 - 1 or wrap it, again forcing a Long and taking advantage of &HFFFF as a fancy way of writing -1 &H10000 + &HFFFF The last one is a nice item to add in your box of tools for writing unreadable code! /gustav >> how do you force VB to consider a number hex? I thought there was something >> like h0f but I can't get it to work and NOT help isn't. >> > &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 Nov 3 08:21:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 09:21:22 -0500 Subject: [AccessD] OT: Noisy computer In-Reply-To: <3FA604CA.1020200@verizon.net> Message-ID: Newegg gives a retail price of #32 for the deep impact which would make it a good buy. Unfortunately they don't have it in stock. The thermaltake silent boost is about the same price and in stock and works wonderfully. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Monday, November 03, 2003 2:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Noisy computer Aerocool's DP101 is a neat idea, I have not ordered it but am gonna, http://www.amdmb.com/article-display.php?ArticleID=242 according to this review by AMD MB, it's a very good well performing cpu cooler that is no louder than a soft whisper, in my pc I have volcano 7 and while I don't mind it, my wife does, and has threatened to cut all power to my pc. :D John Colby wrote: > I just thought I'd share a tip. > > I build my own computers from parts. About two years ago now I bought these > rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs > and used Thermaltake volcanoes in them plus 3 case fans (plus two in the > power supply). Needless to say it was NOISY!!! > > So noisy I couldn't hear a phone conversation. > > I finally decided I'd had enough. I found a HSF called the Thermaltake > Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That > got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, > but the case fans were still pretty loud. I was just about to order low > noise variable speed fans when I ran across this article: > http://www.cpemma.co.uk/7volt.html > > I decided since it was free and immediate (I'm a right now kinda guy) I'd go > ahead and try it. Essentially you build a cable (don't panic, it's easy) > that feeds 7 volts to the fan instead of the normal 12, which reduces the > fan speed (and air volume) which reduces the noise (and air volume). > > As long as the remaining air volume is sufficient to keep the case cool all > is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out > that the temperature on the proc went up from ~104 f to 107 f idle. Not too > bad actually. And the difference in noise between the new HSF and lower > voltage to the case fans is immense. Not dead silent by any means but quiet > now instead of sounding like the cleaning lady with a vacuum in my ear. > > Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. > http://www.cpemma.co.uk/7volt.html > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Nov 3 08:41:45 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 09:41:45 -0500 Subject: [AccessD] Running local file format References: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> Message-ID: <002a01c3a218$9a8f4020$6001a8c0@dejpolsys> ...hey! ...nice find, works like a charm ...as it happens I have an immediate use for this little honey ...thanks :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 5:26 AM Subject: RE: [AccessD] Running local file format > What you want is this: > > http://www.mvps.org/access/api/api0018.htm > > Regards > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Jim Lawrence (AccessD) > > Sent: Monday, 03 November, 2003 3:47 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Running local file format > > > > > > Hi All: > > > > This is a simple question I am sure but the life of me I can > > not remember or > > find the related code. (Advanced years and all) > > > > Can you set up Access to, under program control to > > run/display any file that > > the local computer recognizes, like a Word document, pdf > > file, spreadsheet > > or maybe a web page without writing specific code for each > > type. I have > > written procedures for Word Excel and Web pages but there > > must be any easier > > way than blocks of code for each extension. A browser web > > page can do this > > but can an Access program? > > > > Any suggestions would be greatly appreciated > > > > MTIA > > 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 serbach at new.rr.com Mon Nov 3 08:56:42 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 08:56:42 -0600 Subject: [AccessD] How to prevent a mess Message-ID: <20031103085642.1503239058.serbach@new.rr.com> Dear Group, I've been enlightened by Michael Kaplan's explanation of the perils of copying replicas and not going through a proper replication sequence with CD copies back and forth. The question is: what now? The independent laptops are scattered around the state and its *very* inconvenient for them to come back to do a physical replication. Money to write a custom synchronization process is simply not available. I note from Kaplan's explanations that if the replicas are unmanaged -- that is, Synchronizer is not used -- then certain types of problems can be avoided. Also problems can be avoided by using the built-in Access methods for moving replicas or by using TSI Synchronizer. He also mentions using the Briefcase reconciler, but that doesn't exist in Windows 2000 or XP, does it? I'm trying to avoid creating a mess. The application is in more or less a beta stage now, so we could start from scratch with a new Replication strategy. Any advice? Regards, Steve Erbach Scientific Marketing Neenah, WI From gustav at cactus.dk Mon Nov 3 08:57:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 15:57:07 +0100 Subject: [AccessD] defining constants as hex numbers In-Reply-To: References: Message-ID: <13825122033.20031103155707@cactus.dk> Hi John OK, I guess you know what you're doing. I just recall this old example which blows if the trailing "&" is omitted: Dim WinVer% Dim LoByte% Dim HiByte% WinVer = GetVersion() And &HFFFF& LoByte = WinVer And &HFF ' major version HiByte = WinVer \ &HFF ' minor version IsWin95 = (HiByte / 100 + LoByte) >= 3.95 I am dealing with longs and am doing bit manipulations of individual bits > (which is why I want Hex to begin with) so I must have the ability to deal > with upper bits. However I avoid the sign bit so I don't really care if it > "makes it negative" as long as it doesn't do so by propagating a 1 through > all of the upper bits such that all of the upper 16 bits are a 1. From rusty.hammond at cpiqpc.com Mon Nov 3 09:13:01 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 09:13:01 -0600 Subject: [AccessD] Running local file format Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603B@cpixchng-1.cpiqpc.net> Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Nov 3 09:17:46 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 3 Nov 2003 16:17:46 +0100 (CET) Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <649944.1067872666630.JavaMail.www@wwinf3006> To all, We are operating Office XP Professional and I have started to write a little scheduling application. Every so often we will have an Excel Workbook containing three spreadsheets, what I need to be able to do is link into the Workbook to bring a certain clients data in from the second sheet. The fields in the workbook are as follows: StoreNo, HolidayWeek, Sun, Mon, Tue, Wed, Thur, Fri, Sat StoreNo contain the store number and if there is a certain week that we cannot go to the store the week commencing date wil be entered under HolidayWeek. If there is a certain day or multiple days that we cannot go to the store, the individual dates will be stored under the day of the week. Now I have a tbale with the following fields : StoreNo, BlackoutWeek, BlackoutDay I need to link into Excel and bring the data in from the Excel spreadsheet into the table above. So I may end up with StoreNo BlackoutWeek BlackoutDay 1 27/01/04 1 28/01/04 1 04/01/04 etc, has anyone any sample code on how to link into the Excel spreadsheet an retrieve the data. Thanks in advance for any help. Paul Hartland From paul.hartland at fsmail.net Mon Nov 3 09:53:36 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 3 Nov 2003 16:53:36 +0100 (CET) Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB Message-ID: <18619615.1067874816000.JavaMail.www@wwinf3002> To all, We have just had and error message up saying can't find MSysDb, we can't repair it or import tables from this database at all. Is there a way of restoring the database, to save us going to a backup version ? Please help as quickly as possible, thanks, Paul Hartland From accessd at shaw.ca Mon Nov 3 09:52:50 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 07:52:50 -0800 Subject: [AccessD] Running local file format In-Reply-To: <03a201c3a1e5$45cfe0e0$0300a8c0@svreo1> Message-ID: Thank you Gary: I am current researching that specific procedure but each document type must be prefixed with a path and name of the actual program that will display them. I was hoping for something that could use the intelligence from the OS on file extensions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Monday, November 03, 2003 12:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Running local file format Jim, Look up the Shell() function in Help. Sounds like what you are looking for. Gary Miller Sisters, OR ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Sunday, November 02, 2003 11:46 PM Subject: [AccessD] Running local file format > Hi All: > > This is a simple question I am sure but the life of me I can not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to run/display any file that > the local computer recognizes, like a Word document, pdf file, spreadsheet > or maybe a web page without writing specific code for each type. I have > written procedures for Word Excel and Web pages but there must be any easier > way than blocks of code for each extension. A browser web page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > 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 HollisVJ at pgdp.usec.com Mon Nov 3 09:59:26 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 03 Nov 2003 09:59:26 -0600 Subject: [AccessD] SubReports Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C7FA@cntexchange.pgdp.usec.com> Ok - what is the trick to selecting a subreport in report design? In 97 all I had to do is click on the report & it would open for modifications. In A2K I can't even select the report. Virginia From andy at minstersystems.co.uk Mon Nov 3 09:02:05 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 3 Nov 2003 16:02:05 +0100 Subject: [AccessD] Running local file format Message-ID: <20031103160200.C8CF224D446@smithers.nildram.co.uk> I use some API code that came from someone on the list (sorry can't credit cos can't remember). Very simple. Stick this in a module: Declare Function ShellExecute Lib "shell32" 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 Function RunApp(strFile As String, bytSize) As Boolean Dim lngRet As Long Dim varTaskID As Variant Dim strRet As String lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, vbNullString, vbNullString, bytSize) If lngRet > Success Then strRet = vbNullString lngRet = -1 RunApp = True Else RunApp = False Select Case lngRet Case NotRegistered varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & strFile, bytSize) lngRet = (varTaskID <> 0) Case InadequateMemory MsgBox "Error: Out of Memory/Resources!" Case FileNotFound MsgBox "Error: File not found!" Case PathNotFound MsgBox "Error: Path not found!" Case BadFormat MsgBox "Error: Bad File Format!" Case 5 MsgBox "Error: Unauthorized due to Security restrictions!" End Select End If End Function Then all you do is: Call RunApp(strfilename,1) HTH -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] Running local file format Date: 03/11/03 21:15 Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From DWUTKA at marlow.com Mon Nov 3 10:08:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:08:13 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227480@main2.marlow.com> Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 31, 2003 9:20 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Yes, a switch is used to connect computers on the same subnet. A router is > used to connect subnets together. A router is usually also a switch, so it > can connect computers on the same subnet, AND connect one subnet to another. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Is there a difference between a switch and a router? > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 31, 2003 6:54 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > I recommend "hardwiring" the IP address of any device > > or server connected to your LAN that's not a > > workstation and is virtually always on. > > > > For the price, I would also highly recommend removing > > all hubs from your network and using them as > > doorstops. Switches have come way down in price and > > have many benifits over hubs. > > > > Hubs divide the bandwidth across all ports. Thus if > > you have an 8-port 10-BaseT hub, all ports that are > > processing data split that 10Mbit. A switch, each > > port gets the fill bandwidth. > > > > That's not including the security issues inherent with > > hubs as they broadcast all available data to all > > available ports rather than to the proper destination > > port. > > > > --- John Colby wrote: > > > Yes, you can indeed daisy chain routers and > > > SUPPOSEDLY hubs, though I had no > > > joy doing that with my old hub. I am however daisy > > > chaining my old 4 port > > > router off of my new 4 port wireless router. The > > > newer models even figure > > > out what kind of cable you are using, crossover or > > > regular. The biggest > > > issue there was that the router was the dhcp server > > > so I had to turn off the > > > old as a dhcp server and turn on the new. I also > > > hardwired the address of > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > port routers isn't a > > > panacea however since you now end up using two ports > > > just for the daisy > > > chain and have 6 left. In my case though I also > > > have a wireless so I can > > > get my laptop in through that and could also get > > > other computers in if > > > needed. > > > > > > I have an old model I TIVO which I modded to use the > > > internet to "call in" > > > for programming. I had to snake a cable down the > > > wall from the living room > > > (luckily exactly over my office in the basement). I > > > understand that the > > > model II has USB ports that can automatically use > > > the USB wireless cards to > > > connect to the internet. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, October 31, 2003 8:33 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > of) > > > > > > > > > John: > > > > > > I heard that you can daisy chain hubs off one of the > > > ports on your router to > > > get more ports and that you can go up to 255 devices > > > from one router this > > > way. Seems to easy and cheap, though. > > > > > > I've also found that when creating a new network it > > > sometimes takes a few > > > minutes for the different shared devices to 'see' > > > each other - especially on > > > the wireless. So I'll whang around frustrated > > > trying to get the network to > > > work and then have the same experience you had - > > > after a few minutes, > > > suddenly the other machines are in my network > > > neighborhood. Go figure. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "Database Advisors Inc. (Tech)" > > > ; > > > "AccessD" > > > Sent: Thursday, October 30, 2003 5:39 PM > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > couple of weeks ago. I > > > needed > > > > to expand my 4 port router (I had 5 things I kept > > > needing to plug in) and > > > > the Netgear was on sale at www.Newegg.com at the > > > time. I then tried and > > > > failed to install a linksys WPC11v2.5 I had laying > > > around, so I ordered a > > > > dlink dwl-650 that was on sale (rebate) at > > > www.newegg.com. Long story > > > > short, it didn't work. Long story a little > > > longer, a very long call to > > > > dlink tech support, did not solve the problem. > > > > > > > > Or maaaaaybe it did. After failing to figure > > > anything out, they > > > recommended > > > > that I upgrade my laptop bios. It's an ancient > > > (now) 233mhz PII Toshiba > > > > Satellite 4000 that I bought with my first > > > paycheck from my trip to work > > > for > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > November 1997? Getting a > > > bit > > > > long in the tooth, truth be told. > > > > > > > > The bios upgrade and also the old "turn off NAV > > > before installing etc. > > > And > > > > "oh by the way, our card requires at least a 300 > > > mhz processor. So I > > > > uninstalled, upgraded to the latest bios (May > > > 2000?), turned off NAV, > > > > reinstalled the drivers and re-installed the card. > > > Still no joy. The > > > site > > > > survey showed no transmitters, and dlink tech > > > support assured me that if > > > > there was a transmitter I would see it regardless. > > > > > > > > Ignorant liars! > > > > > > > > Went back in and reconfigured the card in the > > > laptop for channel 11 (it > > > > defaulted to 3 and the router was on 11), played > > > around with a couple of > > > > other things and boom, I see a transmitter. Went > > > in to the router config > > > > page and changed the SSID and sure enough the > > > thing I'm seeing on the > > > laptop > > > > changes to match! Still no connection though. > > > > > > > > Rebooted, played around some more and suddenly (no > > > clear idea why) I have > > > a > > > > wireless connection, can browse my network and see > > > the web. Yeaaaaa. > > > > > > > > Moral of the story, tech support generally sucks, > > > play around, don't quit, > > > > and eventually the gods will reward you. Or not. > > > > > > > > Now, I need to know what to do to tighten this > > > thing up so that others > > > can't > > > > see my network. I'm a bit afraid to touch > > > anything since I don't really > > > > know what I did to finally get it running. > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 10:18:37 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:18:37 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF802227483@main2.marlow.com> I just put my servers in the closet. Don't care how noisy they get. Can't hear them! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 01, 2003 12:32 AM To: AccessD Subject: [AccessD] OT: Noisy computer I just thought I'd share a tip. I build my own computers from parts. About two years ago now I bought these rather nice cases, bought motherboards with AMD 1333 mhz thunderbird procs and used Thermaltake volcanoes in them plus 3 case fans (plus two in the power supply). Needless to say it was NOISY!!! So noisy I couldn't hear a phone conversation. I finally decided I'd had enough. I found a HSF called the Thermaltake Silent Boost. NICE! All copper, 80mm low noise fan. Almost silent. That got rid of the jet engine sound from the 60mm 4500 rpm fans on the old HSF, but the case fans were still pretty loud. I was just about to order low noise variable speed fans when I ran across this article: http://www.cpemma.co.uk/7volt.html I decided since it was free and immediate (I'm a right now kinda guy) I'd go ahead and try it. Essentially you build a cable (don't panic, it's easy) that feeds 7 volts to the fan instead of the normal 12, which reduces the fan speed (and air volume) which reduces the noise (and air volume). As long as the remaining air volume is sufficient to keep the case cool all is fine. I have 3 case fans anyway, 1 intake and 2 exhaust. It turns out that the temperature on the proc went up from ~104 f to 107 f idle. Not too bad actually. And the difference in noise between the new HSF and lower voltage to the case fans is immense. Not dead silent by any means but quiet now instead of sounding like the cleaning lady with a vacuum in my ear. Saved myself ~$40-$50 on new case fans. Check it out, it worked for me. http://www.cpemma.co.uk/7volt.html John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 3 10:19:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 11:19:43 -0500 Subject: [AccessD] SubReports In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C7FA@cntexchange.pgdp.usec.com> Message-ID: Virginia, I am ashamed at you expressing such disbelief and disapproval at the NEW AND IMPROVED FEATURES OF A2K!!! Welcome to the "let's make it better and change everything around" world of M$. In theory, the subreport should be "transparent" now, i.e. you should see the controls etc inside the subreporta (and subforms). In order to select the subreport itself, one way is to click OUTSIDE the subObject, ten click the little gray square in the upper left corner ONE TIME. If you keep a property box open as you do this you can watch the property box to see what object you have selected. You then "drill down" into the sub object clicking again and yet again. In fact the first click SHOULD show you the properties of the sub object CONTROL on the main object. Next click will show you properties of the sub-object (sub report / sub form). Next click will show you properties of the object inside the subreport/form such as the header, a control etc. depending on what you are clicking on. So as you can see, this is all "new and improved". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Monday, November 03, 2003 10:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SubReports Ok - what is the trick to selecting a subreport in report design? In 97 all I had to do is click on the report & it would open for modifications. In A2K I can't even select the report. Virginia _______________________________________________ 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 Nov 3 10:24:06 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 3 Nov 2003 16:24:06 -0000 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <61F915314798D311A2F800A0C9C83188047C6666@dibble.observatory.donnslaw.co.uk> Nicely put. However by being the first person to post to this thread today, you fall foul of a new policy just agreed between myself and the other moderators. Don't take it personally... EVERYONE PLEASE NOTE: from now on we will be insisting that responses to questions which really belong on one of the other lists MUST be made on the appropriate list and not on AccessD. Initial requests for help can still be sent to AccessD, until it becomes clear that we have enough subscribers on the other lists to make it unneccessary, but all responses should be sent to the VB, SQL-Server or Tech list. We will be sending out an official email to that effect sometime soon. If you disagree with the policy please send a mail to ops-mod at databaseadvisors.com and we will consider your views. Thanks Roz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 03 November 2003 16:08 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 31, 2003 9:20 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Yes, a switch is used to connect computers on the same subnet. A > router is > used to connect subnets together. A router is usually also a switch, > so it > can connect computers on the same subnet, AND connect one subnet to another. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Is there a difference between a switch and a router? > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 31, 2003 6:54 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > I recommend "hardwiring" the IP address of any device > > or server connected to your LAN that's not a > > workstation and is virtually always on. > > > > For the price, I would also highly recommend removing > > all hubs from your network and using them as > > doorstops. Switches have come way down in price and > > have many benifits over hubs. > > > > Hubs divide the bandwidth across all ports. Thus if > > you have an 8-port 10-BaseT hub, all ports that are processing data > > split that 10Mbit. A switch, each port gets the fill bandwidth. > > > > That's not including the security issues inherent with > > hubs as they broadcast all available data to all > > available ports rather than to the proper destination > > port. > > > > --- John Colby wrote: > > > Yes, you can indeed daisy chain routers and > > > SUPPOSEDLY hubs, though I had no > > > joy doing that with my old hub. I am however daisy chaining my > > > old 4 port router off of my new 4 port wireless router. The > > > newer models even figure > > > out what kind of cable you are using, crossover or > > > regular. The biggest > > > issue there was that the router was the dhcp server > > > so I had to turn off the > > > old as a dhcp server and turn on the new. I also > > > hardwired the address of > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > port routers isn't a > > > panacea however since you now end up using two ports > > > just for the daisy > > > chain and have 6 left. In my case though I also > > > have a wireless so I can > > > get my laptop in through that and could also get > > > other computers in if > > > needed. > > > > > > I have an old model I TIVO which I modded to use the internet to > > > "call in" for programming. I had to snake a cable down the > > > wall from the living room > > > (luckily exactly over my office in the basement). I > > > understand that the > > > model II has USB ports that can automatically use > > > the USB wireless cards to > > > connect to the internet. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, October 31, 2003 8:33 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > of) > > > > > > > > > John: > > > > > > I heard that you can daisy chain hubs off one of the ports on your > > > router to get more ports and that you can go up to 255 devices > > > from one router this > > > way. Seems to easy and cheap, though. > > > > > > I've also found that when creating a new network it sometimes > > > takes a few minutes for the different shared devices to 'see' > > > each other - especially on > > > the wireless. So I'll whang around frustrated > > > trying to get the network to > > > work and then have the same experience you had - > > > after a few minutes, > > > suddenly the other machines are in my network > > > neighborhood. Go figure. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "Database Advisors Inc. (Tech)" > > > ; "AccessD" > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > couple of weeks ago. I > > > needed > > > > to expand my 4 port router (I had 5 things I kept > > > needing to plug in) and > > > > the Netgear was on sale at www.Newegg.com at the > > > time. I then tried and > > > > failed to install a linksys WPC11v2.5 I had laying > > > around, so I ordered a > > > > dlink dwl-650 that was on sale (rebate) at > > > www.newegg.com. Long story > > > > short, it didn't work. Long story a little > > > longer, a very long call to > > > > dlink tech support, did not solve the problem. > > > > > > > > Or maaaaaybe it did. After failing to figure > > > anything out, they > > > recommended > > > > that I upgrade my laptop bios. It's an ancient > > > (now) 233mhz PII Toshiba > > > > Satellite 4000 that I bought with my first > > > paycheck from my trip to work > > > for > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > November 1997? Getting a > > > bit > > > > long in the tooth, truth be told. > > > > > > > > The bios upgrade and also the old "turn off NAV > > > before installing etc. > > > And > > > > "oh by the way, our card requires at least a 300 > > > mhz processor. So I > > > > uninstalled, upgraded to the latest bios (May > > > 2000?), turned off NAV, > > > > reinstalled the drivers and re-installed the card. > > > Still no joy. The > > > site > > > > survey showed no transmitters, and dlink tech > > > support assured me that if > > > > there was a transmitter I would see it regardless. > > > > > > > > Ignorant liars! > > > > > > > > Went back in and reconfigured the card in the > > > laptop for channel 11 (it > > > > defaulted to 3 and the router was on 11), played > > > around with a couple of > > > > other things and boom, I see a transmitter. Went > > > in to the router config > > > > page and changed the SSID and sure enough the > > > thing I'm seeing on the > > > laptop > > > > changes to match! Still no connection though. > > > > > > > > Rebooted, played around some more and suddenly (no > > > clear idea why) I have > > > a > > > > wireless connection, can browse my network and see > > > the web. Yeaaaaa. > > > > > > > > Moral of the story, tech support generally sucks, > > > play around, don't quit, > > > > and eventually the gods will reward you. Or not. > > > > > > > > Now, I need to know what to do to tighten this > > > thing up so that others > > > can't > > > > see my network. I'm a bit afraid to touch > > > anything since I don't really > > > > know what I did to finally get it running. > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 3 10:29:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 11:29:36 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227480@main2.marlow.com> Message-ID: DID YOU SAY BITMASK? Sounds denormalized to me! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, November 03, 2003 11:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 31, 2003 9:20 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Yes, a switch is used to connect computers on the same subnet. A router is > used to connect subnets together. A router is usually also a switch, so it > can connect computers on the same subnet, AND connect one subnet to another. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 9:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Is there a difference between a switch and a router? > > Rocky > > ----- Original Message ----- > From: "Frank Tanner III" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 31, 2003 6:54 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > I recommend "hardwiring" the IP address of any device > > or server connected to your LAN that's not a > > workstation and is virtually always on. > > > > For the price, I would also highly recommend removing > > all hubs from your network and using them as > > doorstops. Switches have come way down in price and > > have many benifits over hubs. > > > > Hubs divide the bandwidth across all ports. Thus if > > you have an 8-port 10-BaseT hub, all ports that are > > processing data split that 10Mbit. A switch, each > > port gets the fill bandwidth. > > > > That's not including the security issues inherent with > > hubs as they broadcast all available data to all > > available ports rather than to the proper destination > > port. > > > > --- John Colby wrote: > > > Yes, you can indeed daisy chain routers and > > > SUPPOSEDLY hubs, though I had no > > > joy doing that with my old hub. I am however daisy > > > chaining my old 4 port > > > router off of my new 4 port wireless router. The > > > newer models even figure > > > out what kind of cable you are using, crossover or > > > regular. The biggest > > > issue there was that the router was the dhcp server > > > so I had to turn off the > > > old as a dhcp server and turn on the new. I also > > > hardwired the address of > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > port routers isn't a > > > panacea however since you now end up using two ports > > > just for the daisy > > > chain and have 6 left. In my case though I also > > > have a wireless so I can > > > get my laptop in through that and could also get > > > other computers in if > > > needed. > > > > > > I have an old model I TIVO which I modded to use the > > > internet to "call in" > > > for programming. I had to snake a cable down the > > > wall from the living room > > > (luckily exactly over my office in the basement). I > > > understand that the > > > model II has USB ports that can automatically use > > > the USB wireless cards to > > > connect to the internet. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, October 31, 2003 8:33 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > of) > > > > > > > > > John: > > > > > > I heard that you can daisy chain hubs off one of the > > > ports on your router to > > > get more ports and that you can go up to 255 devices > > > from one router this > > > way. Seems to easy and cheap, though. > > > > > > I've also found that when creating a new network it > > > sometimes takes a few > > > minutes for the different shared devices to 'see' > > > each other - especially on > > > the wireless. So I'll whang around frustrated > > > trying to get the network to > > > work and then have the same experience you had - > > > after a few minutes, > > > suddenly the other machines are in my network > > > neighborhood. Go figure. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John Colby" > > > To: "Database Advisors Inc. (Tech)" > > > ; > > > "AccessD" > > > Sent: Thursday, October 30, 2003 5:39 PM > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > couple of weeks ago. I > > > needed > > > > to expand my 4 port router (I had 5 things I kept > > > needing to plug in) and > > > > the Netgear was on sale at www.Newegg.com at the > > > time. I then tried and > > > > failed to install a linksys WPC11v2.5 I had laying > > > around, so I ordered a > > > > dlink dwl-650 that was on sale (rebate) at > > > www.newegg.com. Long story > > > > short, it didn't work. Long story a little > > > longer, a very long call to > > > > dlink tech support, did not solve the problem. > > > > > > > > Or maaaaaybe it did. After failing to figure > > > anything out, they > > > recommended > > > > that I upgrade my laptop bios. It's an ancient > > > (now) 233mhz PII Toshiba > > > > Satellite 4000 that I bought with my first > > > paycheck from my trip to work > > > for > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > November 1997? Getting a > > > bit > > > > long in the tooth, truth be told. > > > > > > > > The bios upgrade and also the old "turn off NAV > > > before installing etc. > > > And > > > > "oh by the way, our card requires at least a 300 > > > mhz processor. So I > > > > uninstalled, upgraded to the latest bios (May > > > 2000?), turned off NAV, > > > > reinstalled the drivers and re-installed the card. > > > Still no joy. The > > > site > > > > survey showed no transmitters, and dlink tech > > > support assured me that if > > > > there was a transmitter I would see it regardless. > > > > > > > > Ignorant liars! > > > > > > > > Went back in and reconfigured the card in the > > > laptop for channel 11 (it > > > > defaulted to 3 and the router was on 11), played > > > around with a couple of > > > > other things and boom, I see a transmitter. Went > > > in to the router config > > > > page and changed the SSID and sure enough the > > > thing I'm seeing on the > > > laptop > > > > changes to match! Still no connection though. > > > > > > > > Rebooted, played around some more and suddenly (no > > > clear idea why) I have > > > a > > > > wireless connection, can browse my network and see > > > the web. Yeaaaaa. > > > > > > > > Moral of the story, tech support generally sucks, > > > play around, don't quit, > > > > and eventually the gods will reward you. Or not. > > > > > > > > Now, I need to know what to do to tighten this > > > thing up so that others > > > can't > > > > see my network. I'm a bit afraid to touch > > > anything since I don't really > > > > know what I did to finally get it running. > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Nov 3 10:34:35 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 3 Nov 2003 11:34:35 -0500 Subject: [AccessD] Weird Access XP/SS problem-Answer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA3067C60D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFA5@ADGSERVER> I have to have mine in XP format because we create an MDE from it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 03, 2003 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Charlotte, I would hope there is a better answer than that. I intentionally leave my client's dbs in A2K file format since AXP as the compact bug. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Monday, November 03, 2003 7:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. 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 cfoust at infostatsystems.com Mon Nov 3 10:51:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 3 Nov 2003 08:51:53 -0800 Subject: [AccessD] Weird Access XP/SS problem-Answer. Message-ID: The problem only arises when the filetype you have set is later than the one you created the project in. It isn't the version of Access you're using, it's the file format your have to watch out for. If you leave your project in 2000 and have the file set to that type, you don't run into any issues pulling a new database out of VSS. The scc folders can also get corrupted sometimes, or at least specific files in those folders, so deleting them solves various problems when pulling a new version out of VSS. It's the first thing I do when I start getting those charming crashes that phone home to Uncle Bill. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 03, 2003 6:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Charlotte, I would hope there is a better answer than that. I intentionally leave my client's dbs in A2K file format since AXP as the compact bug. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Monday, November 03, 2003 7:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. Hi Charlotte, That was the problem exactly! Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 31, 2003 12:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird Access XP/SS problem-Answer. This will happen if the file format you have currently selected is Access 2000 but the project was created and checked into VSS in 2002 format. All you need to do is open a database and change your Access file format to 2002 then pull a new database out of VSS. Once you get the crash, it's a good idea to delete the scc folder for the project so it will be recreated when you pull the database out. Otherwise, you sometimes have problems with whatever caused the crash in the first place. 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 stuart at pacific.net.hk Mon Nov 3 10:55:35 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 00:55:35 +0800 Subject: [AccessD] Running local file format References: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> <002a01c3a218$9a8f4020$6001a8c0@dejpolsys> Message-ID: <001801c3a22b$4d765540$10c711d2@bitswshome> yeah I've used this for a couple of years. Was going to just post the code, but Dev has a copy right notice. Stuart ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, November 03, 2003 10:41 PM Subject: Re: [AccessD] Running local file format > ...hey! ...nice find, works like a charm ...as it happens I have an > immediate use for this little honey ...thanks :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 5:26 AM > Subject: RE: [AccessD] Running local file format > > > > What you want is this: > > > > http://www.mvps.org/access/api/api0018.htm > > > > Regards > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Jim Lawrence (AccessD) > > > Sent: Monday, 03 November, 2003 3:47 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Running local file format > > > > > > > > > Hi All: > > > > > > This is a simple question I am sure but the life of me I can > > > not remember or > > > find the related code. (Advanced years and all) > > > > > > Can you set up Access to, under program control to > > > run/display any file that > > > the local computer recognizes, like a Word document, pdf > > > file, spreadsheet > > > or maybe a web page without writing specific code for each > > > type. I have > > > written procedures for Word Excel and Web pages but there > > > must be any easier > > > way than blocks of code for each extension. A browser web > > > page can do this > > > but can an Access program? > > > > > > Any suggestions would be greatly appreciated > > > > > > MTIA > > > 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 DWUTKA at marlow.com Mon Nov 3 10:55:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:55:15 -0600 Subject: [AccessD] ACC97 Repair and Compact Message-ID: <2F8793082E00D4119A1700B0D0216BF802227485@main2.marlow.com> Tony, I started creating a system that was a pretty simple and straight forward method of shutting down end users. What it used was named pipes. Named pipes are a pretty easy method of communicating between machines. Access handles the client code without a hitch. However, the 'server' code pauses the thread, which 'locks' Access. Essentially what would happen, is you have a VB program (ideally running as an NT service). That program sits and acts as a pipe 'server', and listens to a named pipe. The FE in Access has a hidden form that fires a timer event, which used the client code to 'ask' the server what to do. A simple 'Nothing' reply and it goes on it's way. The communication is fast and quick, and is very painless. You then set a time line on the VB program, where between a certain period, it starts sending out a 'Shutdown' command, at which point the clients get 'Shutdown', instead of 'Nothing', and they start shutting themselves down. Because the Access FE's would be 'checking in', your VB program would have a list of FE's that are online, so it would know when they all 'signed off', and then you could run the compact. Just a thought.... Drew -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Saturday, November 01, 2003 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] ACC97 Repair and Compact Hey John Mentioned to Dan, that one way around the problem, may be his automatic shutdown suggestion (during the lag time). Then Task Scheduler to run the repair and compact, then after a certain time period have the Task Scheduler open the program again. Not as pretty as automating but an alternative if need be. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 3 10:58:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 10:58:50 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227486@main2.marlow.com> Read Erwins post a little while ago, was waiting for your's before I replied! Erwin, switches also use NAT tables. Because of this, they don't have to broadcast everything in all directions. They're 'smart', when a packet comes in, they can properly direct it. The downside to the NAT tables is that if you blow the NAT table away, it has to be rebuilt, so sometimes on an initial powerup, a switch may seem slower, which is simply the time it is using to build the NAT tables. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 8:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Nov 3 11:00:02 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 3 Nov 2003 18:00:02 +0100 (CET) Subject: [AccessD] Hourly Backups Of Access Data Message-ID: <16207489.1067878802360.JavaMail.www@wwinf3002> To all, Is there anyway I can create a backup of all the tables in a database, without bringing all the users out of the database. Paul From john at winhaven.net Mon Nov 3 11:00:16 2003 From: john at winhaven.net (John Bartow) Date: Mon, 3 Nov 2003 11:00:16 -0600 Subject: [AccessD] OT: Noisy computer In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227483@main2.marlow.com> Message-ID: dittos here: aka "My Bullpen" JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, November 03, 2003 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Noisy computer > > > I just put my servers in the closet. Don't care how noisy they > get. Can't > hear them! > > Drew > From jcolby at colbyconsulting.com Mon Nov 3 11:00:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 12:00:30 -0500 Subject: [AccessD] Running local file format In-Reply-To: <001801c3a22b$4d765540$10c711d2@bitswshome> Message-ID: I THINK as long as the code says "you may use as long as the copyright notice remains" and you post the whole thing with the copyright notice, it is legal to post the code, especially as it isn't embedded in an EZine. It's always safer to just post the link though. People like visitors to their site.. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Monday, November 03, 2003 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Running local file format yeah I've used this for a couple of years. Was going to just post the code, but Dev has a copy right notice. Stuart ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, November 03, 2003 10:41 PM Subject: Re: [AccessD] Running local file format > ...hey! ...nice find, works like a charm ...as it happens I have an > immediate use for this little honey ...thanks :) > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 5:26 AM > Subject: RE: [AccessD] Running local file format > > > > What you want is this: > > > > http://www.mvps.org/access/api/api0018.htm > > > > Regards > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Jim Lawrence (AccessD) > > > Sent: Monday, 03 November, 2003 3:47 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Running local file format > > > > > > > > > Hi All: > > > > > > This is a simple question I am sure but the life of me I can > > > not remember or > > > find the related code. (Advanced years and all) > > > > > > Can you set up Access to, under program control to > > > run/display any file that > > > the local computer recognizes, like a Word document, pdf > > > file, spreadsheet > > > or maybe a web page without writing specific code for each > > > type. I have > > > written procedures for Word Excel and Web pages but there > > > must be any easier > > > way than blocks of code for each extension. A browser web > > > page can do this > > > but can an Access program? > > > > > > Any suggestions would be greatly appreciated > > > > > > MTIA > > > Jim > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 3 11:00:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:00:36 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227487@main2.marlow.com> I agree. Even though a lot of this thread should have been posted to the Tech list, I think there has been really good information for Access folks, since one of the big issues with Access is network connectivity. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) It has nothing to do with "mine is bigger than yours". It has to do with him spreading false information as the truth. How would you respond if people were spreading misinformation about Access? --- Gustav Brock wrote: > Please, can't this never-ending "mine is bigger than > yours" be moved > to the techno list - or better: to the eternal > fields of bits? > > /gustav > > > > Maybe you need to learn what you are talking about > > before you give out false information. > > >> You are incorrect. > > > === message truncated === > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 11:03:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 12:03:20 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C6666@dibble.observatory.donnslaw.co.uk> Message-ID: GREAT policy! It should get more of this list signed up for the other lists especially the tech list. Good job moderators! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, November 03, 2003 11:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Nicely put. However by being the first person to post to this thread today, you fall foul of a new policy just agreed between myself and the other moderators. Don't take it personally... EVERYONE PLEASE NOTE: from now on we will be insisting that responses to questions which really belong on one of the other lists MUST be made on the appropriate list and not on AccessD. Initial requests for help can still be sent to AccessD, until it becomes clear that we have enough subscribers on the other lists to make it unneccessary, but all responses should be sent to the VB, SQL-Server or Tech list. We will be sending out an official email to that effect sometime soon. If you disagree with the policy please send a mail to ops-mod at databaseadvisors.com and we will consider your views. Thanks Roz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 03 November 2003 16:08 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Think of a subnet as a neighborhood. A network neighborhood. The subnet 'mask' is a property in TCP/IP, which tells your machine what IP addresses are around it. It's a bitmask thing. 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in the subnet mask, IP Addresses in that subnet must have a matching bit (either on or off....), if it's turned off in the subnet, that bit in the IP address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 machines. The reason this is important, is because subnets control how much broadcasting and browsing your machine must do, to locate other computers on the network. A subnet of 255.255.0.0 tells your computer there are 65k machines on the subnet, and more then likely you will never find anything, because it will eventually give up. 255.255.255.0 tells it there are 256 (255) computers on the subnet, which it should be able to find just fine. However, if you have a smaller network, a smaller subnet speeds up the 'searching'. That leads to what I was talking about earlier...the Gateway (router). When you tell a machine to go to 123.456.789.321, if that IP Address is not on the subnet, it doesn't even bother looking, it just sends the request to the gateway IP (router), so the router does the searching. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, October 31, 2003 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) O. What's a subnet? And where do I get one? And do I want one? Rocky From DWUTKA at marlow.com Mon Nov 3 11:04:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:04:44 -0600 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227489@main2.marlow.com> Use ADO. It will let you treat Excel just like any other recordset. Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, November 03, 2003 9:18 AM To: accessd Subject: [AccessD] Connecting To Excel via Code (module) To all, We are operating Office XP Professional and I have started to write a little scheduling application. Every so often we will have an Excel Workbook containing three spreadsheets, what I need to be able to do is link into the Workbook to bring a certain clients data in from the second sheet. The fields in the workbook are as follows: StoreNo, HolidayWeek, Sun, Mon, Tue, Wed, Thur, Fri, Sat StoreNo contain the store number and if there is a certain week that we cannot go to the store the week commencing date wil be entered under HolidayWeek. If there is a certain day or multiple days that we cannot go to the store, the individual dates will be stored under the day of the week. Now I have a tbale with the following fields : StoreNo, BlackoutWeek, BlackoutDay I need to link into Excel and bring the data in from the Excel spreadsheet into the table above. So I may end up with StoreNo BlackoutWeek BlackoutDay 1 27/01/04 1 28/01/04 1 04/01/04 etc, has anyone any sample code on how to link into the Excel spreadsheet an retrieve the data. Thanks in advance for any help. Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Nov 3 11:17:26 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Nov 2003 12:17:26 -0500 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7889@xlivmbx12.aig.com> Golly Gosh. That's such a great piece of example code > -----Original Message----- > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > Sent: Monday, November 03, 2003 12:05 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > Use ADO. It will let you treat Excel just like any other recordset. > > Drew > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Monday, November 03, 2003 9:18 AM > To: accessd > Subject: [AccessD] Connecting To Excel via Code (module) > > > To all, > We are operating Office XP Professional and I have started to write a > little > scheduling application. Every so often we will have an Excel Workbook > containing three spreadsheets, what I need to be able to do is link into > the > Workbook to bring a certain clients data in from the second sheet. > The fields in the workbook are as follows: > StoreNo, HolidayWeek, Sun, Mon, Tue, Wed, Thur, Fri, Sat > StoreNo contain the store number and if there is a certain week that we > cannot go to the store the week commencing date wil be entered under > HolidayWeek. If there is a certain day or multiple days that we cannot go > to the store, the individual dates will be stored under the day of the > week. > Now I have a tbale with the following fields : > StoreNo, BlackoutWeek, BlackoutDay > I need to link into Excel and bring the data in from the Excel spreadsheet > into the table above. > So I may end up with > StoreNo BlackoutWeek BlackoutDay > 1 27/01/04 > 1 28/01/04 > 1 04/01/04 > etc, has anyone any sample code on how to link into the Excel spreadsheet > an > retrieve the data. > Thanks in advance for any help. > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 11:19:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 3 Nov 2003 18:19:06 +0100 Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB In-Reply-To: <18619615.1067874816000.JavaMail.www@wwinf3002> References: <18619615.1067874816000.JavaMail.www@wwinf3002> Message-ID: <4733641233.20031103181906@cactus.dk> Hi Paul Just noticed this link. Don't know if it is relevant for your situation: http://dbforums.com/arch/105/2003/9/718793 /gustav > Date: 2003-11-03 16:53 > To all, > We have just had and error message up saying can't find MSysDb, we can't repair it or import tables from this database at all. Is there a way of restoring the database, to save us going to a > backup version ? > Please help as quickly as possible, thanks, > Paul Hartland From DWUTKA at marlow.com Mon Nov 3 11:35:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:35:55 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748B@main2.marlow.com> I never take it personally, I put up with JC, don't I! I have sent an email to the address you listed, as requested. I ask that others on the list do so also. The gist of my email was that networking topics are definitely related to Access. Many developers are pitted against IT pros who like to make db developers spin in circles. Though many topics certainly need homes on other lists, networking is definitely a skill that Access Developers should have under their belt. So if you have ever been corned by IT network folks, or have to develop and network, or even think you may find the knowledge of networking threads handy in future Access endeavors, please voice your opinions to the email address Roz provided. Not trying to rock the boat on this. I joined OT and Tech because I too wanted to cause less clutter to the lists, but I personally disagree with this topic being 'non-Access' related. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday, November 03, 2003 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Nicely put. However by being the first person to post to this thread today, you fall foul of a new policy just agreed between myself and the other moderators. Don't take it personally... EVERYONE PLEASE NOTE: from now on we will be insisting that responses to questions which really belong on one of the other lists MUST be made on the appropriate list and not on AccessD. Initial requests for help can still be sent to AccessD, until it becomes clear that we have enough subscribers on the other lists to make it unneccessary, but all responses should be sent to the VB, SQL-Server or Tech list. We will be sending out an official email to that effect sometime soon. If you disagree with the policy please send a mail to ops-mod at databaseadvisors.com and we will consider your views. Thanks Roz From wdhindman at bellsouth.net Mon Nov 3 11:37:18 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 12:37:18 -0500 Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB References: <18619615.1067874816000.JavaMail.www@wwinf3002> Message-ID: <013601c3a231$211271e0$6001a8c0@dejpolsys> Paul ...what Jet SP are you running ...this was a bug in SP5 and supposedly fixed in later versions ...if this is the problem, updating to the latest Jet should fix your problem ...good luck :) William Hindman - Next Year In The Free State! ----- Original Message ----- From: To: "accessd" Sent: Monday, November 03, 2003 10:53 AM Subject: [AccessD] OT Urgent Help Access - Can't Find MSYSDB > To all, > We have just had and error message up saying can't find MSysDb, we can't repair it or import tables from this database at all. Is there a way of restoring the database, to save us going to a backup version ? > Please help as quickly as possible, thanks, > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Nov 3 11:37:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:37:48 -0600 Subject: [AccessD] Networking Was:(OT: Wireless network (sort of)) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748C@main2.marlow.com> Hey, I just got buzzed. Not that I mind being buzzed, but with running on no sleep and having a long day ahead of me, I don't think my drive home would be safe if I got buzzed again! (Sorry Roz....I had to reply to this!) Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 03, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) DID YOU SAY BITMASK? Sounds denormalized to me! John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Mon Nov 3 11:40:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:40:39 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748D@main2.marlow.com> To tie this into an Access related (actually AccessD related) post, in my old place (one before the fire), I had my servers near the foot of my bed...and those things were NOISY. Of course, one of the fans was going out, so that didn't help! But now that they're in the closet, I can soundly sleep at night, and still host the archives! (Come on, give me points for trying to tie that in!) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, November 03, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Noisy computer dittos here: aka "My Bullpen" JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, November 03, 2003 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Noisy computer > > > I just put my servers in the closet. Don't care how noisy they > get. Can't > hear them! > > 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 Nov 3 11:42:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:42:35 -0600 Subject: [AccessD] Hourly Backups Of Access Data Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748E@main2.marlow.com> Ya, just import them into a new db. You should be able to import them without having to kick anyone out! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, November 03, 2003 11:00 AM To: accessd Subject: [AccessD] Hourly Backups Of Access Data To all, Is there anyway I can create a backup of all the tables in a database, without bringing all the users out of the database. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 3 11:53:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 11:53:44 -0600 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222748F@main2.marlow.com> Wasn't it. It was true air code.... How about: http://www.wolfwares.com/accessd/postinfo.asp?Post=42267 And http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=39892&lngWId=1 And http://www.wolfwares.com/accessd/postinfo.asp?Post=24221 Is that better? Sorry posted code before.... Need to clean up my data files, cause they're WAY too cluttered at the moment. Drew -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, November 03, 2003 11:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Connecting To Excel via Code (module) Golly Gosh. That's such a great piece of example code > -----Original Message----- > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > Sent: Monday, November 03, 2003 12:05 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > Use ADO. It will let you treat Excel just like any other recordset. > > Drew > From john at winhaven.net Mon Nov 3 12:08:18 2003 From: john at winhaven.net (John Bartow) Date: Mon, 3 Nov 2003 12:08:18 -0600 Subject: [AccessD] Hourly Backups Of Access Data In-Reply-To: <16207489.1067878802360.JavaMail.www@wwinf3002> Message-ID: Paul, I just looked at my backup routine but it won't work for you, uses CompactDatabase. Guess I should create a new one. (Thinking out loud here) how about: Create a routine to export all of the tables and data to a new DB. That shouldn't affect any of the users. Create a seperate routine that clears the tables and imports/appends it all back in just in case you need to restore the data. If that case arises it would probably mean the users can't get in anyway - otherwise you would have to kick them all out. This would alleviate worrying about relationships, etc. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > paul.hartland at fsmail.net > Sent: Monday, November 03, 2003 11:00 AM > To: accessd > Subject: [AccessD] Hourly Backups Of Access Data > > > To all, > Is there anyway I can create a backup of all the tables in a > database, without bringing all the users out of the database. > Paul > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From davide at dalyn.co.nz Mon Nov 3 12:14:50 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 04 Nov 2003 07:14:50 +1300 Subject: [AccessD] How to prevent a mess In-Reply-To: <20031103085642.1503239058.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031104071109.00b6b8f8@mail.dalyn.co.nz> Have you considered indirect synchronization. Basically the remote users have dropboxes set up on the server. They dial into the server and do their synchronization when they are ready. Check out the replication white papers etc for information. Here is a list of some resources for A97 (not sure if the links still work). Updated copies of most of them are available for A2K and A02 - Building Applications with Microsoft Access 97 Access 97 Developers Handbook (Litwin, Getz, Gilbert) Database Replication in Microsoft Jet (Tony Poll - Microsoft Replication White Paper) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q164553 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 Search for replication here http://msdn.microsoft.com/default.asp Microsoft Knowledgebase Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 At 3/11/2003, you wrote: >Dear Group, > >I've been enlightened by Michael Kaplan's explanation of the perils of >copying replicas and not going through a proper replication sequence with >CD copies back and forth. > >The question is: what now? The independent laptops are scattered around >the state and its *very* inconvenient for them to come back to do a >physical replication. Money to write a custom synchronization process is >simply not available. > >I note from Kaplan's explanations that if the replicas are unmanaged -- >that is, Synchronizer is not used -- then certain types of problems can be >avoided. Also problems can be avoided by using the built-in Access methods >for moving replicas or by using TSI Synchronizer. > >He also mentions using the Briefcase reconciler, but that doesn't exist in >Windows 2000 or XP, does it? > >I'm trying to avoid creating a mess. The application is in more or less a >beta stage now, so we could start from scratch with a new Replication >strategy. Any advice? > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >_______________________________________________ >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 Nov 3 12:18:41 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Nov 2003 10:18:41 -0800 Subject: [AccessD] OT: Wireless network (sort of) References: <2F8793082E00D4119A1700B0D0216BF802227480@main2.marlow.com> Message-ID: <016801c3a236$e8f85b70$6501a8c0@HAL9002> So I just did and IPCONFIG through the dos command and find my IP is 192.168.1.101 and the subnet is 255.255.255.0. So does my router think I might have as many as 256 machines (or addressable devices, I guess) connected to IP 192.168.1.101? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:08 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Think of a subnet as a neighborhood. A network neighborhood. The subnet > 'mask' is a property in TCP/IP, which tells your machine what IP addresses > are around it. It's a bitmask thing. > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that > 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in > the subnet mask, IP Addresses in that subnet must have a matching bit > (either on or off....), if it's turned off in the subnet, that bit in the IP > address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 > machines. > > The reason this is important, is because subnets control how much > broadcasting and browsing your machine must do, to locate other computers on > the network. A subnet of 255.255.0.0 tells your computer there are 65k > machines on the subnet, and more then likely you will never find anything, > because it will eventually give up. 255.255.255.0 tells it there are 256 > (255) computers on the subnet, which it should be able to find just fine. > However, if you have a smaller network, a smaller subnet speeds up the > 'searching'. > > That leads to what I was talking about earlier...the Gateway (router). When > you tell a machine to go to 123.456.789.321, if that IP Address is not on > the subnet, it doesn't even bother looking, it just sends the request to the > gateway IP (router), so the router does the searching. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 6:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > O. What's a subnet? And where do I get one? And do I want one? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 31, 2003 9:20 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Yes, a switch is used to connect computers on the same subnet. A router > is > > used to connect subnets together. A router is usually also a switch, so > it > > can connect computers on the same subnet, AND connect one subnet to > another. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 9:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > Is there a difference between a switch and a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 31, 2003 6:54 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > I recommend "hardwiring" the IP address of any device > > > or server connected to your LAN that's not a > > > workstation and is virtually always on. > > > > > > For the price, I would also highly recommend removing > > > all hubs from your network and using them as > > > doorstops. Switches have come way down in price and > > > have many benifits over hubs. > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > you have an 8-port 10-BaseT hub, all ports that are > > > processing data split that 10Mbit. A switch, each > > > port gets the fill bandwidth. > > > > > > That's not including the security issues inherent with > > > hubs as they broadcast all available data to all > > > available ports rather than to the proper destination > > > port. > > > > > > --- John Colby wrote: > > > > Yes, you can indeed daisy chain routers and > > > > SUPPOSEDLY hubs, though I had no > > > > joy doing that with my old hub. I am however daisy > > > > chaining my old 4 port > > > > router off of my new 4 port wireless router. The > > > > newer models even figure > > > > out what kind of cable you are using, crossover or > > > > regular. The biggest > > > > issue there was that the router was the dhcp server > > > > so I had to turn off the > > > > old as a dhcp server and turn on the new. I also > > > > hardwired the address of > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > port routers isn't a > > > > panacea however since you now end up using two ports > > > > just for the daisy > > > > chain and have 6 left. In my case though I also > > > > have a wireless so I can > > > > get my laptop in through that and could also get > > > > other computers in if > > > > needed. > > > > > > > > I have an old model I TIVO which I modded to use the > > > > internet to "call in" > > > > for programming. I had to snake a cable down the > > > > wall from the living room > > > > (luckily exactly over my office in the basement). I > > > > understand that the > > > > model II has USB ports that can automatically use > > > > the USB wireless cards to > > > > connect to the internet. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > Behalf Of Rocky Smolin - > > > > Beach Access Software > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > of) > > > > > > > > > > > > John: > > > > > > > > I heard that you can daisy chain hubs off one of the > > > > ports on your router to > > > > get more ports and that you can go up to 255 devices > > > > from one router this > > > > way. Seems to easy and cheap, though. > > > > > > > > I've also found that when creating a new network it > > > > sometimes takes a few > > > > minutes for the different shared devices to 'see' > > > > each other - especially on > > > > the wireless. So I'll whang around frustrated > > > > trying to get the network to > > > > work and then have the same experience you had - > > > > after a few minutes, > > > > suddenly the other machines are in my network > > > > neighborhood. Go figure. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John Colby" > > > > To: "Database Advisors Inc. (Tech)" > > > > ; > > > > "AccessD" > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > couple of weeks ago. I > > > > needed > > > > > to expand my 4 port router (I had 5 things I kept > > > > needing to plug in) and > > > > > the Netgear was on sale at www.Newegg.com at the > > > > time. I then tried and > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > around, so I ordered a > > > > > dlink dwl-650 that was on sale (rebate) at > > > > www.newegg.com. Long story > > > > > short, it didn't work. Long story a little > > > > longer, a very long call to > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > anything out, they > > > > recommended > > > > > that I upgrade my laptop bios. It's an ancient > > > > (now) 233mhz PII Toshiba > > > > > Satellite 4000 that I bought with my first > > > > paycheck from my trip to work > > > > for > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > November 1997? Getting a > > > > bit > > > > > long in the tooth, truth be told. > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > before installing etc. > > > > And > > > > > "oh by the way, our card requires at least a 300 > > > > mhz processor. So I > > > > > uninstalled, upgraded to the latest bios (May > > > > 2000?), turned off NAV, > > > > > reinstalled the drivers and re-installed the card. > > > > Still no joy. The > > > > site > > > > > survey showed no transmitters, and dlink tech > > > > support assured me that if > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > Ignorant liars! > > > > > > > > > > Went back in and reconfigured the card in the > > > > laptop for channel 11 (it > > > > > defaulted to 3 and the router was on 11), played > > > > around with a couple of > > > > > other things and boom, I see a transmitter. Went > > > > in to the router config > > > > > page and changed the SSID and sure enough the > > > > thing I'm seeing on the > > > > laptop > > > > > changes to match! Still no connection though. > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > clear idea why) I have > > > > a > > > > > wireless connection, can browse my network and see > > > > the web. Yeaaaaa. > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > play around, don't quit, > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > Now, I need to know what to do to tighten this > > > > thing up so that others > > > > can't > > > > > see my network. I'm a bit afraid to touch > > > > anything since I don't really > > > > > know what I did to finally get it running. > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 12:19:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Nov 2003 10:19:25 -0800 Subject: [AccessD] OT: Wireless network (sort of) References: <61F915314798D311A2F800A0C9C83188047C6666@dibble.observatory.donnslaw.co.uk> Message-ID: <016e01c3a237$0342db40$6501a8c0@HAL9002> Aw Roz can't we finish this one here? I'm not subscribed to Tech. Rocky ----- Original Message ----- From: "Roz Clarke" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:24 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Nicely put. However by being the first person to post to this > thread today, you fall foul of a new policy just agreed between myself and > the other moderators. Don't take it personally... > > EVERYONE PLEASE NOTE: from now on we will be insisting that responses to > questions which really belong on one of the other lists MUST be made on the > appropriate list and not on AccessD. > > Initial requests for help can still be sent to AccessD, until it becomes > clear that we have enough subscribers on the other lists to make it > unneccessary, but all responses should be sent to the VB, SQL-Server or Tech > list. > > We will be sending out an official email to that effect sometime soon. > > If you disagree with the policy please send a mail to > ops-mod at databaseadvisors.com and we will consider your views. > > Thanks > > Roz > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: 03 November 2003 16:08 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > Think of a subnet as a neighborhood. A network neighborhood. The subnet > 'mask' is a property in TCP/IP, which tells your machine what IP addresses > are around it. It's a bitmask thing. > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that > 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in > the subnet mask, IP Addresses in that subnet must have a matching bit > (either on or off....), if it's turned off in the subnet, that bit in the IP > address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 > machines. > > The reason this is important, is because subnets control how much > broadcasting and browsing your machine must do, to locate other computers on > the network. A subnet of 255.255.0.0 tells your computer there are 65k > machines on the subnet, and more then likely you will never find anything, > because it will eventually give up. 255.255.255.0 tells it there are 256 > (255) computers on the subnet, which it should be able to find just fine. > However, if you have a smaller network, a smaller subnet speeds up the > 'searching'. > > That leads to what I was talking about earlier...the Gateway (router). When > you tell a machine to go to 123.456.789.321, if that IP Address is not on > the subnet, it doesn't even bother looking, it just sends the request to the > gateway IP (router), so the router does the searching. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 6:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > O. What's a subnet? And where do I get one? And do I want one? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 31, 2003 9:20 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Yes, a switch is used to connect computers on the same subnet. A > > router > is > > used to connect subnets together. A router is usually also a switch, > > so > it > > can connect computers on the same subnet, AND connect one subnet to > another. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 9:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > Is there a difference between a switch and a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 31, 2003 6:54 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > I recommend "hardwiring" the IP address of any device > > > or server connected to your LAN that's not a > > > workstation and is virtually always on. > > > > > > For the price, I would also highly recommend removing > > > all hubs from your network and using them as > > > doorstops. Switches have come way down in price and > > > have many benifits over hubs. > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > you have an 8-port 10-BaseT hub, all ports that are processing data > > > split that 10Mbit. A switch, each port gets the fill bandwidth. > > > > > > That's not including the security issues inherent with > > > hubs as they broadcast all available data to all > > > available ports rather than to the proper destination > > > port. > > > > > > --- John Colby wrote: > > > > Yes, you can indeed daisy chain routers and > > > > SUPPOSEDLY hubs, though I had no > > > > joy doing that with my old hub. I am however daisy chaining my > > > > old 4 port router off of my new 4 port wireless router. The > > > > newer models even figure > > > > out what kind of cable you are using, crossover or > > > > regular. The biggest > > > > issue there was that the router was the dhcp server > > > > so I had to turn off the > > > > old as a dhcp server and turn on the new. I also > > > > hardwired the address of > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > port routers isn't a > > > > panacea however since you now end up using two ports > > > > just for the daisy > > > > chain and have 6 left. In my case though I also > > > > have a wireless so I can > > > > get my laptop in through that and could also get > > > > other computers in if > > > > needed. > > > > > > > > I have an old model I TIVO which I modded to use the internet to > > > > "call in" for programming. I had to snake a cable down the > > > > wall from the living room > > > > (luckily exactly over my office in the basement). I > > > > understand that the > > > > model II has USB ports that can automatically use > > > > the USB wireless cards to > > > > connect to the internet. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > Behalf Of Rocky Smolin - > > > > Beach Access Software > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > of) > > > > > > > > > > > > John: > > > > > > > > I heard that you can daisy chain hubs off one of the ports on your > > > > router to get more ports and that you can go up to 255 devices > > > > from one router this > > > > way. Seems to easy and cheap, though. > > > > > > > > I've also found that when creating a new network it sometimes > > > > takes a few minutes for the different shared devices to 'see' > > > > each other - especially on > > > > the wireless. So I'll whang around frustrated > > > > trying to get the network to > > > > work and then have the same experience you had - > > > > after a few minutes, > > > > suddenly the other machines are in my network > > > > neighborhood. Go figure. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John Colby" > > > > To: "Database Advisors Inc. (Tech)" > > > > ; "AccessD" > > > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > couple of weeks ago. I > > > > needed > > > > > to expand my 4 port router (I had 5 things I kept > > > > needing to plug in) and > > > > > the Netgear was on sale at www.Newegg.com at the > > > > time. I then tried and > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > around, so I ordered a > > > > > dlink dwl-650 that was on sale (rebate) at > > > > www.newegg.com. Long story > > > > > short, it didn't work. Long story a little > > > > longer, a very long call to > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > anything out, they > > > > recommended > > > > > that I upgrade my laptop bios. It's an ancient > > > > (now) 233mhz PII Toshiba > > > > > Satellite 4000 that I bought with my first > > > > paycheck from my trip to work > > > > for > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > November 1997? Getting a > > > > bit > > > > > long in the tooth, truth be told. > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > before installing etc. > > > > And > > > > > "oh by the way, our card requires at least a 300 > > > > mhz processor. So I > > > > > uninstalled, upgraded to the latest bios (May > > > > 2000?), turned off NAV, > > > > > reinstalled the drivers and re-installed the card. > > > > Still no joy. The > > > > site > > > > > survey showed no transmitters, and dlink tech > > > > support assured me that if > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > Ignorant liars! > > > > > > > > > > Went back in and reconfigured the card in the > > > > laptop for channel 11 (it > > > > > defaulted to 3 and the router was on 11), played > > > > around with a couple of > > > > > other things and boom, I see a transmitter. Went > > > > in to the router config > > > > > page and changed the SSID and sure enough the > > > > thing I'm seeing on the > > > > laptop > > > > > changes to match! Still no connection though. > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > clear idea why) I have > > > > a > > > > > wireless connection, can browse my network and see > > > > the web. Yeaaaaa. > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > play around, don't quit, > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > Now, I need to know what to do to tighten this > > > > thing up so that others > > > > can't > > > > > see my network. I'm a bit afraid to touch > > > > anything since I don't really > > > > > know what I did to finally get it running. > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 12:27:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 3 Nov 2003 13:27:43 -0500 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <20031103182743.ZTSM2344.tomts8-srv.bellnexxia.net@[209.226.175.20]> > From: "Rocky Smolin - Beach Access Software" > Aw Roz can't we finish this one here? I'm not subscribed to Tech. Just so that you don't think Roz is the bad guy... Nope. This thread, on AccessD is..... Done. Finished. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! From jcolby at colbyconsulting.com Mon Nov 3 12:33:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 3 Nov 2003 13:33:22 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <20031103182743.ZTSM2344.tomts8-srv.bellnexxia.net@[209.226.175.20]> Message-ID: Kaputz John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Monday, November 03, 2003 1:28 PM To: Access Developers discussion and problem solving Subject: Re: Re: [AccessD] OT: Wireless network (sort of) > From: "Rocky Smolin - Beach Access Software" > Aw Roz can't we finish this one here? I'm not subscribed to Tech. Just so that you don't think Roz is the bad guy... Nope. This thread, on AccessD is..... Done. Finished. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Nov 3 12:41:09 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 3 Nov 2003 13:41:09 -0500 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227486@main2.marlow.com> Message-ID: Drew/Erwin, One minor correction. Switches don't use NAT tables. They use MAC Address lists and ARP tables. NAT is something done only in a router. 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 Drew Wutka Sent: Monday, November 03, 2003 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Read Erwins post a little while ago, was waiting for your's before I replied! Erwin, switches also use NAT tables. Because of this, they don't have to broadcast everything in all directions. They're 'smart', when a packet comes in, they can properly direct it. The downside to the NAT tables is that if you blow the NAT table away, it has to be rebuilt, so sometimes on an initial powerup, a switch may seem slower, which is simply the time it is using to build the NAT tables. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 8:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Nov 3 12:46:29 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Nov 2003 13:46:29 -0500 Subject: [AccessD] Connecting To Excel via Code (module) Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD788A@xlivmbx12.aig.com> Much better! :-) Lambert > -----Original Message----- > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > Sent: Monday, November 03, 2003 12:54 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > Wasn't it. It was true air code.... > > How about: http://www.wolfwares.com/accessd/postinfo.asp?Post=42267 > > And > > http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=39892&lngWId > =1 > > And > > http://www.wolfwares.com/accessd/postinfo.asp?Post=24221 > > Is that better? Sorry posted code before.... Need to clean up my > data > files, cause they're WAY too cluttered at the moment. > > Drew > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Monday, November 03, 2003 11:17 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > > Golly Gosh. That's such a great piece of example code > > > -----Original Message----- > > From: Drew Wutka [SMTP:DWUTKA at marlow.com] > > Sent: Monday, November 03, 2003 12:05 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Connecting To Excel via Code (module) > > > > Use ADO. It will let you treat Excel just like any other recordset. > > > > Drew > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 3 12:59:09 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 3 Nov 2003 18:59:09 -0000 Subject: [AccessD] OT: Wireless network (sort of) In-Reply-To: <016e01c3a237$0342db40$6501a8c0@HAL9002> Message-ID: <006f01c3a23c$906e6fc0$b274d0d5@minster33c3r25> Rocky Then please do sub to dba-tech. The more the better. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 03 November 2003 18:19 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > Aw Roz can't we finish this one here? I'm not subscribed to Tech. > > Rocky > > ----- Original Message ----- > From: "Roz Clarke" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 8:24 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Nicely put. However by being the first person to post to > > this thread today, you fall foul of a new policy just > agreed between > > myself and the other moderators. Don't take it personally... > > > > EVERYONE PLEASE NOTE: from now on we will be insisting that > responses > > to questions which really belong on one of the other lists MUST be > > made on > the > > appropriate list and not on AccessD. > > > > Initial requests for help can still be sent to AccessD, until it > > becomes clear that we have enough subscribers on the other lists to > > make it unneccessary, but all responses should be sent to the VB, > > SQL-Server or > Tech > > list. > > > > We will be sending out an official email to that effect > sometime soon. > > > > If you disagree with the policy please send a mail to > > ops-mod at databaseadvisors.com and we will consider your views. > > > > Thanks > > > > Roz > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: 03 November 2003 16:08 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > Think of a subnet as a neighborhood. A network neighborhood. The > > subnet 'mask' is a property in TCP/IP, which tells your > machine what > > IP addresses are around it. It's a bitmask thing. > > > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine > > that 192.168.0.1 through 192.168.0.255 are around it. If > the bit is > > turned on > in > > the subnet mask, IP Addresses in that subnet must have a > matching bit > > (either on or off....), if it's turned off in the subnet, > that bit in > > the > IP > > address can be different. So 255.255.255.254 for a subnet, is a > > subnet of > 2 > > machines. > > > > The reason this is important, is because subnets control how much > > broadcasting and browsing your machine must do, to locate other > > computers > on > > the network. A subnet of 255.255.0.0 tells your computer there are > > 65k machines on the subnet, and more then likely you will > never find > > anything, because it will eventually give up. > 255.255.255.0 tells it > > there are 256 > > (255) computers on the subnet, which it should be able to > find just fine. > > However, if you have a smaller network, a smaller subnet > speeds up the > > 'searching'. > > > > That leads to what I was talking about earlier...the > Gateway (router). > When > > you tell a machine to go to 123.456.789.321, if that IP > Address is not > > on the subnet, it doesn't even bother looking, it just sends the > > request to > the > > gateway IP (router), so the router does the searching. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 6:53 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > O. What's a subnet? And where do I get one? And do I want one? > > > > Rocky > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Friday, October 31, 2003 9:20 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > Yes, a switch is used to connect computers on the same subnet. A > > > router > > is > > > used to connect subnets together. A router is usually also a > > > switch, so > > it > > > can connect computers on the same subnet, AND connect one > subnet to > > another. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [mailto:bchacc at san.rr.com] > > > Sent: Friday, October 31, 2003 9:20 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > > > > Is there a difference between a switch and a router? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > I recommend "hardwiring" the IP address of any device > > > > or server connected to your LAN that's not a > > > > workstation and is virtually always on. > > > > > > > > For the price, I would also highly recommend removing > > > > all hubs from your network and using them as > > > > doorstops. Switches have come way down in price and > > > > have many benifits over hubs. > > > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > > you have an 8-port 10-BaseT hub, all ports that are processing > > > > data split that 10Mbit. A switch, each port gets the fill > > > > bandwidth. > > > > > > > > That's not including the security issues inherent with hubs as > > > > they broadcast all available data to all available ports rather > > > > than to the proper destination port. > > > > > > > > --- John Colby wrote: > > > > > Yes, you can indeed daisy chain routers and > > > > > SUPPOSEDLY hubs, though I had no > > > > > joy doing that with my old hub. I am however daisy > chaining my > > > > > old 4 port router off of my new 4 port wireless router. The > > > > > newer models even figure out what kind of cable you > are using, > > > > > crossover or regular. The biggest > > > > > issue there was that the router was the dhcp server > > > > > so I had to turn off the > > > > > old as a dhcp server and turn on the new. I also > > > > > hardwired the address of > > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > > port routers isn't a > > > > > panacea however since you now end up using two ports > > > > > just for the daisy > > > > > chain and have 6 left. In my case though I also > > > > > have a wireless so I can > > > > > get my laptop in through that and could also get > > > > > other computers in if > > > > > needed. > > > > > > > > > > I have an old model I TIVO which I modded to use the > internet to > > > > > "call in" for programming. I had to snake a cable > down the wall > > > > > from the living room (luckily exactly over my office in the > > > > > basement). I understand that the > > > > > model II has USB ports that can automatically use > > > > > the USB wireless cards to > > > > > connect to the internet. > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > > Behalf Of Rocky Smolin - > > > > > Beach Access Software > > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > > of) > > > > > > > > > > > > > > > John: > > > > > > > > > > I heard that you can daisy chain hubs off one of the ports on > > > > > your router to get more ports and that you can go up to 255 > > > > > devices from one router this way. Seems to easy and cheap, > > > > > though. > > > > > > > > > > I've also found that when creating a new network it sometimes > > > > > takes a few minutes for the different shared devices to 'see' > > > > > each other - especially on the wireless. So I'll > whang around > > > > > frustrated trying to get the network to > > > > > work and then have the same experience you had - > > > > > after a few minutes, > > > > > suddenly the other machines are in my network > > > > > neighborhood. Go figure. > > > > > > > > > > Rocky > > > > > > > > > > ----- Original Message ----- > > > > > From: "John Colby" > > > > > To: "Database Advisors Inc. (Tech)" > > > > > ; "AccessD" > > > > > > > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > > couple of weeks ago. I > > > > > needed > > > > > > to expand my 4 port router (I had 5 things I kept > > > > > needing to plug in) and > > > > > > the Netgear was on sale at www.Newegg.com at the > > > > > time. I then tried and > > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > > around, so I ordered a > > > > > > dlink dwl-650 that was on sale (rebate) at > > > > > www.newegg.com. Long story > > > > > > short, it didn't work. Long story a little > > > > > longer, a very long call to > > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > > anything out, they > > > > > recommended > > > > > > that I upgrade my laptop bios. It's an ancient > > > > > (now) 233mhz PII Toshiba > > > > > > Satellite 4000 that I bought with my first > > > > > paycheck from my trip to work > > > > > for > > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > > November 1997? Getting a > > > > > bit > > > > > > long in the tooth, truth be told. > > > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > > before installing etc. > > > > > And > > > > > > "oh by the way, our card requires at least a 300 > > > > > mhz processor. So I > > > > > > uninstalled, upgraded to the latest bios (May > > > > > 2000?), turned off NAV, > > > > > > reinstalled the drivers and re-installed the card. > > > > > Still no joy. The > > > > > site > > > > > > survey showed no transmitters, and dlink tech > > > > > support assured me that if > > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > > > Ignorant liars! > > > > > > > > > > > > Went back in and reconfigured the card in the > > > > > laptop for channel 11 (it > > > > > > defaulted to 3 and the router was on 11), played > > > > > around with a couple of > > > > > > other things and boom, I see a transmitter. Went > > > > > in to the router config > > > > > > page and changed the SSID and sure enough the > > > > > thing I'm seeing on the > > > > > laptop > > > > > > changes to match! Still no connection though. > > > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > > clear idea why) I have > > > > > a > > > > > > wireless connection, can browse my network and see > > > > > the web. Yeaaaaa. > > > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > > play around, don't quit, > > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > > > Now, I need to know what to do to tighten this > > > > > thing up so that others > > > > > can't > > > > > > see my network. I'm a bit afraid to touch > > > > > anything since I don't really > > > > > > know what I did to finally get it running. > > > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > > > John W. Colby > > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 serbach at new.rr.com Mon Nov 3 13:05:14 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 13:05:14 -0600 Subject: [AccessD] How to prevent a mess Message-ID: <20031103130514.159175744.serbach@new.rr.com> David, Thanks very much for the reply. I might try indirect synchronization if my client had a server. He has Windows networking set up in his office...just peer-to-peer, no server of any kind. I've looked through the documentation for Replication on MSDN already. It hasn't been very helpful to me. There just seems to be a dearth of information that is instructional or analytical rather than feature-oriented, like the MSDN site. Just to fill in some blanks, my client has Windows XP workstations at his office with Windows networking. There are a half dozen people with laptops that roam around the state that do data entry in my new application. This data needs to be merged with the master database at the home office periodically...there's no need for immediate updates. That's why I thought I could send CDs back and forth. The data that's entered includes GIF photographs stored in one of the Access tables...thus, the amount of data being replicated could be substantial. I don't want to make a mess out of things, that's for sure...but I'm at a loss to come up with a workable plan for my client's situation. I'm going to look at Kaplan's replication tool to see if that might help. I don't suppose there's a chance that the Access database could be moved to a web server on a web host and have replication performed in some fashion? Regards, Steve Erbach Scientific Marketing Neenah, WI From andy at minstersystems.co.uk Mon Nov 3 13:11:17 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 3 Nov 2003 19:11:17 -0000 Subject: [AccessD] Powerpoint question In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD788A@xlivmbx12.aig.com> Message-ID: <007101c3a23e$42215a60$b274d0d5@minster33c3r25> This is first trial of new policy. I'm cross-posting to AccesD and the Tech list but please reply ONLY to the the tech list as this is no way Access-related - I just need guidance. Are there any Powerpoint experts out there? If so can someone tell me what, if any, are the main pros and cons of the Office 97, 2000 and XP versions of Powerpoint? And which is the best, and why? I've read the MS docs on this but am interested in "real" experience. Thanks in advance for any help. And if you're not yet on the tech list you can subscribe via http://databaseadvisors.com/mailman/listinfo/dba-tech Andy Lacey http://www.minstersystems.co.uk From DWUTKA at marlow.com Mon Nov 3 13:18:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 13:18:31 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227493@main2.marlow.com> Yes and no. When you give it a name, let's say a a UNC path, like \\SomeServer\SomeShare. The first thing it is going to do, is resolve 'SomeServer' to an IP Address. It does this in many ways, one of which is computer browsing. Computer browsing is a 'sloppy' (I say this with respect though, because I'm sure it wasn't easy to create), method of 'learning' the LAN. If you have a subnet of 255.255.255.0, you machine thinks there is a POSSIBILITY of 256 IP Addresses on it's subnet, so it will initially try to 'find' everything. (Actually it looks for a Master Browser....it gets detailed on what it does). The point is, you want a subnet big enough to handle the number of computers you want to group together, yet small enough to prevent massive browsing. Ooops, just re-read your question. You're router doesn't think that, your computer does. If your router is acting as the DHCP server, it will actually 'know' how many computers are out there, since it's handing out the IP Addresses. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, November 03, 2003 12:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wireless network (sort of) So I just did and IPCONFIG through the dos command and find my IP is 192.168.1.101 and the subnet is 255.255.255.0. So does my router think I might have as many as 256 machines (or addressable devices, I guess) connected to IP 192.168.1.101? Rocky ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:08 AM Subject: RE: [AccessD] OT: Wireless network (sort of) > Think of a subnet as a neighborhood. A network neighborhood. The subnet > 'mask' is a property in TCP/IP, which tells your machine what IP addresses > are around it. It's a bitmask thing. > > 192.168.0.1, with a subnet mask of 255.255.255.0 tells the machine that > 192.168.0.1 through 192.168.0.255 are around it. If the bit is turned on in > the subnet mask, IP Addresses in that subnet must have a matching bit > (either on or off....), if it's turned off in the subnet, that bit in the IP > address can be different. So 255.255.255.254 for a subnet, is a subnet of 2 > machines. > > The reason this is important, is because subnets control how much > broadcasting and browsing your machine must do, to locate other computers on > the network. A subnet of 255.255.0.0 tells your computer there are 65k > machines on the subnet, and more then likely you will never find anything, > because it will eventually give up. 255.255.255.0 tells it there are 256 > (255) computers on the subnet, which it should be able to find just fine. > However, if you have a smaller network, a smaller subnet speeds up the > 'searching'. > > That leads to what I was talking about earlier...the Gateway (router). When > you tell a machine to go to 123.456.789.321, if that IP Address is not on > the subnet, it doesn't even bother looking, it just sends the request to the > gateway IP (router), so the router does the searching. > > Drew > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, October 31, 2003 6:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > O. What's a subnet? And where do I get one? And do I want one? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 31, 2003 9:20 AM > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > Yes, a switch is used to connect computers on the same subnet. A router > is > > used to connect subnets together. A router is usually also a switch, so > it > > can connect computers on the same subnet, AND connect one subnet to > another. > > > > Drew > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, October 31, 2003 9:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Wireless network (sort of) > > > > > > Is there a difference between a switch and a router? > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 31, 2003 6:54 AM > > Subject: RE: [AccessD] OT: Wireless network (sort of) > > > > > > > I recommend "hardwiring" the IP address of any device > > > or server connected to your LAN that's not a > > > workstation and is virtually always on. > > > > > > For the price, I would also highly recommend removing > > > all hubs from your network and using them as > > > doorstops. Switches have come way down in price and > > > have many benifits over hubs. > > > > > > Hubs divide the bandwidth across all ports. Thus if > > > you have an 8-port 10-BaseT hub, all ports that are > > > processing data split that 10Mbit. A switch, each > > > port gets the fill bandwidth. > > > > > > That's not including the security issues inherent with > > > hubs as they broadcast all available data to all > > > available ports rather than to the proper destination > > > port. > > > > > > --- John Colby wrote: > > > > Yes, you can indeed daisy chain routers and > > > > SUPPOSEDLY hubs, though I had no > > > > joy doing that with my old hub. I am however daisy > > > > chaining my old 4 port > > > > router off of my new 4 port wireless router. The > > > > newer models even figure > > > > out what kind of cable you are using, crossover or > > > > regular. The biggest > > > > issue there was that the router was the dhcp server > > > > so I had to turn off the > > > > old as a dhcp server and turn on the new. I also > > > > hardwired the address of > > > > the old router to 192.168.1.2. Daisy Chaining two 4 > > > > port routers isn't a > > > > panacea however since you now end up using two ports > > > > just for the daisy > > > > chain and have 6 left. In my case though I also > > > > have a wireless so I can > > > > get my laptop in through that and could also get > > > > other computers in if > > > > needed. > > > > > > > > I have an old model I TIVO which I modded to use the > > > > internet to "call in" > > > > for programming. I had to snake a cable down the > > > > wall from the living room > > > > (luckily exactly over my office in the basement). I > > > > understand that the > > > > model II has USB ports that can automatically use > > > > the USB wireless cards to > > > > connect to the internet. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On > > > > Behalf Of Rocky Smolin - > > > > Beach Access Software > > > > Sent: Friday, October 31, 2003 8:33 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] OT: Wireless network (sort > > > > of) > > > > > > > > > > > > John: > > > > > > > > I heard that you can daisy chain hubs off one of the > > > > ports on your router to > > > > get more ports and that you can go up to 255 devices > > > > from one router this > > > > way. Seems to easy and cheap, though. > > > > > > > > I've also found that when creating a new network it > > > > sometimes takes a few > > > > minutes for the different shared devices to 'see' > > > > each other - especially on > > > > the wireless. So I'll whang around frustrated > > > > trying to get the network to > > > > work and then have the same experience you had - > > > > after a few minutes, > > > > suddenly the other machines are in my network > > > > neighborhood. Go figure. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John Colby" > > > > To: "Database Advisors Inc. (Tech)" > > > > ; > > > > "AccessD" > > > > Sent: Thursday, October 30, 2003 5:39 PM > > > > Subject: [AccessD] OT: Wireless network (sort of) > > > > > > > > > > > > > I ordered a Netgear MR814v2 Wireless router a > > > > couple of weeks ago. I > > > > needed > > > > > to expand my 4 port router (I had 5 things I kept > > > > needing to plug in) and > > > > > the Netgear was on sale at www.Newegg.com at the > > > > time. I then tried and > > > > > failed to install a linksys WPC11v2.5 I had laying > > > > around, so I ordered a > > > > > dlink dwl-650 that was on sale (rebate) at > > > > www.newegg.com. Long story > > > > > short, it didn't work. Long story a little > > > > longer, a very long call to > > > > > dlink tech support, did not solve the problem. > > > > > > > > > > Or maaaaaybe it did. After failing to figure > > > > anything out, they > > > > recommended > > > > > that I upgrade my laptop bios. It's an ancient > > > > (now) 233mhz PII Toshiba > > > > > Satellite 4000 that I bought with my first > > > > paycheck from my trip to work > > > > for > > > > > Mr. Breen in Dublin Ireland back in hmmm..... > > > > November 1997? Getting a > > > > bit > > > > > long in the tooth, truth be told. > > > > > > > > > > The bios upgrade and also the old "turn off NAV > > > > before installing etc. > > > > And > > > > > "oh by the way, our card requires at least a 300 > > > > mhz processor. So I > > > > > uninstalled, upgraded to the latest bios (May > > > > 2000?), turned off NAV, > > > > > reinstalled the drivers and re-installed the card. > > > > Still no joy. The > > > > site > > > > > survey showed no transmitters, and dlink tech > > > > support assured me that if > > > > > there was a transmitter I would see it regardless. > > > > > > > > > > Ignorant liars! > > > > > > > > > > Went back in and reconfigured the card in the > > > > laptop for channel 11 (it > > > > > defaulted to 3 and the router was on 11), played > > > > around with a couple of > > > > > other things and boom, I see a transmitter. Went > > > > in to the router config > > > > > page and changed the SSID and sure enough the > > > > thing I'm seeing on the > > > > laptop > > > > > changes to match! Still no connection though. > > > > > > > > > > Rebooted, played around some more and suddenly (no > > > > clear idea why) I have > > > > a > > > > > wireless connection, can browse my network and see > > > > the web. Yeaaaaa. > > > > > > > > > > Moral of the story, tech support generally sucks, > > > > play around, don't quit, > > > > > and eventually the gods will reward you. Or not. > > > > > > > > > > Now, I need to know what to do to tighten this > > > > thing up so that others > > > > can't > > > > > see my network. I'm a bit afraid to touch > > > > anything since I don't really > > > > > know what I did to finally get it running. > > > > > > > > > > Can anyone walk me through tightening this up? > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 3 13:19:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 13:19:25 -0600 Subject: [AccessD] OT: Wireless network (sort of) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227494@main2.marlow.com> Ack, need sleep....you're right. Too many TLA's at the moment. Drew -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, November 03, 2003 12:41 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) Drew/Erwin, One minor correction. Switches don't use NAT tables. They use MAC Address lists and ARP tables. NAT is something done only in a router. 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 Drew Wutka Sent: Monday, November 03, 2003 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Wireless network (sort of) Read Erwins post a little while ago, was waiting for your's before I replied! Erwin, switches also use NAT tables. Because of this, they don't have to broadcast everything in all directions. They're 'smart', when a packet comes in, they can properly direct it. The downside to the NAT tables is that if you blow the NAT table away, it has to be rebuilt, so sometimes on an initial powerup, a switch may seem slower, which is simply the time it is using to build the NAT tables. Drew -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Sunday, November 02, 2003 8:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Wireless network (sort of) And they improve speed. Because they do not SHARE the bandwidth amongst the ports. A 10-BaseT hub SHARES that speed amongst the available ports. This dividing the individual bandwidth per port. A switch allocates all available bandwidth on a PER PORT basis. Maybe you need to learn what you are talking about before you give out false information. --- Erwin Craps wrote: > And to be correct, switches don't improve speed > (compared to hub's) they > improve bandwith and reduce collisions!!! > Switches create virtual point to point connections. > > Switches do improve speed compared to routers. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens > Frank Tanner III > Verzonden: zaterdag 1 november 2003 16:23 > Aan: Access Developers discussion and problem > solving > Onderwerp: RE: [AccessD] OT: Wireless network (sort > of) > > > Switches will ALWAYS improve your speed over hubs. > Period. > > Hubs SHARE the same bandwidth on all ports. > Switches > allocate the max bandwidth per port. > > You are incorrect. > > --- Erwin Craps wrote: > > But switches have no sense in a 1 server > environment > > because all of the > > trafic goes and comes from one point. > > Unless your clients are 100Mb and the uplink to > the > > server is 1Gb. > > > > People often believe switches will improve their > > network speed, but that > > is not always the case. > > But indeed the prices of the switches have dropped > > that you buy a switch > > at the price of a good hub these days. > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Rocky Smolin > > - Beach Access Software > > Sent: Saturday, November 01, 2003 1:55 AM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > Got it. I think. Switch can route packet based on > > IP address but can't > > generate an IP address. Yes? > > > > Rocky > > > > > > Rocky > > > > ----- Original Message ----- > > From: "Frank Tanner III" > > > To: "Access Developers discussion and problem > > solving" > > > > Sent: Friday, October 31, 2003 10:29 AM > > Subject: Re: [AccessD] OT: Wireless network (sort > > of) > > > > > > > It is sort of half-way, but not really. > > > > > > Switches are a "generation" better. Hubs and > > > switches, on their most basic level perform the > > same function. They > > > distribute network traffic. But HOW they > > distribute that traffic is > > > fundimentally different. > > > > > > Unless they're one of the newer layer 3 or layer > 4 switches, they > > > cannot perform routing functions. > > They > > > just hand packets off from point A to point B. > > Think > > > of them as sort of a postman. They have an > > address > > > for each device on the network and they hand off > > each > > > piece of mail to the appropriate address. A > hub, > > > using this sama analagy would deliver the same > > piece > > > of mail to every house and the one that it > > belonged to > > > would be the one that actually reads it. > > > > > > --- Rocky Smolin - Beach Access Software > wrote: > > > > "but it's as close as I could think of without > > > > getting too technical." > > > > > > > > Thank you. Much appreciated. So a switch is > > like > > > > halfway between a hub and > > > > a router? > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Frank Tanner III" > > > > > > To: "Access Developers discussion and problem > > > > solving" > > > > > > > > Sent: Friday, October 31, 2003 7:36 AM > > > > Subject: Re: [AccessD] OT: Wireless network > > (sort > > > > of) > > > > > > > > > > > > > A router and a switch are fundimentall > > different > > > > > things. > > > > > > > > > > A router does just that. It routes network > > > > traffic. > > > > > > > > > > A switch plays "traffic cop" for a network. > > > > > > > > > > Newer switches, especially the layer 3 and > > layer 4 > > > > > ones can perform both functions.This isn't > an > > > > exact > > > > > definition, but it's as close as I could > think > > of > > > > > without getting too technical. > > > > > > > > > > --- Rocky Smolin - Beach Access Software > > > > > > > wrote: > > > > > > Is there a difference between a switch and > a > > > > router? > > > > > > > > > > > > Rocky > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Frank Tanner III" > > > > > > > > > > To: "Access Developers discussion and > > problem > > > > > > solving" > > > > > > > > > > > > Sent: Friday, October 31, 2003 6:54 AM > > > > > > Subject: RE: [AccessD] OT: Wireless > network > > > > (sort > > > > > > of) > > > > > > > > > > > > > > > > > > > I recommend "hardwiring" the IP address > of > > any > > > > > > device > > > > > > > or server connected to your LAN that's > not > > a workstation and > > > > > > > is virtually always on. > > > > > > > > > > > > > > For the price, I would also highly > > recommend > > > > > > removing > > > > > > > all hubs from your network and using > them > > as doorstops. > > > > > > > Switches have come way down in > > > > price > > > > > > and > > > > > > > have many benifits over hubs. > > > > > > > > > > > > > > Hubs divide the bandwidth across all > > ports. > > > > Thus > > > > > > if > > > > > > > you have an 8-port 10-BaseT hub, all > ports > > > > that > > > > > > are > > > > > > > processing data split that 10Mbit. A > === message truncated === _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 3 13:28:20 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Nov 2003 11:28:20 -0800 Subject: [AccessD] MS InfoPath and OneNote References: <8615823653.20031103132209@cactus.dk> Message-ID: <3FA6AC54.4060600@shaw.ca> Haven't touched onenote. I have played around with InfoPath, I think it is MS first pass at XForms They only released the XForm recomendation from W3C in last couple of months. You can use with SQL Server and Access and use through IE explorer some notes I made while playing around. Look at decision tree on when to use. Security and cross or multi domain use still have a way to go or are incomplete. You need IIS to test out completely. Info Path SQL Server link sets all your info path forms to specific server should be run intially before use http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkConfiguringTheSampleForms.asp ---------------------- Decision tree when to use InfoPath http://msdn.microsoft.com/library/en-us/odc_ip2003_ta/html/odc_IPInfoPathDecisionTree02.gif and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/odc_ipinfopathdecisiontree.asp ---------------------- Internet domains can be really tricky. For reference, path you browse to to fill out the form (ie. http://myServer/mySite/myForm.xsn) see Regform tool from SDK about .xsf verify the safety settings in internet explorer tool->options security tab-> and enable allow data access across domains --------------------- Exercise 1 Designing a Form from a Database In this exercise, you will create a new form based on a database. 1. Open InfoPath and click Design a Form& on the File menu. This brings up the Design a Form task pane. 2. In the Design a Form task pane, click New from Data Source&. 3. In the Data Source Setup Wizard dialog box, select Database (Microsoft SQL Server or Microsoft Office Access only) as the type of data source you want to use for your form and click the Next button. 4. Click the Select Database& button. 5. Browse to the Northwind.mdb database in the "C:\Program Files\Microsoft Office\Office11\Samples" directory and click the Open button. 6. In the Select Table dialog box, select the Orders table and click the OK button. 7. In the Data Source Setup Wizard dialog box, click the Add Table& button. 8. In the Add Table or Query dialog box, select the Order Details table and click the Next button. 9. In the Edit Relationship dialog box, InfoPath has already detected the relationship between the Orders table and the Order Details table because there is a field named OrderID in both tables. Click the Finish button. 10. In the Data Source Setup Wizard dialog box, click the Edit SQL& button. 11. In the Edit SQL dialog box, examine the ADO Shape query InfoPath uses to find data in the Orders and Order Details tables. Click the OK button. 12. In the Data Source Setup Wizard dialog box, click the Next button, and then the Finish button. InfoPath creates a new form based on the Orders and Order Details tables. 13. Save the new form as "NorthwindOrderQuery.xsn". Exercise 2 Designing the Data Entry View In this exercise, you will design the Data Entry view of the NorthwindOrderQuery form. 1. In the Controls task pane, click Views to switch to the Views task pane. 2. In the Views task pane, click the Data Entry view. 3. In the Views task pane, click Data Source to switch to the Data Source task pane. 4. Expand the dataFields tree in the Data Source task pane. 5. Drag the d:Orders group from the Data Source task pane onto the form area. From the context menu listing the available controls for the d:Orders group, select Repeating Section with Controls. 6. Lay out the controls in the form area in any way that suits you. Figure 6 contains an example layout you can follow. 7. Save the changes you made to the form. Test the Form 1. Click the Preview Form button on the Standard toolbar. 2. On the View menu, click Query. 3. In the OrderID control, type "11068" and click the Run Query button. Examine the data returned from the query. 4. On the View menu, click Query. 5. Clear the OrderID control. 6. In the CustomerID control, type "ALFKI" and click the Run Query button. Examine the data returned from the query. 7. Try other query parameters. When you have finished, click the Close Preview button on the Standard toolbar. Exercise 3 Designing the Query View In this exercise, you will design the Query view of the NorthwindOrderQuery form. 1. On the View menu, click Manage Views& to bring up the Views task pane. 2. On the Views task pane, click Query. 3. Click Select All on the Edit menu to select all of the controls and text in the form area. 4. Click Cut on the Edit menu to delete all of the elements. 5. In the Data Source task pane, expand the queryFields tree, and then expand the q:Orders tree. 6. Drag the OrderID field from the Data Source task pane onto the form area. 7. In the Data Source task pane, click Controls to switch to the Controls task pane. 8. From the Controls task pane, drag a Button control onto the form. 9. Right-click on the Button control and click Button Properties&. 10. In the Action drop-down list box of the Button Properties dialog box, select Run Query and then click OK. 11. Drag another Button control from the Controls task pane onto the form next to the Run Query button. 12. Right-click on the Button control and click Button Properties&. 13. In the Action drop-down list box of the Button Properties dialog box, select New Record and then click OK. 14. Lay out the controls on the form in any way you see fit. Figure 7 includes an example layout. 15. Save the changes you made to the form. ------------------------------------------------------ How to point to an Access File rather than SQL changes Inside the .xsf file you will likely find an element. Inside that is an element which includes information about the data source. You will likely see something like the following (the element is on a single horribly long line in the original code but my newsreader breaks the line): Edit the information about the Data Source in the connection string. Be careful not to end up with a split line for the element in your code after editing, since that may cause errors. Republish the form. Gustav Brock wrote: >Hi all > >Anyone familiar with these new products and if they somehow relate to >Access? > >I've tried to browse some brochures but they are so hyped that it is >just plain impossible to figure out wether these apps are fancy toys >which will bring any machine to a crawl or if they could be useful >tools in cooperation with Access and database applications. > >And how are the programmed if you wish to create custom build apps? >I've located this link to a SDK related to InfoPath: > >http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en > >but it looks like you need to take a deep breath and have a weekend >set aside. > >Also, how much are they relying on specific MS server software like >SharePoint or Exchange or pure MS environments or Office 2003 only? If >so, the usefulness is very limited as our clients use a variety of >systems. > >/gustav > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From DWUTKA at marlow.com Mon Nov 3 13:34:16 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 3 Nov 2003 13:34:16 -0600 Subject: [AccessD] Powerpoint question Message-ID: <2F8793082E00D4119A1700B0D0216BF802227495@main2.marlow.com> Actually, this ties DIRECTLY into Access. My full time employer is still running Office 97 across the board. There are a few dual 97/2k setups, and several Outlook upgrades. Recently we've been getting 'user requests' to upgrade to a more current version of Office. And here's what I've put together as pro's vs. con's. It's pretty simple. The biggest difference between the versions of Office can be split into two categories (which is why this is Access related). Access and Everything else I develop everything I can with Access 97, because it's rock solid, though A2k allows VBA 6, which includes custom events. The upgrade in VBA is quite frankly the only plus I see between A97 and A2k (haven't really used AXP much to give an opinion on that). Everything else keeps improving version to version. I have and have used Front Page 98, 2000, and 2002. Each one was a VAST improvement on the next. Word and Excel have improved, but not much for what I use them for. The big changes there is more options and better interoperability. (I believe Word 2002 allows multiple users to work on the same document simultaneously). Same with Power Point. More options. You can make presentation prettier with more effects and themes. The one big improvement in 'everything else', that I have latched onto, is that each version is better at creating web documents. Take PP 97. Make a presentation, and then save it as a web page. First, the wizard is a 100 step nightmare, and what you get at the end is a monstrousity. Use PP 2000, and it works it's magic effortlessly, and you end up with a pretty good HTML representation of your presentation. Same with Excel and Word. And you can work with the HTML versions just like you would with their native file format partners. Drew -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Monday, November 03, 2003 1:11 PM To: 'Access Developers discussion and problem solving'; dba-tech at databaseadvisors.com Subject: [AccessD] Powerpoint question This is first trial of new policy. I'm cross-posting to AccesD and the Tech list but please reply ONLY to the the tech list as this is no way Access-related - I just need guidance. Are there any Powerpoint experts out there? If so can someone tell me what, if any, are the main pros and cons of the Office 97, 2000 and XP versions of Powerpoint? And which is the best, and why? I've read the MS docs on this but am interested in "real" experience. Thanks in advance for any help. And if you're not yet on the tech list you can subscribe via http://databaseadvisors.com/mailman/listinfo/dba-tech 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 davide at dalyn.co.nz Mon Nov 3 14:02:38 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 04 Nov 2003 09:02:38 +1300 Subject: [AccessD] How to prevent a mess In-Reply-To: <20031103130514.159175744.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031104084253.00b1d0e8@mail.dalyn.co.nz> Comments inline- At 3/11/2003, you wrote: >I might try indirect synchronization if my client had a server. He has >Windows networking set up in his office...just peer-to-peer, no server of >any kind. I don't think you need a 'server' as such - just a computer with NT 4.0 or higher (Windows XP pro may even work). All the laptops need to do is to set up a dialup link so that they can access a folder on the main computer. Then replication does the rest. Check out the replication documentation for indirect synchronization. >I don't suppose there's a chance that the Access database could be moved >to a web server on a web host and have replication performed in some fashion? Avoid internet synchronization - unless post 97 versions have improved (which I don't think they have), you are left with no security to prevent hackers attacking your server (internet synchronization doesn't work with firewalls etc). Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From rusty.hammond at cpiqpc.com Mon Nov 3 14:56:05 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 14:56:05 -0600 Subject: [AccessD] EDI data file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603F@cpixchng-1.cpiqpc.net> Has anyone ever worked with an X12/EDI data file? Can it be imported into an Access 97 table? We're getting a file back that we're supposed to use to lookup the status of billings but it needs to be parsed. The (very) limited help on the web site where we download the file from says we need to use a conversion program to get the X12 file to a readable format. Any help would be much appreciated. TIA Rusty From serbach at new.rr.com Mon Nov 3 15:10:57 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 15:10:57 -0600 Subject: [AccessD] How to prevent a mess Message-ID: <20031103151057.1047975120.serbach@new.rr.com> David, Thanks for staying in step with me on this. >> just a computer with NT 4.0 or > higher (Windows XP pro may even work) << Hah! When I helped my client network his desktops and wireless laptops a couple of weeks ago, I recommended that all the PCs be upgraded to XP Professional. No such luck...they're all (except for one ME) XP Home. However, I think I can persuade him to kick in for an upgrade on his main system to get this remote replication thing operational. I will indeed check out the indirect synchronization thing. >> internet synchronization doesn't work with firewalls etc << Interesting. So putting an Access BE up on a web host would pretty much put it out of reach since the web host is bound to have a router, right? Thanks, Steve Erbach Neenah, WI From martyconnelly at shaw.ca Mon Nov 3 15:05:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Nov 2003 13:05:10 -0800 Subject: [AccessD] MS InfoPath and OneNote References: <8615823653.20031103132209@cactus.dk> <3FA6AC54.4060600@shaw.ca> Message-ID: <3FA6C306.9030506@shaw.ca> Here are some other uses of InfoPath from Jean Paoli, the architect of Microsoft Office's XML http://www.infoworld.com/article/03/02/20/08stratdev_1.html MartyConnelly wrote: > Haven't touched onenote. > > I have played around with InfoPath, I think it is MS first pass at XForms > They only released the XForm recomendation from W3C in last couple of > months. > You can use with SQL Server and Access and use through IE explorer > some notes I made while playing around. Look at decision tree on when > to use. > Security and cross or multi domain use still have a way to go or are > incomplete. > You need IIS to test out completely. > > > Info Path SQL Server link sets all your info path forms to specific > server should be run intially before use > http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkConfiguringTheSampleForms.asp > > > ---------------------- > > Decision tree when to use InfoPath > http://msdn.microsoft.com/library/en-us/odc_ip2003_ta/html/odc_IPInfoPathDecisionTree02.gif > > and > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/odc_ipinfopathdecisiontree.asp > > > ---------------------- > Internet domains can be really tricky. For reference, > path you browse to to fill out the form (ie. > http://myServer/mySite/myForm.xsn) > see Regform tool from SDK about .xsf > > verify the safety settings in internet explorer tool->options security > tab-> and enable allow data access across domains > --------------------- > > Exercise 1 Designing a Form from a Database > In this exercise, you will create a new form based on a database. > > 1. Open InfoPath and click Design a Form& on the File menu. This > brings up > the Design a Form task pane. > 2. In the Design a Form task pane, click New from Data Source&. > 3. In the Data Source Setup Wizard dialog box, select Database (Microsoft > SQL Server or Microsoft Office Access only) as the type of data source > you > want to use for your form and click the Next button. > 4. Click the Select Database& button. > 5. Browse to the Northwind.mdb database in the "C:\Program > Files\Microsoft > Office\Office11\Samples" directory and click the Open button. > 6. In the Select Table dialog box, select the Orders table and click > the OK > button. > 7. In the Data Source Setup Wizard dialog box, click the Add Table& > button. > 8. In the Add Table or Query dialog box, select the Order Details > table and > click the Next button. > 9. In the Edit Relationship dialog box, InfoPath has already detected the > relationship between the Orders table and the Order Details table because > there is a field named OrderID in both tables. Click the Finish button. > 10. In the Data Source Setup Wizard dialog box, click the Edit SQL& > button. > > 11. In the Edit SQL dialog box, examine the ADO Shape query InfoPath uses > to find data in the Orders and Order Details tables. Click the OK button. > 12. In the Data Source Setup Wizard dialog box, click the Next button, > and > then the Finish button. InfoPath creates a new form based on the Orders > and Order Details tables. > 13. Save the new form as "NorthwindOrderQuery.xsn". > > Exercise 2 Designing the Data Entry View > In this exercise, you will design the Data Entry view of the > NorthwindOrderQuery form. > > 1. In the Controls task pane, click Views to switch to the Views task > pane. > 2. In the Views task pane, click the Data Entry view. > 3. In the Views task pane, click Data Source to switch to the Data Source > task pane. > 4. Expand the dataFields tree in the Data Source task pane. > 5. Drag the d:Orders group from the Data Source task pane onto the form > area. From the context menu listing the available controls for the > d:Orders group, select Repeating Section with Controls. > 6. Lay out the controls in the form area in any way that suits you. > Figure > 6 contains an example layout you can follow. > 7. Save the changes you made to the form. > > Test the Form > 1. Click the Preview Form button on the Standard toolbar. > 2. On the View menu, click Query. > 3. In the OrderID control, type "11068" and click the Run Query button. > Examine the data returned from the query. > 4. On the View menu, click Query. > 5. Clear the OrderID control. > 6. In the CustomerID control, type "ALFKI" and click the Run Query > button. > Examine the data returned from the query. > 7. Try other query parameters. When you have finished, click the Close > Preview button on the Standard toolbar. > > Exercise 3 Designing the Query View > In this exercise, you will design the Query view of the > NorthwindOrderQuery > form. > > 1. On the View menu, click Manage Views& to bring up the Views task pane. > 2. On the Views task pane, click Query. > 3. Click Select All on the Edit menu to select all of the controls and > text > in the form area. > 4. Click Cut on the Edit menu to delete all of the elements. > 5. In the Data Source task pane, expand the queryFields tree, and then > expand the q:Orders tree. > 6. Drag the OrderID field from the Data Source task pane onto the form > area. > 7. In the Data Source task pane, click Controls to switch to the Controls > task pane. > 8. From the Controls task pane, drag a Button control onto the form. > 9. Right-click on the Button control and click Button Properties&. > 10. In the Action drop-down list box of the Button Properties dialog box, > select Run Query and then click OK. > 11. Drag another Button control from the Controls task pane onto the form > next to the Run Query button. > 12. Right-click on the Button control and click Button Properties&. > 13. In the Action drop-down list box of the Button Properties dialog box, > select New Record and then click OK. > 14. Lay out the controls on the form in any way you see fit. Figure 7 > includes an example layout. > 15. Save the changes you made to the form. > > ------------------------------------------------------ > How to point to an Access File rather than SQL changes > > Inside the .xsf file you will likely find an element. > Inside that is an element which includes information > about the data source. > > You will likely see something like the following (the > element is on a single horribly long line in the > original code but my newsreader breaks the line): > > > connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Password="";User > > ID=Admin;Data Source=C:\Program Files\Microsoft > Office\OFFICE11\SAMPLES\INFOPATH\INFNWIND.MDB;Mode=Share Deny > None;Extended Properties="";Jet OLEDB:System > database="";Jet OLEDB:Registry Path="";Jet > OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet > OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet > OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database > Password="";Jet OLEDB:Create System Database=False;Jet > OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on > Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet > OLEDB:SFP=False" commandText="select > [CustomerID],[CompanyName],[ContactName],[ContactTitle] from > [Customers] as [Customers]" queryAllowed="yes" > submitAllowed="yes"> > > > Edit the information about the Data Source in the connection string. > > Be careful not to end up with a split line for the > element in your code after editing, since that may cause errors. > > Republish the form. > > > Gustav Brock wrote: > >> Hi all >> >> Anyone familiar with these new products and if they somehow relate to >> Access? >> >> I've tried to browse some brochures but they are so hyped that it is >> just plain impossible to figure out wether these apps are fancy toys >> which will bring any machine to a crawl or if they could be useful >> tools in cooperation with Access and database applications. >> >> And how are the programmed if you wish to create custom build apps? >> I've located this link to a SDK related to InfoPath: >> >> http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en >> >> >> but it looks like you need to take a deep breath and have a weekend >> set aside. >> >> Also, how much are they relying on specific MS server software like >> SharePoint or Exchange or pure MS environments or Office 2003 only? If >> so, the usefulness is very limited as our clients use a variety of >> systems. >> /gustav >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> > -- Marty Connelly Victoria, B.C. Canada From selina at easydatabases.com.au Mon Nov 3 15:12:56 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Tue, 4 Nov 2003 07:12:56 +1000 Subject: [AccessD] Hourly Backups Of Access Data References: <2F8793082E00D4119A1700B0D0216BF80222748E@main2.marlow.com> Message-ID: <000b01c3a24f$4119ecc0$6465000a@venus> Howdy I suppose it depends upon the database, but the 'techie' guy I work with has put in place some little .bat files that copy the database on the hour to a particular directory and depending upon the .bat file and time, places it in a 1100, 1200, 1300 etc directory. That way if we can go back to any time in the last 24hrs without going to the nightly backup tapes. It works very well, he had to put some commands in the startup of the server to do it, (I'm not up on that side of things in case it's not painfully obvious) but it certainly doesn't kick anyone out whilst performing the copies. I suppose you could add a line to the .bat file to compact them. Cheers Selina ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 3:42 AM Subject: RE: [AccessD] Hourly Backups Of Access Data > Ya, just import them into a new db. You should be able to import them > without having to kick anyone out! > > Drew > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Monday, November 03, 2003 11:00 AM > To: accessd > Subject: [AccessD] Hourly Backups Of Access Data > > > To all, > Is there anyway I can create a backup of all the tables in a database, > without bringing all the users out of the database. > Paul > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From serbach at new.rr.com Mon Nov 3 15:34:21 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 15:34:21 -0600 Subject: [AccessD] EDI data file Message-ID: <20031103153421.1143797734.serbach@new.rr.com> Rusty, >> The (very) limited help on the web site where we download the file from says we need to use a conversion program to get the X12 file to a readable format. Any help would be much appreciated. << Welcome to EDI. In the past three weeks I've visited a few dozen EDI sites trying to get some good examples so that I can do that very thing you're talking about. I'd had some limited EDI experience in the past. My client wants a more customized solution without having to buy a full-bore EDI package that includes every document type under the sun. The amount of help is, indeed, very limited. There are no books on EDI at the library. Barnes & Noble doesn't stock any. On top of that, just last week I discovered that a sizeable component of good EDI programs is the error-trapping; that is, an X12 file can have errors in it. If your software doesn't allow for that, then you have junk. EDI specs are difficult to translate into a neat and orderly relational model. So you'd have quite a task making up tables to represent the EDI "model." I found a company that provides a moderately-priced tool to read and translate EDI transactions using a Windows object model. Thus you can roll your own EDI software and use the classes provided for EDI transactions just as you use any other class. They provide samples in VB, Delphi, C++.NET, and FoxPro. I used their 60-day eval program to detect an error in transmission of a test X12 Purchase Order for a project I'm doing for a client of mine. The product is called Framework EDI. The Professional version is $950. There's an "Enterprise" and "Universal" version, too. I've persuaded my client to bite the bullet and buy it since he'd have to pay me a lot more to code something that wouldn't work nearly so well. Here's the web site: http://www.edidev.com/ Of course, there are tons of EDI software sites on the web. This one was different in that it offered a developer's toolbox sort of thing rather than a complete package from A-Z. Good luck! Regards, Steve Erbach Scientific Marketing Neenah, WI From martyconnelly at shaw.ca Mon Nov 3 15:49:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Nov 2003 13:49:41 -0800 Subject: [AccessD] EDI data file References: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603F@cpixchng-1.cpiqpc.net> Message-ID: <3FA6CD75.1000308@shaw.ca> You can translate or map EDI to csv, flatfiles or xml I suggested to one company to convert or map to xml then bring into Access or SQL via ADO or XMLDOM. They used goXML product from Altova with XMLSPY to do the conversion. It is expensive but necessary if you have a lot of different EDI formats. There are different templates for EDI X12 like 850 and 810. or HIPAA templates :: EDI X12 - 270 Eligibility, Coverage or Benefit Inquiry EDI X12 - 271 Eligibility, Coverage or Benefit Inquiry EDI X12 - 276 Health Care Claim Status Request EDI X12 - 277 Health Care Claim Status Notification EDI X12 - 820 Payment Order Remittance Advice EDI X12 - 834 Benefit Enrollment and Maintenance EDI X12 - 835 Health Care Claim Payment Advice EDI X12 - 837 Health Care Claim A cheaper conversion program would be ETAsoft for around $2000 http://www.xtranslator.com/index.htm There is a recent book on subject with examples but uses Java C++ Using XML with Legacy Business Applications by Michael C. Rawlins http://www.amazon.com/exec/obidos/ASIN/0321154940/qid%3D1063200555/sr%3D11-1/ref%3Dsr%5F11%5F1/002-5838316-1411229 You might find cheaper translation software at www.xml.org or www.oasis.org or maybe MS eBiz server site rusty.hammond at cpiqpc.com wrote: >Has anyone ever worked with an X12/EDI data file? Can it be imported into >an Access 97 table? We're getting a file back that we're supposed to use to >lookup the status of billings but it needs to be parsed. The (very) limited >help on the web site where we download the file from says we need to use a >conversion program to get the X12 file to a readable format. > >Any help would be much appreciated. > >TIA > >Rusty > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From rusty.hammond at cpiqpc.com Mon Nov 3 16:06:15 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 16:06:15 -0600 Subject: [AccessD] EDI data file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03306040@cpixchng-1.cpiqpc.net> Thanks Steve. Not exactly what I wanted to hear but it is what I thought I might hear. Oh well, if this work was always easy I wouldn't have a job, right? ----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Monday, November 03, 2003 3:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EDI data file Rusty, >> The (very) limited help on the web site where we download the file from says we need to use a conversion program to get the X12 file to a readable format. Any help would be much appreciated. << Welcome to EDI. In the past three weeks I've visited a few dozen EDI sites trying to get some good examples so that I can do that very thing you're talking about. I'd had some limited EDI experience in the past. My client wants a more customized solution without having to buy a full-bore EDI package that includes every document type under the sun. The amount of help is, indeed, very limited. There are no books on EDI at the library. Barnes & Noble doesn't stock any. On top of that, just last week I discovered that a sizeable component of good EDI programs is the error-trapping; that is, an X12 file can have errors in it. If your software doesn't allow for that, then you have junk. EDI specs are difficult to translate into a neat and orderly relational model. So you'd have quite a task making up tables to represent the EDI "model." I found a company that provides a moderately-priced tool to read and translate EDI transactions using a Windows object model. Thus you can roll your own EDI software and use the classes provided for EDI transactions just as you use any other class. They provide samples in VB, Delphi, C++.NET, and FoxPro. I used their 60-day eval program to detect an error in transmission of a test X12 Purchase Order for a project I'm doing for a client of mine. The product is called Framework EDI. The Professional version is $950. There's an "Enterprise" and "Universal" version, too. I've persuaded my client to bite the bullet and buy it since he'd have to pay me a lot more to code something that wouldn't work nearly so well. Here's the web site: http://www.edidev.com/ Of course, there are tons of EDI software sites on the web. This one was different in that it offered a developer's toolbox sort of thing rather than a complete package from A-Z. Good luck! Regards, Steve Erbach Scientific Marketing Neenah, WI _______________________________________________ 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 Nov 3 16:18:47 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 04 Nov 2003 08:18:47 +1000 Subject: [AccessD] OT: Noisy computer In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222748D@main2.marlow.com> Message-ID: <3FA760E7.17853.200C88@localhost> On 3 Nov 2003 at 11:40, Drew Wutka wrote: > To tie this into an Access related (actually AccessD related) post, in my > old place (one before the fire), I had my servers near the foot of my > bed...and those things were NOISY. Of course, one of the fans was going > out, so that didn't help! But now that they're in the closet, I can > soundly sleep at night, and still host the archives! (Come on, give > me points for trying to tie that in!) > Until the archives get lost because the servers overheat and melt down without adequate airflow? :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From rusty.hammond at cpiqpc.com Mon Nov 3 16:20:38 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 3 Nov 2003 16:20:38 -0600 Subject: [AccessD] EDI data file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03306041@cpixchng-1.cpiqpc.net> Thanks Marty that helps. It is a Remittance Advice file so now I at least know the template id (which I think was on the web site Steve mentioned as well). Sounds like I have a lot of learning to do. -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, November 03, 2003 3:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EDI data file You can translate or map EDI to csv, flatfiles or xml I suggested to one company to convert or map to xml then bring into Access or SQL via ADO or XMLDOM. They used goXML product from Altova with XMLSPY to do the conversion. It is expensive but necessary if you have a lot of different EDI formats. There are different templates for EDI X12 like 850 and 810. or HIPAA templates :: EDI X12 - 270 Eligibility, Coverage or Benefit Inquiry EDI X12 - 271 Eligibility, Coverage or Benefit Inquiry EDI X12 - 276 Health Care Claim Status Request EDI X12 - 277 Health Care Claim Status Notification EDI X12 - 820 Payment Order Remittance Advice EDI X12 - 834 Benefit Enrollment and Maintenance EDI X12 - 835 Health Care Claim Payment Advice EDI X12 - 837 Health Care Claim A cheaper conversion program would be ETAsoft for around $2000 http://www.xtranslator.com/index.htm There is a recent book on subject with examples but uses Java C++ Using XML with Legacy Business Applications by Michael C. Rawlins http://www.amazon.com/exec/obidos/ASIN/0321154940/qid%3D1063200555/sr%3D11-1 /ref%3Dsr%5F11%5F1/002-5838316-1411229 You might find cheaper translation software at www.xml.org or www.oasis.org or maybe MS eBiz server site rusty.hammond at cpiqpc.com wrote: >Has anyone ever worked with an X12/EDI data file? Can it be imported into >an Access 97 table? We're getting a file back that we're supposed to use to >lookup the status of billings but it needs to be parsed. The (very) limited >help on the web site where we download the file from says we need to use a >conversion program to get the X12 file to a readable format. > >Any help would be much appreciated. > >TIA > >Rusty > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Mon Nov 3 16:32:38 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 3 Nov 2003 16:32:38 -0600 Subject: [AccessD] EDI data file Message-ID: <20031103163238.1043140229.serbach@new.rr.com> Rusty, >> ?Not exactly what I wanted to hear but it is what I thought I might hear. ?Oh well, if this work was always easy I wouldn't have a job, right? << Too right. I had hoped that it would a bit simpler, too. But EDI has a way of expanding to fill the amount of money you have available. The XML route that Marty mentioned is another way to go...one that might become more prevalent Real Soon Now. To me, the EDIdEv product looks promising as far as cost goes. Steve Erbach From davide at dalyn.co.nz Mon Nov 3 17:39:06 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 04 Nov 2003 12:39:06 +1300 Subject: [AccessD] How to prevent a mess In-Reply-To: <20031103151057.1047975120.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031104123250.00b85008@mail.dalyn.co.nz> At 3/11/2003, you wrote: >David, > >> internet synchronization doesn't work with firewalls etc << > >Interesting. So putting an Access BE up on a web host would pretty much >put it out of reach since the web host is bound to have a router, right? No - there is a different between using Access as a BE for a web FE (ASP/HTML etc), and using internet synchronization. Internet synchronization just uses the internet connection to access the BE direct. This means that the computer hosting the BE needs to be accessible via the internet. But because firewalls upset the synchronizer, you can't protect your server. One company I worked with ended up with a $5000 bill when hackers got into their server and used it to transfer their files - this was only within a month! Ouch. If you are interested there a white paper specifically on internet synchronization but because of its limitations it is only of academic interest. Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From caa at highway.com.br Mon Nov 3 18:21:57 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Mon, 03 Nov 2003 22:21:57 -0200 Subject: [AccessD] A2k - BE corruption??? Message-ID: Dear Mates: I would like to have your opinion on this matter. I developed an A2k database system with three identical FE's and one BE. It has data from jan2001 to now. Upon executing a simple select query I noticed that I could not retrieve any records from 2002. The same query executed on a BE backup copy from jul2003 returned all due records. Is this a BE corruption??? I tried ?Compact and repair...?, JetComp and import all tables to a new BE with no better results. Things that called my attention: 1- I use Jet 4.0 SP6 and my client uses something older than SP3; 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office 97. Thanks for any input, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From Bryan.Brown at acsalaska.com Mon Nov 3 18:41:36 2003 From: Bryan.Brown at acsalaska.com (Brown, Bryan) Date: Mon, 3 Nov 2003 15:41:36 -0900 Subject: [AccessD] Summarizing like data - suggestions? Message-ID: Hi everyone, I listen a lot and offer help when I'm able (which, as a relative newcomer when compared to many of you, is not often) and now I could use some help. I have two tables of like data (or it could be one table with multiple rows of similar records) and I need to combine the records when appropriate into one table... It seems simple enough, but it eludes me. I have about 3000 records to compare and summarize. If all data elements, except hours, are the same then, I add the hours, else I have to have separate entries. Any suggestions would be appreciated - Thanks! Example of Multiple rows in one table: Sample Data Before Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;40 ;22 100002;Bob ; 9.00;Waiter ;60 ;10 Desired Result Data after Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;100 ;32 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. ACS3/11/2003 From accessd at shaw.ca Mon Nov 3 18:58:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 16:58:19 -0800 Subject: [AccessD] Running local file format In-Reply-To: <20031103160200.C8CF224D446@smithers.nildram.co.uk> Message-ID: Hi Andy: Thanks for the code. Along with the code sample from Dev Ashish's site this should cover all bases. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Monday, November 03, 2003 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Running local file format I use some API code that came from someone on the list (sorry can't credit cos can't remember). Very simple. Stick this in a module: Declare Function ShellExecute Lib "shell32" 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 Function RunApp(strFile As String, bytSize) As Boolean Dim lngRet As Long Dim varTaskID As Variant Dim strRet As String lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, vbNullString, vbNullString, bytSize) If lngRet > Success Then strRet = vbNullString lngRet = -1 RunApp = True Else RunApp = False Select Case lngRet Case NotRegistered varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & strFile, bytSize) lngRet = (varTaskID <> 0) Case InadequateMemory MsgBox "Error: Out of Memory/Resources!" Case FileNotFound MsgBox "Error: File not found!" Case PathNotFound MsgBox "Error: Path not found!" Case BadFormat MsgBox "Error: Bad File Format!" Case 5 MsgBox "Error: Unauthorized due to Security restrictions!" End Select End If End Function Then all you do is: Call RunApp(strfilename,1) HTH -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] Running local file format Date: 03/11/03 21:15 Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA 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 ________________________________________________ Message sent using UebiMiau 2.7.2 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 3 18:58:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 16:58:16 -0800 Subject: [AccessD] Running local file format In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A0330603B@cpixchng-1.cpiqpc.net> Message-ID: Hi Rusty: Thanks for your suggestions...I am looking into it now. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of rusty.hammond at cpiqpc.com Sent: Monday, November 03, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Running local file format Jim, If you're just wanting to give the ability to open a file from a list, what I've done in the past is use a continuous form listing the filename and beside the filename field, add a command button. Set the Hyperlink Address of the command button to the path and filename via code in the On Current property of the form. Then the user just clicks on the button and the file is opened by whatever program the extension is registered as. HTH Rusty -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, November 03, 2003 1:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running local file format Hi All: This is a simple question I am sure but the life of me I can not remember or find the related code. (Advanced years and all) Can you set up Access to, under program control to run/display any file that the local computer recognizes, like a Word document, pdf file, spreadsheet or maybe a web page without writing specific code for each type. I have written procedures for Word Excel and Web pages but there must be any easier way than blocks of code for each extension. A browser web page can do this but can an Access program? Any suggestions would be greatly appreciated MTIA 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 Mon Nov 3 18:58:13 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 03 Nov 2003 16:58:13 -0800 Subject: [AccessD] Running local file format In-Reply-To: <00ec01c3a1f4$e7ffd0a0$5100a8c0@BITSNB02> Message-ID: Thank you Stuart: It worked perfectly. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Monday, November 03, 2003 2:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Running local file format What you want is this: http://www.mvps.org/access/api/api0018.htm Regards Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence (AccessD) > Sent: Monday, 03 November, 2003 3:47 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running local file format > > > Hi All: > > This is a simple question I am sure but the life of me I can > not remember or > find the related code. (Advanced years and all) > > Can you set up Access to, under program control to > run/display any file that > the local computer recognizes, like a Word document, pdf > file, spreadsheet > or maybe a web page without writing specific code for each > type. I have > written procedures for Word Excel and Web pages but there > must be any easier > way than blocks of code for each extension. A browser web > page can do this > but can an Access program? > > Any suggestions would be greatly appreciated > > MTIA > 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 KIsmert at TexasSystems.com Mon Nov 3 19:00:49 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Mon, 3 Nov 2003 19:00:49 -0600 Subject: [AccessD] Hourly Backups Of Access Data In-Reply-To: Message-ID: <03d601c3a26f$17153040$2a3ca8c0@TEXASSYSTEMS.COM> Paul, The critical issue I see with Jet is that you can't guarantee that your backup data will be in a consistent state while users are in the database. Jet simply can't be trusted to keep everything straight with the read/write locks or cascade updates/deletes that could be in progress when you initiate your backup. This applies as much to backing up the mdb files as it would to any of the other proposed solutions, in my opinion. If live backups are an overriding concern, consider moving your backend to MSDE/SQL Server. With its transaction logging and dynamic backup capabilities, you can implement a much more reliable and transparent backup policy. Otherwise, kick 'em out! See: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q300216 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/htm l/acmsdeop.asp -Ken -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, November 03, 2003 12:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Hourly Backups Of Access Data Paul, I just looked at my backup routine but it won't work for you, uses CompactDatabase. Guess I should create a new one. (Thinking out loud here) how about: Create a routine to export all of the tables and data to a new DB. That shouldn't affect any of the users. Create a seperate routine that clears the tables and imports/appends it all back in just in case you need to restore the data. If that case arises it would probably mean the users can't get in anyway - otherwise you would have to kick them all out. This would alleviate worrying about relationships, etc. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > paul.hartland at fsmail.net > Sent: Monday, November 03, 2003 11:00 AM > To: accessd > Subject: [AccessD] Hourly Backups Of Access Data > > > To all, > Is there anyway I can create a backup of all the tables in a > database, without bringing all the users out of the database. > Paul > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at bellsouth.net Mon Nov 3 19:06:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 20:06:08 -0500 Subject: [AccessD] Summarizing like data - suggestions? References: Message-ID: <01c501c3a26f$d7dbc640$6001a8c0@dejpolsys> Bryan ...is this a 1-time fix or are you going to have to repeat this again and again? ...the solutions differ. ...the simplest 1-time fix ime would be to create a table with a unique index set for empID and then query the source table to append all records to it ...dupe empIDs wont be appended ...then you should be able to run update queries on the new table Hours1 and Hours2 fields using calc fields on the source table Hours1 and Hours2 field to total each records hours that match the empID ...I have not done this but it should be doable in the query itself, if not you'll need to write and call a function that does it. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Brown, Bryan" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 7:41 PM Subject: [AccessD] Summarizing like data - suggestions? > Hi everyone, > > I listen a lot and offer help when I'm able (which, as a relative newcomer > when compared to many of you, is not often) and now I could use some help. I > have two tables of like data (or it could be one table with multiple rows of > similar records) and I need to combine the records when appropriate into one > table... > > It seems simple enough, but it eludes me. I have about 3000 records to > compare and summarize. If all data elements, except hours, are the same > then, I add the hours, else I have to have separate entries. Any suggestions > would be appreciated - Thanks! > > Example of Multiple rows in one table: > > Sample Data Before Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;40 ;22 > 100002;Bob ; 9.00;Waiter ;60 ;10 > > > Desired Result Data after Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;100 ;32 > > > > > > > > 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. ACS3/11/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Bryan.Brown at acsalaska.com Mon Nov 3 19:12:19 2003 From: Bryan.Brown at acsalaska.com (Brown, Bryan) Date: Mon, 3 Nov 2003 16:12:19 -0900 Subject: [AccessD] Summarizing like data - suggestions? Message-ID: William - thanks for the info. This will be done monthly. I think your idea will work fine for this month (also read as "tomorrow!"), but I'll need to end up with a process that the end-user just "clicks" start to finish :-) Bryan -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Monday, November 03, 2003 4:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summarizing like data - suggestions? Bryan ...is this a 1-time fix or are you going to have to repeat this again and again? ...the solutions differ. ...the simplest 1-time fix ime would be to create a table with a unique index set for empID and then query the source table to append all records to it ...dupe empIDs wont be appended ...then you should be able to run update queries on the new table Hours1 and Hours2 fields using calc fields on the source table Hours1 and Hours2 field to total each records hours that match the empID ...I have not done this but it should be doable in the query itself, if not you'll need to write and call a function that does it. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Brown, Bryan" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 7:41 PM Subject: [AccessD] Summarizing like data - suggestions? > Hi everyone, > > I listen a lot and offer help when I'm able (which, as a relative newcomer > when compared to many of you, is not often) and now I could use some help. I > have two tables of like data (or it could be one table with multiple rows of > similar records) and I need to combine the records when appropriate into one > table... > > It seems simple enough, but it eludes me. I have about 3000 records to > compare and summarize. If all data elements, except hours, are the same > then, I add the hours, else I have to have separate entries. Any suggestions > would be appreciated - Thanks! > > Example of Multiple rows in one table: > > Sample Data Before Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;40 ;22 > 100002;Bob ; 9.00;Waiter ;60 ;10 > > > Desired Result Data after Summary > Emplid;Name;Rate ;Title ;Hours1;Hours2 > 100001;Fred; 9.50;Dishwasher;40 ;22 > 100001;Fred;15.00;Head Cook ;35 ;18 > 100002;Bob ; 9.00;Waiter ;100 ;32 > > > > > > > > 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. ACS3/11/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 wdhindman at bellsouth.net Mon Nov 3 19:32:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 20:32:43 -0500 Subject: [AccessD] Summarizing like data - suggestions? References: Message-ID: <01f601c3a273$8b5e07c0$6001a8c0@dejpolsys> ...write a module ...attach it to a button ...in the module use a DoCmd.RunQry(sic ...I'm writing off the top here) sequence to append any new empID records (without the Hours fields), then update Hours1, and then update Hours2. ...if this is mission critical data, I'd back off the queries and use transactions instead since with the queries the user won't know if everything got transferred correctly ...with transactions its an all or nothing deal which is more difficult to write but much more reliable ime. William Hindman - Next Year In The Free State! ----- Original Message ----- From: "Brown, Bryan" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 8:12 PM Subject: RE: [AccessD] Summarizing like data - suggestions? > William - thanks for the info. > > This will be done monthly. I think your idea will work fine for this month > (also read as "tomorrow!"), but I'll need to end up with a process that the > end-user just "clicks" start to finish :-) > > Bryan > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Monday, November 03, 2003 4:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Summarizing like data - suggestions? > > > Bryan > > ...is this a 1-time fix or are you going to have to repeat this again and > again? ...the solutions differ. > ...the simplest 1-time fix ime would be to create a table with a unique > index set for empID and then query the source table to append all records to > it ...dupe empIDs wont be appended ...then you should be able to run update > queries on the new table Hours1 and Hours2 fields using calc fields on the > source table Hours1 and Hours2 field to total each records hours that match > the empID ...I have not done this but it should be doable in the query > itself, if not you'll need to write and call a function that does it. > > William Hindman > - Next Year In The Free State! > > > ----- Original Message ----- > From: "Brown, Bryan" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 7:41 PM > Subject: [AccessD] Summarizing like data - suggestions? > > > > Hi everyone, > > > > I listen a lot and offer help when I'm able (which, as a relative newcomer > > when compared to many of you, is not often) and now I could use some help. > I > > have two tables of like data (or it could be one table with multiple rows > of > > similar records) and I need to combine the records when appropriate into > one > > table... > > > > It seems simple enough, but it eludes me. I have about 3000 records to > > compare and summarize. If all data elements, except hours, are the same > > then, I add the hours, else I have to have separate entries. Any > suggestions > > would be appreciated - Thanks! > > > > Example of Multiple rows in one table: > > > > Sample Data Before Summary > > Emplid;Name;Rate ;Title ;Hours1;Hours2 > > 100001;Fred; 9.50;Dishwasher;40 ;22 > > 100001;Fred;15.00;Head Cook ;35 ;18 > > 100002;Bob ; 9.00;Waiter ;40 ;22 > > 100002;Bob ; 9.00;Waiter ;60 ;10 > > > > > > Desired Result Data after Summary > > Emplid;Name;Rate ;Title ;Hours1;Hours2 > > 100001;Fred; 9.50;Dishwasher;40 ;22 > > 100001;Fred;15.00;Head Cook ;35 ;18 > > 100002;Bob ; 9.00;Waiter ;100 ;32 > > > > > > > > > > > > > > > > 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. ACS3/11/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 stuart at pacific.net.hk Mon Nov 3 22:26:58 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 12:26:58 +0800 Subject: [AccessD] Running local file format In-Reply-To: Message-ID: <00f501c3a28b$e2dcc960$5100a8c0@BITSNB02> Yeah if it was just copyright I'd have no issue, but it did specifically say not to be distributed except as part of an application. Probably OK, but ... Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Tuesday, 04 November, 2003 1:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Running local file format > > > I THINK as long as the code says "you may use as long as the copyright > notice remains" and you post the whole thing with the > copyright notice, it > is legal to post the code, especially as it isn't embedded in > an EZine. > It's always safer to just post the link though. People like > visitors to > their site.. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Stuart Sanders > Sent: Monday, November 03, 2003 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running local file format > > > yeah I've used this for a couple of years. Was going to just > post the code, > but Dev has a copy right notice. > > Stuart > > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 03, 2003 10:41 PM > Subject: Re: [AccessD] Running local file format > > > > ...hey! ...nice find, works like a charm ...as it happens I have an > > immediate use for this little honey ...thanks :) > > > > William Hindman > > - Next Year In The Free State! > > > > > > ----- Original Message ----- > > From: "Stuart Sanders" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 03, 2003 5:26 AM > > Subject: RE: [AccessD] Running local file format > > > > > > > What you want is this: > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > Regards > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > > Jim Lawrence (AccessD) > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > Hi All: > > > > > > > > This is a simple question I am sure but the life of me I can > > > > not remember or > > > > find the related code. (Advanced years and all) > > > > > > > > Can you set up Access to, under program control to > > > > run/display any file that > > > > the local computer recognizes, like a Word document, pdf > > > > file, spreadsheet > > > > or maybe a web page without writing specific code for each > > > > type. I have > > > > written procedures for Word Excel and Web pages but there > > > > must be any easier > > > > way than blocks of code for each extension. A browser web > > > > page can do this > > > > but can an Access program? > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > MTIA > > > > Jim > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Mon Nov 3 22:40:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 3 Nov 2003 23:40:43 -0500 Subject: [AccessD] Running local file format References: <00f501c3a28b$e2dcc960$5100a8c0@BITSNB02> Message-ID: <002b01c3a28d$ce86b910$6001a8c0@dejpolsys> ...frm Dev's Terms of Use ...seems pretty clear to me that a link is it :( "You cannot copy, redistribute or republish any source code code from this site by any means, including distributing the code on the web, in zip files, demos or via a CD collection, whether free or not. This means no web pages, text files, demo projects, classes, or databases that replicate the source found here. If you find something of interest please refer users to the corresponding page, or link to the page(s) of interest. To reiterate, you are not allowed to redistribute this code as source in any manner whatsoever. For those few of you who have trouble understanding these simple guidelines, that means you cannot repost these samples on your web site (although links to here are fine), you cannot bundle these samples on a CD and sell it, in general you cannot steal credit for others work." William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 03, 2003 11:26 PM Subject: RE: [AccessD] Running local file format > Yeah if it was just copyright I'd have no issue, but it did specifically say not > to be distributed except as part of an application. Probably OK, but ... > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > Sent: Tuesday, 04 November, 2003 1:01 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Running local file format > > > > > > I THINK as long as the code says "you may use as long as the copyright > > notice remains" and you post the whole thing with the > > copyright notice, it > > is legal to post the code, especially as it isn't embedded in > > an EZine. > > It's always safer to just post the link though. People like > > visitors to > > their site.. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Stuart Sanders > > Sent: Monday, November 03, 2003 11:56 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Running local file format > > > > > > yeah I've used this for a couple of years. Was going to just > > post the code, > > but Dev has a copy right notice. > > > > Stuart > > > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, November 03, 2003 10:41 PM > > Subject: Re: [AccessD] Running local file format > > > > > > > ...hey! ...nice find, works like a charm ...as it happens I have an > > > immediate use for this little honey ...thanks :) > > > > > > William Hindman > > > - Next Year In The Free State! > > > > > > > > > ----- Original Message ----- > > > From: "Stuart Sanders" > > > To: "'Access Developers discussion and problem solving'" > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > What you want is this: > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > Regards > > > > > > > > Stuart > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > > > Jim Lawrence (AccessD) > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > This is a simple question I am sure but the life of me I can > > > > > not remember or > > > > > find the related code. (Advanced years and all) > > > > > > > > > > Can you set up Access to, under program control to > > > > > run/display any file that > > > > > the local computer recognizes, like a Word document, pdf > > > > > file, spreadsheet > > > > > or maybe a web page without writing specific code for each > > > > > type. I have > > > > > written procedures for Word Excel and Web pages but there > > > > > must be any easier > > > > > way than blocks of code for each extension. A browser web > > > > > page can do this > > > > > but can an Access program? > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > MTIA > > > > > Jim > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > 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 Nov 4 01:49:36 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 4 Nov 2003 07:49:36 -0000 Subject: [AccessD] Running local file format In-Reply-To: <002b01c3a28d$ce86b910$6001a8c0@dejpolsys> Message-ID: <00b301c3a2a8$31959d40$b274d0d5@minster33c3r25> If you're talking about the code I posted then I must state that I didn't get it from Dev's site. It is actually different but similar because it uses the same API call, but I was sent it by someone on the list, which is why I thought it was ok to post. There's no way I'd use Dev's code and take out the notices in it, or post it here if I had. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: 04 November 2003 04:41 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running local file format > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > link is it :( > > "You cannot > > copy, redistribute or republish any source code code from > this site by any means, including distributing the code on > the web, in zip files, demos or via a CD collection, whether > free or not. This means no web pages, text files, demo > projects, classes, or databases that replicate the source > found here. If you find something of interest please refer > users to the corresponding page, or link to the page(s) of interest. > > To reiterate, you are not allowed to redistribute this code > as source in any manner whatsoever. For those few of you who > have trouble understanding these simple guidelines, that > means you cannot repost these samples on your web site > (although links to here are fine), you cannot bundle these > samples on a CD and sell it, in general you cannot steal > credit for others work." > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 03, 2003 11:26 PM > Subject: RE: [AccessD] Running local file format > > > > Yeah if it was just copyright I'd have no issue, but it did > > specifically > say not > > to be distributed except as part of an application. > Probably OK, but > > ... > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > > Colby > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > copyright notice remains" and you post the whole thing with the > > > copyright notice, it is legal to post the code, especially as it > > > isn't embedded in an EZine. > > > It's always safer to just post the link though. People like > > > visitors to > > > their site.. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > > > Sanders > > > Sent: Monday, November 03, 2003 11:56 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > yeah I've used this for a couple of years. Was going to > just post > > > the code, but Dev has a copy right notice. > > > > > > Stuart > > > > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > happens I have > > > > an immediate use for this little honey ...thanks :) > > > > > > > > William Hindman > > > > - Next Year In The Free State! > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Stuart Sanders" > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > What you want is this: > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > Regards > > > > > > > > > > Stuart > > > > > > > > > > > -----Original Message----- > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Jim > > > > > > Lawrence (AccessD) > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > To: Access Developers discussion and problem solving > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > This is a simple question I am sure but the life of > me I can > > > > > > not remember or find the related code. (Advanced years and > > > > > > all) > > > > > > > > > > > > Can you set up Access to, under program control to > run/display > > > > > > any file that the local computer recognizes, like a Word > > > > > > document, pdf file, spreadsheet > > > > > > or maybe a web page without writing specific code for each > > > > > > type. I have > > > > > > written procedures for Word Excel and Web pages but there > > > > > > must be any easier > > > > > > way than blocks of code for each extension. A browser web > > > > > > page can do this > > > > > > but can an Access program? > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > MTIA > > > > > > Jim > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 wdhindman at bellsouth.net Tue Nov 4 02:00:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 4 Nov 2003 03:00:01 -0500 Subject: [AccessD] Running local file format References: <00b301c3a2a8$31959d40$b274d0d5@minster33c3r25> Message-ID: <000601c3a2a9$a63b4220$6001a8c0@dejpolsys> ...no Andy ...not referring to your code post at all ...I was replying to JC & Stuart's discussion whether it was OK for Stuart to post the code from Dev's site rather than the link :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 2:49 AM Subject: RE: [AccessD] Running local file format > If you're talking about the code I posted then I must state that I > didn't get it from Dev's site. It is actually different but similar > because it uses the same API call, but I was sent it by someone on the > list, which is why I thought it was ok to post. There's no way I'd use > Dev's code and take out the notices in it, or post it here if I had. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > William Hindman > > Sent: 04 November 2003 04:41 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Running local file format > > > > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > > link is it :( > > > > "You cannot > > > > copy, redistribute or republish any source code code from > > this site by any means, including distributing the code on > > the web, in zip files, demos or via a CD collection, whether > > free or not. This means no web pages, text files, demo > > projects, classes, or databases that replicate the source > > found here. If you find something of interest please refer > > users to the corresponding page, or link to the page(s) of interest. > > > > To reiterate, you are not allowed to redistribute this code > > as source in any manner whatsoever. For those few of you who > > have trouble understanding these simple guidelines, that > > means you cannot repost these samples on your web site > > (although links to here are fine), you cannot bundle these > > samples on a CD and sell it, in general you cannot steal > > credit for others work." > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: "Stuart Sanders" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 03, 2003 11:26 PM > > Subject: RE: [AccessD] Running local file format > > > > > > > Yeah if it was just copyright I'd have no issue, but it did > > > specifically > > say not > > > to be distributed except as part of an application. > > Probably OK, but > > > ... > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > > > Colby > > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > > copyright notice remains" and you post the whole thing with the > > > > copyright notice, it is legal to post the code, especially as it > > > > isn't embedded in an EZine. > > > > It's always safer to just post the link though. People like > > > > visitors to > > > > their site.. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > > > > Sanders > > > > Sent: Monday, November 03, 2003 11:56 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > yeah I've used this for a couple of years. Was going to > > just post > > > > the code, but Dev has a copy right notice. > > > > > > > > Stuart > > > > > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > > happens I have > > > > > an immediate use for this little honey ...thanks :) > > > > > > > > > > William Hindman > > > > > - Next Year In The Free State! > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Stuart Sanders" > > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > > What you want is this: > > > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > > > Regards > > > > > > > > > > > > Stuart > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Jim > > > > > > > Lawrence (AccessD) > > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > > To: Access Developers discussion and problem solving > > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > > > This is a simple question I am sure but the life of > > me I can > > > > > > > not remember or find the related code. (Advanced years and > > > > > > > all) > > > > > > > > > > > > > > Can you set up Access to, under program control to > > run/display > > > > > > > any file that the local computer recognizes, like a Word > > > > > > > document, pdf file, spreadsheet > > > > > > > or maybe a web page without writing specific code for each > > > > > > > type. I have > > > > > > > written procedures for Word Excel and Web pages but there > > > > > > > must be any easier > > > > > > > way than blocks of code for each extension. A browser web > > > > > > > page can do this > > > > > > > but can an Access program? > > > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > > > MTIA > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Nov 4 02:33:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 4 Nov 2003 09:33:38 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: <3FA6C306.9030506@shaw.ca> References: <8615823653.20031103132209@cactus.dk> <3FA6AC54.4060600@shaw.ca> <3FA6C306.9030506@shaw.ca> Message-ID: <632277374.20031104093338@cactus.dk> Thanks Marty! I'll have a look. /gustav > Here are some other uses of InfoPath from Jean Paoli, the architect of > Microsoft Office's XML > http://www.infoworld.com/article/03/02/20/08stratdev_1.html From andy at minstersystems.co.uk Tue Nov 4 01:58:15 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 4 Nov 2003 8:58:15 +0100 Subject: [AccessD] Running local file format Message-ID: <20031104085813.349DC24EDE7@smithers.nildram.co.uk> ok, thanks William. I was a bit concerned there for a moment. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Running local file format Date: 04/11/03 13:01 ....no Andy ...not referring to your code post at all ...I was replying to JC & Stuart's discussion whether it was OK for Stuart to post the code from Dev's site rather than the link :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 2:49 AM Subject: RE: [AccessD] Running local file format > If you're talking about the code I posted then I must state that I > didn't get it from Dev's site. It is actually different but similar > because it uses the same API call, but I was sent it by someone on the > list, which is why I thought it was ok to post. There's no way I'd use > Dev's code and take out the notices in it, or post it here if I had. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > William Hindman > > Sent: 04 November 2003 04:41 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Running local file format > > > > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > > link is it :( > > > > "You cannot > > > > copy, redistribute or republish any source code code from > > this site by any means, including distributing the code on > > the web, in zip files, demos or via a CD collection, whether > > free or not. This means no web pages, text files, demo > > projects, classes, or databases that replicate the source > > found here. If you find something of interest please refer > > users to the corresponding page, or link to the page(s) of interest. > > > > To reiterate, you are not allowed to redistribute this code > > as source in any manner whatsoever. For those few of you who > > have trouble understanding these simple guidelines, that > > means you cannot repost these samples on your web site > > (although links to here are fine), you cannot bundle these > > samples on a CD and sell it, in general you cannot steal > > credit for others work." > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: "Stuart Sanders" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Monday, November 03, 2003 11:26 PM > > Subject: RE: [AccessD] Running local file format > > > > > > > Yeah if it was just copyright I'd have no issue, but it did > > > specifically > > say not > > > to be distributed except as part of an application. > > Probably OK, but > > > ... > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > > > Colby > > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > > copyright notice remains" and you post the whole thing with the > > > > copyright notice, it is legal to post the code, especially as it > > > > isn't embedded in an EZine. > > > > It's always safer to just post the link though. People like > > > > visitors to > > > > their site.. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > > > > Sanders > > > > Sent: Monday, November 03, 2003 11:56 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > yeah I've used this for a couple of years. Was going to > > just post > > > > the code, but Dev has a copy right notice. > > > > > > > > Stuart > > > > > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > > happens I have > > > > > an immediate use for this little honey ...thanks :) > > > > > > > > > > William Hindman > > > > > - Next Year In The Free State! > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Stuart Sanders" > > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > > What you want is this: > > > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > > > Regards > > > > > > > > > > > > Stuart > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Jim > > > > > > > Lawrence (AccessD) > > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > > To: Access Developers discussion and problem solving > > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > > > This is a simple question I am sure but the life of > > me I can > > > > > > > not remember or find the related code. (Advanced years and > > > > > > > all) > > > > > > > > > > > > > > Can you set up Access to, under program control to > > run/display > > > > > > > any file that the local computer recognizes, like a Word > > > > > > > document, pdf file, spreadsheet > > > > > > > or maybe a web page without writing specific code for each > > > > > > > type. I have > > > > > > > written procedures for Word Excel and Web pages but there > > > > > > > must be any easier > > > > > > > way than blocks of code for each extension. A browser web > > > > > > > page can do this > > > > > > > but can an Access program? > > > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > > > MTIA > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 sent using UebiMiau 2.7.2 From stuart at pacific.net.hk Tue Nov 4 03:11:52 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 17:11:52 +0800 Subject: [AccessD] Running local file format In-Reply-To: <20031104085813.349DC24EDE7@smithers.nildram.co.uk> Message-ID: <000301c3a2b3$afed5c40$5100a8c0@BITSNB02> There is generally only one real way to use API calls. It is kind of silly to copyright an API wrapper that just about anyone can duplicate with some effort, and was probably translated from a C implementation anyway. I guess if it ever came to a law-suit (highly unlikely I think), it would be fairly simple to prove that it is for 2 people to come up with almost identical same code. I'm almost curious to see what a hunt on MSDN brings up. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Tuesday, 04 November, 2003 3:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running local file format > > > ok, thanks William. I was a bit concerned there for a moment. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Running local file format > Date: 04/11/03 13:01 > > > ....no Andy ...not referring to your code post at all ...I > was replying to > JC > & Stuart's discussion whether it was OK for Stuart to post > the code from > Dev's site rather than the link :) > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, November 04, 2003 2:49 AM > Subject: RE: [AccessD] Running local file format > > > > If you're talking about the code I posted then I must state that I > > didn't get it from Dev's site. It is actually different but similar > > because it uses the same API call, but I was sent it by > someone on the > > list, which is why I thought it was ok to post. There's no > way I'd use > > Dev's code and take out the notices in it, or post it here if I had. > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > William Hindman > > > Sent: 04 November 2003 04:41 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > ...frm Dev's Terms of Use ...seems pretty clear to me that a > > > link is it :( > > > > > > "You cannot > > > > > > copy, redistribute or republish any source code code from > > > this site by any means, including distributing the code on > > > the web, in zip files, demos or via a CD collection, whether > > > free or not. This means no web pages, text files, demo > > > projects, classes, or databases that replicate the source > > > found here. If you find something of interest please refer > > > users to the corresponding page, or link to the page(s) > of interest. > > > > > > To reiterate, you are not allowed to redistribute this code > > > as source in any manner whatsoever. For those few of you who > > > have trouble understanding these simple guidelines, that > > > means you cannot repost these samples on your web site > > > (although links to here are fine), you cannot bundle these > > > samples on a CD and sell it, in general you cannot steal > > > credit for others work." > > > > > > William Hindman > > > Government is not reason, government is not persuasion, > > > government is force. It is a dangerous servant." G. Washington > > > > > > ----- Original Message ----- > > > From: "Stuart Sanders" > > > To: "'Access Developers discussion and problem solving'" > > > > > > Sent: Monday, November 03, 2003 11:26 PM > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > Yeah if it was just copyright I'd have no issue, but it did > > > > specifically > > > say not > > > > to be distributed except as part of an application. > > > Probably OK, but > > > > ... > > > > > > > > Stuart > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of John > > > > > Colby > > > > > Sent: Tuesday, 04 November, 2003 1:01 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > I THINK as long as the code says "you may use as long as the > > > > > copyright notice remains" and you post the whole > thing with the > > > > > copyright notice, it is legal to post the code, > especially as it > > > > > isn't embedded in an EZine. > > > > > It's always safer to just post the link though. People like > > > > > visitors to > > > > > their site.. > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Stuart > > > > > Sanders > > > > > Sent: Monday, November 03, 2003 11:56 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > > > yeah I've used this for a couple of years. Was going to > > > just post > > > > > the code, but Dev has a copy right notice. > > > > > > > > > > Stuart > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "William Hindman" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Monday, November 03, 2003 10:41 PM > > > > > Subject: Re: [AccessD] Running local file format > > > > > > > > > > > > > > > > ...hey! ...nice find, works like a charm ...as it > > > happens I have > > > > > > an immediate use for this little honey ...thanks :) > > > > > > > > > > > > William Hindman > > > > > > - Next Year In > The Free State! > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Stuart Sanders" > > > > > > To: "'Access Developers discussion and problem solving'" > > > > > > > > > > > > Sent: Monday, November 03, 2003 5:26 AM > > > > > > Subject: RE: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > What you want is this: > > > > > > > > > > > > > > http://www.mvps.org/access/api/api0018.htm > > > > > > > > > > > > > > Regards > > > > > > > > > > > > > > Stuart > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: accessd-bounces at databaseadvisors.com > > > > > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > > Behalf Of Jim > > > > > > > > Lawrence (AccessD) > > > > > > > > Sent: Monday, 03 November, 2003 3:47 PM > > > > > > > > To: Access Developers discussion and problem solving > > > > > > > > Subject: [AccessD] Running local file format > > > > > > > > > > > > > > > > > > > > > > > > Hi All: > > > > > > > > > > > > > > > > This is a simple question I am sure but the life of > > > me I can > > > > > > > > not remember or find the related code. > (Advanced years and > > > > > > > > all) > > > > > > > > > > > > > > > > Can you set up Access to, under program control to > > > run/display > > > > > > > > any file that the local computer recognizes, like a Word > > > > > > > > document, pdf file, spreadsheet > > > > > > > > or maybe a web page without writing specific > code for each > > > > > > > > type. I have > > > > > > > > written procedures for Word Excel and Web pages > but there > > > > > > > > must be any easier > > > > > > > > way than blocks of code for each extension. A > browser web > > > > > > > > page can do this > > > > > > > > but can an Access program? > > > > > > > > > > > > > > > > Any suggestions would be greatly appreciated > > > > > > > > > > > > > > > > MTIA > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > AccessD mailing list > > > > > > > > AccessD at databaseadvisors.com > > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.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 > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Tue Nov 4 03:35:58 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 04 Nov 2003 19:35:58 +1000 Subject: [AccessD] Running local file format In-Reply-To: <000301c3a2b3$afed5c40$5100a8c0@BITSNB02> References: <20031104085813.349DC24EDE7@smithers.nildram.co.uk> Message-ID: <3FA7FF9E.25074.14AE381@localhost> On 4 Nov 2003 at 17:11, Stuart Sanders wrote: > There is generally only one real way to use API calls. It is kind of silly to > copyright an API wrapper that just about anyone can duplicate with some effort, > and was probably translated from a C implementation anyway. > > I guess if it ever came to a law-suit (highly unlikely I think), it would be > fairly simple to prove that it is for 2 people to come up with almost identical > same code. > > I'm almost curious to see what a hunt on MSDN brings up. > > Stuart > I've posted my own ShellExecute() wrapper on this list a couple of times already. The only real difference between it and Dev's is in the variable names. It certainly was not based on Dev's code and quite probably pre-dates it. Should I try to sure Dev? :-) The Other Stuart From stuart at pacific.net.hk Tue Nov 4 03:51:17 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 4 Nov 2003 17:51:17 +0800 Subject: [AccessD] Running local file format In-Reply-To: <000301c3a2b3$afed5c40$5100a8c0@BITSNB02> Message-ID: <000501c3a2b9$31552920$5100a8c0@BITSNB02> > -----Original Message----- > I guess if it ever came to a law-suit (highly unlikely I > think), it would be > fairly simple to prove that it is for 2 people to come up > with almost identical > same code. Bleh ... My typing isn't keeping up with my thought processes ... Or then again maybe for once it did.. It should read: "I guess if it ever came to a law-suit (highly unlikely I think), it would be fairly simple to prove that it is easy for 2 people to come up with almost identical code." Stuart (it would be easier if you used Stewart :p) From carbonnb at sympatico.ca Tue Nov 4 05:31:04 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue, 04 Nov 2003 06:31:04 -0500 Subject: [AccessD] Running local file format In-Reply-To: <00f501c3a28b$e2dcc960$5100a8c0@BITSNB02> References: Message-ID: <3FA747A8.8876.1D091C@localhost> On 4 Nov 2003 at 12:26, Stuart Sanders wrote: > Yeah if it was just copyright I'd have no issue, but it did > specifically say not to be distributed except as part of an > application. Probably OK, but ... Probably not if is says specifically not to be distributed except as part of an app. It's better to post websites, because you never know what else someone will find useful on the site. Not to mention the possible legal issues that may be involved. -- Bryan Carbonnell - carbonnb at sympatico.ca If you can't be a good example, then you'll just have to be a horrible warning. From R.Griffiths at bury.gov.uk Tue Nov 4 07:01:17 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 4 Nov 2003 13:01:17 -0000 Subject: [AccessD] A97 Install Problem Message-ID: Hi Group A97 App installation using Setup Wizard deployment (to run runtime MS Access 97) Had a strange problem with a Windows 2000 pc. (works okay elsewhere) Just before the installation completes get the message.... Title Bar: acmesetup.exe 'Bad image' with the message content being: The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid windows image. Please check againt installation diskette. Application files seem to install ok and folder set up ok but cannot run app. After creating a shortcut (as the setup one did not install) I get the message... "There Is No License" for .... Anyone any ideas??? Many thanks in advance Richard From cfoust at infostatsystems.com Tue Nov 4 10:00:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 08:00:50 -0800 Subject: [AccessD] A97 Install Problem Message-ID: Take a look at this MSKB article http://support.microsoft.com/default.aspx?scid=kb;en-us;141373&Product=a cc and see if it helps. From the sounds of it, you may have a bad setup image. Charlotte Foust -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, November 04, 2003 5:01 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] A97 Install Problem Hi Group A97 App installation using Setup Wizard deployment (to run runtime MS Access 97) Had a strange problem with a Windows 2000 pc. (works okay elsewhere) Just before the installation completes get the message.... Title Bar: acmesetup.exe 'Bad image' with the message content being: The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid windows image. Please check againt installation diskette. Application files seem to install ok and folder set up ok but cannot run app. After creating a shortcut (as the setup one did not install) I get the message... "There Is No License" for .... Anyone any ideas??? Many thanks in advance Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 4 10:03:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 08:03:57 -0800 Subject: [AccessD] A2k - BE corruption??? Message-ID: If the client is using something older than Jet SP3, that may be the source of your problem. Get them updated to at least SP6. Otherwise, there are a bunch of gotchas that may "corrupt" your data. The versions of Office don't matter so much as long as A2k is running on both. Are both versions of A2k patched to the same SR level? Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Monday, November 03, 2003 4:22 PM To: AccessD List Subject: [AccessD] A2k - BE corruption??? Dear Mates: I would like to have your opinion on this matter. I developed an A2k database system with three identical FE's and one BE. It has data from jan2001 to now. Upon executing a simple select query I noticed that I could not retrieve any records from 2002. The same query executed on a BE backup copy from jul2003 returned all due records. Is this a BE corruption??? I tried "Compact and repair...", JetComp and import all tables to a new BE with no better results. Things that called my attention: 1- I use Jet 4.0 SP6 and my client uses something older than SP3; 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office 97. Thanks for any input, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Tue Nov 4 10:11:37 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 04 Nov 2003 08:11:37 -0800 Subject: [AccessD] A2k - BE corruption??? In-Reply-To: References: Message-ID: <3FA7CFB9.5090003@verizon.net> I would try and update his copy of Jet to SP6 to see if your results change. Carlos Alberto Alves wrote: > Dear Mates: > I would like to have your opinion on this matter. I developed an A2k > database system with three identical FE's and one BE. It has data from > jan2001 to now. Upon executing a simple select query I noticed that I > could not retrieve any records from 2002. The same query executed on a > BE backup copy from jul2003 returned all due records. > Is this a BE corruption??? I tried ???Compact and repair...???, > JetComp and import all tables to a new BE with no better results. > Things that called my attention: > 1- I use Jet 4.0 SP6 and my client uses something older than SP3; > 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office > 97. > Thanks for any input, -- -Francisco From cfoust at infostatsystems.com Tue Nov 4 10:10:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 08:10:03 -0800 Subject: [AccessD] A97 Install Problem Message-ID: Ooops. Watch out for the wrap! Charlotte Foust -----Original Message----- From: Charlotte Foust Sent: Tuesday, November 04, 2003 8:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A97 Install Problem Take a look at this MSKB article http://support.microsoft.com/default.aspx?scid=kb;en-us;141373&Product=a cc and see if it helps. From the sounds of it, you may have a bad setup image. Charlotte Foust -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, November 04, 2003 5:01 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] A97 Install Problem Hi Group A97 App installation using Setup Wizard deployment (to run runtime MS Access 97) Had a strange problem with a Windows 2000 pc. (works okay elsewhere) Just before the installation completes get the message.... Title Bar: acmesetup.exe 'Bad image' with the message content being: The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid windows image. Please check againt installation diskette. Application files seem to install ok and folder set up ok but cannot run app. After creating a shortcut (as the setup one did not install) I get the message... "There Is No License" for .... Anyone any ideas??? Many thanks in advance 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 DWUTKA at marlow.com Tue Nov 4 10:16:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 4 Nov 2003 10:16:00 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274A0@main2.marlow.com> Oh, I keep the door open, and there's a nice big hole in the wall, so there's plenty of airflow. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, November 03, 2003 4:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Noisy computer On 3 Nov 2003 at 11:40, Drew Wutka wrote: > To tie this into an Access related (actually AccessD related) post, in my > old place (one before the fire), I had my servers near the foot of my > bed...and those things were NOISY. Of course, one of the fans was going > out, so that didn't help! But now that they're in the closet, I can > soundly sleep at night, and still host the archives! (Come on, give > me points for trying to tie that in!) > Until the archives get lost because the servers overheat and melt down without adequate airflow? :-) -- 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 R.Griffiths at bury.gov.uk Tue Nov 4 10:16:01 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 4 Nov 2003 16:16:01 -0000 Subject: [AccessD] A97 Install Problem Message-ID: Many thanks. I'll give it a try > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: 04 November 2003 16:10 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A97 Install Problem > > Ooops. Watch out for the wrap! > > Charlotte Foust > > -----Original Message----- > From: Charlotte Foust > Sent: Tuesday, November 04, 2003 8:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A97 Install Problem > > > Take a look at this MSKB article > http://support.microsoft.com/default.aspx?scid=kb;en-us;141373&Product=a > cc and see if it helps. From the sounds of it, you may have a bad setup > image. > > Charlotte Foust > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Tuesday, November 04, 2003 5:01 AM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] A97 Install Problem > > > Hi Group > > A97 App installation using Setup Wizard deployment (to run runtime MS > Access > 97) > > Had a strange problem with a Windows 2000 pc. (works okay elsewhere) > > Just before the installation completes get the message.... > > Title Bar: acmesetup.exe 'Bad image' > > with the message content being: > > The application or DLL C:\~MSSETUP\~MSSTFQF.T\32AUTOLE.DLLis not a valid > windows image. Please check againt installation diskette. > > > Application files seem to install ok and folder set up ok but cannot run > app. After creating a shortcut (as the setup one did not install) I get > the message... > > "There Is No License" for .... > Anyone any ideas??? > Many thanks in advance > 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 From DWUTKA at marlow.com Tue Nov 4 10:18:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 4 Nov 2003 10:18:33 -0600 Subject: [AccessD] Summarizing like data - suggestions? Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274A1@main2.marlow.com> Group By Emplid, Name, Rate, and Title. Sum both Hours fields. Drew -----Original Message----- From: Brown, Bryan [mailto:Bryan.Brown at acsalaska.com] Sent: Monday, November 03, 2003 6:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Summarizing like data - suggestions? Hi everyone, I listen a lot and offer help when I'm able (which, as a relative newcomer when compared to many of you, is not often) and now I could use some help. I have two tables of like data (or it could be one table with multiple rows of similar records) and I need to combine the records when appropriate into one table... It seems simple enough, but it eludes me. I have about 3000 records to compare and summarize. If all data elements, except hours, are the same then, I add the hours, else I have to have separate entries. Any suggestions would be appreciated - Thanks! Example of Multiple rows in one table: Sample Data Before Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;40 ;22 100002;Bob ; 9.00;Waiter ;60 ;10 Desired Result Data after Summary Emplid;Name;Rate ;Title ;Hours1;Hours2 100001;Fred; 9.50;Dishwasher;40 ;22 100001;Fred;15.00;Head Cook ;35 ;18 100002;Bob ; 9.00;Waiter ;100 ;32 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. ACS3/11/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Nov 4 10:51:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 4 Nov 2003 11:51:43 -0500 Subject: [AccessD] OT: Noisy computer References: <2F8793082E00D4119A1700B0D0216BF8022274A0@main2.marlow.com> Message-ID: <002c01c3a2f3$ed25b590$6001a8c0@dejpolsys> "there's a nice big hole in the wall" Drew ...the results of your beating your head against it no doubt :)))) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 11:16 AM Subject: RE: [AccessD] OT: Noisy computer > Oh, I keep the door open, and there's a nice big hole in the wall, so > there's plenty of airflow. > > Drew > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Monday, November 03, 2003 4:19 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Noisy computer > > > On 3 Nov 2003 at 11:40, Drew Wutka wrote: > > > To tie this into an Access related (actually AccessD related) post, in my > > old place (one before the fire), I had my servers near the foot of my > > bed...and those things were NOISY. Of course, one of the fans was going > > out, so that didn't help! But now that they're in the closet, I can > > soundly sleep at night, and still host the archives! (Come on, give > > me points for trying to tie that in!) > > > > Until the archives get lost because the servers overheat and melt > down without adequate airflow? :-) > > > > > > > -- > 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 DWUTKA at marlow.com Tue Nov 4 11:05:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 4 Nov 2003 11:05:21 -0600 Subject: [AccessD] OT: Noisy computer Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274A7@main2.marlow.com> No, the results of not having an outlet in there. Needed to run a lot of cords, and just didn't feel like snaking em. So I put a hole in the way about 6" in diameter. Might be smaller then that, but with the door cracked, it's plenty of air flow! And still not very noisy. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 04, 2003 10:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Noisy computer "there's a nice big hole in the wall" Drew ...the results of your beating your head against it no doubt :)))) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 04, 2003 11:16 AM Subject: RE: [AccessD] OT: Noisy computer > Oh, I keep the door open, and there's a nice big hole in the wall, so > there's plenty of airflow. > > Drew > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Monday, November 03, 2003 4:19 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Noisy computer > > > On 3 Nov 2003 at 11:40, Drew Wutka wrote: > > > To tie this into an Access related (actually AccessD related) post, in my > > old place (one before the fire), I had my servers near the foot of my > > bed...and those things were NOISY. Of course, one of the fans was going > > out, so that didn't help! But now that they're in the closet, I can > > soundly sleep at night, and still host the archives! (Come on, give > > me points for trying to tie that in!) > > > > Until the archives get lost because the servers overheat and melt > down without adequate airflow? :-) > > > > > > > -- > 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 jcolby at colbyconsulting.com Tue Nov 4 11:37:24 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 4 Nov 2003 12:37:24 -0500 Subject: [AccessD] data not entered error not triggering Message-ID: I have a wierd thing occurring. I have a form where the user enters data. If they don't select a combo (put a FK in a field) and try to close the form by clicking the x in the upper right corner, an error is triggered. If they click my close button, the form closes but the JET data error never triggers. My close button just does a docmd.close. has anyone ever seen this? John W. Colby www.colbyconsulting.com From ssharkins at bellsouth.net Tue Nov 4 14:03:36 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Nov 2003 15:03:36 -0500 Subject: [AccessD] OFF TOPIC Message-ID: <007c01c3a30e$bbd6ec00$220110ac@SUSANONE> Does anyone remember a download utility that you could use to alter the Database window Objects toolbar in the Database window. I vaguely remember that they referred to it as the Places toolbar -- might be wrong about that, I just can't remember now. I've been trying to find the utility at MS but can't so I don't know if this is just another one of my "lost touch with reality" memories or if I'm just keying in the wrong search criteria. I've searched on Objects and Places bar and toolbar, and even Access utilities and add-in. :( Susan H. From cfoust at infostatsystems.com Tue Nov 4 14:16:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Nov 2003 12:16:33 -0800 Subject: [AccessD] OFF TOPIC Message-ID: How are you trying to alter it? You can change the items on it and change their order by using the Customize option from the menubar/toolbar. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, November 04, 2003 12:04 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OFF TOPIC Does anyone remember a download utility that you could use to alter the Database window Objects toolbar in the Database window. I vaguely remember that they referred to it as the Places toolbar -- might be wrong about that, I just can't remember now. I've been trying to find the utility at MS but can't so I don't know if this is just another one of my "lost touch with reality" memories or if I'm just keying in the wrong search criteria. I've searched on Objects and Places bar and toolbar, and even Access utilities and add-in. :( Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Tue Nov 4 14:22:44 2003 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 4 Nov 2003 22:22:44 +0200 Subject: [AccessD] MSACCESS 2003 can't find the wizards... References: <2F8793082E00D4119A1700B0D0216BF8022273EC@main2.marlow.com> Message-ID: <002001c3a311$6cea93f0$0100a8c0@kost36> HI group I used an Office XP version worked fine I have just installed a trial version of OFFICE 2003. While working I discovered that none of the access wizards works The message I get, even when I try to run he ADD-IN manager is Can't find the Wizard, or the wizard has not been installed or there is a syntax error in the Declarations sections of a Visual Basic Module. The wizard you need may be missing from thw Libraries key of the ... section of the Windows Registry bla bla bla... I have installed office two times but the problem remains the same Could anybody know how to fix that? Thank's all Kostas Konstantinidis From Oleg_123 at xuppa.com Tue Nov 4 14:28:37 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 4 Nov 2003 15:28:37 -0500 (EST) Subject: [AccessD] CopyObject macro In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> Message-ID: <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> Hey Group Is there a way to,(using a CopyObjectMacro) to copy a table, an save under the same name + today's date ? ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From ssharkins at bellsouth.net Tue Nov 4 14:44:47 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Nov 2003 15:44:47 -0500 Subject: [AccessD] OFF TOPIC References: Message-ID: <00f001c3a314$80d54600$220110ac@SUSANONE> It's possible Charlotte, that the utility has been replaced with the built-in features. I can't remember enough about it to say for sure and was hoping someone else would remember it and put me out of my misery. :) Susan H. > How are you trying to alter it? You can change the items on it and > change their order by using the Customize option from the > menubar/toolbar. From jimdettman at earthlink.net Tue Nov 4 14:53:07 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 4 Nov 2003 15:53:07 -0500 Subject: [AccessD] OFF TOPIC In-Reply-To: <007c01c3a30e$bbd6ec00$220110ac@SUSANONE> Message-ID: Susan, I haven't seen or heard of anything like that. Sorry. 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: Tuesday, November 04, 2003 3:04 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OFF TOPIC Does anyone remember a download utility that you could use to alter the Database window Objects toolbar in the Database window. I vaguely remember that they referred to it as the Places toolbar -- might be wrong about that, I just can't remember now. I've been trying to find the utility at MS but can't so I don't know if this is just another one of my "lost touch with reality" memories or if I'm just keying in the wrong search criteria. I've searched on Objects and Places bar and toolbar, and even Access utilities and add-in. :( Susan H. _______________________________________________ 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 Nov 4 15:42:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 05 Nov 2003 07:42:55 +1000 Subject: [AccessD] CopyObject macro In-Reply-To: <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> Message-ID: <3FA8A9FF.8242.2D48C3@localhost> On 4 Nov 2003 at 15:28, Oleg_123 at xuppa.com wrote: > Hey Group > > Is there a way to,(using a CopyObjectMacro) to copy a table, an save under > the same name + today's date ? > > CopyObject macro can't take a function as an argument, it needs a simple string, so without finding the entry in msysAccessObjects and hacking it, there is no way that I can think of. Why do you need to use a CopyObject macro. How about a function: Function CopyTable(TableName as String) DoCmd.CopyObject , TableName & Format$(Date, "yymmdd"), acTable, TableName End Function If you *really* need a macro , create one which calls the function using Runcode. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Tue Nov 4 15:54:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 4 Nov 2003 13:54:38 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: <020b01c3a31e$3e94a060$6501a8c0@HAL9002> Dear List: I have a database from a client which seems pretty well hosed (A2K). When you start it you get the message "Database (database name) needs to be repaired or isn;t a database". I say go ahead and let Access try to repair it but it ends in an abnormal termination of access. I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an import into a fresh database either. I'm out of tricks. Are there any other approaches? TIA, Rocky Smolin Beach Access Software From jeffrey.demulling at usbank.com Tue Nov 4 15:59:37 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 4 Nov 2003 15:59:37 -0600 Subject: [AccessD] Help with Query - Should be simple but my brian is fried Message-ID: First off forgive me for asking about this as I should remember how to do this but it has been a long day today. I have a table with the following fields (Field Type in Paras): TransactionNumber (Autonumber) FundNumber (LongInteger) TransactionDate (Date) TransactionAmount (Double) TransactionComments (Text:255) What I need to do is have an output similar to the following: TransacationDate Transaction Amount Running Total for Fund This is sorted by Transaction Date Thanks for your help. From Oleg_123 at xuppa.com Tue Nov 4 16:01:37 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 4 Nov 2003 17:01:37 -0500 (EST) Subject: [AccessD] CopyObject macro In-Reply-To: <3FA8A9FF.8242.2D48C3@localhost> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <3FA8A9FF.8242.2D48C3@localhost> Message-ID: <29737.12.3.132.98.1067983297.squirrel@heck.bay9.com> Thanks a lot Stuart, I did put it as RunCode in Macro and called the function (this had to be a part of one large macro) :--) > On 4 Nov 2003 at 15:28, Oleg_123 at xuppa.com wrote: > >> Hey Group >> >> Is there a way to,(using a CopyObjectMacro) to copy a table, an save >> under the same name + today's date ? >> >> > > CopyObject macro can't take a function as an argument, it needs a > simple string, so without finding the entry in msysAccessObjects and > hacking it, there is no way that I can think of. > > Why do you need to use a CopyObject macro. How about a function: > > Function CopyTable(TableName as String) > DoCmd.CopyObject , TableName & Format$(Date, "yymmdd"), acTable, > TableName > End Function > > If you *really* need a macro , create one which calls the function > using Runcode. > > > -- > 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 ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From garykjos at hotmail.com Tue Nov 4 16:21:23 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 04 Nov 2003 16:21:23 -0600 Subject: [AccessD] OT: Corrupted database Message-ID: If you have a known good copy of it you can try to open that in a editor, copy and paste the beginning of that file on top of the hosed one (a copy of the hosed one actually) save the tweaked file and see if you can open it then to try and copy out what you can. Sometimes the header at the beginning of the file get's trashed. Never done it, only heard about it. Proceed at your own risk. Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] OT: Corrupted database >Date: Tue, 4 Nov 2003 13:54:38 -0800 > >Dear List: > >I have a database from a client which seems pretty well hosed (A2K). When >you start it you get the message "Database (database name) needs to be >repaired or isn;t a database". I say go ahead and let Access try to repair >it but it ends in an abnormal termination of access. > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an >import into a fresh database either. > >I'm out of tricks. Are there any other approaches? > >TIA, > >Rocky Smolin >Beach Access Software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare high-speed Internet plans, starting at $26.95. https://broadband.msn.com (Prices may vary by service area.) From bchacc at san.rr.com Tue Nov 4 16:33:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 4 Nov 2003 14:33:29 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <02ce01c3a323$ab8e04e0$6501a8c0@HAL9002> Gary: I'm looking at then and they do look different. How do I know where the header ends, or how much to copy and paste? Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Tuesday, November 04, 2003 2:21 PM Subject: Re: [AccessD] OT: Corrupted database > If you have a known good copy of it you can try to open that in a editor, > copy and paste the beginning of that file on top of the hosed one (a copy of > the hosed one actually) save the tweaked file and see if you can open it > then to try and copy out what you can. Sometimes the header at the beginning > of the file get's trashed. Never done it, only heard about it. Proceed at > your own risk. > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] OT: Corrupted database > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > >Dear List: > > > >I have a database from a client which seems pretty well hosed (A2K). When > >you start it you get the message "Database (database name) needs to be > >repaired or isn;t a database". I say go ahead and let Access try to repair > >it but it ends in an abnormal termination of access. > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > >import into a fresh database either. > > > >I'm out of tricks. Are there any other approaches? > > > >TIA, > > > >Rocky Smolin > >Beach Access Software > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Compare high-speed Internet plans, starting at $26.95. > https://broadband.msn.com (Prices may vary by service area.) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Tue Nov 4 16:54:59 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 4 Nov 2003 17:54:59 -0500 Subject: [AccessD] Help with Query - Should be simple but my brian is fried References: Message-ID: <023001c3a326$acc481b0$6001a8c0@dejpolsys> ..I'm confused ...you want it sorted by transaction date but you want a running total by fund ...but the FundNumber isn't an output field you can group on? William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: Sent: Tuesday, November 04, 2003 4:59 PM Subject: [AccessD] Help with Query - Should be simple but my brian is fried > > First off forgive me for asking about this as I should remember how to do > this but it has been a long day today. > > > > > > I have a table with the following fields (Field Type in Paras): > > > TransactionNumber (Autonumber) > > > FundNumber (LongInteger) > > > TransactionDate (Date) > > > TransactionAmount (Double) > > > TransactionComments (Text:255) > > > What I need to do is have an output similar to the following: > > > > > > TransacationDate > > > Transaction Amount > > > Running Total for Fund > > > This is sorted by Transaction Date > > > > > > Thanks for your help. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lists at jbsolutions.com.au Tue Nov 4 17:00:59 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 5 Nov 2003 9:0:59 +1000 Subject: [AccessD] OFF TOPIC Message-ID: <200311042300.hA4N0v602236@databaseadvisors.com> Hello Susan Harkins, The "Places Bar" is not actually the objects toolbar. It is the bar down the side of the Open/Save Dialog in O2K and greater. It can be tweaked using registry tricks, and there is also quite a few programs that will do the job for you. Have a look here... http://www.primeconsulting.com/faqs/faq0301-05.html As far as the Object Bar is concerned, as Charlotte said, it is fairly customisable in it's own right. HTH ======= At 2003-11-04, 15:03:00 you wrote: ======= >Does anyone remember a download utility that you could use to alter the >Database window Objects toolbar in the Database window. I vaguely remember >that they referred to it as the Places toolbar -- might be wrong about that, >I just can't remember now. > >I've been trying to find the utility at MS but can't so I don't know if this >is just another one of my "lost touch with reality" memories or if I'm just >keying in the wrong search criteria. I've searched on Objects and Places bar >and toolbar, and even Access utilities and add-in. :( > >Susan H. = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-11-05 From ssharkins at bellsouth.net Tue Nov 4 17:07:06 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Nov 2003 18:07:06 -0500 Subject: [AccessD] OFF TOPIC References: <200311042300.hA4N0v602236@databaseadvisors.com> Message-ID: <001901c3a328$fc96b3a0$220110ac@SUSANONE> Ok, I'm sorry -- I think you are correct -- I'm talking about the Outlook-style bar that was introduced several versions ago. I generally refer to the bar in the Database window as the Objects bar because just above it is the label "Objects" But you're right -- they're two different things and that has probably been the stumbling block to finding anything. Thank you. Susan H. > Hello Susan Harkins, > > The "Places Bar" is not actually the objects toolbar. It is the bar down the side of the Open/Save Dialog in O2K and greater. It can be tweaked using registry tricks, and there is also quite a few programs that will do the job for you. Have a look here... http://www.primeconsulting.com/faqs/faq0301-05.html > > As far as the Object Bar is concerned, as Charlotte said, it is fairly customisable in it's own right. > > HTH > > ======= At 2003-11-04, 15:03:00 you wrote: ======= > > >Does anyone remember a download utility that you could use to alter the > >Database window Objects toolbar in the Database window. I vaguely remember > >that they referred to it as the Places toolbar -- might be wrong about that, > >I just can't remember now. > > > >I've been trying to find the utility at MS but can't so I don't know if this > >is just another one of my "lost touch with reality" memories or if I'm just > >keying in the wrong search criteria. I've searched on Objects and Places bar > >and toolbar, and even Access utilities and add-in. :( > > > >Susan H. > > = = = = = = = = = = = = = = = = = = = = > > > Best regards. > Joshua B > lists at jbsolutions.com.au > www.jbsolutions.com.au > 2003-11-05 > > > > _______________________________________________ > 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 Nov 4 17:23:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 05 Nov 2003 09:23:55 +1000 Subject: [AccessD] Help with Query - Should be simple but my brian is fried In-Reply-To: <023001c3a326$acc481b0$6001a8c0@dejpolsys> Message-ID: <3FA8C1AB.13960.4472B@localhost> William, You can read between the lines and handle the "by fund", the problem is getting a running sum in a *query* rather than a report. Jeffrey, Do you really mean in a query, or will a report do it. On 4 Nov 2003 at 17:54, William Hindman wrote: > ..I'm confused ...you want it sorted by transaction date but you want a > running total by fund ...but the FundNumber isn't an output field you can > group on? > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: > To: > Sent: Tuesday, November 04, 2003 4:59 PM > Subject: [AccessD] Help with Query - Should be simple but my brian is fried > > > > > > First off forgive me for asking about this as I should remember how to do > > this but it has been a long day today. > > > > > > > > > > > > I have a table with the following fields (Field Type in Paras): > > > > > > TransactionNumber (Autonumber) > > > > > > FundNumber (LongInteger) > > > > > > TransactionDate (Date) > > > > > > TransactionAmount (Double) > > > > > > TransactionComments (Text:255) > > > > > > What I need to do is have an output similar to the following: > > > > > > > > > > > > TransacationDate > > > > > > Transaction Amount > > > > > > Running Total for Fund > > > > > > This is sorted by Transaction Date > > > > > > > > > > > > Thanks for your help. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 martyconnelly at shaw.ca Tue Nov 4 18:01:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 04 Nov 2003 16:01:18 -0800 Subject: [AccessD] A2k - BE corruption??? References: <3FA7CFB9.5090003@verizon.net> Message-ID: <3FA83DCE.2010108@shaw.ca> You must first update to Jet SP3 then update to higher level SP's at least there used to be warnings about this. The highest SP so far is SP7 for Win9x and WinNT; SP8 for WinXP 2000 and 2003. SP8 fixes some Oracle interface problems. SP7 and 8 are inclusive of patches from SP 4 through 7 Jet SP7 http://support.microsoft.com/default.aspx?scid=kb;EN-US;282010 Jet 3.5 SP3 http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en Francisco H Tapia wrote: > I would try and update his copy of Jet to SP6 to see if your results > change. > > Carlos Alberto Alves wrote: > >> Dear Mates: >> I would like to have your opinion on this matter. I developed an A2k >> database system with three identical FE's and one BE. It has data >> from jan2001 to now. Upon executing a simple select query I noticed >> that I could not retrieve any records from 2002. The same query >> executed on a BE backup copy from jul2003 returned all due records. >> Is this a BE corruption??? I tried ???Compact and repair...???, >> JetComp and import all tables to a new BE with no better results. >> Things that called my attention: >> 1- I use Jet 4.0 SP6 and my client uses something older than SP3; >> 2- I use Access 2000/Office 2000 and my client uses Access >> 2000/Office 97. >> Thanks for any input, > > > > -- Marty Connelly Victoria, B.C. Canada From demulling at centurytel.net Tue Nov 4 20:13:21 2003 From: demulling at centurytel.net (Demulling Family) Date: Tue, 04 Nov 2003 20:13:21 -0600 Subject: [AccessD] Help with Query - Should be simple but my brian is fried In-Reply-To: <3FA8C1AB.13960.4472B@localhost> References: <3FA8C1AB.13960.4472B@localhost> Message-ID: <3FA85CC1.3070000@centurytel.net> Like I said it has been a long day. I am only pulling one fund. There can be many funds in the table that the query is being based on. I would like to do the running sum in the query. But to start off with I need it done in a form and then later on in a report. Stuart McLachlan wrote: >William, >You can read between the lines and handle the "by fund", the problem >is getting a running sum in a *query* rather than a report. > >Jeffrey, >Do you really mean in a query, or will a report do it. > > > >On 4 Nov 2003 at 17:54, William Hindman wrote: > > > >>..I'm confused ...you want it sorted by transaction date but you want a >>running total by fund ...but the FundNumber isn't an output field you can >>group on? >> >>William Hindman >>Government is not reason, government is not persuasion, >>government is force. It is a dangerous servant." G. Washington >> >>----- Original Message ----- >>From: >>To: >>Sent: Tuesday, November 04, 2003 4:59 PM >>Subject: [AccessD] Help with Query - Should be simple but my brian is fried >> >> >> >> >>>First off forgive me for asking about this as I should remember how to do >>>this but it has been a long day today. >>> >>> >>> >>> >>> >>> I have a table with the following fields (Field Type in Paras): >>> >>> >>> TransactionNumber (Autonumber) >>> >>> >>> FundNumber (LongInteger) >>> >>> >>> TransactionDate (Date) >>> >>> >>> TransactionAmount (Double) >>> >>> >>> TransactionComments (Text:255) >>> >>> >>> What I need to do is have an output similar to the following: >>> >>> >>> >>> >>> >>> TransacationDate >>> >>> >>> Transaction Amount >>> >>> >>> Running Total for Fund >>> >>> >>> This is sorted by Transaction Date >>> >>> >>> >>> >>> >>> Thanks for your help. >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>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 Tue Nov 4 22:07:26 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 5 Nov 2003 15:07:26 +1100 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Message-ID: <002501c3a352$52cf02d0$3c619a89@DDICK> Hello all Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when I run the code below?? The code is almast exact of something else that is running quite well on the same form. Many thanks Darren >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Dim db As Database Dim rs As Recordset Dim strSQL As String Dim x As Long Set db = CurrentDb() strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) With rs 'If Not .EOF Then x = rs.RecordCount MsgBox x 'End If .Close End With Set rs = Nothing db.Close Set db = Nothing From andrew.haslett at ilc.gov.au Tue Nov 4 22:57:23 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Wed, 5 Nov 2003 15:27:23 +1030 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Message-ID: 1) You should try to dim your variables with its library, especially in regard to databases and recordsets. 2) You need to escape your variables from within your SQL string. 3) If all you want is a count of records, there's no need to retrieve an entire recordset. Use DCOUNT function or SELECT COUNT. 4) You can use ME instead of the full form name, if you are running this code from an event of the same form, So to fix the intital problem: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Dim db DAO.As Database Dim rs As DAO.Recordset Dim strSQL As String Dim x As Long Set db = CurrentDb() strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID _ FROM tblAssesmentResults _ WHERE tblAssesmentResults.ResultID = " & [Forms]![frmAssesments]![txtResultID])) & ";" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) With rs 'If Not .EOF Then x = rs.RecordCount MsgBox x 'End If .Close End With Set rs = Nothing db.Close Set db = Nothing >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> A better method: ********************************************************* Dim x as long x = DCOUNT("*","tblAssesmentResults","ResultID = " & me.txtResultID) msgbox x ********************************************************* Cheers, Andrew PS. You spelt Assessment wrong ;=) -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, 5 November 2003 2:37 PM To: AccessD List Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Hello all Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when I run the code below?? The code is almast exact of something else that is running quite well on the same form. Many thanks Darren >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Dim db As Database Dim rs As Recordset Dim strSQL As String Dim x As Long Set db = CurrentDb() strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) With rs 'If Not .EOF Then x = rs.RecordCount MsgBox x 'End If .Close End With Set rs = Nothing db.Close Set db = Nothing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From bchacc at san.rr.com Tue Nov 4 23:08:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 4 Nov 2003 21:08:18 -0800 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 References: <002501c3a352$52cf02d0$3c619a89@DDICK> Message-ID: <048001c3a35a$d3cfc920$6501a8c0@HAL9002> Darren: Can't see why offhand but I would put MsgBox "*" & [Forms]![frmAssesments]![txtResultID] & "*" right before the Set rs statement to see if there's a valid value for the ID coming from the form. Or put MsgBox strSQL right before the Set rs statement to see the whole thing. Sometimes it shows up a little syntax error that I just can't see looking at the code. Also do you think you might have to surround the [Forms]![frmAssesments]![txtResultID] with Val(), like Val([Forms]![frmAssesments]![txtResultID]))? Just a guess. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Tuesday, November 04, 2003 8:07 PM Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 > Hello all > Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when > I run the code below?? The code is almast exact of something else that is running quite well on the same form. > > Many thanks > > Darren > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db As Database > Dim rs As Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE > (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Nov 4 23:31:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 04 Nov 2003 21:31:16 -0800 Subject: [AccessD] data not entered error not triggering In-Reply-To: Message-ID: Hi John: Not that specific error but I am having one today that when I close a popup form, it closes both the popup and the caller form and there we are back to the main menu. Time for a project rebuild. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, November 04, 2003 9:37 AM To: AccessD Subject: [AccessD] data not entered error not triggering I have a wierd thing occurring. I have a form where the user enters data. If they don't select a combo (put a FK in a field) and try to close the form by clicking the x in the upper right corner, an error is triggered. If they click my close button, the form closes but the JET data error never triggers. My close button just does a docmd.close. has anyone ever seen this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Nov 5 00:12:36 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 5 Nov 2003 17:12:36 +1100 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 References: Message-ID: <004e01c3a363$ceddad70$3c619a89@DDICK> Thanks to all who responded I went with the DCOUNT method Thanks Andrew and Yes I have spelt assessment wrong. - thanks Have a great day Darren ----- Original Message ----- From: "Haslett, Andrew" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 05, 2003 3:57 PM Subject: RE: [AccessD] A2K: Too Few Paramaters. Expected 1 > 1) You should try to dim your variables with its library, especially in > regard to databases and recordsets. > 2) You need to escape your variables from within your SQL string. > 3) If all you want is a count of records, there's no need to retrieve an > entire recordset. Use DCOUNT function or SELECT COUNT. > 4) You can use ME instead of the full form name, if you are running this > code from an event of the same form, > > So to fix the intital problem: > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db DAO.As Database > Dim rs As DAO.Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, > tblAssesmentResults.ResultID _ > FROM tblAssesmentResults _ > WHERE tblAssesmentResults.ResultID = " & > [Forms]![frmAssesments]![txtResultID])) & ";" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > A better method: > > ********************************************************* > Dim x as long > x = DCOUNT("*","tblAssesmentResults","ResultID = " & me.txtResultID) > msgbox x > ********************************************************* > > Cheers, > Andrew > > PS. You spelt Assessment wrong ;=) > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, 5 November 2003 2:37 PM > To: AccessD List > Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 > > > Hello all > Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah > blah error message when > I run the code below?? The code is almast exact of something else that is > running quite well on the same form. > > Many thanks > > Darren > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db As Database > Dim rs As Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, > tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE > (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Nov 5 08:17:09 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 5 Nov 2003 08:17:09 -0600 Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE0D7@TAPPEEXCH01> The query engine doesn't know what [Forms]![frmAssesments]![txtResultID] means. You can either do: Dim prm As Parameter For Each prm in rs.Parameters prm.Value = Eval(prm.Name) Next prm Or... (preferred method) Just concatenate the control's value into the SQL string so it doesn't need to be parsed: strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE (((tblAssesmentResults.ResultID)=" & Forms!frmAssesments!txtResultID & "));" Either way should give you the results you want. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, November 04, 2003 11:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Too Few Paramaters. Expected 1 Darren: Can't see why offhand but I would put MsgBox "*" & [Forms]![frmAssesments]![txtResultID] & "*" right before the Set rs statement to see if there's a valid value for the ID coming from the form. Or put MsgBox strSQL right before the Set rs statement to see the whole thing. Sometimes it shows up a little syntax error that I just can't see looking at the code. Also do you think you might have to surround the [Forms]![frmAssesments]![txtResultID] with Val(), like Val([Forms]![frmAssesments]![txtResultID]))? Just a guess. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Tuesday, November 04, 2003 8:07 PM Subject: [AccessD] A2K: Too Few Paramaters. Expected 1 > Hello all > Can anyone tell me why I am getting the dreaded Too Few Paramaters blah blah blah error message when > I run the code below?? The code is almast exact of something else that is running quite well on the same form. > > Many thanks > > Darren > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > Dim db As Database > Dim rs As Recordset > Dim strSQL As String > Dim x As Long > > Set db = CurrentDb() > > strSQL = "SELECT tblAssesmentResults.AssesmentResultID, tblAssesmentResults.ResultID FROM tblAssesmentResults WHERE > (((tblAssesmentResults.ResultID)=[Forms]![frmAssesments]![txtResultID]));" > > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > With rs > 'If Not .EOF Then > x = rs.RecordCount > MsgBox x > 'End If > .Close > End With > > Set rs = Nothing > db.Close > Set db = Nothing > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From garykjos at hotmail.com Wed Nov 5 09:03:52 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 05 Nov 2003 09:03:52 -0600 Subject: [AccessD] OT: Corrupted database Message-ID: I think it will need to be somewhat of an educated guess/trial and error. If you can find some info on the file structure of an MDB file that would help....here's one such website with info on that. Unfortunately it doesn't indicate which version of Access it applies too. http://www.xiph.org/positron/doc/mdb.html Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Corrupted database >Date: Tue, 4 Nov 2003 14:33:29 -0800 > >Gary: > >I'm looking at then and they do look different. How do I know where the >header ends, or how much to copy and paste? > >Rocky > >----- Original Message ----- >From: "Gary Kjos" >To: >Sent: Tuesday, November 04, 2003 2:21 PM >Subject: Re: [AccessD] OT: Corrupted database > > > > If you have a known good copy of it you can try to open that in a >editor, > > copy and paste the beginning of that file on top of the hosed one (a >copy >of > > the hosed one actually) save the tweaked file and see if you can open it > > then to try and copy out what you can. Sometimes the header at the >beginning > > of the file get's trashed. Never done it, only heard about it. Proceed >at > > your own risk. > > > > Gary Kjos > > garykjos at hotmail.com > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: > > >Subject: [AccessD] OT: Corrupted database > > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > > > >Dear List: > > > > > >I have a database from a client which seems pretty well hosed (A2K). >When > > >you start it you get the message "Database (database name) needs to be > > >repaired or isn;t a database". I say go ahead and let Access try to >repair > > >it but it ends in an abnormal termination of access. > > > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > > >import into a fresh database either. > > > > > >I'm out of tricks. Are there any other approaches? > > > > > >TIA, > > > > > >Rocky Smolin > > >Beach Access Software > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Compare high-speed Internet plans, starting at $26.95. > > https://broadband.msn.com (Prices may vary by service area.) > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.) From Oleg_123 at xuppa.com Wed Nov 5 09:05:52 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 5 Nov 2003 10:05:52 -0500 (EST) Subject: [AccessD] sending an email via vba In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE0D7@TAPPEEXCH01> References: <426071E0B0A6D311B3C0006008B0AB23AFE0D7@TAPPEEXCH01> Message-ID: <33417.12.3.132.98.1068044752.squirrel@heck.bay9.com> Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Mark.Mitsules at ngc.com Wed Nov 5 09:15:33 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 5 Nov 2003 10:15:33 -0500 Subject: [AccessD] sending an email via vba Message-ID: Will Shell work in your situation? Mark -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Wednesday, November 05, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Nov 5 09:23:06 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 5 Nov 2003 10:23:06 -0500 Subject: [AccessD] sending an email via vba Message-ID: How about this? http://www.mvps.org/access/modules/mdl0019.htm Mark -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, November 05, 2003 10:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] sending an email via vba Will Shell work in your situation? Mark -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Wednesday, November 05, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Wed Nov 5 09:32:58 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 5 Nov 2003 16:32:58 +0100 Subject: AW: [AccessD] sending an email via vba Message-ID: are you using outlook? -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Oleg_123 at xuppa.com Gesendet: Mittwoch, 5. November 2003 16:06 An: accessd at databaseadvisors.com Betreff: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ 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 Nov 5 09:36:01 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 5 Nov 2003 09:36:01 -0600 Subject: [AccessD] sending an email via vba Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A0330604A@cpixchng-1.cpiqpc.net> Oleg, it should work just as you have it. Since you specify acSendNoObject, the e-mail gets sent with just the Subject and message you enter and doesn't attach a file. -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Wednesday, November 05, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] sending an email via vba Hi Group, I only know how to do this, when there is an object to be sent, how to do this when there is no object ? Function SendEmail() DoCmd.SendObject acSendNoObject, _ To:="Oleg_123 at xuppa.com, _ Subject:="Database UpDates", _ MessageText:="There hasn't been any changes since last time", _ EditMessage:="No" End Function ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 5 09:41:21 2003 From: john at winhaven.net (John Bartow) Date: Wed, 5 Nov 2003 09:41:21 -0600 Subject: [AccessD] sending an email via vba In-Reply-To: <33417.12.3.132.98.1068044752.squirrel@heck.bay9.com> Message-ID: Oleg: It would appear from your code that you are not sending an object (acSendNoObject) which is the default for the SendObject method. However EditMessage is boolean so IIRC it should read EditMessage:=False HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: Wednesday, November 05, 2003 9:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] sending an email via vba > > > Hi Group, I only know how to do this, when there is an object to be sent, > how to do this when there is no object ? > > > Function SendEmail() > > DoCmd.SendObject acSendNoObject, _ > To:="Oleg_123 at xuppa.com, _ > Subject:="Database UpDates", _ > MessageText:="There hasn't been any changes since last time", _ > EditMessage:="No" > > End Function > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Nov 5 09:54:59 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 07:54:59 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <006401c3a3b5$2aaf1070$6501a8c0@HAL9002> I think he's SOL. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Wednesday, November 05, 2003 7:03 AM Subject: Re: [AccessD] OT: Corrupted database > I think it will need to be somewhat of an educated guess/trial and error. > If you can find some info on the file structure of an MDB file that would > help....here's one such website with info on that. Unfortunately it doesn't > indicate which version of Access it applies too. > > http://www.xiph.org/positron/doc/mdb.html > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] OT: Corrupted database > >Date: Tue, 4 Nov 2003 14:33:29 -0800 > > > >Gary: > > > >I'm looking at then and they do look different. How do I know where the > >header ends, or how much to copy and paste? > > > >Rocky > > > >----- Original Message ----- > >From: "Gary Kjos" > >To: > >Sent: Tuesday, November 04, 2003 2:21 PM > >Subject: Re: [AccessD] OT: Corrupted database > > > > > > > If you have a known good copy of it you can try to open that in a > >editor, > > > copy and paste the beginning of that file on top of the hosed one (a > >copy > >of > > > the hosed one actually) save the tweaked file and see if you can open it > > > then to try and copy out what you can. Sometimes the header at the > >beginning > > > of the file get's trashed. Never done it, only heard about it. Proceed > >at > > > your own risk. > > > > > > Gary Kjos > > > garykjos at hotmail.com > > > > > > > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: > > > >Subject: [AccessD] OT: Corrupted database > > > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > > > > > >Dear List: > > > > > > > >I have a database from a client which seems pretty well hosed (A2K). > >When > > > >you start it you get the message "Database (database name) needs to be > > > >repaired or isn;t a database". I say go ahead and let Access try to > >repair > > > >it but it ends in an abnormal termination of access. > > > > > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > > > >import into a fresh database either. > > > > > > > >I'm out of tricks. Are there any other approaches? > > > > > > > >TIA, > > > > > > > >Rocky Smolin > > > >Beach Access Software > > > >_______________________________________________ > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > Compare high-speed Internet plans, starting at $26.95. > > > https://broadband.msn.com (Prices may vary by service area.) > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Frustrated with dial-up? Get high-speed for as low as $26.95. > https://broadband.msn.com (Prices may vary by service area.) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From weeden1949 at hotmail.com Wed Nov 5 10:05:58 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Wed, 5 Nov 2003 10:05:58 -0600 Subject: [AccessD] OT: Corrupted database References: <020b01c3a31e$3e94a060$6501a8c0@HAL9002> Message-ID: Rocky: What kind of error do you get when you try to 'repair' the db? The following MS article told me the unfortunate news when I was getting this type of error on a customer's db. They had to restore from a backup copy I had (their tape backup wasn't working...go figure) and reenter all the data since I'd made my copy. Look at: KB158933 ACC: Error Message: Isn't an Index in This Table If you're getting THAT one, you're hosed. Greg Smith ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Tuesday, November 04, 2003 3:54 PM Subject: [AccessD] OT: Corrupted database Dear List: I have a database from a client which seems pretty well hosed (A2K). When you start it you get the message "Database (database name) needs to be repaired or isn;t a database". I say go ahead and let Access try to repair it but it ends in an abnormal termination of access. I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an import into a fresh database either. I'm out of tricks. Are there any other approaches? TIA, Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Nov 5 10:13:44 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 08:13:44 -0800 Subject: [AccessD] OT: Corrupted database References: <020b01c3a31e$3e94a060$6501a8c0@HAL9002> Message-ID: <009201c3a3b7$c907f370$6501a8c0@HAL9002> I don't get an error message. It just ponders for about a minute then Access terminates with no error message and I get to send a message to Microsoft if I want to (like dropping rocks into a deep pool). Rocky ----- Original Message ----- From: "Greg Smith" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:05 AM Subject: Re: [AccessD] OT: Corrupted database > Rocky: > > What kind of error do you get when you try to 'repair' the db? The > following MS article told me the unfortunate news when I was getting this > type of error on a customer's db. They had to restore from a backup copy I > had (their tape backup wasn't working...go figure) and reenter all the data > since I'd made my copy. > > Look at: KB158933 ACC: Error Message: Isn't an Index in > This Table > > If you're getting THAT one, you're hosed. > > Greg Smith > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Tuesday, November 04, 2003 3:54 PM > Subject: [AccessD] OT: Corrupted database > > > Dear List: > > I have a database from a client which seems pretty well hosed (A2K). When > you start it you get the message "Database (database name) needs to be > repaired or isn;t a database". I say go ahead and let Access try to repair > it but it ends in an abnormal termination of access. > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do an > import into a fresh database either. > > I'm out of tricks. Are there any other approaches? > > TIA, > > 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 HollisVJ at pgdp.usec.com Wed Nov 5 10:16:39 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 05 Nov 2003 10:16:39 -0600 Subject: [AccessD] sending an email via vba Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C844@cntexchange.pgdp.usec.com> What does it mean by not sending object? I am confused, what is the email sending? DoCmd.SendObject acSendNoObject, Virginia -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, November 05, 2003 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] sending an email via vba Oleg: It would appear from your code that you are not sending an object (acSendNoObject) which is the default for the SendObject method. However EditMessage is boolean so IIRC it should read EditMessage:=False HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: Wednesday, November 05, 2003 9:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] sending an email via vba > > > Hi Group, I only know how to do this, when there is an object to be sent, > how to do this when there is no object ? > > > Function SendEmail() > > DoCmd.SendObject acSendNoObject, _ > To:="Oleg_123 at xuppa.com, _ > Subject:="Database UpDates", _ > MessageText:="There hasn't been any changes since last time", _ > EditMessage:="No" > > End Function > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 5 10:22:40 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 08:22:40 -0800 Subject: [AccessD] data not entered error not triggering Message-ID: What error are you expecting? Is the FK a required field? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 04, 2003 9:37 AM To: AccessD Subject: [AccessD] data not entered error not triggering I have a wierd thing occurring. I have a form where the user enters data. If they don't select a combo (put a FK in a field) and try to close the form by clicking the x in the upper right corner, an error is triggered. If they click my close button, the form closes but the JET data error never triggers. My close button just does a docmd.close. has anyone ever seen this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Wed Nov 5 10:23:27 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 05 Nov 2003 10:23:27 -0600 Subject: [AccessD] OT: Corrupted database Message-ID: Yep, probably. There are outside service companies that might be able to help.... Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Corrupted database >Date: Wed, 5 Nov 2003 07:54:59 -0800 > >I think he's SOL. > >Rocky > >----- Original Message ----- >From: "Gary Kjos" >To: >Sent: Wednesday, November 05, 2003 7:03 AM >Subject: Re: [AccessD] OT: Corrupted database > > > > I think it will need to be somewhat of an educated guess/trial and >error. > > If you can find some info on the file structure of an MDB file that >would > > help....here's one such website with info on that. Unfortunately it >doesn't > > indicate which version of Access it applies too. > > > > http://www.xiph.org/positron/doc/mdb.html > > > > Gary Kjos > > garykjos at hotmail.com > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "Access Developers discussion and problem > > >solving" > > >Subject: Re: [AccessD] OT: Corrupted database > > >Date: Tue, 4 Nov 2003 14:33:29 -0800 > > > > > >Gary: > > > > > >I'm looking at then and they do look different. How do I know where >the > > >header ends, or how much to copy and paste? > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "Gary Kjos" > > >To: > > >Sent: Tuesday, November 04, 2003 2:21 PM > > >Subject: Re: [AccessD] OT: Corrupted database > > > > > > > > > > If you have a known good copy of it you can try to open that in a > > >editor, > > > > copy and paste the beginning of that file on top of the hosed one (a > > >copy > > >of > > > > the hosed one actually) save the tweaked file and see if you can >open >it > > > > then to try and copy out what you can. Sometimes the header at the > > >beginning > > > > of the file get's trashed. Never done it, only heard about it. >Proceed > > >at > > > > your own risk. > > > > > > > > Gary Kjos > > > > garykjos at hotmail.com > > > > > > > > > > > > > > > > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: > > > > >Subject: [AccessD] OT: Corrupted database > > > > >Date: Tue, 4 Nov 2003 13:54:38 -0800 > > > > > > > > > >Dear List: > > > > > > > > > >I have a database from a client which seems pretty well hosed >(A2K). > > >When > > > > >you start it you get the message "Database (database name) needs to >be > > > > >repaired or isn;t a database". I say go ahead and let Access try >to > > >repair > > > > >it but it ends in an abnormal termination of access. > > > > > > > > > >I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't >do >an > > > > >import into a fresh database either. > > > > > > > > > >I'm out of tricks. Are there any other approaches? > > > > > > > > > >TIA, > > > > > > > > > >Rocky Smolin > > > > >Beach Access Software > > > > >_______________________________________________ > > > > >AccessD mailing list > > > > >AccessD at databaseadvisors.com > > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > > >Website: http://www.databaseadvisors.com > > > > > > > > _________________________________________________________________ > > > > Compare high-speed Internet plans, starting at $26.95. > > > > https://broadband.msn.com (Prices may vary by service area.) > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Frustrated with dial-up? Get high-speed for as low as $26.95. > > https://broadband.msn.com (Prices may vary by service area.) > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From cfoust at infostatsystems.com Wed Nov 5 10:25:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 08:25:32 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: Is it possible one of your users opened the database in Word? That will certainly cause the situation you've described, and in that case the database is well and truly hosed beyond recovery. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, November 05, 2003 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Corrupted database I don't get an error message. It just ponders for about a minute then Access terminates with no error message and I get to send a message to Microsoft if I want to (like dropping rocks into a deep pool). Rocky ----- Original Message ----- From: "Greg Smith" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:05 AM Subject: Re: [AccessD] OT: Corrupted database > Rocky: > > What kind of error do you get when you try to 'repair' the db? The > following MS article told me the unfortunate news when I was getting > this type of error on a customer's db. They had to restore from a > backup copy I > had (their tape backup wasn't working...go figure) and reenter all the data > since I'd made my copy. > > Look at: KB158933 ACC: Error Message: Isn't an Index > in This Table > > If you're getting THAT one, you're hosed. > > Greg Smith > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Tuesday, November 04, 2003 3:54 PM > Subject: [AccessD] OT: Corrupted database > > > Dear List: > > I have a database from a client which seems pretty well hosed (A2K). > When you start it you get the message "Database (database name) needs > to be repaired or isn;t a database". I say go ahead and let Access > try to repair > it but it ends in an abnormal termination of access. > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > an import into a fresh database either. > > I'm out of tricks. Are there any other approaches? > > TIA, > > 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 mwp.reid at qub.ac.uk Wed Nov 5 10:31:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 5 Nov 2003 16:31:19 -0000 Subject: [AccessD] OT: Corrupted database References: Message-ID: <000701c3a3ba$3e2fa420$9111758f@aine> Cant remember the web address but think the guys name is Peter Millar. He repairs DBs. I have one a client opened in Word before. Never worked again. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 4:25 PM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Wed Nov 5 10:31:23 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 5 Nov 2003 11:31:23 -0500 Subject: [AccessD] Fw: [dba-OT] normalization Message-ID: <003a01c3a3ba$46dfea30$230110ac@SUSANONE> > http://searchdatabase.techtarget.com/featuredTopic/0,290042,sid13_gci879196, > 00.html?track=NL-94 > > ====I haven't had a chance to review everything, but thought I'd share this > because of the links at the bottom -- looks like a really good concentation > of articles. Most of you won't need this, but it should prove helpful to > anyone struggling with the concept. > > Susan H. From john at winhaven.net Wed Nov 5 10:37:43 2003 From: john at winhaven.net (John Bartow) Date: Wed, 5 Nov 2003 10:37:43 -0600 Subject: [AccessD] sending an email via vba In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C844@cntexchange.pgdp.usec.com> Message-ID: Virginia; Object would be a form, module, query, report, or table. Basically it would attach the chosen object to the email. If you state acSendNoObject there wouldn't be an attachment (hence, I suppose, why this is the default option.) HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Hollis,Virginia > Sent: Wednesday, November 05, 2003 10:17 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] sending an email via vba > > > What does it mean by not sending object? I am confused, what is the email > sending? > > DoCmd.SendObject acSendNoObject, > > Virginia > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Wednesday, November 05, 2003 9:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] sending an email via vba > > > Oleg: > It would appear from your code that you are not sending an object > (acSendNoObject) which is the default for the SendObject method. > > However EditMessage is boolean so IIRC it should read EditMessage:=False > > HTH > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Oleg_123 at xuppa.com > > Sent: Wednesday, November 05, 2003 9:06 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] sending an email via vba > > > > > > Hi Group, I only know how to do this, when there is an object > to be sent, > > how to do this when there is no object ? > > > > > > Function SendEmail() > > > > DoCmd.SendObject acSendNoObject, _ > > To:="Oleg_123 at xuppa.com, _ > > Subject:="Database UpDates", _ > > MessageText:="There hasn't been any changes since last time", _ > > EditMessage:="No" > > > > End Function > > > > > > ----------------------------------------- > > Get Breaking News from CNN, ABC, NBC, CBS Now. > > http://www.xuppa.com/news/?link=webmail > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Nov 5 11:21:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 09:21:12 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> Don't know. I think it's more likely a network problem or, as the error message says, an abnormal termination leaving the db open. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:25 AM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Wed Nov 5 11:37:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 5 Nov 2003 18:37:05 +0100 Subject: [AccessD] OT: Corrupted database In-Reply-To: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> References: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> Message-ID: <10734874657.20031105183705@cactus.dk> Hi Rocky > Don't know. I think it's more likely a network problem or, as the error > message says, an abnormal termination leaving the db open. An abnormal termination usually leaves the file repairable with little or no data loss. /gustav PS: Why did you mark this subject OT? From bchacc at san.rr.com Wed Nov 5 11:51:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 09:51:24 -0800 Subject: [AccessD] OT: Corrupted database References: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> <10734874657.20031105183705@cactus.dk> Message-ID: <00e201c3a3c5$6e2bb9b0$6501a8c0@HAL9002> Then it must have been something else. This db is well and truly hosed. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 9:37 AM Subject: Re: [AccessD] OT: Corrupted database > Hi Rocky > > > Don't know. I think it's more likely a network problem or, as the error > > message says, an abnormal termination leaving the db open. > > An abnormal termination usually leaves the file repairable with little > or no data loss. > > /gustav > > PS: Why did you mark this subject OT? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JOHNWARDBELL at aol.com Wed Nov 5 12:47:22 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Wed, 5 Nov 2003 13:47:22 EST Subject: [AccessD] OT: Corrupted database Message-ID: Rocky Is your db using ODBC? if so there a repair facility in ODBC under User DSN in ODBC Access Setup. Have your looked in there? WardB From bchacc at san.rr.com Wed Nov 5 13:07:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Nov 2003 11:07:25 -0800 Subject: [AccessD] OT: Corrupted database References: Message-ID: <00ee01c3a3d0$0cb10a40$6501a8c0@HAL9002> John: Can't get that far. Wont open up at all. :( Rocky ----- Original Message ----- From: To: Sent: Wednesday, November 05, 2003 10:47 AM Subject: Re: [AccessD] OT: Corrupted database > Rocky > > Is your db using ODBC? if so there a repair facility in ODBC under User DSN > in ODBC Access Setup. Have your looked in there? > > WardB > _______________________________________________ > 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 Nov 5 13:24:16 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 05 Nov 2003 11:24:16 -0800 Subject: [AccessD] sending an email via vba In-Reply-To: References: Message-ID: <3FA94E60.1000709@verizon.net> I like the MAPI solutions, but unfortunately I've run into systems that looked like they were set up correctly but would not function, in contrast BLAT hasn't let me down just yet. -- -Francisco Mitsules, Mark S. (Newport News) wrote: >How about this? > >http://www.mvps.org/access/modules/mdl0019.htm > > > >Mark > > >-----Original Message----- >From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] >Sent: Wednesday, November 05, 2003 10:16 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] sending an email via vba > > >Will Shell work in your situation? > > > >Mark > > >-----Original Message----- >From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] >Sent: Wednesday, November 05, 2003 10:06 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] sending an email via vba > > >Hi Group, I only know how to do this, when there is an object to be sent, >how to do this when there is no object ? > > >Function SendEmail() > >DoCmd.SendObject acSendNoObject, _ >To:="Oleg_123 at xuppa.com, _ >Subject:="Database UpDates", _ >MessageText:="There hasn't been any changes since last time", _ >EditMessage:="No" > >End Function > > >----------------------------------------- >Get Breaking News from CNN, ABC, NBC, CBS Now. >http://www.xuppa.com/news/?link=webmail > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 5 14:28:55 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 05 Nov 2003 14:28:55 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> How do you open a Word Document from a form? I have an instruction guide in Word that I would like to access from a form & have the Word document open Read Only. I tried a hyperlink, but could not find the properties to open the document read-only. I know I could set the document properties to read-only, but looking for a different way to open and set the properties. Virginia From Oleg_123 at xuppa.com Wed Nov 5 14:37:59 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 5 Nov 2003 15:37:59 -0500 (EST) Subject: [AccessD] sending an email via vba In-Reply-To: References: <33417.12.3.132.98.1068044752.squirrel@heck.bay9.com> Message-ID: <37433.12.3.132.98.1068064679.squirrel@heck.bay9.com> thank you, now it works. (I was trying "no" and "false" in quotations) > Oleg: > It would appear from your code that you are not sending an object > (acSendNoObject) which is the default for the SendObject method. > > However EditMessage is boolean so IIRC it should read EditMessage:=False > > HTH > John B. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >> Oleg_123 at xuppa.com >> Sent: Wednesday, November 05, 2003 9:06 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] sending an email via vba >> >> >> Hi Group, I only know how to do this, when there is an object to be >> sent, how to do this when there is no object ? >> >> >> Function SendEmail() >> >> DoCmd.SendObject acSendNoObject, _ >> To:="Oleg_123 at xuppa.com, _ >> Subject:="Database UpDates", _ >> MessageText:="There hasn't been any changes since last time", _ >> EditMessage:="No" >> >> End Function >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Oleg_123 at xuppa.com Wed Nov 5 14:40:48 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 5 Nov 2003 15:40:48 -0500 (EST) Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> Message-ID: <38712.12.3.132.98.1068064848.squirrel@heck.bay9.com> Did you set a reference to Word Object Library ? > How do you open a Word Document from a form? > > I have an instruction guide in Word that I would like to access from a > form & have the Word document open Read Only. I tried a hyperlink, but > could not find the properties to open the document read-only. I know I > could set the document properties to read-only, but looking for a > different way to open and set the properties. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Bryan_Carbonnell at cbc.ca Wed Nov 5 14:45:08 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 15:45:08 -0500 Subject: [AccessD] Open Word Document Message-ID: Here is some Quick & Dirty code: dim objWord as Object set objWord = CreateObject("Word.Application") objWord.visible = true objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True set objWord = Nothing No references to the Word TypeLibrary are needed. THe True in this line: objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True Tells Word to open the document as read only. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 05-Nov-03 3:28:55 PM >>> How do you open a Word Document from a form? I have an instruction guide in Word that I would like to access from a form & have the Word document open Read Only. I tried a hyperlink, but could not find the properties to open the document read-only. I know I could set the document properties to read-only, but looking for a different way to open and set the properties. Virginia From mmmtbig at bellsouth.net Wed Nov 5 15:00:40 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 5 Nov 2003 16:00:40 -0500 Subject: [AccessD] Primary Keys GONE! Message-ID: <00b401c3a3df$e1826700$d401a8c0@tbig1> One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group From cfoust at infostatsystems.com Wed Nov 5 15:07:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 13:07:41 -0800 Subject: [AccessD] Primary Keys GONE! Message-ID: Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ 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 Nov 5 15:09:24 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 05 Nov 2003 15:09:24 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Perfect, thanks. When you open a document in Word is there anyway to prevent it from asking if you want to save changes? Why does it show the Save message when no changes have been made - only opened the document? I have noticed Excel does the same thing, always wanting to save changes. Va. -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Wednesday, November 05, 2003 2:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Open Word Document Here is some Quick & Dirty code: dim objWord as Object set objWord = CreateObject("Word.Application") objWord.visible = true objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True set objWord = Nothing No references to the Word TypeLibrary are needed. THe True in this line: objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True Tells Word to open the document as read only. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 05-Nov-03 3:28:55 PM >>> How do you open a Word Document from a form? I have an instruction guide in Word that I would like to access from a form & have the Word document open Read Only. I tried a hyperlink, but could not find the properties to open the document read-only. I know I could set the document properties to read-only, but looking for a different way to open and set the properties. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Wed Nov 5 15:27:40 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 5 Nov 2003 16:27:40 -0500 Subject: [AccessD] Primary Keys GONE! In-Reply-To: Message-ID: <00be01c3a3e3$a7540170$d401a8c0@tbig1> The field no longer is designated as a primary key. (In design view the key icon beside the field name is gone.) Myke The Better Information Group 770 928-7276 mailto: mmm at tbig.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 5 15:48:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 13:48:29 -0800 Subject: [AccessD] Primary Keys GONE! Message-ID: Are your users allowed access to the tables themselves? The only time I've seen anything like that was as part of the weirdness that goes with the vbe6.dll problem when a 2002 app is installed on the machine running O2k and O2k is less than SR-3. Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primary Keys GONE! The field no longer is designated as a primary key. (In design view the key icon beside the field name is gone.) Myke The Better Information Group 770 928-7276 mailto: mmm at tbig.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Wed Nov 5 16:05:41 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 5 Nov 2003 17:05:41 -0500 Subject: [AccessD] Primary Keys GONE! In-Reply-To: Message-ID: <00e401c3a3e8$f69f21b0$d401a8c0@tbig1> Charlotte No, users can't get to anything but forms and reports. But there are some guys in the IT dept who may have enough knowledge to be dangerous. I'll look into the vbe6.dll / Access 2002 issue. Thanks, Myke The Better Information Group -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Are your users allowed access to the tables themselves? The only time I've seen anything like that was as part of the weirdness that goes with the vbe6.dll problem when a 2002 app is installed on the machine running O2k and O2k is less than SR-3. Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primary Keys GONE! The field no longer is designated as a primary key. (In design view the key icon beside the field name is gone.) Myke The Better Information Group 770 928-7276 mailto: mmm at tbig.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 4:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primary Keys GONE! Explain what you mean by "lost their primary key". Do you mean there is no longer an identified primary key or the primary key field is null or what? What are you seeing instead of what you expected? Charlotte Foust -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, November 05, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Primary Keys GONE! One of my clients is corrupting an Access 2000 backend database about once a month. When I get the data file, I find several tables have lost their primary key. The primary key for each table is an autonumber long increment. Anyone have any suggestions? Myke The Better Information Group _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Nov 5 16:07:34 2003 From: chizotz at charter.net (Ron Allen) Date: Wed, 05 Nov 2003 17:07:34 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: Virginia, It is wanting to save because the last opened date has changed, so it sees the document as having been changed. Annoying, huh? I just save the document (I done this with Excel, never had to do it in Word so far) and let it update that date, making the process invisible to the user. Unless there's a reason not to do this, you can just bypass the issue that way. Ron On Wed, 05 Nov 2003 15:09:24 -0600 "Hollis,Virginia" wrote: >Perfect, thanks. > >When you open a document in Word is there anyway to >prevent it from asking >if you want to save changes? Why does it show the Save >message when no >changes have been made - only opened the document? I have >noticed Excel does >the same thing, always wanting to save changes. > >Va. From andy at minstersystems.co.uk Wed Nov 5 16:17:34 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Nov 2003 22:17:34 -0000 Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <003c01c3a3ea$9d3755f0$b274d0d5@minster33c3r25> Hi Virginia With the Word libray referencec it's objWord.Close wdDoNotSaveChanges Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 05 November 2003 21:09 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Perfect, thanks. > > When you open a document in Word is there anyway to prevent > it from asking if you want to save changes? Why does it show > the Save message when no changes have been made - only opened > the document? I have noticed Excel does the same thing, > always wanting to save changes. > > Va. > > -----Original Message----- > From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] > Sent: Wednesday, November 05, 2003 2:45 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Open Word Document > > > Here is some Quick & Dirty code: > > dim objWord as Object > > set objWord = CreateObject("Word.Application") > objWord.visible = true > > objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True > > set objWord = Nothing > > No references to the Word TypeLibrary are needed. > > THe True in this line: > objWord.Documents.Open "C:\FullPath\to\DocToOpen.doc",,True > > Tells Word to open the document as read only. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> HollisVJ at pgdp.usec.com 05-Nov-03 3:28:55 PM >>> > How do you open a Word Document from a form? > > I have an instruction guide in Word that I would like to > access from a form & have the Word document open Read Only. I > tried a hyperlink, but could not find the properties to open > the document read-only. I know I could set the document > properties to read-only, but looking for a different way to > open and set the properties. > > 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 > > From carbonnb at sympatico.ca Wed Nov 5 17:19:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:19:00 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93F14.4103.C3FD6@localhost> On 5 Nov 2003 at 15:09, Hollis,Virginia wrote: > Perfect, thanks. You're welcome. > When you open a document in Word is there anyway to prevent it from > asking if you want to save changes? Why does it show the Save message > when no changes have been made - only opened the document? I have Does the doc have any fields in it? Like a date field, a page number field...? If so, chances are that the fields are updated when you open the doc, which is a change, even if the fields aren't changed. I know it's bizare. And that is triggering the save prompt. > noticed Excel does the same thing, always wanting to save changes. Probably the same reason. If you are closing the doc using code, then use what Andy posted. If the user is just closing Word, or the doc manually, then no. Or at least, not without getting rid of the fields. -- Bryan Carbonnell - carbonnb at sympatico.ca Only the mediocre are at their best all the time. From carbonnb at sympatico.ca Wed Nov 5 17:20:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:20:43 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <003c01c3a3ea$9d3755f0$b274d0d5@minster33c3r25> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93F7B.13970.DD330@localhost> On 5 Nov 2003 at 22:17, Andy Lacey wrote: > Hi Virginia > > With the Word libray referencec it's > > objWord.Close wdDoNotSaveChanges Otherwise it's: objWord.Close 0 -- Bryan Carbonnell - carbonnb at sympatico.ca A feature is a bug with seniority. From carbonnb at sympatico.ca Wed Nov 5 17:20:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:20:43 -0500 Subject: [AccessD] Open Word Document In-Reply-To: References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93F7B.11709.DD39E@localhost> On 5 Nov 2003 at 17:07, Ron Allen wrote: > It is wanting to save because the last opened date has > changed, so it sees the document as having been changed. > Annoying, huh? Nope. I don't think that this is the reason. I open and close Word docs all day long and only have the Save prompt show up when I actually change the doc or there are fields in the doc that get updated, and I have Word set to update all fields when it opens and prints. Docs without fields don't have the prompt for me. -- 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 carbonnb at sympatico.ca Wed Nov 5 17:21:51 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 05 Nov 2003 18:21:51 -0500 Subject: [AccessD] Open Word Document In-Reply-To: <3FA93F14.4103.C3FD6@localhost> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850@cntexchange.pgdp.usec.com> Message-ID: <3FA93FBF.29252.EDBC0@localhost> On 5 Nov 2003 at 18:19, Bryan Carbonnell wrote: > > When you open a document in Word is there anyway to prevent it from > > asking if you want to save changes? Why does it show the Save > > message when no changes have been made - only opened the document? I > > have > > Does the doc have any fields in it? Like a date field, a page number > field...? It just occurred to me, are there any linked images in the doc? They are fields as well. -- Bryan Carbonnell - carbonnb at sympatico.ca The man who claims to be the boss in his own home will lie about other things as well. From accessd at shaw.ca Wed Nov 5 19:05:08 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 05 Nov 2003 17:05:08 -0800 Subject: [AccessD] OT: Corrupted database In-Reply-To: <00ac01c3a3c1$35dd3150$6501a8c0@HAL9002> Message-ID: Hi Rocky: Now that you have mentioned a possible network connection I have ran across a couple of similar incidents over a few years. The problems were always, with 'bound' FEs, spawned by a flaky network card, in one situation and a enthusiastic network tech who had the server auto-reboot over-night with no open-file checking, in another. I just kept trying to open the DBs and finally both did and then I immediately saved everything to a new/clean db. Save all in one case and only lost two weeks of data in the other. I have never used a bound application, with over five users since. That is a good rule of thumb but some developers state the cut-off can be as high as ten users. I know of a programmer who has had limited success hacking out lost data and code with an assembler but I imagine the cost would be prohibitive unless there is absolutely no backup. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, November 05, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Corrupted database Don't know. I think it's more likely a network problem or, as the error message says, an abnormal termination leaving the db open. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:25 AM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Nov 5 19:26:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 5 Nov 2003 20:26:41 -0500 Subject: [AccessD] OT: Corrupted database In-Reply-To: Message-ID: Jim, I have a client with ~30 users in the database (bound forms) from 8-5 daily and have not had a single corruption in coming up on a year now. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 05, 2003 8:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi Rocky: Now that you have mentioned a possible network connection I have ran across a couple of similar incidents over a few years. The problems were always, with 'bound' FEs, spawned by a flaky network card, in one situation and a enthusiastic network tech who had the server auto-reboot over-night with no open-file checking, in another. I just kept trying to open the DBs and finally both did and then I immediately saved everything to a new/clean db. Save all in one case and only lost two weeks of data in the other. I have never used a bound application, with over five users since. That is a good rule of thumb but some developers state the cut-off can be as high as ten users. I know of a programmer who has had limited success hacking out lost data and code with an assembler but I imagine the cost would be prohibitive unless there is absolutely no backup. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, November 05, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Corrupted database Don't know. I think it's more likely a network problem or, as the error message says, an abnormal termination leaving the db open. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 05, 2003 8:25 AM Subject: RE: [AccessD] OT: Corrupted database > Is it possible one of your users opened the database in Word? That will > certainly cause the situation you've described, and in that case the > database is well and truly hosed beyond recovery. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, November 05, 2003 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Corrupted database > > > I don't get an error message. It just ponders for about a minute then > Access terminates with no error message and I get to send a message to > Microsoft if I want to (like dropping rocks into a deep pool). > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 05, 2003 8:05 AM > Subject: Re: [AccessD] OT: Corrupted database > > > > Rocky: > > > > What kind of error do you get when you try to 'repair' the db? The > > following MS article told me the unfortunate news when I was getting > > this type of error on a customer's db. They had to restore from a > > backup copy > I > > had (their tape backup wasn't working...go figure) and reenter all the > data > > since I'd made my copy. > > > > Look at: KB158933 ACC: Error Message: Isn't an Index > > in This Table > > > > If you're getting THAT one, you're hosed. > > > > Greg Smith > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Tuesday, November 04, 2003 3:54 PM > > Subject: [AccessD] OT: Corrupted database > > > > > > Dear List: > > > > I have a database from a client which seems pretty well hosed (A2K). > > When you start it you get the message "Database (database name) needs > > to be repaired or isn;t a database". I say go ahead and let Access > > try to > repair > > it but it ends in an abnormal termination of access. > > > > I've tried decompile, jetcomp.exe, and jetutils. No dice. Can't do > > an import into a fresh database either. > > > > I'm out of tricks. Are there any other approaches? > > > > TIA, > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 5 19:54:28 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 06 Nov 2003 11:54:28 +1000 Subject: [AccessD] OT: Corrupted database In-Reply-To: References: Message-ID: <3FAA3674.31878.59939EC@localhost> On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From access at tlcbc.com.au Wed Nov 5 20:02:58 2003 From: access at tlcbc.com.au (access at tlcbc.com.au) Date: Thu, 6 Nov 2003 15:02:58 +1300 Subject: [AccessD] Read-Only error message opening database Message-ID: <1068084178.3fa9abd2322e1@210.55.105.82> Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) From cfoust at infostatsystems.com Wed Nov 5 20:14:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Nov 2003 18:14:59 -0800 Subject: [AccessD] Read-Only error message opening database Message-ID: Design changes (like the paper size of a report) are handled in Access, not in SQL Server. Access 2000 and later do NOT allow users to make design changes to objects unless they have exclusive access to the database. Since your database is being shared, that would only be possible if a single user was in the database. Also, read-only access to that folder won't work because the users need to be able to create and/or write to the ldb file for the shared front end and to delete it when the last person exits. Charlotte Foust -----Original Message----- From: access at tlcbc.com.au [mailto:access at tlcbc.com.au] Sent: Wednesday, November 05, 2003 6:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Read-Only error message opening database Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 5 20:20:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 5 Nov 2003 21:20:52 -0500 Subject: [AccessD] Read-Only error message opening database In-Reply-To: Message-ID: Although according to Gustav I think it was, running it under "run time" will prevent the error from showing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 9:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Read-Only error message opening database Design changes (like the paper size of a report) are handled in Access, not in SQL Server. Access 2000 and later do NOT allow users to make design changes to objects unless they have exclusive access to the database. Since your database is being shared, that would only be possible if a single user was in the database. Also, read-only access to that folder won't work because the users need to be able to create and/or write to the ldb file for the shared front end and to delete it when the last person exits. Charlotte Foust -----Original Message----- From: access at tlcbc.com.au [mailto:access at tlcbc.com.au] Sent: Wednesday, November 05, 2003 6:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Read-Only error message opening database Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 5 21:32:13 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 05 Nov 2003 19:32:13 -0800 Subject: [AccessD] OT: Corrupted database In-Reply-To: <3FAA3674.31878.59939EC@localhost> Message-ID: Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 d.dick at uws.edu.au Wed Nov 5 23:00:10 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 6 Nov 2003 16:00:10 +1100 Subject: [AccessD] A2K: Testing for NULLS in a Query Message-ID: <00f101c3a422$dba47f60$3c619a89@DDICK> Hello all I have a Table that holds a swag of various ID's called tblResults Many fields but of interest here is... StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) I perform an append query if the one of the ID's is missing (using IS NULL in the criteria as per the find Unmatched Query Wizard) So I have a student (StudentID = 2 ) who does as assessment (AssessmentID = 55) Quite simply if there is no occurence of the Assessment ID 55 (ie Is null in the Criteria of the Append Query) Excellent then the Append query sparks up and all is well. Small snag though. Many students may sit assessment no 55. So there may be no occurence of AssessmentID 55 for student no 2 but there may be an occurence of it for say...Student Number 1 or others As a result the Is Null Criteria is false and doesn't spark the append query Because there IS an assessment 55 in the Results Table only it belongs to Student no 1 not student no 2 How do I test for Null in 2 fields in order to spark up the append query. IE there may be an AssesmentID of 55 in the table but for Student ID 1 So... How do I test for Is Null Assessment ID 55 AND isNull student ID2 I have discovered it is not as simple as putting Is Null in the Critera for Assessment ID and Is Null for Criteria For Student ID I have also tried IsNull([tblResults]![AssesmentID]) And IsNull([tblResults]![StudentID]) no joy Many thanks in advance Darren From rgilimited at btconnect.com Thu Nov 6 02:52:29 2003 From: rgilimited at btconnect.com (Robin Lawrence) Date: Thu, 6 Nov 2003 08:52:29 -0000 Subject: [AccessD] A2K: Testing for NULLS in a Query In-Reply-To: <00f101c3a422$dba47f60$3c619a89@DDICK> Message-ID: <000001c3a443$4fe0ea10$5373a8c0@local> Darren, Have you tried IsNull([tblResults]![AssesmentID]) OR IsNull([tblResults]![StudentID]) Or move the second criteria to the second row of the query grid Rgds Robin Lawrence -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: 06 November 2003 05:00 To: AccessD List Subject: [AccessD] A2K: Testing for NULLS in a Query Hello all I have a Table that holds a swag of various ID's called tblResults Many fields but of interest here is... StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) I perform an append query if the one of the ID's is missing (using IS NULL in the criteria as per the find Unmatched Query Wizard) So I have a student (StudentID = 2 ) who does as assessment (AssessmentID = 55) Quite simply if there is no occurence of the Assessment ID 55 (ie Is null in the Criteria of the Append Query) Excellent then the Append query sparks up and all is well. Small snag though. Many students may sit assessment no 55. So there may be no occurence of AssessmentID 55 for student no 2 but there may be an occurence of it for say...Student Number 1 or others As a result the Is Null Criteria is false and doesn't spark the append query Because there IS an assessment 55 in the Results Table only it belongs to Student no 1 not student no 2 How do I test for Null in 2 fields in order to spark up the append query. IE there may be an AssesmentID of 55 in the table but for Student ID 1 So... How do I test for Is Null Assessment ID 55 AND isNull student ID2 I have discovered it is not as simple as putting Is Null in the Critera for Assessment ID and Is Null for Criteria For Student ID I have also tried IsNull([tblResults]![AssesmentID]) And IsNull([tblResults]![StudentID]) no joy Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 6 03:08:56 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 10:08:56 +0100 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <1068084178.3fa9abd2322e1@210.55.105.82> References: <1068084178.3fa9abd2322e1@210.55.105.82> Message-ID: <1593911554.20031106100856@cactus.dk> Hi Terry - and welcome to the list! Adding to the comments of Charlotte and John, I find it strange that you didn't receive this message when opening the Access 97 database - unless you ran that as a runtime? If so that should work for Access 2000 as well. And, as Charlotte states, the changes that will not be save are design changes not the data. Another option could be to convert the database to an mde but other listers may chime in here as I have never had the need for an mde running other than for some tests. /gustav > I have just found this list so apologies if this question has been asked before > (couldn't see it in the archives). > We have a database that is stored on a shared network drive with the data > itself in an SQL Server backend. For security reasons the majority of users > have read-only access to the network drive where the database is stored. With > Access 97 this worked fine but the database has recently been upgraded to > Access 2000 and now the users receive a message when they open the database > stating that it is read-only so they won't be able to save their changes (which > is incorrect as, of course, the updates are done on the SQL server which they > do have write access to). Not a major problem but very annoying and confusing > for the users. > Does anyone know how to disable this error message under Access 2000? > Thanks, > Terry Bradford > (Canberra, Australia) From Erwin.Craps at ithelps.be Thu Nov 6 03:43:30 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 6 Nov 2003 10:43:30 +0100 Subject: [AccessD] Read-Only error message opening database Message-ID: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> Strange, I was just gooing to ask a simular question. I wanted to know if I can trap this error? I run an MDB (must be an MDB because I change programaticaly some report properties) every 5 minutes (24x7) with the task scheduler. I find this technique more stable than leaving the MDB 24x7 open. Sometimes when the file is backupped or copied at the same moment I get this read-only message. The whole folder is backupped about 6 times a day so I do have this regulary. But this stays on my server until I click on it. Thus preventing to run the app next time. Can I trap this error and just exit if read-only? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 06, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Read-Only error message opening database Hi Terry - and welcome to the list! Adding to the comments of Charlotte and John, I find it strange that you didn't receive this message when opening the Access 97 database - unless you ran that as a runtime? If so that should work for Access 2000 as well. And, as Charlotte states, the changes that will not be save are design changes not the data. Another option could be to convert the database to an mde but other listers may chime in here as I have never had the need for an mde running other than for some tests. /gustav > I have just found this list so apologies if this question has been > asked before (couldn't see it in the archives). > We have a database that is stored on a shared network drive with the > data > itself in an SQL Server backend. For security reasons the majority of users > have read-only access to the network drive where the database is stored. With > Access 97 this worked fine but the database has recently been upgraded to > Access 2000 and now the users receive a message when they open the database > stating that it is read-only so they won't be able to save their changes (which > is incorrect as, of course, the updates are done on the SQL server which they > do have write access to). Not a major problem but very annoying and confusing > for the users. > Does anyone know how to disable this error message under Access 2000? > Thanks, > Terry Bradford > (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Thu Nov 6 03:59:01 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 6 Nov 2003 17:59:01 +0800 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> Message-ID: <000001c3a44c$9b400640$5100a8c0@BITSNB02> Not an expert on the error, but I suspect access gives you that error before passing control to the database file. You should be able to test for it by putting a msgbox as the first action and then setting up the circumstances to cause the error. See which somes first ... The read only error or the message box. Not sure how complex your db is but one option would be to use a separate mdb to do the report changes, and programatically manipulate the target mdb directly via automation. Then you can can trap the read only state by testing for exclusive access. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > Sent: Thursday, 06 November, 2003 5:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Read-Only error message opening database > > > Strange, > > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > > I run an MDB (must be an MDB because I change programaticaly > some report > properties) every 5 minutes (24x7) with the task scheduler. I > find this > technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same > moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > > But this stays on my server until I click on it. Thus > preventing to run > the app next time. > > Can I trap this error and just exit if read-only? > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > > > Hi Terry - and welcome to the list! > > Adding to the comments of Charlotte and John, I find it > strange that you > didn't receive this message when opening the Access 97 > database - unless > you ran that as a runtime? If so that should work for Access 2000 as > well. And, as Charlotte states, the changes that will not be save are > design changes not the data. > > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. > > /gustav > > > > I have just found this list so apologies if this question has been > > asked before (couldn't see it in the archives). > > > We have a database that is stored on a shared network drive > with the > > data > > itself in an SQL Server backend. For security reasons the > majority of > users > > have read-only access to the network drive where the database is > stored. With > > Access 97 this worked fine but the database has recently > been upgraded > to > > Access 2000 and now the users receive a message when they open the > database > > stating that it is read-only so they won't be able to save their > changes (which > > is incorrect as, of course, the updates are done on the SQL server > which they > > do have write access to). Not a major problem but very annoying and > confusing > > for the users. > > > Does anyone know how to disable this error message under > Access 2000? > > > Thanks, > > Terry Bradford > > (Canberra, Australia) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 6 04:03:11 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 11:03:11 +0100 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF7210@stekelbes.ithelps.local> Message-ID: <447166304.20031106110311@cactus.dk> Hi Erwin But if you need to make design changes, how would you do that when the file is read-only? And why do you need to backup the frontend six times a day? /gustav > Strange, > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > I run an MDB (must be an MDB because I change programaticaly some report > properties) every 5 minutes (24x7) with the task scheduler. I find this > technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > But this stays on my server until I click on it. Thus preventing to run > the app next time. > Can I trap this error and just exit if read-only? > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > Hi Terry - and welcome to the list! > Adding to the comments of Charlotte and John, I find it strange that you > didn't receive this message when opening the Access 97 database - unless > you ran that as a runtime? If so that should work for Access 2000 as > well. And, as Charlotte states, the changes that will not be save are > design changes not the data. > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. From pedro at plex.nl Thu Nov 6 12:24:51 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 06 Nov 2003 12:24:51 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311061124.hA6BOpEU013511@mailhostC.plex.net> Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; From roz.clarke at donnslaw.co.uk Thu Nov 6 05:32:28 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 6 Nov 2003 11:32:28 -0000 Subject: [AccessD] why isn't this working? Message-ID: <61F915314798D311A2F800A0C9C83188047C66CA@dibble.observatory.donnslaw.co.uk> What error does it give you Pedro? I would normally use a nested Iif statement rather than a list of separate statements, e.g. SELECT iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[ Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,ii f([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500' ,[Telling]*0)))))))) AS Resultaat_Telling FROM TellingCode; ...but I don't know if that's the only way to do it. -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: 06 November 2003 12:25 To: AccessD at databaseadvisors.com Subject: [AccessD] why isn't this working? Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507' ,[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0, 4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code ]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 6 05:31:33 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 12:31:33 +0100 Subject: [AccessD] why isn't this working? In-Reply-To: <200311061124.hA6BOpEU013511@mailhostC.plex.net> References: <200311061124.hA6BOpEU013511@mailhostC.plex.net> Message-ID: <2512469179.20031106123133@cactus.dk> Hi Pedro It should probably read: iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,iif([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500',[Telling]*0,0)))))))) /gustav > i can't seem to let this query work. Why? > Pedro Janssen > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) > AS Resultaat_Telling > FROM TellingCode; From HollisVJ at pgdp.usec.com Thu Nov 6 06:00:30 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 06:00:30 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C85C@cntexchange.pgdp.usec.com> Yes, the document has Page number fields & links to documents on the Intranet. The Word file is opening Read-only. Virginia -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Wednesday, November 05, 2003 5:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open Word Document On 5 Nov 2003 at 18:19, Bryan Carbonnell wrote: > > When you open a document in Word is there anyway to prevent it from > > asking if you want to save changes? Why does it show the Save > > message when no changes have been made - only opened the document? I > > have > > Does the doc have any fields in it? Like a date field, a page number > field...? It just occurred to me, are there any linked images in the doc? They are fields as well. -- Bryan Carbonnell - carbonnb at sympatico.ca The man who claims to be the boss in his own home will lie about other things as well. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Thu Nov 6 06:04:44 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 6 Nov 2003 04:04:44 -0800 (PST) Subject: [AccessD] Access and HTML In-Reply-To: <61F915314798D311A2F800A0C9C83188047C66CA@dibble.observatory.donnslaw.co.uk> Message-ID: <20031106120444.4692.qmail@web9807.mail.yahoo.com> Good Morning, I am trying to create an HTML page in access 2003. The creation go ok but when I display the page I get 2 warnings: The Website uses a data provider that may be unsafe. If you trust the wesite, click OK, otherwise click Cancel. If I click ok then I get: The website is using your identity to access a data source. If you trust the website click OK to continue, otherwise click Cancel. Does anyone know what I need to do to have these message not show up. Thanks in Advance! Dale --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From paul.hartland at fsmail.net Thu Nov 6 06:24:57 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 13:24:57 +0100 (CET) Subject: [AccessD] OT Access Traffic Query Message-ID: <15641174.1068121497477.JavaMail.www@wwinf3001> To all, We have a Win2000 Server network with Office XP Professional using Access XP, we don't have a front-end or back-end to this system (I inherited it, lucky me). So everyone has a shortcut to the .mdb on the Server, when a query is run on the .mdb is it the Server that will do the processing or the desktop unit of the user ? Anybody know how it actually works, cause I may have to modify the Aplication. Paul From bheid at appdevgrp.com Thu Nov 6 07:02:44 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 6 Nov 2003 08:02:44 -0500 Subject: [AccessD] OT Access Traffic Query In-Reply-To: <916187228923D311A6FE00A0CC3FAA30688462@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFC4@ADGSERVER> To the best of my knowledge, the processing is done on the desktop. That is why MSDE or SQL server gives such a performance boost. HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, November 06, 2003 7:25 AM To: accessd Subject: [AccessD] OT Access Traffic Query To all, We have a Win2000 Server network with Office XP Professional using Access XP, we don't have a front-end or back-end to this system (I inherited it, lucky me). So everyone has a shortcut to the .mdb on the Server, when a query is run on the .mdb is it the Server that will do the processing or the desktop unit of the user ? Anybody know how it actually works, cause I may have to modify the Aplication. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Thu Nov 6 07:13:50 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 6 Nov 2003 07:13:50 -0600 Subject: [AccessD] why isn't this working? Message-ID: <4AE733BBEEE72647A9F950F7275F262E112560@nt04.karta.com> I believe the commas are messing this up. Access is looking at the commas and determining the False Part wrong. eg: ...iif([code]='506', [Telling]*0.67, iif... a comma between 0 and 67 Access thinks 67 is the false part. One question I have, is why the single quote marks around numbers? I normally don't use them. Jim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, November 06, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] why isn't this working? Hi Pedro It should probably read: iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[ Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,ii f([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500' ,[Telling]*0,0)))))))) /gustav > i can't seem to let this query work. Why? > Pedro Janssen > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507' ,[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0, 4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code ]='500',[Telling]*0) > AS Resultaat_Telling > FROM TellingCode; _______________________________________________ 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 Nov 6 07:28:07 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 06 Nov 2003 23:28:07 +1000 Subject: [AccessD] OT Access Traffic Query In-Reply-To: <15641174.1068121497477.JavaMail.www@wwinf3001> Message-ID: <3FAAD907.13187.768AC@localhost> On 6 Nov 2003 at 13:24, paul.hartland at fsmail.net wrote: > To all, We have a Win2000 Server network with Office XP Professional > using Access XP, we don't have a front-end or back-end to this system > (I inherited it, lucky me). So everyone has a shortcut to the .mdb on > the Server, when a query is run on the .mdb is it the Server that will > do the processing or the desktop unit of the user ? Anybody know how it > actually works, cause I may have to modify the Aplication. Paul The desktop does all the processing. It is behaving exactly it would if the application was on a local disk (only it takes longer to pull everything over the network than it would from a local drive). -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Nov 6 07:33:20 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 06 Nov 2003 23:33:20 +1000 Subject: [AccessD] why isn't this working? In-Reply-To: <200311061124.hA6BOpEU013511@mailhostC.plex.net> Message-ID: <3FAADA40.26871.C30F8@localhost> On 6 Nov 2003 at 12:24, pedro at plex.nl wrote: > Hello Group, > > i can't seem to let this query work. Why? > > Pedro Janssen > > > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]= > '507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[T > elling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling] > *0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM > TellingCode; All the closing brackets are in the wrong places, They should be at the end of the last iif(). i.e. It should be something like: IIF(a,z,IIF(b,y,IIF(c,x,IIF(d,w,v)))) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Bryan_Carbonnell at cbc.ca Thu Nov 6 07:52:02 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 06 Nov 2003 08:52:02 -0500 Subject: [AccessD] Open Word Document Message-ID: I would suspect that the Page Number field is being updated in the background, which is causing the Save Dialog to appear when you close it. Opening it read only won't have any effect on having the Save dialog showing up. All opening it Read Only will do is prevent the user from saving any modifications over the original file. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 06-Nov-03 7:00:30 AM >>> Yes, the document has Page number fields & links to documents on the Intranet. The Word file is opening Read-only. Virginia -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Wednesday, November 05, 2003 5:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open Word Document On 5 Nov 2003 at 18:19, Bryan Carbonnell wrote: > > When you open a document in Word is there anyway to prevent it from > > asking if you want to save changes? Why does it show the Save > > message when no changes have been made - only opened the document? I > > have > > Does the doc have any fields in it? Like a date field, a page number > field...? It just occurred to me, are there any linked images in the doc? They are fields as well. From jeffrey.demulling at usbank.com Thu Nov 6 09:10:52 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 6 Nov 2003 09:10:52 -0600 Subject: [AccessD] why isn't this working? Message-ID: Why don't you create a custom function for this using Select Case or If Then statements? pedro at plex.nl Sent by: To: AccessD at databaseadvisors.com accessd-bounces at databasead cc: visors.com Subject: [AccessD] why isn't this working? 11/06/2003 06:24 AM Please respond to "Access Developers discussion and problem solving" Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code] ='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code] ='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code] ='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; _______________________________________________ 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 Nov 6 09:28:19 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 09:28:19 -0600 Subject: [AccessD] OT - Excel Increment Date Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C860@cntexchange.pgdp.usec.com> Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.com From jeffrey.demulling at usbank.com Thu Nov 6 09:35:29 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 6 Nov 2003 09:35:29 -0600 Subject: [AccessD] why isn't this working? Message-ID: The function would probably look something like this: Function MyExample (mycode, mytelling) as Double Dim mymultipler as double Select Case mycode Case 501 mymultipler = 1 Case 503 mymultipler = 2 Case 507 mymultipler = 2 Case 506 mymultipler = .67 Case 502 mymultipler = .4 Case 522 mymultipler = .4 Case 542 mymultipler = .2 Case 500 mymultipler = 0 End Select MyExample = mytelling * myultipler End Function The next step would be to use it in your query something like the following: MyExample([Code], [Telling]) AS Resultaat_Telling FROM TellingCode; jeffrey.demulling at usbank.c om To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: Re: [AccessD] why isn't this working? 11/06/2003 09:10 AM Please respond to "Access Developers discussion and problem solving" Why don't you create a custom function for this using Select Case or If Then statements? pedro at plex.nl Sent by: To: AccessD at databaseadvisors.com accessd-bounces at databasead cc: visors.com Subject: [AccessD] why isn't this working? 11/06/2003 06:24 AM Please respond to "Access Developers discussion and problem solving" Hello Group, i can't seem to let this query work. Why? Pedro Janssen SELECT iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code] ='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code] ='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code] ='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) AS Resultaat_Telling FROM TellingCode; _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Nov 6 09:40:29 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 16:40:29 +0100 (CET) Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <12773941.1068133229930.JavaMail.www@wwinf3001> To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland From paul.hartland at fsmail.net Thu Nov 6 09:43:45 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 16:43:45 +0100 (CET) Subject: [AccessD] OT Access Traffic Query Message-ID: <29635982.1068133425299.JavaMail.www@wwinf3001> Thanks for all your help Message date : Nov 06 2003, 01:03 PM >From : Bobby Heid To : 'Access Developers discussion and problem solving' Copy to : Subject : RE: [AccessD] OT Access Traffic Query To the best of my knowledge, the processing is done on the desktop. That is why MSDE or SQL server gives such a performance boost. HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, November 06, 2003 7:25 AM To: accessd Subject: [AccessD] OT Access Traffic Query To all, We have a Win2000 Server network with Office XP Professional using Access XP, we don't have a front-end or back-end to this system (I inherited it, lucky me). So everyone has a shortcut to the .mdb on the Server, when a query is run on the .mdb is it the Server that will do the processing or the desktop unit of the user ? Anybody know how it actually works, cause I may have to modify the Aplication. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Nov 6 09:43:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 6 Nov 2003 16:43:59 +0100 (CET) Subject: [AccessD] OT Access Traffic Query Message-ID: <29892106.1068133438994.JavaMail.www@wwinf3001> Thanks for all your help Message date : Nov 06 2003, 01:30 PM >From : Stuart McLachlan To : Access Developers discussion and problem solving Copy to : Subject : Re: [AccessD] OT Access Traffic Query On 6 Nov 2003 at 13:24, paul.hartland at fsmail.net wrote: > To all, We have a Win2000 Server network with Office XP Professional > using Access XP, we don't have a front-end or back-end to this system > (I inherited it, lucky me). So everyone has a shortcut to the .mdb on > the Server, when a query is run on the .mdb is it the Server that will > do the processing or the desktop unit of the user ? Anybody know how it > actually works, cause I may have to modify the Aplication. Paul The desktop does all the processing. It is behaving exactly it would if the application was on a local disk (only it takes longer to pull everything over the network than it would from a local drive). -- 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 Erwin.Craps at ithelps.be Thu Nov 6 09:45:20 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 6 Nov 2003 16:45:20 +0100 Subject: [AccessD] Read-Only error message opening database Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DC1@stekelbes.ithelps.local> Hi gustav. The frontend runs every 5 minutes, I may quit inmediatly in this case and do his thing the next time.... This frontend is in the same folder as the data and runs on the server. I supose I could split them up, but I need fast recovery times. So that's why I like to keep them togheter. This application has 4 front-ends and 2 backends. 3 front-ends run on the server, 1 on the client pc's (local copy). 1x Front-end is an intermidiate db for ASP/internet access. 1x front-end collects E-mails, Faxes and FTP files on the server (checks every 5 minutes) 1x front-end generates Excel files and faxes a reports whenever asked by ASP client or by internal client (checks every other 5 minutes). Its the last two from which I Notice my problem. Sometimes if I make a minor adjustment to the backend database and the front-end (timer is up) runs, I have the same problem. So I tought to catch the error when opening and if the database is in a non-editable state to quit inmedatly and try again for next scheduled run. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Gustav Brock Verzonden: donderdag 6 november 2003 11:03 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] Read-Only error message opening database Hi Erwin But if you need to make design changes, how would you do that when the file is read-only? And why do you need to backup the frontend six times a day? /gustav > Strange, > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > I run an MDB (must be an MDB because I change programaticaly some > report > properties) every 5 minutes (24x7) with the task scheduler. I find this > technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > But this stays on my server until I click on it. Thus preventing to > run the app next time. > Can I trap this error and just exit if read-only? > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > Hi Terry - and welcome to the list! > Adding to the comments of Charlotte and John, I find it strange that > you didn't receive this message when opening the Access 97 database - > unless you ran that as a runtime? If so that should work for Access > 2000 as well. And, as Charlotte states, the changes that will not be > save are design changes not the data. > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 6 09:51:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 6 Nov 2003 16:51:19 +0100 Subject: [AccessD] Read-Only error message opening database Message-ID: <46B976F2B698FF46A4FE7636509B22DF7217@stekelbes.ithelps.local> I give it a shot. Because I believe the error is generated by the back-end and not the frontend. Only one user accesses the front-end. I dont really know where the error is generated, in the front or backend. I know it usualy, but not always, happens during the backup. So I supose Veritas backup makes a small or big lock before backing up. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stuart Sanders Verzonden: donderdag 6 november 2003 10:59 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Read-Only error message opening database Not an expert on the error, but I suspect access gives you that error before passing control to the database file. You should be able to test for it by putting a msgbox as the first action and then setting up the circumstances to cause the error. See which somes first ... The read only error or the message box. Not sure how complex your db is but one option would be to use a separate mdb to do the report changes, and programatically manipulate the target mdb directly via automation. Then you can can trap the read only state by testing for exclusive access. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > Sent: Thursday, 06 November, 2003 5:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Read-Only error message opening database > > > Strange, > > I was just gooing to ask a simular question. > I wanted to know if I can trap this error? > > I run an MDB (must be an MDB because I change programaticaly some > report > properties) every 5 minutes (24x7) with the task scheduler. I find > this technique more stable than leaving the MDB 24x7 open. > Sometimes when the file is backupped or copied at the same > moment I get > this read-only message. > The whole folder is backupped about 6 times a day so I do have this > regulary. > > But this stays on my server until I click on it. Thus preventing to > run the app next time. > > Can I trap this error and just exit if read-only? > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 06, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Read-Only error message opening database > > > Hi Terry - and welcome to the list! > > Adding to the comments of Charlotte and John, I find it strange that > you didn't receive this message when opening the Access 97 > database - unless > you ran that as a runtime? If so that should work for Access 2000 as > well. And, as Charlotte states, the changes that will not be save are > design changes not the data. > > Another option could be to convert the database to an mde but other > listers may chime in here as I have never had the need for an mde > running other than for some tests. > > /gustav > > > > I have just found this list so apologies if this question has been > > asked before (couldn't see it in the archives). > > > We have a database that is stored on a shared network drive > with the > > data > > itself in an SQL Server backend. For security reasons the > majority of > users > > have read-only access to the network drive where the database is > stored. With > > Access 97 this worked fine but the database has recently > been upgraded > to > > Access 2000 and now the users receive a message when they open the > database > > stating that it is read-only so they won't be able to save their > changes (which > > is incorrect as, of course, the updates are done on the SQL server > which they > > do have write access to). Not a major problem but very annoying and > confusing > > for the users. > > > Does anyone know how to disable this error message under > Access 2000? > > > Thanks, > > Terry Bradford > > (Canberra, Australia) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ 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 Thu Nov 6 10:01:52 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 6 Nov 2003 16:01:52 -0000 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <61F915314798D311A2F800A0C9C83188047C66E0@dibble.observatory.donnslaw.co.uk> Rick Fisher's Find and Replace. I don't know how I ever managed without it! I love it so much I paid the registration fee. :D www.rickworld.com Roz -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 06 November 2003 15:40 To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Nov 6 10:02:29 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 6 Nov 2003 11:02:29 -0500 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F82C@TTNEXCHSRV1.hshhp.com> SpeedFerret will do it for you. Jim DeMarco -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, November 06, 2003 10:40 AM To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Thu Nov 6 10:11:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:11:20 -0800 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: You'd have to use something like SpeedFerret from www.moshannon.com to find every instance of qryUnionAvailaibilityTables in the database. It will find them in queries, forms, reports, code, comments, etc. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, November 06, 2003 7:40 AM To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Thu Nov 6 10:11:35 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 6 Nov 2003 11:11:35 -0500 Subject: [AccessD] Find Every Occurance Of A Query Message-ID: <5F21A4E8B8DD734992EF9E70AC9D306412888D@mail2.wrsystems.com> Amen to that. I've got both the A97 and A2K versions. -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Thursday, November 06, 2003 11:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Find Every Occurance Of A Query Rick Fisher's Find and Replace. I don't know how I ever managed without it! I love it so much I paid the registration fee. :D www.rickworld.com Roz -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 06 November 2003 15:40 To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Thu Nov 6 10:12:26 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 6 Nov 2003 11:12:26 -0500 Subject: [AccessD] Omit Records from Report Total Message-ID: I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. In my report, I group on [Office], with [ProposalStatus] and [Amount] in the Detail section. In the [Office] Footer, I have a textbox with a control source of '=Sum([Amount])'. However, I have been informed that this textbox should not include records with a [ProposalStatus] of 'Lost'. Therefore, I need the textbox to be the total amount of all records that have a [ProposalStatus] <> 'Lost'. Is there any way to do this? Mark Boyd Sr. Systems Analyst McBee Associates, Inc. From Developer at UltraDNT.com Thu Nov 6 10:20:15 2003 From: Developer at UltraDNT.com (Developer) Date: Thu, 6 Nov 2003 11:20:15 -0500 Subject: [AccessD] Find Every Occurance Of A Query In-Reply-To: <12773941.1068133229930.JavaMail.www@wwinf3001> Message-ID: <002501c3a481$dcf6bcc0$7001a8c0@COA3> Paul: Dim a variable as a querydef, then loop throough all the query defs: Dim q as querydef Then use a For Each q in currentdb.querydefs. Inside the For, use instr to check for the name of the query you are looking for: L=instr(1, q.sql, "qryNameToCheck",vbtextcompare) If L ' then you have a match. The current value of q.name will tell you who's using it. You could use Redim Preserve to come back with an array of names that reference the query searched for. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, November 06, 2003 10:40 AM To: accessd Subject: [AccessD] Find Every Occurance Of A Query To all, I have a query named qryUnionAvailabilityTables, is there anyway I can find out any other Query that uses aryUnionAvailabilityTables without going and looking at everyone of them, i.e. some code to loop through all the queries I have looking for this etc. I would look manually but we have over 250 queries in our main database. Thanks for any help in advance....... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 6 10:22:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:22:20 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: I have to chime in on the other side. I've been building Access apps using bound forms (yes, JC, I *do* use bound forms ... just not *always*!) since Access 1. Anytime I've seen serious corruption, there has been a darn good reason for it, either between the chair and keyboard or within the network itself. I've always built my apps with multiple users in mind, but I've often heard the same urban legends. In fact, the truth depends on how the application is built. The people who knock Access generally know little about it and how it works or have never encountered a well-built Access application. Unfortunately, there are a large number of "practitioners" out there who call themselves Access developers because they've managed to build themselves a database that sort of does what they want. Their work tends to give Access development a bad name. I've cleaned up after some and it was NOT pretty! Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 05, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 6 10:23:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:23:24 -0800 Subject: [AccessD] Read-Only error message opening database Message-ID: True, but runtime is a separate issue entirely, with its own problems. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 05, 2003 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Read-Only error message opening database Although according to Gustav I think it was, running it under "run time" will prevent the error from showing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, November 05, 2003 9:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Read-Only error message opening database Design changes (like the paper size of a report) are handled in Access, not in SQL Server. Access 2000 and later do NOT allow users to make design changes to objects unless they have exclusive access to the database. Since your database is being shared, that would only be possible if a single user was in the database. Also, read-only access to that folder won't work because the users need to be able to create and/or write to the ldb file for the shared front end and to delete it when the last person exits. Charlotte Foust -----Original Message----- From: access at tlcbc.com.au [mailto:access at tlcbc.com.au] Sent: Wednesday, November 05, 2003 6:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Read-Only error message opening database Hi! I have just found this list so apologies if this question has been asked before (couldn't see it in the archives). We have a database that is stored on a shared network drive with the data itself in an SQL Server backend. For security reasons the majority of users have read-only access to the network drive where the database is stored. With Access 97 this worked fine but the database has recently been upgraded to Access 2000 and now the users receive a message when they open the database stating that it is read-only so they won't be able to save their changes (which is incorrect as, of course, the updates are done on the SQL server which they do have write access to). Not a major problem but very annoying and confusing for the users. Does anyone know how to disable this error message under Access 2000? Thanks, Terry Bradford (Canberra, Australia) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 6 10:33:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 11:33:56 -0500 Subject: [AccessD] OT: Corrupted database In-Reply-To: Message-ID: ROTFL. >I've cleaned up after some and it was NOT pretty! Amen to THAT. Being bound / unbound appears to have little to do with anything when it comes to corruptions. A corruption occurs when JET attempts to save to a db and the connection is broken for some reason. That may be the computer turned off (power loss / off switch - at the WS OR THE SERVER OR THE ROUTER), or a flaky NIC, or a flaky cable, or a flaky router. This will occur whether it is a bound form doing the write or an unbound form doing the write. You can have a bound form open and staring at data and lose power with no ill effects, IF no write is occurring. Unfortunately these urban legends get started, and then just pick up a life of their own. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database I have to chime in on the other side. I've been building Access apps using bound forms (yes, JC, I *do* use bound forms ... just not *always*!) since Access 1. Anytime I've seen serious corruption, there has been a darn good reason for it, either between the chair and keyboard or within the network itself. I've always built my apps with multiple users in mind, but I've often heard the same urban legends. In fact, the truth depends on how the application is built. The people who knock Access generally know little about it and how it works or have never encountered a well-built Access application. Unfortunately, there are a large number of "practitioners" out there who call themselves Access developers because they've managed to build themselves a database that sort of does what they want. Their work tends to give Access development a bad name. I've cleaned up after some and it was NOT pretty! Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 05, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 6 10:35:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 6 Nov 2003 17:35:30 +0100 Subject: [AccessD] Read-Only error message opening database In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DC1@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DC1@stekelbes.ithelps.local> Message-ID: <19630705432.20031106173530@cactus.dk> Hi Erwin OK, but again, a write protected (during backup) backend should not cause a popup in the fronted (except if you try to write to it, of course), and why take backup of the frontend all day - you would be better off creating a working copy of it from a master file when launching. /gustav > The frontend runs every 5 minutes, I may quit inmediatly in this case > and do his thing the next time.... > This frontend is in the same folder as the data and runs on the server. > I supose I could split them up, but I need fast recovery times. So > that's why I like to keep them togheter. > This application has 4 front-ends and 2 backends. > 3 front-ends run on the server, 1 on the client pc's (local copy). > 1x Front-end is an intermidiate db for ASP/internet access. > 1x front-end collects E-mails, Faxes and FTP files on the server (checks > every 5 minutes) > 1x front-end generates Excel files and faxes a reports whenever asked by > ASP client or by internal client (checks every other 5 minutes). > Its the last two from which I Notice my problem. > Sometimes if I make a minor adjustment to the backend database and the > front-end (timer is up) runs, I have the same problem. > So I tought to catch the error when opening and if the database is in a > non-editable state to quit inmedatly and try again for next scheduled > run. > Erwin > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens Gustav Brock > Verzonden: donderdag 6 november 2003 11:03 > Aan: Access Developers discussion and problem solving > Onderwerp: Re: [AccessD] Read-Only error message opening database > Hi Erwin > But if you need to make design changes, how would you do that when the > file is read-only? And why do you need to backup the frontend six times > a day? > /gustav >> Strange, >> I was just gooing to ask a simular question. >> I wanted to know if I can trap this error? >> I run an MDB (must be an MDB because I change programaticaly some >> report >> properties) every 5 minutes (24x7) with the task scheduler. I find >> this technique more stable than leaving the MDB 24x7 open. >> Sometimes when the file is backupped or copied at the same moment I >> get this read-only message. >> The whole folder is backupped about 6 times a day so I do have this >> regulary. >> But this stays on my server until I click on it. Thus preventing to >> run the app next time. >> Can I trap this error and just exit if read-only? >> Erwin >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >> Brock >> Sent: Thursday, November 06, 2003 10:09 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Read-Only error message opening database >> Hi Terry - and welcome to the list! >> Adding to the comments of Charlotte and John, I find it strange that >> you didn't receive this message when opening the Access 97 database - >> unless you ran that as a runtime? If so that should work for Access >> 2000 as well. And, as Charlotte states, the changes that will not be >> save are design changes not the data. >> Another option could be to convert the database to an mde but other >> listers may chime in here as I have never had the need for an mde >> running other than for some tests. From HollisVJ at pgdp.usec.com Thu Nov 6 10:43:51 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 10:43:51 -0600 Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C865@cntexchange.pgdp.usec.com> Ok, can't seem to figure this out in Excel so going to use good ol' Access. I need to print a report that changes the date field for each work day of the year. For example, press print & it will print 240 (or however many work days there are in a year M-F) copies of a report and the date on each copy will increment. The report is 1 page. So, I need it to print one copy, increment the date by one working day, then print another copy until all copies are printed for the year. 1st copy - Thursday, 11/06/2003 2nd copy - Friday, 11/07/2003 3rd copy - Monday, 11/10/2003 etc. P.S. If anyone has any ideas how to do this in Excel or Access it doesn't matter. I would appreciate help either way. Virginia -----Original Message----- From: Hollis,Virginia Sent: Thursday, November 06, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: OT - Excel Increment Date Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.com From cfoust at infostatsystems.com Thu Nov 6 10:49:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 08:49:55 -0800 Subject: [AccessD] OT: Corrupted database Message-ID: Don't forget flaky users in that list, John! Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 8:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database ROTFL. >I've cleaned up after some and it was NOT pretty! Amen to THAT. Being bound / unbound appears to have little to do with anything when it comes to corruptions. A corruption occurs when JET attempts to save to a db and the connection is broken for some reason. That may be the computer turned off (power loss / off switch - at the WS OR THE SERVER OR THE ROUTER), or a flaky NIC, or a flaky cable, or a flaky router. This will occur whether it is a bound form doing the write or an unbound form doing the write. You can have a bound form open and staring at data and lose power with no ill effects, IF no write is occurring. Unfortunately these urban legends get started, and then just pick up a life of their own. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database I have to chime in on the other side. I've been building Access apps using bound forms (yes, JC, I *do* use bound forms ... just not *always*!) since Access 1. Anytime I've seen serious corruption, there has been a darn good reason for it, either between the chair and keyboard or within the network itself. I've always built my apps with multiple users in mind, but I've often heard the same urban legends. In fact, the truth depends on how the application is built. The people who knock Access generally know little about it and how it works or have never encountered a well-built Access application. Unfortunately, there are a large number of "practitioners" out there who call themselves Access developers because they've managed to build themselves a database that sort of does what they want. Their work tends to give Access development a bad name. I've cleaned up after some and it was NOT pretty! Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 05, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database Hi John and Stuart: Not trying to re-kindle the bound/unbound debate but as most of my contracts are with the local provincial government and they have a specific rule. All databases with greater than ten users must be build on SQL technology. That technology extends to Oracle and sometime MS SQL and unbound forms. Therefore, I have little opportunity experiment with Access environments with a large user base. The closest I came to a significant bound Access database was a private client with just under twenty users but they moved their server to Linux and subsequently a MySQL BE. Maybe all these concerns with larger Access bound form applications, are part of a local urban legend, or Database companies and DBAs who wish to promote the myth to their own end but I for one have not had great memories with a couple of applications. Once burned...twice shy. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, November 05, 2003 5:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Corrupted database On 5 Nov 2003 at 20:26, John Colby wrote: > Jim, > > I have a client with ~30 users in the database (bound forms) from 8-5 daily > and have not had a single corruption in coming up on a year now. > Me too! (For a couple of years now) Apart from that one, I have several others which regularly have ~10 users in them all day with no sign of corruption yet. -- 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Nov 6 11:00:03 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 11:00:03 -0600 Subject: [AccessD] Re: Open Word Document In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106105848.02887df0@pop3.highstream.net> Virginia, I get that when there has been a substitution for a font or something like that. We do not see it because Word does it automatically. Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Wed, 05 Nov 2003 15:09:24 -0600 >From: "Hollis,Virginia" >Subject: RE: [AccessD] Open Word Document >To: "'Access Developers discussion and problem solving'" > >Message-ID: > <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C850 at cntexchange.pgdp.usec.com> >Content-Type: text/plain; charset=iso-8859-1 > >Perfect, thanks. > >When you open a document in Word is there anyway to prevent it from asking >if you want to save changes? Why does it show the Save message when no >changes have been made - only opened the document? I have noticed Excel does >the same thing, always wanting to save changes. > >Va. From prodevmg at yahoo.com Thu Nov 6 11:07:03 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 6 Nov 2003 09:07:03 -0800 (PST) Subject: [AccessD] Dynamic Calendar Report Message-ID: <20031106170703.95316.qmail@web20416.mail.yahoo.com> Is there any type of dynamic calendar that can come in report form in access? I want to be able to select any month and produce the appropriate calendar for that month. Also I want to be able to post items from a table into that calendar. Thanks in advance. Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From Mark.Mitsules at ngc.com Thu Nov 6 11:08:07 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 6 Nov 2003 12:08:07 -0500 Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Message-ID: Well, an easy way to get a list of these dates in Excel is to type your beginning date in a cell, highlight from that cell down the column to include the number of entries you wish, go to Edit/Fill/Series, choose Columns, Date, Weekday, OK. You could then use this list as the source for your loop logic. Mark -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, November 06, 2003 11:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Ok, can't seem to figure this out in Excel so going to use good ol' Access. I need to print a report that changes the date field for each work day of the year. For example, press print & it will print 240 (or however many work days there are in a year M-F) copies of a report and the date on each copy will increment. The report is 1 page. So, I need it to print one copy, increment the date by one working day, then print another copy until all copies are printed for the year. 1st copy - Thursday, 11/06/2003 2nd copy - Friday, 11/07/2003 3rd copy - Monday, 11/10/2003 etc. P.S. If anyone has any ideas how to do this in Excel or Access it doesn't matter. I would appreciate help either way. Virginia -----Original Message----- From: Hollis,Virginia Sent: Thursday, November 06, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: OT - Excel Increment Date Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.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 Nov 6 11:45:52 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 06 Nov 2003 11:45:52 -0600 Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C86B@cntexchange.pgdp.usec.com> I figured it out - if anyone ever needs this. Thanks, Va. ******************** With Worksheets("Schedule") NumCopies = .Cells(5, 20).Value For i = 1 To NumCopies If Weekday(.Cells(3, 7), 2) = 6 Or Weekday(.Cells(3, 7), 2) = 7 Then GoTo Gin ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True Gin: .Cells(2, 19).Value = i Next i End With -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Thursday, November 06, 2003 11:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Increment Date - Was: OT - Excel Increment Date Well, an easy way to get a list of these dates in Excel is to type your beginning date in a cell, highlight from that cell down the column to include the number of entries you wish, go to Edit/Fill/Series, choose Columns, Date, Weekday, OK. You could then use this list as the source for your loop logic. Mark -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, November 06, 2003 11:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Increment Date - Was: OT - Excel Increment Date Ok, can't seem to figure this out in Excel so going to use good ol' Access. I need to print a report that changes the date field for each work day of the year. For example, press print & it will print 240 (or however many work days there are in a year M-F) copies of a report and the date on each copy will increment. The report is 1 page. So, I need it to print one copy, increment the date by one working day, then print another copy until all copies are printed for the year. 1st copy - Thursday, 11/06/2003 2nd copy - Friday, 11/07/2003 3rd copy - Monday, 11/10/2003 etc. P.S. If anyone has any ideas how to do this in Excel or Access it doesn't matter. I would appreciate help either way. Virginia -----Original Message----- From: Hollis,Virginia Sent: Thursday, November 06, 2003 9:28 AM To: 'Access Developers discussion and problem solving' Subject: OT - Excel Increment Date Sorry for the OT and definitely change of subject to Excel. I need to increment a date in Excel, if anyone can help please contact me off-list. Virginia hollisvj at pgdp.usec.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Nov 6 11:50:24 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 6 Nov 2003 17:50:24 -0000 Subject: [AccessD] Find Every Occurance Of A Query In-Reply-To: <12773941.1068133229930.JavaMail.www@wwinf3001> Message-ID: <00d701c3a48e$77f6a530$b274d0d5@minster33c3r25> Paul Here's some code. Just call it from the immediate window as in: ? SrchQdefs("qryUnionAvailabilityTables") Function SrchQdefs(strSrch as String) 'Pass all queries and searches for a given string in the SQL Dim db As Database Dim qry As QueryDef Dim Mysql As String Set db = CurrentDb() For Each qry In db.QueryDefs If InStr(1, qry.SQL, Srch) <> 0 Then Debug.Print qry.Name End If Next qry Set db=Nothing End Function HTH Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > paul.hartland at fsmail.net > Sent: 06 November 2003 15:40 > To: accessd > Subject: [AccessD] Find Every Occurance Of A Query > > > To all, > I have a query named qryUnionAvailabilityTables, is there > anyway I can find out any other Query that uses > aryUnionAvailabilityTables without going and looking at > everyone of them, i.e. some code to loop through all the > queries I have looking for this etc. I would look manually > but we have over 250 queries in our main database. Thanks for > any help in advance....... Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From MarkBoyd at McBeeAssociates.com Thu Nov 6 11:49:06 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 6 Nov 2003 12:49:06 -0500 Subject: [AccessD] SOLVED: Omit Records from Report Total Message-ID: I resolved this issue by simply creating another field in the table, and running an update query to populate this field with the amount only if [ProposalStatus] <> 'Lost'. I then changed the textboxes on the report to sum this new field. Mark -----Original Message----- From: Mark Boyd Sent: Thursday, November 06, 2003 11:12 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Omit Records from Report Total I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. In my report, I group on [Office], with [ProposalStatus] and [Amount] in the Detail section. In the [Office] Footer, I have a textbox with a control source of '=Sum([Amount])'. However, I have been informed that this textbox should not include records with a [ProposalStatus] of 'Lost'. Therefore, I need the textbox to be the total amount of all records that have a [ProposalStatus] <> 'Lost'. Is there any way to do this? Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 6 12:08:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 13:08:20 -0500 Subject: [AccessD] running code in a database without referencing the db Message-ID: Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com From Mark.Mitsules at ngc.com Thu Nov 6 13:06:27 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 6 Nov 2003 14:06:27 -0500 Subject: [AccessD] running code in a database without referencing the db Message-ID: You don't ask for much do you? ;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 6 13:10:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 6 Nov 2003 13:10:43 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274E9@main2.marlow.com> Through automation. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 6 13:13:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 6 Nov 2003 13:13:43 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE0E2@TAPPEEXCH01> Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jcolby at colbyconsulting.com Thu Nov 6 13:14:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 14:14:52 -0500 Subject: [AccessD] running code in a database without referencing the db In-Reply-To: Message-ID: I try to only post the simple requests. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, November 06, 2003 2:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db You don't ask for much do you? ;) Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.Carter at telus.com Thu Nov 6 13:20:06 2003 From: Elizabeth.Carter at telus.com (Elizabeth Carter) Date: Thu, 6 Nov 2003 11:20:06 -0800 Subject: [AccessD] A2K: Testing for NULLS in a Query Message-ID: Hi Darren, You could try doing a select query for you student ID assessment ID combination and if no rows are returned run the append query. Liz -----Original Message----- From: Robin Lawrence [mailto:rgilimited at btconnect.com] Sent: November 6, 2003 12:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Testing for NULLS in a Query Darren, Have you tried IsNull([tblResults]![AssesmentID]) OR IsNull([tblResults]![StudentID]) Or move the second criteria to the second row of the query grid Rgds Robin Lawrence -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: 06 November 2003 05:00 To: AccessD List Subject: [AccessD] A2K: Testing for NULLS in a Query Hello all I have a Table that holds a swag of various ID's called tblResults Many fields but of interest here is... StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) I perform an append query if the one of the ID's is missing (using IS NULL in the criteria as per the find Unmatched Query Wizard) So I have a student (StudentID = 2 ) who does as assessment (AssessmentID = 55) Quite simply if there is no occurence of the Assessment ID 55 (ie Is null in the Criteria of the Append Query) Excellent then the Append query sparks up and all is well. Small snag though. Many students may sit assessment no 55. So there may be no occurence of AssessmentID 55 for student no 2 but there may be an occurence of it for say...Student Number 1 or others As a result the Is Null Criteria is false and doesn't spark the append query Because there IS an assessment 55 in the Results Table only it belongs to Student no 1 not student no 2 How do I test for Null in 2 fields in order to spark up the append query. IE there may be an AssesmentID of 55 in the table but for Student ID 1 So... How do I test for Is Null Assessment ID 55 AND isNull student ID2 I have discovered it is not as simple as putting Is Null in the Critera for Assessment ID and Is Null for Criteria For Student ID I have also tried IsNull([tblResults]![AssesmentID]) And IsNull([tblResults]![StudentID]) no joy 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 jcolby at colbyconsulting.com Thu Nov 6 13:30:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 6 Nov 2003 14:30:33 -0500 Subject: [AccessD] running code in a database without referencing the db In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE0E2@TAPPEEXCH01> Message-ID: I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Thu Nov 6 13:38:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 6 Nov 2003 13:38:08 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274EC@main2.marlow.com> With automation, you can call a function in another instance of Access. I believe it's 'CallFunction' (little hazy this morning). You can also grab an existing instance of Access. So would grabbing an existing instance of Access, then using the CallFunction through automation work? Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Thu Nov 6 13:43:59 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 06 Nov 2003 12:43:59 -0700 Subject: [AccessD] running code in a database without referencing the db Message-ID: As an attempt at a possible solution, I defined a function that was called by a query in mdb1. I then created a query in mdb2 named functionName with an IN clause that referenced the query in mdb1 and it returned an "Undefined function 'functionName' in Expression' message. I then defined a different function with the name 'functionName' in mdb2 and ran the query in mdb2 and the resulting recordset used the calculation from mdb2 while the function in mdb1 was not called. In any event, using a query with a calculated field that calculates one time is not able to call a function in its own container mdb as I had thought it might. The function must be defined in the application. I can't imagine any other way of trying this without a reference to the container application. Good luck but you will probably have to create the reference on the fly. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] running code in a database without referencing the db >Date: Thu, 6 Nov 2003 13:08:20 -0500 > >Is it possible to call a function in another database without referencing >that db? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >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&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca From rl_stewart at highstream.net Thu Nov 6 13:55:27 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 13:55:27 -0600 Subject: [AccessD] Re: Read-Only error message opening database In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106133601.028d7e58@pop3.highstream.net> Terry, Have you converted the MDBs from 97 to 2000. That may be the reason they are getting me message. Also, how are your permissions setup on SQL Server? Have you thought of changing to ADPs? Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Thu, 6 Nov 2003 15:02:58 +1300 >From: access at tlcbc.com.au >Subject: [AccessD] Read-Only error message opening database >To: accessd at databaseadvisors.com >Message-ID: <1068084178.3fa9abd2322e1 at 210.55.105.82> >Content-Type: text/plain; charset=ISO-8859-1 > > >Hi! > >I have just found this list so apologies if this question has been asked >before >(couldn't see it in the archives). > >We have a database that is stored on a shared network drive with the data >itself in an SQL Server backend. For security reasons the majority of users >have read-only access to the network drive where the database is >stored. With >Access 97 this worked fine but the database has recently been upgraded to >Access 2000 and now the users receive a message when they open the database >stating that it is read-only so they won't be able to save their changes >(which >is incorrect as, of course, the updates are done on the SQL server which they >do have write access to). Not a major problem but very annoying and >confusing >for the users. > >Does anyone know how to disable this error message under Access 2000? > >Thanks, >Terry Bradford From cfoust at infostatsystems.com Thu Nov 6 14:04:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 12:04:12 -0800 Subject: [AccessD] running code in a database without referencing the db Message-ID: John, Why don't you just put the generic code you need into a code library and reference that from both your application and your generic process? It sounds like you've got a snake swallowing its tail. Wizards are supposed to be freestanding. They shouldn't call processes in the FE for the very reason you're tripping over. Make the FE use the wizard, not the other way around, or use a code library. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 6 14:04:13 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 6 Nov 2003 14:04:13 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE0E4@TAPPEEXCH01> Aha! I see... The Access.Application object has a method called "Run" that will allow external applications to execute global procedures. If the wizard knew the filepath of the FE, it could reference it in a procedure using GetObject: Dim objAccFE As Object Set objAccFE = GetObject(mstrAccFEPath, "Access.Application") objAccFE.Run "ProcName", "Arg1", "Arg2" Set objAccFE = Nothing By setting procedure-level object references and destroying them when you're done, you shouldn't have any problems with circular references. Also, a nice feature of the Run method is that the procedure name and arguments can come from variables or table data, giving you complete flexibility in a "table-driven" system. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From rl_stewart at highstream.net Thu Nov 6 14:06:31 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 14:06:31 -0600 Subject: [AccessD] Re: OT: Corrupted database In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106135723.029ad340@pop3.highstream.net> Jim, Personally, I do everything bound. I have an Access 2 db that is still running with up to 80 concurrent users and a size of about 500 meg. In every application I do, no one shares a FE db. I have one attaching to SQL Server that the BE is about 1.5 gig. One table is over 3/4 of a million records. No problems. I am currently working on moving it to an ADP and then to an ASP.NET application. And, since when is Access not based on SQL technology???? Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Wed, 05 Nov 2003 19:32:13 -0800 >From: "Jim Lawrence (AccessD)" >Subject: RE: [AccessD] OT: Corrupted database >To: Access Developers discussion and problem solving > >Message-ID: >Content-Type: text/plain; charset=iso-8859-1 > >Hi John and Stuart: > >Not trying to re-kindle the bound/unbound debate but as most of my contracts >are with the local provincial government and they have a specific rule. All >databases with greater than ten users must be build on SQL technology. That >technology extends to Oracle and sometime MS SQL and unbound forms. >Therefore, I have little opportunity experiment with Access environments >with a large user base. The closest I came to a significant bound Access >database was a private client with just under twenty users but they moved >their server to Linux and subsequently a MySQL BE. > >Maybe all these concerns with larger Access bound form applications, are >part of a local urban legend, or Database companies and DBAs who wish to >promote the myth to their own end but I for one have not had great memories >with a couple of applications. Once burned...twice shy. > >My two cents worth >Jim From lists at theopg.com Thu Nov 6 14:19:05 2003 From: lists at theopg.com (MarkH) Date: Thu, 6 Nov 2003 20:19:05 -0000 Subject: [AccessD] Passive shutdown.... Driving me mad In-Reply-To: <006401c3a3b5$2aaf1070$6501a8c0@HAL9002> Message-ID: <001501c3a4a3$455ad0f0$590b6bd5@netboxxp> Hi all... I have a database (Access XP 2002 format) on widows XP, data in a separate backend etc. When I try to connect to the front-end (generating reports using ADO in Excel from temp data stored in the FE) I get the following message: "The database has been placed in a state by user on machine that prevents it from being opened or locked. (Error 3734) This error occurs when the new passive shutdown/connection control is being used. This error message indicates that a user set the database in a mode that will prevent other users from opening it." I have looked in the help and searched the archives and can't figure it out. The backends access, not SQL Server, I'm the only user (at present) and I haven't opened the database exclusively or messed with this "damned" connection control... Any one out there know whats going on? (apart from me climbing the walls that is) Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From DWUTKA at marlow.com Thu Nov 6 14:23:11 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 6 Nov 2003 14:23:11 -0600 Subject: [AccessD] running code in a database without referencing the db Message-ID: <2F8793082E00D4119A1700B0D0216BF8022274ED@main2.marlow.com> There ya go. Run. New I had it wrong....but hey, just starting my first cup of coffee right now. Drew -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 06, 2003 2:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Aha! I see... The Access.Application object has a method called "Run" that will allow external applications to execute global procedures. If the wizard knew the filepath of the FE, it could reference it in a procedure using GetObject: Dim objAccFE As Object Set objAccFE = GetObject(mstrAccFEPath, "Access.Application") objAccFE.Run "ProcName", "Arg1", "Arg2" Set objAccFE = Nothing By setting procedure-level object references and destroying them when you're done, you shouldn't have any problems with circular references. Also, a nice feature of the Run method is that the procedure name and arguments can come from variables or table data, giving you complete flexibility in a "table-driven" system. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] running code in a database without referencing the db I have a client where more and more processes need to be run automatically. Basically they need to send (email) reports to various clients automatically, receive reports and process spreadsheet attachments etc. I am trying to design a generic process system where the processes can be table driven. I would like this code to be a referenced wizard such that I have a FE if you will that has code in it that creates these reports and knows how to email them out. It has tables where it places data such as time / date to run the process and what function to call that is the process to run. It starts the wizard which loads the processes and at the correct time runs each process. The problem is that the process code is in the FE. The FE is starting a wizard and thus has to reference the wizard. The wizard has to call a function back in the FE. This is a circular reference and Access doesn't like circular references. I read stuff about circular references ages ago but can't find anything anymore. I vaguely recall something about as long as the modules are divided us such that the calls out and back in don't occur into the same module it could be done. Or I hallucinated that. Not sure which and can't find anything on it anymore. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 06, 2003 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] running code in a database without referencing the db Can you define "without referencing"? Shell, DDE, mental telepathy? -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 06, 2003 12:08 PM To: AccessD Subject: [AccessD] running code in a database without referencing the db Is it possible to call a function in another database without referencing that db? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 6 15:02:17 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 06 Nov 2003 15:02:17 -0600 Subject: [AccessD] Omit Records from Report Total Message-ID: I would do this with a query over the table with a second field for the Amount that had a value of something like; AmountForNotLost: iif([ProposalStatus] = 'Lost',0,[Amount[) and then use that query as the record source for the report and just total on the AmountForNotLost instead of - or in addition to the regulare Amount field. Gary Kjos garykjos at hotmail.com >From: "Mark Boyd" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Omit Records from Report Total >Date: Thu, 6 Nov 2003 11:12:26 -0500 > >I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > >In my report, I group on [Office], with [ProposalStatus] and [Amount] in >the Detail section. > >In the [Office] Footer, I have a textbox with a control source of >'=Sum([Amount])'. > >However, I have been informed that this textbox should not include >records with a [ProposalStatus] of 'Lost'. > >Therefore, I need the textbox to be the total amount of all records that >have a [ProposalStatus] <> 'Lost'. > > > >Is there any way to do this? > > > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From rl_stewart at highstream.net Thu Nov 6 15:11:09 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 06 Nov 2003 15:11:09 -0600 Subject: [AccessD] Re: A2K: Testing for NULLS in a Query In-Reply-To: <200311060852.hA68qp629349@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031106150634.02921e88@pop3.highstream.net> Darren, I would do it in code and not in queries. The first one would be a recordset for each student. SELECT StudentID FROM tblStudent: Go to the first record loop until rs1.eof check in a second recordset for the Assessment for that StudentID SELECT * FROM tblAssessment WHERE StudentID = rs1!StudentID if rs2.bof and rs2.eof ' no records found then append the record end if move to the next record of rs1 loop back up there it is in pseudo-code. Robert At 02:52 AM 11/6/2003 -0600, you wrote: >Date: Thu, 6 Nov 2003 16:00:10 +1100 >From: "Darren DICK" >Subject: [AccessD] A2K: Testing for NULLS in a Query >To: "AccessD List" >Message-ID: <00f101c3a422$dba47f60$3c619a89 at DDICK> >Content-Type: text/plain; charset="iso-8859-1" > >Hello all >I have a Table that holds a swag of various ID's called tblResults >Many fields but of interest here is... >StudentID, AwardID, CourseID, SubjectID, AssessmentID all Numbers (Long Int) > >I perform an append query if the one of the ID's is missing >(using IS NULL in the criteria as per the find Unmatched Query Wizard) > >So I have a student (StudentID = 2 ) who does as assessment (AssessmentID >= 55) > >Quite simply if there is no occurence of the Assessment ID 55 (ie Is null >in the Criteria of the Append Query) >Excellent then the Append query sparks up and all is well. > >Small snag though. Many students may sit assessment no 55. So there may >be no occurence of AssessmentID 55 >for student no 2 but there may be an occurence of it for say...Student >Number 1 or others > >As a result the Is Null Criteria is false and doesn't spark the append >query Because there IS an assessment 55 in the >Results Table only it belongs to Student no 1 not student no 2 > >How do I test for Null in 2 fields in order to spark up the append query. >IE there may be an AssesmentID of 55 in the table but for Student ID 1 >So... >How do I test for Is Null Assessment ID 55 AND isNull student ID2 >I have discovered it is not as simple as putting Is Null in the Critera >for Assessment ID and Is Null for Criteria For Student ID >I have also tried IsNull([tblResults]![AssesmentID]) And >IsNull([tblResults]![StudentID]) no joy > >Many thanks in advance > > >Darren From MarkBoyd at McBeeAssociates.com Thu Nov 6 15:12:26 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 6 Nov 2003 16:12:26 -0500 Subject: [AccessD] Omit Records from Report Total Message-ID: Gary - That's a good idea. I actually created a new field and updated it with the same criteria you are using. Then, I used this new field for the totals. Although, your idea involves less work. Thanks, Mark -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Thursday, November 06, 2003 4:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Omit Records from Report Total I would do this with a query over the table with a second field for the Amount that had a value of something like; AmountForNotLost: iif([ProposalStatus] = 'Lost',0,[Amount[) and then use that query as the record source for the report and just total on the AmountForNotLost instead of - or in addition to the regulare Amount field. Gary Kjos garykjos at hotmail.com >From: "Mark Boyd" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Omit Records from Report Total >Date: Thu, 6 Nov 2003 11:12:26 -0500 > >I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > >In my report, I group on [Office], with [ProposalStatus] and [Amount] in >the Detail section. > >In the [Office] Footer, I have a textbox with a control source of >'=Sum([Amount])'. > >However, I have been informed that this textbox should not include >records with a [ProposalStatus] of 'Lost'. > >Therefore, I need the textbox to be the total amount of all records that >have a [ProposalStatus] <> 'Lost'. > > > >Is there any way to do this? > > > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! 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 reuben at gfconsultants.com Thu Nov 6 15:22:27 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 6 Nov 2003 16:22:27 -0500 Subject: [AccessD] Median Number Message-ID: Anyone have a good way to find the median value in a table of unkown number of records? I can't find anything in Access and I have some ideas, but I hate to re-invent the wheel. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From EdTesiny at oasas.state.ny.us Thu Nov 6 15:40:16 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 6 Nov 2003 16:40:16 -0500 Subject: [AccessD] Median Number Message-ID: Rueben, Take a look at this link: http://support.microsoft.com/default.aspx?scid=kb;DA;q210581 Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, November 06, 2003 4:22 PM To: AccessD Subject: [AccessD] Median Number Anyone have a good way to find the median value in a table of unkown number of records? I can't find anything in Access and I have some ideas, but I hate to re-invent the wheel. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Nov 6 15:46:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 13:46:38 -0800 Subject: [AccessD] Export Access Report to Word Message-ID: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software From cfoust at infostatsystems.com Thu Nov 6 15:58:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 13:58:11 -0800 Subject: [AccessD] Export Access Report to Word Message-ID: I don't know of any easy way. We do screen captures of ours for that purpose, since rtf is useless for graphics. Or you can print them to a pdf printer . Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 06, 2003 1:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Export Access Report to Word Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software _______________________________________________ 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 Nov 6 16:39:23 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Nov 2003 08:39:23 +1000 Subject: [AccessD] Omit Records from Report Total In-Reply-To: Message-ID: <3FAB5A3B.23650.1ED3C7@localhost> Use: =Sum(IIf([ProposalStatus]="Lost",0,[Amount]) On 6 Nov 2003 at 11:12, Mark Boyd wrote: > I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > > In my report, I group on [Office], with [ProposalStatus] and [Amount] in > the Detail section. > > In the [Office] Footer, I have a textbox with a control source of > '=Sum([Amount])'. > > However, I have been informed that this textbox should not include > records with a [ProposalStatus] of 'Lost'. > > Therefore, I need the textbox to be the total amount of all records that > have a [ProposalStatus] <> 'Lost'. > > > > Is there any way to do this? > > > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc. > > > > _______________________________________________ > 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 sgoodhall at comcast.net Thu Nov 6 17:55:39 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Thu, 6 Nov 2003 18:55:39 -0500 Subject: [AccessD] OT Access Traffic Query In-Reply-To: <3FAAD907.13187.768AC@localhost> Message-ID: A couple of points (3 actually) 1. Even if you split it, the processing will still all take place on the desktop. The primary benefits of splitting have to do compressibility and version control. 2. It is a good idea to split it anyway, and not that tough. 3. Even if you use SQL or MSDE, it is still pretty easy to mess it up so that the processing takes place on the desktop. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, November 06, 2003 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Access Traffic Query On 6 Nov 2003 at 13:24, paul.hartland at fsmail.net wrote: > To all, We have a Win2000 Server network with Office XP Professional > using Access XP, we don't have a front-end or back-end to this system > (I inherited it, lucky me). So everyone has a shortcut to the .mdb on > the Server, when a query is run on the .mdb is it the Server that will > do the processing or the desktop unit of the user ? Anybody know how it > actually works, cause I may have to modify the Aplication. Paul The desktop does all the processing. It is behaving exactly it would if the application was on a local disk (only it takes longer to pull everything over the network than it would from a local drive). -- 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 scapistrant at symphonyinfo.com Thu Nov 6 19:03:54 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 6 Nov 2003 19:03:54 -0600 Subject: [AccessD] Method 'SourceObject' of object... In-Reply-To: Message-ID: Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 From cfoust at infostatsystems.com Thu Nov 6 19:28:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 6 Nov 2003 17:28:33 -0800 Subject: [AccessD] Method 'SourceObject' of object... Message-ID: Is that the literal error message, or do 'SourceObject' and '_SubForm' stand as placeholders? What version of Access are you using and What file format? Are you getting the message when someone attempts to run the application using the runtime engine or is it an error that *happens* at runtime? Is the error triggered on methods like "ControlSource" or did you mean "SourceObject" rather than what you typed? Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Thu Nov 6 19:28:56 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 6 Nov 2003 19:28:56 -0600 Subject: [AccessD] Method 'SourceObject' of object... In-Reply-To: Message-ID: And I've started from scratch using a virgin database and importing all objects. Still no go. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Capistrant Sent: Thursday, November 06, 2003 7:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Nov 6 19:44:44 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 06 Nov 2003 17:44:44 -0800 Subject: [AccessD] Passive shutdown.... Driving me mad References: <001501c3a4a3$455ad0f0$590b6bd5@netboxxp> Message-ID: <3FAAF90C.5030006@shaw.ca> Some things to check http://support.microsoft.com/?kbid=274211 http://support.microsoft.com/?kbid=198756 On some versions of Access when you use "File | Open..." instead of using the shortcut, you will see a checkbox on the file open dialog with "Exclusive" next to it. Make sure you don't open the db with this checked. Error 3734 This error occurs when the new passive shutdown / connection control is being used. This indicates that a user set the database in a mode that prevents other database users from opening it." When all users close the database, is there a locking file left behind? It will be in the same folder as your database with the same name and the extension .ldb. Delete it this file, it should be deleted when the last user closes the database. You may need to reboot if windows will not let you delete the file. If this does not resolve the problem, you may wish to create a new database and import all objects from the old database in case the database file is corrupted. Related article: Q274211 - PRB: Error Msg. 3734 Occurs When You Repeatedly Open & Close MDB http://support.microsoft.com/support/kb/articles/q274/2/11.asp MarkH wrote: >Hi all... > >I have a database (Access XP 2002 format) on widows XP, data in a >separate backend etc. When I try to connect to the front-end (generating >reports using ADO in Excel from temp data stored in the FE) I get the >following message: > >"The database has been placed in a state by user on machine >that prevents it from being opened or locked. (Error 3734) >This error occurs when the new passive shutdown/connection control is >being >used. This error message indicates that a user set the database in a >mode >that will prevent other users from opening it." > >I have looked in the help and searched the archives and can't figure it >out. The backends access, not SQL Server, I'm the only user (at present) >and I haven't opened the database exclusively or messed with this >"damned" connection control... > >Any one out there know whats going on? (apart from me climbing the walls >that is) > >Cheers > >Mark > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From scapistrant at symphonyinfo.com Thu Nov 6 19:55:18 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 6 Nov 2003 19:55:18 -0600 Subject: [AccessD] Method 'SourceObject' of object... In-Reply-To: Message-ID: Charlotte, 1. Yes, that's the literal message, referring to object names that are not found anywhere in my code or object set. 2. Using Access 2000. 3. I don't understand your distinction about runtime engines. The app compiles cleanly, and compacts without complaint. But when I start hitting a few areas with subforms, I get a hailstorm of these errors. I can turn on error pausing and see where it trips up, and the code lines are all different, but they do have the common thread of assigning various subform names to the container form's subform's SourceObject. 4. Oops, you are right -- I meant "SourceObject". The offending lines read like: forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 7:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Method 'SourceObject' of object... Is that the literal error message, or do 'SourceObject' and '_SubForm' stand as placeholders? What version of Access are you using and What file format? Are you getting the message when someone attempts to run the application using the runtime engine or is it an error that *happens* at runtime? Is the error triggered on methods like "ControlSource" or did you mean "SourceObject" rather than what you typed? Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GordonS2 at pacbell.net Thu Nov 6 23:41:40 2003 From: GordonS2 at pacbell.net (Gordon Stubbs) Date: Thu, 6 Nov 2003 21:41:40 -0800 Subject: [AccessD] Export Access Report to Word In-Reply-To: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Message-ID: <000701c3a4f1$d2c97ec0$0200a8c0@Home1> Rocky, I use ScreenHunter. This program lets me capture any screen by full screen, active window or by click and drag. The program will auto name the files using a base name and a changing number to any directory I want. The program saves In Bitmap, Jpeg or Gif formats. I then import them into word and size them and write my manual around them. The best part is the program is free, they also have a paid version that does more. You can go to their website http://www.wisdom-soft.com/ or email me at my address GordonS at GSDbSolutions.com and I'll send the free program to you.\ The program is 381KB in size. Gordon -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, November 06, 2003 1:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Export Access Report to Word Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software _______________________________________________ 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 Nov 6 20:57:23 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Nov 2003 12:57:23 +1000 Subject: [AccessD] Export Access Report to Word In-Reply-To: <000701c3a4f1$d2c97ec0$0200a8c0@Home1> References: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Message-ID: <3FAB96B3.31294.B69EF@localhost> The freeware Irfanview is also a good tool for this sort of thing. http://www.irfanview.com On 6 Nov 2003 at 21:41, Gordon Stubbs wrote: > Rocky, > > I use ScreenHunter. This program lets me capture any screen by full > screen, active window or by click and drag. The program will auto name > the files using a base name and a changing number to any directory I > want. The program saves In Bitmap, Jpeg or Gif formats. > > I then import them into word and size them and write my manual around > them. > > The best part is the program is free, they also have a paid version that > does more. > > You can go to their website http://www.wisdom-soft.com/ or email me at > my address GordonS at GSDbSolutions.com and I'll send the free program to > you.\ > The program is 381KB in size. > > > Gordon > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, November 06, 2003 1:47 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Export Access Report to Word > > Dear List: > > I need to find a way to get a number of reports from an application into > a format that can be imported into Word. It's for a user manual. Its > for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Thu Nov 6 21:41:57 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 19:41:57 -0800 Subject: [AccessD] Export Access Report to Word References: <000701c3a4f1$d2c97ec0$0200a8c0@Home1> Message-ID: <03ca01c3a4e1$18379ac0$6501a8c0@HAL9002> Gordon and Stuart: I've tried the screen captures but they didn't work. Most of the reports are in landscape and by the time I display the whole page on the screen the resolution is too low to make a good printable page in a word doc. What I really need is a way to output the report to a format that can be imported into Word - like a jpg format, perhaps. I tried snapview but the .snp format isn't compatible with anything. I tried cutepdf but the .pdf format isn't compatible with anything either. :( Rocky ----- Original Message ----- From: "Gordon Stubbs" To: Sent: Thursday, November 06, 2003 9:41 PM Subject: RE: [AccessD] Export Access Report to Word > Rocky, > > I use ScreenHunter. This program lets me capture any screen by full > screen, active window or by click and drag. The program will auto name > the files using a base name and a changing number to any directory I > want. The program saves In Bitmap, Jpeg or Gif formats. > > I then import them into word and size them and write my manual around > them. > > The best part is the program is free, they also have a paid version that > does more. > > You can go to their website http://www.wisdom-soft.com/ or email me at > my address GordonS at GSDbSolutions.com and I'll send the free program to > you.\ > The program is 381KB in size. > > > Gordon > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, November 06, 2003 1:47 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Export Access Report to Word > > Dear List: > > I need to find a way to get a number of reports from an application into > a format that can be imported into Word. It's for a user manual. Its > for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 bchacc at san.rr.com Thu Nov 6 22:23:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 20:23:31 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <03e901c3a4e6$e6ecae50$6501a8c0@HAL9002> Charlotte: I tried printing to pdf using cutepdf and it worked real well except now how do I get it into a word doc for the manual? Is there a way to do that? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, November 06, 2003 1:58 PM Subject: RE: [AccessD] Export Access Report to Word > I don't know of any easy way. We do screen captures of ours for that > purpose, since rtf is useless for graphics. Or you can print them to a > pdf printer . > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Thursday, November 06, 2003 1:47 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Export Access Report to Word > > > Dear List: > > I need to find a way to get a number of reports from an application into > a format that can be imported into Word. It's for a user manual. Its > for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 ssharkins at bellsouth.net Thu Nov 6 22:31:24 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 6 Nov 2003 23:31:24 -0500 Subject: [AccessD] Export Access Report to Word References: <03e901c3a4e6$e6ecae50$6501a8c0@HAL9002> Message-ID: <000c01c3a4e8$10b60c80$210110ac@SUSANONE> Doesn't CutePDF export? Susan H. > Charlotte: > > I tried printing to pdf using cutepdf and it worked real well except now how > do I get it into a word doc for the manual? Is there a way to do that? > From stuart at pacific.net.hk Thu Nov 6 22:50:33 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 7 Nov 2003 12:50:33 +0800 Subject: [AccessD] Export Access Report to Word In-Reply-To: <03e901c3a4e6$e6ecae50$6501a8c0@HAL9002> Message-ID: Just did a quick search. While this isn't free, it seems to do what you need. http://www.print-driver.com/ What it does is install a new printer driver. When you choose to print to this, it will render the print output to an image file. There maybe a free alterative if someone does a search. I found another one that is shareware. http://www.newfreeware.com/search.php3?q=image+print+driver Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Friday, 07 November, 2003 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Charlotte: > > I tried printing to pdf using cutepdf and it worked real well > except now how > do I get it into a word doc for the manual? Is there a way > to do that? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 06, 2003 1:58 PM > Subject: RE: [AccessD] Export Access Report to Word > > > > I don't know of any easy way. We do screen captures of > ours for that > > purpose, since rtf is useless for graphics. Or you can > print them to a > > pdf printer . > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > > Sent: Thursday, November 06, 2003 1:47 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Export Access Report to Word > > > > > > Dear List: > > > > I need to find a way to get a number of reports from an > application into > > a format that can be imported into Word. It's for a user > manual. Its > > for the Appendix - sample reports from the app. > > > > I have used the ReportUtilities download (can't remember where I got > > it), which worked well on the last manual but the reports had very > > little formatting and graphics. > > > > The reports I'm trying to do need to show all the boxes and > lines. And > > since the manual changes I don't want to go through that > handcrafting > > this of printing the blank pages with the page numbers, headers and > > footers, and then trying to use those to print the reports on them > > directly. Love to get these reports into Word where I can > crop and zoom > > etc. > > > > Does anyone know how this can be done? > > > > Regards, > > > > 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 martyconnelly at shaw.ca Thu Nov 6 22:59:20 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 06 Nov 2003 20:59:20 -0800 Subject: [AccessD] Method 'SourceObject' of object... References: Message-ID: <3FAB26A8.3050601@shaw.ca> I just wonder if it could be something along these lines To refer to a control on a subform, use the following syntax: Forms![main form name]![subform control name].Form![control name] It is important to note that you cannot refer to controls on a subform with the following syntax: Forms![subform name]![control name] This is because a subform on a main form is not a form, but is a control just like a text box or a list box. You must refer to a subform as a control rather than a form, and specify the Form identifier following the subform control name reference to gain access to the controls on a subform. ACC2000: How to Refer to a Control on a Subform or Subreport http://support.microsoft.com/default.aspx?scid=kb;en-us;209099&Product=acc Steve Capistrant wrote: >Charlotte, > >1. Yes, that's the literal message, referring to object names that are not >found anywhere in my code or object set. >2. Using Access 2000. >3. I don't understand your distinction about runtime engines. The app >compiles cleanly, and compacts without complaint. But when I start hitting >a few areas with subforms, I get a hailstorm of these errors. I can turn on >error pausing and see where it trips up, and the code lines are all >different, but they do have the common thread of assigning various subform >names to the container form's subform's SourceObject. >4. Oops, you are right -- I meant "SourceObject". The offending lines read >like: >forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Thursday, November 06, 2003 7:29 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Method 'SourceObject' of object... > > >Is that the literal error message, or do 'SourceObject' and '_SubForm' >stand as placeholders? What version of Access are you using and What >file format? Are you getting the message when someone attempts to run >the application using the runtime engine or is it an error that >*happens* at runtime? Is the error triggered on methods like >"ControlSource" or did you mean "SourceObject" rather than what you >typed? > >Charlotte Foust > >-----Original Message----- >From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] >Sent: Thursday, November 06, 2003 5:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Method 'SourceObject' of object... > > >Help!! Our main database has been corrupted, displaying this: > >" Run-time Error '-2147417848 (80010108): Method 'SourceObject' of >object '_SubForm' failed " > >from a variety of contexts. How do I shake it? Nothing in MSKB. >We're >using Source Safe, and even totally rebuilt versions still have the >corruption, and it happens on all workstations. Triggered on lines like >this: >forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Thu Nov 6 23:44:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 6 Nov 2003 21:44:29 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <043b01c3a4f2$3692ff30$6501a8c0@HAL9002> Stuart: Thanks for the links. The second one looks like a screen capture so I don't think it will do but the first one seems to work well in the demo. It's $70 for the business version, but I may have to bite that bullet if I can't figure another way. It makes very nice jpg files which you can import to word and stretch to fit the page. Regards, Rocky ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 06, 2003 8:50 PM Subject: RE: [AccessD] Export Access Report to Word Just did a quick search. While this isn't free, it seems to do what you need. http://www.print-driver.com/ What it does is install a new printer driver. When you choose to print to this, it will render the print output to an image file. There maybe a free alterative if someone does a search. I found another one that is shareware. http://www.newfreeware.com/search.php3?q=image+print+driver Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Friday, 07 November, 2003 12:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Charlotte: > > I tried printing to pdf using cutepdf and it worked real well > except now how > do I get it into a word doc for the manual? Is there a way > to do that? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 06, 2003 1:58 PM > Subject: RE: [AccessD] Export Access Report to Word > > > > I don't know of any easy way. We do screen captures of > ours for that > > purpose, since rtf is useless for graphics. Or you can > print them to a > > pdf printer . > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > > Sent: Thursday, November 06, 2003 1:47 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Export Access Report to Word > > > > > > Dear List: > > > > I need to find a way to get a number of reports from an > application into > > a format that can be imported into Word. It's for a user > manual. Its > > for the Appendix - sample reports from the app. > > > > I have used the ReportUtilities download (can't remember where I got > > it), which worked well on the last manual but the reports had very > > little formatting and graphics. > > > > The reports I'm trying to do need to show all the boxes and > lines. And > > since the manual changes I don't want to go through that > handcrafting > > this of printing the blank pages with the page numbers, headers and > > footers, and then trying to use those to print the reports on them > > directly. Love to get these reports into Word where I can > crop and zoom > > etc. > > > > Does anyone know how this can be done? > > > > Regards, > > > > 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 > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From allcop.pc at t-online.de Fri Nov 7 01:40:14 2003 From: allcop.pc at t-online.de (Bettina Giehr) Date: Fri, 7 Nov 2003 08:40:14 +0100 Subject: [AccessD] Re : dynamic Calendar report In-Reply-To: <200311061800.hA6I0H626404@databaseadvisors.com> Message-ID: <000001c3a502$64868140$0933a8c0@allcopgiehr> Hi Lonnie, I have worked with the datasphere calendar forms and liked it. It needs some programming skills though. The price was $99 at the time I bought it. There's a demo download on the website I'm not sure whether you can do real calendar printouts, but the forms are having calendar look and feel. http://www.datasphere-llc.com Or maybe you can use Outlook for your needs, I have no experience with the programming interface for outlook but there are some people on the list who are gurus... HTH Bettina From bill.marriott at optusnet.com.au Fri Nov 7 02:08:43 2003 From: bill.marriott at optusnet.com.au (Bill & Janine Marriott) Date: Fri, 7 Nov 2003 19:08:43 +1100 Subject: [AccessD] uploading data from an fixed field length txt file In-Reply-To: <000001c3a502$64868140$0933a8c0@allcopgiehr> Message-ID: <000001c3a506$5dd17220$4211a4cb@marriott> Hi Everyone, I haven't visited this site for a while. Nice to see some old familiar faces. Does anyone know where I can look for code samples for uploading data from a text file into Access xp? Thanks Bill Marriott From gustav at cactus.dk Fri Nov 7 03:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 10:30:00 +0100 Subject: [AccessD] Median Number In-Reply-To: References: Message-ID: <1155443056.20031107103000@cactus.dk> Hi Reuben > Anyone have a good way to find the median value in a table of unkown number > of records? You could look up our own list at 2001-03-06: Sub GetTableMedian () Dim dblMedian As Double dblMedian = GetTableMedian ("", "tblData", "FieldName") Debug.Print (dblMedian) End Sub Function GetTableMedian(strDatabase As String, strTable As String, strField As String) As Double 'strDatabase - name of the database to look in or "" for the current database 'strTable - name of the table to analyze 'strField - name of the field to analyze 'Returns: median Dim dbsTemp As Database Dim rstTemp As Recordset Dim strSQL As String Dim lngElements As Long Dim lngIndex As Long Dim fInterpolate As Boolean Dim dblMedian As Double If strDatabase = "" Then Set dbsTemp = CurrentDb() Else Set dbsTemp = DBEngine.Workspaces(0).OpenDatabase(strDatabase) End If strSQL = "SELECT DISTINCTROW [" & strField & "] FROM [" & strTable & "] " strSQL = strSQL & "WHERE ([" & strField & "] Is Not Null) " strSQL = strSQL & "ORDER BY [" & strField & "];" Set rstTemp = dbsTemp.OpenRecordset(strSQL) If Not rstTemp.EOF Then rstTemp.MoveLast lngElements = rstTemp.RecordCount If lngElements = 1 Then dblMedian = rstTemp(strField) Else lngIndex = Int((lngElements + 1) / 2) fInterpolate = (lngElements Mod 2 = 0) rstTemp.MoveFirst rstTemp.Move (lngIndex - 1) dblMedian = rstTemp(strField) If fInterpolate Then rstTemp.MoveNext dblMedian = (dblMedian + rstTemp(strField)) / 2 End If End If Else dblMedian = 0 End If rstTemp.Close dbsTemp.Close GetTableMedian = dblMedian End Function William Hindman /gustav From Chris.Foote at uk.thalesgroup.com Fri Nov 7 03:34:44 2003 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 7 Nov 2003 09:34:44 -0000 Subject: [AccessD] Open Word Document Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0BEAC@ntscxch1.int.rdel.co.uk> Bit late into this topic - sorry. I think this is caused by Word (and probably other apps.) changing docs to use your default printer. If you open a doc created or modified by someone else who has a different default printer, the app. has to reformat it. But if you are opening and close Word docs "all day long" it does not have to change the printer setting more than once. HTH - Chris Foote > -----Original Message----- > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > Sent: Wednesday, November 05, 2003 11:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open Word Document > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > It is wanting to save because the last opened date has > > changed, so it sees the document as having been changed. > > Annoying, huh? > > Nope. I don't think that this is the reason. I open and close Word > docs all day long and only have the Save prompt show up when I > actually change the doc or there are fields in the doc that get > updated, and I have Word set to update all fields when it opens and > prints. > > Docs without fields don't have the prompt for me. > > -- > Bryan Carbonnell > From j.r.porter at strath.ac.uk Fri Nov 7 04:19:40 2003 From: j.r.porter at strath.ac.uk (John R. Porter) Date: Fri, 7 Nov 2003 10:19:40 -0000 Subject: [AccessD] Median Number In-Reply-To: <1155443056.20031107103000@cactus.dk> Message-ID: <001a01c3a518$a8285700$94249f82@ds.strath.ac.uk> This can also be done (faster I expect) by a SQL statement without coding and ADO or DAO as the case may be, though the SQL is quite complex. If you can get hold of it, there's an excellent article about this in the May 2003 issue of 'Smart Access' magazine. You can get a trial subscription at http://www.pinpub.com/html/main.isx?sub=29 John R. Porter I.T. Services University of Strathclyde Faculty of Education 76 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel. 0141 950 3289 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: 07 November 2003 09:30 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Median Number Hi Reuben > Anyone have a good way to find the median value in a table of unkown number > of records? You could look up our own list at 2001-03-06: Sub GetTableMedian () Dim dblMedian As Double dblMedian = GetTableMedian ("", "tblData", "FieldName") Debug.Print (dblMedian) End Sub Function GetTableMedian(strDatabase As String, strTable As String, strField As String) As Double 'strDatabase - name of the database to look in or "" for the current database 'strTable - name of the table to analyze 'strField - name of the field to analyze 'Returns: median Dim dbsTemp As Database Dim rstTemp As Recordset Dim strSQL As String Dim lngElements As Long Dim lngIndex As Long Dim fInterpolate As Boolean Dim dblMedian As Double If strDatabase = "" Then Set dbsTemp = CurrentDb() Else Set dbsTemp = DBEngine.Workspaces(0).OpenDatabase(strDatabase) End If strSQL = "SELECT DISTINCTROW [" & strField & "] FROM [" & strTable & "] " strSQL = strSQL & "WHERE ([" & strField & "] Is Not Null) " strSQL = strSQL & "ORDER BY [" & strField & "];" Set rstTemp = dbsTemp.OpenRecordset(strSQL) If Not rstTemp.EOF Then rstTemp.MoveLast lngElements = rstTemp.RecordCount If lngElements = 1 Then dblMedian = rstTemp(strField) Else lngIndex = Int((lngElements + 1) / 2) fInterpolate = (lngElements Mod 2 = 0) rstTemp.MoveFirst rstTemp.Move (lngIndex - 1) dblMedian = rstTemp(strField) If fInterpolate Then rstTemp.MoveNext dblMedian = (dblMedian + rstTemp(strField)) / 2 End If End If Else dblMedian = 0 End If rstTemp.Close dbsTemp.Close GetTableMedian = dblMedian End Function William Hindman /gustav _______________________________________________ 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 Fri Nov 7 04:39:55 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 7 Nov 2003 21:39:55 +1100 Subject: [AccessD] uploading data from an fixed field length txt file References: <000001c3a506$5dd17220$4211a4cb@marriott> Message-ID: <000f01c3a51b$7cd80de0$97449a89@DDICK> Hi Bill the cow chaser Great to see you back Dunno 'bout AccessXp but A2k and A97 can do it With a MACRO Look at 'TransferText' in the "Action" Column TABLE Also if it is a known and stable - reliable fixed length you can link it as a table just using the normal link table wizard Good luck Darren ----- Original Message ----- From: "Bill & Janine Marriott" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 07, 2003 7:08 PM Subject: [AccessD] uploading data from an fixed field length txt file > > > Hi Everyone, > > I haven't visited this site for a while. Nice to see some old familiar > faces. > > Does anyone know where I can look for code samples for uploading data > from a text file into Access xp? > > Thanks > > Bill Marriott > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 7 05:16:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 12:16:16 +0100 Subject: [AccessD] Export Access Report to Word In-Reply-To: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> References: <027d01c3a4af$74ef7cb0$6501a8c0@HAL9002> Message-ID: <17911819175.20031107121616@cactus.dk> Hi Rocky No, screen captures - however they are made - won't do as the resolution is too low and the screen display by Access is sometimes a little distorted. For a manual we wrote some years ago we printed to a fax printer driver (ObjectFax). The output files could be converted to pcx files which we by some trial and error managed to insert sligtly scaled down in Lotus Ami Pro with a border and shadow - it was perfect. Tobit FaxWare/David also has conversion utilities and I guess most other fax printing software has as well. Another solution is to print to a pdf file and open this in Acrobat Reader. Then print to AmyUni's EMF printer driver which creates one EMF file for each page. Although the included license file claims the driver to be an evaluation copy, the download page says otherwise - that it is free to use; stick to that: http://www.amyuni.com/en/support/downloads.html At installation, specify the directory (which must exist) where the driver should create the EMF files. Try opening the pdf file you last wieved and print - the output file is large but excellent. If you manage to get this to do what you want, please share your solution! /gustav > I need to find a way to get a number of reports from an application > into a format that can be imported into Word. It's for a user > manual. Its for the Appendix - sample reports from the app. > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > The reports I'm trying to do need to show all the boxes and lines. > And since the manual changes I don't want to go through that > handcrafting this of printing the blank pages with the page numbers, > headers and footers, and then trying to use those to print the > reports on them directly. Love to get these reports into Word where > I can crop and zoom etc. From HollisVJ at pgdp.usec.com Fri Nov 7 06:18:54 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 07 Nov 2003 06:18:54 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C87C@cntexchange.pgdp.usec.com> Guess there is no way to stop this from occurring. Something they will have to live with I guess when they view the Word file. Virginia -----Original Message----- From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] Sent: Friday, November 07, 2003 3:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Open Word Document Bit late into this topic - sorry. I think this is caused by Word (and probably other apps.) changing docs to use your default printer. If you open a doc created or modified by someone else who has a different default printer, the app. has to reformat it. But if you are opening and close Word docs "all day long" it does not have to change the printer setting more than once. HTH - Chris Foote > -----Original Message----- > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > Sent: Wednesday, November 05, 2003 11:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open Word Document > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > It is wanting to save because the last opened date has > > changed, so it sees the document as having been changed. > > Annoying, huh? > > Nope. I don't think that this is the reason. I open and close Word > docs all day long and only have the Save prompt show up when I > actually change the doc or there are fields in the doc that get > updated, and I have Word set to update all fields when it opens and > prints. > > Docs without fields don't have the prompt for me. > > -- > Bryan Carbonnell > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 7 13:40:21 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 13:40:21 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071240.hA7CeLEU010929@mailhostC.plex.net> Hello Jeffrey, i will try this. thanks for the solution. Pedro Janssen The function would probably look something like this: Function MyExample (mycode, mytelling) as Double Dim mymultipler as double Select Case mycode Case 501 mymultipler = 1 Case 503 mymultipler = 2 Case 507 mymultipler = 2 Case 506 mymultipler = .67 Case 502 mymultipler = .4 Case 522 mymultipler = .4 Case 542 mymultipler = .2 Case 500 mymultipler = 0 End Select MyExample = mytelling * myultipler End Function The next step would be to use it in your query something like the following: MyExample([Code], [Telling]) AS Resultaat_Telling FROM TellingCode; jeffrey.demulling at usbank.c om To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: Re: [AccessD] why isn't this working? From Chris.Foote at uk.thalesgroup.com Fri Nov 7 06:42:26 2003 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 7 Nov 2003 12:42:26 -0000 Subject: [AccessD] Open Word Document Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0BEB3@ntscxch1.int.rdel.co.uk> Virginia, if your users all have the same default printer I don't think this would happen! Chris F > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Guess there is no way to stop this from occurring. Something > they will have > to live with I guess when they view the Word file. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 3:35 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Bit late into this topic - sorry. > > I think this is caused by Word (and probably other apps.) > changing docs to > use your default printer. If you open a doc created or > modified by someone > else who has a different default printer, the app. has to > reformat it. But > if you are opening and close Word docs "all day long" it does > not have to > change the printer setting more than once. > > HTH - Chris Foote > > > -----Original Message----- > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > Sent: Wednesday, November 05, 2003 11:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Open Word Document > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > It is wanting to save because the last opened date has > > > changed, so it sees the document as having been changed. > > > Annoying, huh? > > > > Nope. I don't think that this is the reason. I open and close Word > > docs all day long and only have the Save prompt show up when I > > actually change the doc or there are fields in the doc that get > > updated, and I have Word set to update all fields when it opens and > > prints. > > > > Docs without fields don't have the prompt for me. > > > > -- > > Bryan Carbonnell > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Fri Nov 7 13:48:02 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 13:48:02 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071248.hA7Cm2EU011273@mailhostC.plex.net> Hello Gustav, Jim and others, i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? What could be the problem know? Pedro Hi Pedro It should probably read: iif([Code]='501',[Telling]*1,iif([Code]='503',[Telling]*2,iif([Code]='507',[Telling]*2,iif([Code]='506',[Telling]*0,67,iif([Code]='502',[Telling]*0,4,iif([Code]='522',[Telling]*0,4,iif([Code]='542',[Telling]*0,2,iif([Code]='500',[Telling]*0,0)))))))) /gustav > i can't seem to let this query work. Why? > Pedro Janssen > SELECT > iif([Code]='501',[Telling]*1),iif([Code]='503',[Telling]*2),iif([Code]='507',[Telling]*2),iif([Code]='506',[Telling]*0,67),iif([Code]='502',[Telling]*0,4),iif([Code]='522',[Telling]*0,4),iif([Code]='542',[Telling]*0,2),iif([Code]='500',[Telling]*0) > AS Resultaat_Telling > FROM TellingCode; _______________________________________________ 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 Nov 7 06:53:54 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 07 Nov 2003 07:53:54 -0500 Subject: [AccessD] Open Word Document Message-ID: It will if there are fields in the doc. I just opened a Word doc, no fields, but created with a different default printer (I had this file e-mailed to me from someone else) and opened and closed it. No save prompt. I don't think that the default printer makes a difference. I'd bet dollars to donuts that the fields are causing the problem. Bryan Carbonnell bryan_carbonnell at cbc.ca -- Bryan Carbonnell - x 7652 TPC Training Assistant >>> Chris.Foote at uk.thalesgroup.com 07-Nov-03 7:42:26 AM >>> Virginia, if your users all have the same default printer I don't think this would happen! Chris F > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Guess there is no way to stop this from occurring. Something > they will have > to live with I guess when they view the Word file. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 3:35 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Bit late into this topic - sorry. > > I think this is caused by Word (and probably other apps.) > changing docs to > use your default printer. If you open a doc created or > modified by someone > else who has a different default printer, the app. has to > reformat it. But > if you are opening and close Word docs "all day long" it does > not have to > change the printer setting more than once. > > HTH - Chris Foote > > > -----Original Message----- > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > Sent: Wednesday, November 05, 2003 11:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Open Word Document > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > It is wanting to save because the last opened date has > > > changed, so it sees the document as having been changed. > > > Annoying, huh? > > > > Nope. I don't think that this is the reason. I open and close Word > > docs all day long and only have the Save prompt show up when I > > actually change the doc or there are fields in the doc that get > > updated, and I have Word set to update all fields when it opens and > > prints. > > > > Docs without fields don't have the prompt for me. From Bryan_Carbonnell at cbc.ca Fri Nov 7 06:57:23 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 07 Nov 2003 07:57:23 -0500 Subject: [AccessD] Export Access Report to Word Message-ID: Rocky, Are you distributing the manual as a Word doc? If you are why don't you distribute it as a PDF. Then you can print sample reports as PDFs and insert pages from the report PDF into the Manual PDF where you want and have one electronic file. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> Dear List: I need to find a way to get a number of reports from an application into a format that can be imported into Word. It's for a user manual. Its for the Appendix - sample reports from the app. I have used the ReportUtilities download (can't remember where I got it), which worked well on the last manual but the reports had very little formatting and graphics. The reports I'm trying to do need to show all the boxes and lines. And since the manual changes I don't want to go through that handcrafting this of printing the blank pages with the page numbers, headers and footers, and then trying to use those to print the reports on them directly. Love to get these reports into Word where I can crop and zoom etc. Does anyone know how this can be done? Regards, Rocky Smolin Beach Access Software _______________________________________________ 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 Nov 7 06:58:19 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 07 Nov 2003 06:58:19 -0600 Subject: [AccessD] Open Word Document Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C884@cntexchange.pgdp.usec.com> No, everyone uses different printers & all types & brands. Virginia -----Original Message----- From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] Sent: Friday, November 07, 2003 6:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Open Word Document Virginia, if your users all have the same default printer I don't think this would happen! Chris F > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Guess there is no way to stop this from occurring. Something > they will have > to live with I guess when they view the Word file. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 3:35 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Bit late into this topic - sorry. > > I think this is caused by Word (and probably other apps.) > changing docs to > use your default printer. If you open a doc created or > modified by someone > else who has a different default printer, the app. has to > reformat it. But > if you are opening and close Word docs "all day long" it does > not have to > change the printer setting more than once. > > HTH - Chris Foote > > > -----Original Message----- > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > Sent: Wednesday, November 05, 2003 11:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Open Word Document > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > It is wanting to save because the last opened date has > > > changed, so it sees the document as having been changed. > > > Annoying, huh? > > > > Nope. I don't think that this is the reason. I open and close Word > > docs all day long and only have the Save prompt show up when I > > actually change the doc or there are fields in the doc that get > > updated, and I have Word set to update all fields when it opens and > > prints. > > > > Docs without fields don't have the prompt for me. > > > > -- > > Bryan Carbonnell > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.Foote at uk.thalesgroup.com Fri Nov 7 07:02:15 2003 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 7 Nov 2003 13:02:15 -0000 Subject: [AccessD] Open Word Document Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0BEB6@ntscxch1.int.rdel.co.uk> Rats! I guess you're stuck with it. Unless there's a way to hack Word Chris Foote (just off home for the weekend yippee!) > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday, November 07, 2003 12:58 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > No, everyone uses different printers & all types & brands. > > Virginia > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, November 07, 2003 6:42 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Open Word Document > > > Virginia, > > if your users all have the same default printer I don't think > this would > happen! > > Chris F > > > -----Original Message----- > > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > > Sent: Friday, November 07, 2003 12:19 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Open Word Document > > > > > > Guess there is no way to stop this from occurring. Something > > they will have > > to live with I guess when they view the Word file. > > > > Virginia > > > > -----Original Message----- > > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > > Sent: Friday, November 07, 2003 3:35 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Open Word Document > > > > > > Bit late into this topic - sorry. > > > > I think this is caused by Word (and probably other apps.) > > changing docs to > > use your default printer. If you open a doc created or > > modified by someone > > else who has a different default printer, the app. has to > > reformat it. But > > if you are opening and close Word docs "all day long" it does > > not have to > > change the printer setting more than once. > > > > HTH - Chris Foote > > > > > -----Original Message----- > > > From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] > > > Sent: Wednesday, November 05, 2003 11:21 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Open Word Document > > > > > > > > > On 5 Nov 2003 at 17:07, Ron Allen wrote: > > > > > > > It is wanting to save because the last opened date has > > > > changed, so it sees the document as having been changed. > > > > Annoying, huh? > > > > > > Nope. I don't think that this is the reason. I open and > close Word > > > docs all day long and only have the Save prompt show up when I > > > actually change the doc or there are fields in the doc that get > > > updated, and I have Word set to update all fields when it > opens and > > > prints. > > > > > > Docs without fields don't have the prompt for me. > > > > > > -- > > > Bryan Carbonnell > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 7 07:06:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 14:06:55 +0100 Subject: [AccessD] why isn't this working? In-Reply-To: <200311071248.hA7Cm2EU011273@mailhostC.plex.net> References: <200311071248.hA7Cm2EU011273@mailhostC.plex.net> Message-ID: <10818458241.20031107140655@cactus.dk> Hi Pedro You still may have mistyped something. Try with a minimum expression: SELECT IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling FROM TellingCode; If this doesn't work something else is wrong. If it works, replace 0 with another IIf() construction and so on. /gustav > Hello Gustav, Jim and others, > i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? > What could be the problem know? From MarkBoyd at McBeeAssociates.com Fri Nov 7 07:59:50 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 7 Nov 2003 08:59:50 -0500 Subject: [AccessD] Omit Records from Report Total Message-ID: Thanks Stuart. I thought it should be this easy, I just couldn't figure it out. Mark -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, November 06, 2003 5:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Omit Records from Report Total Use: =Sum(IIf([ProposalStatus]="Lost",0,[Amount]) On 6 Nov 2003 at 11:12, Mark Boyd wrote: > I have a table with 3 fields: [Office], [ProposalStatus], and [Amount]. > > In my report, I group on [Office], with [ProposalStatus] and [Amount] in > the Detail section. > > In the [Office] Footer, I have a textbox with a control source of > '=Sum([Amount])'. > > However, I have been informed that this textbox should not include > records with a [ProposalStatus] of 'Lost'. > > Therefore, I need the textbox to be the total amount of all records that > have a [ProposalStatus] <> 'Lost'. > > > > Is there any way to do this? > > > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc. > > > > _______________________________________________ > 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 garykjos at hotmail.com Fri Nov 7 08:13:23 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 07 Nov 2003 08:13:23 -0600 Subject: [AccessD] Export Access Report to Word Message-ID: You don't have a scanner? You could actually print the page you want and scan it back in to a jpg. Surely a copy shop would do that for you - or I could for that matter if you wanted to send them up here to me in the great frozen north.....Scanners are pretty cheap nowadays though. Granted it's somewhat low-tech. Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Export Access Report to Word >Date: Thu, 6 Nov 2003 21:44:29 -0800 > >Stuart: > >Thanks for the links. The second one looks like a screen capture so I >don't >think it will do but the first one seems to work well in the demo. It's >$70 >for the business version, but I may have to bite that bullet if I can't >figure another way. It makes very nice jpg files which you can import to >word and stretch to fit the page. > >Regards, > >Rocky > >----- Original Message ----- >From: "Stuart Sanders" >To: "'Access Developers discussion and problem solving'" > >Sent: Thursday, November 06, 2003 8:50 PM >Subject: RE: [AccessD] Export Access Report to Word > > >Just did a quick search. > >While this isn't free, it seems to do what you need. > >http://www.print-driver.com/ > >What it does is install a new printer driver. When you choose to print to >this, >it will render the print output to an image file. > >There maybe a free alterative if someone does a search. I found another one >that >is shareware. >http://www.newfreeware.com/search.php3?q=image+print+driver > >Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: Friday, 07 November, 2003 12:24 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > Charlotte: > > > > I tried printing to pdf using cutepdf and it worked real well > > except now how > > do I get it into a word doc for the manual? Is there a way > > to do that? > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, November 06, 2003 1:58 PM > > Subject: RE: [AccessD] Export Access Report to Word > > > > > > > I don't know of any easy way. We do screen captures of > > ours for that > > > purpose, since rtf is useless for graphics. Or you can > > print them to a > > > pdf printer . > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > > Sent: Thursday, November 06, 2003 1:47 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Export Access Report to Word > > > > > > > > > Dear List: > > > > > > I need to find a way to get a number of reports from an > > application into > > > a format that can be imported into Word. It's for a user > > manual. Its > > > for the Appendix - sample reports from the app. > > > > > > I have used the ReportUtilities download (can't remember where I got > > > it), which worked well on the last manual but the reports had very > > > little formatting and graphics. > > > > > > The reports I'm trying to do need to show all the boxes and > > lines. And > > > since the manual changes I don't want to go through that > > handcrafting > > > this of printing the blank pages with the page numbers, headers and > > > footers, and then trying to use those to print the reports on them > > > directly. Love to get these reports into Word where I can > > crop and zoom > > > etc. > > > > > > Does anyone know how this can be done? > > > > > > Regards, > > > > > > 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 > > > > > >---------------------------------------------------------------------------- >---- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bchacc at san.rr.com Fri Nov 7 08:19:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 06:19:24 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <003d01c3a53a$251bf020$6501a8c0@HAL9002> Bryan: No. It's going to be hard copy. The app will be about $3k and for that prospects like to have something in hand. Gives me a chance to make a nice binder, as well. Pouch for the cd, all that. Rocky ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Friday, November 07, 2003 4:57 AM Subject: Re: [AccessD] Export Access Report to Word > Rocky, > > Are you distributing the manual as a Word doc? > > If you are why don't you distribute it as a PDF. Then you can print > sample reports as PDFs and insert pages from the report PDF into the > Manual PDF where you want and have one electronic file. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > Dear List: > > I need to find a way to get a number of reports from an application > into a format that can be imported into Word. It's for a user manual. > Its for the Appendix - sample reports from the app. > > I have used the ReportUtilities download (can't remember where I got > it), which worked well on the last manual but the reports had very > little formatting and graphics. > > The reports I'm trying to do need to show all the boxes and lines. And > since the manual changes I don't want to go through that handcrafting > this of printing the blank pages with the page numbers, headers and > footers, and then trying to use those to print the reports on them > directly. Love to get these reports into Word where I can crop and zoom > etc. > > Does anyone know how this can be done? > > Regards, > > 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 pedro at plex.nl Fri Nov 7 15:21:50 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 15:21:50 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071421.hA7ELoEU015213@mailhostC.plex.net> Hello Gustav, When i used your minimum expression, there was a querytable in the View, but in the records was standing #Error. The trouble is that TellingCode is a query. When i made a MakeTableQuery first from TellingCode and did the expression from tblTellingCode it was working. Why isn't the expression working on a query?? Pedro In antwoord op: > From: Gustav Brock > To: Access Developers discussion and problem solving > Date: Fri, 7 Nov 2003 14:06:55 +0100 > Subject: Re: [AccessD] why isn't this working? > > > Hi Pedro > > You still may have mistyped something. > Try with a minimum expression: > > SELECT > IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling > FROM > TellingCode; > > If this doesn't work something else is wrong. > If it works, replace 0 with another IIf() construction and so on. > > /gustav > > > > Hello Gustav, Jim and others, > > > i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? > > > What could be the problem know? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors. From garykjos at hotmail.com Fri Nov 7 08:21:40 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 07 Nov 2003 08:21:40 -0600 Subject: [AccessD] uploading data from an fixed field length txt file Message-ID: Hi Bill, I'd recommend Seth Galitzer's Home Page - under "downloads" & "File I/O in VB" http://puma.agron.ksu.edu/~sgsax/ Gary Kjos garykjos at hotmail.com >From: "Bill & Janine Marriott" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] uploading data from an fixed field length txt file >Date: Fri, 7 Nov 2003 19:08:43 +1100 > > > >Hi Everyone, > >I haven't visited this site for a while. Nice to see some old familiar >faces. > >Does anyone know where I can look for code samples for uploading data >from a text file into Access xp? > >Thanks > >Bill Marriott > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From reuben at gfconsultants.com Fri Nov 7 08:28:30 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 7 Nov 2003 09:28:30 -0500 Subject: [AccessD] Median Number In-Reply-To: <001a01c3a518$a8285700$94249f82@ds.strath.ac.uk> Message-ID: Thanks to everyone responding to my median question. My mind was asleep yesterday - I couldn't get any search to find anything. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John R. Porter > Sent: Friday, November 07, 2003 5:20 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Median Number > > > This can also be done (faster I expect) by a SQL statement without coding > and ADO or DAO as the case may be, though the SQL is quite complex. If you > can get hold of it, there's an excellent article about this in > the May 2003 > issue of 'Smart Access' magazine. You can get a trial subscription at > http://www.pinpub.com/html/main.isx?sub=29 > > John R. Porter > I.T. Services > University of Strathclyde > Faculty of Education > 76 Southbrae Drive > Glasgow > G13 1PP > e-mail: j.r.porter at strath.ac.uk > Tel. 0141 950 3289 > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: 07 November 2003 09:30 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Median Number > > > Hi Reuben > > > Anyone have a good way to find the median value in a table of unkown > number > > of records? > > You could look up our own list at 2001-03-06: > > > > Sub GetTableMedian () > Dim dblMedian As Double > dblMedian = GetTableMedian ("", "tblData", "FieldName") > Debug.Print (dblMedian) > End Sub > > Function GetTableMedian(strDatabase As String, strTable As > String, strField > As String) As Double > 'strDatabase - name of the database to look in or "" for the current > database > 'strTable - name of the table to analyze > 'strField - name of the field to analyze > 'Returns: median > > Dim dbsTemp As Database > Dim rstTemp As Recordset > Dim strSQL As String > Dim lngElements As Long > Dim lngIndex As Long > Dim fInterpolate As Boolean > Dim dblMedian As Double > > If strDatabase = "" Then > Set dbsTemp = CurrentDb() > Else > Set dbsTemp = DBEngine.Workspaces(0).OpenDatabase(strDatabase) > End If > > strSQL = "SELECT DISTINCTROW [" & strField & "] FROM [" & > strTable & "] " > strSQL = strSQL & "WHERE ([" & strField & "] Is Not Null) " > strSQL = strSQL & "ORDER BY [" & strField & "];" > > Set rstTemp = dbsTemp.OpenRecordset(strSQL) > If Not rstTemp.EOF Then > rstTemp.MoveLast > lngElements = rstTemp.RecordCount > If lngElements = 1 Then > dblMedian = rstTemp(strField) > Else > lngIndex = Int((lngElements + 1) / 2) > fInterpolate = (lngElements Mod 2 = 0) > rstTemp.MoveFirst > rstTemp.Move (lngIndex - 1) > dblMedian = rstTemp(strField) > If fInterpolate Then > rstTemp.MoveNext > dblMedian = (dblMedian + rstTemp(strField)) / 2 > End If > End If > Else > dblMedian = 0 > End If > > rstTemp.Close > dbsTemp.Close > > GetTableMedian = dblMedian > > End Function > > William Hindman > > > > /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 reuben at gfconsultants.com Fri Nov 7 08:36:33 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 7 Nov 2003 09:36:33 -0500 Subject: [AccessD] Export Access Report to Word In-Reply-To: <003d01c3a53a$251bf020$6501a8c0@HAL9002> Message-ID: We use an app called Grabber 2K. This isn't where I got it, but I just found it at http://www.webattack.com/get/grabber2k.shtml You take a screen shot of anything and paste that image into your word document. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, November 07, 2003 9:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Bryan: > > No. It's going to be hard copy. The app will be about $3k and for that > prospects like to have something in hand. Gives me a chance to > make a nice > binder, as well. Pouch for the cd, all that. > > Rocky > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, November 07, 2003 4:57 AM > Subject: Re: [AccessD] Export Access Report to Word > > > > Rocky, > > > > Are you distributing the manual as a Word doc? > > > > If you are why don't you distribute it as a PDF. Then you can print > > sample reports as PDFs and insert pages from the report PDF into the > > Manual PDF where you want and have one electronic file. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > Dear List: > > > > I need to find a way to get a number of reports from an application > > into a format that can be imported into Word. It's for a user manual. > > Its for the Appendix - sample reports from the app. > > > > I have used the ReportUtilities download (can't remember where I got > > it), which worked well on the last manual but the reports had very > > little formatting and graphics. > > > > The reports I'm trying to do need to show all the boxes and lines. And > > since the manual changes I don't want to go through that handcrafting > > this of printing the blank pages with the page numbers, headers and > > footers, and then trying to use those to print the reports on them > > directly. Love to get these reports into Word where I can crop and zoom > > etc. > > > > Does anyone know how this can be done? > > > > Regards, > > > > 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 caa at highway.com.br Fri Nov 7 08:49:12 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 07 Nov 2003 12:49:12 -0200 Subject: [AccessD] A2k - BE corruption??? In-Reply-To: <3FA83DCE.2010108@shaw.ca> References: <3FA7CFB9.5090003@verizon.net> <3FA83DCE.2010108@shaw.ca> Message-ID: On Tue, 04 Nov 2003 16:01:18 -0800, MartyConnelly wrote: > You must first update to Jet SP3 then update to higher level SP's at > least there used to be warnings about this. The highest SP so far is SP7 > for Win9x and WinNT; SP8 for WinXP 2000 and 2003. SP8 fixes some Oracle > interface problems. SP7 and 8 are inclusive of patches from SP 4 through > 7 > Jet SP7 > http://support.microsoft.com/default.aspx?scid=kb;EN-US;282010 > Jet 3.5 SP3 > http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en > > > > Francisco H Tapia wrote: > >> I would try and update his copy of Jet to SP6 to see if your results >> change. >> >> Carlos Alberto Alves wrote: >> >>> Dear Mates: >>> I would like to have your opinion on this matter. I developed an A2k >>> database system with three identical FE's and one BE. It has data from >>> jan2001 to now. Upon executing a simple select query I noticed that I >>> could not retrieve any records from 2002. The same query executed on a >>> BE backup copy from jul2003 returned all due records. >>> Is this a BE corruption??? I tried ???Compact and repair...???, >>> JetComp and import all tables to a new BE with no better results. >>> Things that called my attention: >>> 1- I use Jet 4.0 SP6 and my client uses something older than SP3; >>> 2- I use Access 2000/Office 2000 and my client uses Access 2000/Office >>> 97. >>> Thanks for any input, >> >> >> >> > Hi People! Charlotte, Francisco and Marty thanks very much for your input. I have already downloaded Jet 4.0 SP3 and SP7 for WinNT. It seems SP6 is not available anymore. I was just waiting your opinions to make the update. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From gustav at cactus.dk Fri Nov 7 08:50:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 15:50:26 +0100 Subject: [AccessD] why isn't this working? In-Reply-To: <200311071421.hA7ELoEU015213@mailhostC.plex.net> References: <200311071421.hA7ELoEU015213@mailhostC.plex.net> Message-ID: <8324668511.20031107155026@cactus.dk> Hi Pedro Perhaps Code is a number and not a string? If so: IIf([Code]=542 ... Or Telling is a string? Try: SELECT [Code]='542' AS CodeTest, [Telling]*0.2 AS TellingTest FROM TellingCode; /gustav > Hello Gustav, > When i used your minimum expression, there was a querytable in the > View, but in the records was standing #Error. > The trouble is that TellingCode is a query. When i made a > MakeTableQuery first from TellingCode and did the expression from > tblTellingCode it was working. Why isn't the expression working on a > query?? >> You still may have mistyped something. >> Try with a minimum expression: >> >> SELECT >> IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling >> FROM >> TellingCode; >> >> If this doesn't work something else is wrong. >> If it works, replace 0 with another IIf() construction and so on. >> >> /gustav >> >> >> > Hello Gustav, Jim and others, >> >> > i tried your solution, and also changed comma's to points as Jim >> suggested, but i still get an error: Wrong number of arguments used >> with function ?????? From Mike.W.Gowey at doc.state.or.us Fri Nov 7 08:58:59 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Fri, 7 Nov 2003 07:58:59 -0700 Subject: [AccessD] Print Job Batching Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC4@srciml1.ds.doc.state.or.us> Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division From pedro at plex.nl Fri Nov 7 16:00:01 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 07 Nov 2003 16:00:01 (MET) Subject: [AccessD] why isn't this working? Message-ID: <200311071500.hA7F01EU017000@mailhostC.plex.net> I could't believe that is was the query that made the #Error. So i tested a little further. The real course of the #error are the quote's (') before and after the nummer. When deleting them everything works fine. Thanks Pedro Janssen In antwoord op: > From: pedro at plex.nl > To: AccessD at databaseadvisors.com > Date: Fri, 07 Nov 2003 15:21:50 (MET) > Subject: Re: [AccessD] why isn't this working? > > > Hello Gustav, > > When i used your minimum expression, there was a querytable in the View, but in the records was standing #Error. > The trouble is that TellingCode is a query. When i made a MakeTableQuery first from TellingCode and did the expression from tblTellingCode it was working. Why isn't the expression working on a query?? > > Pedro > > > In antwoord op: > > > From: Gustav Brock > > To: Access Developers discussion and problem solving > > Date: Fri, 7 Nov 2003 14:06:55 +0100 > > Subject: Re: [AccessD] why isn't this working? > > > > > > Hi Pedro > > > > You still may have mistyped something. > > Try with a minimum expression: > > > > SELECT > > IIf([Code]='542',[Telling]*0.2,0) AS Resultaat_Telling > > FROM > > TellingCode; > > > > If this doesn't work something else is wrong. > > If it works, replace 0 with another IIf() construction and so on. > > > > /gustav > > > > > > > Hello Gustav, Jim and others, > > > > > i tried your solution, and also changed comma's to points as Jim suggested, but i still get an error: Wrong number of arguments used with function ?????? > > > > > What could be the problem know? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From ssharkins at bellsouth.net Fri Nov 7 09:02:39 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 7 Nov 2003 10:02:39 -0500 Subject: [AccessD] Print Job Batching References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC4@srciml1.ds.doc.state.or.us> Message-ID: <00fb01c3a540$30b4a160$210110ac@SUSANONE> Perhaps the easiest way is to just use a temp table -- append records to the temp table and then base your label report on the temp table. Susan H. > > > Is there a way within Access to be able to batch print jobs somewhere > and than print them when you are ready to. What I am trying to look at > is the ability for the user to put in information for a label and than > store the printing of the label with the info entered and continue doing > more labels storing each requested print and than be able to press a > button and print all the stored labels at once. > > Has anyone ever done something like this? > > Thanks so much in advance for any info provided. > > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Fri Nov 7 09:04:18 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 7 Nov 2003 10:04:18 -0500 Subject: [AccessD] Print Job Batching References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC4@srciml1.ds.doc.state.or.us> Message-ID: <010501c3a540$6bf4c840$210110ac@SUSANONE> Changed my mind -- maybe a yes/no field in the table -- and then a simple query that returns only those records that are marked -- run the label report, and then reset all the fields to no -- but would require a new field which can be troublesome -- but eliminates the temp table. Susan H. > > > Is there a way within Access to be able to batch print jobs somewhere > and than print them when you are ready to. What I am trying to look at > is the ability for the user to put in information for a label and than > store the printing of the label with the info entered and continue doing > more labels storing each requested print and than be able to press a > button and print all the stored labels at once. > > Has anyone ever done something like this? > > Thanks so much in advance for any info provided. > > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From MarkBoyd at McBeeAssociates.com Fri Nov 7 09:08:23 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 7 Nov 2003 10:08:23 -0500 Subject: [AccessD] Print Job Batching Message-ID: Mike - Why don't you just store the entered info in a table? Then, print a label-formatted report with that table as the record source. Mark -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Friday, November 07, 2003 9:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ 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 Nov 7 09:10:24 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 7 Nov 2003 16:10:24 +0100 (CET) Subject: [AccessD] Print Job Batching Message-ID: <29869763.1068217823990.JavaMail.www@wwinf3006> Couldn't you create a temporary table for all the labels and then link your labels to the temporary table ??? Message date : Nov 07 2003, 03:07 PM >From : Gowey Mike W To : Access Developers discussion and problem solving Copy to : Subject : [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Fri Nov 7 09:10:51 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 7 Nov 2003 09:10:51 -0600 Subject: [AccessD] Print Job Batching Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03306054@cpixchng-1.cpiqpc.net> Mike, Could you have a Yes/No field that the user could check so when they are ready to run the print job, it only prints labels for those records where this box is checked (set to Yes). This would be easily setup in a query with the criteria set to Yes for this field. Then after the printing of the labels you could run an update query that sets this field to No for all of these records. -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Friday, November 07, 2003 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ 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 Fri Nov 7 09:14:51 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Fri, 7 Nov 2003 08:14:51 -0700 Subject: [AccessD] Print Job Batching Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDC5@srciml1.ds.doc.state.or.us> Thanks a lot everyone, I will look at both of those approaches and see wich one the customer would like the best. Thanks again Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Friday, November 07, 2003 8:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Print Job Batching Mike, Could you have a Yes/No field that the user could check so when they are ready to run the print job, it only prints labels for those records where this box is checked (set to Yes). This would be easily setup in a query with the criteria set to Yes for this field. Then after the printing of the labels you could run an update query that sets this field to No for all of these records. -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Friday, November 07, 2003 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Print Job Batching Is there a way within Access to be able to batch print jobs somewhere and than print them when you are ready to. What I am trying to look at is the ability for the user to put in information for a label and than store the printing of the label with the info entered and continue doing more labels storing each requested print and than be able to press a button and print all the stored labels at once. Has anyone ever done something like this? Thanks so much in advance for any info provided. Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Nov 7 09:20:19 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 07:20:19 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <00aa01c3a542$a78bfde0$6501a8c0@HAL9002> Well, there's an idea I really like. Simple, low tech (relatively). Sure, I've got a scanner. Bit of a hassle but how often will I have to do it? Thank you. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Friday, November 07, 2003 6:13 AM Subject: Re: [AccessD] Export Access Report to Word > You don't have a scanner? You could actually print the page you want and > scan it back in to a jpg. Surely a copy shop would do that for you - or I > could for that matter if you wanted to send them up here to me in the great > frozen north.....Scanners are pretty cheap nowadays though. > > Granted it's somewhat low-tech. > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Export Access Report to Word > >Date: Thu, 6 Nov 2003 21:44:29 -0800 > > > >Stuart: > > > >Thanks for the links. The second one looks like a screen capture so I > >don't > >think it will do but the first one seems to work well in the demo. It's > >$70 > >for the business version, but I may have to bite that bullet if I can't > >figure another way. It makes very nice jpg files which you can import to > >word and stretch to fit the page. > > > >Regards, > > > >Rocky > > > >----- Original Message ----- > >From: "Stuart Sanders" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Thursday, November 06, 2003 8:50 PM > >Subject: RE: [AccessD] Export Access Report to Word > > > > > >Just did a quick search. > > > >While this isn't free, it seems to do what you need. > > > >http://www.print-driver.com/ > > > >What it does is install a new printer driver. When you choose to print to > >this, > >it will render the print output to an image file. > > > >There maybe a free alterative if someone does a search. I found another one > >that > >is shareware. > >http://www.newfreeware.com/search.php3?q=image+print+driver > > > >Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Rocky Smolin - Beach Access Software > > > Sent: Friday, 07 November, 2003 12:24 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > > > Charlotte: > > > > > > I tried printing to pdf using cutepdf and it worked real well > > > except now how > > > do I get it into a word doc for the manual? Is there a way > > > to do that? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, November 06, 2003 1:58 PM > > > Subject: RE: [AccessD] Export Access Report to Word > > > > > > > > > > I don't know of any easy way. We do screen captures of > > > ours for that > > > > purpose, since rtf is useless for graphics. Or you can > > > print them to a > > > > pdf printer . > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software > > > [mailto:bchacc at san.rr.com] > > > > Sent: Thursday, November 06, 2003 1:47 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Export Access Report to Word > > > > > > > > > > > > Dear List: > > > > > > > > I need to find a way to get a number of reports from an > > > application into > > > > a format that can be imported into Word. It's for a user > > > manual. Its > > > > for the Appendix - sample reports from the app. > > > > > > > > I have used the ReportUtilities download (can't remember where I got > > > > it), which worked well on the last manual but the reports had very > > > > little formatting and graphics. > > > > > > > > The reports I'm trying to do need to show all the boxes and > > > lines. And > > > > since the manual changes I don't want to go through that > > > handcrafting > > > > this of printing the blank pages with the page numbers, headers and > > > > footers, and then trying to use those to print the reports on them > > > > directly. Love to get these reports into Word where I can > > > crop and zoom > > > > etc. > > > > > > > > Does anyone know how this can be done? > > > > > > > > Regards, > > > > > > > > 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 > > > > > > > > > > >--------------------------------------------------------------------------- - > >---- > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 your computer infected with a virus? Find out with a FREE computer virus > scan from McAfee. Take the FreeScan now! > 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 bchacc at san.rr.com Fri Nov 7 09:21:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 07:21:23 -0800 Subject: [AccessD] Export Access Report to Word References: Message-ID: <00b201c3a542$cdda3480$6501a8c0@HAL9002> Reuben: I did try that last time I had the problem but screen capture is too low res by the time you get the whole report page reduced to where it fits on the screen. :( Rocky ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: Friday, November 07, 2003 6:36 AM Subject: RE: [AccessD] Export Access Report to Word > We use an app called Grabber 2K. This isn't where I got it, but I just > found it at http://www.webattack.com/get/grabber2k.shtml > > You take a screen shot of anything and paste that image into your word > document. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Friday, November 07, 2003 9:19 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > Bryan: > > > > No. It's going to be hard copy. The app will be about $3k and for that > > prospects like to have something in hand. Gives me a chance to > > make a nice > > binder, as well. Pouch for the cd, all that. > > > > Rocky > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, November 07, 2003 4:57 AM > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > Rocky, > > > > > > Are you distributing the manual as a Word doc? > > > > > > If you are why don't you distribute it as a PDF. Then you can print > > > sample reports as PDFs and insert pages from the report PDF into the > > > Manual PDF where you want and have one electronic file. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > > Dear List: > > > > > > I need to find a way to get a number of reports from an application > > > into a format that can be imported into Word. It's for a user manual. > > > Its for the Appendix - sample reports from the app. > > > > > > I have used the ReportUtilities download (can't remember where I got > > > it), which worked well on the last manual but the reports had very > > > little formatting and graphics. > > > > > > The reports I'm trying to do need to show all the boxes and lines. And > > > since the manual changes I don't want to go through that handcrafting > > > this of printing the blank pages with the page numbers, headers and > > > footers, and then trying to use those to print the reports on them > > > directly. Love to get these reports into Word where I can crop and zoom > > > etc. > > > > > > Does anyone know how this can be done? > > > > > > Regards, > > > > > > 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 > > > > > > _______________________________________________ > 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 Nov 7 09:28:31 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 07 Nov 2003 10:28:31 -0500 Subject: [AccessD] Export Access Report to Word Message-ID: Here's another way that I stumbled across, while looking for something else.... SnagIt, a screen capture application, will actually allow you to do a "Printer" capture. It will capture a print and save it each page as an image. All you print to a special SnagIt "printer" and it will capture each page separately at printer quality. You can get SnagIt from http://www.techsmith.com/products/snagit/default.asp They have a 30 day trial and it only costs $40. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> bchacc at san.rr.com 07-Nov-03 10:21:23 AM >>> Reuben: I did try that last time I had the problem but screen capture is too low res by the time you get the whole report page reduced to where it fits on the screen. :( Rocky ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: Friday, November 07, 2003 6:36 AM Subject: RE: [AccessD] Export Access Report to Word > We use an app called Grabber 2K. This isn't where I got it, but I just > found it at http://www.webattack.com/get/grabber2k.shtml > > You take a screen shot of anything and paste that image into your word > document. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Friday, November 07, 2003 9:19 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > Bryan: > > > > No. It's going to be hard copy. The app will be about $3k and for that > > prospects like to have something in hand. Gives me a chance to > > make a nice > > binder, as well. Pouch for the cd, all that. > > > > Rocky > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, November 07, 2003 4:57 AM > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > Rocky, > > > > > > Are you distributing the manual as a Word doc? > > > > > > If you are why don't you distribute it as a PDF. Then you can print > > > sample reports as PDFs and insert pages from the report PDF into the > > > Manual PDF where you want and have one electronic file. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > > Dear List: > > > > > > I need to find a way to get a number of reports from an application > > > into a format that can be imported into Word. It's for a user manual. > > > Its for the Appendix - sample reports from the app. > > > > > > I have used the ReportUtilities download (can't remember where I got > > > it), which worked well on the last manual but the reports had very > > > little formatting and graphics. > > > > > > The reports I'm trying to do need to show all the boxes and lines. And > > > since the manual changes I don't want to go through that handcrafting > > > this of printing the blank pages with the page numbers, headers and > > > footers, and then trying to use those to print the reports on them > > > directly. Love to get these reports into Word where I can crop and zoom > > > etc. > > > > > > Does anyone know how this can be done? > > > > > > Regards, > > > > > > 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 > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Fri Nov 7 09:39:51 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 7 Nov 2003 10:39:51 -0500 Subject: [AccessD] Export Access Report to Word In-Reply-To: <00b201c3a542$cdda3480$6501a8c0@HAL9002> Message-ID: OK. You're doing reports rather than forms. My fault for reading into your questions. You are correct about the problem with reports. Bryan does a wonderful job at creating manuals. He did the pdf for the BEU and I think it's wonderful. Beyond Grabber 2K in Word, I would have to agree with Bryan that pdf's are the way to go. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, November 07, 2003 10:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Export Access Report to Word > > > Reuben: > > I did try that last time I had the problem but screen capture is > too low res > by the time you get the whole report page reduced to where it fits on the > screen. :( > > Rocky > > ----- Original Message ----- > From: "Reuben Cummings" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 07, 2003 6:36 AM > Subject: RE: [AccessD] Export Access Report to Word > > > > We use an app called Grabber 2K. This isn't where I got it, but I just > > found it at http://www.webattack.com/get/grabber2k.shtml > > > > You take a screen shot of anything and paste that image into your word > > document. > > > > Reuben Cummings > > GFC, LLC > > phone: 812.523.1017 > > email: reuben at gfconsultants.com > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin - > > > Beach Access Software > > > Sent: Friday, November 07, 2003 9:19 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > > > Bryan: > > > > > > No. It's going to be hard copy. The app will be about $3k > and for that > > > prospects like to have something in hand. Gives me a chance to > > > make a nice > > > binder, as well. Pouch for the cd, all that. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Bryan Carbonnell" > > > To: > > > Sent: Friday, November 07, 2003 4:57 AM > > > Subject: Re: [AccessD] Export Access Report to Word > > > > > > > > > > Rocky, > > > > > > > > Are you distributing the manual as a Word doc? > > > > > > > > If you are why don't you distribute it as a PDF. Then you can print > > > > sample reports as PDFs and insert pages from the report PDF into the > > > > Manual PDF where you want and have one electronic file. > > > > > > > > Bryan Carbonnell > > > > bryan_carbonnell at cbc.ca > > > > > > > > >>> bchacc at san.rr.com 06-Nov-03 4:46:38 PM >>> > > > > Dear List: > > > > > > > > I need to find a way to get a number of reports from an application > > > > into a format that can be imported into Word. It's for a > user manual. > > > > Its for the Appendix - sample reports from the app. > > > > > > > > I have used the ReportUtilities download (can't remember where I got > > > > it), which worked well on the last manual but the reports had very > > > > little formatting and graphics. > > > > > > > > The reports I'm trying to do need to show all the boxes and lines. > And > > > > since the manual changes I don't want to go through that > handcrafting > > > > this of printing the blank pages with the page numbers, headers and > > > > footers, and then trying to use those to print the reports on them > > > > directly. Love to get these reports into Word where I can crop and > zoom > > > > etc. > > > > > > > > Does anyone know how this can be done? > > > > > > > > Regards, > > > > > > > > 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 > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 7 10:34:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Nov 2003 08:34:58 -0800 Subject: [AccessD] Method 'SourceObject' of object... Message-ID: The distinction about runtime engines is because some things work differently when you are running an app from a fully installed version of Access than when you are running it using an Access runtime engine. In either case, you can get runtime errors (when you run it, naturally), but the behavior is different and you don't always even see the errors under the runtime engine, just the effects. I asked about the Access version (as distinct from the file format) because I've seen things compile in Access 2002 that crash when the code is run because it can miss routines with the same name if they are only called from the property sheet of an object rather than from within code. I didn't run into that in Access 2000, but then I rarely if ever use lightweight forms myself. Have you tried creating a new database and importing all the objects? Do they all import? It sure sounds like some object corruption to me. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Method 'SourceObject' of object... Charlotte, 1. Yes, that's the literal message, referring to object names that are not found anywhere in my code or object set. 2. Using Access 2000. 3. I don't understand your distinction about runtime engines. The app compiles cleanly, and compacts without complaint. But when I start hitting a few areas with subforms, I get a hailstorm of these errors. I can turn on error pausing and see where it trips up, and the code lines are all different, but they do have the common thread of assigning various subform names to the container form's subform's SourceObject. 4. Oops, you are right -- I meant "SourceObject". The offending lines read like: forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 06, 2003 7:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Method 'SourceObject' of object... Is that the literal error message, or do 'SourceObject' and '_SubForm' stand as placeholders? What version of Access are you using and What file format? Are you getting the message when someone attempts to run the application using the runtime engine or is it an error that *happens* at runtime? Is the error triggered on methods like "ControlSource" or did you mean "SourceObject" rather than what you typed? Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, November 06, 2003 5:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] Method 'SourceObject' of object... Help!! Our main database has been corrupted, displaying this: " Run-time Error '-2147417848 (80010108): Method 'SourceObject' of object '_SubForm' failed " from a variety of contexts. How do I shake it? Nothing in MSKB. We're using Source Safe, and even totally rebuilt versions still have the corruption, and it happens on all workstations. Triggered on lines like this: forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Fri Nov 7 10:52:06 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 7 Nov 2003 10:52:06 -0600 Subject: [AccessD] Method 'SourceObject' of object...SOLVED In-Reply-To: <3FAB26A8.3050601@shaw.ca> Message-ID: Problem solved! Best yet, it turns out to be a programming mistake masquerading as a corruption. An error type unhandled smoothly by Jet or VB, so results in a crash. We have a person "container form" with one main subform control that swaps out different forms (by changing the SourceObject) to show different information about the person. The problem was in the Volunteer area. People by default are not "volunteers", so the Volunteer subform by default presents a simple screens saying "no record is yet set up", and gives a button which allows them to first create a volunteer record, then flip to the subform that allows them to view/edit. We already do this happily in the Member and Customer areas, for which the same rule apply. The difference here was that I had one required field (volunteer type) to ask the user about, so I presented a popup to capture it. But I was using the code from Member and the Customer sections, and failed to remove the line that switches the subform. So I was prematurely calling a subform that had no data (yet) to support it. The prize for solving the problem goes to fellow AccessD posters in our office: Mark Whittinghill and Liz Doering. Thanks everyone else for your ideas. As usual, you are wonderful. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Thursday, November 06, 2003 10:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Method 'SourceObject' of object... I just wonder if it could be something along these lines To refer to a control on a subform, use the following syntax: Forms![main form name]![subform control name].Form![control name] It is important to note that you cannot refer to controls on a subform with the following syntax: Forms![subform name]![control name] This is because a subform on a main form is not a form, but is a control just like a text box or a list box. You must refer to a subform as a control rather than a form, and specify the Form identifier following the subform control name reference to gain access to the controls on a subform. ACC2000: How to Refer to a Control on a Subform or Subreport http://support.microsoft.com/default.aspx?scid=kb;en-us;209099&Product=acc Steve Capistrant wrote: >Charlotte, > >1. Yes, that's the literal message, referring to object names that are not >found anywhere in my code or object set. >2. Using Access 2000. >3. I don't understand your distinction about runtime engines. The app >compiles cleanly, and compacts without complaint. But when I start hitting >a few areas with subforms, I get a hailstorm of these errors. I can turn on >error pausing and see where it trips up, and the code lines are all >different, but they do have the common thread of assigning various subform >names to the container form's subform's SourceObject. >4. Oops, you are right -- I meant "SourceObject". The offending lines read >like: >forms!frmPerson!subSection.SourceObject = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Thursday, November 06, 2003 7:29 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Method 'SourceObject' of object... > > >Is that the literal error message, or do 'SourceObject' and '_SubForm' >stand as placeholders? What version of Access are you using and What >file format? Are you getting the message when someone attempts to run >the application using the runtime engine or is it an error that >*happens* at runtime? Is the error triggered on methods like >"ControlSource" or did you mean "SourceObject" rather than what you >typed? > >Charlotte Foust > >-----Original Message----- >From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] >Sent: Thursday, November 06, 2003 5:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Method 'SourceObject' of object... > > >Help!! Our main database has been corrupted, displaying this: > >" Run-time Error '-2147417848 (80010108): Method 'SourceObject' of >object '_SubForm' failed " > >from a variety of contexts. How do I shake it? Nothing in MSKB. >We're >using Source Safe, and even totally rebuilt versions still have the >corruption, and it happens on all workstations. Triggered on lines like >this: >forms!frmPerson!subSection.ControlSource = "frmPerson_SubVolunteer" > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Phone: 763-391-7400 >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 7 11:14:46 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 7 Nov 2003 18:14:46 +0100 Subject: [AccessD] Export Access Report to Word In-Reply-To: References: Message-ID: <2033328814.20031107181446@cactus.dk> Hi Rocky and Bryan et all As a freeware alternative to SnagIt, have a look at "Print To Picture" by a Russian guy, Gretchko Juriy, at: http://progrex.narod.ru/ptp.html Every thing except the program is in Russian but at this page you would download (at the bottom of the page) link two and perhaps three. The first you can spell "Program Print to picture, version 1.01", the second is a plugin which I'm not shure really is needed. When printing, resolution can be chosen from 50 x 50 to 600 x 600 dpi and file format can be BMP, PCX or PNG. It looks very promising! I've been looking for this kind of util for years - thanks for putting me on the track again. A tiny print of the page is attached for those of you accepting attachments. PS: Download speed from the site is very slow but stable, just be patient. /gustav > Here's another way that I stumbled across, while looking for something > else.... > SnagIt, a screen capture application, will actually allow you to do a > "Printer" capture. > It will capture a print and save it each page as an image. All you > print to a special SnagIt "printer" and it will capture each page > separately at printer quality. > You can get SnagIt from > http://www.techsmith.com/products/snagit/default.asp > They have a 30 day trial and it only costs $40. > Bryan Carbonnell > bryan_carbonnell at cbc.ca From serbach at new.rr.com Fri Nov 7 11:50:15 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 7 Nov 2003 11:50:15 -0600 Subject: [AccessD] A2K: Moving a replica to an FTP site Message-ID: <20031107115015.1844408660.serbach@new.rr.com> Dear Group, Have any of you lot tried MOVING a replica to an FTP site? I created a new Network Place in Windows 2000 that looks at a folder I set up on my web hosting site with the proper user name and password. However, no matter what I try to do in Replication Manager 4.0 I get the message: You cannot save in the folder you specified. Please choose another location. I, of course, tried to create a replica using the Access replication capability; but there I can only save a replica on the LAN, not on an FTP site. Any clues? Thanks, Steve Erbach Scientific Marketing Neenah, WI From bchacc at san.rr.com Fri Nov 7 14:21:30 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Nov 2003 12:21:30 -0800 Subject: [AccessD] Export Access Report to Word References: <2033328814.20031107181446@cactus.dk> Message-ID: <01cd01c3a56c$bcd0fe10$6501a8c0@HAL9002> Gustav: That worked great! The PCX output goes right into WORD Insert-->Picture-->From File. I didn't see where to set the resolution but the image prints great after being imported into WORD. So I'm happy. Very happy. Thanks for the lead. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, November 07, 2003 9:14 AM Subject: Re: [AccessD] Export Access Report to Word > Hi Rocky and Bryan et all > > As a freeware alternative to SnagIt, have a look at "Print To Picture" > by a Russian guy, Gretchko Juriy, at: > > http://progrex.narod.ru/ptp.html > > Every thing except the program is in Russian but at this page you > would download (at the bottom of the page) link two and perhaps three. > The first you can spell "Program Print to picture, version 1.01", the > second is a plugin which I'm not shure really is needed. > > When printing, resolution can be chosen from 50 x 50 to 600 x 600 dpi > and file format can be BMP, PCX or PNG. > > It looks very promising! I've been looking for this kind of util for > years - thanks for putting me on the track again. > > A tiny print of the page is attached for those of you accepting > attachments. > > PS: Download speed from the site is very slow but stable, just be > patient. > > /gustav > > > > Here's another way that I stumbled across, while looking for something > > else.... > > > SnagIt, a screen capture application, will actually allow you to do a > > "Printer" capture. > > > It will capture a print and save it each page as an image. All you > > print to a special SnagIt "printer" and it will capture each page > > separately at printer quality. > > > You can get SnagIt from > > http://www.techsmith.com/products/snagit/default.asp > > > They have a 30 day trial and it only costs $40. > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From scapistrant at symphonyinfo.com Fri Nov 7 14:28:38 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 7 Nov 2003 14:28:38 -0600 Subject: [AccessD] A2K: Moving a replica to an FTP site In-Reply-To: <20031107115015.1844408660.serbach@new.rr.com> Message-ID: If you haven't already, try explicitly mapping a drive letter to that drive. Some kinds of programs really fall apart trying to connect to UNC paths but do just fine when it is mapped. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Friday, November 07, 2003 11:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Moving a replica to an FTP site Dear Group, Have any of you lot tried MOVING a replica to an FTP site? I created a new Network Place in Windows 2000 that looks at a folder I set up on my web hosting site with the proper user name and password. However, no matter what I try to do in Replication Manager 4.0 I get the message: You cannot save in the folder you specified. Please choose another location. I, of course, tried to create a replica using the Access replication capability; but there I can only save a replica on the LAN, not on an FTP site. Any clues? Thanks, Steve Erbach Scientific Marketing Neenah, WI _______________________________________________ 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 Nov 7 18:30:44 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 08 Nov 2003 10:30:44 +1000 Subject: [AccessD] Export Access Report to Word In-Reply-To: <01cd01c3a56c$bcd0fe10$6501a8c0@HAL9002> Message-ID: <3FACC5D4.30056.56E6B7@localhost> On 7 Nov 2003 at 12:21, Rocky Smolin - Beach Access S wrote about Print To Picture:: > Gustav: > > That worked great! The PCX output goes right into WORD > Insert-->Picture-->From File. I didn't see where to set the resolution but > the image prints great after being imported into WORD. So I'm happy. Very > happy. > Yes, looks like a really useful tool. Thanks for the link Gustav. In W2K I found the resolution adjustment in the Printer properties - Advanced - Printing Defaults - Advanced . There you can set the paper size, resolution( 50 x 50 up to 600 x 600) and halftoning. Incidentally, a single page Word document printed at 300 x 300 to the various file types gave the following file sizes: BMP 962KB PCX 271KB PNG 62KB However, creating a Word document and embedding the graphic in it did quite a good job of compressing the BMP. Doc with PNG in it 82KB Doc with BMP in it 85KB. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From tomk at multiline.com.au Thu Nov 6 18:43:13 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Fri, 7 Nov 2003 08:43:13 +0800 Subject: [AccessD] Why is my Javascript (generated from Access) not working References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> Message-ID: <001b01c3a4c8$206043a0$0300a8c0@print> Hi all.... I have been using Access to build a HTML orderform for a couple of years and have recently updated the process ... After building the page with a series of queries etc I then write the page to the drive via FREEFILE and a PUT statement .... I have noticed that suddenly my pages javascript will not work UNLESS I first open the page in notepad and resave it. I dont have to edit the page in ANY WAY simply saving it will allow the JS to work... Can anyone shed any light on what the simple act of opening the page in notepad and then saving it is doing? I have been wrestling with this on and off for a couple of weeks now and have run out of things to try. regards Tom Keatley From DWUTKA at marlow.com Fri Nov 7 21:03:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 7 Nov 2003 21:03:44 -0600 Subject: [AccessD] Why is my Javascript (generated from Access) not wo rking Message-ID: <2F8793082E00D4119A1700B0D0216BF802227504@main2.marlow.com> Are you using vbCrLf between the lines, or just one or the other? Opening and saving in Notepad can force a change like that. Drew -----Original Message----- From: Tom Keatley [mailto:tomk at multiline.com.au] Sent: Thursday, November 06, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is my Javascript (generated from Access) not working Hi all.... I have been using Access to build a HTML orderform for a couple of years and have recently updated the process ... After building the page with a series of queries etc I then write the page to the drive via FREEFILE and a PUT statement .... I have noticed that suddenly my pages javascript will not work UNLESS I first open the page in notepad and resave it. I dont have to edit the page in ANY WAY simply saving it will allow the JS to work... Can anyone shed any light on what the simple act of opening the page in notepad and then saving it is doing? I have been wrestling with this on and off for a couple of weeks now and have run out of things to try. regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 8 05:01:20 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 8 Nov 2003 12:01:20 +0100 Subject: [AccessD] Why is my Javascript (generated from Access) not working In-Reply-To: <001b01c3a4c8$206043a0$0300a8c0@print> References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> <001b01c3a4c8$206043a0$0300a8c0@print> Message-ID: <598340242.20031108120120@cactus.dk> Hi Tom As Drew mentions it probably has to do with line breaks being either Chr(10) + Chr(13) or one of these only. Open the file with a hex editor before and after saving with Notepad and you should be able to see what's going on. Here's a freeware tool: http://www.memecode.com/ihex.php /gustav > I have been using Access to build a HTML orderform for a couple of years and > have recently updated the process ... > After building the page with a series of queries etc I then write the page > to the drive via FREEFILE and a PUT statement .... > I have noticed that suddenly my pages javascript will not work UNLESS I > first open the page in notepad and resave it. > I dont have to edit the page in ANY WAY simply saving it will allow the JS > to work... > Can anyone shed any light on what the simple act of opening the page in > notepad and then saving it is doing? > I have been wrestling with this on and off for a couple of weeks now and > have run out of things to try. > regards > Tom Keatley From jcolby at colbyconsulting.com Sat Nov 8 10:10:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 11:10:50 -0500 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com From gustav at cactus.dk Sat Nov 8 10:25:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 8 Nov 2003 17:25:47 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <11127807434.20031108172547@cactus.dk> Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com From serbach at new.rr.com Sat Nov 8 10:57:49 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 8 Nov 2003 10:57:49 -0600 Subject: [AccessD] A2K: Moving a replica to an FTP site Message-ID: <20031108105749.1504749872.serbach@new.rr.com> Steve, >> try explicitly mapping a drive letter to that drive << I will definitely try that. I'm trying to get my arms around Indirect Replication for this client of mine who has far-flung employees who don't have access to the home network. Regards, Steve Erbach Scientific Marketing Neenah, WI From jcolby at colbyconsulting.com Sat Nov 8 11:22:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:22:17 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <11127807434.20031108172547@cactus.dk> Message-ID: No help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 8 11:44:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:44:39 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Nov 8 11:45:07 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 08 Nov 2003 09:45:07 -0800 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: Hi John: Here is a silly question. Why not set the form to visible = false initially and then ... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open No help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 8 11:46:23 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:46:23 -0500 Subject: [AccessD] OT: Outlook new mail notification Message-ID: Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Sat Nov 8 11:53:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 12:53:56 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: Visible isn't a design time property. From Access' help: You can set this property by using the object's property sheet (for sections and all controls except page breaks), a macro, or Visual Basic. For forms, reports, and data access pages, you must set this property by using a macro or Visual Basic. Plus... see my explanation of LWS functionality. I can't set it at design time even if I wanted to. If a user just dbl-clicks to open a form I have no opportunity to run a macro. Thus I am left with Visual Basic to perform this magic. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, November 08, 2003 12:45 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Hi John: Here is a silly question. Why not set the form to visible = false initially and then ... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open No help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John How about moving that command to OnLoad? /gustav > I have a form I want to open invisible every time it opens, regardless of > how it is opened. I placed me.visible = false in OnOpen. That doesn't > work! The strange part is that if I place a breakpoint on the line and stop > execution on the me.visible = false, then continue, the form correctly hides > itself. > Has anyone ever seen such a strangeness? > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Nov 8 12:09:59 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 8 Nov 2003 13:09:59 -0500 Subject: [AccessD] A2K - setting a form invisible on open References: Message-ID: <002101c3a623$8725bf50$6401a8c0@default> John, What about Screen.ActiveForm.Visible = False Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, November 08, 2003 12:53 PM Subject: RE: [AccessD] A2K - setting a form invisible on open > Visible isn't a design time property. From Access' help: > > You can set this property by using the object's property sheet (for sections > and all controls except page breaks), a macro, or Visual Basic. > For forms, reports, and data access pages, you must set this property by > using a macro or Visual Basic. > > Plus... see my explanation of LWS functionality. > > I can't set it at design time even if I wanted to. If a user just > dbl-clicks to open a form I have no opportunity to run a macro. Thus I am > left with Visual Basic to perform this magic. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Saturday, November 08, 2003 12:45 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Hi John: > > Here is a silly question. Why not set the form to visible = false initially > and then ... > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Saturday, November 08, 2003 9:22 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > No help. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, November 08, 2003 11:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > How about moving that command to OnLoad? > > /gustav > > > > I have a form I want to open invisible every time it opens, regardless of > > how it is opened. I placed me.visible = false in OnOpen. That doesn't > > work! The strange part is that if I place a breakpoint on the line and > stop > > execution on the me.visible = false, then continue, the form correctly > hides > > itself. > > > Has anyone ever seen such a strangeness? > > > John W. Colby > > www.colbyconsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 8 12:15:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 8 Nov 2003 19:15:14 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <19834374237.20031108191514@cactus.dk> Hi John Couldn't you cancel the opening when this should not be allowed and then call a subfunction to open the form not visible: Public Sub Form_Open(Cancel As Integer) Cancel = IsVisibleDisabledForCurrentUser() If Cancel = True Then Call SubFunctionToOpenFormNotVisible(Me.Name) End If End Sub /gustav >> I have a form I want to open invisible every time it opens, regardless of >> how it is opened. I placed me.visible = false in OnOpen. That doesn't >> work! The strange part is that if I place a breakpoint on the line and >> stop execution on the me.visible = false, then continue, the form >> correctly hides itself. From jcolby at colbyconsulting.com Sat Nov 8 12:24:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 13:24:55 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: More stuff. I just discovered that as you try to unhide the form the first time, it rehides but APPARENTLY the focus stays on that form. I say that because the database window (the only other thing visible/open in my testing case) does NOT have the focus, and the design toolbar "disables", i.e. all the controls gray out. If you click on the database window it gets the focus, the toolbar "enables" and THEN if you try to unhide the hidden form a second time, it correctly does NOT unhide!!! There's a hint in there somewhere I have to believe. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 12:45 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 8 12:25:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 13:25:08 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <19834374237.20031108191514@cactus.dk> Message-ID: Gustav, Good thought. I'll try that. It seems that if I use exactly your code then the form would try to open, would already be open so would "fail" and would then return and continue closing. I'll see though. I also have to handle making user the form can never be made visible manually though. See my email re what happens if you unhide it twice in a row. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, November 08, 2003 1:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John Couldn't you cancel the opening when this should not be allowed and then call a subfunction to open the form not visible: Public Sub Form_Open(Cancel As Integer) Cancel = IsVisibleDisabledForCurrentUser() If Cancel = True Then Call SubFunctionToOpenFormNotVisible(Me.Name) End If End Sub /gustav >> I have a form I want to open invisible every time it opens, regardless of >> how it is opened. I placed me.visible = false in OnOpen. That doesn't >> work! The strange part is that if I place a breakpoint on the line and >> stop execution on the me.visible = false, then continue, the form >> correctly hides itself. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 8 14:11:43 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 8 Nov 2003 14:11:43 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <17172960.1068308185175.JavaMail.root@sniper.marix.com> Message-ID: <000201c3a634$8b7ab1d0$de1811d8@DanWaters> John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Nov 8 14:23:08 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 8 Nov 2003 14:23:08 -0600 Subject: [AccessD] A2K - setting a form invisible on open - oops! In-Reply-To: <1947100.1068322701956.JavaMail.root@sniper.marix.com> Message-ID: <000801c3a636$22c9ef50$de1811d8@DanWaters> I re-read this and realized that it sounds like the form being set to hidden will cause the form to automatically close after the code is finished. Not! The code behind the form closes the form. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 2:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Nov 8 14:27:49 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 8 Nov 2003 20:27:49 -0000 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <000201c3a634$8b7ab1d0$de1811d8@DanWaters> Message-ID: <025d01c3a636$c6f64920$b274d0d5@minster33c3r25> John You don't have a SetFocus to anything on the form after the me.visible=False do you? That would make it visible again. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 08 November 2003 20:12 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > John, > > I have a startup form with quite a bit of startup code behind > it. To make it invisible, I go to the database window, > right-click the form, then select properties. Then check the > Hidden checkbox. Now the form will never display, but all > the code behind the form runs from the form's Open event. The > form also closes itself after it does all it's things and > opens the switchboard form. > > For you to be able to see and select the form from the list > in the database window, go to Tools|Options, then select the > View tab and check the Show Hidden Objects checkbox. Now, > when the form list is displayed in the database window, the > startup form's small icon will be 'grayed out' to indicate > that this form is hidden. > > As long as your users can't muck around in Tool|Options and > can't open the database window, this may work for you. > > HTH! > Dan Waters > Quality Process Solutions > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Saturday, November 08, 2003 10:11 AM > To: AccessD > Subject: [AccessD] A2K - setting a form invisible on open > > > I have a form I want to open invisible every time it opens, > regardless of how it is opened. I placed me.visible = false > in OnOpen. That doesn't work! The strange part is that if I > place a breakpoint on the line and stop execution on the > me.visible = false, then continue, the form correctly hides itself. > > Has anyone ever seen such a strangeness? > > John W. Colby > www.colbyconsulting.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 bill.marriott at optusnet.com.au Sat Nov 8 15:30:42 2003 From: bill.marriott at optusnet.com.au (Bill & Janine Marriott) Date: Sun, 9 Nov 2003 08:30:42 +1100 Subject: [AccessD] uploading data from an fixed field length txt file In-Reply-To: Message-ID: <001201c3a63f$9163e7a0$0211a4cb@marriott> Hi Gary (and Darren) Just what I wanted! Thanks Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, 8 November 2003 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] uploading data from an fixed field length txt file Hi Bill, I'd recommend Seth Galitzer's Home Page - under "downloads" & "File I/O in VB" http://puma.agron.ksu.edu/~sgsax/ Gary Kjos garykjos at hotmail.com >From: "Bill & Janine Marriott" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] uploading data from an fixed field length txt file >Date: Fri, 7 Nov 2003 19:08:43 +1100 > > > >Hi Everyone, > >I haven't visited this site for a while. Nice to see some old familiar >faces. > >Does anyone know where I can look for code samples for uploading data >from a text file into Access xp? > >Thanks > >Bill Marriott > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sat Nov 8 15:51:26 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat, 8 Nov 2003 22:51:26 +0100 Subject: [AccessD] ADO Connection from FORM In-Reply-To: Message-ID: <000201c3a642$75b7ad90$69fa2250@servercafe> We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== From jcolby at colbyconsulting.com Sat Nov 8 20:44:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 8 Nov 2003 21:44:12 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <000201c3a634$8b7ab1d0$de1811d8@DanWaters> Message-ID: Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Nov 8 22:20:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 08 Nov 2003 20:20:19 -0800 Subject: [AccessD] ADO Connection from FORM In-Reply-To: <000201c3a642$75b7ad90$69fa2250@servercafe> Message-ID: Hi Jaun: Only an ADP Access form can connection directly to recordset otherwise an ODBC connection string can but that is one layer up from ADO-OLE and performance tend much reduce especially if you have just requested a large group of records. I tend to dynamically link and lock the recordset, instead of the forms and use code to feed the forms. I am sure there is other methods. I posted the following code a week ago but you might not have seen it: code >>> Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' if your are connecting to MDB database gstrConnection = "Provider=Microsoft.Jet.OLEDB.4.0; _ Persist Security Info=False; _ Data Source= MyDatabaseNameAndLocation" ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected .......... and everytime you want to connect after that... Dim cmdInvoice As ADODB.Command Public rsInvoice As ADODB.Recordset Set rsInvoice = New ADODB.Recordset Set cmdInvoice = New ADODB.Command ' accessing a parameterized query in a MDB database With cmdInvoice .ActiveConnection = gstrConnection .CommandText = "MyQuery" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("InvoiceCode", adChar, adParamInput, 10, strInvoiceCode) End With With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open cmdInvoice If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With ...or direct, no command section needed With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open "SELECT * FROM Invoice " & _ "ORDER BY [Group]", gstrConnection If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With <<< code HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, November 08, 2003 1:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Connection from FORM We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.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 Nov 8 23:57:10 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 8 Nov 2003 23:57:10 -0600 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <2F8793082E00D4119A1700B0D0216BF802227507@main2.marlow.com> Sounds like you need to have a doevents or me.Repaint command. You are setting a form's visible property to false, but that requires a screen repaint. Just a guess. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 10:10 AM Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Nov 9 00:05:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 9 Nov 2003 00:05:48 -0600 Subject: [AccessD] OT: Outlook new mail notification Message-ID: <2F8793082E00D4119A1700B0D0216BF802227508@main2.marlow.com> What version of Outlook? Looks like there was an option in versions before 2000. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 11:46 AM Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sun Nov 9 00:24:11 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun, 9 Nov 2003 07:24:11 +0100 Subject: [AccessD] ADO Connection from FORM In-Reply-To: Message-ID: <000201c3a68a$170ef620$69fa2250@servercafe> Thanks Jim for your soon answer, but we have a dude.. How to convert and MDE/MDB application to ADP, and this ADP is compiled like MDE?? Is possible make a distributable ADP applications? Is my first time with ADP. And i need study and read some more information about this. Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: domingo, 09 de noviembre de 2003 5:20 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADO Connection from FORM Hi Jaun: Only an ADP Access form can connection directly to recordset otherwise an ODBC connection string can but that is one layer up from ADO-OLE and performance tend much reduce especially if you have just requested a large group of records. I tend to dynamically link and lock the recordset, instead of the forms and use code to feed the forms. I am sure there is other methods. I posted the following code a week ago but you might not have seen it: code >>> Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' if your are connecting to MDB database gstrConnection = "Provider=Microsoft.Jet.OLEDB.4.0; _ Persist Security Info=False; _ Data Source= MyDatabaseNameAndLocation" ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected .......... and everytime you want to connect after that... Dim cmdInvoice As ADODB.Command Public rsInvoice As ADODB.Recordset Set rsInvoice = New ADODB.Recordset Set cmdInvoice = New ADODB.Command ' accessing a parameterized query in a MDB database With cmdInvoice .ActiveConnection = gstrConnection .CommandText = "MyQuery" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("InvoiceCode", adChar, adParamInput, 10, strInvoiceCode) End With With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open cmdInvoice If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With ...or direct, no command section needed With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open "SELECT * FROM Invoice " & _ "ORDER BY [Group]", gstrConnection If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With <<< code HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, November 08, 2003 1:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Connection from FORM We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at 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 jcolby at colbyconsulting.com Sun Nov 9 06:14:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 9 Nov 2003 07:14:27 -0500 Subject: [AccessD] OT: Outlook new mail notification In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227508@main2.marlow.com> Message-ID: O2K John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, November 09, 2003 1:06 AM To: 'AccessD ' Subject: RE: [AccessD] OT: Outlook new mail notification What version of Outlook? Looks like there was an option in versions before 2000. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 11:46 AM Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Sun Nov 9 06:30:44 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Sun, 09 Nov 2003 06:30:44 -0600 Subject: [AccessD] OT: Outlook new mail notification Message-ID: That's actually a Windows setting, not an Outlook setting. I don't know which OS you're using, but I think what I'm about to describe started with Windows 2K. Right-click on Start menu Choose Properties Click the Taskbar tab At the bottom, under Notification Area, choose Customize Find the "You have new unopened items" line and click where it says "Hide when Inactive" and change that to "Always Hide" Hope that helps, Gina From: "John Colby" Reply-To: Access Developers discussion and problem solving To: "AccessD" Subject: [AccessD] OT: Outlook new mail notification Date: Sat, 8 Nov 2003 12:46:23 -0500 Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From carbonnb at sympatico.ca Sun Nov 9 07:07:35 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 09 Nov 2003 08:07:35 -0500 Subject: [AccessD] OT: Outlook new mail notification In-Reply-To: Message-ID: <3FADF5C7.14414.EA465@localhost> On 8 Nov 2003 at 12:46, John Colby wrote: > Does anyone know how to turn off the little envelope icon that is > placed in the tool tray when a new mail arrives? Please responsed on dba-tech. If you are not subscribed you can subscribe by going to: http://databaseadvisors.com/mailman/listinfo/dba-tech or by sending an e-mail to: dba-tech-requests at databaseadvisors.com with the body of: subscribe -- Bryan Carbonnell - carbonnb at sympatico.ca Welcome to Hell. Here's your copy of Windows. From carbonnb at sympatico.ca Sun Nov 9 07:14:56 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 09 Nov 2003 08:14:56 -0500 Subject: (Fwd) RE: [AccessD] A2K - setting a form invisible on open Message-ID: <3FADF780.2161.155B6E@localhost> Forwarded because of a bounce. ------- Forwarded message follows ------- Send reply to: From: "Robert Gracie" Date sent: Sat, 8 Nov 2003 23:37:08 -0500 John This is real crude but will this work... Form Level Private Sub Form_Open(Cancel As Integer) Dim ScrVis As Long ScrVis = 0 'LWS Check Point 'ScrCount is a global counter, to make sure we don't loop If ScrVis = 0 And ScrCount = 0 Then ScrCount = 1 Call Openform(Me.Name) End If End Sub Module Level Public Sub Openform(FrmName As String) DoCmd.Close acForm, FrmName DoCmd.Openform FrmName, , , , , acHidden End Sub Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------- End of forwarded message ------- -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That to ignore the facts does not change the facts. -- Bryan Carbonnell - carbonnb at sympatico.ca There are two ways to write bug-free code; only the third way works. From Subscriptions at servicexp.com Sun Nov 9 07:56:02 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sun, 9 Nov 2003 08:56:02 -0500 Subject: (Fwd) RE: [AccessD] A2K - setting a form invisible on open In-Reply-To: <3FADF780.2161.155B6E@localhost> Message-ID: Thanks Bryon... I'm repost posting the code because of the formatting errors. Form Level Private Sub Form_Open(Cancel As Integer) Dim ScrVis As Long ScrVis = 0 'LWS Check Point 'ScrCount is a global counter, to make sure we don't loop If ScrVis = 0 And ScrCount = 0 Then ScrCount = 1 Call Openform(Me.Name) End If End Sub Module Level Public Sub Openform(FrmName As String) DoCmd.Close acForm, FrmName DoCmd.Openform FrmName, , , , , acHidden End Sub Robert Gracie www.servicexp.com SNIP From dwaters at usinternet.com Sun Nov 9 08:39:53 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 9 Nov 2003 08:39:53 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <546976.1068345991467.JavaMail.root@sniper.marix.com> Message-ID: <000001c3a6cf$56e0f3d0$de1811d8@DanWaters> John, I also manage control formatting on forms based on user authorities, which come from a table. These authorities also determine who is authorized to open a form, and the authorities are changed from time to time by a manager at the company. A wild thought - Could your form have a timer event with a check on the user's authorities? If they are not authorized, then the form's visible property could be reset to me.visible = false. I guess you'd have to use some fraction of a second as the timer frequency. Maybe if a non-authorized user viewing a form is an infrequent event this could work. I guess if the event could use local information this might be useful. But if this is off the wall, just sweep it up! Best of Luck, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomk at multiline.com.au Sat Nov 8 17:57:28 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Sun, 9 Nov 2003 07:57:28 +0800 Subject: [AccessD] How do I place API file dialogue in centre of form References: <46B976F2B698FF46A4FE7636509B22DF71F0@stekelbes.ithelps.local> <42601.12.3.132.98.1067977717.squirrel@heck.bay9.com> <001b01c3a4c8$206043a0$0300a8c0@print> <598340242.20031108120120@cactus.dk> Message-ID: <001101c3a654$1154a710$0300a8c0@print> Hi all... I am using the code below to bring up a standard file dialogue in Windows to select a file for import which works GREAT. I would like however the dialogue to appear in the centre of the form it is being called from. I believe this will have something to do with the HWND but have no idea how to proceed from here. Can anyone assist ? Function APIDialogBox() Dim OpenFile As OPENFILENAME Dim lReturn As Long Dim sFilter As String OpenFile.lStructSize = Len(OpenFile) 'OpenFile.hwndOwner = me.Hwnd 'OpenFile.hInstance = App.hInstance sFilter = "Pied Piper Order Files (*.eml)" & Chr(0) & "*.eml" & Chr(0) _ & "OLD Pied Piper Order Files (*.XXX)" & Chr(0) & "*.XXX" & Chr(0) _ & "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) 'sFilter = "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) OpenFile.lpstrFilter = sFilter 'OpenFile.nFilterIndex = 1 OpenFile.lpstrFile = String(257, 0) OpenFile.nMaxFile = Len(OpenFile.lpstrFile) - 1 OpenFile.lpstrFileTitle = OpenFile.lpstrFile OpenFile.nMaxFileTitle = OpenFile.nMaxFile OpenFile.lpstrInitialDir = "C:\_WebOrders\" OpenFile.lpstrTitle = "Please Select a Web Order" OpenFile.flags = 0 lReturn = GetOpenFileName(OpenFile) If lReturn = 0 Then APIDialogBox = "" Else APIDialogBox = Trim(OpenFile.lpstrFile) 'gives me pathname\filename OrdFilNam = OpenFile.lpstrFile 'gives me filename filnam = OpenFile.lpstrFileTitle 'gives me path\ PthNam = Left(OpenFile.lpstrFile, OpenFile.nFileOffset) 'Call WEBIMPORT End If End Function From jcolby at colbyconsulting.com Sun Nov 9 18:06:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 9 Nov 2003 19:06:49 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <000001c3a6cf$56e0f3d0$de1811d8@DanWaters> Message-ID: I certainly can't have a timer going all of the time. However I could have a hidden form that the timer is turned on by demand. A form opening that needs to be invisible puts it's name in a variable (or in a collection) The code that does that could start the timer and set the time to 250 ms or something. The form put's it's name in a collection and closes. The form's timer then starts, which reads the form(s) out of the collection and opens them invisible. What a &^%$ing kludge! Wouldn't it be nice if Access just worked? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Sunday, November 09, 2003 9:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I also manage control formatting on forms based on user authorities, which come from a table. These authorities also determine who is authorized to open a form, and the authorities are changed from time to time by a manager at the company. A wild thought - Could your form have a timer event with a check on the user's authorities? If they are not authorized, then the form's visible property could be reset to me.visible = false. I guess you'd have to use some fraction of a second as the timer frequency. Maybe if a non-authorized user viewing a form is an infrequent event this could work. I guess if the event could use local information this might be useful. But if this is off the wall, just sweep it up! Best of Luck, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jonper at oceanfree.net Sun Nov 9 18:40:49 2003 From: jonper at oceanfree.net (John Fitz) Date: Mon, 10 Nov 2003 00:40:49 -0000 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: John, Try setting the detail section Visible property to No, the border property to none and the navigation buttons to no. Then use your code to reset these propeties as you wish. The fom will open invisible. John Fitz. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: 10 November 2003 00:07 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open I certainly can't have a timer going all of the time. However I could have a hidden form that the timer is turned on by demand. A form opening that needs to be invisible puts it's name in a variable (or in a collection) The code that does that could start the timer and set the time to 250 ms or something. The form put's it's name in a collection and closes. The form's timer then starts, which reads the form(s) out of the collection and opens them invisible. What a &^%$ing kludge! Wouldn't it be nice if Access just worked? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Sunday, November 09, 2003 9:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I also manage control formatting on forms based on user authorities, which come from a table. These authorities also determine who is authorized to open a form, and the authorities are changed from time to time by a manager at the company. A wild thought - Could your form have a timer event with a check on the user's authorities? If they are not authorized, then the form's visible property could be reset to me.visible = false. I guess you'd have to use some fraction of a second as the timer frequency. Maybe if a non-authorized user viewing a form is an infrequent event this could work. I guess if the event could use local information this might be useful. But if this is off the wall, just sweep it up! Best of Luck, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 20:50:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 10 Nov 2003 12:50:50 +1000 Subject: [AccessD] How do I place API file dialogue in centre of form In-Reply-To: <001101c3a654$1154a710$0300a8c0@print> Message-ID: <3FAF89AA.28465.F495C@localhost> On 9 Nov 2003 at 7:57, Tom Keatley wrote: > Hi all... > I am using the code below to bring up a standard file dialogue in Windows to > select a file for import which works GREAT. > > I would like however the dialogue to appear in the centre of the form it is > being called from. I believe this will have something to do with the HWND > but have no idea how to proceed from here. > > Can anyone assist ? > > Just uncomment the line 'OpenFile.hwndOwner = me.Hwnd and the dialog becomes a child of the form is opened from. > > > Function APIDialogBox() > Dim OpenFile As OPENFILENAME > Dim lReturn As Long > Dim sFilter As String > OpenFile.lStructSize = Len(OpenFile) > 'OpenFile.hwndOwner = me.Hwnd > 'OpenFile.hInstance = App.hInstance > sFilter = "Pied Piper Order Files (*.eml)" & Chr(0) & "*.eml" & > Chr(0) _ > & "OLD Pied Piper Order Files (*.XXX)" & Chr(0) & "*.XXX" & Chr(0) > _ > & "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) > 'sFilter = "All Files (*.*)" & Chr(0) & "*.*" & Chr(0) > OpenFile.lpstrFilter = sFilter > 'OpenFile.nFilterIndex = 1 > OpenFile.lpstrFile = String(257, 0) > > OpenFile.nMaxFile = Len(OpenFile.lpstrFile) - 1 > OpenFile.lpstrFileTitle = OpenFile.lpstrFile > OpenFile.nMaxFileTitle = OpenFile.nMaxFile > OpenFile.lpstrInitialDir = "C:\_WebOrders\" > OpenFile.lpstrTitle = "Please Select a Web Order" > OpenFile.flags = 0 > lReturn = GetOpenFileName(OpenFile) > If lReturn = 0 Then > APIDialogBox = "" > Else > APIDialogBox = Trim(OpenFile.lpstrFile) > 'gives me pathname\filename > OrdFilNam = OpenFile.lpstrFile > 'gives me filename > filnam = OpenFile.lpstrFileTitle > 'gives me path\ > PthNam = Left(OpenFile.lpstrFile, OpenFile.nFileOffset) > 'Call WEBIMPORT > End If > > > End Function > > _______________________________________________ > 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 roz.clarke at donnslaw.co.uk Mon Nov 10 03:39:35 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 10 Nov 2003 09:39:35 -0000 Subject: FW: [AccessD] A2K - setting a form invisible on open Message-ID: <61F915314798D311A2F800A0C9C83188047C66F8@dibble.observatory.donnslaw.co.uk> Forwarded on behalf of Robert; Bryan can you check why this message was blocked? thanks Roz -----Original Message----- From: Robert Gracie [mailto:Robert at servicexp.com] Sent: 09 November 2003 04:37 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open John This is real crude but will this work... Form Level Private Sub Form_Open(Cancel As Integer) Dim ScrVis As Long ScrVis = 0 'LWS Check Point 'ScrCount is a global counter, to make sure we don't loop If ScrVis = 0 And ScrCount = 0 Then ScrCount = 1 Call Openform(Me.Name) End If End Sub Module Level Public Sub Openform(FrmName As String) DoCmd.Close acForm, FrmName DoCmd.Openform FrmName, , , , , acHidden End Sub Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Dan, I appreciate this. Unfortunately this doesn't really solve my problem. I am designing a LightWeight Security system. The system is designed to control access to forms and controls such that a designer enters data in tables that define who can see / open forms etc. This means that I don't control the properties of a form at run time. It isn't my database. My wizard has to be able to take ANY form and open it invisible. Further, if a form attempts to unhide, my wizard code has to determine if the current user is allowed to unhide it, and if not then prevent the unhide. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Saturday, November 08, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I have a startup form with quite a bit of startup code behind it. To make it invisible, I go to the database window, right-click the form, then select properties. Then check the Hidden checkbox. Now the form will never display, but all the code behind the form runs from the form's Open event. The form also closes itself after it does all it's things and opens the switchboard form. For you to be able to see and select the form from the list in the database window, go to Tools|Options, then select the View tab and check the Show Hidden Objects checkbox. Now, when the form list is displayed in the database window, the startup form's small icon will be 'grayed out' to indicate that this form is hidden. As long as your users can't muck around in Tool|Options and can't open the database window, this may work for you. HTH! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 08, 2003 10:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Mon Nov 10 09:07:24 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 10 Nov 2003 10:07:24 -0500 Subject: [AccessD] OT: Outlook new mail notification Message-ID: John - Try going to Tools>Options. On the Preferences tab, click Email Options. In the next window, click Advanced Email Options. Uncheck the option 'Show an envelope icon in the system tray'. Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 12:46 PM To: AccessD Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 10 09:30:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 10:30:58 -0500 Subject: [AccessD] OT: Outlook new mail notification In-Reply-To: Message-ID: Mark, I follow you all the way to the last line, but there is no such checkbox. Outlook 2000 on Win2K. I could SWEAR I turned this thing on, now I just want to turn it off! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Monday, November 10, 2003 10:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification John - Try going to Tools>Options. On the Preferences tab, click Email Options. In the next window, click Advanced Email Options. Uncheck the option 'Show an envelope icon in the system tray'. Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 12:46 PM To: AccessD Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 10 10:43:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Nov 2003 08:43:10 -0800 Subject: [AccessD] ADO Connection from FORM Message-ID: You can create a compiled ADE from an ADP, and yes, you can create distributable ADP applications. Charlotte Foust -----Original Message----- From: MastercafeCTV [mailto:mastercafe at ctv.es] Sent: Saturday, November 08, 2003 10:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO Connection from FORM Thanks Jim for your soon answer, but we have a dude.. How to convert and MDE/MDB application to ADP, and this ADP is compiled like MDE?? Is possible make a distributable ADP applications? Is my first time with ADP. And i need study and read some more information about this. Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: domingo, 09 de noviembre de 2003 5:20 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADO Connection from FORM Hi Jaun: Only an ADP Access form can connection directly to recordset otherwise an ODBC connection string can but that is one layer up from ADO-OLE and performance tend much reduce especially if you have just requested a large group of records. I tend to dynamically link and lock the recordset, instead of the forms and use code to feed the forms. I am sure there is other methods. I posted the following code a week ago but you might not have seen it: code >>> Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' if your are connecting to MDB database gstrConnection = "Provider=Microsoft.Jet.OLEDB.4.0; _ Persist Security Info=False; _ Data Source= MyDatabaseNameAndLocation" ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected .......... and everytime you want to connect after that... Dim cmdInvoice As ADODB.Command Public rsInvoice As ADODB.Recordset Set rsInvoice = New ADODB.Recordset Set cmdInvoice = New ADODB.Command ' accessing a parameterized query in a MDB database With cmdInvoice .ActiveConnection = gstrConnection .CommandText = "MyQuery" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("InvoiceCode", adChar, adParamInput, 10, strInvoiceCode) End With With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open cmdInvoice If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With ...or direct, no command section needed With rsInvoice .CursorLocation = adUseClient .LockType = adLockBatchOptimistic .Open "SELECT * FROM Invoice " & _ "ORDER BY [Group]", gstrConnection If .EOF = False And .BOF = False Then .MoveLast GotInvoice = True End If End With <<< code HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, November 08, 2003 1:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Connection from FORM We are trying to connect from a FORM to and external MYDATA.MDB on a server. We are sure that ADODB could be use but we only use ASP forms to make this and put over the server. On the ASP page is very simple to connect : Set Ob_Conn=Server.CreateObject("adodb.connection") Set Ob_RS=Server.CreateObject("adodb.recordset") Ob_Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("datos.mdb") Sql= "SELECT * FROM productos where familiaid='"&cadena&"' order by codigo" Ob_RS.open Sql,Ob_Conn,adOpenStatic, adCmdTable Ob_RS.PageSize = 6 Ob_RS.AbsolutePage=Session("pagina") But to make the same on a simple FORM like a RecordSource?? Or in VB into de form to collect some data to visualize ?? Thanks Juan Men?ndez =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at 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 MarkBoyd at McBeeAssociates.com Mon Nov 10 10:57:24 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 10 Nov 2003 11:57:24 -0500 Subject: [AccessD] OT: Outlook new mail notification Message-ID: I'm using Outlook 2002. This must be a newer feature. Sorry. Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 10:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification Mark, I follow you all the way to the last line, but there is no such checkbox. Outlook 2000 on Win2K. I could SWEAR I turned this thing on, now I just want to turn it off! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Monday, November 10, 2003 10:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification John - Try going to Tools>Options. On the Preferences tab, click Email Options. In the next window, click Advanced Email Options. Uncheck the option 'Show an envelope icon in the system tray'. Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 12:46 PM To: AccessD Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Nov 10 12:42:31 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 10 Nov 2003 13:42:31 -0500 (EST) Subject: [AccessD] Where claise in IIf query In-Reply-To: <38712.12.3.132.98.1068064848.squirrel@heck.bay9.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C84F@cntexchange.pgdp.usec.com> <38712.12.3.132.98.1068064848.squirrel@heck.bay9.com> Message-ID: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Hey Group, I am not able to put conditions in queries whee I use IIF. What is the alternate solution ? This works --- SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3; however when Iput in WHERE SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 WHERE JJ = "zzz" doesn't work. I tried inserting GROUP BY by all statements, and then HAVING, but doesn't work either... ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From jcolby at colbyconsulting.com Mon Nov 10 12:46:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 13:46:08 -0500 Subject: [AccessD] OT: registry backup Message-ID: Does anyone know if the registry is backed up automatically by Windows? Can it be? I had a power failure this morning. I have a UPS for each computer, connected by serial port and they reported that they were shutting down correctly, however when I came back up my main dev machine is pretty badly mangled. Had to go into safe mode and get rid of some of the start up stuff to even get loaded, now just strange things - Access asks me if I want to register my copy, the desktop is totally re-arranged, MS Messenger looks different, Norton utilities won't run at all, Norton defrag says it's in a bizarre location etc. Sounds like a registry problem to me. So... is there a backup somewhere? If not, why not? John W. Colby www.colbyconsulting.com From KIsmert at TexasSystems.com Mon Nov 10 12:00:59 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Mon, 10 Nov 2003 12:00:59 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: <00bb01c3a7b4$994f78a0$2a3ca8c0@TEXASSYSTEMS.COM> John: Two comments - 1. It escapes me why you would even want to manage an open, invisible form. If the user can't view it, then by far the simplist thing to do is not open it. Is there some other issue driving this need that you haven't elaborated on? 2. The object method of opening a form, Set FormObject = New Form_FormName, creates an invisible instance of your form. The user will be absolutely unaware of its presence until you decide to show it by setting Visible =True. That's the upside of this method. The downside is you can't use DoCmd.OpenForm. Instead, you would have to write your own object-oriented framework to manage the life of your forms. -Ken -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Mon Nov 10 12:58:22 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon, 10 Nov 2003 13:58:22 -0500 Subject: [AccessD] OT: registry backup Message-ID: Replies to DBA-Tech. If you are not subscribed you can subscribe by going to: http://databaseadvisors.com/mailman/listinfo/dba-tech or by sending an e-mail to: dba-tech-requests at databaseadvisors.com with the body of: subscribe Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 10-Nov-03 1:46:08 PM >>> Does anyone know if the registry is backed up automatically by Windows? Can it be? I had a power failure this morning. I have a UPS for each computer, connected by serial port and they reported that they were shutting down correctly, however when I came back up my main dev machine is pretty badly mangled. Had to go into safe mode and get rid of some of the start up stuff to even get loaded, now just strange things - Access asks me if I want to register my copy, the desktop is totally re-arranged, MS Messenger looks different, Norton utilities won't run at all, Norton defrag says it's in a bizarre location etc. Sounds like a registry problem to me. So... is there a backup somewhere? If not, why not? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 10 13:03:45 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 10 Nov 2003 19:03:45 -0000 Subject: [AccessD] Where claise in IIf query In-Reply-To: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Message-ID: <032601c3a7bd$5dd7ff00$b274d0d5@minster33c3r25> Oleg You can't refer to an expression's name in the WHERE clause. Best way is to create a little function (or two in this case). You can then refer to the function's return value in the SELECT and WHERE clauses. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oleg_123 at xuppa.com > Sent: 10 November 2003 18:43 > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I > use IIF. What is the alternate solution ? This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, > and then HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Mon Nov 10 13:17:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 14:17:01 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <00bb01c3a7b4$994f78a0$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: Ken, I am writing a security utility aimed at other developers. It is designed to allow YOU (and me as a developer) to manage the presentation security of a database front end. IOW, what forms can a user / group open? View? Add records to? Delete records in? Edit records in? Etc. As you can see, I am not necessarily "in control of" the target FE at design time since the FE is YOURS. Why would you want to open a form not visible? Perhaps the form is a filter form that you use to feed values to a query. Perhaps the form has a timer ticking that performs some process. Perhaps... uh... I have no damned idea what else you might decide to do with a form that is open but that a selected group or groups of users are not allowed to see. I know that I personally use a hidden form to force a cleanup of my framework when the database closes. Since a form cannot close without it's OnClose firing, I use that to run a Terminate() function that closes everything gracefully. So not matter how the db closes, my term() function runs. I cannot allow the users to unhide that since it is a background processing form and they have no business there. In the end though, the answer is I don't know why any given developer is going to want to open a form that users can't see, I simply know that it happens and I need to provide the developer with a means of enforcing this security. BTW, thanks for #2. I knew that but never used it. I will use that in my own framework for hiding my cleanup form. It may be an answer to re-opening the form that the developer wants hidden such that users can't see them. This thread has been a good one for me. Thanks again. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ken Ismert Sent: Monday, November 10, 2003 1:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John: Two comments - 1. It escapes me why you would even want to manage an open, invisible form. If the user can't view it, then by far the simplist thing to do is not open it. Is there some other issue driving this need that you haven't elaborated on? 2. The object method of opening a form, Set FormObject = New Form_FormName, creates an invisible instance of your form. The user will be absolutely unaware of its presence until you decide to show it by setting Visible =True. That's the upside of this method. The downside is you can't use DoCmd.OpenForm. Instead, you would have to write your own object-oriented framework to manage the life of your forms. -Ken -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Nov 10 13:22:03 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 10 Nov 2003 14:22:03 -0500 Subject: [AccessD] Where claise in IIf query In-Reply-To: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Message-ID: Define the IIF() expression as a column (field), then place criteria on that. 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 Oleg_123 at xuppa.com Sent: Monday, November 10, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Where claise in IIf query Hey Group, I am not able to put conditions in queries whee I use IIF. What is the alternate solution ? This works --- SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3; however when Iput in WHERE SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 WHERE JJ = "zzz" doesn't work. I tried inserting GROUP BY by all statements, and then HAVING, but doesn't work either... ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ 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 Nov 10 13:50:15 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 11:50:15 -0800 Subject: [AccessD] Another Hosed Database Message-ID: <006001c3a7c3$dc8a7a70$6501a8c0@HAL9002> Dear List: A client of mine has a database which got corrupted. I told them to open the back end directly and they got the message which said database appears to be corrupted would you like to attempt repair, which they did and it appeared to go OK. However, apparently all is not well, because when I try to add a record to a detail file - bound form, subform on a tab - the command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified record'. When I run the query that is the record source for the subform, it does indeed not allow additions. When I do the same thing on an older copy of their database everything works OK. So I know it's not in the front end. Can this db be saved? MTIA, Rocky Smolin Beach Access Software P.S. Yes they have a backup but no it's not recent. Apparently the person responsible for backup up...didn't. From Oleg_123 at xuppa.com Mon Nov 10 13:53:39 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 10 Nov 2003 14:53:39 -0500 (EST) Subject: [AccessD] Where claise in IIf query In-Reply-To: References: <16810.12.3.132.98.1068489751.squirrel@heck.bay9.com> Message-ID: <16448.12.3.132.98.1068494019.squirrel@heck.bay9.com> I don't understand what you mean... > Define the IIF() expression as a column (field), then place criteria > on > that. > > 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 > Oleg_123 at xuppa.com > Sent: Monday, November 10, 2003 1:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I use IIF. > What is the alternate solution ? > This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, and then > HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From cfoust at infostatsystems.com Mon Nov 10 14:02:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Nov 2003 12:02:03 -0800 Subject: [AccessD] Another Hosed Database Message-ID: Rocky, You've GOT to get some different clients! LOL What version of Access and have you tried building a new query? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, November 10, 2003 11:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Another Hosed Database Dear List: A client of mine has a database which got corrupted. I told them to open the back end directly and they got the message which said database appears to be corrupted would you like to attempt repair, which they did and it appeared to go OK. However, apparently all is not well, because when I try to add a record to a detail file - bound form, subform on a tab - the command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified record'. When I run the query that is the record source for the subform, it does indeed not allow additions. When I do the same thing on an older copy of their database everything works OK. So I know it's not in the front end. Can this db be saved? MTIA, Rocky Smolin Beach Access Software P.S. Yes they have a backup but no it's not recent. Apparently the person responsible for backup up...didn't. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Nov 10 14:17:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 10 Nov 2003 15:17:18 -0500 Subject: [AccessD] Where claise in IIf query In-Reply-To: Message-ID: Sorry, read the question without looking at the SQL. The SQL you have looks fine. What's the problem your having? 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 Jim Dettman Sent: Monday, November 10, 2003 2:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Where claise in IIf query Define the IIF() expression as a column (field), then place criteria on that. 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 Oleg_123 at xuppa.com Sent: Monday, November 10, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Where claise in IIf query Hey Group, I am not able to put conditions in queries whee I use IIF. What is the alternate solution ? This works --- SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3; however when Iput in WHERE SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 WHERE JJ = "zzz" doesn't work. I tried inserting GROUP BY by all statements, and then HAVING, but doesn't work either... ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 10 14:29:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 10 Nov 2003 14:29:25 -0600 Subject: [AccessD] OT: Outlook new mail notification Message-ID: <2F8793082E00D4119A1700B0D0216BF802227510@main2.marlow.com> SOL, on an easy method then! though I think Mike Mattys posted a few code methods. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Sunday, November 09, 2003 6:14 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Outlook new mail notification O2K John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, November 09, 2003 1:06 AM To: 'AccessD ' Subject: RE: [AccessD] OT: Outlook new mail notification What version of Outlook? Looks like there was an option in versions before 2000. Drew -----Original Message----- From: John Colby To: AccessD Sent: 11/8/03 11:46 AM Subject: [AccessD] OT: Outlook new mail notification Does anyone know how to turn off the little envelope icon that is placed in the tool tray when a new mail arrives? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Nov 10 14:33:40 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 12:33:40 -0800 Subject: [AccessD] Another Hosed Database References: Message-ID: <00a101c3a7c9$ed9d4d00$6501a8c0@HAL9002> Charlotte: Hey - this is the kind of client that pays the rent. Anyway, it's not in the query (which is in the front end) because when I restore an older copy of their BE db the FE works just fine. Since my first post I have determined that there is a parent record (agreement header) missing in the header table which has 4 child records (agreement details) in the detail table. FK in those child records points to a non-existent PK in the parent table). So I think the repair didn't. But on the surface, the orphan child records alone should not product the result they're getting. OTOH, it points to other possible problems in the BE. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 10, 2003 12:02 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, > > You've GOT to get some different clients! LOL > > What version of Access and have you tried building a new query? > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, November 10, 2003 11:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them to > open the back end directly and they got the message which said database > appears to be corrupted would you like to attempt repair, which they did > and it appeared to go OK. > > However, apparently all is not well, because when I try to add a record > to a detail file - bound form, subform on a tab - the command > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > record'. > > When I run the query that is the record source for the subform, it does > indeed not allow additions. > > When I do the same thing on an older copy of their database everything > works OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently the > person responsible for backup up...didn't. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Nov 10 14:39:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 10 Nov 2003 14:39:32 -0600 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <2F8793082E00D4119A1700B0D0216BF802227511@main2.marlow.com> JC, did you try my repaint or doevents suggestion? Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 1:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Ken, I am writing a security utility aimed at other developers. It is designed to allow YOU (and me as a developer) to manage the presentation security of a database front end. IOW, what forms can a user / group open? View? Add records to? Delete records in? Edit records in? Etc. As you can see, I am not necessarily "in control of" the target FE at design time since the FE is YOURS. Why would you want to open a form not visible? Perhaps the form is a filter form that you use to feed values to a query. Perhaps the form has a timer ticking that performs some process. Perhaps... uh... I have no damned idea what else you might decide to do with a form that is open but that a selected group or groups of users are not allowed to see. I know that I personally use a hidden form to force a cleanup of my framework when the database closes. Since a form cannot close without it's OnClose firing, I use that to run a Terminate() function that closes everything gracefully. So not matter how the db closes, my term() function runs. I cannot allow the users to unhide that since it is a background processing form and they have no business there. In the end though, the answer is I don't know why any given developer is going to want to open a form that users can't see, I simply know that it happens and I need to provide the developer with a means of enforcing this security. BTW, thanks for #2. I knew that but never used it. I will use that in my own framework for hiding my cleanup form. It may be an answer to re-opening the form that the developer wants hidden such that users can't see them. This thread has been a good one for me. Thanks again. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ken Ismert Sent: Monday, November 10, 2003 1:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John: Two comments - 1. It escapes me why you would even want to manage an open, invisible form. If the user can't view it, then by far the simplist thing to do is not open it. Is there some other issue driving this need that you haven't elaborated on? 2. The object method of opening a form, Set FormObject = New Form_FormName, creates an invisible instance of your form. The user will be absolutely unaware of its presence until you decide to show it by setting Visible =True. That's the upside of this method. The downside is you can't use DoCmd.OpenForm. Instead, you would have to write your own object-oriented framework to manage the life of your forms. -Ken -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Saturday, November 08, 2003 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open To expound a little, in my lightweight security I am trying to create functionality such that if a user can open a form but not view that form, then the form will open but immediately hide itself. To test this scenario, in the forms Activate event I check whether the user has permission to view the form. If not I immediately set the form.visible false. When opening the form, Activate fires, but setting the form's visible attribute false does not make the form invisible. If I manually hide the form, then use Window / unhide to unhide the form, Activate fires, the code sets visible false and the form immediately rehides itself (as I would expect to happen). If I manually use Window / Unhide a SECOND time, Activate NEVER FIRES so my code does not get a chance to hide the form again. You can test this for yourself by simply taking any form, creating an Activate event stub, and placing me.visible = false in it. The first time you do Windows / Unhide the event fires, the second time it doesn't! Furthermore, as you open the form the FIRST time, Activate fires, but setting me.visible = false does not hide the form! I do so love Access and all of it's "quirks/features/BUGS". John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, November 08, 2003 11:11 AM To: AccessD Subject: [AccessD] A2K - setting a form invisible on open I have a form I want to open invisible every time it opens, regardless of how it is opened. I placed me.visible = false in OnOpen. That doesn't work! The strange part is that if I place a breakpoint on the line and stop execution on the me.visible = false, then continue, the form correctly hides itself. Has anyone ever seen such a strangeness? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Nov 10 15:07:15 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 10 Nov 2003 16:07:15 -0500 (EST) Subject: [AccessD] Where claise in IIf query In-Reply-To: References: Message-ID: <16363.12.3.132.98.1068498435.squirrel@heck.bay9.com> if i just say 'WHERE JJ = "zzz" 'I get prompted to enter Parameter if i write WHERE (((IIf([HH]="060010 ","zzz"))="zzz")); i get prompted for HH Am I supposed to write it all out ? the origina l is kinda long, and I keep getting lost in perentasis and brackets SELECT Table3.color, Table3.furniture, Table3.amount, IIf([Amount]="3 ","055") AS Expr2, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount]="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz") AS JJ FROM Table3 > Sorry, read the question without looking at the SQL. The SQL you have > looks fine. What's the problem your having? > > 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 Jim Dettman > Sent: Monday, November 10, 2003 2:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Where claise in IIf query > > > > Define the IIF() expression as a column (field), then place criteria > on > that. > > 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 > Oleg_123 at xuppa.com > Sent: Monday, November 10, 2003 1:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I use IIF. > What is the alternate solution ? > This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, and then > HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From DMcAfee at haascnc.com Mon Nov 10 15:38:37 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 10 Nov 2003 13:38:37 -0800 Subject: [AccessD] Another Hosed Database Message-ID: <657FB70438B7D311AF320090279C1801026D7CDF@EXCHMAIL> Rocky, can you compact the db? Maybe it has corrupted records. Usually if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database Charlotte: Hey - this is the kind of client that pays the rent. Anyway, it's not in the query (which is in the front end) because when I restore an older copy of their BE db the FE works just fine. Since my first post I have determined that there is a parent record (agreement header) missing in the header table which has 4 child records (agreement details) in the detail table. FK in those child records points to a non-existent PK in the parent table). So I think the repair didn't. But on the surface, the orphan child records alone should not product the result they're getting. OTOH, it points to other possible problems in the BE. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 10, 2003 12:02 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, > > You've GOT to get some different clients! LOL > > What version of Access and have you tried building a new query? > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, November 10, 2003 11:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them to > open the back end directly and they got the message which said database > appears to be corrupted would you like to attempt repair, which they did > and it appeared to go OK. > > However, apparently all is not well, because when I try to add a record > to a detail file - bound form, subform on a tab - the command > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > record'. > > When I run the query that is the record source for the subform, it does > indeed not allow additions. > > When I do the same thing on an older copy of their database everything > works OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently the > person responsible for backup up...didn't. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Mon Nov 10 16:41:05 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 11 Nov 2003 09:11:05 +1030 Subject: [AccessD] OT: registry backup Message-ID: It would be in the location where you saved your most recent backup! (Registry is backed up when you include 'system state') -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, 11 November 2003 5:16 AM To: AccessD Subject: [AccessD] OT: registry backup Does anyone know if the registry is backed up automatically by Windows? Can it be? I had a power failure this morning. I have a UPS for each computer, connected by serial port and they reported that they were shutting down correctly, however when I came back up my main dev machine is pretty badly mangled. Had to go into safe mode and get rid of some of the start up stuff to even get loaded, now just strange things - Access asks me if I want to register my copy, the desktop is totally re-arranged, MS Messenger looks different, Norton utilities won't run at all, Norton defrag says it's in a bizarre location etc. Sounds like a registry problem to me. So... is there a backup somewhere? If not, why not? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From bchacc at san.rr.com Mon Nov 10 17:16:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 15:16:52 -0800 Subject: [AccessD] Another Hosed Database References: <657FB70438B7D311AF320090279C1801026D7CDF@EXCHMAIL> Message-ID: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not in > the query (which is in the front end) because when I restore an older copy > of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child records > (agreement details) in the detail table. FK in those child records points > to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points to > other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said database > > appears to be corrupted would you like to attempt repair, which they did > > and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a record > > to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it does > > indeed not allow additions. > > > > When I do the same thing on an older copy of their database everything > > works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Mon Nov 10 17:33:27 2003 From: john at winhaven.net (John Bartow) Date: Mon, 10 Nov 2003 17:33:27 -0600 Subject: [AccessD] Another Hosed Database In-Reply-To: <006001c3a7c3$dc8a7a70$6501a8c0@HAL9002> Message-ID: Hi Rocky, Sounds like you might want to bookmark this site: http://www.repair-access-database.com/ :o) John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, November 10, 2003 1:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them > to open the back end directly and they got the message which said > database appears to be corrupted would you like to attempt > repair, which they did and it appeared to go OK. > > However, apparently all is not well, because when I try to add a > record to a detail file - bound form, subform on a tab - the > command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to > specified record'. > > When I run the query that is the record source for the subform, > it does indeed not allow additions. > > When I do the same thing on an older copy of their database > everything works OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently > the person responsible for backup up...didn't. > _______________________________________________ > 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 Nov 10 17:52:37 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Nov 2003 15:52:37 -0800 Subject: [AccessD] Another Hosed Database References: Message-ID: <00e701c3a7e5$b871a1f0$6501a8c0@HAL9002> John: Done. Thanks. Rocky ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Monday, November 10, 2003 3:33 PM Subject: RE: [AccessD] Another Hosed Database > Hi Rocky, > Sounds like you might want to bookmark this site: > http://www.repair-access-database.com/ > :o) > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Monday, November 10, 2003 1:50 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them > > to open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt > > repair, which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the > > command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to > > specified record'. > > > > When I run the query that is the record source for the subform, > > it does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently > > the person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Mon Nov 10 18:25:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 10 Nov 2003 19:25:46 -0500 Subject: [AccessD] Would you believe Message-ID: 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com From cfoust at infostatsystems.com Mon Nov 10 19:01:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Nov 2003 17:01:00 -0800 Subject: [AccessD] Would you believe Message-ID: I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 10 19:13:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 10 Nov 2003 19:13:00 -0600 Subject: [AccessD] Would you believe Message-ID: <2F8793082E00D4119A1700B0D0216BF80222752B@main2.marlow.com> You can move where 'My Documents' is pointing too. It's pretty easy. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, November 10, 2003 7:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Mon Nov 10 19:42:20 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 11 Nov 2003 01:42:20 -0000 Subject: [AccessD] OT - Would you believe In-Reply-To: Message-ID: <002a01c3a7f5$0bb62b60$bf00a8c0@dabsight> (123,000 here) Why do you think that the .pst file should be in My Documents? John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: 11 November 2003 00:26 > To: AccessD > Subject: [AccessD] Would you believe > > > 65000 files in 7000 folders just in jcolby directory of > documents and settings. Among them the PST file for Outlook. > What other buried treasures are in there that should be in > My Documents? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From stuart at pacific.net.hk Mon Nov 10 20:11:44 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 11 Nov 2003 10:11:44 +0800 Subject: [AccessD] OT - Would you believe In-Reply-To: <002a01c3a7f5$0bb62b60$bf00a8c0@dabsight> Message-ID: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Well ... I personally like to keep anything that needs to survive an OS install on a separate partition. If I need to zap my machine, I can wipe my c drive and reinstall windows and the apps (or ghost them back). I would be *really* unhappy if the outlook.pst file was included in that wipe. So it happens to be one of the things that I moved out of documents and settings. Personally I could quite happily lose most of the profiling that MS puts in Documents and Settings, and I only use IE on activex required sites, so for me not even things like bookmarks are kept there. Though I did move them when I used IE more. I tended to and still do move a number of windows default locations via registry hack ... That includes "My Documents" since many apps default to that as a save location, and I don't want it buried down multiple levels of folder on a drive that I plan to wipe when windows next decides to be a nuisance. This win2k install has been pretty good ... It has been 18 months since I built this one, and as a developer I do mess around with it a bit. I remember with win98 going 6 months was pretty good. But then I have also become somewhat comfortable with manually (and I do mean manually) cleaning the registry of apps that don't decide to play well with windows. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DJK(John) Robinson > Sent: Tuesday, 11 November, 2003 9:42 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT - Would you believe > > > (123,000 here) Why do you think that the .pst file should be in My > Documents? > > John > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > > Sent: 11 November 2003 00:26 > > To: AccessD > > Subject: [AccessD] Would you believe > > > > > > 65000 files in 7000 folders just in jcolby directory of > > documents and settings. Among them the PST file for Outlook. > > What other buried treasures are in there that should be in > > My Documents? > > > > John W. Colby > > www.colbyconsulting.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/accessd > Website: http://www.databaseadvisors.com > From connie.kamrowski at agric.nsw.gov.au Mon Nov 10 20:14:38 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Tue, 11 Nov 2003 13:14:38 +1100 Subject: [AccessD] RTrim Message-ID: just a quick question I have a database querie expression which is failing on a statement using RTrim. If I remove RTrim it works fine. I am on an XP machine running access 97 does anyone know any issue with RTrim and XP perhaps?? It works fine on a 98 machine with Access97. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From martyconnelly at shaw.ca Mon Nov 10 21:43:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 10 Nov 2003 19:43:47 -0800 Subject: [AccessD] OT - Would you believe References: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Message-ID: <3FB05AF3.6000908@shaw.ca> I was just curious how much space was taken up by uninstalls for WinXP both Service packs and hotfixes so I wrote this quick piece of code up It just grabs the directory file size and totals the up. Mine came to around 500 Mb for files such as C:\WINDOWS\$NtServicePackUninstall$ C:\WINDOWS\$NtUninstallKB282010$ Option Compare Database Option Explicit 'WriteFile("c:\windows") Public Function WriteFile(filespec) Dim objFSo Dim oFolder Dim cFolder Dim sReport Dim sUnit Dim s As String Dim ltot As Long ltot = 0 Set objFSo = CreateObject("Scripting.FileSystemObject") ' Set sReport = objFSo.OpenTextFile("SpaceReport.TXT", ForAppending, True) ' sReport.Close Set oFolder = objFSo.GetFolder(filespec) Set cFolder = oFolder.SubFolders For Each sUnit In cFolder 'If MinVal < sUnit.Size Then ' WriteFile (sUnit) If Mid(sUnit, 1, 14) = "C:\WINDOWS\$NT" Then ltot = ltot + sUnit.Size s = ShowFolderSize(sUnit) Debug.Print s ' Set sReport = objFSo.OpenTextFile("SpaceReport.TXT", ForAppending, True) ' sReport.WriteLine s ' sReport.Close End If Next Debug.Print "total=" & ltot & " - " & ByteFilter(ltot) End Function Public Function ShowFolderSize(filespec) As String Dim FSO As Object Dim f As Object Dim BF As String Dim s As String If Right(filespec, 1) <> "\" Then filespec = filespec & "\" End If Set FSO = CreateObject("Scripting.FileSystemObject") Set f = FSO.GetFolder(filespec) 'wscript.echo (f.size/1024) ' If Minval < f.size then BF = ByteFilter(f.Size) s = BF & vbTab & " are being used in: " & vbTab & UCase(filespec) ShowFolderSize = s ' End If End Function '---ByteFilter Function...---------------- Public Function ByteFilter(ByteQuant) As String Dim BF As String If ByteQuant < 1024 Then BF = ByteQuant & vbTab & vbTab & "Bytes " End If If 1024 <= ByteQuant And ByteQuant < 1048576 Then BF = CStr(ByteQuant / 1024) & vbTab & vbTab & "KiloBytes" End If If 1048576 <= ByteQuant And ByteQuant < 1073741824 Then BF = CStr(ByteQuant / 2 ^ 20) & vbTab & vbTab & "MegaBytes" End If If 1073741824 <= ByteQuant Then BF = CStr(ByteQuant / 2 ^ 30) & vbTab & vbTab & "GigaBytes" End If ByteFilter = BF End Function -- Marty Connelly Victoria, B.C. Canada From rjhjr at cox.net Mon Nov 10 21:50:29 2003 From: rjhjr at cox.net (Bob Hall) Date: Mon, 10 Nov 2003 22:50:29 -0500 Subject: [AccessD] RTrim In-Reply-To: References: Message-ID: <20031111035029.GA47446@kongemord.krig.net> On Tue, Nov 11, 2003 at 01:14:38PM +1100, connie.kamrowski at agric.nsw.gov.au wrote: > just a quick question > > > I have a database querie expression which is failing on a statement using > RTrim. If I remove RTrim it works fine. > > I am on an XP machine running access 97 does anyone know any issue with > RTrim and XP perhaps?? > > It works fine on a 98 machine with Access97. It would make it easier if you supplied the error message(s). Check if you are missing any references in Access on the XP machine. Functions will stop working if you lose the VBA reference, for example. Bob Hall From gustav at cactus.dk Tue Nov 11 03:09:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Nov 2003 10:09:09 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <1045175271.20031111100909@cactus.dk> Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is designed > to allow YOU (and me as a developer) to manage the presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a query. > Perhaps the form has a timer ticking that performs some process. Perhaps... > uh... I have no damned idea what else you might decide to do with a form > that is open but that a selected group or groups of users are not allowed to > see. I know that I personally use a hidden form to force a cleanup of my > framework when the database closes. Since a form cannot close without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer is > going to want to open a form that users can't see, I simply know that it > happens and I need to provide the developer with a means of enforcing this > security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? From paul.hartland at fsmail.net Tue Nov 11 03:37:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Nov 2003 10:37:01 +0100 (CET) Subject: [AccessD] Oleg - Where Clause in IIF query (Solved) Message-ID: <22129108.1068543421488.JavaMail.www@wwinf3002> Oleg, Have you solved this yet, if not try the code below (you need a double select statement to get it to work how you want) SELECT * FROM (SELECT Table3.amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ FROM Table3 ) WHERE JJ = "zzz"; Because the first query (in brackets) need to run/resolve before you can ask for a value from the alias column HH Paul Hartland Database Designer/Developer From gustav at cactus.dk Tue Nov 11 03:54:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Nov 2003 10:54:47 +0100 Subject: [AccessD] OT - Would you believe In-Reply-To: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> References: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Message-ID: <1647912687.20031111105447@cactus.dk> Hi Stuart > This win2k install has been pretty good ... It has been 18 months since I built > this one, and as a developer I do mess around with it a bit. .. What are you people doing? Mine has been running for 38 months ... /gustav From carbonnb at sympatico.ca Tue Nov 11 06:11:43 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue, 11 Nov 2003 07:11:43 -0500 Subject: [AccessD] OT - Would you believe In-Reply-To: <1647912687.20031111105447@cactus.dk> References: <009401c3a7f9$27999de0$5100a8c0@BITSNB02> Message-ID: <3FB08BAF.11962.56DE3@localhost> On 11 Nov 2003 at 10:54, Gustav Brock wrote: > Hi Stuart > > > This win2k install has been pretty good ... It has been 18 months > > since I built this one, and as a developer I do mess around with it > > a bit. .. > > What are you people doing? Mine has been running for 38 months ... > > /gustav Would you believe this discussion should be over on dba-tech? If you are not subscribed you can subscribe by going to: http://databaseadvisors.com/mailman/listinfo/dba-tech or by sending an e-mail to: dba-tech-requests at databaseadvisors.com with the body of: subscribe -- Bryan Carbonnell - carbonnb at sympatico.ca Man does not live by words alone, despite the fact that he sometimes has to eat them.^ [Adlai Stevenson (1965)] From jimdettman at earthlink.net Tue Nov 11 06:25:03 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 11 Nov 2003 07:25:03 -0500 Subject: [AccessD] Where claise in IIf query In-Reply-To: <16363.12.3.132.98.1068498435.squirrel@heck.bay9.com> Message-ID: Oleg, OK a couple of things. First, no you don't have to write it all out. Second, is [Amount] a numeric field? Your not treating it like one. Also, your iif's are looking for "2 " (two and a space). Bad idea to have embedded spaces. Third, you omitted the false conditions on the last IIF() in both field definitions (I put ???? in as the value). Last, if you find the syntax difficult, either use the query designer to build the SQL statement (which is what I do when a SQL statement gets long) or use a function to remove all the IIF()'s as already suggested. He is the correct SQL: SELECT Table1.Color, Table1.Furniture, Table1.Amount, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount]="3 ","055","????"))) AS HH, IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy","????")) AS JJ FROM Table1; 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 Oleg_123 at xuppa.com Sent: Monday, November 10, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where claise in IIf query if i just say 'WHERE JJ = "zzz" 'I get prompted to enter Parameter if i write WHERE (((IIf([HH]="060010 ","zzz"))="zzz")); i get prompted for HH Am I supposed to write it all out ? the origina l is kinda long, and I keep getting lost in perentasis and brackets SELECT Table3.color, Table3.furniture, Table3.amount, IIf([Amount]="3 ","055") AS Expr2, IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount]="3 ","055"))) AS HH, IIf([HH]="060010 ","zzz") AS JJ FROM Table3 > Sorry, read the question without looking at the SQL. The SQL you have > looks fine. What's the problem your having? > > 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 Jim Dettman > Sent: Monday, November 10, 2003 2:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Where claise in IIf query > > > > Define the IIF() expression as a column (field), then place criteria > on > that. > > 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 > Oleg_123 at xuppa.com > Sent: Monday, November 10, 2003 1:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Where claise in IIf query > > > Hey Group, I am not able to put conditions in queries whee I use IIF. > What is the alternate solution ? > This works --- > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3; > > however when Iput in WHERE > > SELECT Table3.amount, > IIf([Amount]="4 ","777",IIf([Amount]="2 ","060010",IIf([Amount="3 > ","055"))) AS HH, > IIf([HH]="060010 ","zzz",IIf([HH]="777 ","yyy")) AS JJ > FROM Table3 > WHERE JJ = "zzz" > > doesn't work. I tried inserting GROUP BY by all statements, and then > HAVING, but doesn't work either... > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Nov 11 06:51:36 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Nov 2003 13:51:36 +0100 (CET) Subject: [AccessD] Formatting/Sorting columns in Excel via Access Message-ID: <6352805.1068555096170.JavaMail.www@wwinf3002> From DElam at jenkens.com Tue Nov 11 08:51:08 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 11 Nov 2003 08:51:08 -0600 Subject: [AccessD] Another Hosed Database Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C6292A5@natexch.jenkens.com> There is my tried and true of dumping all of the database into a new blank database. That has fixed quite a lot of messed up databases for me. Debbie -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, November 10, 2003 1:50 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Another Hosed Database Dear List: A client of mine has a database which got corrupted. I told them to open the back end directly and they got the message which said database appears to be corrupted would you like to attempt repair, which they did and it appeared to go OK. However, apparently all is not well, because when I try to add a record to a detail file - bound form, subform on a tab - the command DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified record'. When I run the query that is the record source for the subform, it does indeed not allow additions. When I do the same thing on an older copy of their database everything works OK. So I know it's not in the front end. Can this db be saved? MTIA, Rocky Smolin Beach Access Software P.S. Yes they have a backup but no it's not recent. Apparently the person responsible for backup up...didn't. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From bchacc at san.rr.com Tue Nov 11 09:22:32 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Nov 2003 07:22:32 -0800 Subject: [AccessD] Another Hosed Database References: <7B1961ED924D1A459E378C9B1BB22B4C6292A5@natexch.jenkens.com> Message-ID: <006f01c3a867$a0a1c500$6501a8c0@HAL9002> I've used that with some success as well. Especially where a form is corrupted. But in this particular case, it failed. Rocky ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 11, 2003 6:51 AM Subject: RE: [AccessD] Another Hosed Database > There is my tried and true of dumping all of the database into a new blank > database. That has fixed quite a lot of messed up databases for me. > > Debbie > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, November 10, 2003 1:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Another Hosed Database > > > Dear List: > > A client of mine has a database which got corrupted. I told them to open > the back end directly and they got the message which said database appears > to be corrupted would you like to attempt repair, which they did and it > appeared to go OK. > > However, apparently all is not well, because when I try to add a record to a > detail file - bound form, subform on a tab - the command DoCmd.GoToRecord > ,,acNewRec blows up with 'Can't go to specified record'. > > When I run the query that is the record source for the subform, it does > indeed not allow additions. > > When I do the same thing on an older copy of their database everything works > OK. So I know it's not in the front end. > > Can this db be saved? > > MTIA, > > Rocky Smolin > Beach Access Software > > P.S. Yes they have a backup but no it's not recent. Apparently the person > responsible for backup up...didn't. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Tue Nov 11 09:48:15 2003 From: john at winhaven.net (John Bartow) Date: Tue, 11 Nov 2003 09:48:15 -0600 Subject: [AccessD] Would you believe In-Reply-To: Message-ID: JC Sucks, doesn't it? A right click on "My Documents" in W2k will let you move it with hacking. Then move the main .pst file to that location, open Outlook, it will ask where it went, browse to locate it and as Jerry Pournelle would say: "Bob's your uncle". You might also want to move all of your other Outlook settings files there. If you have any other .pst files it is best to close them in Outlook, move them and then reopen them from there. I like the idea of "My Documents" being a place where all of my personal stuff goes, makes backups nice and easy. Back when I was a SysAdmin I used to do the same thing for all the users. I couldn't of course make eveything know about my special folder but you'd think MS would. It would be nice if everything just referred to the registry setting and worked without a bunch of dinking around so when I moved it to some comprehensible file path that I didn't have to spend an hour adjusting everything! I'll admit its gotten better since its inception, but it has a ways to go yet. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Monday, November 10, 2003 6:26 PM > To: AccessD > Subject: [AccessD] Would you believe > > > 65000 files in 7000 folders just in jcolby directory of documents and > settings. Among them the PST file for Outlook. What other > buried treasures > are in there that should be in My Documents? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Tue Nov 11 09:51:48 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 11 Nov 2003 10:51:48 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <1045175271.20031111100909@cactus.dk> Message-ID: Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is designed > to allow YOU (and me as a developer) to manage the presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a query. > Perhaps the form has a timer ticking that performs some process. Perhaps... > uh... I have no damned idea what else you might decide to do with a form > that is open but that a selected group or groups of users are not allowed to > see. I know that I personally use a hidden form to force a cleanup of my > framework when the database closes. Since a form cannot close without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer is > going to want to open a form that users can't see, I simply know that it > happens and I need to provide the developer with a means of enforcing this > security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhla at earthlink.net Tue Nov 11 09:56:51 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 11 Nov 2003 07:56:51 -0800 Subject: [AccessD] Another Hosed Database In-Reply-To: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> Message-ID: <001801c3a86c$6ce2e7d0$fda8a8c0@delllaptop> Can you export t Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually > if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not > in the query (which is in the front end) because when I restore an > older copy of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child > records (agreement details) in the detail table. FK in those child > records points to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points > to other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt repair, > > which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it > > does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhla at earthlink.net Tue Nov 11 09:57:54 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 11 Nov 2003 07:57:54 -0800 Subject: [AccessD] Another Hosed Database In-Reply-To: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> Message-ID: <001901c3a86c$9525c280$fda8a8c0@delllaptop> Can you export the BE into a new a new db. That has saved me once or t Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually > if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not > in the query (which is in the front end) because when I restore an > older copy of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child > records (agreement details) in the detail table. FK in those child > records points to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points > to other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt repair, > > which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it > > does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhla at earthlink.net Tue Nov 11 09:59:50 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 11 Nov 2003 07:59:50 -0800 Subject: [AccessD] Another Hosed Database Trying again. In-Reply-To: <00db01c3a7e0$b991f850$6501a8c0@HAL9002> Message-ID: <001a01c3a86c$da157700$fda8a8c0@delllaptop> Can you export the tables into a new BE. Try one table at a time to help you identify where the problem is. It has helped me once or twice. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, November 10, 2003 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another Hosed Database "Maybe they got that message and didn't tell you..." I suppose that could possibly happen. :) Compact didn't help. I even put it through the decompile even though there was no code, just a shot in the dark.. no soap. They were able to print out all of the data entered since their last backup, and restore that backup and are now going to re-enter the data, and hopefully they'll be a little more rigorous in the future about making and verifying backups. Rocky ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 10, 2003 1:38 PM Subject: RE: [AccessD] Another Hosed Database > Rocky, can you compact the db? Maybe it has corrupted records. Usually > if its bad enough, you will get an error massage stating "you and another user are attempting to view the same record..." and leave you with an uncompacted mdb and a new db1.mdb. Maybe they got that message and didn't tell you when they repaired the mdb? > > David > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > Charlotte: > > Hey - this is the kind of client that pays the rent. Anyway, it's not > in the query (which is in the front end) because when I restore an > older copy of their BE db the FE works just fine. > > Since my first post I have determined that there is a parent record > (agreement header) missing in the header table which has 4 child > records (agreement details) in the detail table. FK in those child > records points to a non-existent PK in the parent table). > > So I think the repair didn't. But on the surface, the orphan child records > alone should not product the result they're getting. OTOH, it points > to other possible problems in the BE. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 10, 2003 12:02 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, > > > > You've GOT to get some different clients! LOL > > > > What version of Access and have you tried building a new query? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software > > [mailto:bchacc at san.rr.com] > > Sent: Monday, November 10, 2003 11:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Another Hosed Database > > > > > > Dear List: > > > > A client of mine has a database which got corrupted. I told them to > > open the back end directly and they got the message which said > > database appears to be corrupted would you like to attempt repair, > > which they did and it appeared to go OK. > > > > However, apparently all is not well, because when I try to add a > > record to a detail file - bound form, subform on a tab - the command > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > record'. > > > > When I run the query that is the record source for the subform, it > > does indeed not allow additions. > > > > When I do the same thing on an older copy of their database > > everything works OK. So I know it's not in the front end. > > > > Can this db be saved? > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > person responsible for backup up...didn't. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Tue Nov 11 10:06:07 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 11 Nov 2003 10:06:07 -0600 Subject: [AccessD] Another Hosed Database Trying again. In-Reply-To: <001a01c3a86c$da157700$fda8a8c0@delllaptop> Message-ID: Here's a trick that helps if your corruption rests in only selected records (which I've experienced). Open the suspected table, and sort the first field, first in ascending order, then in descending order. Bad records often show up with garbled data displays at the top or bottom of sorted lists. Manually delete the offending records. Repeat for each field. Can cure the whole table if corruption is isolated to records. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 From cfoust at infostatsystems.com Tue Nov 11 10:15:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Nov 2003 08:15:49 -0800 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: Am I missing something, John? If you're using a forms class, wouldn't there be a test in the Form_Open event of the class to see whether the user is allowed to view the form? Or are you talking about users managing to find their way into forms already opened hidden? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 11, 2003 7:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled >or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is > designed to allow YOU (and me as a developer) to manage the > presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a > query. Perhaps the form has a timer ticking that performs some > process. Perhaps... > uh... I have no damned idea what else you might decide to do with a > form that is open but that a selected group or groups of users are not > allowed to > see. I know that I personally use a hidden form to force a cleanup of > my framework when the database closes. Since a form cannot close > without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer > is going to want to open a form that users can't see, I simply know > that it happens and I need to provide the developer with a means of > enforcing this security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Nov 11 10:16:15 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Nov 2003 08:16:15 -0800 Subject: [AccessD] Another Hosed Database Trying again. References: <001a01c3a86c$da157700$fda8a8c0@delllaptop> Message-ID: <008e01c3a86f$220fe890$6501a8c0@HAL9002> Tried. No soap. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 11, 2003 7:59 AM Subject: RE: [AccessD] Another Hosed Database Trying again. > > Can you export the tables into a new BE. Try one table at a time to help > you identify where the problem is. > > It has helped me once or twice. > > Joe Hecht > Los Angeles CA > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, November 10, 2003 3:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Another Hosed Database > > > "Maybe they got that message and didn't tell you..." > > I suppose that could possibly happen. :) > > Compact didn't help. I even put it through the decompile even though > there was no code, just a shot in the dark.. no soap. > > They were able to print out all of the data entered since their last > backup, and restore that backup and are now going to re-enter the data, > and hopefully they'll be a little more rigorous in the future about > making and verifying backups. > > Rocky > > ----- Original Message ----- > From: "David McAfee" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 10, 2003 1:38 PM > Subject: RE: [AccessD] Another Hosed Database > > > > Rocky, can you compact the db? Maybe it has corrupted records. Usually > > > if > its bad enough, you will get an error massage stating "you and another > user are attempting to view the same record..." and leave you with an > uncompacted mdb and a new db1.mdb. Maybe they got that message and > didn't tell you when they repaired the mdb? > > > > David > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > > > - Beach Access Software > > Sent: Monday, November 10, 2003 12:34 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Another Hosed Database > > > > > > Charlotte: > > > > Hey - this is the kind of client that pays the rent. Anyway, it's not > > > in the query (which is in the front end) because when I restore an > > older copy of their BE db the FE works just fine. > > > > Since my first post I have determined that there is a parent record > > (agreement header) missing in the header table which has 4 child > > records (agreement details) in the detail table. FK in those child > > records points to a non-existent PK in the parent table). > > > > So I think the repair didn't. But on the surface, the orphan child > records > > alone should not product the result they're getting. OTOH, it points > > to other possible problems in the BE. > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, November 10, 2003 12:02 PM > > Subject: RE: [AccessD] Another Hosed Database > > > > > > > Rocky, > > > > > > You've GOT to get some different clients! LOL > > > > > > What version of Access and have you tried building a new query? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [mailto:bchacc at san.rr.com] > > > Sent: Monday, November 10, 2003 11:50 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Another Hosed Database > > > > > > > > > Dear List: > > > > > > A client of mine has a database which got corrupted. I told them to > > > > open the back end directly and they got the message which said > > > database appears to be corrupted would you like to attempt repair, > > > which they did and it appeared to go OK. > > > > > > However, apparently all is not well, because when I try to add a > > > record to a detail file - bound form, subform on a tab - the command > > > > DoCmd.GoToRecord ,,acNewRec blows up with 'Can't go to specified > > > record'. > > > > > > When I run the query that is the record source for the subform, it > > > does indeed not allow additions. > > > > > > When I do the same thing on an older copy of their database > > > everything works OK. So I know it's not in the front end. > > > > > > Can this db be saved? > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > P.S. Yes they have a backup but no it's not recent. Apparently the > > > person responsible for backup up...didn't. > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 11 10:53:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Nov 2003 17:53:41 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <11233046458.20031111175341@cactus.dk> Hi John Well, we must live in different worlds. Most of our users are in runtime environments and even those with full versions of Access don't fool around with the apps - and they indeed "don't just open forms" - they use the UI. If wild users is the developer's concern, a LWS tool is not an option - his/hers only way to go is full Access security - if not applied, these users will, of course, find your LWS tables. Also, I've used the table wizard once - and that was it. The only wizards I've found a use for are that for creating a simple report and that for creating a group box. The Access switch board and the table structure behind it is terrible; I've found it just as quick to design a main form for that purpose and a single table or two holding the user level security. I'm not saying there isn't a need for a LWS system, just that it will not fully block the scenarios you draw which means you could pay less attention to those extremes. How many users know a form can be hidden? Not to say how to locate a hidden form and unhide it? Why should they? Most users have work to do. /gustav > Gustav, >>I mean - forms don't just open > Of course forms "just open". What do you think the switchboard does? It > "just opens" forms. And plenty of developers use the switchboard. >>and users don't unhide hidden forms > Of course users unhide forms. Users poke and pry, and go where they aren't > supposed to, and find all the chinks in your armor. If it's not supposed to > be done, and you have locked that sucker down tight, a user WILL get in > there! >>he/she would need to either make the button not visible or not enabled or > pop up a message telling that the user has been revoked rights to view the > details; this I guess would be beyond the goal of your LWS tool. > No, in fact that is exactly the goal of my tool. It allows you to create up > to 31 groups and unlimited users. You then add users to groups, ala Windows > or SQL Server. You then tell LWS "These groups can SEE these forms". > "These groups can see this control on this form". etc. > The flip side of this is that any groups NOT allowed to SEE those forms, by > definition CAN'T SEE those forms. And it is the job of LWS to guarantee > that those users CAN'T see forms they are not supposed to see. Thus my > email - how do I GUARANTEE that a form that the user is not supposed to see > remains invisible? > The point here is that every one who has responded so far has simply taken > the point of view that "the developer will guarantee" or "users won't" or > "of course the developer will get rid of menus" etc. > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often quite > by accident. And Of course, developers consistently, year after year fail > to remove menus. In fact clients consistently, year after year DEMAND that > menus remain. It is not realistic to start from the perfect world and > assume none of these things happen. > I have a simple question. How many of us know how to build a table. The > first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to build > a table. Or more correctly I can figure it out using DAO, and I can figure > it out using SQL but what do I do under normal circumstances? Use a WIZARD. > The wizard knows how to build a table, I know how to use a wizard to build a > table. Same with queries. > I am attempting to design a system (a wizard) that a developer can use to > set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables are > initialized, there is a "wizard" that allows the developer to select forms > and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever > the developer decides is stored in a pair of tables (forms and controls). > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down such > that only specific groups can See/Enter/Edit. > That is LWS. The group / user login stuff is working. The FORM security is > working (minus a few inconsistencies in being able to hide the forms). The > control security is not finished yet. My post to this group was an attempt > to figure out how to allow LWS to consistently and reliably control the > VISIBILITY of a form. Access does not make it easy, but I have had a couple > of good suggestions that will help me solve this problem. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > I think Ken has a point here and that you maybe are overcomplicating > the task. > I mean - forms don't just open, and users don't unhide hidden forms; > how should they be able to do that when the developer has designed > menus and toolbars for his/her app? > Also, applying any form of security, light weight or not, the > developer will have to walk through the app from a to z and arrange > for modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess > would be beyond the goal of your LWS tool. Leaving the button as it is > and the user presses it and the details form just opens hidden is bad > UI design as the user has no chance for knowing what is going on other > than "it doesn't work". From KIsmert at TexasSystems.com Tue Nov 11 12:21:01 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Tue, 11 Nov 2003 12:21:01 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <11233046458.20031111175341@cactus.dk> Message-ID: <003801c3a880$9000aef0$2a3ca8c0@TEXASSYSTEMS.COM> John, I guess my angle is cost vs. benefit. It seems to me that the effort required to implement this feature in _precisely_ this way outweighs the value it gives to your target developer audience, and their users. I can only speak for myself, but I suspect most developers would be OK with a slight redefinition: Open = Open permission AND View permission for that form. Maybe you could add a LWS form class called 'Hidden', which could only be opened in code with Admin permissions, but whose visibility is not manipulated by LWS. Or, you could turn the problem on its side, and ask whether View permissions are really necessary: maybe if you can Open the form, it has whatever visibility is granted by the developer. If you can't open it, visibility doesn't matter. If this is acceptable, it would simplify using, coding and supporting the app. One of the hardest tasks in development is determining the boundaries of your project. It has to do some needed thing in a slick enough way to attract customers. But, it can't be so intrusive that it needlessly hinders, either. Getting that balance is tough. That's why its good to get input from others, so you can better determine where to make compromises, and where to stand firm. -Ken -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, November 11, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John Well, we must live in different worlds. Most of our users are in runtime environments and even those with full versions of Access don't fool around with the apps - and they indeed "don't just open forms" - they use the UI. If wild users is the developer's concern, a LWS tool is not an option - his/hers only way to go is full Access security - if not applied, these users will, of course, find your LWS tables. Also, I've used the table wizard once - and that was it. The only wizards I've found a use for are that for creating a simple report and that for creating a group box. The Access switch board and the table structure behind it is terrible; I've found it just as quick to design a main form for that purpose and a single table or two holding the user level security. I'm not saying there isn't a need for a LWS system, just that it will not fully block the scenarios you draw which means you could pay less attention to those extremes. How many users know a form can be hidden? Not to say how to locate a hidden form and unhide it? Why should they? Most users have work to do. /gustav > Gustav, >>I mean - forms don't just open > Of course forms "just open". What do you think the switchboard does? It > "just opens" forms. And plenty of developers use the switchboard. >>and users don't unhide hidden forms > Of course users unhide forms. Users poke and pry, and go where they aren't > supposed to, and find all the chinks in your armor. If it's not supposed to > be done, and you have locked that sucker down tight, a user WILL get in > there! >>he/she would need to either make the button not visible or not enabled or > pop up a message telling that the user has been revoked rights to view the > details; this I guess would be beyond the goal of your LWS tool. > No, in fact that is exactly the goal of my tool. It allows you to create up > to 31 groups and unlimited users. You then add users to groups, ala Windows > or SQL Server. You then tell LWS "These groups can SEE these forms". > "These groups can see this control on this form". etc. > The flip side of this is that any groups NOT allowed to SEE those forms, by > definition CAN'T SEE those forms. And it is the job of LWS to guarantee > that those users CAN'T see forms they are not supposed to see. Thus my > email - how do I GUARANTEE that a form that the user is not supposed to see > remains invisible? > The point here is that every one who has responded so far has simply taken > the point of view that "the developer will guarantee" or "users won't" or > "of course the developer will get rid of menus" etc. > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often quite > by accident. And Of course, developers consistently, year after year fail > to remove menus. In fact clients consistently, year after year DEMAND that > menus remain. It is not realistic to start from the perfect world and > assume none of these things happen. > I have a simple question. How many of us know how to build a table. The > first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to build > a table. Or more correctly I can figure it out using DAO, and I can figure > it out using SQL but what do I do under normal circumstances? Use a WIZARD. > The wizard knows how to build a table, I know how to use a wizard to build a > table. Same with queries. > I am attempting to design a system (a wizard) that a developer can use to > set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables are > initialized, there is a "wizard" that allows the developer to select forms > and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever > the developer decides is stored in a pair of tables (forms and controls). > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down such > that only specific groups can See/Enter/Edit. > That is LWS. The group / user login stuff is working. The FORM security is > working (minus a few inconsistencies in being able to hide the forms). The > control security is not finished yet. My post to this group was an attempt > to figure out how to allow LWS to consistently and reliably control the > VISIBILITY of a form. Access does not make it easy, but I have had a couple > of good suggestions that will help me solve this problem. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > I think Ken has a point here and that you maybe are overcomplicating > the task. > I mean - forms don't just open, and users don't unhide hidden forms; > how should they be able to do that when the developer has designed > menus and toolbars for his/her app? > Also, applying any form of security, light weight or not, the > developer will have to walk through the app from a to z and arrange > for modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess > would be beyond the goal of your LWS tool. Leaving the button as it is > and the user presses it and the details form just opens hidden is bad > UI design as the user has no chance for knowing what is going on other > than "it doesn't work". From conny at qad.se Tue Nov 11 16:22:25 2003 From: conny at qad.se (Conny Johansson) Date: Tue, 11 Nov 2003 23:22:25 +0100 Subject: [AccessD] Sample textfile Message-ID: <20031111222336.EE7C22B11B@boxmail1.box.se> Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. From accessd at shaw.ca Tue Nov 11 16:37:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 11 Nov 2003 14:37:19 -0800 Subject: [AccessD] Sample textfile In-Reply-To: <20031111222336.EE7C22B11B@boxmail1.box.se> Message-ID: Hi Conny: You could check out the archive at Drews site. It can be reached through http://www.databaseadvisors.com/archive/archive.htm or directly http://wolfwares.com/AccessD/default.asp HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Conny Johansson Sent: Tuesday, November 11, 2003 2:22 PM To: 'Access Developers list' Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 11 16:40:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 11 Nov 2003 16:40:54 -0600 Subject: [AccessD] Sample textfile Message-ID: <2F8793082E00D4119A1700B0D0216BF80222753D@main2.marlow.com> In case no one has that, the archives are at http://wolfwares.com/AccessD . Drew -----Original Message----- From: Conny Johansson [mailto:conny at qad.se] Sent: Tuesday, November 11, 2003 4:22 PM To: 'Access Developers list' Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Tue Nov 11 16:48:56 2003 From: conny at qad.se (Conny Johansson) Date: Tue, 11 Nov 2003 23:48:56 +0100 Subject: [AccessD] Sample textfile In-Reply-To: Message-ID: <20031111225007.EE3502B11B@boxmail1.box.se> I tried searching the arhcives on Drews site but with no success. That's my first choice /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: den 11 november 2003 23:37 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile Hi Conny: You could check out the archive at Drews site. It can be reached through http://www.databaseadvisors.com/archive/archive.htm or directly http://wolfwares.com/AccessD/default.asp HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Conny Johansson Sent: Tuesday, November 11, 2003 2:22 PM To: 'Access Developers list' Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:48:56 avast! is copyright (c) 2000-2003 ALWIL Software. From davesharpe2 at cox.net Tue Nov 11 18:09:52 2003 From: davesharpe2 at cox.net (Dave Sharpe) Date: Tue, 11 Nov 2003 19:09:52 -0500 Subject: [AccessD] Sample textfile References: <20031111222336.EE7C22B11B@boxmail1.box.se> Message-ID: <08e101c3a8b1$4bd53e90$dd2f0a44@bcsext6137> Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjewett at bayplace.com Tue Nov 11 20:34:31 2003 From: pjewett at bayplace.com (Phil Jewett) Date: Tue, 11 Nov 2003 18:34:31 -0800 Subject: [AccessD] Access 2002 insists on SQL Server trusted connection Message-ID: When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! See http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 for MS's info. Any help on this? Thanks, Phil Jewett From accessd at shaw.ca Tue Nov 11 23:29:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 11 Nov 2003 21:29:09 -0800 Subject: [AccessD] Access 2002 insists on SQL Server trusted connection In-Reply-To: Message-ID: Hi Phil: The FE, in this case A2K has no bearing on whether the connection is established. The issues are with either the ODBC setup, driver or how the SQL server is setup. If the server is setup to access a 'Trusted' or NT/2000/2003 authentication, the connection will be as follows... code >>> Public Function GetConnected() as boolean Public mobjConn As ADODB.Connection Public gstrConnection As String On Error GoTo Err_NotConnected ' Initialize fail GetConnected = False ' Connecting to the SQL (7/2000) server gstrConnection = "Provider=SQLOLEDB; _ Initial Catalog=MyDatabaseName; _ Data Source=MyServer; _ Integrated Security=SSPI" 'Use the M$ security ' Test connection string Set mobjConn = New ADODB.Connection mobjConn.ConnectionString = gstrConnection mobjConn.Open ' This line succeeds or fails ' Success... GetConnected = True MsgBox "You are connected " Exit_GetConnected: Exit Sub Err_NotConnected: MsgBox "You are not connected " Resume Exit_GetConnected End Function >>> code Something simple like above will test the connection. It works for any version of Access. Note: The Access reference to the MS ADO has to be set first for this to run. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Phil Jewett Sent: Tuesday, November 11, 2003 6:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 insists on SQL Server trusted connection When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! See http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 for MS's info. Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Wed Nov 12 00:34:30 2003 From: conny at qad.se (Conny Johansson) Date: Wed, 12 Nov 2003 07:34:30 +0100 Subject: [AccessD] Sample textfile In-Reply-To: <08e101c3a8b1$4bd53e90$dd2f0a44@bcsext6137> Message-ID: <20031112063545.E62112B11B@boxmail1.box.se> Thanks a lot Dave Now, if someone could provide a link to a >300 000 persons textfile as well, then I'm all set. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dave Sharpe Sent: den 12 november 2003 01:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sample textfile Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 07:34:30 avast! is copyright (c) 2000-2003 ALWIL Software. From stuart at lexacorp.com.pg Wed Nov 12 02:38:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Nov 2003 18:38:12 +1000 Subject: [AccessD] Sample textfile In-Reply-To: <20031112063545.E62112B11B@boxmail1.box.se> References: <08e101c3a8b1$4bd53e90$dd2f0a44@bcsext6137> Message-ID: <3FB27E14.8532.3B7C2@localhost> On 12 Nov 2003 at 7:34, Conny Johansson wrote: > Thanks a lot Dave > Now, if someone could provide a link to a >300 000 persons textfile as > well, then I'm all set. > /Conny > What fields do you want in it? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From andrew.haslett at ilc.gov.au Wed Nov 12 02:51:46 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Wed, 12 Nov 2003 19:21:46 +1030 Subject: [AccessD] Access 2002 insists on SQL Server trusted connectio n Message-ID: Are you sure the SQL Server itself isn't set to 'Windows Mode'? If so it needs to be set to 'Mixed Mode' to accept SQL authentication.. Cheers, Andrew -----Original Message----- From: Phil Jewett [mailto:pjewett at bayplace.com] Sent: Wednesday, 12 November 2003 1:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 insists on SQL Server trusted connection When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! See http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 for MS's info. Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From Erwin.Craps at ithelps.be Wed Nov 12 03:06:04 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 12 Nov 2003 10:06:04 +0100 Subject: [AccessD] Would you believe Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DC7@stekelbes.ithelps.local> Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Nov 12 04:26:04 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 12 Nov 2003 05:26:04 -0500 Subject: [AccessD] Would you believe In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DC7@stekelbes.ithelps.local> Message-ID: <3FB1C46C.21787.1609FA@localhost> On 12 Nov 2003 at 10:06, Erwin Craps wrote: > BTW, should this thread not be on the DBA-TECH list? Yep. It should. -- Bryan Carbonnell - carbonnb at sympatico.ca Stupid questions are better than stupid mistakes. - Japanese proverb From andy at minstersystems.co.uk Wed Nov 12 05:11:10 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 12 Nov 2003 11:11:10 -0000 Subject: [AccessD] Would you believe In-Reply-To: <3FB1C46C.21787.1609FA@localhost> Message-ID: <008401c3a90d$add3e540$b274d0d5@minster33c3r25> And Bryan has already asked once. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 12 November 2003 10:26 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Would you believe > > > On 12 Nov 2003 at 10:06, Erwin Craps wrote: > > > BTW, should this thread not be on the DBA-TECH list? > > Yep. It should. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Stupid questions are better than stupid mistakes. - Japanese proverb > > > _______________________________________________ > 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 Wed Nov 12 08:20:33 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 12 Nov 2003 08:20:33 -0600 Subject: [AccessD] Characters in Help Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C909@cntexchange.pgdp.usec.com> I was searching UnHelp for InStr in A2K & this is what shows, does anyone else show Help this way - or can read this ? Virginia _____ Differences in String Function Operations A string stored in a byte Array appears as follows: Array Dim Var() As Byte Var = " " ' Unicode Var = StrConv(" ", vbFromUnicode) ' ANSI Function AnsiStrConv(StrArg, flag) nsiStrConv = StrConv(StrArg, flag) End Function ' LenB ANSI From michael.mattys at adelphia.net Wed Nov 12 08:31:27 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 12 Nov 2003 09:31:27 -0500 Subject: [AccessD] Characters in Help References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C909@cntexchange.pgdp.usec.com> Message-ID: <019b01c3a929$ac1f94d0$6401a8c0@default> Hey, that's funny! Mine shows up like this: ' ANSI dat = StrConv(dat, vbFromUnicode) . . . ' . ' . . ' Unicode dat = StrConv(dat, vbUnicode) Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Wednesday, November 12, 2003 9:20 AM Subject: [AccessD] Characters in Help > I was searching UnHelp for InStr in A2K & this is what shows, does anyone > else show Help this way - or can read this ? > > Virginia > > > _____ > > Differences in String Function Operations > > A string stored in a byte Array appears as follows: > > > ::/html/images/fe143.bmp> > ::/html/images/fe144.bmp> > ::/html/images/fe145.bmp> Array > ::/html/images/fe165.bmp> > ::/html/images/fe155.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe157.bmp> > ::/html/images/fe158.bmp> > ::/html/images/fe150.bmp> > ::/html/images/fe184.bmp> > ::/html/images/fe185.bmp> > ::/html/images/fe095.bmp> > ::/html/images/fe089.bmp> > ::/html/images/fe186.bmp> > ::/html/images/fe187.bmp> > ::/html/images/fe090.bmp> > ::/html/images/fe188.bmp> > ::/html/images/fe019.bmp> > ::/html/images/fe229.bmp> > ::/html/images/fe230.bmp> > ::/html/images/fe165.bmp> > ::/html/images/fe231.bmp> > ::/html/images/fe093.bmp> > ::/html/images/fe095.bmp> > ::/html/images/fe232.bmp> > > Dim Var() As Byte > > Var = " > ::/html/images/fe189.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe019.bmp> > ::/html/images/fe191.bmp> > ::/html/images/fe192.bmp> > ::/html/images/fe193.bmp> " ' Unicode > ::/html/images/fe163.bmp> > ::/html/images/fe164.bmp> > ::/html/images/fe087.bmp> > ::/html/images/fe184.bmp> > ::/html/images/fe185.bmp> > > Var = StrConv(" > ::/html/images/fe189.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe019.bmp> > ::/html/images/fe191.bmp> > ::/html/images/fe192.bmp> > ::/html/images/fe193.bmp> ", vbFromUnicode) ' ANSI > ::/html/images/fe163.bmp> > ::/html/images/fe164.bmp> > ::/html/images/fe087.bmp> > ::/html/images/fe184.bmp> > ::/html/images/fe185.bmp> > > > > Function AnsiStrConv(StrArg, flag) > > nsiStrConv = StrConv(StrArg, flag) > > End Function > > > > ' LenB > ::/html/images/fe087.bmp> > ::/html/images/fe175.bmp> > ::/html/images/fe176.bmp> > ::/html/images/fe095.bmp> > ::/html/images/fe089.bmp> > ::/html/images/fe199.bmp> > ::/html/images/fe165.bmp> ANSI > ::/html/images/fe155.bmp> > ::/html/images/fe156.bmp> > ::/html/images/fe157.bmp> > ::/html/images/fe158.bmp> > ::/html/images/fe165.bmp> > ::/html/images/fe160.bmp> > ::/html/images/fe166.bmp> > ::/html/images/fe231.bmp> > ::/html/images/fe233.bmp> > ::/html/images/fe175.bmp> > ::/html/images/fe176.bmp> > ::/html/images/fe177.bmp> > ::/html/images/fe178.bmp> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.mattys at adelphia.net Wed Nov 12 08:35:19 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 12 Nov 2003 09:35:19 -0500 Subject: [AccessD] Characters in Help References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C909@cntexchange.pgdp.usec.com> <019b01c3a929$ac1f94d0$6401a8c0@default> Message-ID: <01ae01c3a92a$33464670$6401a8c0@default> Well, anyway it was all in Japanese or Chinese or something. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 12, 2003 9:31 AM Subject: Re: [AccessD] Characters in Help > Hey, that's funny! > Mine shows up like this: > > ' ANSI > dat = StrConv(dat, vbFromUnicode) > . > . > . ' > . ' > . > . > ' Unicode > dat = StrConv(dat, vbUnicode) > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Hollis,Virginia" > To: > Sent: Wednesday, November 12, 2003 9:20 AM > Subject: [AccessD] Characters in Help > > > > I was searching UnHelp for InStr in A2K & this is what shows, does anyone > > else show Help this way - or can read this ? > > > > Virginia > > > > > > _____ > > > > Differences in String Function Operations > > > > A string stored in a byte Array appears as follows: > > > > > > > > ::/html/images/fe143.bmp> > > > > ::/html/images/fe144.bmp> > > > > ::/html/images/fe145.bmp> Array > > > > ::/html/images/fe165.bmp> > > > > ::/html/images/fe155.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe157.bmp> > > > > ::/html/images/fe158.bmp> > > > > ::/html/images/fe150.bmp> > > > > ::/html/images/fe184.bmp> > > > > ::/html/images/fe185.bmp> > > > > ::/html/images/fe095.bmp> > > > > ::/html/images/fe089.bmp> > > > > ::/html/images/fe186.bmp> > > > > ::/html/images/fe187.bmp> > > > > ::/html/images/fe090.bmp> > > > > ::/html/images/fe188.bmp> > > > > ::/html/images/fe019.bmp> > > > > ::/html/images/fe229.bmp> > > > > ::/html/images/fe230.bmp> > > > > ::/html/images/fe165.bmp> > > > > ::/html/images/fe231.bmp> > > > > ::/html/images/fe093.bmp> > > > > ::/html/images/fe095.bmp> > > > > ::/html/images/fe232.bmp> > > > > Dim Var() As Byte > > > > Var = " > > > > ::/html/images/fe189.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe019.bmp> > > > > ::/html/images/fe191.bmp> > > > > ::/html/images/fe192.bmp> > > > > ::/html/images/fe193.bmp> " ' Unicode > > > > ::/html/images/fe163.bmp> > > > > ::/html/images/fe164.bmp> > > > > ::/html/images/fe087.bmp> > > > > ::/html/images/fe184.bmp> > > > > ::/html/images/fe185.bmp> > > > > Var = StrConv(" > > > > ::/html/images/fe189.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe019.bmp> > > > > ::/html/images/fe191.bmp> > > > > ::/html/images/fe192.bmp> > > > > ::/html/images/fe193.bmp> ", vbFromUnicode) ' ANSI > > > > ::/html/images/fe163.bmp> > > > > ::/html/images/fe164.bmp> > > > > ::/html/images/fe087.bmp> > > > > ::/html/images/fe184.bmp> > > > > ::/html/images/fe185.bmp> > > > > > > > > Function AnsiStrConv(StrArg, flag) > > > > nsiStrConv = StrConv(StrArg, flag) > > > > End Function > > > > > > > > ' LenB > > > > ::/html/images/fe087.bmp> > > > > ::/html/images/fe175.bmp> > > > > ::/html/images/fe176.bmp> > > > > ::/html/images/fe095.bmp> > > > > ::/html/images/fe089.bmp> > > > > ::/html/images/fe199.bmp> > > > > ::/html/images/fe165.bmp> ANSI > > > > ::/html/images/fe155.bmp> > > > > ::/html/images/fe156.bmp> > > > > ::/html/images/fe157.bmp> > > > > ::/html/images/fe158.bmp> > > > > ::/html/images/fe165.bmp> > > > > ::/html/images/fe160.bmp> > > > > ::/html/images/fe166.bmp> > > > > ::/html/images/fe231.bmp> > > > > ::/html/images/fe233.bmp> > > > > ::/html/images/fe175.bmp> > > > > ::/html/images/fe176.bmp> > > > > ::/html/images/fe177.bmp> > > > > ::/html/images/fe178.bmp> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 12 08:39:16 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 12 Nov 2003 08:39:16 -0600 Subject: [AccessD] Characters in Help Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C90B@cntexchange.pgdp.usec.com> Well, when I copied & pasted this into the email, it did not show all those lines, it showed characters that looked like Chinese writings. Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday, November 12, 2003 8:21 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Characters in Help I was searching UnHelp for InStr in A2K & this is what shows, does anyone else show Help this way - or can read this ? Virginia _____ Differences in String Function Operations A string stored in a byte Array appears as follows: Array From Erwin.Craps at ithelps.be Wed Nov 12 08:46:27 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 12 Nov 2003 15:46:27 +0100 Subject: [AccessD] Characters in Help Message-ID: <46B976F2B698FF46A4FE7636509B22DF7229@stekelbes.ithelps.local> Hi You probably have a corupted acmain9.chm (compressed help) file. Replace the file from a backup or another computer. Or in the worst case delete the file. Uninstall the help part of access (if this is posible) and reinstall. If the file is back should be ok. Or a full Office repair is also an option after deleting the file. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, November 12, 2003 3:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Characters in Help Well, when I copied & pasted this into the email, it did not show all those lines, it showed characters that looked like Chinese writings. Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday, November 12, 2003 8:21 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Characters in Help I was searching UnHelp for InStr in A2K & this is what shows, does anyone else show Help this way - or can read this ? Virginia _____ Differences in String Function Operations A string stored in a byte Array appears as follows: Array _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 08:53:17 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 09:53:17 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: Message-ID: What you're missing is that THIS IS A WIZARD FOR YOU!!! I have no clue what YOU are doing so I have to desing it as if YOU don't have a clue. John W. Colby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, November 11, 2003 11:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Am I missing something, John? If you're using a forms class, wouldn't there be a test in the Form_Open event of the class to see whether the user is allowed to view the form? Or are you talking about users managing to find their way into forms already opened hidden? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 11, 2003 7:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled >or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is > designed to allow YOU (and me as a developer) to manage the > presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a > query. Perhaps the form has a timer ticking that performs some > process. Perhaps... > uh... I have no damned idea what else you might decide to do with a > form that is open but that a selected group or groups of users are not > allowed to > see. I know that I personally use a hidden form to force a cleanup of > my framework when the database closes. Since a form cannot close > without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer > is going to want to open a form that users can't see, I simply know > that it happens and I need to provide the developer with a means of > enforcing this security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 08:54:58 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 09:54:58 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <11233046458.20031111175341@cactus.dk> Message-ID: Gustav, When I say table wizard, I am not taking about the thing that opens pre-existing tables and allows you to modify them. The widget you use to design tables (click the table tab in A2K and select New) is a WIZARD! The thing you use to design queries (select the query tab and click NEW) is a WIZARD. It is a piece of VB code, stored in MDAs, registered with Access. It is NOT part of Access per se. That is also what I am designing, a WIZARD. As for different worlds, apparently we do. If you truly believe that no developer out there runs into users who poke and pry then I would love to live in your world. John W. Colby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 11:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John Well, we must live in different worlds. Most of our users are in runtime environments and even those with full versions of Access don't fool around with the apps - and they indeed "don't just open forms" - they use the UI. If wild users is the developer's concern, a LWS tool is not an option - his/hers only way to go is full Access security - if not applied, these users will, of course, find your LWS tables. Also, I've used the table wizard once - and that was it. The only wizards I've found a use for are that for creating a simple report and that for creating a group box. The Access switch board and the table structure behind it is terrible; I've found it just as quick to design a main form for that purpose and a single table or two holding the user level security. I'm not saying there isn't a need for a LWS system, just that it will not fully block the scenarios you draw which means you could pay less attention to those extremes. How many users know a form can be hidden? Not to say how to locate a hidden form and unhide it? Why should they? Most users have work to do. /gustav > Gustav, >>I mean - forms don't just open > Of course forms "just open". What do you think the switchboard does? It > "just opens" forms. And plenty of developers use the switchboard. >>and users don't unhide hidden forms > Of course users unhide forms. Users poke and pry, and go where they aren't > supposed to, and find all the chinks in your armor. If it's not supposed to > be done, and you have locked that sucker down tight, a user WILL get in > there! >>he/she would need to either make the button not visible or not enabled or > pop up a message telling that the user has been revoked rights to view the > details; this I guess would be beyond the goal of your LWS tool. > No, in fact that is exactly the goal of my tool. It allows you to create up > to 31 groups and unlimited users. You then add users to groups, ala Windows > or SQL Server. You then tell LWS "These groups can SEE these forms". > "These groups can see this control on this form". etc. > The flip side of this is that any groups NOT allowed to SEE those forms, by > definition CAN'T SEE those forms. And it is the job of LWS to guarantee > that those users CAN'T see forms they are not supposed to see. Thus my > email - how do I GUARANTEE that a form that the user is not supposed to see > remains invisible? > The point here is that every one who has responded so far has simply taken > the point of view that "the developer will guarantee" or "users won't" or > "of course the developer will get rid of menus" etc. > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often quite > by accident. And Of course, developers consistently, year after year fail > to remove menus. In fact clients consistently, year after year DEMAND that > menus remain. It is not realistic to start from the perfect world and > assume none of these things happen. > I have a simple question. How many of us know how to build a table. The > first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to build > a table. Or more correctly I can figure it out using DAO, and I can figure > it out using SQL but what do I do under normal circumstances? Use a WIZARD. > The wizard knows how to build a table, I know how to use a wizard to build a > table. Same with queries. > I am attempting to design a system (a wizard) that a developer can use to > set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables are > initialized, there is a "wizard" that allows the developer to select forms > and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever > the developer decides is stored in a pair of tables (forms and controls). > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down such > that only specific groups can See/Enter/Edit. > That is LWS. The group / user login stuff is working. The FORM security is > working (minus a few inconsistencies in being able to hide the forms). The > control security is not finished yet. My post to this group was an attempt > to figure out how to allow LWS to consistently and reliably control the > VISIBILITY of a form. Access does not make it easy, but I have had a couple > of good suggestions that will help me solve this problem. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > I think Ken has a point here and that you maybe are overcomplicating > the task. > I mean - forms don't just open, and users don't unhide hidden forms; > how should they be able to do that when the developer has designed > menus and toolbars for his/her app? > Also, applying any form of security, light weight or not, the > developer will have to walk through the app from a to z and arrange > for modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess > would be beyond the goal of your LWS tool. Leaving the button as it is > and the user presses it and the details form just opens hidden is bad > UI design as the user has no chance for knowing what is going on other > than "it doesn't work". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 12 09:46:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 12 Nov 2003 16:46:01 +0100 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: References: Message-ID: <11029675040.20031112164601@cactus.dk> Hi John > When I say table wizard, I am not taking about the thing that opens > pre-existing tables and allows you to modify them. The widget you use to > design tables (click the table tab in A2K and select New) is a WIZARD! The > thing you use to design queries (select the query tab and click NEW) is a > WIZARD. It is a piece of VB code, stored in MDAs, registered with Access. > It is NOT part of Access per se. > That is also what I am designing, a WIZARD. Yeah, I know. I don't use them. I just can't see no problem in creating a table in design view adding comments to the fields; I find it to be waste of time to select some "example table" and use more time to check and correct than to create from scratch. The same goes for the query wizards - it's faster when you know what to do, to open design view initially. > As for different worlds, apparently we do. If you truly believe that no > developer out there runs into users who poke and pry then I would love to > live in your world. You would be most welcome! But as I wrote, to make a near bulletproof app you will need Access security. If less can do it - and that must be the purpose of your LWS system - you can do many things: A. Design LWS as a user control and guidance system for the behaved user and user environment. If users are not behaved go to Access security. B. Take precautions to prevent accidental user errors. This is the other side of security: to prevent users from doing things they don't want to do by accident or error. Many things can be done for free: 1. Rename the app to anything else than mdb or adp. I use mdp. Most users wouldn't have a clue what an mdp file is. If they doubleclick it nothing happens. 2. Create your app to be able to run write protected and let your install routine write protect the file (or you can let your app check if it itself is write protected; if not, write protect and shut down). Only a fraction of users have any idea of how to remove write protection from a file. 3. Apply a database password to the app. This forces the user to run the app from a shortcut with the password command line switch. Again, if the user by accident doubleclick the file he/she will be prompted for a password. No big deal but it will be apparent that "this is not normal". 4. Run the app in the runtime environment. You can check from within the app if this is so; if not, pop a message and shut down. 5. Set the startup options to the minimum level, and always hide the database window as the first task in your start/autoexec code. You know these things, but others may benefit from these simple advices and reminders. /gustav > John W. Colby > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 11:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > Hi John > Well, we must live in different worlds. Most of our users are in > runtime environments and even those with full versions of Access > don't fool around with the apps - and they indeed "don't just open > forms" - they use the UI. > If wild users is the developer's concern, a LWS tool is not an option > - his/hers only way to go is full Access security - if not applied, > these users will, of course, find your LWS tables. > Also, I've used the table wizard once - and that was it. The only > wizards I've found a use for are that for creating a simple report and > that for creating a group box. The Access switch board and the table > structure behind it is terrible; I've found it just as quick to design > a main form for that purpose and a single table or two holding the > user level security. > I'm not saying there isn't a need for a LWS system, just that it will > not fully block the scenarios you draw which means you could pay less > attention to those extremes. How many users know a form can be hidden? > Not to say how to locate a hidden form and unhide it? Why should they? > Most users have work to do. From DWUTKA at marlow.com Wed Nov 12 10:10:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 12 Nov 2003 10:10:18 -0600 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <2F8793082E00D4119A1700B0D0216BF802227544@main2.marlow.com> JC. I may have missed it, but did you try the repaint/doevents suggestion? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open What you're missing is that THIS IS A WIZARD FOR YOU!!! I have no clue what YOU are doing so I have to desing it as if YOU don't have a clue. John W. Colby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, November 11, 2003 11:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Am I missing something, John? If you're using a forms class, wouldn't there be a test in the Form_Open event of the class to see whether the user is allowed to view the form? Or are you talking about users managing to find their way into forms already opened hidden? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 11, 2003 7:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K - setting a form invisible on open Gustav, >I mean - forms don't just open Of course forms "just open". What do you think the switchboard does? It "just opens" forms. And plenty of developers use the switchboard. >and users don't unhide hidden forms Of course users unhide forms. Users poke and pry, and go where they aren't supposed to, and find all the chinks in your armor. If it's not supposed to be done, and you have locked that sucker down tight, a user WILL get in there! >he/she would need to either make the button not visible or not enabled >or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. No, in fact that is exactly the goal of my tool. It allows you to create up to 31 groups and unlimited users. You then add users to groups, ala Windows or SQL Server. You then tell LWS "These groups can SEE these forms". "These groups can see this control on this form". etc. The flip side of this is that any groups NOT allowed to SEE those forms, by definition CAN'T SEE those forms. And it is the job of LWS to guarantee that those users CAN'T see forms they are not supposed to see. Thus my email - how do I GUARANTEE that a form that the user is not supposed to see remains invisible? The point here is that every one who has responded so far has simply taken the point of view that "the developer will guarantee" or "users won't" or "of course the developer will get rid of menus" etc. We all know that NONE of these statements are true. Developers consistently, every day, fail to guarantee... Users, every day, consistently break into places where they aren't supposed to be, often quite by accident. And Of course, developers consistently, year after year fail to remove menus. In fact clients consistently, year after year DEMAND that menus remain. It is not realistic to start from the perfect world and assume none of these things happen. I have a simple question. How many of us know how to build a table. The first thing all of you will say (waving hand in the air shouting frantically) is "I do, I do". But in fact I don't have a clue how to build a table. Or more correctly I can figure it out using DAO, and I can figure it out using SQL but what do I do under normal circumstances? Use a WIZARD. The wizard knows how to build a table, I know how to use a wizard to build a table. Same with queries. I am attempting to design a system (a wizard) that a developer can use to set up the type of security we are discussing here, which I call "presentation security". Light Weight Security allows the developer (or even the client) to set up the groups and users. Once these two tables are initialized, there is a "wizard" that allows the developer to select forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. Whatever the developer decides is stored in a pair of tables (forms and controls). Notice that all of these things (except open) are nothing more than properties of the form. LWS is attempting to manipulate form properties based upon information stored in tables. The wizard will allow the developer to select a form, see all of the controls on the form, and select controls that you wish to lock down such that only specific groups can See/Enter/Edit. That is LWS. The group / user login stuff is working. The FORM security is working (minus a few inconsistencies in being able to hide the forms). The control security is not finished yet. My post to this group was an attempt to figure out how to allow LWS to consistently and reliably control the VISIBILITY of a form. Access does not make it easy, but I have had a couple of good suggestions that will help me solve this problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, November 11, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K - setting a form invisible on open Hi John I think Ken has a point here and that you maybe are overcomplicating the task. I mean - forms don't just open, and users don't unhide hidden forms; how should they be able to do that when the developer has designed menus and toolbars for his/her app? Also, applying any form of security, light weight or not, the developer will have to walk through the app from a to z and arrange for modification of menus, buttons, labels ("Double click her to view details") etc. If a button is labelled "Show details" on a form and it should be disabled for certain users, he/she would need to either make the button not visible or not enabled or pop up a message telling that the user has been revoked rights to view the details; this I guess would be beyond the goal of your LWS tool. Leaving the button as it is and the user presses it and the details form just opens hidden is bad UI design as the user has no chance for knowing what is going on other than "it doesn't work". /gustav > Ken, > I am writing a security utility aimed at other developers. It is > designed to allow YOU (and me as a developer) to manage the > presentation security of > a database front end. IOW, what forms can a user / group open? View? Add > records to? Delete records in? Edit records in? Etc. > As you can see, I am not necessarily "in control of" the target FE at design > time since the FE is YOURS. Why would you want to open a form not visible? > Perhaps the form is a filter form that you use to feed values to a > query. Perhaps the form has a timer ticking that performs some > process. Perhaps... > uh... I have no damned idea what else you might decide to do with a > form that is open but that a selected group or groups of users are not > allowed to > see. I know that I personally use a hidden form to force a cleanup of > my framework when the database closes. Since a form cannot close > without it's > OnClose firing, I use that to run a Terminate() function that closes > everything gracefully. So not matter how the db closes, my term() function > runs. > I cannot allow the users to unhide that since it is a background processing > form and they have no business there. > In the end though, the answer is I don't know why any given developer > is going to want to open a form that users can't see, I simply know > that it happens and I need to provide the developer with a means of > enforcing this security. --- > 1. It escapes me why you would even want to manage an open, invisible form. > If the user can't view it, then by far the simplist thing to do is not open > it. Is there some other issue driving this need that you haven't elaborated > on? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 12 10:19:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Nov 2003 08:19:26 -0800 Subject: [AccessD] Would you believe Message-ID: I know what it's for, but I still object. NT handled roaming profiles without Documents and Settings. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 12, 2003 1:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Wed Nov 12 10:37:49 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed, 12 Nov 2003 09:37:49 -0700 Subject: [AccessD] Distinguishing Key Press Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FDDD@srciml1.ds.doc.state.or.us> Hello Everyone, Does anyone have something that they can share that can be used to distinguish what key is pressed after updating a field on a form. I want to be able to know if the Tab key is pressed or if the Enter key was pressed. I have to be able to run a different process if the Tab key is pressed than I would if the Enter key is pressed. Thanks in advance for any info shared. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division From Lambert.Heenan at AIG.com Wed Nov 12 10:38:56 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 12 Nov 2003 11:38:56 -0500 Subject: [AccessD] A2K - setting a form invisible on open Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD78FA@xlivmbx12.aig.com> John, I followed your arguments for doing this, and I fully agree with your comments along the lines of, "if the user *can* do it s/he *will* do it". FWIW, here's one way you might want to do what you asked for. If you set the timer interval to 1 millisecond then the form opens without the user seeing anything but the merest flicker on screen. That's in A97, but it should work in 2K as well Here's the form's code module Option Compare Database Option Explicit Const mod_bAllowVisible = False ' simulate user's inability to 'see' this form. Private Sub Form_Activate() ' re-hide the form if a user unhides it manually Me.Visible = mod_bAllowVisible DoEvents End Sub Private Sub Form_Timer() ' Hide the form after it's loaded Me.Visible = mod_bAllowVisible DoEvents ' no need to fire this event any more so... Me.TimerInterval = 0 End Sub Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Wednesday, November 12, 2003 9:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > What you're missing is that THIS IS A WIZARD FOR YOU!!! > > I have no clue what YOU are doing so I have to desing it as if YOU don't > have a clue. > > John W. Colby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, November 11, 2003 11:16 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Am I missing something, John? If you're using a forms class, wouldn't > there be a test in the Form_Open event of the class to see whether the > user is allowed to view the form? Or are you talking about users > managing to find their way into forms already opened hidden? > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 11, 2003 7:52 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Gustav, > > >I mean - forms don't just open > > Of course forms "just open". What do you think the switchboard does? > It "just opens" forms. And plenty of developers use the switchboard. > > >and users don't unhide hidden forms > > Of course users unhide forms. Users poke and pry, and go where they > aren't supposed to, and find all the chinks in your armor. If it's not > supposed to be done, and you have locked that sucker down tight, a user > WILL get in there! > > >he/she would need to either make the button not visible or not enabled > >or > pop up a message telling that the user has been revoked rights to view > the details; this I guess would be beyond the goal of your LWS tool. > > No, in fact that is exactly the goal of my tool. It allows you to > create up to 31 groups and unlimited users. You then add users to > groups, ala Windows or SQL Server. You then tell LWS "These groups can > SEE these forms". "These groups can see this control on this form". > etc. > > The flip side of this is that any groups NOT allowed to SEE those forms, > by definition CAN'T SEE those forms. And it is the job of LWS to > guarantee that those users CAN'T see forms they are not supposed to see. > Thus my email - how do I GUARANTEE that a form that the user is not > supposed to see remains invisible? > > The point here is that every one who has responded so far has simply > taken the point of view that "the developer will guarantee" or "users > won't" or "of course the developer will get rid of menus" etc. > > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often > quite by accident. And Of course, developers consistently, year after > year fail to remove menus. In fact clients consistently, year after > year DEMAND that menus remain. It is not realistic to start from the > perfect world and assume none of these things happen. > > I have a simple question. How many of us know how to build a table. > The first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to > build a table. Or more correctly I can figure it out using DAO, and I > can figure it out using SQL but what do I do under normal circumstances? > Use a WIZARD. The wizard knows how to build a table, I know how to use a > wizard to build a table. Same with queries. > > I am attempting to design a system (a wizard) that a developer can use > to set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables > are initialized, there is a "wizard" that allows the developer to select > forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. > Whatever the developer decides is stored in a pair of tables (forms and > controls). > > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down > such that only specific groups can See/Enter/Edit. > > That is LWS. The group / user login stuff is working. The FORM > security is working (minus a few inconsistencies in being able to hide > the forms). The control security is not finished yet. My post to this > group was an attempt to figure out how to allow LWS to consistently and > reliably control the VISIBILITY of a form. Access does not make it > easy, but I have had a couple of good suggestions that will help me > solve this problem. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > I think Ken has a point here and that you maybe are overcomplicating the > task. I mean - forms don't just open, and users don't unhide hidden > forms; how should they be able to do that when the developer has > designed menus and toolbars for his/her app? > > Also, applying any form of security, light weight or not, the developer > will have to walk through the app from a to z and arrange for > modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess would > be beyond the goal of your LWS tool. Leaving the button as it is and the > user presses it and the details form just opens hidden is bad UI design > as the user has no chance for knowing what is going on other than "it > doesn't work". > > /gustav > > > > Ken, > > > I am writing a security utility aimed at other developers. It is > > designed to allow YOU (and me as a developer) to manage the > > presentation security > of > > a database front end. IOW, what forms can a user / group open? View? > Add > > records to? Delete records in? Edit records in? Etc. > > > As you can see, I am not necessarily "in control of" the target FE at > design > > time since the FE is YOURS. Why would you want to open a form not > visible? > > Perhaps the form is a filter form that you use to feed values to a > > query. Perhaps the form has a timer ticking that performs some > > process. > Perhaps... > > uh... I have no damned idea what else you might decide to do with a > > form that is open but that a selected group or groups of users are not > > > allowed > to > > see. I know that I personally use a hidden form to force a cleanup of > > > my framework when the database closes. Since a form cannot close > > without > it's > > OnClose firing, I use that to run a Terminate() function that closes > > everything gracefully. So not matter how the db closes, my term() > function > > runs. > > > I cannot allow the users to unhide that since it is a background > processing > > form and they have no business there. > > > In the end though, the answer is I don't know why any given developer > > is going to want to open a form that users can't see, I simply know > > that it happens and I need to provide the developer with a means of > > enforcing this security. > > --- > > > 1. It escapes me why you would even want to manage an open, invisible > form. > > If the user can't view it, then by far the simplist thing to do is not > open > > it. Is there some other issue driving this need that you haven't > elaborated > > on? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pnl1 at psu.edu Wed Nov 12 10:39:12 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Wed, 12 Nov 2003 11:39:12 -0500 Subject: [AccessD] SQL Syntax in Access 2000 Message-ID: <5.1.0.14.2.20031112113630.0346feb0@mail.psu.edu> Hi, Is there a place where I can find the SQL syntax that Access uses in the SQL view of a query? I have an SQL statement that does an update in SQL Server 2000 that will not run in Access (copy and paste to the SQL View) due to a "syntax error". Any help would be greatly appreciated. Thanks, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University From Erwin.Craps at ithelps.be Wed Nov 12 10:46:24 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 12 Nov 2003 17:46:24 +0100 Subject: [AccessD] Would you believe Message-ID: <46B976F2B698FF46A4FE7636509B22DF7233@stekelbes.ithelps.local> Hugh? Not at my knowledge It was located elsewhere and named otherwise... It was in \WinNT\Profiles Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 12, 2003 5:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe I know what it's for, but I still object. NT handled roaming profiles without Documents and Settings. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 12, 2003 1:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Nov 12 10:49:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 12 Nov 2003 10:49:53 -0600 Subject: [AccessD] Would you believe Message-ID: <2F8793082E00D4119A1700B0D0216BF802227547@main2.marlow.com> Not really. It just didn't have the same folder name. If I remember correctly, it was under WINNT, in a folder called Profiles. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, November 12, 2003 10:19 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe I know what it's for, but I still object. NT handled roaming profiles without Documents and Settings. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 12, 2003 1:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Would you believe Hi Charlotte. The "Documents and Settings" is infact a very good thing when having roaming profiles in a network. It is also a security thing so other users can not get in to your profile and read your mail (when using PST). If you fully use profiles, your computer may crash, you can continue to work on another computer without loss of data (except the things as from the last logon) or workenvironment (it ain't that simple! but still...). It needs be be discouraged when U use a notebook both out and in the office, but it works greats for office computers. I use it at all my clients sites. It gives you pc redundancy. And I'm less stressed by it. They can login to another computer and just have their mail etc up and running without dooing a thing. Trust me, profiles are great stuff.... (and that what documents and settings is all about). You just need to backup it also because it contains real data. If you wanna save space in there, set the temporary internet files folder somewhere else or minimise the size. IE sometimes set this to 800 MB (I supose it use x% from the drive as a base). A setting of 50 or 100MB should be enough, but that is a subject for discussion. When you have an active (one that keeps a cache!) proxy server, a IE setting of more than 50MB is of no use. Your proxy server does already the necesary caching. But again, subject for discussion. It's only my opinion. BTW, should this thread not be on the DBA-TECH list? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com namens Charlotte Foust Verzonden: di 11/11/2003 2:01 Aan: Access Developers discussion and problem solving CC: Onderwerp: RE: [AccessD] Would you believe I HATE that documents and settings folder! I put all my Outlook pst files on my D: drive in a folder called Outlook. Then I can find them again and they aren't part of my ever expanding (metaphorically speaking ) profile. Um ... Where do you think "My Documents" is, John? Unless you created one elsewhere, it and your desktop are also under *documents and settings*. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, November 10, 2003 4:26 PM To: AccessD Subject: [AccessD] Would you believe 65000 files in 7000 folders just in jcolby directory of documents and settings. Among them the PST file for Outlook. What other buried treasures are in there that should be in My Documents? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Nov 12 10:54:14 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 12 Nov 2003 11:54:14 -0500 Subject: READ NOW!!! RE: [AccessD] Would you believe Message-ID: <20031112165414.FSHE6808.tomts27-srv.bellnexxia.net@[209.226.175.22]> OK. This thread is dead. NOW!! If you want to continue this discussion, take it over to dba-tech. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! From cfoust at infostatsystems.com Wed Nov 12 10:59:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Nov 2003 08:59:50 -0800 Subject: [AccessD] SQL Syntax in Access 2000 Message-ID: Jet SQL uses different wildcards and date delimiters than T-SQL. My favorite quick reference is Access Database Programming and Design from O'Reilly. Charlotte Foust -----Original Message----- From: Paul Liadis [mailto:pnl1 at psu.edu] Sent: Wednesday, November 12, 2003 8:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Syntax in Access 2000 Hi, Is there a place where I can find the SQL syntax that Access uses in the SQL view of a query? I have an SQL statement that does an update in SQL Server 2000 that will not run in Access (copy and paste to the SQL View) due to a "syntax error". Any help would be greatly appreciated. Thanks, =============================================== 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 cfoust at infostatsystems.com Wed Nov 12 11:28:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Nov 2003 09:28:49 -0800 Subject: [AccessD] Distinguishing Key Press Message-ID: If you'll pardon my saying so, it sounds like you're trying to code around automatic behavior. What exactly is it that you want to do differently based on a tab or enter? What do you have set as the default behavior for Tools-->Options-->Advanced-->Move After Enter? Charlotte Foust -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, November 12, 2003 8:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Distinguishing Key Press Hello Everyone, Does anyone have something that they can share that can be used to distinguish what key is pressed after updating a field on a form. I want to be able to know if the Tab key is pressed or if the Enter key was pressed. I have to be able to run a different process if the Tab key is pressed than I would if the Enter key is pressed. Thanks in advance for any info shared. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjewett at bayplace.com Wed Nov 12 11:36:18 2003 From: pjewett at bayplace.com (Phil Jewett) Date: Wed, 12 Nov 2003 09:36:18 -0800 Subject: [AccessD] SQL trusted connection problem Message-ID: When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! This problem is discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any help on this? Thanks, Phil Jewett From Mike.W.Gowey at doc.state.or.us Wed Nov 12 11:52:50 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed, 12 Nov 2003 10:52:50 -0700 Subject: [AccessD] Distinguishing Key Press Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> What I need it to do is if the Tab key is pressed to move to the next field, if the Enter key is pressed to save the record and than print a label of the information. This is a mail tracking database, in the form they are able to enter the information on the piece of mail that is coming in, lots of times the same publication comes in, so they fill out all the imformation on the publication once and all they want to be able to do is change the number of the reciepient and be able to press enter and the label for the distribution of the publication/Piece of mail is printed. If they need to change any information than pressing the Tab key will allow this. I hope that makes better sense or maybe I am just muttering Mike -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, November 12, 2003 10:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Distinguishing Key Press If you'll pardon my saying so, it sounds like you're trying to code around automatic behavior. What exactly is it that you want to do differently based on a tab or enter? What do you have set as the default behavior for Tools-->Options-->Advanced-->Move After Enter? Charlotte Foust -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, November 12, 2003 8:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Distinguishing Key Press Hello Everyone, Does anyone have something that they can share that can be used to distinguish what key is pressed after updating a field on a form. I want to be able to know if the Tab key is pressed or if the Enter key was pressed. I have to be able to run a different process if the Tab key is pressed than I would if the Enter key is pressed. Thanks in advance for any info shared. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Nov 12 11:55:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 13 Nov 2003 06:55:00 +1300 Subject: [AccessD] Sample textfile Message-ID: <70F3D727890C784291D8433E9C418F290884F6@server.bondsoftware.co.nz> On 22 Feb 2003, Dave Sharpe posted this URL: http://www.coj.net/Departments/Tax+Collector/Current+Real+Estate+Download.htm Stephen Bond -----Original Message----- From: Conny Johansson [mailto:conny at qad.se] Sent: Wednesday, 12 November 2003 7:35 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile Thanks a lot Dave Now, if someone could provide a link to a >300 000 persons textfile as well, then I'm all set. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dave Sharpe Sent: den 12 november 2003 01:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sample textfile Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 07:34:30 avast! is copyright (c) 2000-2003 ALWIL Software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 12 12:07:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 12 Nov 2003 19:07:04 +0100 Subject: [AccessD] Distinguishing Key Press In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> Message-ID: <17838137618.20031112190704@cactus.dk> Hi Gowey Then create a button for printing the label and, in the properties sheet of the button, set it to be the "Default key" of the form. You may wish to run some validation code before printing to prevent incomplete labels and/or a pop up a messagebox "Print this label?" (OK/Cancel) if the user by accident should press Enter. /gustav > What I need it to do is if the Tab key is pressed to move to the next > field, if the Enter key is pressed to save the record and than print a > label of the information. > This is a mail tracking database, in the form they are able to enter the > information on the piece of mail that is coming in, lots of times the > same publication comes in, so they fill out all the imformation on the > publication once and all they want to be able to do is change the number > of the reciepient and be able to press enter and the label for the > distribution of the publication/Piece of mail is printed. If they need > to change any information than pressing the Tab key will allow this. From rl_stewart at highstream.net Wed Nov 12 14:05:51 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 12 Nov 2003 14:05:51 -0600 Subject: [AccessD] Re: SQL Syntax in Access 2000 In-Reply-To: <200311121800.hACI0g627758@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031112140514.0291dd10@pop3.highstream.net> Send your statement that is not working and we can tell you why it is not. At 12:00 PM 11/12/2003 -0600, you wrote: >Date: Wed, 12 Nov 2003 11:39:12 -0500 >From: Paul Liadis >Subject: [AccessD] SQL Syntax in Access 2000 >To: Access Developers discussion and problem solving > >Message-ID: <5.1.0.14.2.20031112113630.0346feb0 at mail.psu.edu> >Content-Type: text/plain; charset="us-ascii"; format=flowed > >Hi, >Is there a place where I can find the SQL syntax that Access uses in the >SQL view of a query? I have an SQL statement that does an update in SQL >Server 2000 that will not run in Access (copy and paste to the SQL View) >due to a "syntax error". Any help would be greatly appreciated. >Thanks, From rl_stewart at highstream.net Wed Nov 12 14:09:20 2003 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 12 Nov 2003 14:09:20 -0600 Subject: [AccessD] Re: SQL trusted connection problem In-Reply-To: <200311121800.hACI0g627758@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031112140757.028dd638@pop3.highstream.net> How is your ODBC DNS set up? Are you storing the password in it? Is the SQL Server set up to do mixed mode? At 12:00 PM 11/12/2003 -0600, you wrote: >Date: Wed, 12 Nov 2003 09:36:18 -0800 >From: "Phil Jewett" >Subject: [AccessD] SQL trusted connection problem >To: >Message-ID: > >Content-Type: text/plain; charset="iso-8859-1" > >When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the >SQL Server 2000 login fails, insisting on the 'trusted connection' >network login instead of the SQL Server authentication in the ODBC >connection string. This was presumably fixed in MDAC 2.6 SP2 - but >maybe only for Access 2000. It's still there for Access 2002! This >problem is discussed in >http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any >help on this? > >Thanks, > >Phil Jewett From mwp.reid at qub.ac.uk Wed Nov 12 15:01:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 12 Nov 2003 13:01:25 -0800 Subject: [AccessD] OT Ignore References: <5.1.0.14.2.20031112140514.0291dd10@pop3.highstream.net> Message-ID: <005201c3a960$22ff5820$260c6351@martin1> Test Martin From pnl1 at psu.edu Wed Nov 12 15:05:45 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Wed, 12 Nov 2003 16:05:45 -0500 Subject: [AccessD] Re: SQL Syntax in Access 2000 In-Reply-To: <5.1.0.14.2.20031112140514.0291dd10@pop3.highstream.net> References: <200311121800.hACI0g627758@databaseadvisors.com> Message-ID: <5.1.0.14.2.20031112160452.03271d00@mail.psu.edu> Here is the statement that will run in SQL Server 2000 but not Access 2000: UPDATE [Tmp Master Budget Table] SET [Tmp Master Budget Table].FundTypeIbis = [dbo_ib_header_hist].[CODE_ICOA_FUND_TYPE] from dbo_ib_header_hist where [Tmp Master Budget Table].NumbAcct = dbo_ib_header_hist.NUMB_ACCT Thanks, Paul Liadis At 02:05 PM 11/12/2003 -0600, you wrote: >Send your statement that is not working and we can tell you why it is not. > >At 12:00 PM 11/12/2003 -0600, you wrote: >>Date: Wed, 12 Nov 2003 11:39:12 -0500 >>From: Paul Liadis >>Subject: [AccessD] SQL Syntax in Access 2000 >>To: Access Developers discussion and problem solving >> >>Message-ID: <5.1.0.14.2.20031112113630.0346feb0 at mail.psu.edu> >>Content-Type: text/plain; charset="us-ascii"; format=flowed >> >>Hi, >>Is there a place where I can find the SQL syntax that Access uses in the >>SQL view of a query? I have an SQL statement that does an update in SQL >>Server 2000 that will not run in Access (copy and paste to the SQL View) >>due to a "syntax error". Any help would be greatly appreciated. >>Thanks, > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Nov 12 15:13:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Nov 2003 13:13:29 -0800 Subject: [AccessD] Change resolution of forms Message-ID: <00d901c3a961$d256eda0$6501a8c0@HAL9002> Dear List: I have an application which I developed many years ago on a machine with a screen of resolution 640 x 480. I used the ADH resizing code so the form would fill the screen regardless of the target machine resolution. I don't use that resizing code in my apps anymore and I would like to abandon that now in this app and go with a straight 800 x 600 which is what my screen is set to. But the 640 x 480 resolution seems to be a part of the form somehow and each of the controls as well because if I copy over the controls, they don't size correctly on my 800 x 600 screen. They appear smaller as they would when you put a 640x480 form or control on an 800 x 600 screen. Plus any new forms I've added to this app recently original in 800 x 600 and that's fine. Is there a simple way to make these old forms all 800x600? MTIA, Rocky Smolin Beach Access Software From jeffrey.demulling at usbank.com Wed Nov 12 15:27:52 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 12 Nov 2003 15:27:52 -0600 Subject: [AccessD] Re: SQL Syntax in Access 2000 Message-ID: UPDATE [Tmp Master Budget Table] SET [Tmp Master Budget Table].FundTypeIbis = [ib_header_hist].[CODE_ICOA_FUND_TYPE] from ib_header_hist where [Tmp Master Budget Table].NumbAcct = ib_header_hist.NUMB_ACCT "Paul Liadis" To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: Re: [AccessD] Re: SQL Syntax in Access 2000 11/12/2003 03:05 PM Please respond to "Access Developers discussion and problem solving" Here is the statement that will run in SQL Server 2000 but not Access 2000: UPDATE [Tmp Master Budget Table] SET [Tmp Master Budget Table].FundTypeIbis = [dbo_ib_header_hist].[CODE_ICOA_FUND_TYPE] from dbo_ib_header_hist where [Tmp Master Budget Table].NumbAcct = dbo_ib_header_hist.NUMB_ACCT Thanks, Paul Liadis At 02:05 PM 11/12/2003 -0600, you wrote: >Send your statement that is not working and we can tell you why it is not. > >At 12:00 PM 11/12/2003 -0600, you wrote: >>Date: Wed, 12 Nov 2003 11:39:12 -0500 >>From: Paul Liadis >>Subject: [AccessD] SQL Syntax in Access 2000 >>To: Access Developers discussion and problem solving >> >>Message-ID: <5.1.0.14.2.20031112113630.0346feb0 at mail.psu.edu> >>Content-Type: text/plain; charset="us-ascii"; format=flowed >> >>Hi, >>Is there a place where I can find the SQL syntax that Access uses in the >>SQL view of a query? I have an SQL statement that does an update in SQL >>Server 2000 that will not run in Access (copy and paste to the SQL View) >>due to a "syntax error". Any help would be greatly appreciated. >>Thanks, > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Wed Nov 12 15:39:47 2003 From: conny at qad.se (Conny Johansson) Date: Wed, 12 Nov 2003 22:39:47 +0100 Subject: [AccessD] Sample textfile In-Reply-To: <70F3D727890C784291D8433E9C418F290884F6@server.bondsoftware.co.nz> Message-ID: <20031112214101.083662B118@boxmail1.box.se> Thank you Stephen That's the file I was looking for. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: den 12 november 2003 18:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile On 22 Feb 2003, Dave Sharpe posted this URL: http://www.coj.net/Departments/Tax+Collector/Current+Real+Estate+Download.ht m Stephen Bond -----Original Message----- From: Conny Johansson [mailto:conny at qad.se] Sent: Wednesday, 12 November 2003 7:35 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sample textfile Thanks a lot Dave Now, if someone could provide a link to a >300 000 persons textfile as well, then I'm all set. /Conny -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dave Sharpe Sent: den 12 november 2003 01:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sample textfile Conny There is a zipcode mdb available for free download from http://www.globalpresence.com.au/exchange/support/ Dave ----- Original Message ----- From: "Conny Johansson" To: "'Access Developers list'" Sent: Tuesday, November 11, 2003 5:22 PM Subject: [AccessD] Sample textfile Hi I usually archive all the posts from this great list. Due to a computer crash I cant find them at the moment so.... A while back there where questions about sample data and someone posted a link to a textfile with 300 000 post. Anyone still got that adress? I also recall that sometime ago someone mentioned that he/she had all US and Canadian zip-codes I would be glad for those as well. Please mail me offlist if you can help with this. H?lsningar / Regards Conny Johansson _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-11 23:22:25 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus < http://www.avast.com> : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 07:34:30 avast! is copyright (c) 2000-2003 ALWIL 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 _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-11-11 Tested on: 2003-11-12 22:39:47 avast! is copyright (c) 2000-2003 ALWIL Software. From andrew.haslett at ilc.gov.au Wed Nov 12 15:53:13 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 13 Nov 2003 08:23:13 +1030 Subject: [AccessD] SQL trusted connection problem Message-ID: Please don't double post - we've responded a few times to your initial question and you didn't answer our questions! Cheers, Andrew -----Original Message----- From: Phil Jewett [mailto:pjewett at bayplace.com] Sent: Thursday, 13 November 2003 4:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] SQL trusted connection problem When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! This problem is discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From KIsmert at TexasSystems.com Wed Nov 12 18:10:40 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 12 Nov 2003 18:10:40 -0600 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD78FA@xlivmbx12.aig.com> Message-ID: <005c01c3a97a$93181880$2a3ca8c0@TEXASSYSTEMS.COM> John, I agree with Lambert that users are nosy and invasive. However, if you lock down the interface, and use an mde in runtime mode, you will keep out all but the most persistent users. I also have to agree with Gustav that most developers will choose to manage the user's access by hiding or disabling controls. This means that the LWS form permission functionality will be rarely needed in production apps. Is this a drawback of the LWS idea? No... I see several opportunities here: * LWS form permissions can act as a failsafe if there are leaks in the UI logic. Because this is an exceptional condition, you wouldn't have to do anything fancy: just display a message and close the form. * Developers need a way to query LWS about permissions, something like: cmdShowSalary.Visible = LWS.HasPermission(CurrentUser, "Open", "frmSalary") * If LWS could automatically enable/show a control based on a user's permissions to open a particular form (with no coding on the developer's part), that would be _way_ cool. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 12, 2003 10:39 AM To: 'Access Developers discussion and problem solving' Cc: 'jcolby at colbyconsulting.com' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I followed your arguments for doing this, and I fully agree with your comments along the lines of, "if the user *can* do it s/he *will* do it". FWIW, here's one way you might want to do what you asked for. If you set the timer interval to 1 millisecond then the form opens without the user seeing anything but the merest flicker on screen. That's in A97, but it should work in 2K as well Here's the form's code module Option Compare Database Option Explicit Const mod_bAllowVisible = False ' simulate user's inability to 'see' this form. Private Sub Form_Activate() ' re-hide the form if a user unhides it manually Me.Visible = mod_bAllowVisible DoEvents End Sub Private Sub Form_Timer() ' Hide the form after it's loaded Me.Visible = mod_bAllowVisible DoEvents ' no need to fire this event any more so... Me.TimerInterval = 0 End Sub Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Wednesday, November 12, 2003 9:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > What you're missing is that THIS IS A WIZARD FOR YOU!!! > > I have no clue what YOU are doing so I have to desing it as if YOU don't > have a clue. > > John W. Colby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, November 11, 2003 11:16 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Am I missing something, John? If you're using a forms class, wouldn't > there be a test in the Form_Open event of the class to see whether the > user is allowed to view the form? Or are you talking about users > managing to find their way into forms already opened hidden? > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 11, 2003 7:52 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Gustav, > > >I mean - forms don't just open > > Of course forms "just open". What do you think the switchboard does? > It "just opens" forms. And plenty of developers use the switchboard. > > >and users don't unhide hidden forms > > Of course users unhide forms. Users poke and pry, and go where they > aren't supposed to, and find all the chinks in your armor. If it's not > supposed to be done, and you have locked that sucker down tight, a user > WILL get in there! > > >he/she would need to either make the button not visible or not enabled > >or > pop up a message telling that the user has been revoked rights to view > the details; this I guess would be beyond the goal of your LWS tool. > > No, in fact that is exactly the goal of my tool. It allows you to > create up to 31 groups and unlimited users. You then add users to > groups, ala Windows or SQL Server. You then tell LWS "These groups can > SEE these forms". "These groups can see this control on this form". > etc. > > The flip side of this is that any groups NOT allowed to SEE those forms, > by definition CAN'T SEE those forms. And it is the job of LWS to > guarantee that those users CAN'T see forms they are not supposed to see. > Thus my email - how do I GUARANTEE that a form that the user is not > supposed to see remains invisible? > > The point here is that every one who has responded so far has simply > taken the point of view that "the developer will guarantee" or "users > won't" or "of course the developer will get rid of menus" etc. > > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often > quite by accident. And Of course, developers consistently, year after > year fail to remove menus. In fact clients consistently, year after > year DEMAND that menus remain. It is not realistic to start from the > perfect world and assume none of these things happen. > > I have a simple question. How many of us know how to build a table. > The first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to > build a table. Or more correctly I can figure it out using DAO, and I > can figure it out using SQL but what do I do under normal circumstances? > Use a WIZARD. The wizard knows how to build a table, I know how to use a > wizard to build a table. Same with queries. > > I am attempting to design a system (a wizard) that a developer can use > to set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables > are initialized, there is a "wizard" that allows the developer to select > forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. > Whatever the developer decides is stored in a pair of tables (forms and > controls). > > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down > such that only specific groups can See/Enter/Edit. > > That is LWS. The group / user login stuff is working. The FORM > security is working (minus a few inconsistencies in being able to hide > the forms). The control security is not finished yet. My post to this > group was an attempt to figure out how to allow LWS to consistently and > reliably control the VISIBILITY of a form. Access does not make it > easy, but I have had a couple of good suggestions that will help me > solve this problem. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > I think Ken has a point here and that you maybe are overcomplicating the > task. I mean - forms don't just open, and users don't unhide hidden > forms; how should they be able to do that when the developer has > designed menus and toolbars for his/her app? > > Also, applying any form of security, light weight or not, the developer > will have to walk through the app from a to z and arrange for > modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess would > be beyond the goal of your LWS tool. Leaving the button as it is and the > user presses it and the details form just opens hidden is bad UI design > as the user has no chance for knowing what is going on other than "it > doesn't work". > > /gustav > > > > Ken, > > > I am writing a security utility aimed at other developers. It is > > designed to allow YOU (and me as a developer) to manage the > > presentation security > of > > a database front end. IOW, what forms can a user / group open? View? > Add > > records to? Delete records in? Edit records in? Etc. > > > As you can see, I am not necessarily "in control of" the target FE at > design > > time since the FE is YOURS. Why would you want to open a form not > visible? > > Perhaps the form is a filter form that you use to feed values to a > > query. Perhaps the form has a timer ticking that performs some > > process. > Perhaps... > > uh... I have no damned idea what else you might decide to do with a > > form that is open but that a selected group or groups of users are not > > > allowed > to > > see. I know that I personally use a hidden form to force a cleanup of > > > my framework when the database closes. Since a form cannot close > > without > it's > > OnClose firing, I use that to run a Terminate() function that closes > > everything gracefully. So not matter how the db closes, my term() > function > > runs. > > > I cannot allow the users to unhide that since it is a background > processing > > form and they have no business there. > > > In the end though, the answer is I don't know why any given developer > > is going to want to open a form that users can't see, I simply know > > that it happens and I need to provide the developer with a means of > > enforcing this security. > > --- > > > 1. It escapes me why you would even want to manage an open, invisible > form. > > If the user can't view it, then by far the simplist thing to do is not > open > > it. Is there some other issue driving this need that you haven't > elaborated > > on? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Nov 12 18:47:52 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 13 Nov 2003 11:47:52 +1100 Subject: [AccessD] A2K: Access Security via a browser Message-ID: <01a801c3a97f$c4ea8370$3c619a89@DDICK> Hello all I have a Web Developer friend asking me if anyone knows of some useful URL's that will show how to or give examples of administering Access security via a browser. She has Access Security implemented and can administer it fine from the local PC via the 'normal' means, she just wants to do it via the web Many thanks in advance Darren From jcolby at colbyconsulting.com Wed Nov 12 18:59:56 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 19:59:56 -0500 Subject: [AccessD] POLL: Access Security Message-ID: I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com From connie.kamrowski at agric.nsw.gov.au Wed Nov 12 19:00:16 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Thu, 13 Nov 2003 12:00:16 +1100 Subject: [AccessD] A2K: Access Security via a browser Message-ID: Darren, I have foudn some interesting articles on here for web based applications. You have to sort through a few but there is some good content. http://www.internetwebfactory.com/dotnet.html Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From jcolby at colbyconsulting.com Wed Nov 12 19:03:53 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 20:03:53 -0500 Subject: [AccessD] Change resolution of forms In-Reply-To: <00d901c3a961$d256eda0$6501a8c0@HAL9002> Message-ID: Rocky, The reason this is happening (I think) is that in order to use the old ADH code (I used it myself) you had to design for the smallest resolution, i.e. you manually edited the controls down to that size (or set it all up actually using 640x480). I know of nothing that will go in and resize everything for you, though there may be tools like that. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, November 12, 2003 4:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Change resolution of forms Dear List: I have an application which I developed many years ago on a machine with a screen of resolution 640 x 480. I used the ADH resizing code so the form would fill the screen regardless of the target machine resolution. I don't use that resizing code in my apps anymore and I would like to abandon that now in this app and go with a straight 800 x 600 which is what my screen is set to. But the 640 x 480 resolution seems to be a part of the form somehow and each of the controls as well because if I copy over the controls, they don't size correctly on my 800 x 600 screen. They appear smaller as they would when you put a 640x480 form or control on an 800 x 600 screen. Plus any new forms I've added to this app recently original in 800 x 600 and that's fine. Is there a simple way to make these old forms all 800x600? 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 bchacc at san.rr.com Wed Nov 12 19:14:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Nov 2003 17:14:52 -0800 Subject: [AccessD] Change resolution of forms References: Message-ID: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> I originally created the forms on a machine whose screen res was set to 640 x 480. But there's got to be a way to escape from this trap without re-creating the forms all over on the 600 x 800 machine. Rocky ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 12, 2003 5:03 PM Subject: RE: [AccessD] Change resolution of forms > Rocky, > > The reason this is happening (I think) is that in order to use the old ADH > code (I used it myself) you had to design for the smallest resolution, i.e. > you manually edited the controls down to that size (or set it all up > actually using 640x480). I know of nothing that will go in and resize > everything for you, though there may be tools like that. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, November 12, 2003 4:13 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Change resolution of forms > > > Dear List: > > I have an application which I developed many years ago on a machine with a > screen of resolution 640 x 480. I used the ADH resizing code so the form > would fill the screen regardless of the target machine resolution. > > I don't use that resizing code in my apps anymore and I would like to > abandon that now in this app and go with a straight 800 x 600 which is what > my screen is set to. > > But the 640 x 480 resolution seems to be a part of the form somehow and each > of the controls as well because if I copy over the controls, they don't size > correctly on my 800 x 600 screen. They appear smaller as they would when > you put a 640x480 form or control on an 800 x 600 screen. > > Plus any new forms I've added to this app recently original in 800 x 600 and > that's fine. > > Is there a simple way to make these old forms all 800x600? > > 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 andrew.haslett at ilc.gov.au Wed Nov 12 19:15:45 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 13 Nov 2003 11:45:45 +1030 Subject: [AccessD] POLL: Access Security Message-ID: 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From SDSSoftware at optusnet.com.au Wed Nov 12 19:25:51 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 13 Nov 2003 12:25:51 +1100 Subject: [AccessD] POLL: Access Security References: Message-ID: <02d601c3a985$13ac4f70$8001a8c0@user> Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 12 19:23:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 12 Nov 2003 17:23:09 -0800 Subject: [AccessD] SQL trusted connection problem In-Reply-To: Message-ID: Hi Phil: Check the following out in your registry. If a similar entry does not exist add this entry in, to the client stations: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLSERVER\Client\ConnectTo]"MyServe r"="DBNMPNTW,MyServer" Had to run an automated process on almost sixty stations about a year ago. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Phil Jewett Sent: Wednesday, November 12, 2003 9:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] SQL trusted connection problem When I run my Access 2000 frontend on a Windows XP/Access 2002 box, the SQL Server 2000 login fails, insisting on the 'trusted connection' network login instead of the SQL Server authentication in the ODBC connection string. This was presumably fixed in MDAC 2.6 SP2 - but maybe only for Access 2000. It's still there for Access 2002! This problem is discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;279526 . Any help on this? Thanks, Phil Jewett _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 19:33:13 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 20:33:13 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <02d601c3a985$13ac4f70$8001a8c0@user> Message-ID: Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 12 19:35:16 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 12 Nov 2003 19:35:16 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: <31961463.1068685360095.JavaMail.root@sniper.marix.com> Message-ID: <000001c3a986$64742170$de1811d8@DanWaters> I would consider myself a 4. I know how to deactivate the F11 key and shift bypass keys in code, and have installed a workgroup file in a network folder that was secured to all but network admin people. The database opened fine for all users! Test first - this is not documented! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Wed Nov 12 19:37:38 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Wed, 12 Nov 2003 20:37:38 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: 2 for me please.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 12 19:39:39 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 12 Nov 2003 17:39:39 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Nov 12 19:50:57 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 13 Nov 2003 12:50:57 +1100 Subject: [AccessD] POLL: Access Security References: Message-ID: <032001c3a988$95727ae0$8001a8c0@user> No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Wed Nov 12 20:00:23 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Wed, 12 Nov 2003 21:00:23 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: 1. Actually, I would probably be a 2 except that I got so annoyed with the process that I automated it. It's on my web site at www.goodhall.info/steve/software.html Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 12 20:01:18 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 21:01:18 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <032001c3a988$95727ae0$8001a8c0@user> Message-ID: Ahh.. understood. And why is it your choice to not use Access Security? (yes, that is a leading question ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Wed Nov 12 20:02:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 21:02:44 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Nov 12 20:31:58 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Thu, 13 Nov 2003 13:31:58 +1100 Subject: [AccessD] POLL: Access Security References: Message-ID: <003501c3a98e$50405770$8001a8c0@user> Several reasons: 1. Most of my clients don't need that level of security and protect their data in other ways, 2. I have worked on several sites where the combination of mdb's secured with multiple mdw's was a nightmare for the same people who set them up (ie in house staff), several cases of 'lost' mdw's and I find that too often the original system mdw's are modified (I can remember posting problems with Access security to the list which all ended up being a case of the client's original system.mdw having been modified....headaches) 3. When clients ask me (all the time) to set up security, it has mostly been because they want to make some aspects of the system visible / not visible to groups of users, or certain functions available / not available to groups of users. So a homegrown system which tracks a user group and user name has been enough for me combined with setting my system properties before delivering the mde. It is made clear to the client that this level of security will never prevent them from a professional who is determined to hack in. I'm not expert on this and I look forward to reading what the "1's" have to say...........so many posts have been made to the list on security that it's obviously an issue for most developers at some stage or another. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 1:01 PM Subject: RE: [AccessD] POLL: Access Security Ahh.. understood. And why is it your choice to not use Access Security? (yes, that is a leading question ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Wed Nov 12 20:35:46 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Thu, 13 Nov 2003 13:35:46 +1100 Subject: [AccessD] POLL: Access Security Message-ID: 4)I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definately needed. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From serbach at new.rr.com Wed Nov 12 20:48:37 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 12 Nov 2003 20:48:37 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <20031112204837.1758067974.serbach@new.rr.com> John, I'm a 4.5: I've read about it but never attempted it. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jcolby at colbyconsulting.com Wed Nov 12 20:44:05 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Nov 2003 21:44:05 -0500 Subject: [AccessD] A2K - setting a form invisible on open In-Reply-To: <005c01c3a97a$93181880$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: Ken, * Developers need a way to query LWS about permissions, something like: cmdShowSalary.Visible = LWS.HasPermission(CurrentUser, "Open", "frmSalary") * If LWS could automatically enable/show a control based on a user's permissions to open a particular form (with no coding on the developer's part), that would be _way_ cool. It does both of these things. In fact it takes it one step further and just does it for the developer, code similar to your first example is embedded in the form class. I designed LWS years ago for my own needs. I wanted a means of setting up presentation security quickly and easily. I have run into many scenarios over the years where the user wanted common screens for everyone to use, but wanted some people to be able to do this, some to do that. Some users were data entry and could add records but not delete existing records, others were users who weren't supposed to add records, only edit existing records, but only in this area. Some were supervisors that could "log in" to a normal user's machine to over-ride a mistake. Only Personnel could even view the personnel records, only managers could edit employee eval forms. In a real world database (except for Gustav's for some odd reason ;-) it is not uncommon for data entry to not find existing claimants (for example) and create a new claimant. The SSN was entered wrong and so in they go. Later it is discovered that there are two claimant records for the same person with claims assigned to each of them. Someone has to go in and reassign the claims from one of the dupe claimants to another, then go back and delete the dupe claimant. I set up a combo on the claim form that is bound to the claimant FK in the claim. The regular user doesn't even see this combo, it is hidden to them. A supervisor can log in however and this combo unhides automatically because the supervisor group has view/edit privileges on that control. The supervisor can then select the correct claimant record and the claim is now re-assigned to that claimant record. The supervisor can go in to the claimant form and delete the duplicate record whereas no other group (except administrator) has authority to delete claimants. Managers can view / edit employee eval forms, personnel can view but not edit, no other group can even open them. All of these capabilities are what LWS provides. My original LWS did not use user / groups and thus was a bit of a pain to administer. Since I wrote the original I have learned a lot, classes and withevents included, so I decided a rewrite was in order. Basically the concept is working as we speak. Users / groups / login / assigning authority over form properties (open/visible/AllowEdit/AllowDelete/AllowAdd) to groups / Assigning authority over control properties to groups (visible / Locked / Enabled). All of that functionality exists and is working. I have forms for editing users / groups / form properties, and am working on the form for editing control properties. LWS is close to being a usable system again, using everything I've learned since the last time. It is not intended as a replacement for Access' security, rather a compliment to it. It makes no effort to secure things like queries or tables. It does nothing more than set properties of forms and controls as a form opens to control who can use / see / edit things. Other forms of security (such as setting database properties) should be used as well. Perhaps even Access' built-in security, depending on the needs. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ken Ismert Sent: Wednesday, November 12, 2003 7:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I agree with Lambert that users are nosy and invasive. However, if you lock down the interface, and use an mde in runtime mode, you will keep out all but the most persistent users. I also have to agree with Gustav that most developers will choose to manage the user's access by hiding or disabling controls. This means that the LWS form permission functionality will be rarely needed in production apps. Is this a drawback of the LWS idea? No... I see several opportunities here: * LWS form permissions can act as a failsafe if there are leaks in the UI logic. Because this is an exceptional condition, you wouldn't have to do anything fancy: just display a message and close the form. * Developers need a way to query LWS about permissions, something like: cmdShowSalary.Visible = LWS.HasPermission(CurrentUser, "Open", "frmSalary") * If LWS could automatically enable/show a control based on a user's permissions to open a particular form (with no coding on the developer's part), that would be _way_ cool. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 12, 2003 10:39 AM To: 'Access Developers discussion and problem solving' Cc: 'jcolby at colbyconsulting.com' Subject: RE: [AccessD] A2K - setting a form invisible on open John, I followed your arguments for doing this, and I fully agree with your comments along the lines of, "if the user *can* do it s/he *will* do it". FWIW, here's one way you might want to do what you asked for. If you set the timer interval to 1 millisecond then the form opens without the user seeing anything but the merest flicker on screen. That's in A97, but it should work in 2K as well Here's the form's code module Option Compare Database Option Explicit Const mod_bAllowVisible = False ' simulate user's inability to 'see' this form. Private Sub Form_Activate() ' re-hide the form if a user unhides it manually Me.Visible = mod_bAllowVisible DoEvents End Sub Private Sub Form_Timer() ' Hide the form after it's loaded Me.Visible = mod_bAllowVisible DoEvents ' no need to fire this event any more so... Me.TimerInterval = 0 End Sub Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Wednesday, November 12, 2003 9:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > What you're missing is that THIS IS A WIZARD FOR YOU!!! > > I have no clue what YOU are doing so I have to desing it as if YOU don't > have a clue. > > John W. Colby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, November 11, 2003 11:16 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Am I missing something, John? If you're using a forms class, wouldn't > there be a test in the Form_Open event of the class to see whether the > user is allowed to view the form? Or are you talking about users > managing to find their way into forms already opened hidden? > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 11, 2003 7:52 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K - setting a form invisible on open > > > Gustav, > > >I mean - forms don't just open > > Of course forms "just open". What do you think the switchboard does? > It "just opens" forms. And plenty of developers use the switchboard. > > >and users don't unhide hidden forms > > Of course users unhide forms. Users poke and pry, and go where they > aren't supposed to, and find all the chinks in your armor. If it's not > supposed to be done, and you have locked that sucker down tight, a user > WILL get in there! > > >he/she would need to either make the button not visible or not enabled > >or > pop up a message telling that the user has been revoked rights to view > the details; this I guess would be beyond the goal of your LWS tool. > > No, in fact that is exactly the goal of my tool. It allows you to > create up to 31 groups and unlimited users. You then add users to > groups, ala Windows or SQL Server. You then tell LWS "These groups can > SEE these forms". "These groups can see this control on this form". > etc. > > The flip side of this is that any groups NOT allowed to SEE those forms, > by definition CAN'T SEE those forms. And it is the job of LWS to > guarantee that those users CAN'T see forms they are not supposed to see. > Thus my email - how do I GUARANTEE that a form that the user is not > supposed to see remains invisible? > > The point here is that every one who has responded so far has simply > taken the point of view that "the developer will guarantee" or "users > won't" or "of course the developer will get rid of menus" etc. > > We all know that NONE of these statements are true. Developers > consistently, every day, fail to guarantee... Users, every day, > consistently break into places where they aren't supposed to be, often > quite by accident. And Of course, developers consistently, year after > year fail to remove menus. In fact clients consistently, year after > year DEMAND that menus remain. It is not realistic to start from the > perfect world and assume none of these things happen. > > I have a simple question. How many of us know how to build a table. > The first thing all of you will say (waving hand in the air shouting > frantically) is "I do, I do". But in fact I don't have a clue how to > build a table. Or more correctly I can figure it out using DAO, and I > can figure it out using SQL but what do I do under normal circumstances? > Use a WIZARD. The wizard knows how to build a table, I know how to use a > wizard to build a table. Same with queries. > > I am attempting to design a system (a wizard) that a developer can use > to set up the type of security we are discussing here, which I call > "presentation security". Light Weight Security allows the developer (or > even the client) to set up the groups and users. Once these two tables > are initialized, there is a "wizard" that allows the developer to select > forms and then assign groups that can Open/See/Edit/Delete/AddRec etc. > Whatever the developer decides is stored in a pair of tables (forms and > controls). > > Notice that all of these things (except open) are nothing more than > properties of the form. LWS is attempting to manipulate form properties > based upon information stored in tables. > > The wizard will allow the developer to select a form, see all of the > controls on the form, and select controls that you wish to lock down > such that only specific groups can See/Enter/Edit. > > That is LWS. The group / user login stuff is working. The FORM > security is working (minus a few inconsistencies in being able to hide > the forms). The control security is not finished yet. My post to this > group was an attempt to figure out how to allow LWS to consistently and > reliably control the VISIBILITY of a form. Access does not make it > easy, but I have had a couple of good suggestions that will help me > solve this problem. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, November 11, 2003 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K - setting a form invisible on open > > > Hi John > > I think Ken has a point here and that you maybe are overcomplicating the > task. I mean - forms don't just open, and users don't unhide hidden > forms; how should they be able to do that when the developer has > designed menus and toolbars for his/her app? > > Also, applying any form of security, light weight or not, the developer > will have to walk through the app from a to z and arrange for > modification of menus, buttons, labels ("Double click her to view > details") etc. If a button is labelled "Show details" on a form and it > should be disabled for certain users, he/she would need to either make > the button not visible or not enabled or pop up a message telling that > the user has been revoked rights to view the details; this I guess would > be beyond the goal of your LWS tool. Leaving the button as it is and the > user presses it and the details form just opens hidden is bad UI design > as the user has no chance for knowing what is going on other than "it > doesn't work". > > /gustav > > > > Ken, > > > I am writing a security utility aimed at other developers. It is > > designed to allow YOU (and me as a developer) to manage the > > presentation security > of > > a database front end. IOW, what forms can a user / group open? View? > Add > > records to? Delete records in? Edit records in? Etc. > > > As you can see, I am not necessarily "in control of" the target FE at > design > > time since the FE is YOURS. Why would you want to open a form not > visible? > > Perhaps the form is a filter form that you use to feed values to a > > query. Perhaps the form has a timer ticking that performs some > > process. > Perhaps... > > uh... I have no damned idea what else you might decide to do with a > > form that is open but that a selected group or groups of users are not > > > allowed > to > > see. I know that I personally use a hidden form to force a cleanup of > > > my framework when the database closes. Since a form cannot close > > without > it's > > OnClose firing, I use that to run a Terminate() function that closes > > everything gracefully. So not matter how the db closes, my term() > function > > runs. > > > I cannot allow the users to unhide that since it is a background > processing > > form and they have no business there. > > > In the end though, the answer is I don't know why any given developer > > is going to want to open a form that users can't see, I simply know > > that it happens and I need to provide the developer with a means of > > enforcing this security. > > --- > > > 1. It escapes me why you would even want to manage an open, invisible > form. > > If the user can't view it, then by far the simplist thing to do is not > open > > it. Is there some other issue driving this need that you haven't > elaborated > > on? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 12 20:56:42 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 13 Nov 2003 12:56:42 +1000 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <3FB37F8A.11940.CC8868@localhost> On 12 Nov 2003 at 19:59, John W. Colby wrote: > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > 2.5 I've actually spent more time cracking protected systems and rebuilding them without the built in Access security than I have implementing it. I generally roll my own control systems. MDEs and judicious use of the Username() API call to control form access and to enable/disable controls on open keeps all but the really determined under control. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stephen at bondsoftware.co.nz Wed Nov 12 19:49:51 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 13 Nov 2003 14:49:51 +1300 Subject: [AccessD] POLL: Access Security Message-ID: <70F3D727890C784291D8433E9C418F29088500@server.bondsoftware.co.nz> Make me a 2. Bond > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 2:00 p.m. > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, > rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying > project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe > off, maybe played around with it, but I am confident I could > get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to > learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Wed Nov 12 21:54:48 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 21:54:48 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Hi John, A really lackadaisical "4" I don't just care for it. I roll my own. If you're really interested in Access Security you might want to check out Garry Robinson's new book about it: http://www.apress.com/book/bookDisplay.html?bID=189 John B. From tomk at multiline.com.au Tue Nov 11 22:04:12 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Wed, 12 Nov 2003 12:04:12 +0800 Subject: [AccessD] POLL: Access Security References: Message-ID: <003501c3a8d2$0aeb09c0$0300a8c0@print> I am a definate 5... Although I have never had the need to use any security and have done no study on it .... I generally (if any protection is needed at all) simply disable controls except when the Db is on a particular users machine (call that the administrator) where the controls will be enabled depending on the computer name REgards Tom Keatley From john at winhaven.net Wed Nov 12 22:06:30 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 22:06:30 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> Message-ID: Rocky, Sorry to say but I think you are trapped. You could email Ken Getz and he would probably be able to give you the best answer. Curious, are you abandoning because its not working good or just because you don't need it anymore? John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, November 12, 2003 7:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > I originally created the forms on a machine whose screen res was > set to 640 > x 480. > > But there's got to be a way to escape from this trap without > re-creating the > forms all over on the 600 x 800 machine. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 12, 2003 5:03 PM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky, > > > > The reason this is happening (I think) is that in order to use > the old ADH > > code (I used it myself) you had to design for the smallest resolution, > i.e. > > you manually edited the controls down to that size (or set it all up > > actually using 640x480). I know of nothing that will go in and resize > > everything for you, though there may be tools like that. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Wednesday, November 12, 2003 4:13 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Change resolution of forms > > > > > > Dear List: > > > > I have an application which I developed many years ago on a > machine with a > > screen of resolution 640 x 480. I used the ADH resizing code > so the form > > would fill the screen regardless of the target machine resolution. > > > > I don't use that resizing code in my apps anymore and I would like to > > abandon that now in this app and go with a straight 800 x 600 which is > what > > my screen is set to. > > > > But the 640 x 480 resolution seems to be a part of the form somehow and > each > > of the controls as well because if I copy over the controls, they don't > size > > correctly on my 800 x 600 screen. They appear smaller as they > would when > > you put a 640x480 form or control on an 800 x 600 screen. > > > > Plus any new forms I've added to this app recently original in 800 x 600 > and > > that's fine. > > > > Is there a simple way to make these old forms all 800x600? > > > > 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 tomk at multiline.com.au Tue Nov 11 22:20:05 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Wed, 12 Nov 2003 12:20:05 +0800 Subject: [AccessD] Change resolution of forms References: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> Message-ID: <004801c3a8d4$476bdc10$0300a8c0@print> > > Is there a simple way to make these old forms all 800x600? > > > > MTIA, I had a need recently to change screen resolution as most of the forms were designed in 1280 x 1152 and had to display at a fixed 1024x768 so I bought a code module from http://www.peterssoftware.com/ssfaq.htm It works and re-sizes the forms ...is easy to install as you just change OPENFORM to I think SS_OPEN with Rich Fishers Find&REplace (or similar). The problem I found with the A97 version of the module was that it has trouble rendering the fonts correctly .... It is however still usable ...I was making the forms SMALLER in most cases and you will be making them LARGER ...so your mileage may be different Regards Tom Keatley From john at winhaven.net Wed Nov 12 23:15:46 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 23:15:46 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: <004801c3a8d4$476bdc10$0300a8c0@print> Message-ID: I didn't know about that - did you use the staic resizing to do the deed? There's a light security system there too, JC :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Keatley > Sent: Tuesday, November 11, 2003 10:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > MTIA, > > I had a need recently to change screen resolution as most of the > forms were > designed in 1280 x 1152 and had to display at a fixed 1024x768 so > I bought a > code module from > > http://www.peterssoftware.com/ssfaq.htm > From john at winhaven.net Wed Nov 12 23:38:31 2003 From: john at winhaven.net (John Bartow) Date: Wed, 12 Nov 2003 23:38:31 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: Message-ID: that is supposed to be "Static" resizing :o| > I didn't know about that - did you use the staic resizing to do the deed? > > There's a light security system there too, JC > :o) > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Keatley > > Sent: Tuesday, November 11, 2003 10:20 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > MTIA, > > > > I had a need recently to change screen resolution as most of the > > forms were > > designed in 1280 x 1152 and had to display at a fixed 1024x768 so > > I bought a > > code module from > > > > http://www.peterssoftware.com/ssfaq.htm > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Nov 12 23:51:40 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Nov 2003 21:51:40 -0800 Subject: [AccessD] Change resolution of forms References: Message-ID: <017d01c3a9aa$35a5ab10$6501a8c0@HAL9002> Just don't need it. And the resizing causes other problems. How do I email Ken Getz? Thanks in advance, I'll be gone until Monday. Regards, Rocky ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 12, 2003 8:06 PM Subject: RE: [AccessD] Change resolution of forms > Rocky, > Sorry to say but I think you are trapped. You could email Ken Getz and he > would probably be able to give you the best answer. > > Curious, are you abandoning because its not working good or just because you > don't need it anymore? > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > Beach Access Software > > Sent: Wednesday, November 12, 2003 7:15 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > I originally created the forms on a machine whose screen res was > > set to 640 > > x 480. > > > > But there's got to be a way to escape from this trap without > > re-creating the > > forms all over on the 600 x 800 machine. > > > > Rocky > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > Rocky, > > > > > > The reason this is happening (I think) is that in order to use > > the old ADH > > > code (I used it myself) you had to design for the smallest resolution, > > i.e. > > > you manually edited the controls down to that size (or set it all up > > > actually using 640x480). I know of nothing that will go in and resize > > > everything for you, though there may be tools like that. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > > > Beach Access Software > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > Dear List: > > > > > > I have an application which I developed many years ago on a > > machine with a > > > screen of resolution 640 x 480. I used the ADH resizing code > > so the form > > > would fill the screen regardless of the target machine resolution. > > > > > > I don't use that resizing code in my apps anymore and I would like to > > > abandon that now in this app and go with a straight 800 x 600 which is > > what > > > my screen is set to. > > > > > > But the 640 x 480 resolution seems to be a part of the form somehow and > > each > > > of the controls as well because if I copy over the controls, they don't > > size > > > correctly on my 800 x 600 screen. They appear smaller as they > > would when > > > you put a 640x480 form or control on an 800 x 600 screen. > > > > > > Plus any new forms I've added to this app recently original in 800 x 600 > > and > > > that's fine. > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > 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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Thu Nov 13 00:09:01 2003 From: john at winhaven.net (John Bartow) Date: Thu, 13 Nov 2003 00:09:01 -0600 Subject: [AccessD] Change resolution of forms In-Reply-To: <017d01c3a9aa$35a5ab10$6501a8c0@HAL9002> Message-ID: Rocky, kgetz at developershandbook.com HTH John B. ZZZ time... > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, November 12, 2003 11:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > Just don't need it. And the resizing causes other problems. How > do I email > Ken Getz? > > Thanks in advance, I'll be gone until Monday. > > Regards, > > Rocky > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 12, 2003 8:06 PM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky, > > Sorry to say but I think you are trapped. You could email Ken > Getz and he > > would probably be able to give you the best answer. > > > > Curious, are you abandoning because its not working good or just because > you > > don't need it anymore? > > > > John B. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin - > > > Beach Access Software > > > Sent: Wednesday, November 12, 2003 7:15 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > > I originally created the forms on a machine whose screen res was > > > set to 640 > > > x 480. > > > > > > But there's got to be a way to escape from this trap without > > > re-creating the > > > forms all over on the 600 x 800 machine. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John W. Colby" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > > > > Rocky, > > > > > > > > The reason this is happening (I think) is that in order to use > > > the old ADH > > > > code (I used it myself) you had to design for the smallest > resolution, > > > i.e. > > > > you manually edited the controls down to that size (or set it all up > > > > actually using 640x480). I know of nothing that will go in > and resize > > > > everything for you, though there may be tools like that. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > Smolin - > > > > Beach Access Software > > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > > > > Dear List: > > > > > > > > I have an application which I developed many years ago on a > > > machine with a > > > > screen of resolution 640 x 480. I used the ADH resizing code > > > so the form > > > > would fill the screen regardless of the target machine resolution. > > > > > > > > I don't use that resizing code in my apps anymore and I > would like to > > > > abandon that now in this app and go with a straight 800 x > 600 which is > > > what > > > > my screen is set to. > > > > > > > > But the 640 x 480 resolution seems to be a part of the form somehow > and > > > each > > > > of the controls as well because if I copy over the controls, they > don't > > > size > > > > correctly on my 800 x 600 screen. They appear smaller as they > > > would when > > > > you put a 640x480 form or control on an 800 x 600 screen. > > > > > > > > Plus any new forms I've added to this app recently original in 800 x > 600 > > > and > > > > that's fine. > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > 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 > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 13 02:54:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 09:54:26 +0100 Subject: [AccessD] Array in array Message-ID: <1997073320.20031113095426@cactus.dk> Hi all No I didn't know this is possible but it is. ElementK tips: http://offers.elementkjournals.com/redir3/l7AH_iGAB!http://www.elementkjournals.com/tips.asp recently wrote about it. Here's a sample: Public Sub ArrayInArray() Dim asSub(1) As String Dim avMain(1) As Variant asSub(0) = "Database" asSub(1) = "Access" avMain(0) = asSub asSub(0) = "Advisors" asSub(1) = "Developers" avMain(1) = asSub MsgBox avMain(0)(0) & " " & avMain(1)(0), , "ArrayInArray 0" MsgBox avMain(0)(1) & " " & avMain(1)(1), , "ArrayInArray 1" End Sub /gustav From roz.clarke at donnslaw.co.uk Thu Nov 13 03:04:56 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 13 Nov 2003 09:04:56 -0000 Subject: [AccessD] POLL: Access Security Message-ID: <61F915314798D311A2F800A0C9C83188047C6740@dibble.observatory.donnslaw.co.uk> 3 -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robert at servicexp.com Wed Nov 12 19:36:29 2003 From: Robert at servicexp.com (Robert Gracie) Date: Wed, 12 Nov 2003 20:36:29 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: 2 for me please.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Nov 13 03:17:39 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Nov 2003 09:17:39 -0000 Subject: [AccessD] Change resolution of forms In-Reply-To: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> Message-ID: <000601c3a9c6$fc7b8cc0$b274d0d5@minster33c3r25> Rocky Is this any use to you? http://www.peterssoftware.com/ss2.htm Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 13 November 2003 01:15 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > I originally created the forms on a machine whose screen res > was set to 640 x 480. > > But there's got to be a way to escape from this trap without > re-creating the forms all over on the 600 x 800 machine. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 12, 2003 5:03 PM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky, > > > > The reason this is happening (I think) is that in order to > use the old > > ADH code (I used it myself) you had to design for the smallest > > resolution, > i.e. > > you manually edited the controls down to that size (or set > it all up > > actually using 640x480). I know of nothing that will go in > and resize > > everything for you, though there may be tools like that. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin > > - Beach Access Software > > Sent: Wednesday, November 12, 2003 4:13 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Change resolution of forms > > > > > > Dear List: > > > > I have an application which I developed many years ago on a machine > > with a screen of resolution 640 x 480. I used the ADH > resizing code > > so the form would fill the screen regardless of the target machine > > resolution. > > > > I don't use that resizing code in my apps anymore and I > would like to > > abandon that now in this app and go with a straight 800 x > 600 which is > what > > my screen is set to. > > > > But the 640 x 480 resolution seems to be a part of the form somehow > > and > each > > of the controls as well because if I copy over the controls, they > > don't > size > > correctly on my 800 x 600 screen. They appear smaller as > they would > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > Plus any new forms I've added to this app recently original > in 800 x > > 600 > and > > that's fine. > > > > Is there a simple way to make these old forms all 800x600? > > > > 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 andy at minstersystems.co.uk Thu Nov 13 03:21:03 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Nov 2003 09:21:03 -0000 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <000c01c3a9c7$7621ab90$b274d0d5@minster33c3r25> Snap. Put me in Andrew's no 6 category. See, we even roll-our-own categories. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Haslett, Andrew > Sent: 13 November 2003 01:16 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 6) I don't use the built in security functions of Access. I > Use MDE's and roll my own security depending on the > requirements of the client. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 11:30 AM > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' > built-in security. By security I do NOT mean the database > properties, rather using workgroups / users to secure forms, > tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database down so tight I can't even get back in. No > help / books needed. > 2) I am fluent with Access security. I can get the job done > but it definitely takes a few hours. I probably won't need > the help / books. > 3) I have done Access Security on at least one real paying > project. I would need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe off, maybe played around with it, but I am > confident I could get the job done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has > ever been willing to pay for it and I have always had other > things to learn / do so I just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > IMPORTANT - > PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or > not. _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From roz.clarke at donnslaw.co.uk Thu Nov 13 03:27:06 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 13 Nov 2003 09:27:06 -0000 Subject: [AccessD] POLL: Access Security Message-ID: <61F915314798D311A2F800A0C9C83188047C6745@dibble.observatory.donnslaw.co.uk> I guess I fit in this category as well as #3 :) Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 13 November 2003 09:21 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Snap. Put me in Andrew's no 6 category. See, we even roll-our-own categories. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Haslett, Andrew > Sent: 13 November 2003 01:16 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 6) I don't use the built in security functions of Access. I > Use MDE's and roll my own security depending on the > requirements of the client. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 11:30 AM > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' > built-in security. By security I do NOT mean the database > properties, rather using workgroups / users to secure forms, > tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database down so tight I can't even get back in. No > help / books needed. > 2) I am fluent with Access security. I can get the job done > but it definitely takes a few hours. I probably won't need > the help / books. > 3) I have done Access Security on at least one real paying > project. I would need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe off, maybe played around with it, but I am > confident I could get the job done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has > ever been willing to pay for it and I have always had other > things to learn / do so I just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > IMPORTANT - > PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or > not. _______________________________________________ > 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 paul.hartland at fsmail.net Thu Nov 13 03:32:16 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 13 Nov 2003 10:32:16 +0100 (CET) Subject: [AccessD] POLL: Access Security Message-ID: <22380264.1068715936355.JavaMail.www@wwinf3001> Is there a category for knowing that access has built in security, has tried to get it to work, has never got it to work, and has given up on it unless I get a brainwave and step-by-step idiots guide on it. Paul Hartland Message date : Nov 13 2003, 09:27 AM >From : Roz Clarke To : 'Access Developers discussion and problem solving' Copy to : Subject : RE: [AccessD] POLL: Access Security I guess I fit in this category as well as #3 :) Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 13 November 2003 09:21 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Snap. Put me in Andrew's no 6 category. See, we even roll-our-own categories. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Haslett, Andrew > Sent: 13 November 2003 01:16 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 6) I don't use the built in security functions of Access. I > Use MDE's and roll my own security depending on the > requirements of the client. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, 13 November 2003 11:30 AM > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' > built-in security. By security I do NOT mean the database > properties, rather using workgroups / users to secure forms, > tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily > lock a database down so tight I can't even get back in. No > help / books needed. > 2) I am fluent with Access security. I can get the job done > but it definitely takes a few hours. I probably won't need > the help / books. > 3) I have done Access Security on at least one real paying > project. I would need help / books to do it again. > 4) I have heard about Access Security, read about it, managed > to shoot a toe off, maybe played around with it, but I am > confident I could get the job done. Books / help definitly needed. > 5) Access has built in security? What is this and where > would I go to learn it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would > appreciate it. > > As for myself, I must admit I rate a solid 4. No client has > ever been willing to pay for it and I have always had other > things to learn / do so I just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > IMPORTANT - > PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or > not. _______________________________________________ > 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 From Tim.Pain at sc.akzonobel.com Thu Nov 13 03:35:19 2003 From: Tim.Pain at sc.akzonobel.com (Pain, T. (Tim)) Date: Thu, 13 Nov 2003 09:35:19 -0000 Subject: [AccessD] POLL: Access Security Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6AAD321@lbrn12.d20.intra> Make me a 4, definitly need the books. Tim -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JOHNWARDBELL at aol.com Thu Nov 13 03:49:55 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Thu, 13 Nov 2003 04:49:55 EST Subject: [AccessD] POLL: Access Security Message-ID: <3a.40e5eadb.2ce4adc3@aol.com> John No 4 .....just. Wardb From tinanfields at torchlake.com Thu Nov 13 05:33:11 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 13 Nov 2003 06:33:11 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <3FB36BF7.6000707@torchlake.com> Hi John, I'm a 3. It was a tedious job for me, because I had to find my way through everything. I probably didn't look in the right places for the help I needed - and I had a hard time understanding the help I did find. Tina John W. Colby wrote: >I'd like to take a poll regarding your knowledge of Access' built-in >security. By security I do NOT mean the database properties, rather using >workgroups / users to secure forms, tables, queries etc. > >Anyone interested in participating please choose one of the following: > >1) I am an Access security guru. I can quickly and easily lock a database >down so tight I can't even get back in. No help / books needed. >2) I am fluent with Access security. I can get the job done but it >definitely takes a few hours. I probably won't need the help / books. >3) I have done Access Security on at least one real paying project. I would >need help / books to do it again. >4) I have heard about Access Security, read about it, managed to shoot a toe >off, maybe played around with it, but I am confident I could get the job >done. Books / help definitly needed. >5) Access has built in security? What is this and where would I go to learn >it? Why haven't I ever seen these books / help? > >If you would please just select a number and reply I would appreciate it. > >As for myself, I must admit I rate a solid 4. No client has ever been >willing to pay for it and I have always had other things to learn / do so I >just never did it (for real). > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From djkr at msn.com Thu Nov 13 06:25:57 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Thu, 13 Nov 2003 12:25:57 -0000 Subject: [AccessD] POLL: Access Security In-Reply-To: <61F915314798D311A2F800A0C9C83188047C6745@dibble.observatory.donnslaw.co.uk> Message-ID: <001301c3a9e1$4a1dab60$bf00a8c0@dabsight> 6 for me, too. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: 13 November 2003 09:27 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > I guess I fit in this category as well as #3 > > :) > > Roz > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: 13 November 2003 09:21 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > Snap. Put me in Andrew's no 6 category. See, we even > roll-our-own categories. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Haslett, Andrew > > Sent: 13 November 2003 01:16 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] POLL: Access Security > > > > > > 6) I don't use the built in security functions of Access. I > Use MDE's > > and roll my own security depending on the requirements of > the client. > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, 13 November 2003 11:30 AM > > To: AccessD > > Subject: [AccessD] POLL: Access Security > > > > > > I'd like to take a poll regarding your knowledge of Access' > built-in > > security. By security I do NOT mean the database properties, rather > > using workgroups / users to secure forms, tables, queries etc. > > > > Anyone interested in participating please choose one of the > following: > > > > 1) I am an Access security guru. I can quickly and easily lock a > > database down so tight I can't even get back in. No help / books > > needed. > > 2) I am fluent with Access security. I can get the job done > > but it definitely takes a few hours. I probably won't need > > the help / books. > > 3) I have done Access Security on at least one real paying > > project. I would need help / books to do it again. > > 4) I have heard about Access Security, read about it, managed > > to shoot a toe off, maybe played around with it, but I am > > confident I could get the job done. Books / help definitly needed. > > 5) Access has built in security? What is this and where > > would I go to learn it? Why haven't I ever seen these books / help? > > > > If you would please just select a number and reply I would > appreciate > > it. > > > > As for myself, I must admit I rate a solid 4. No client > has ever been > > willing to pay for it and I have always had other things to > learn / do > > so I just never did it (for real). > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > IMPORTANT - > > PLEASE READ ******************** > > This email and any files transmitted with it are > confidential and may > > contain information protected by law from disclosure. > > If you have received this message in error, please notify > the sender > > immediately and delete this email from your system. > > No warranty is given that this email or files, if attached to this > > email, are free from computer viruses or other defects. They > > are provided on the basis the user assumes all responsibility for > > loss, damage or consequence resulting directly or indirectly from > > their use, whether caused by the negligence of the sender or > > not. _______________________________________________ > > 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 Erwin.Craps at ithelps.be Thu Nov 13 06:30:43 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 13:30:43 +0100 Subject: [AccessD] POLL: Access Security Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DCE@stekelbes.ithelps.local> Kath, I totaly agree with you. I believe I'm a 3, but I find Access security insuffcient and unpractical to use so I stopped using it (for same reasons as you state in point 2, I want to add that a office repair each time reset or overwrites your MDW file). Further more my clients are SME's and I develop taylor made applications for them. Belgian law (I believe it a European guideline) says that with Taylor made software you are obligated to deliver the source code of your application to the customer. So I don't see the point of protecting it furthermore than wat you stipulate in point 1 and 3. Only thing that a non-profesional can not change is the splash/info/license form with wy name, logo etc on it. I would like to protect that better, but that the only thing. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Thursday, November 13, 2003 3:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Several reasons: 1. Most of my clients don't need that level of security and protect their data in other ways, 2. I have worked on several sites where the combination of mdb's secured with multiple mdw's was a nightmare for the same people who set them up (ie in house staff), several cases of 'lost' mdw's and I find that too often the original system mdw's are modified (I can remember posting problems with Access security to the list which all ended up being a case of the client's original system.mdw having been modified....headaches) 3. When clients ask me (all the time) to set up security, it has mostly been because they want to make some aspects of the system visible / not visible to groups of users, or certain functions available / not available to groups of users. So a homegrown system which tracks a user group and user name has been enough for me combined with setting my system properties before delivering the mde. It is made clear to the client that this level of security will never prevent them from a professional who is determined to hack in. I'm not expert on this and I look forward to reading what the "1's" have to say...........so many posts have been made to the list on security that it's obviously an issue for most developers at some stage or another. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 1:01 PM Subject: RE: [AccessD] POLL: Access Security Ahh.. understood. And why is it your choice to not use Access Security? (yes, that is a leading question ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security No - I have (years ago) trained advanced users in Access security over and over again, so the basics had to become second knowledge to me. I was asked by a client when writing a large-ish system to specifically use security so I did that. I have helped clients who have secured databases with setting up shortcuts to specifically call their mdw files, as they often have several mdb's secured and several mdw's. I have helped clients who have corrupted their system mdw's restore them back etc etc. So it may take me some basic revision now that I do not use it (my choice and totally my preference) but not much. Kath ----- Original Message ----- From: John W. Colby To: Access Developers discussion and problem solving Sent: Thursday, November 13, 2003 12:33 PM Subject: RE: [AccessD] POLL: Access Security Kath, Pardon me if I seem incredulous but you are saying that you have used Access Security once, three years ago, but could secure a database in a few hours without referencing any books or help? Is this the same security I am looking at? Am I making it harder than it is? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Wednesday, November 12, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Yeah - I would be a 2, but unless the client specifically insists on that form of security (it did happen once but 3 years ago) I use my own login / security procedure. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Thursday, November 13, 2003 12:15 PM Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 13 06:40:10 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 13 Nov 2003 06:40:10 -0600 Subject: [AccessD] A2K: Error 3356 Message-ID: <20031113064010.1569556867.serbach@new.rr.com> Dear Group, One of my applications is causing a fairly consistent error: "You attempted to open a database that is already opened exclusively by user 'Admin' on machine XXXX. Try again when the database is available." The user on machine XXXX doesn't open the database exclusively. I've checked her Access settings under Tools | Options | Advanced. The Default Open Mode is Shared, not Exclusive. Could you help me with this one? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jimdettman at earthlink.net Thu Nov 13 06:45:57 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 13 Nov 2003 07:45:57 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: John, I rate a solid 2, almost straying into 1 as far as "no help / books needed". But as far as locking it so tight that even I can't get into it, that's not possible as I know how to break it and I know it's not worth bothering with it in the first place. 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 John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Thu Nov 13 06:50:07 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 13 Nov 2003 06:50:07 -0600 Subject: [AccessD] A2K: Error 3356 Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C936@cntexchange.pgdp.usec.com> Is it an Access 97 database & they are opening it in A2K? I had this problem all the time because I used 97 & when I would make changes & compile the database, the users of 2K would get that message. They should only get the message once, the next time they open it they won't get that message (unless you go in & compile, etc again). Virginia -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 13, 2003 6:40 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Error 3356 Dear Group, One of my applications is causing a fairly consistent error: "You attempted to open a database that is already opened exclusively by user 'Admin' on machine XXXX. Try again when the database is available." The user on machine XXXX doesn't open the database exclusively. I've checked her Access settings under Tools | Options | Advanced. The Default Open Mode is Shared, not Exclusive. Could you help me with this one? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 13 06:56:08 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 13:56:08 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DCE@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DCE@stekelbes.ithelps.local> Message-ID: <621575433.20031113135608@cactus.dk> Hi Erwin You can supply your app with your own mdw, say erwin.mdw. Office won't overwrite that. For that kind of apps we create shortcuts (menu entries) which makes it easy for the user to open the app with the needed command line. /gustav > .. I want to add that a office repair each time reset or overwrites > your MDW file). From bchacc at san.rr.com Thu Nov 13 07:19:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 05:19:55 -0800 Subject: [AccessD] Change resolution of forms References: <000601c3a9c6$fc7b8cc0$b274d0d5@minster33c3r25> Message-ID: <003301c3a9e8$d493aae0$6501a8c0@HAL9002> It looks like the same functionality as I have now with the ADH resizing code - dynamic control resizing. Is there something more to it? I'd like to get rid of the resizing altogether. Rocky ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 13, 2003 1:17 AM Subject: RE: [AccessD] Change resolution of forms > Rocky > Is this any use to you? http://www.peterssoftware.com/ss2.htm > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 13 November 2003 01:15 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > I originally created the forms on a machine whose screen res > > was set to 640 x 480. > > > > But there's got to be a way to escape from this trap without > > re-creating the forms all over on the 600 x 800 machine. > > > > Rocky > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > Rocky, > > > > > > The reason this is happening (I think) is that in order to > > use the old > > > ADH code (I used it myself) you had to design for the smallest > > > resolution, > > i.e. > > > you manually edited the controls down to that size (or set > > it all up > > > actually using 640x480). I know of nothing that will go in > > and resize > > > everything for you, though there may be tools like that. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Rocky Smolin > > > - Beach Access Software > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > Dear List: > > > > > > I have an application which I developed many years ago on a machine > > > with a screen of resolution 640 x 480. I used the ADH > > resizing code > > > so the form would fill the screen regardless of the target machine > > > resolution. > > > > > > I don't use that resizing code in my apps anymore and I > > would like to > > > abandon that now in this app and go with a straight 800 x > > 600 which is > > what > > > my screen is set to. > > > > > > But the 640 x 480 resolution seems to be a part of the form somehow > > > and > > each > > > of the controls as well because if I copy over the controls, they > > > don't > > size > > > correctly on my 800 x 600 screen. They appear smaller as > > they would > > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > > > Plus any new forms I've added to this app recently original > > in 800 x > > > 600 > > and > > > that's fine. > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > 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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Thu Nov 13 07:33:37 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 08:33:37 -0500 Subject: [AccessD] POLL: Access Security Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F87F@TTNEXCHSRV1.hshhp.com> Count me a 4.2 (played with it briefly but know nothing about it) Jim DeMarco -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JHewson at karta.com Thu Nov 13 07:33:30 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 13 Nov 2003 07:33:30 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <4AE733BBEEE72647A9F950F7275F262E112577@nt04.karta.com> I'm a 4. I tried to set security once. Quit after an hour or so. The help obfuscated the entire issue and the Books didn't help either... Actually... maybe a 4.5... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CSPELL at jhuccp.org Thu Nov 13 07:40:09 2003 From: CSPELL at jhuccp.org (CYNTHIA SPELL) Date: Thu, 13 Nov 2003 08:40:09 -0500 Subject: [AccessD] POLL: Access Security Message-ID: I guess I'm about a 3.5. I had it ready to go at one point, but our InfoSys group decided not to let us roll it out - had some concerns over loss of the workgroup file or something.... Cindy >>> Jdemarco at hshhp.org 11/13/03 08:33AM >>> Count me a 4.2 (played with it briefly but know nothing about it) Jim DeMarco -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Nov 13 07:46:46 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 13 Nov 2003 08:46:46 -0500 Subject: [AccessD] POLL: Access Security Message-ID: 4...But, without all the confidence;) Since air-tight security has not been the highest priority in my projects, I'm really more of a lackadaisical "6" to be honest. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Nov 13 07:51:10 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 05:51:10 -0800 Subject: [AccessD] POLL: Access Security References: Message-ID: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> 4.5 Had to fool with it once on a legacy app and got around it. But it was a big PITA. I generally roll my own by having the user log in with a password. They get one of three levels of access to the whole system - 1) read only, 2) read/write, 3) admin. I put their access level in a global variable. Each form has to check the access level then to see if they are allowed to do a certain function. So far, the three levels have been adequate and no one except for one client has wanted function of field level control. Rocky ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Wednesday, November 12, 2003 4:59 PM Subject: [AccessD] POLL: Access Security > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbhuffman at mdh.org Thu Nov 13 07:51:40 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Thu, 13 Nov 2003 07:51:40 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <0FFC98AA5943D211A2E90000F87A5B48026B1F74@NEWMAN_EXC> I'd say I'm a 2-3. My company has used Access Security since before I came to work here 4 years ago. However, I don't like the lack of control. I like to roll my own security setup. Jarad Huffman -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 13 07:55:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 14:55:54 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> References: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> Message-ID: <5625161300.20031113145554@cactus.dk> Hi Rocky So why is JC's world so much different from yours and mine?? /gustav > Had to fool with it once on a legacy app and got around it. But it was a > big PITA. > I generally roll my own by having the user log in with a password. They get > one of three levels of access to the whole system - 1) read only, 2) > read/write, 3) admin. I put their access level in a global variable. Each > form has to check the access level then to see if they are allowed to do a > certain function. So far, the three levels have been adequate and no one > except for one client has wanted function of field level control. From Sloann at cdnet.cod.edu Thu Nov 13 07:59:05 2003 From: Sloann at cdnet.cod.edu (Sloan, Ned) Date: Thu, 13 Nov 2003 07:59:05 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <5F72A76512A52A4EA1785F62B70D2956039E884F@mail.cod.edu> I am rusty, but rate myself between a 2 and a 3. We have implemented a number of applications over the years at our institution using it and it has its good and its bad points, and it has limitations. Ned Sloan Systems Analyst, Administrative Systems Information Technology College Of DuPage 425 Fawell Blvd. Glen Ellyn, Il. 60137 (630) 942-2627 sloann at cdnet.cod.edu -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 13 08:00:38 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 13 Nov 2003 08:00:38 -0600 Subject: [AccessD] POLL: Access Security Message-ID: 4.5 I know its there but haven't had to use it. Gary Kjos garykjos at hotmail.com _________________________________________________________________ Crave some Miles Davis or Grateful Dead? Your old favorites are always playing on MSN Radio Plus. Trial month free! http://join.msn.com/?page=offers/premiumradio From weeden1949 at hotmail.com Thu Nov 13 08:04:36 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Thu, 13 Nov 2003 08:04:36 -0600 Subject: [AccessD] POLL: Access Security References: Message-ID: John: I'm probably a hefty 2. I doubt I'd need to have any books...We have one large County (Recorder's Office) client that has the full Access security invoked (I've done others, but not on this scale). It's been years in the making (was just installed about a year and a half ago and is still working...) and it took a lot of time to get it all tweaked properly (not Access security issues but the Client kept changing the requirements....:o). And only ONCE did we get it locked down so well neither of us (two programmers) could get into it. Taa daa! Praise the Lord for BACKUP copies. The security on this system works well, but one caveat, and it's probably true with ANY type of global security, is that when you need to make changes, additions, etc., you have to make sure that whatever it is you are changing or adding, security must be a major part of the modification. Since I deal with questions from this client weekly, if not daily, I get to keep up on all their security as well...!!! Greg Smith weeden1949 at hotmail.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Wednesday, November 12, 2003 6:59 PM Subject: [AccessD] POLL: Access Security > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Nov 13 08:08:57 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 15:08:57 +0100 Subject: [AccessD] POLL: Access Security Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DCF@stekelbes.ithelps.local> I know...I know... At least I supose you mean that you can give msaccess.exe an /wrkgrp command line option. Or use the /profile and a profile file. I only use MDW for developing purposes indside the office and just want it always to be my company.mdw group... Specifying company.mdw for default gets reset to system.mdw in the user profile folder.... Or is it in the program Files/common folder... ? Don't bother, I just overcopy all system.mdw with company.mdw... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 1:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Hi Erwin You can supply your app with your own mdw, say erwin.mdw. Office won't overwrite that. For that kind of apps we create shortcuts (menu entries) which makes it easy for the user to open the app with the needed command line. /gustav > .. I want to add that a office repair each time reset or overwrites > your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Nov 13 08:08:20 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 13 Nov 2003 08:08:20 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C6292CC@natexch.jenkens.com> 2 Have had a whole series of HR databases with sensitive data that needs locked tight. It takes me a while and I avoid it if I can. Secured databases are a PITA. I inherited a database locked so tight it was darn near impenetrable. All of this for info that was common knowledge in the workplace and not all that sensitive outside it. The thing is nearly impossible to modify or troubleshoot and I would love to give the guy that wrote this a piece of my mind. Debbie -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From ranthony at wrsystems.com Thu Nov 13 08:19:19 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 13 Nov 2003 09:19:19 -0500 Subject: [AccessD] POLL: Access Security Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641288B7@mail2.wrsystems.com> Same here, a strong 3 to a weak 2. I've got two apps with tight security and 3 others without/or use SQL Server for security. -----Original Message----- From: Sloan, Ned [mailto:Sloann at cdnet.cod.edu] Sent: Thursday, November 13, 2003 8:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security I am rusty, but rate myself between a 2 and a 3. We have implemented a number of applications over the years at our institution using it and it has its good and its bad points, and it has limitations. Ned Sloan Systems Analyst, Administrative Systems Information Technology College Of DuPage 425 Fawell Blvd. Glen Ellyn, Il. 60137 (630) 942-2627 sloann at cdnet.cod.edu -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 13 08:20:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 15:20:38 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DCF@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DCF@stekelbes.ithelps.local> Message-ID: <15826645003.20031113152038@cactus.dk> Hi Erwin In my opinion it is not a good idea to have a special mdw assigned as the default. I have a shortcut for such an Access with the wkrgrp switch opening a secured database. /gustav > I know...I know... > At least I supose you mean that you can give msaccess.exe an /wrkgrp > command line option. > Or use the /profile and a profile file. > I only use MDW for developing purposes indside the office and just want > it always to be my company.mdw group... > Specifying company.mdw for default gets reset to system.mdw in the user > profile folder.... Or is it in the program Files/common folder... ? > Don't bother, I just overcopy all system.mdw with company.mdw... > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, November 13, 2003 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > You can supply your app with your own mdw, say erwin.mdw. Office won't > overwrite that. For that kind of apps we create shortcuts (menu entries) > which makes it easy for the user to open the app with the needed command > line. > /gustav >> .. I want to add that a office repair each time reset or overwrites >> your MDW file). From serbach at new.rr.com Thu Nov 13 08:34:34 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 13 Nov 2003 08:34:34 -0600 Subject: [AccessD] A2K: Error 3356 Message-ID: <20031113083434.1892175602.serbach@new.rr.com> Virginia, >> Is it an Access 97 database & they are opening it in A2K? << No, this app was developed from the get-go in Access 2000. You've given me an idea, though. I'm using a series of routines developed by a fellow in Chile to update the application's front end on each user's workstation. I've used the code successfully in Access 97 apps. This is the only time I've used it in an Access 2K application. My client has got a knowledgable user on staff that makes updates to reports, queries and such and knows how to make an updated version for distribution on the LAN. Hmmm, I wonder if they only see this message when that gal has updated the app? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From serbach at new.rr.com Thu Nov 13 08:37:22 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 13 Nov 2003 08:37:22 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <20031113083722.1712100296.serbach@new.rr.com> Jim, >> But as far as locking it so tight that even I can't get into it, that's not possible as I know how to break it and I know it's not worth bothering with it in the first place. << Have you demonstrated to clients how to break the security? I wonder if that might be an effective argument for implementing Access security for one of my clients who's been curious about it. I, as a 4.5 security user, am not real excited about implementing Access security. What would you show a client who had a bug up his rear about Access "security?" Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From bchacc at san.rr.com Thu Nov 13 08:32:27 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 06:32:27 -0800 Subject: [AccessD] Change resolution of forms References: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002> <004801c3a8d4$476bdc10$0300a8c0@print> Message-ID: <009901c3a9f2$f67f1810$6501a8c0@HAL9002> Tom: This seems to be a better solution than the ADH code but I'm trying to get rid of dynamic resizing altogether. Any ideas on that? Regards, Rocky ----- Original Message ----- From: "Tom Keatley" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 11, 2003 8:20 PM Subject: Re: [AccessD] Change resolution of forms > > > Is there a simple way to make these old forms all 800x600? > > > > > > MTIA, > > I had a need recently to change screen resolution as most of the forms were > designed in 1280 x 1152 and had to display at a fixed 1024x768 so I bought a > code module from > > http://www.peterssoftware.com/ssfaq.htm > > It works and re-sizes the forms ...is easy to install as you just change > OPENFORM to I think SS_OPEN with Rich Fishers Find&REplace (or similar). > The problem I found with the A97 version of the module was that it has > trouble rendering the fonts correctly .... It is however still usable ...I > was making the forms SMALLER in most cases and you will be making them > LARGER ...so your mileage may be different > > Regards > > Tom Keatley > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Nov 13 08:40:22 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 15:40:22 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD0@stekelbes.ithelps.local> I believe I'm not with with you.... First, to set thing strait. It's only in our office for develepmont I'm speaking. Second. You mean you have a shorcut that starts msaccess.exe with /workgroup xxx? Problem with that is that you need a hard path to msaccess.exe and hard paths is something I try to avoid. I always use roaming profiles and hard paths can problematic. I supose solutions are out there, but I already played alot with them and they are often OS dependent. You know, Gustav, It's not that a big deal... It's rarely I do a repair... And I don't use workgroups anymore at customer sites. I use the network user name and match them with the users in the database (user management based on tables/forms). If a network user is unkown in the database it exits instantly (after a msgbox). Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Hi Erwin In my opinion it is not a good idea to have a special mdw assigned as the default. I have a shortcut for such an Access with the wkrgrp switch opening a secured database. /gustav > I know...I know... > At least I supose you mean that you can give msaccess.exe an /wrkgrp > command line option. Or use the /profile and a profile file. > I only use MDW for developing purposes indside the office and just > want it always to be my company.mdw group... > Specifying company.mdw for default gets reset to system.mdw in the > user profile folder.... Or is it in the program Files/common folder... > ? > Don't bother, I just overcopy all system.mdw with company.mdw... > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 13, 2003 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > You can supply your app with your own mdw, say erwin.mdw. Office won't > overwrite that. For that kind of apps we create shortcuts (menu > entries) which makes it easy for the user to open the app with the > needed command line. > /gustav >> .. I want to add that a office repair each time reset or overwrites >> your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Nov 13 08:40:43 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 06:40:43 -0800 Subject: [AccessD] POLL: Access Security References: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> <5625161300.20031113145554@cactus.dk> Message-ID: <00a501c3a9f4$1e5e8090$6501a8c0@HAL9002> Hahahahahahahahahah....sorry. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 5:55 AM Subject: Re: [AccessD] POLL: Access Security > Hi Rocky > > So why is JC's world so much different from yours and mine?? > > /gustav > > > > Had to fool with it once on a legacy app and got around it. But it was a > > big PITA. > > > I generally roll my own by having the user log in with a password. They get > > one of three levels of access to the whole system - 1) read only, 2) > > read/write, 3) admin. I put their access level in a global variable. Each > > form has to check the access level then to see if they are allowed to do a > > certain function. So far, the three levels have been adequate and no one > > except for one client has wanted function of field level control. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From andy at minstersystems.co.uk Thu Nov 13 08:44:46 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Nov 2003 14:44:46 -0000 Subject: [AccessD] Change resolution of forms In-Reply-To: <003301c3a9e8$d493aae0$6501a8c0@HAL9002> Message-ID: <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> Rocky I had something similar occur and I adapted the ADH code to do the resizing of evey control, then passed through the forms collection, calling it to do each form then saving it. I've been looking for the code and can't seem to find it, but essentially that's what it did: -loop through the forms collection -open each form -apply the resizing -save and close the form I had to fiddle with the resizing ratios but once I got it working on one form it did the trick. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 13 November 2003 13:20 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change resolution of forms > > > It looks like the same functionality as I have now with the > ADH resizing code - dynamic control resizing. > > Is there something more to it? I'd like to get rid of the > resizing altogether. > > Rocky > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, November 13, 2003 1:17 AM > Subject: RE: [AccessD] Change resolution of forms > > > > Rocky > > Is this any use to you? http://www.peterssoftware.com/ss2.htm > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > Smolin - Beach Access Software > > > Sent: 13 November 2003 01:15 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > > I originally created the forms on a machine whose screen > res was set > > > to 640 x 480. > > > > > > But there's got to be a way to escape from this trap without > > > re-creating the forms all over on the 600 x 800 machine. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "John W. Colby" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > > > > Rocky, > > > > > > > > The reason this is happening (I think) is that in order to > > > use the old > > > > ADH code (I used it myself) you had to design for the smallest > > > > resolution, > > > i.e. > > > > you manually edited the controls down to that size (or set > > > it all up > > > > actually using 640x480). I know of nothing that will go in > > > and resize > > > > everything for you, though there may be tools like that. > > > > > > > > John W. Colby > > > > www.colbyconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Rocky Smolin > > > > - Beach Access Software > > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > > > > Dear List: > > > > > > > > I have an application which I developed many years ago on a > > > > machine with a screen of resolution 640 x 480. I used the ADH > > > resizing code > > > > so the form would fill the screen regardless of the > target machine > > > > resolution. > > > > > > > > I don't use that resizing code in my apps anymore and I > > > would like to > > > > abandon that now in this app and go with a straight 800 x > > > 600 which is > > > what > > > > my screen is set to. > > > > > > > > But the 640 x 480 resolution seems to be a part of the form > > > > somehow and > > > each > > > > of the controls as well because if I copy over the > controls, they > > > > don't > > > size > > > > correctly on my 800 x 600 screen. They appear smaller as > > > they would > > > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > > > > > Plus any new forms I've added to this app recently original > > > in 800 x > > > > 600 > > > and > > > > that's fine. > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > 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 > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 bchacc at san.rr.com Thu Nov 13 08:59:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 06:59:26 -0800 Subject: [AccessD] Change resolution of forms References: <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> Message-ID: <00c101c3a9f6$bbd281d0$6501a8c0@HAL9002> Andy: I'll give that a try. Probably just crib the ADH code and modify. I'll be away 'til Sunday but I'll give it a whirl next week and let you know. Best, Rocky ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 13, 2003 6:44 AM Subject: RE: [AccessD] Change resolution of forms > Rocky > I had something similar occur and I adapted the ADH code to do the resizing > of evey control, then passed through the forms collection, calling it to do > each form then saving it. I've been looking for the code and can't seem to > find it, but essentially that's what it did: > -loop through the forms collection > -open each form > -apply the resizing > -save and close the form > > I had to fiddle with the resizing ratios but once I got it working on one > form it did the trick. > > Andy Lacey > http://www.minstersystems.co.uk > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 13 November 2003 13:20 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Change resolution of forms > > > > > > It looks like the same functionality as I have now with the > > ADH resizing code - dynamic control resizing. > > > > Is there something more to it? I'd like to get rid of the > > resizing altogether. > > > > Rocky > > > > ----- Original Message ----- > > From: "Andy Lacey" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Thursday, November 13, 2003 1:17 AM > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > Rocky > > > Is this any use to you? http://www.peterssoftware.com/ss2.htm > > > > > > Andy Lacey > > > http://www.minstersystems.co.uk > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > > Smolin - Beach Access Software > > > > Sent: 13 November 2003 01:15 > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Change resolution of forms > > > > > > > > > > > > I originally created the forms on a machine whose screen > > res was set > > > > to 640 x 480. > > > > > > > > But there's got to be a way to escape from this trap without > > > > re-creating the forms all over on the 600 x 800 machine. > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "John W. Colby" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Wednesday, November 12, 2003 5:03 PM > > > > Subject: RE: [AccessD] Change resolution of forms > > > > > > > > > > > > > Rocky, > > > > > > > > > > The reason this is happening (I think) is that in order to > > > > use the old > > > > > ADH code (I used it myself) you had to design for the smallest > > > > > resolution, > > > > i.e. > > > > > you manually edited the controls down to that size (or set > > > > it all up > > > > > actually using 640x480). I know of nothing that will go in > > > > and resize > > > > > everything for you, though there may be tools like that. > > > > > > > > > > John W. Colby > > > > > www.colbyconsulting.com > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > > Rocky Smolin > > > > > - Beach Access Software > > > > > Sent: Wednesday, November 12, 2003 4:13 PM > > > > > To: AccessD at databaseadvisors.com > > > > > Subject: [AccessD] Change resolution of forms > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > I have an application which I developed many years ago on a > > > > > machine with a screen of resolution 640 x 480. I used the ADH > > > > resizing code > > > > > so the form would fill the screen regardless of the > > target machine > > > > > resolution. > > > > > > > > > > I don't use that resizing code in my apps anymore and I > > > > would like to > > > > > abandon that now in this app and go with a straight 800 x > > > > 600 which is > > > > what > > > > > my screen is set to. > > > > > > > > > > But the 640 x 480 resolution seems to be a part of the form > > > > > somehow and > > > > each > > > > > of the controls as well because if I copy over the > > controls, they > > > > > don't > > > > size > > > > > correctly on my 800 x 600 screen. They appear smaller as > > > > they would > > > > > when you put a 640x480 form or control on an 800 x 600 screen. > > > > > > > > > > Plus any new forms I've added to this app recently original > > > > in 800 x > > > > > 600 > > > > and > > > > > that's fine. > > > > > > > > > > Is there a simple way to make these old forms all 800x600? > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Thu Nov 13 09:00:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Nov 2003 16:00:57 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF6DD0@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF6DD0@stekelbes.ithelps.local> Message-ID: <19429063901.20031113160057@cactus.dk> Hi Erwin > I believe I'm not with with you.... > First, to set thing strait. It's only in our office for develepmont I'm > speaking. Yes. > Second. > You mean you have a shorcut that starts msaccess.exe with /workgroup > xxx? Yes. As I have one for starting a decompile. > Problem with that is that you need a hard path to msaccess.exe and hard > paths is something I try to avoid. No big problem here. All Access versions have remained where they were installed - four of them for 38 months. I see no reason to move them around. > I always use roaming profiles and hard paths can problematic. > I supose solutions are out there, but I already played alot with them > and they are often OS dependent. That's a difference. I live in a Novell environment. > You know, Gustav, It's not that a big deal... > It's rarely I do a repair... I know. But you mentioned it as it could cause problems to run an Office repair and it really shouldn't be (regarding this topic). > And I don't use workgroups anymore at customer sites. > I use the network user name and match them with the users in the > database (user management based on tables/forms). > If a network user is unkown in the database it exits instantly (after a > msgbox). I like that approach too. Also - as few clients have Single-Sign-On implemented - it's a good service to the user that the app knows who he/she is and all that is needed is nothing (in your case) or the password only (in our case). /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, November 13, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > In my opinion it is not a good idea to have a special mdw assigned as > the default. I have a shortcut for such an Access with the wkrgrp switch > opening a secured database. > /gustav >> I know...I know... >> At least I supose you mean that you can give msaccess.exe an /wrkgrp >> command line option. Or use the /profile and a profile file. >> I only use MDW for developing purposes indside the office and just >> want it always to be my company.mdw group... >> Specifying company.mdw for default gets reset to system.mdw in the >> user profile folder.... Or is it in the program Files/common folder... >> ? >> Don't bother, I just overcopy all system.mdw with company.mdw... >> Erwin >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >> Brock >> Sent: Thursday, November 13, 2003 1:56 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] POLL: Access Security >> Hi Erwin >> You can supply your app with your own mdw, say erwin.mdw. Office won't >> overwrite that. For that kind of apps we create shortcuts (menu >> entries) which makes it easy for the user to open the app with the >> needed command line. >> /gustav >>> .. I want to add that a office repair each time reset or overwrites >>> your MDW file). From bchacc at san.rr.com Thu Nov 13 09:03:19 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 13 Nov 2003 07:03:19 -0800 Subject: [AccessD] POLL: Access Security References: <008301c3a9ed$3254fe00$6501a8c0@HAL9002> <5625161300.20031113145554@cactus.dk> <00a501c3a9f4$1e5e8090$6501a8c0@HAL9002> Message-ID: <00c901c3a9f7$46fb0ca0$6501a8c0@HAL9002> But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Oleg_123 at xuppa.com Thu Nov 13 09:14:49 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 10:14:49 -0500 (EST) Subject: [AccessD] inserting in DAO In-Reply-To: <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> References: <003301c3a9e8$d493aae0$6501a8c0@HAL9002> <005c01c3a9f4$aeb30cb0$b274d0d5@minster33c3r25> Message-ID: <20882.12.3.132.98.1068736489.squirrel@heck.bay9.com> hey group Can I use string name in insert function ? strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" it gives me an error message ... Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If rs(0) = strLine ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Jdemarco at hshhp.org Thu Nov 13 09:19:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 10:19:11 -0500 Subject: [AccessD] inserting in DAO Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> Sure just change to read: strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2)& ")" HTH Jim DeMarco -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, November 13, 2003 10:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] inserting in DAO hey group Can I use string name in insert function ? strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" it gives me an error message ... Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If rs(0) = strLine ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From askolits at ot.com Thu Nov 13 09:24:15 2003 From: askolits at ot.com (John Skolits) Date: Thu, 13 Nov 2003 10:24:15 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <00c901c3a9f7$46fb0ca0$6501a8c0@HAL9002> Message-ID: Jon, 6 for me. John Skolits From paul.hartland at fsmail.net Thu Nov 13 09:26:17 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 13 Nov 2003 16:26:17 +0100 (CET) Subject: [AccessD] inserting in DAO Message-ID: <10554536.1068737177442.JavaMail.www@wwinf3001> Just quickly off the tope of my head should the line strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" read strSQL2 = "INSERT into Neww(a,b,c) Values (rs.fields(0),rs.fields(1),rs.fields(2))" Paul Hartland Message date : Nov 13 2003, 03:15 PM >From : Oleg_123 at xuppa.com To : accessd at databaseadvisors.com Copy to : Subject : [AccessD] inserting in DAO hey group Can I use string name in insert function ? strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" it gives me an error message ... Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If rs(0) = strLine ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Thu Nov 13 09:38:03 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 10:38:03 -0500 (EST) Subject: [AccessD] inserting in DAO In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> Message-ID: <28674.12.3.132.98.1068737883.squirrel@heck.bay9.com> great, thank you :--) > Sure just change to read: > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2)& ")" > > HTH > > Jim DeMarco > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 10:15 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] inserting in DAO > > > hey group > Can I use string name in insert function ? > strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" > > it gives me an error message > ... > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > rs(0) = strLine > > ' strSQL2 = "INSERT into Neww(a,b,c) Values (strLine,rs(1),rs(2))" > strSQL2 = "INSERT into Neww(a,b,c) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From michael.mattys at adelphia.net Thu Nov 13 09:53:18 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 13 Nov 2003 10:53:18 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <000201c3a9fe$b7df2df0$6401a8c0@default> I'm in the 3 category now. Use it or lose it. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Wednesday, November 12, 2003 7:59 PM Subject: [AccessD] POLL: Access Security > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rjhjr at cox.net Thu Nov 13 09:55:52 2003 From: rjhjr at cox.net (Bob Hall) Date: Thu, 13 Nov 2003 10:55:52 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: <20031113155551.GB58248@kongemord.krig.net> 3 I was once a 1, and could write code off the top of my head that would automate any aspect of Access security, but this is not terribly useful information, and I've forgotten a lot of it. Given that you can buy shareware apps that claim to be able to pull the user and group passwords out of a secure database, even 3 probably represents a lot of useless information. Bob Hall From Oleg_123 at xuppa.com Thu Nov 13 09:59:48 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 10:59:48 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <28674.12.3.132.98.1068737883.squirrel@heck.bay9.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F882@TTNEXCHSRV1.hshhp.com> <28674.12.3.132.98.1068737883.squirrel@heck.bay9.com> Message-ID: <36753.12.3.132.98.1068739188.squirrel@heck.bay9.com> actually, not quite finished strline field is a name field stripped of middle initial with no space after coma, like "Bush,George". I need it to enter to an empty table. Doesn't matter whether in one column or in 2. however when I have 3 values (a,b,c) it tells me it not enough, when I put 4 (a,b,c,d) it tells me that number doesn't equal... strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" --- Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If 'rs(0) = strLine strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From accessd at shaw.ca Thu Nov 13 10:01:10 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 13 Nov 2003 08:01:10 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C6292CC@natexch.jenkens.com> Message-ID: Hi All: This security thing can go a little overboard. If your applications have sensitive data and provides access from the general public no one will ever use a standard computer terminal and Access's MDB as the BE, it is just too flaky. SCO Unix had a 'Yellow Book' setting that when toggled basically made the system inaccessible and consumed all the system resources monitoring every access, every task performed and continually validated every user, again and again. The system now became a monster to handle and even to do the simplest of tasks, for the systems guy, could take an hour. (Everyone in that office was delighted when the data was backed up and the server was reformatted and the system re-installed.) My point is, that sometimes super tight security is a waste of time. A good talk by the office manager on how he/she will whack the first person who screws with things, without authorization, is the best security of all. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie Sent: Thursday, November 13, 2003 6:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security 2 Have had a whole series of HR databases with sensitive data that needs locked tight. It takes me a while and I avoid it if I can. Secured databases are a PITA. I inherited a database locked so tight it was darn near impenetrable. All of this for info that was common knowledge in the workplace and not all that sensitive outside it. The thing is nearly impossible to modify or troubleshoot and I would love to give the guy that wrote this a piece of my mind. Debbie -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: 13 November 2003 01:00 To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - 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 From Erwin.Craps at ithelps.be Thu Nov 13 10:03:35 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 13 Nov 2003 17:03:35 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD2@stekelbes.ithelps.local> Roaming profiles sometimes do weird stuff... Even when access is in same location. I seen paths like "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" changing to C:\Progra~1\Micros~2\Office10\MSACCESS.EXE in a sole Windows 2000 and XP environment. So I tend to believe there is still some code in windows that uses 8.3 naming conventions ... And this can create problems... Because mircos~1 is not necesarily the short for Microsoft Office!! In this case it was short for Microsoft Intellipoint because I installed the mouse driver before Office. Same thing with the default workgroup file its always system.mdw (the localdisk one) and when using profiles in this or that situation it sometimes changes to system1.mdw and creates it without asking. But indeed /wrkgrp should solve this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 4:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] workgroup file (Sec Poll spin-off) Hi Erwin > I believe I'm not with with you.... > First, to set thing strait. It's only in our office for develepmont > I'm speaking. Yes. > Second. > You mean you have a shorcut that starts msaccess.exe with /workgroup > xxx? Yes. As I have one for starting a decompile. > Problem with that is that you need a hard path to msaccess.exe and > hard paths is something I try to avoid. No big problem here. All Access versions have remained where they were installed - four of them for 38 months. I see no reason to move them around. > I always use roaming profiles and hard paths can problematic. I supose > solutions are out there, but I already played alot with them and they > are often OS dependent. That's a difference. I live in a Novell environment. > You know, Gustav, It's not that a big deal... > It's rarely I do a repair... I know. But you mentioned it as it could cause problems to run an Office repair and it really shouldn't be (regarding this topic). > And I don't use workgroups anymore at customer sites. > I use the network user name and match them with the users in the > database (user management based on tables/forms). If a network user is > unkown in the database it exits instantly (after a msgbox). I like that approach too. Also - as few clients have Single-Sign-On implemented - it's a good service to the user that the app knows who he/she is and all that is needed is nothing (in your case) or the password only (in our case). /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 13, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > In my opinion it is not a good idea to have a special mdw assigned as > the default. I have a shortcut for such an Access with the wkrgrp > switch opening a secured database. > /gustav >> I know...I know... >> At least I supose you mean that you can give msaccess.exe an /wrkgrp >> command line option. Or use the /profile and a profile file. >> I only use MDW for developing purposes indside the office and just >> want it always to be my company.mdw group... >> Specifying company.mdw for default gets reset to system.mdw in the >> user profile folder.... Or is it in the program Files/common folder... >> ? >> Don't bother, I just overcopy all system.mdw with company.mdw... >> Erwin >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >> Brock >> Sent: Thursday, November 13, 2003 1:56 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] POLL: Access Security >> Hi Erwin >> You can supply your app with your own mdw, say erwin.mdw. Office won't >> overwrite that. For that kind of apps we create shortcuts (menu >> entries) which makes it easy for the user to open the app with the >> needed command line. >> /gustav >>> .. I want to add that a office repair each time reset or overwrites >>> your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Nov 13 10:05:47 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 11:05:47 -0500 Subject: [AccessD] inserting in DAO (another problem) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F883@TTNEXCHSRV1.hshhp.com> Oleg, Add this line of code after it to see what your SQL string looks like. Debug.Print strSQL2 Jim DeMarco -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, November 13, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] inserting in DAO (another problem) actually, not quite finished strline field is a name field stripped of middle initial with no space after coma, like "Bush,George". I need it to enter to an empty table. Doesn't matter whether in one column or in 2. however when I have 3 values (a,b,c) it tells me it not enough, when I put 4 (a,b,c,d) it tells me that number doesn't equal... strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" --- Private Sub Command0_Click() MsgBox ("hey") Dim strLine As String Dim strSQL1 As String Dim strSQL2 As String Dim db As DAO.Database Dim i As Integer Dim rs As DAO.Recordset Set db = CurrentDb strSQL1 = "Select * From New" Set rs = db.OpenRecordset(strSQL1) Do Until rs.EOF strLine = rs("FullName") MsgBox strLine i = InStr(strLine, " ") If i <> 0 Then strLine = Left(strLine, i) End If 'rs(0) = strLine strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & ", " & rs(2) & ")" ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" Debug.Print strSQL2 CurrentDb.Execute (strSQL2) rs.MoveNext Loop MsgBox ("end") End Sub ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From reuben at gfconsultants.com Thu Nov 13 10:04:33 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 13 Nov 2003 11:04:33 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: I'm a 4.5. Know what it is and have played with it, but don't have the slightest interest in using it. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From jimdettman at earthlink.net Thu Nov 13 10:08:40 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 13 Nov 2003 11:08:40 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <20031113083722.1712100296.serbach@new.rr.com> Message-ID: Steve, <> No as there is no need. I simply show them the results of a google search for cracking tools, mention that even Microsoft will tell you how if hard pressed, and even if someone wanted to go the semi-legitimate route and pay $45 or so, they can get at anything they want. <> A. If they want security, use another product. B. If they still want me to do it, it's going to cost them lots both in initial effort and maintaining it. B *always* wins 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 Steven W. Erbach Sent: Thursday, November 13, 2003 9:37 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Jim, >> But as far as locking it so tight that even I can't get into it, that's not possible as I know how to break it and I know it's not worth bothering with it in the first place. << Have you demonstrated to clients how to break the security? I wonder if that might be an effective argument for implementing Access security for one of my clients who's been curious about it. I, as a 4.5 security user, am not real excited about implementing Access security. What would you show a client who had a bug up his rear about Access "security?" Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Nov 13 10:12:15 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 13 Nov 2003 11:12:15 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <00df01c3aa00$ea9ee670$210110ac@SUSANONE> > My point is, that sometimes super tight security is a waste of time. A good > talk by the office manager on how he/she will whack the first person who > screws with things, without authorization, is the best security of all. =======Which is fine if they're all behaving themselves. What about the disgruntled employee or the occasional hacker? Access security is good for providing only the data necessary to authorized users, but I don't think it's meant to keep out the malicious folks. Hope I'm not speaking out of turn, only margininally following the thread. I don't fall into any of JC's categories because I know how to implement security, but I don't. Unfortunately, that means if I needed to I would do so with a great deal of discretion and a stack of documentation, just in case. There are lots of topics that benefit from actual hands on experience and this is one of them. I can glean all the "bad news" and "watch for's" from the experts and write a terrific article, and I'd benefit myself during the implementation process -- but there's still something about "doing" that's missing from "knowing how." That's why you'll find all my articles on this topic are pretty much basic tutorial -- I wouldn't want to suggest an expertise (that can only come from hands on experience) that I just don't have. If Martin hasn't responded, he's probably a .5. :) Susan H. From Oleg_123 at xuppa.com Thu Nov 13 10:14:14 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 11:14:14 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F883@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F883@TTNEXCHSRV1.hshhp.com> Message-ID: <42760.12.3.132.98.1068740054.squirrel@heck.bay9.com> here's both occurunces; neithe works (?) INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > Oleg, > > Add this line of code after it to see what your SQL string looks like. > Debug.Print strSQL2 > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:00 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > actually, not quite finished > strline field is a name field stripped of middle initial with no space > after coma, like "Bush,George". I need it to enter to an empty table. > Doesn't matter whether in one column or in 2. > > however when I have 3 values (a,b,c) it tells me it not enough, when I > put 4 (a,b,c,d) it tells me that number doesn't equal... > > > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > --- > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > 'rs(0) = strLine > strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > > ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From mwp.reid at qub.ac.uk Thu Nov 13 10:15:33 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 13 Nov 2003 16:15:33 -0000 Subject: [AccessD] POLL: Access Security References: <00df01c3aa00$ea9ee670$210110ac@SUSANONE> Message-ID: <014601c3aa01$5d8e6c50$9111758f@aine> I know its there and what it for and at a push I could do it but have never done so. Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 4:12 PM Subject: Re: [AccessD] POLL: Access Security > > My point is, that sometimes super tight security is a waste of time. A > good > > talk by the office manager on how he/she will whack the first person who > > screws with things, without authorization, is the best security of all. > > =======Which is fine if they're all behaving themselves. What about the > disgruntled employee or the occasional hacker? Access security is good for > providing only the data necessary to authorized users, but I don't think > it's meant to keep out the malicious folks. Hope I'm not speaking out of > turn, only margininally following the thread. > > I don't fall into any of JC's categories because I know how to implement > security, but I don't. Unfortunately, that means if I needed to I would do > so with a great deal of discretion and a stack of documentation, just in > case. There are lots of topics that benefit from actual hands on experience > and this is one of them. I can glean all the "bad news" and "watch for's" > from the experts and write a terrific article, and I'd benefit myself during > the implementation process -- but there's still something about "doing" > that's missing from "knowing how." That's why you'll find all my articles on > this topic are pretty much basic tutorial -- I wouldn't want to suggest an > expertise (that can only come from hands on experience) that I just don't > have. > > If Martin hasn't responded, he's probably a .5. :) > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Thu Nov 13 10:22:57 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 13 Nov 2003 11:22:57 -0500 Subject: [AccessD] POLL: Access Security References: <00df01c3aa00$ea9ee670$210110ac@SUSANONE> <014601c3aa01$5d8e6c50$9111758f@aine> Message-ID: <010501c3aa02$85b00df0$210110ac@SUSANONE> I'm shocked... truly shocked... and here I labeled you a .5 ;) Ah well... Susan H. > I know its there and what it for and at a push I could do it but have never > done so. > > Martin > > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 4:12 PM > Subject: Re: [AccessD] POLL: Access Security > > > > > My point is, that sometimes super tight security is a waste of time. A > > good > > > talk by the office manager on how he/she will whack the first person who > > > screws with things, without authorization, is the best security of all. > > > > =======Which is fine if they're all behaving themselves. What about the > > disgruntled employee or the occasional hacker? Access security is good for > > providing only the data necessary to authorized users, but I don't think > > it's meant to keep out the malicious folks. Hope I'm not speaking out of > > turn, only margininally following the thread. > > > > I don't fall into any of JC's categories because I know how to implement > > security, but I don't. Unfortunately, that means if I needed to I would do > > so with a great deal of discretion and a stack of documentation, just in > > case. There are lots of topics that benefit from actual hands on > experience > > and this is one of them. I can glean all the "bad news" and "watch for's" > > from the experts and write a terrific article, and I'd benefit myself > during > > the implementation process -- but there's still something about "doing" > > that's missing from "knowing how." That's why you'll find all my articles > on > > this topic are pretty much basic tutorial -- I wouldn't want to suggest an > > expertise (that can only come from hands on experience) that I just don't > > have. > > > > If Martin hasn't responded, he's probably a .5. :) > > > > 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 my.lists at verizon.net Thu Nov 13 10:29:09 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 13 Nov 2003 08:29:09 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: <3FB3B155.90307@verizon.net> I am between 1 and 2, in that I don't NEED the docs but I DO like to reference them just as my own personal double check, the way I look at it is, nobody's perfect so a quick reference helps assure me that all is done well. additionally there's NO WAY I can lock myself out of the database because I always create 2 MDW's, I haven't done security for and MDW for a while now tho (about maybe a year). 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. -- -Francisco John W. Colby wrote: >I'd like to take a poll regarding your knowledge of Access' built-in >security. By security I do NOT mean the database properties, rather using >workgroups / users to secure forms, tables, queries etc. > >Anyone interested in participating please choose one of the following: > >1) I am an Access security guru. I can quickly and easily lock a database >down so tight I can't even get back in. No help / books needed. >2) I am fluent with Access security. I can get the job done but it >definitely takes a few hours. I probably won't need the help / books. >3) I have done Access Security on at least one real paying project. I would >need help / books to do it again. >4) I have heard about Access Security, read about it, managed to shoot a toe >off, maybe played around with it, but I am confident I could get the job >done. Books / help definitly needed. >5) Access has built in security? What is this and where would I go to learn >it? Why haven't I ever seen these books / help? > >If you would please just select a number and reply I would appreciate it. > >As for myself, I must admit I rate a solid 4. No client has ever been >willing to pay for it and I have always had other things to learn / do so I >just never did it (for real). > >John W. Colby >www.colbyconsulting.com > > > From Jdemarco at hshhp.org Thu Nov 13 10:25:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 13 Nov 2003 11:25:12 -0500 Subject: [AccessD] inserting in DAO (another problem) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F887@TTNEXCHSRV1.hshhp.com> OK. You have to wrap each string value in single quotes. Now your code will look like this: strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & rs(1) & "', '" & rs(2) & "')" Jim DeMarco -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, November 13, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] inserting in DAO (another problem) here's both occurunces; neithe works (?) INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > Oleg, > > Add this line of code after it to see what your SQL string looks like. > Debug.Print strSQL2 > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:00 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > actually, not quite finished > strline field is a name field stripped of middle initial with no space > after coma, like "Bush,George". I need it to enter to an empty table. > Doesn't matter whether in one column or in 2. > > however when I have 3 values (a,b,c) it tells me it not enough, when I > put 4 (a,b,c,d) it tells me that number doesn't equal... > > > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > --- > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > 'rs(0) = strLine > strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) & > ", " & rs(2) & ")" > > ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Thu Nov 13 10:28:56 2003 From: john at winhaven.net (John Bartow) Date: Thu, 13 Nov 2003 10:28:56 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Hi Jim, I'll bet you can't write about "SCO Unix" on too many lists anymore without getting flamed! :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Thursday, November 13, 2003 10:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > Hi All: > > This security thing can go a little overboard. If your applications have > sensitive data and provides access from the general public no one > will ever > use a standard computer terminal and Access's MDB as the BE, it > is just too > flaky. > > SCO Unix had a 'Yellow Book' setting that when toggled basically made the > system inaccessible and consumed all the system resources monitoring every > access, every task performed and continually validated every > user, again and > again. The system now became a monster to handle and even to do > the simplest > of tasks, for the systems guy, could take an hour. (Everyone in > that office > was delighted when the data was backed up and the server was > reformatted and > the system re-installed.) > > My point is, that sometimes super tight security is a waste of > time. A good > talk by the office manager on how he/she will whack the first person who > screws with things, without authorization, is the best security of all. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie > Sent: Thursday, November 13, 2003 6:08 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 2 > > Have had a whole series of HR databases with sensitive data that needs > locked tight. It takes me a while and I avoid it if I can. Secured > databases are a PITA. I inherited a database locked so tight it was darn > near impenetrable. All of this for info that was common knowledge in the > workplace and not all that sensitive outside it. The thing is nearly > impossible to modify or troubleshoot and I would love to give the guy that > wrote this a piece of my mind. > > Debbie > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: 13 November 2003 01:00 > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying > project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to > shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I > go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn > / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - 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 > > From Developer at UltraDNT.com Thu Nov 13 10:31:35 2003 From: Developer at UltraDNT.com (Developer) Date: Thu, 13 Nov 2003 11:31:35 -0500 Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <42760.12.3.132.98.1068740054.squirrel@heck.bay9.com> Message-ID: <001001c3aa03$9af18850$7001a8c0@COA3> You need single quotes around the text values: strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & rs(1) & "', '" & rs(2) & "')" Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Oleg_123 at xuppa.com Sent: Thursday, November 13, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] inserting in DAO (another problem) here's both occurunces; neithe works (?) INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > Oleg, > > Add this line of code after it to see what your SQL string looks like. > Debug.Print strSQL2 > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:00 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > actually, not quite finished > strline field is a name field stripped of middle initial with no space > after coma, like "Bush,George". I need it to enter to an empty table. > Doesn't matter whether in one column or in 2. > > however when I have 3 values (a,b,c) it tells me it not enough, when I > put 4 (a,b,c,d) it tells me that number doesn't equal... > > > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) > & ", " & rs(2) & ")" > --- > > Private Sub Command0_Click() > MsgBox ("hey") > Dim strLine As String > Dim strSQL1 As String > Dim strSQL2 As String > Dim db As DAO.Database > Dim i As Integer > Dim rs As DAO.Recordset > Set db = CurrentDb > > strSQL1 = "Select * From New" > Set rs = db.OpenRecordset(strSQL1) > > > Do Until rs.EOF > strLine = rs("FullName") > MsgBox strLine > i = InStr(strLine, " ") > If i <> 0 Then > strLine = Left(strLine, i) > End If > > 'rs(0) = strLine > strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) > strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) > & ", " & rs(2) & ")" > > ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" > Debug.Print strSQL2 > > CurrentDb.Execute (strSQL2) > rs.MoveNext > Loop > > MsgBox ("end") > End Sub > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ********************************************************************** > ************* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Nov 13 10:31:55 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 13 Nov 2003 16:31:55 -0000 Subject: [AccessD] POLL: Access Security References: <00df01c3aa00$ea9ee670$210110ac@SUSANONE><014601c3aa01$5d8e6c50$9111758f@aine> <010501c3aa02$85b00df0$210110ac@SUSANONE> Message-ID: <01b801c3aa03$a6982b00$9111758f@aine> LOL Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 4:22 PM Subject: Re: [AccessD] POLL: Access Security > I'm shocked... truly shocked... and here I labeled you a .5 ;) Ah well... > > Susan H. > > > > I know its there and what it for and at a push I could do it but have > never > > done so. > > > > Martin > > > > > > ----- Original Message ----- > > From: "Susan Harkins" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, November 13, 2003 4:12 PM > > Subject: Re: [AccessD] POLL: Access Security > > > > > > > > My point is, that sometimes super tight security is a waste of time. A > > > good > > > > talk by the office manager on how he/she will whack the first person > who > > > > screws with things, without authorization, is the best security of > all. > > > > > > =======Which is fine if they're all behaving themselves. What about the > > > disgruntled employee or the occasional hacker? Access security is good > for > > > providing only the data necessary to authorized users, but I don't think > > > it's meant to keep out the malicious folks. Hope I'm not speaking out of > > > turn, only margininally following the thread. > > > > > > I don't fall into any of JC's categories because I know how to implement > > > security, but I don't. Unfortunately, that means if I needed to I would > do > > > so with a great deal of discretion and a stack of documentation, just in > > > case. There are lots of topics that benefit from actual hands on > > experience > > > and this is one of them. I can glean all the "bad news" and "watch > for's" > > > from the experts and write a terrific article, and I'd benefit myself > > during > > > the implementation process -- but there's still something about "doing" > > > that's missing from "knowing how." That's why you'll find all my > articles > > on > > > this topic are pretty much basic tutorial -- I wouldn't want to suggest > an > > > expertise (that can only come from hands on experience) that I just > don't > > > have. > > > > > > If Martin hasn't responded, he's probably a .5. :) > > > > > > Susan H. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Nov 13 10:32:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Nov 2003 08:32:28 -0800 Subject: [AccessD] POLL: Access Security Message-ID: Make me a 1.5. We use it all the time in our apps and I've had the experience in the past of locking one of my own apps down so tight I couldn't get back in. Fortunately, I had a backup ... And installed a backdoor using a command line argument after that. I see no reason to reinvent security on my own when MS has provided an acceptable method already. Is it totally secure? No, is anything? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Thu Nov 13 10:36:32 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 11:36:32 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F887@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F887@TTNEXCHSRV1.hshhp.com> Message-ID: <50424.12.3.132.98.1068741392.squirrel@heck.bay9.com> oh.. I was trying cStr each of them.. Thanks a lot > OK. You have to wrap each string value in single quotes. > > Now your code will look like this: > strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & rs(1) > & "', '" & rs(2) & "')" > > Jim DeMarco > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Thursday, November 13, 2003 11:14 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > here's both occurunces; neithe works (?) > > INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) > INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > >> Oleg, >> >> Add this line of code after it to see what your SQL string looks like. >> Debug.Print strSQL2 >> >> Jim DeMarco >> >> -----Original Message----- >> From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] >> Sent: Thursday, November 13, 2003 11:00 AM >> To: accessd at databaseadvisors.com >> Subject: RE: [AccessD] inserting in DAO (another problem) >> >> >> actually, not quite finished >> strline field is a name field stripped of middle initial with no space >> after coma, like "Bush,George". I need it to enter to an empty table. >> Doesn't matter whether in one column or in 2. >> >> however when I have 3 values (a,b,c) it tells me it not enough, when I >> put 4 (a,b,c,d) it tells me that number doesn't equal... >> >> >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> --- >> >> Private Sub Command0_Click() >> MsgBox ("hey") >> Dim strLine As String >> Dim strSQL1 As String >> Dim strSQL2 As String >> Dim db As DAO.Database >> Dim i As Integer >> Dim rs As DAO.Recordset >> Set db = CurrentDb >> >> strSQL1 = "Select * From New" >> Set rs = db.OpenRecordset(strSQL1) >> >> >> Do Until rs.EOF >> strLine = rs("FullName") >> MsgBox strLine >> i = InStr(strLine, " ") >> If i <> 0 Then >> strLine = Left(strLine, i) >> End If >> >> 'rs(0) = strLine >> strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> >> ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" >> Debug.Print strSQL2 >> >> CurrentDb.Execute (strSQL2) >> rs.MoveNext >> Loop >> >> MsgBox ("end") >> End Sub >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> *********************************************************************************** >> "This electronic message is intended to be for the use only of the >> named recipient, and may contain information from Hudson Health Plan >> (HHP) that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting >> the sender at the electronic mail address noted above or calling HHP >> at (914) 631-1611. If you are not the intended recipient, please do >> not forward this email to anyone, and delete and destroy all copies of >> this message. Thank You". >> *********************************************************************************** >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Oleg_123 at xuppa.com Thu Nov 13 10:36:57 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 13 Nov 2003 11:36:57 -0500 (EST) Subject: [AccessD] inserting in DAO (another problem) In-Reply-To: <001001c3aa03$9af18850$7001a8c0@COA3> References: <42760.12.3.132.98.1068740054.squirrel@heck.bay9.com> <001001c3aa03$9af18850$7001a8c0@COA3> Message-ID: <50424.12.3.132.98.1068741417.squirrel@heck.bay9.com> thanks Steve, already done > You need single quotes around the text values: > strSQL2 = "INSERT into Neww(a,b,c) Values ('" & strLine & "', '" & > rs(1) > & "', '" & rs(2) & "')" > > > Steve > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oleg_123 at xuppa.com > Sent: Thursday, November 13, 2003 11:14 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] inserting in DAO (another problem) > > > here's both occurunces; neithe works (?) > > INSERT into Neww(a,b,c,d) Values (Aber,Doris , *, *) > INSERT into Neww(a,b,c) Values (Aber,Doris , *, *) > >> Oleg, >> >> Add this line of code after it to see what your SQL string looks like. > >> Debug.Print strSQL2 >> >> Jim DeMarco >> >> -----Original Message----- >> From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] >> Sent: Thursday, November 13, 2003 11:00 AM >> To: accessd at databaseadvisors.com >> Subject: RE: [AccessD] inserting in DAO (another problem) >> >> >> actually, not quite finished >> strline field is a name field stripped of middle initial with no space > >> after coma, like "Bush,George". I need it to enter to an empty table. >> Doesn't matter whether in one column or in 2. >> >> however when I have 3 values (a,b,c) it tells me it not enough, when I > >> put 4 (a,b,c,d) it tells me that number doesn't equal... >> >> >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> --- >> >> Private Sub Command0_Click() >> MsgBox ("hey") >> Dim strLine As String >> Dim strSQL1 As String >> Dim strSQL2 As String >> Dim db As DAO.Database >> Dim i As Integer >> Dim rs As DAO.Recordset >> Set db = CurrentDb >> >> strSQL1 = "Select * From New" >> Set rs = db.OpenRecordset(strSQL1) >> >> >> Do Until rs.EOF >> strLine = rs("FullName") >> MsgBox strLine >> i = InStr(strLine, " ") >> If i <> 0 Then >> strLine = Left(strLine, i) >> End If >> >> 'rs(0) = strLine >> strLine = FindAndReplace(CStr(strLine), Chr(39), Chr(39) + Chr(39)) >> strSQL2 = "INSERT into Neww(a,b,c) Values (" & strLine & ", " & rs(1) >> & ", " & rs(2) & ")" >> >> ' strSQL2 = "INSERT into Neww(a,b,c,d) Values (rs(0),rs(1),rs(2))" >> Debug.Print strSQL2 >> >> CurrentDb.Execute (strSQL2) >> rs.MoveNext >> Loop >> >> MsgBox ("end") >> End Sub >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> ********************************************************************** >> ************* >> "This electronic message is intended to be for the use only of the > named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting > the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of > this >> message. Thank You". >> > ************************************************************************ > *********** >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From my.lists at verizon.net Thu Nov 13 10:45:13 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 13 Nov 2003 08:45:13 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: <22380264.1068715936355.JavaMail.www@wwinf3001> References: <22380264.1068715936355.JavaMail.www@wwinf3001> Message-ID: <3FB3B519.7020809@verizon.net> On the Access-L list they used to say: Read the Security FAQ, read it again, until you think you've got it, and once you're sure, you read it again for good measure. ;) this was true when I got started, and as a guide I have always re-read it before diving into security even tho I've learned most of the steps. -- -Francisco paul.hartland at fsmail.net wrote: >Is there a category for knowing that access has built in security, has tried to get it to work, has never got it to work, and has given up on it unless I get a brainwave and step-by-step idiots guide on it. >Paul Hartland > > > >Message date : Nov 13 2003, 09:27 AM >>From : Roz Clarke >To : 'Access Developers discussion and problem solving' >Copy to : >Subject : RE: [AccessD] POLL: Access Security >I guess I fit in this category as well as #3 > >:) > >Roz > >-----Original Message----- >From: Andy Lacey [mailto:andy at minstersystems.co.uk] >Sent: 13 November 2003 09:21 >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] POLL: Access Security > > >Snap. Put me in Andrew's no 6 category. See, we even roll-our-own >categories. > >Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>Haslett, Andrew >>Sent: 13 November 2003 01:16 >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] POLL: Access Security >> >> >>6) I don't use the built in security functions of Access. I >>Use MDE's and roll my own security depending on the >>requirements of the client. >> >>-----Original Message----- >>From: John W. Colby [mailto:jcolby at colbyconsulting.com] >>Sent: Thursday, 13 November 2003 11:30 AM >>To: AccessD >>Subject: [AccessD] POLL: Access Security >> >> >>I'd like to take a poll regarding your knowledge of Access' >>built-in security. By security I do NOT mean the database >>properties, rather using workgroups / users to secure forms, >>tables, queries etc. >> >>Anyone interested in participating please choose one of the following: >> >>1) I am an Access security guru. I can quickly and easily >>lock a database down so tight I can't even get back in. No >>help / books needed. >>2) I am fluent with Access security. I can get the job done >>but it definitely takes a few hours. I probably won't need >>the help / books. >>3) I have done Access Security on at least one real paying >>project. I would need help / books to do it again. >>4) I have heard about Access Security, read about it, managed >>to shoot a toe off, maybe played around with it, but I am >>confident I could get the job done. Books / help definitly needed. >>5) Access has built in security? What is this and where >>would I go to learn it? Why haven't I ever seen these books / help? >> >>If you would please just select a number and reply I would >>appreciate it. >> >>As for myself, I must admit I rate a solid 4. No client has >>ever been willing to pay for it and I have always had other >>things to learn / do so I just never did it (for real). >> >>John W. Colby >>www.colbyconsulting.com >> >> >> >> From ssharkins at bellsouth.net Thu Nov 13 10:44:20 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 13 Nov 2003 11:44:20 -0500 Subject: [AccessD] POLL: Access Security References: Message-ID: <012a01c3aa05$6df902e0$210110ac@SUSANONE> Is it totally secure? No, is anything? =============A drooling doberman with big teeth chained to the keyboard might do just as well. :) Susan H. From cfoust at infostatsystems.com Thu Nov 13 11:01:05 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Nov 2003 09:01:05 -0800 Subject: [AccessD] POLL: Access Security Message-ID: LOL I had a drooling doberman with big teeth! She was a total pushover even though she weighed 85 pounds. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, November 13, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Is it totally secure? No, is anything? =============A drooling doberman with big teeth chained to the keyboard might do just as well. :) Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kenneth.Stoker at pnl.gov Thu Nov 13 10:48:39 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Thu, 13 Nov 2003 08:48:39 -0800 Subject: [AccessD] POLL: Access Security Message-ID: <249C1CB246997C48BB74963CCD361C1B014A0258@pnlmse28.pnl.gov> Put me in at 3. 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: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, November 12, 2003 5:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security 6) I don't use the built in security functions of Access. I Use MDE's and roll my own security depending on the requirements of the client. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 13 November 2003 11:30 AM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjewett at bayplace.com Thu Nov 13 12:16:14 2003 From: pjewett at bayplace.com (Phil Jewett) Date: Thu, 13 Nov 2003 10:16:14 -0800 Subject: [AccessD] RE: SQL trusted connection problem - solution Message-ID: All: Solution was provided by Jim Lawrence, which is to add the following register key to the client XP if not already present: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLSERVER\Client\ConnectTo]"MyS erve r"="DBNMPNTW,MyServer" I don't think I made it obvious from my initial post that the problem of the connection attempting a trusted connection occurs only on Windows XP boxes - the mdb works fine on 98 and 2000. FYI, the SQL Server is set up as mixed mode and the connection is done through a connection string, it being: "ODBC;DRIVER={SQL Server};SERVER=pluto;UID=cds;PWD=xxxxx;DATABASE=Coupons;" and relinking the tables through the usual table loop: DoCmd.TransferDatabase acLink, "ODBC Database", myODBCConnectionString, acTable, rs(0), rs(0) By the way, my original post was double posted because I got a reply from postman at magicialdesk.com (whoever that is!) saying the mail was undeliverable because the mailbox was full. So I reposted a little while later. But it turned out that the initial post went through anyway. Thanks to all. Phil Jewett From bheid at appdevgrp.com Thu Nov 13 12:23:10 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 13 Nov 2003 13:23:10 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: <916187228923D311A6FE00A0CC3FAA3069621F@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAFFB@ADGSERVER> And put me as a 3. Bobby From DWUTKA at marlow.com Thu Nov 13 12:40:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:40:22 -0600 Subject: [AccessD] A2K: Access Security via a browser Message-ID: <2F8793082E00D4119A1700B0D0216BF802227564@main2.marlow.com> What do you mean Darren. Do you mean like setting permissions, creating users and groups, changing passwords, etc? Or simply logging into a secured database? Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, November 12, 2003 6:48 PM To: AccessD List Subject: [AccessD] A2K: Access Security via a browser Hello all I have a Web Developer friend asking me if anyone knows of some useful URL's that will show how to or give examples of administering Access security via a browser. She has Access Security implemented and can administer it fine from the local PC via the 'normal' means, she just wants to do it via the web 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 Thu Nov 13 12:41:57 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:41:57 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227565@main2.marlow.com> 1, pretty confident on that too...with the exception of the can't get back in part. I find it quick and easy to use, and lock everything down, but I always leave myself a way in. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 7:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 12:45:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:45:19 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227566@main2.marlow.com> Another clarification on my 1 position. That is for Access 97. I must admit to have only built one 2000 db with Access User Level security. But 97 I can do in my sleep. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 12:50:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:50:56 -0600 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227567@main2.marlow.com> Personally, my favorite setup is to use the system.mdw for users, and an 'admin' .mdw for development/maintenance. That way, the only 'special' shortcuts I need is for administrators of the database. Of course that method only works if you can clump all of the 'users' in one pile. If the users need to be split up by their capabilities, you can't use that method. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, November 13, 2003 8:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) I believe I'm not with with you.... First, to set thing strait. It's only in our office for develepmont I'm speaking. Second. You mean you have a shorcut that starts msaccess.exe with /workgroup xxx? Problem with that is that you need a hard path to msaccess.exe and hard paths is something I try to avoid. I always use roaming profiles and hard paths can problematic. I supose solutions are out there, but I already played alot with them and they are often OS dependent. You know, Gustav, It's not that a big deal... It's rarely I do a repair... And I don't use workgroups anymore at customer sites. I use the network user name and match them with the users in the database (user management based on tables/forms). If a network user is unkown in the database it exits instantly (after a msgbox). Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, November 13, 2003 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security Hi Erwin In my opinion it is not a good idea to have a special mdw assigned as the default. I have a shortcut for such an Access with the wkrgrp switch opening a secured database. /gustav > I know...I know... > At least I supose you mean that you can give msaccess.exe an /wrkgrp > command line option. Or use the /profile and a profile file. > I only use MDW for developing purposes indside the office and just > want it always to be my company.mdw group... > Specifying company.mdw for default gets reset to system.mdw in the > user profile folder.... Or is it in the program Files/common folder... > ? > Don't bother, I just overcopy all system.mdw with company.mdw... > Erwin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, November 13, 2003 1:56 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] POLL: Access Security > Hi Erwin > You can supply your app with your own mdw, say erwin.mdw. Office won't > overwrite that. For that kind of apps we create shortcuts (menu > entries) which makes it easy for the user to open the app with the > needed command line. > /gustav >> .. I want to add that a office repair each time reset or overwrites >> your MDW file). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 12:56:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 12:56:17 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227568@main2.marlow.com> Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Nov 13 13:14:12 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 13 Nov 2003 11:14:12 -0800 Subject: [AccessD] workgroup file (Sec Poll spin-off) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227567@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802227567@main2.marlow.com> Message-ID: <3FB3D804.3050807@verizon.net> No no no no no.... the system.mdw SHOULD NEVER BE TOUCHED. This is just bad practice... while it makes it incredibly convenient for a one database solution, when you begin adding new databases they automatically go and seek the permissions from the system.mdw, therefore all settings in that db are inherently applied to the new databases. Again this is all fine if you're doing this to one database for one organization and even while you're the current developer. But what happens when a new guy takes over or if you are given an mdb for another database. You'll see weird errors that you wouldn't should you not have messed w/ the original System.mdw. Additionally other developers following the Security FAQ will develop against their copy of the mdw. Of course I know you're the main / only? developer for access apps w/ your organization. But things can not always be so smooth. -- -Francisco Drew Wutka wrote: >Personally, my favorite setup is to use the system.mdw for users, and an >'admin' .mdw for development/maintenance. That way, the only 'special' >shortcuts I need is for administrators of the database. Of course that >method only works if you can clump all of the 'users' in one pile. If the >users need to be split up by their capabilities, you can't use that method. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Thursday, November 13, 2003 8:40 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) > > >I believe I'm not with with you.... > >First, to set thing strait. It's only in our office for develepmont I'm >speaking. > >Second. >You mean you have a shorcut that starts msaccess.exe with /workgroup >xxx? >Problem with that is that you need a hard path to msaccess.exe and hard >paths is something I try to avoid. >I always use roaming profiles and hard paths can problematic. >I supose solutions are out there, but I already played alot with them >and they are often OS dependent. > >You know, Gustav, It's not that a big deal... >It's rarely I do a repair... > >And I don't use workgroups anymore at customer sites. >I use the network user name and match them with the users in the >database (user management based on tables/forms). >If a network user is unkown in the database it exits instantly (after a >msgbox). > > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, November 13, 2003 3:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] POLL: Access Security > > >Hi Erwin > >In my opinion it is not a good idea to have a special mdw assigned as >the default. I have a shortcut for such an Access with the wkrgrp switch >opening a secured database. > >/gustav > > > > >>I know...I know... >>At least I supose you mean that you can give msaccess.exe an /wrkgrp >>command line option. Or use the /profile and a profile file. >> >> > > > >>I only use MDW for developing purposes indside the office and just >>want it always to be my company.mdw group... >> >> > > > >>Specifying company.mdw for default gets reset to system.mdw in the >>user profile folder.... Or is it in the program Files/common folder... >> >> > > > >>? >> >> > > > >>Don't bother, I just overcopy all system.mdw with company.mdw... >> >> > > > > >>Erwin >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >>Brock >>Sent: Thursday, November 13, 2003 1:56 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] POLL: Access Security >> >> > > > > >>Hi Erwin >> >> > > > >>You can supply your app with your own mdw, say erwin.mdw. Office won't >> >> > > > >>overwrite that. For that kind of apps we create shortcuts (menu >>entries) which makes it easy for the user to open the app with the >>needed command line. >> >> > > > >>/gustav >> >> > > > >>>.. I want to add that a office repair each time reset or overwrites >>>your MDW file). >>> >>> From rmoore at comtechpst.com Thu Nov 13 13:16:54 2003 From: rmoore at comtechpst.com (Ron Moore) Date: Thu, 13 Nov 2003 14:16:54 -0500 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <003701c3aa1a$b5bb52d0$3c549da6@Comtech.Comtechpst.com> I'm a 3 and regret it. Adding new users/groups during normal working hours is almost impossible! Need exclusive log in and have to bump everyone out. Not a good thing. Running to the books/help is not a good thing when upper management wants something quick. Ron -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 8:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomk at multiline.com.au Wed Nov 12 14:18:09 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Thu, 13 Nov 2003 04:18:09 +0800 Subject: [AccessD] Change resolution of forms References: <011f01c3a983$8a8de1f0$6501a8c0@HAL9002><004801c3a8d4$476bdc10$0300a8c0@print> <009901c3a9f2$f67f1810$6501a8c0@HAL9002> Message-ID: <00a701c3a95a$18129e50$0300a8c0@print> > This seems to be a better solution than the ADH code but I'm trying to get > rid of dynamic resizing altogether. Any ideas on that? > Regards, > Rocky I must admit that I was dissapointed with the results from that module and resolved to go through slowly over a period of time and Re-size my forms manually .....BUT we are talking some HUNDREDS of forms and I would prefer a better way .... It occurs to me that this is an ongoing problem for ANYONE who designs software and rarely do you come accross sizing problems in shareware or commercial apps so there must be other alternatives. I will do some more "digging"on the subject ....maybe there are a range of API's we can access regards Tom Keatley From DWUTKA at marlow.com Thu Nov 13 14:43:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 14:43:26 -0600 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222756B@main2.marlow.com> I didn't say I touched the system.mdw. I just said I used it. The permissions for each object in the database is stored in the .mdb. Therefore, I strip the Admin account of all permissions except those that a normal user would have. I then have An Admin account (and usually an Admin Group) of my own making, that have all permissions setup. That way, when a user opens the .mdb, they are automatically logged in as Admin, with a blank password, against whatever is setup as their current .mdw. (which in most cases is System.mdw). They get no login, they require no special setup, and they only have generic user permissions. This works quite well in tandem with NT security, because NT security can then be used to only allow specific NT users to access an .mdb at all, so anyone with NT access automatically has generic user capabilities. To have more capabilities, then another .mdw is required. I also use the exact same User Account for my personal account, so it doesn't matter what .mdb I am working on, I can actually use any of the .mdw's out there, to get admin access. Drew -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Thursday, November 13, 2003 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] workgroup file (Sec Poll spin-off) No no no no no.... the system.mdw SHOULD NEVER BE TOUCHED. This is just bad practice... while it makes it incredibly convenient for a one database solution, when you begin adding new databases they automatically go and seek the permissions from the system.mdw, therefore all settings in that db are inherently applied to the new databases. Again this is all fine if you're doing this to one database for one organization and even while you're the current developer. But what happens when a new guy takes over or if you are given an mdb for another database. You'll see weird errors that you wouldn't should you not have messed w/ the original System.mdw. Additionally other developers following the Security FAQ will develop against their copy of the mdw. Of course I know you're the main / only? developer for access apps w/ your organization. But things can not always be so smooth. -- -Francisco Drew Wutka wrote: >Personally, my favorite setup is to use the system.mdw for users, and an >'admin' .mdw for development/maintenance. That way, the only 'special' >shortcuts I need is for administrators of the database. Of course that >method only works if you can clump all of the 'users' in one pile. If the >users need to be split up by their capabilities, you can't use that method. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Thursday, November 13, 2003 8:40 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) > > >I believe I'm not with with you.... > >First, to set thing strait. It's only in our office for develepmont I'm >speaking. > >Second. >You mean you have a shorcut that starts msaccess.exe with /workgroup >xxx? >Problem with that is that you need a hard path to msaccess.exe and hard >paths is something I try to avoid. >I always use roaming profiles and hard paths can problematic. >I supose solutions are out there, but I already played alot with them >and they are often OS dependent. > >You know, Gustav, It's not that a big deal... >It's rarely I do a repair... > >And I don't use workgroups anymore at customer sites. >I use the network user name and match them with the users in the >database (user management based on tables/forms). >If a network user is unkown in the database it exits instantly (after a >msgbox). > > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, November 13, 2003 3:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] POLL: Access Security > > >Hi Erwin > >In my opinion it is not a good idea to have a special mdw assigned as >the default. I have a shortcut for such an Access with the wkrgrp switch >opening a secured database. > >/gustav > > > > >>I know...I know... >>At least I supose you mean that you can give msaccess.exe an /wrkgrp >>command line option. Or use the /profile and a profile file. >> >> > > > >>I only use MDW for developing purposes indside the office and just >>want it always to be my company.mdw group... >> >> > > > >>Specifying company.mdw for default gets reset to system.mdw in the >>user profile folder.... Or is it in the program Files/common folder... >> >> > > > >>? >> >> > > > >>Don't bother, I just overcopy all system.mdw with company.mdw... >> >> > > > > >>Erwin >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >>Brock >>Sent: Thursday, November 13, 2003 1:56 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] POLL: Access Security >> >> > > > > >>Hi Erwin >> >> > > > >>You can supply your app with your own mdw, say erwin.mdw. Office won't >> >> > > > >>overwrite that. For that kind of apps we create shortcuts (menu >>entries) which makes it easy for the user to open the app with the >>needed command line. >> >> > > > >>/gustav >> >> > > > >>>.. I want to add that a office repair each time reset or overwrites >>>your MDW file). >>> >>> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 13 14:53:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Nov 2003 12:53:32 -0800 Subject: [AccessD] POLL: Access Security Message-ID: The security works the same in later versions. The biggest difference is that in 2002, you have the ability to join a workgroup from the security menu instead of having to run the workgroup administrator. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, November 13, 2003 10:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Another clarification on my 1 position. That is for Access 97. I must admit to have only built one 2000 db with Access User Level security. But 97 I can do in my sleep. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 13 15:31:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 13 Nov 2003 15:31:54 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF80222756D@main2.marlow.com> You're right. Just starting my first cup of coffee this morning. Was thinking about the differenc between 97 and 2000 when it came to record locking and for some reason was thinking that there was more detail in User Level security. Like I said, I've built 1 secured A2k db. I personally can't stand A2k, the only perk I have found that I like is VBA 6, which lets me do customized events.... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, November 13, 2003 2:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security The security works the same in later versions. The biggest difference is that in 2002, you have the ability to join a workgroup from the security menu instead of having to run the workgroup administrator. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, November 13, 2003 10:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Another clarification on my 1 position. That is for Access 97. I must admit to have only built one 2000 db with Access User Level security. But 97 I can do in my sleep. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, November 12, 2003 8:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security >M$'s main DB security is lack of supplied information. ROTFL. And I intentionally called mine Light Weight Security precisely to avoid any expectations that it would lock down a database against someone like yourself. I have discovered that: There are hackers out there that can take down Fort Knox. If you are worried about them Access is not your tool. 99.9% of the day to day damage is done by innocent users doing things they shouldn't be allowed to do. 99.9% of that damage is easily prevented using something waaaaaaay less obtuse than Access security. Funny but true story. I had a user who had apparently taken a class somewhere. She told me one day that she had attempted to make a change to one of my tables but that she couldn't make the change stick. She was attempting to MODIFY a field in a LINKED table. She did not even understand what a linked table was, nor where the real data was. It never occurred to me that a user would even attempt to modify a table of a database that was company property and over which she had no design authority. She was just a user! No harm was done of course, but I had to have a heart to heart with her as to what her job was. And of course, if the company allows it (and this one doesn't) simply setting the database properties would keep such inexpert busy fingers out of the pie. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, November 12, 2003 8:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi John: Odd questions but I would rate myself as a 4, the other stuff I have samples on but would have to dig for the answers. The ultimate security is simply to go to any SQL server, as far as I am concerned. MDB security is too fragile and hackable. A couple of years back I had to hack a few, think it was two or three, MDBs that were supposedly secure, so the client could work on the tables after the initial programmers had disappeared. Cracked them all...and I would not consider myself a whiz at that stuff, it was just that MS MDB security is a little weak. M$'s main DB security is lack of supplied information. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 13 15:45:52 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Nov 2003 13:45:52 -0800 Subject: [AccessD] POLL: Access Security References: <003701c3aa1a$b5bb52d0$3c549da6@Comtech.Comtechpst.com> Message-ID: <3FB3FB90.9060604@shaw.ca> For those who are shocked, truely shocked. Try some of these versus your locked down mdbs From Serge Gavrilov http://accesstools.narod.ru/index.html You might as well know about these. Some of them are useful. especially on messed up security. Ron Moore wrote: >I'm a 3 and regret it. Adding new users/groups during normal working >hours is almost impossible! Need exclusive log in and have to bump >everyone out. Not a good thing. Running to the books/help is not a >good thing when upper management wants something quick. > >Ron > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Wednesday, November 12, 2003 8:00 PM >To: AccessD >Subject: [AccessD] POLL: Access Security > > >I'd like to take a poll regarding your knowledge of Access' built-in >security. By security I do NOT mean the database properties, rather >using workgroups / users to secure forms, tables, queries etc. > >Anyone interested in participating please choose one of the following: > >1) I am an Access security guru. I can quickly and easily lock a >database down so tight I can't even get back in. No help / books >needed. >2) I am fluent with Access security. I can get the job done but it >definitely takes a few hours. I probably won't need the help / books. >3) I have done Access Security on at least one real paying project. I >would need help / books to do it again. >4) I have heard about Access Security, read about it, managed to shoot a >toe off, maybe played around with it, but I am confident I could get the >job done. Books / help definitly needed. >5) Access has built in security? What is this and where would I go to >learn it? Why haven't I ever seen these books / help? > >If you would please just select a number and reply I would appreciate >it. > >As for myself, I must admit I rate a solid 4. No client has ever been >willing to pay for it and I have always had other things to learn / do >so I just never did it (for real). > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From d.dick at uws.edu.au Thu Nov 13 17:20:29 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 14 Nov 2003 10:20:29 +1100 Subject: [AccessD] A2K: Access Security via a browser References: <2F8793082E00D4119A1700B0D0216BF802227564@main2.marlow.com> Message-ID: <004001c3aa3c$ba60eda0$fabb9a89@DDICK> Hi Drew Thanks for the reply I mean setting permissions, creating users and groups, changing passwords, etc, as you suggested. Basically she would like interfacing with Access Security and totally managing, at every level via a browser, whatever you can manage whilst sitting directly in from of the System.mdw file In relation to John Colby's Poll on Access Security I am a 14. Never touched the stuff and am vaguely aware that it exists. So if it seems I am asking the impossible because I don't know any better it's because...I don't know any better :-)) Many thanks for the reply Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 14, 2003 5:40 AM Subject: RE: [AccessD] A2K: Access Security via a browser > What do you mean Darren. Do you mean like setting permissions, creating > users and groups, changing passwords, etc? Or simply logging into a secured > database? > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, November 12, 2003 6:48 PM > To: AccessD List > Subject: [AccessD] A2K: Access Security via a browser > > > Hello all > I have a Web Developer friend asking me if anyone knows of some useful > URL's that will show how to or give examples of administering Access > security via a browser. > > She has Access Security implemented and can administer it fine from the > local PC via the > 'normal' means, she just wants to do it via the web > > 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 d.dick at uws.edu.au Thu Nov 13 19:35:19 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 14 Nov 2003 12:35:19 +1100 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Hello all Is there a way to determine the current sub name once you are in it then display it Is there a Current Sub Property? etc eg (PSEUDO Code) Private Sub MySub() Msgbox "My Sub Name is " & Application.SubName End sub Many thanks in advance Darren From accma at sympatico.ca Thu Nov 13 20:55:44 2003 From: accma at sympatico.ca (Annie Courchesne, cma) Date: Thu, 13 Nov 2003 21:55:44 -0500 Subject: [AccessD] A2K developer Message-ID: Hi guys, It?s been a while since I?ve posted here A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn?t have to buy 20+ licences of A2K. I?m trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn?t have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA From stephen at bondsoftware.co.nz Thu Nov 13 20:40:37 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 14 Nov 2003 15:40:37 +1300 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <70F3D727890C784291D8433E9C418F29088507@server.bondsoftware.co.nz> Darren A common way to do this (this means I saw a guru do it so I copied him ) relies on inserting in each module at initial design time the following line of code: Private Const thisModuleName As String = "basWhatever" Not very swept up sorry! Stephen Bond > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Friday, 14 November 2003 2:35 p.m. > To: AccessD List > Subject: [AccessD] A2K: Get Current Sub Name > > > Hello all > Is there a way to determine the current sub name once you are > in it then display it > Is there a Current Sub Property? etc > > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stephen at bondsoftware.co.nz Thu Nov 13 20:45:30 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 14 Nov 2003 15:45:30 +1300 Subject: FW: [AccessD] A2K: Get Current Sub Name Message-ID: <70F3D727890C784291D8433E9C418F29088508@server.bondsoftware.co.nz> Which means is that you would have to put the line in each SUB. Not very elegant, what? Stephen > -----Original Message----- > From: Stephen Bond > Sent: Friday, 14 November 2003 3:41 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Get Current Sub Name > > > Darren > > A common way to do this (this means I saw a guru do it so I > copied him ) relies on inserting in each module at initial > design time the following line of code: > > Private Const thisModuleName As String = "basWhatever" > > Not very swept up sorry! > > Stephen Bond > > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Friday, 14 November 2003 2:35 p.m. > > To: AccessD List > > Subject: [AccessD] A2K: Get Current Sub Name > > > > > > Hello all > > Is there a way to determine the current sub name once you are > > in it then display it > > Is there a Current Sub Property? etc > > > > eg (PSEUDO Code) > > Private Sub MySub() > > Msgbox "My Sub Name is " & Application.SubName > > End sub > > > > Many thanks in advance > > > > Darren > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > From SDSSoftware at optusnet.com.au Thu Nov 13 21:49:12 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 14 Nov 2003 14:49:12 +1100 Subject: [AccessD] A2K developer References: Message-ID: <001101c3aa62$44bbef70$6401a8c0@user> Hi Annie - have you tried Ebay? Kath ----- Original Message ----- From: Annie Courchesne, cma To: Accessd Sent: Friday, November 14, 2003 1:55 PM Subject: [AccessD] A2K developer Hi guys, It's been a while since I've posted here. A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn't have to buy 20+ licences of A2K. I'm trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn't have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Nov 13 21:56:57 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 13 Nov 2003 19:56:57 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: OT John, I will have you know that I was a fully certified SCO reseller and trainer, at one time. Mind you that was almost fifteen years ago and I having a tough time setting up Samba on an old beater-box using 5.2 Red Hat linux. Do you have a 5.2 pre-built floating around that you would like to send me? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Thursday, November 13, 2003 8:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Hi Jim, I'll bet you can't write about "SCO Unix" on too many lists anymore without getting flamed! :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Thursday, November 13, 2003 10:01 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > Hi All: > > This security thing can go a little overboard. If your applications have > sensitive data and provides access from the general public no one > will ever > use a standard computer terminal and Access's MDB as the BE, it > is just too > flaky. > > SCO Unix had a 'Yellow Book' setting that when toggled basically made the > system inaccessible and consumed all the system resources monitoring every > access, every task performed and continually validated every > user, again and > again. The system now became a monster to handle and even to do > the simplest > of tasks, for the systems guy, could take an hour. (Everyone in > that office > was delighted when the data was backed up and the server was > reformatted and > the system re-installed.) > > My point is, that sometimes super tight security is a waste of > time. A good > talk by the office manager on how he/she will whack the first person who > screws with things, without authorization, is the best security of all. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie > Sent: Thursday, November 13, 2003 6:08 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] POLL: Access Security > > > 2 > > Have had a whole series of HR databases with sensitive data that needs > locked tight. It takes me a while and I avoid it if I can. Secured > databases are a PITA. I inherited a database locked so tight it was darn > near impenetrable. All of this for info that was common knowledge in the > workplace and not all that sensitive outside it. The thing is nearly > impossible to modify or troubleshoot and I would love to give the guy that > wrote this a piece of my mind. > > Debbie > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: 13 November 2003 01:00 > To: AccessD > Subject: [AccessD] POLL: Access Security > > > I'd like to take a poll regarding your knowledge of Access' built-in > security. By security I do NOT mean the database properties, rather using > workgroups / users to secure forms, tables, queries etc. > > Anyone interested in participating please choose one of the following: > > 1) I am an Access security guru. I can quickly and easily lock a database > down so tight I can't even get back in. No help / books needed. > 2) I am fluent with Access security. I can get the job done but it > definitely takes a few hours. I probably won't need the help / books. > 3) I have done Access Security on at least one real paying > project. I would > need help / books to do it again. > 4) I have heard about Access Security, read about it, managed to > shoot a toe > off, maybe played around with it, but I am confident I could get the job > done. Books / help definitly needed. > 5) Access has built in security? What is this and where would I > go to learn > it? Why haven't I ever seen these books / help? > > If you would please just select a number and reply I would appreciate it. > > As for myself, I must admit I rate a solid 4. No client has ever been > willing to pay for it and I have always had other things to learn > / do so I > just never did it (for real). > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - 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 > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Nov 13 22:05:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 13 Nov 2003 20:05:06 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227568@main2.marlow.com> Message-ID: Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Thu Nov 13 22:21:32 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Fri, 14 Nov 2003 14:51:32 +1030 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: Don't know of any inbuilt function, but another (painful) workaround.. Since you must know the name when you call it, I guess you could include an 'optional' parameter in each sub you are using and calling it this way.. ********************************* Call MySub('MySub') ********************************* Then for your actual Sub: ********************************* Sub MySub (Optional myName as string) Debug.Print ("My name is " & myName) End Sub ********************************* Cheers, Andrew -----Original Message----- From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] Sent: Friday, 14 November 2003 1:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Get Current Sub Name Darren A common way to do this (this means I saw a guru do it so I copied him ) relies on inserting in each module at initial design time the following line of code: Private Const thisModuleName As String = "basWhatever" Not very swept up sorry! Stephen Bond > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Friday, 14 November 2003 2:35 p.m. > To: AccessD List > Subject: [AccessD] A2K: Get Current Sub Name > > > Hello all > Is there a way to determine the current sub name once you are > in it then display it > Is there a Current Sub Property? etc > > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > > 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From stuart at lexacorp.com.pg Thu Nov 13 22:23:43 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Nov 2003 14:23:43 +1000 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Message-ID: <3FB4E56F.13148.256C32@localhost> I doubt it very much (unless you embed the name in a string). Once the code is compiled, the name is no longer there, just a pointer to a code location. On 14 Nov 2003 at 12:35, Darren DICK wrote: > Hello all > Is there a way to determine the current sub name once you are in it then display it > Is there a Current Sub Property? etc > > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From john at winhaven.net Thu Nov 13 23:04:19 2003 From: john at winhaven.net (John Bartow) Date: Thu, 13 Nov 2003 23:04:19 -0600 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: Jim, Oh sure. I'll send it right over. I installed it duel boot on my UnixWare machine. NOT I used to be a SysAdmin for AT&T Unix version 3.2.(something or or other) and then had to move to UnixWare version 4? (IIRC-whatever version it was the first version of Novell "UnixWare"). "THAT was sure a good idea on their part" I would have loved an SCO system! I tried really hard to get one but just couldn't swing it. And I didn't have the hardware for Sun (pre-Solaris). I actually came into the NT world because when we were starting our GIS pilot project and we wanted it to be hosted on Unixware so I would admin everything the same. Funny thing is we couldn't find one that would run on UnixWare so we went with Intergraph (who had their own Unix called Clipper). The project finally got approved and right about then Intergraph made this wild leap into porting everything to Windows NT and we had to go with it. They were the first really big company to support NT and they suffered for it for a long time. NT 3.1 and even 3.5 were pretty horrible. NT 3.51 was really the first stable version of the product IMHO. But even then you had to deal with the horrible Windows 3.1 GUI. NT 4 was a slice of heaven! I actually ran my GIS Pilot project on NT 3.51, NT 4 with the attribute data held in an Informix SE v5 RDBMS on UnixWare. Nobody could believe it worked. I do believe it was the only configuration like that in the world-ever :o) We used to tell Intergraph Support (the local Intergraph guys idea) that it was an SCO box and just make little changes here and there where things were different between UnixWare and SCO. Never had any data loss and other than the initial connection time (about a minute) it ran as fast as anything I've ever worked on. I did that (UnixWare-SysAdmin/NT-Admin/RDBMS-Admin/GIS Pilot Project Manager) for 4 years. Plus I supported all of the dept. desktops/programs and three CADD stations. Never a dull moment. I don't think I ever listed that all before. No wonder I got burned out and can't remember anything anymore! BTW what were we discussing? John B. "slap-happy tired" http://www.w2knews.com/rd/rd.cfm?id=031110FA-Inner_Geek > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Thursday, November 13, 2003 9:57 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > OT > > John, > > I will have you know that I was a fully certified SCO reseller > and trainer, > at one time. Mind you that was almost fifteen years ago and I > having a tough > time setting up Samba on an old beater-box using 5.2 Red Hat linux. Do you > have a 5.2 pre-built floating around that you would like to send me? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Thursday, November 13, 2003 8:29 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] POLL: Access Security > > > Hi Jim, > I'll bet you can't write about "SCO Unix" on too many lists > anymore without > getting flamed! > :o) > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > > (AccessD) > > Sent: Thursday, November 13, 2003 10:01 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] POLL: Access Security > > > > > > Hi All: > > > > This security thing can go a little overboard. If your applications have > > sensitive data and provides access from the general public no one > > will ever > > use a standard computer terminal and Access's MDB as the BE, it > > is just too > > flaky. > > > > SCO Unix had a 'Yellow Book' setting that when toggled > basically made the > > system inaccessible and consumed all the system resources > monitoring every > > access, every task performed and continually validated every > > user, again and > > again. The system now became a monster to handle and even to do > > the simplest > > of tasks, for the systems guy, could take an hour. (Everyone in > > that office > > was delighted when the data was backed up and the server was > > reformatted and > > the system re-installed.) > > > > My point is, that sometimes super tight security is a waste of > > time. A good > > talk by the office manager on how he/she will whack the first person who > > screws with things, without authorization, is the best security of all. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Elam, Debbie > > Sent: Thursday, November 13, 2003 6:08 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] POLL: Access Security > > > > > > 2 > > > > Have had a whole series of HR databases with sensitive data that needs > > locked tight. It takes me a while and I avoid it if I can. Secured > > databases are a PITA. I inherited a database locked so tight > it was darn > > near impenetrable. All of this for info that was common > knowledge in the > > workplace and not all that sensitive outside it. The thing is nearly > > impossible to modify or troubleshoot and I would love to give > the guy that > > wrote this a piece of my mind. > > > > Debbie > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: 13 November 2003 01:00 > > To: AccessD > > Subject: [AccessD] POLL: Access Security > > > > > > I'd like to take a poll regarding your knowledge of Access' built-in > > security. By security I do NOT mean the database properties, > rather using > > workgroups / users to secure forms, tables, queries etc. > > > > Anyone interested in participating please choose one of the following: > > > > 1) I am an Access security guru. I can quickly and easily lock > a database > > down so tight I can't even get back in. No help / books needed. > > 2) I am fluent with Access security. I can get the job done but it > > definitely takes a few hours. I probably won't need the help / books. > > 3) I have done Access Security on at least one real paying > > project. I would > > need help / books to do it again. > > 4) I have heard about Access Security, read about it, managed to > > shoot a toe > > off, maybe played around with it, but I am confident I could get the job > > done. Books / help definitly needed. > > 5) Access has built in security? What is this and where would I > > go to learn > > it? Why haven't I ever seen these books / help? > > > > If you would please just select a number and reply I would > appreciate it. > > > > As for myself, I must admit I rate a solid 4. No client has ever been > > willing to pay for it and I have always had other things to learn > > / do so I > > just never did it (for real). > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > - 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 > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 13 23:07:30 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri, 14 Nov 2003 00:07:30 -0500 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Message-ID: Darren, The VBEErrorHandler error handler wizard can do this for you but as everyone else is stating, it isn't pretty. There seems to be simply no way to just "know" the function name, no variable you can go to etc. Ken Gets et al (ADH) uses two classes, one that holds info about the current sub and another that holds a collection of those classes. IOW, code is inserted in each function which instantiates a class on entry and tears it down on exit. These are stored in a collection. What this gives you is a very slick call path, i.e. how did I get here? Or that's the theory anyway. Given the asynchronous nature of Access, with code running and then the user clicking on things, email being received and firing outlook events etc. I think this whole concept could get confusing real fast. But it exists if you want to look at it. Go to DatabaseAdvisors.com and go to the downloads. http://www.databaseadvisors.com/downloads.htm click VBErrorHandler and install it. I use it daily for my error handlers anyway, the call stack tracing is just a little bonus I threw in when I specifically needed it once. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Thursday, November 13, 2003 8:35 PM To: AccessD List Subject: [AccessD] A2K: Get Current Sub Name Hello all Is there a way to determine the current sub name once you are in it then display it Is there a Current Sub Property? etc eg (PSEUDO Code) Private Sub MySub() Msgbox "My Sub Name is " & Application.SubName End sub Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 14 01:39:21 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 14 Nov 2003 08:39:21 +0100 Subject: [AccessD] workgroup file (Sec Poll spin-off) Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD3@stekelbes.ithelps.local> I conclude. (at client locations). The user managment is insufficient from the workgrou file anyway. Where you gnna put other data , like first, last, Dateinservice, direct e-mail, private address, native language, date of birth. I find for user management U most forget the workgroup and create your own. I don't have any form level security in my apps (next to a common password for some functions) but that would be probably something I goooing to be needing one day. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Francisco H Tapia Verzonden: donderdag 13 november 2003 20:14 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] workgroup file (Sec Poll spin-off) No no no no no.... the system.mdw SHOULD NEVER BE TOUCHED. This is just bad practice... while it makes it incredibly convenient for a one database solution, when you begin adding new databases they automatically go and seek the permissions from the system.mdw, therefore all settings in that db are inherently applied to the new databases. Again this is all fine if you're doing this to one database for one organization and even while you're the current developer. But what happens when a new guy takes over or if you are given an mdb for another database. You'll see weird errors that you wouldn't should you not have messed w/ the original System.mdw. Additionally other developers following the Security FAQ will develop against their copy of the mdw. Of course I know you're the main / only? developer for access apps w/ your organization. But things can not always be so smooth. -- -Francisco Drew Wutka wrote: >Personally, my favorite setup is to use the system.mdw for users, and >an 'admin' .mdw for development/maintenance. That way, the only >'special' shortcuts I need is for administrators of the database. Of >course that method only works if you can clump all of the 'users' in >one pile. If the users need to be split up by their capabilities, you >can't use that method. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Thursday, November 13, 2003 8:40 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] workgroup file (Sec Poll spin-off) > > >I believe I'm not with with you.... > >First, to set thing strait. It's only in our office for develepmont I'm >speaking. > >Second. >You mean you have a shorcut that starts msaccess.exe with /workgroup >xxx? Problem with that is that you need a hard path to msaccess.exe and >hard paths is something I try to avoid. >I always use roaming profiles and hard paths can problematic. >I supose solutions are out there, but I already played alot with them >and they are often OS dependent. > >You know, Gustav, It's not that a big deal... >It's rarely I do a repair... > >And I don't use workgroups anymore at customer sites. >I use the network user name and match them with the users in the >database (user management based on tables/forms). If a network user is >unkown in the database it exits instantly (after a msgbox). > > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, November 13, 2003 3:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] POLL: Access Security > > >Hi Erwin > >In my opinion it is not a good idea to have a special mdw assigned as >the default. I have a shortcut for such an Access with the wkrgrp >switch opening a secured database. > >/gustav > > > > >>I know...I know... >>At least I supose you mean that you can give msaccess.exe an /wrkgrp >>command line option. Or use the /profile and a profile file. >> >> > > > >>I only use MDW for developing purposes indside the office and just >>want it always to be my company.mdw group... >> >> > > > >>Specifying company.mdw for default gets reset to system.mdw in the >>user profile folder.... Or is it in the program Files/common folder... >> >> > > > >>? >> >> > > > >>Don't bother, I just overcopy all system.mdw with company.mdw... >> >> > > > > >>Erwin >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav >>Brock >>Sent: Thursday, November 13, 2003 1:56 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] POLL: Access Security >> >> > > > > >>Hi Erwin >> >> > > > >>You can supply your app with your own mdw, say erwin.mdw. Office won't >> >> > > > >>overwrite that. For that kind of apps we create shortcuts (menu >>entries) which makes it easy for the user to open the app with the >>needed command line. >> >> > > > >>/gustav >> >> > > > >>>.. I want to add that a office repair each time reset or overwrites >>>your MDW file). >>> >>> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 14 01:42:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 14 Nov 2003 08:42:54 +0100 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <46B976F2B698FF46A4FE7636509B22DF7246@stekelbes.ithelps.local> I believe not... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK Verzonden: vrijdag 14 november 2003 2:35 Aan: AccessD List Onderwerp: [AccessD] A2K: Get Current Sub Name Hello all Is there a way to determine the current sub name once you are in it then display it Is there a Current Sub Property? etc eg (PSEUDO Code) Private Sub MySub() Msgbox "My Sub Name is " & Application.SubName End sub Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 14 02:15:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 09:15:09 +0100 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <012f01c3aa4f$913ce010$fabb9a89@DDICK> References: <012f01c3aa4f$913ce010$fabb9a89@DDICK> Message-ID: <1621596745.20031114091509@cactus.dk> Hi Darren At least you can retrieve the name of the module ...: Public Sub ModuleName() Dim strModuleName As String On Error Resume Next strModuleName = Null strModuleName = Err.Source MsgBox strModuleName End Sub /gustav > Is there a way to determine the current sub name once you are in it then display it > Is there a Current Sub Property? etc > eg (PSEUDO Code) > Private Sub MySub() > Msgbox "My Sub Name is " & Application.SubName > End sub > Many thanks in advance > Darren From lists at jbsolutions.com.au Fri Nov 14 02:23:44 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Fri, 14 Nov 2003 18:23:44 +1000 Subject: [AccessD] A2K: Get Current Sub Name Message-ID: <200311140823.hAE8Ng607489@databaseadvisors.com> Hello Darren DICK, If you have the A2K Developers Error Handler add-in, you may be able to automate the process of "recording" the current sub name in each procedure. See, in the default setup of the add-in, it includes a line in each procedure as follows... MsgBox "Error " & Err.Number & ": " & Err.Description, vbCritical, ModuleName.ProcedureName So in theory, you should be able to setup an Error Handler template that doesnt really handle errors, but adds a line into each procedure like so glblRunningProcedure = ModuleName.ProcedureName Still not a pretty solution, but easier than doing it by hand.... ======= At 2003-11-14, 12:35:00 you wrote: ======= >Hello all >Is there a way to determine the current sub name once you are in it then display it >Is there a Current Sub Property? etc > >eg (PSEUDO Code) >Private Sub MySub() >Msgbox "My Sub Name is " & Application.SubName >End sub > >Many thanks in advance > >Darren > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-11-14 From caa at highway.com.br Fri Nov 14 02:56:53 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 14 Nov 2003 06:56:53 -0200 Subject: [AccessD] Distinguishing Key Press In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801079B@srciml1.ds.doc.state.or.us> Message-ID: On Wed, 12 Nov 2003 10:52:50 -0700, Gowey Mike W wrote: > What I need it to do is if the Tab key is pressed to move to the next > field, if the Enter key is pressed to save the record and than print a > label of the information. > > This is a mail tracking database, in the form they are able to enter the > information on the piece of mail that is coming in, lots of times the > same publication comes in, so they fill out all the imformation on the > publication once and all they want to be able to do is change the number > of the reciepient and be able to press enter and the label for the > distribution of the publication/Piece of mail is printed. If they need > to change any information than pressing the Tab key will allow this. > > I hope that makes better sense or maybe I am just muttering > > Mike > Take a look at help for "KeyPreview Property"!!! HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From caa at highway.com.br Fri Nov 14 02:57:17 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 14 Nov 2003 06:57:17 -0200 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: 4 for myself. I have always used .MDE files with a single password to login. -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From roz.clarke at donnslaw.co.uk Fri Nov 14 03:12:54 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 14 Nov 2003 09:12:54 -0000 Subject: [AccessD] FW: A2K developer Message-ID: <61F915314798D311A2F800A0C9C83188047C6753@dibble.observatory.donnslaw.co.uk> Forwarded mail below.... -----Original Message----- From: Annie Courchesne, cma [mailto:annie.courchesne at sympatico.ca] Sent: 14 November 2003 02:52 To: Accessd Subject: A2K developer Hi guys, It's been a while since I've posted here... A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn't have to buy 20+ licences of A2K. I'm trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn't have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA From HollisVJ at pgdp.usec.com Fri Nov 14 07:01:31 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:01:31 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95C@cntexchange.pgdp.usec.com> I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If From andy at minstersystems.co.uk Fri Nov 14 06:09:13 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 14 Nov 2003 13:09:13 +0100 Subject: [AccessD] Don't Open Form Message-ID: <20031114130910.2949B24EB90@smithers.nildram.co.uk> Virginia You need to test If DCount(etc)>0. You've omitted the >0 part. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Don't Open Form Date: 14/11/03 19:04 I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From HollisVJ at pgdp.usec.com Fri Nov 14 07:15:22 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:15:22 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95D@cntexchange.pgdp.usec.com> I tried making a query & using this code. In the query I set the StatusID to show only open & EngineerID = Forms!frmSystemFailure.EngineerID. If there are not any open EFRs for the Engineer, the message box shows, but I get an error, that it can't find frmSystemFailure. Function NoOpenEng() If DCount("*", "qryStatusEng") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPendingEng", Forms!frmUpdateEFRs.UserID = Forms!frmSystemFailure.EngineerID, acFormEdit, acWindowNormal Else MsgBox "No Open EFRs" End If End Function -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, November 14, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Don't Open Form I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ 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 Nov 14 07:17:15 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:17:15 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95E@cntexchange.pgdp.usec.com> Sorry about that - typo on the query. I set the query EngineerID = frmUpdateEFR.EngineerID frmUpdateEFR is the form with the combobox for selecting the Engineer's name to open frmSystemFailure and view the open EFRs. Totally confused yet? Virginia -----Original Message----- From: Hollis,Virginia Sent: Friday, November 14, 2003 7:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Don't Open Form I tried making a query & using this code. In the query I set the StatusID to show only open & EngineerID = Forms!frmSystemFailure.EngineerID. If there are not any open EFRs for the Engineer, the message box shows, but I get an error, that it can't find frmSystemFailure. Function NoOpenEng() If DCount("*", "qryStatusEng") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPendingEng", Forms!frmUpdateEFRs.UserID = Forms!frmSystemFailure.EngineerID, acFormEdit, acWindowNormal Else MsgBox "No Open EFRs" End If End Function -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, November 14, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Don't Open Form I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ 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 Nov 14 07:19:06 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 07:19:06 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> I tried that already, & it still opens a blank form. Virginia -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Friday, November 14, 2003 6:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Don't Open Form Virginia You need to test If DCount(etc)>0. You've omitted the >0 part. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Don't Open Form Date: 14/11/03 19:04 I have the below code on a form that is used to open another form filtered to the selected Engineer's name. The user selects their name from a combobox (UserID), if the document status is open, or pending, or in progress, the frmSystemFailure opens filtered to show their open documents. If there are not any open EFRs for the selected Engineer, the form is still opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... What is wrong that the form is opening blank instead of giving the MsgBox? Virginia stDocName = "frmSystemFailure" stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" ' Check whether the user has any EFRs open. If they do, open the ' form with a filter. On Error Resume Next If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then DoCmd.OpenForm stDocName, , , stLinkCriteria Else 'DisplayMessage "No open EFRs" MsgBox "No open EFRs for " & Forms![frmUpdateEFRs]![UserID].Column(1) End If _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Nov 14 07:38:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 14:38:38 +0100 Subject: [AccessD] Don't Open Form In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> Message-ID: <9021005924.20031114143838@cactus.dk> Hi Virginia Well, how about uncommenting that error line and debug the criteria and the output of DCount: Rem On Error Resume Next Debug.Print stLinkCriteria Debug.Print DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) /gustav > I tried that already, & it still opens a blank form. > Virginia > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > I have the below code on a form that is used to open another form filtered > to the selected Engineer's name. The user selects their name from a combobox > (UserID), if the document status is open, or pending, or in progress, the > frmSystemFailure opens filtered to show their open documents. > If there are not any open EFRs for the selected Engineer, the form is still > opening, but it is blank. It is not giving the MsgBox, No Open EFRs.... > What is wrong that the form is opening blank instead of giving the MsgBox? > Virginia > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If From stuart at pacific.net.hk Fri Nov 14 07:42:53 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 21:42:53 +0800 Subject: [AccessD] Don't Open Form In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C95F@cntexchange.pgdp.usec.com> Message-ID: <001b01c3aab5$3acc35d0$5100a8c0@BITSNB02> You get a blank form if the underlying record source is empty. As Andy mentioned, you need to test for the recordcount and if 0 warn the user and either don't open the form, or if the test is in the form itself close gracefully. Alternatively you could go the main/subform approach, where the main form uses the userid and the subform lists all open documents with the userid. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 9:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > I tried that already, & it still opens a blank form. > > Virginia > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > > > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > > > I have the below code on a form that is used to open another > form filtered > to the selected Engineer's name. The user selects their name > from a combobox > (UserID), if the document status is open, or pending, or in > progress, the > frmSystemFailure opens filtered to show their open documents. > > If there are not any open EFRs for the selected Engineer, the > form is still > opening, but it is blank. It is not giving the MsgBox, No > Open EFRs.... > > What is wrong that the form is opening blank instead of > giving the MsgBox? > > Virginia > > > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at pacific.net.hk Fri Nov 14 07:47:50 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 21:47:50 +0800 Subject: [AccessD] Don't Open Form In-Reply-To: <001b01c3aab5$3acc35d0$5100a8c0@BITSNB02> Message-ID: <001c01c3aab5$e5c7e0b0$5100a8c0@BITSNB02> Oops ... Nevermind .. Didn't read properly > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart Sanders > Sent: Friday, 14 November, 2003 9:43 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > You get a blank form if the underlying record source is > empty. As Andy > mentioned, you need to test for the recordcount and if 0 warn > the user and > either don't open the form, or if the test is in the form itself close > gracefully. > > Alternatively you could go the main/subform approach, where > the main form uses > the userid and the subform lists all open documents with the userid. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: Friday, 14 November, 2003 9:19 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Don't Open Form > > > > > > I tried that already, & it still opens a blank form. > > > > Virginia > > > > -----Original Message----- > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > > Sent: Friday, November 14, 2003 6:09 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Don't Open Form > > > > > > Virginia > > You need to test If DCount(etc)>0. You've omitted the >0 part. > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > > > --------- Original Message -------- > > From: "Access Developers discussion and problem solving" > > > > To: "'accessd at databaseadvisors.com'" > > Subject: [AccessD] Don't Open Form > > Date: 14/11/03 19:04 > > > > > > I have the below code on a form that is used to open another > > form filtered > > to the selected Engineer's name. The user selects their name > > from a combobox > > (UserID), if the document status is open, or pending, or in > > progress, the > > frmSystemFailure opens filtered to show their open documents. > > > > If there are not any open EFRs for the selected Engineer, the > > form is still > > opening, but it is blank. It is not giving the MsgBox, No > > Open EFRs.... > > > > What is wrong that the form is opening blank instead of > > giving the MsgBox? > > > > Virginia > > > > > > stDocName = "frmSystemFailure" > > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > > [StatusID] = 1" & > > _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > > > ' Check whether the user has any EFRs open. If they do, open the > > ' form with a filter. > > On Error Resume Next > > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > Else > > 'DisplayMessage "No open EFRs" > > MsgBox "No open EFRs for " & > > Forms![frmUpdateEFRs]![UserID].Column(1) > > End If > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.2 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 14 07:51:11 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri, 14 Nov 2003 08:51:11 -0500 Subject: [AccessD] Don't Open Form In-Reply-To: <001b01c3aab5$3acc35d0$5100a8c0@BITSNB02> Message-ID: Are you manipulating the AllowEdit property? I have seen AllowEdit false (for the form) cause blank forms. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Friday, November 14, 2003 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Don't Open Form You get a blank form if the underlying record source is empty. As Andy mentioned, you need to test for the recordcount and if 0 warn the user and either don't open the form, or if the test is in the form itself close gracefully. Alternatively you could go the main/subform approach, where the main form uses the userid and the subform lists all open documents with the userid. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 9:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > I tried that already, & it still opens a blank form. > > Virginia > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > > > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > > > I have the below code on a form that is used to open another > form filtered > to the selected Engineer's name. The user selects their name > from a combobox > (UserID), if the document status is open, or pending, or in > progress, the > frmSystemFailure opens filtered to show their open documents. > > If there are not any open EFRs for the selected Engineer, the > form is still > opening, but it is blank. It is not giving the MsgBox, No > Open EFRs.... > > What is wrong that the form is opening blank instead of > giving the MsgBox? > > Virginia > > > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 14 08:05:55 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 08:05:55 -0600 Subject: [AccessD] Don't Open Form Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C961@cntexchange.pgdp.usec.com> Yes, you are correct - AllowEdit = False. Va. -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, November 14, 2003 7:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Don't Open Form Are you manipulating the AllowEdit property? I have seen AllowEdit false (for the form) cause blank forms. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Friday, November 14, 2003 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Don't Open Form You get a blank form if the underlying record source is empty. As Andy mentioned, you need to test for the recordcount and if 0 warn the user and either don't open the form, or if the test is in the form itself close gracefully. Alternatively you could go the main/subform approach, where the main form uses the userid and the subform lists all open documents with the userid. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 9:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > I tried that already, & it still opens a blank form. > > Virginia > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Friday, November 14, 2003 6:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Don't Open Form > > > Virginia > You need to test If DCount(etc)>0. You've omitted the >0 part. > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'accessd at databaseadvisors.com'" > Subject: [AccessD] Don't Open Form > Date: 14/11/03 19:04 > > > I have the below code on a form that is used to open another > form filtered > to the selected Engineer's name. The user selects their name > from a combobox > (UserID), if the document status is open, or pending, or in > progress, the > frmSystemFailure opens filtered to show their open documents. > > If there are not any open EFRs for the selected Engineer, the > form is still > opening, but it is blank. It is not giving the MsgBox, No > Open EFRs.... > > What is wrong that the form is opening blank instead of > giving the MsgBox? > > Virginia > > > stDocName = "frmSystemFailure" > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > [StatusID] = 1" & > _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > ' Check whether the user has any EFRs open. If they do, open the > ' form with a filter. > On Error Resume Next > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > DoCmd.OpenForm stDocName, , , stLinkCriteria > Else > 'DisplayMessage "No open EFRs" > MsgBox "No open EFRs for " & > Forms![frmUpdateEFRs]![UserID].Column(1) > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Nov 14 08:18:05 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 22:18:05 +0800 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <1621596745.20031114091509@cactus.dk> Message-ID: <001d01c3aaba$1f74c090$5100a8c0@BITSNB02> While I just tried this in debug mode, I got err.Source as the name of the database (ie from database properties). Not the name of the module. I tested with a class module, so I'll take a look at other modules. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Friday, 14 November, 2003 4:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: Get Current Sub Name > > > Hi Darren > > At least you can retrieve the name of the module ...: > > > > Public Sub ModuleName() > > Dim strModuleName As String > > On Error Resume Next > strModuleName = Null > strModuleName = Err.Source > > MsgBox strModuleName > > End Sub > > > > /gustav > > > > Is there a way to determine the current sub name once you > are in it then display it > > Is there a Current Sub Property? etc > > > eg (PSEUDO Code) > > Private Sub MySub() > > Msgbox "My Sub Name is " & Application.SubName > > End sub > > > Many thanks in advance > > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at pacific.net.hk Fri Nov 14 08:22:05 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 14 Nov 2003 22:22:05 +0800 Subject: [AccessD] Don't Open Form In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C961@cntexchange.pgdp.usec.com> Message-ID: <001e01c3aaba$ae40d7f0$5100a8c0@BITSNB02> Hehe ... That?s it... I remember it was something to do with empty recordset. Last I hit it was years ago though. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Friday, 14 November, 2003 10:06 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > Yes, you are correct - AllowEdit = False. > > Va. > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Friday, November 14, 2003 7:51 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Don't Open Form > > > Are you manipulating the AllowEdit property? I have seen > AllowEdit false > (for the form) cause blank forms. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Stuart Sanders > Sent: Friday, November 14, 2003 8:43 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Don't Open Form > > > You get a blank form if the underlying record source is > empty. As Andy > mentioned, you need to test for the recordcount and if 0 warn > the user and > either don't open the form, or if the test is in the form itself close > gracefully. > > Alternatively you could go the main/subform approach, where > the main form > uses > the userid and the subform lists all open documents with the userid. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: Friday, 14 November, 2003 9:19 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Don't Open Form > > > > > > I tried that already, & it still opens a blank form. > > > > Virginia > > > > -----Original Message----- > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > > Sent: Friday, November 14, 2003 6:09 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Don't Open Form > > > > > > Virginia > > You need to test If DCount(etc)>0. You've omitted the >0 part. > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > > > --------- Original Message -------- > > From: "Access Developers discussion and problem solving" > > > > To: "'accessd at databaseadvisors.com'" > > Subject: [AccessD] Don't Open Form > > Date: 14/11/03 19:04 > > > > > > I have the below code on a form that is used to open another > > form filtered > > to the selected Engineer's name. The user selects their name > > from a combobox > > (UserID), if the document status is open, or pending, or in > > progress, the > > frmSystemFailure opens filtered to show their open documents. > > > > If there are not any open EFRs for the selected Engineer, the > > form is still > > opening, but it is blank. It is not giving the MsgBox, No > > Open EFRs.... > > > > What is wrong that the form is opening blank instead of > > giving the MsgBox? > > > > Virginia > > > > > > stDocName = "frmSystemFailure" > > stLinkCriteria = "[EngineerID]=" & Me![UserID] & " AND > > [StatusID] = 1" & > > _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 2" & _ > > "Or [EngineerID]=" & Me![UserID] & " AND [StatusID] = 4" > > > > ' Check whether the user has any EFRs open. If they do, open the > > ' form with a filter. > > On Error Resume Next > > If DCount("FailureReportNo", "tblSystemMain", stLinkCriteria) Then > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > Else > > 'DisplayMessage "No open EFRs" > > MsgBox "No open EFRs for " & > > Forms![frmUpdateEFRs]![UserID].Column(1) > > End If > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.2 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 14 08:28:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 15:28:16 +0100 Subject: [AccessD] A2K: Get Current Sub Name In-Reply-To: <001d01c3aaba$1f74c090$5100a8c0@BITSNB02> References: <001d01c3aaba$1f74c090$5100a8c0@BITSNB02> Message-ID: <8123983316.20031114152816@cactus.dk> Hi Stuart Oops, you're right. But hey, it's Friday! /gustav > While I just tried this in debug mode, I got err.Source as the name of the > database (ie from database properties). Not the name of the module. > I tested with a class module, so I'll take a look at other modules. > Stuart >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Gustav Brock >> Sent: Friday, 14 November, 2003 4:15 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] A2K: Get Current Sub Name >> >> >> Hi Darren >> >> At least you can retrieve the name of the module ...: >> >> >> >> Public Sub ModuleName() >> >> Dim strModuleName As String >> >> On Error Resume Next >> strModuleName = Null >> strModuleName = Err.Source >> >> MsgBox strModuleName >> >> End Sub >> >> >> >> /gustav From HollisVJ at pgdp.usec.com Fri Nov 14 08:57:08 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 14 Nov 2003 08:57:08 -0600 Subject: [AccessD] OT Friday Stuff Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> Ok, good one for a Friday. I just had someone call me that is trying to work on a database. This database tracks data for each year, 2001, 2002, and they are trying to enter the new data for 2003. Here is the good part - they can't figure out why the previous years data is changing when they change something - they saved the form as a new form "2003". Virginia From gustav at cactus.dk Fri Nov 14 09:18:21 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 16:18:21 +0100 Subject: [AccessD] OT Friday Stuff In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> Message-ID: <12226988958.20031114161821@cactus.dk> Hi Virginia This must be one of JC's "creative" users. /gustav > Ok, good one for a Friday. I just had someone call me that is trying to work > on a database. This database tracks data for each year, 2001, 2002, and they > are trying to enter the new data for 2003. > Here is the good part - they can't figure out why the previous years data is > changing when they change something - they saved the form as a new form > "2003". From John.Clark at niagaracounty.com Fri Nov 14 09:40:54 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 14 Nov 2003 10:40:54 -0500 Subject: [AccessD] Auto install fonts Message-ID: I use basically the same 'look' for all (or most) of the programs that I write for my employer. This 'look' includes two fonts that are not standard (airfoil.ttf and motley.ttf). When I install these programs to a new computer, it is necessary for me to copy these ttf files and then install them via 'control panel' and 'fonts'. This was all fine for a while, but now the number of programs is growing, as is the amount of users and the physical area that they are spread over. Now I cannot always be the one who does the actual installation, so I have been trying to create an automated process for the install of these programs. I currently use a batch file that creates a directory in 'Program Files' on their root drive, copies the files into this directory, and copies a shortcut onto their desktop. The remaining problem is that the fonts need to be installed, and I don't know how to get around having them install the font--I don't want them to touch anything they don't need to touch. Is there a way to do this? I have never used any of the 'installer' programs that I have read about, on this list--is this what I need to be looking at? And, if so, which ones? I think I have noticed 'Install Shield' (?) the most. Thank you! Take care! John W Clark From gustav at cactus.dk Fri Nov 14 10:04:03 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 17:04:03 +0100 Subject: [AccessD] Auto install fonts In-Reply-To: References: Message-ID: <12429730660.20031114170403@cactus.dk> Hi John You can use the free Inno Setup for this: http://www.jrsoftware.org/isinfo.php FontInstall Description: Tells Setup the file is a font that needs to be installed. The value of this parameter is the name of the font as stored in the registry or WIN.INI. This must be exactly the same name as you see when you double-click the font file in Explorer. Note that Setup will automatically append " (TrueType)" to the end of the name. If the file is not a TrueType font, you must specify the flag fontisnttruetype in the Flags parameter. It's recommended that you use the flags onlyifdoesntexist and uninsneveruninstall when installing fonts to the {fonts} directory. To successfully install a font on Windows 2000/XP, the user must be a member of the Power Users or Administrators groups. On Windows NT 4.0 and earlier, anyone can install a font. Example: Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall /gustav > I use basically the same 'look' for all (or most) of the programs that I > write for my employer. This 'look' includes two fonts that are not > standard (airfoil.ttf and motley.ttf). When I install these programs to > a new computer, it is necessary for me to copy these ttf files and then > install them via 'control panel' and 'fonts'. > This was all fine for a while, but now the number of programs is > growing, as is the amount of users and the physical area that they are > spread over. Now I cannot always be the one who does the actual > installation, so I have been trying to create an automated process for > the install of these programs. I currently use a batch file that creates > a directory in 'Program Files' on their root drive, copies the files > into this directory, and copies a shortcut onto their desktop. The > remaining problem is that the fonts need to be installed, and I don't > know how to get around having them install the font--I don't want them > to touch anything they don't need to touch. > Is there a way to do this? I have never used any of the 'installer' > programs that I have read about, on this list--is this what I need to be > looking at? And, if so, which ones? I think I have noticed 'Install > Shield' (?) the most. From john at winhaven.net Fri Nov 14 10:15:28 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 10:15:28 -0600 Subject: [AccessD] OT Friday Stuff In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C966@cntexchange.pgdp.usec.com> Message-ID: Reminds me of a state bureaucrat I used to know. For years she would send out an annual update of a "Time Reporting" database application that the local employees used to keep track of the time they spent on state funded programs. In the data entry they would have to enter the date, the year and the quarter. The only thing she changed over the entire time she did this was to add the new year and quarters to lookup tables (4 digit number for year e.g. "1999" and: 99-1, 99-2, 99-3, 99-4 for the quarters). Of course she also had to adjust the reports so they would print out for the new year and/or quarter. The reports had hard coded year and/or quarter - there were 5 reports. There was no routine to get rid of the old data and there was no way to print out reports or use the old data in any manner (which a number of local people wanted to do so they started to duplicate the database and keep the old application in order to be able to get the reports for each year. Some offices had 5 of these applications/databases set up! The funny part: She really wasn't aware that she could just let the users enter the date and filter the reports for year and/or quarter based on that! Well, we fixed all that and she has never issued another update (wipes sweat from his forehead). John B. Another complicated programming issue solved by (drum roll and horn blasts please) Super-Programmer! (As he places his hands on his hips and thrusts out his chest!) ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Hollis,Virginia > Sent: Friday, November 14, 2003 8:57 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] OT Friday Stuff > > > Ok, good one for a Friday. I just had someone call me that is > trying to work > on a database. This database tracks data for each year, 2001, > 2002, and they > are trying to enter the new data for 2003. > > Here is the good part - they can't figure out why the previous > years data is > changing when they change something - they saved the form as a new form > "2003". > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Fri Nov 14 10:19:01 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 10:19:01 -0600 Subject: [AccessD] Auto install fonts In-Reply-To: Message-ID: Hi John: In Wise InstallBuilder its as easy as adding a line: Register Font Tt0195.ttf Which is actually created using a dialog with combo boxes. I would imagine this is calling some API to register the font but since I have Wise I've never bothered to look into it. Maybe someone else here can expand on this. Wise or Installshield are both top notch. It seems most people here use Wise (with SageKey Access Scripts). There are other installers out there, some free, but I don't know that handle installing Access runtime apps very well, which is why I use an installer. I just haven't heard much about anything other than those already mentioned. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark > Sent: Friday, November 14, 2003 9:41 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Auto install fonts > > > I use basically the same 'look' for all (or most) of the programs that I > write for my employer. This 'look' includes two fonts that are not > standard (airfoil.ttf and motley.ttf). When I install these programs to > a new computer, it is necessary for me to copy these ttf files and then > install them via 'control panel' and 'fonts'. > > This was all fine for a while, but now the number of programs is > growing, as is the amount of users and the physical area that they are > spread over. Now I cannot always be the one who does the actual > installation, so I have been trying to create an automated process for > the install of these programs. I currently use a batch file that creates > a directory in 'Program Files' on their root drive, copies the files > into this directory, and copies a shortcut onto their desktop. The > remaining problem is that the fonts need to be installed, and I don't > know how to get around having them install the font--I don't want them > to touch anything they don't need to touch. > > Is there a way to do this? I have never used any of the 'installer' > programs that I have read about, on this list--is this what I need to be > looking at? And, if so, which ones? I think I have noticed 'Install > Shield' (?) the most. > > Thank you! Take care! > > John W Clark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Fri Nov 14 10:21:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Nov 2003 08:21:35 -0800 Subject: [AccessD] FW: A2K developer Message-ID: I've heard of people finding it on eBay, but since it's now 2 versions back, it may be hard to find. Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Friday, November 14, 2003 1:13 AM To: AccessD (AccessD at databaseadvisors.com) Subject: [AccessD] FW: A2K developer Forwarded mail below.... -----Original Message----- From: Annie Courchesne, cma [mailto:annie.courchesne at sympatico.ca] Sent: 14 November 2003 02:52 To: Accessd Subject: A2K developer Hi guys, It's been a while since I've posted here... A customer of mine as asked that I convert an A2K database to a A2K runtime so he doesn't have to buy 20+ licences of A2K. I'm trying to find a A2K developer (or Office 2K developer I think) so I can do this but my usual software provider doesn't have it. Anyone as any idea where I could get that. Thanks a lot! Annie Courchesne, CMA _______________________________________________ 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 Nov 14 10:22:53 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 14 Nov 2003 11:22:53 -0500 Subject: [AccessD] OT Friday Stuff References: Message-ID: <003c01c3aacb$8ee8f2a0$6401a8c0@default> John, I was going to thank you last night for sharing your expeiences ... wondered why you were out standing in your field ... you old farmer :) Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Friday, November 14, 2003 11:15 AM Subject: RE: [AccessD] OT Friday Stuff > Reminds me of a state bureaucrat I used to know. For years she would send > out an annual update of a "Time Reporting" database application that the > local employees used to keep track of the time they spent on state funded > programs. In the data entry they would have to enter the date, the year and > the quarter. The only thing she changed over the entire time she did this > was to add the new year and quarters to lookup tables (4 digit number for > year e.g. "1999" and: 99-1, 99-2, 99-3, 99-4 for the quarters). Of course > she also had to adjust the reports so they would print out for the new year > and/or quarter. The reports had hard coded year and/or quarter - there were > 5 reports. There was no routine to get rid of the old data and there was no > way to print out reports or use the old data in any manner (which a number > of local people wanted to do so they started to duplicate the database and > keep the old application in order to be able to get the reports for each > year. Some offices had 5 of these applications/databases set up! > > The funny part: She really wasn't aware that she could just let the users > enter the date and filter the reports for year and/or quarter based on that! > > Well, we fixed all that and she has never issued another update (wipes sweat > from his forehead). > > John B. > Another complicated programming issue solved by (drum roll and horn blasts > please) Super-Programmer! > (As he places his hands on his hips and thrusts out his chest!) > ;o) > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Hollis,Virginia > > Sent: Friday, November 14, 2003 8:57 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] OT Friday Stuff > > > > > > Ok, good one for a Friday. I just had someone call me that is > > trying to work > > on a database. This database tracks data for each year, 2001, > > 2002, and they > > are trying to enter the new data for 2003. > > > > Here is the good part - they can't figure out why the previous > > years data is > > changing when they change something - they saved the form as a new form > > "2003". > > > > Virginia > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Fri Nov 14 11:01:15 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 11:01:15 -0600 Subject: [AccessD] OT: Friday Funny Message-ID: I think this fits the bill today: http://www.unitedmedia.com/comics/dilbert/index.html From john at winhaven.net Fri Nov 14 11:01:16 2003 From: john at winhaven.net (John Bartow) Date: Fri, 14 Nov 2003 11:01:16 -0600 Subject: [AccessD] OT Friday Stuff In-Reply-To: <003c01c3aacb$8ee8f2a0$6401a8c0@default> Message-ID: LOL Actually, I was envisioning standing atop a high rise building with a cape billowing in the wind! This bureaucrat was from Madison, WI (state capital). LOL again! But I guess an old farmer would be more fitting since this is when I worked for the Agricultural Land Conservation Dept. I did stand out in a lot of fields (and other stuff too). :o) John B. PS: My degree (primary) is Natural Resources Sciences. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Friday, November 14, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Friday Stuff > > > John, > > I was going to thank you last night > for sharing your expeiences ... > wondered why you were out standing in > your field ... you old farmer :) > > Michael R. Mattys > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 14, 2003 11:15 AM > Subject: RE: [AccessD] OT Friday Stuff > > > > Reminds me of a state bureaucrat I used to know. For years she > would send > > out an annual update of a "Time Reporting" database application that the > > local employees used to keep track of the time they spent on > state funded > > programs. In the data entry they would have to enter the date, the year > and > > the quarter. The only thing she changed over the entire time > she did this > > was to add the new year and quarters to lookup tables (4 digit > number for > > year e.g. "1999" and: 99-1, 99-2, 99-3, 99-4 for the quarters). > Of course > > she also had to adjust the reports so they would print out for the new > year > > and/or quarter. The reports had hard coded year and/or quarter - there > were > > 5 reports. There was no routine to get rid of the old data and there was > no > > way to print out reports or use the old data in any manner > (which a number > > of local people wanted to do so they started to duplicate the > database and > > keep the old application in order to be able to get the reports for each > > year. Some offices had 5 of these applications/databases set up! > > > > The funny part: She really wasn't aware that she could just let > the users > > enter the date and filter the reports for year and/or quarter based on > that! > > > > Well, we fixed all that and she has never issued another update (wipes > sweat > > from his forehead). > > > > John B. > > Another complicated programming issue solved by (drum roll and > horn blasts > > please) Super-Programmer! > > (As he places his hands on his hips and thrusts out his chest!) > > ;o) > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Hollis,Virginia > > > Sent: Friday, November 14, 2003 8:57 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: [AccessD] OT Friday Stuff > > > > > > > > > Ok, good one for a Friday. I just had someone call me that is > > > trying to work > > > on a database. This database tracks data for each year, 2001, > > > 2002, and they > > > are trying to enter the new data for 2003. > > > > > > Here is the good part - they can't figure out why the previous > > > years data is > > > changing when they change something - they saved the form as > a new form > > > "2003". > > > > > > 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 rbgajewski at adelphia.net Fri Nov 14 11:18:00 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 14 Nov 2003 12:18:00 -0500 Subject: [AccessD] Problem: subtotaling time (long email) Message-ID: Dear List I cannot figure out how to add time. I have a database that tracks responses for emergency services providers. Table and report details are below. I'm trying to create a report showing each provider's responses, sorted and subtotaled by major class types and then minor class types, with the time of each incident shown AND subtotaled. I have no problem with the report EXCEPT that I cannot subtotal the time (the "Time = " and "Total Time = " fields). I suspect that the problem may be that I am using a formatted field (TimeDiff), and cannot add the data because they are now string values. If anyone can help steer me in a better direction, I would be extremely grateful! TIA, Bob Gajewski ************************************************************* DATABASE DETAILS: tblEmployees EmployeeID (PK) EmployeeName tblMajorClass MajorClassID (PK) MajorClassName tblMinorClass MinorClassID (PK) MinorClassName tblIncidents IncidentID (PK) MajorClassID (FK) (has "Call" or "Drill") MinorClassID (FK) (for "Call", has "Fire" or "EMS") (for "Drill", has "Internal" or "External") DispatchTime InServiceTime tblResponses ResponseID (PK) IncidentID (FK) EmployeeID (FK) The report (rptEmployeeResponse) has the following: Sorting & Grouping: EmployeeName (Ascending) Group Header = Yes Group Footer = Yes Group On = Each Value MajorClassName (Ascending) Group Header = Yes Group Footer = Yes Group On = Each Value MinorClassName (Ascending) Group Header = Yes Group Footer = Yes Group On = Each Value IncidentID Group Header = No Group Footer = No Group On = Each Value SQL Statement (QBE) EmployeeName (GroupBy) MajorClass (GroupBy) MinorClass (GroupBy) IncidentID (Count) - from tblResponses! DispatchTime (GroupBy) InServiceTime (GroupBy) TimeDiff (GroupBy) TimeDiff: IIf([InServiceTime]>[DispatchTime],Format([InServiceTime]-[DispatchTime]),"S hort Time"),Format(DateAdd("d",1,[InServiceTime])-[DispatchTime]),"Short Time")) Sample Output: Brown, Joe Calls EMS 001 11:00 13:59 2:59 003 09:13 10:29 1:16 Count = 2 Time = 4:15 Fire 002 23:04 01:41 2:37 004 11:42 12:02 0:20 005 04:30 05:58 1:28 Count = 3 Time = 4:25 Total Count = 5 Total Time = 8:40 Drills External 001 11:00 12:00 1:00 003 09:00 10:30 1:30 Count = 2 Time = 2:30 EMS 002 19:00 21:30 2:30 004 11:00 12:00 1:00 005 09:30 11:00 1:30 Count = 3 Time = 5:00 Total Count = 5 Total Time = 7:30 {Next Employee ....} Counts and times are only totaled per employee; there is no aggregate grand total. From gustav at cactus.dk Fri Nov 14 11:51:36 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Nov 2003 18:51:36 +0100 Subject: [AccessD] Problem: subtotaling time (long email) In-Reply-To: References: Message-ID: <7836183749.20031114185136@cactus.dk> Hi Bob Use DateDiff("n", datStart, datStop) to calculate the time difference in minutes (assuming you are ignoring seconds). Sum those minutes as your subtotal. Then you can use a function like this to calculate a pseudo time: Function TimeHour(ByVal curHMS As Currency) As Date ' Rounds and converts curHMS (number of hours as decimalnumber). ' Returns a time value, hh:nn:ss. ' Gustav Brock, Cactus Data ApS. ' 1999-08-12. Dim lngH As Long Dim lngM As Long Dim lngS As Long Dim curR As Currency ' No error handling needed. On Error Resume Next ' Round to two decimals, and skip number of days if curHMS > 24. ' If day count is needed, omit modulus like this: ' curHMS = (CLng(curHMS * 10000) / 100 * 36) ' Mod 86400 curHMS = (CLng(curHMS * 10000) / 100 * 36) Mod 86400 ' Calculate hours, minutes, and seconds. lngH = Int(curHMS / 3600) curR = curHMS - (lngH * 3600) lngM = Int(curR / 60) curR = curR - (lngM * 60) lngS = CInt(curR) ' Create time value. TimeHour = TimeSerial(lngH, lngM, lngS) End Function Finally, format the returned date/time value as you like, say: strTimeDiff = Format(datTimeDiff, "hh:nn") or simply specify this format for the textbox in the report. /gustav > I cannot figure out how to add time. > I have a database that tracks responses for emergency services providers. > Table and report details are below. I'm trying to create a report showing > each provider's responses, sorted and subtotaled by major class types and > then minor class types, with the time of each incident shown AND subtotaled. > I have no problem with the report EXCEPT that I cannot subtotal the time > (the "Time = " and "Total Time = " fields). > I suspect that the problem may be that I am using a formatted field > (TimeDiff), and cannot add the data because they are now string values. If > anyone can help steer me in a better direction, I would be extremely > grateful! > TIA, > Bob Gajewski > ************************************************************* > DATABASE DETAILS: > tblEmployees > EmployeeID (PK) > EmployeeName > tblMajorClass > MajorClassID (PK) > MajorClassName > tblMinorClass > MinorClassID (PK) > MinorClassName > tblIncidents > IncidentID (PK) > MajorClassID (FK) > (has "Call" or "Drill") > MinorClassID (FK) > (for "Call", has "Fire" or "EMS") > (for "Drill", has "Internal" or "External") > DispatchTime > InServiceTime > tblResponses > ResponseID (PK) > IncidentID (FK) > EmployeeID (FK) > The report (rptEmployeeResponse) has the following: > Sorting & Grouping: > EmployeeName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MajorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MinorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > IncidentID > Group Header = No > Group Footer = No > Group On = Each Value > SQL Statement (QBE) > EmployeeName (GroupBy) > MajorClass (GroupBy) > MinorClass (GroupBy) > IncidentID (Count) - from tblResponses! > DispatchTime (GroupBy) > InServiceTime (GroupBy) > TimeDiff (GroupBy) > TimeDiff: IIf([InServiceTime]>>[DispatchTime],Format([InServiceTime]-[DispatchTime]),"S > hort Time"),Format(DateAdd("d",1,[InServiceTime])-[DispatchTime]),"Short > Time")) > Sample Output: > Brown, Joe > Calls > EMS > 001 11:00 13:59 2:59 > 003 09:13 10:29 1:16 > Count = 2 Time = 4:15 > Fire > 002 23:04 01:41 2:37 > 004 11:42 12:02 0:20 > 005 04:30 05:58 1:28 > Count = 3 Time = 4:25 > Total Count = 5 Total Time = 8:40 > Drills > External > 001 11:00 12:00 1:00 > 003 09:00 10:30 1:30 > Count = 2 Time = 2:30 > EMS > 002 19:00 21:30 2:30 > 004 11:00 12:00 1:00 > 005 09:30 11:00 1:30 > Count = 3 Time = 5:00 > Total Count = 5 Total Time = 7:30 > {Next Employee ....} > Counts and times are only totaled per employee; there is no aggregate grand > total. From DWUTKA at marlow.com Fri Nov 14 12:03:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 14 Nov 2003 12:03:23 -0600 Subject: [AccessD] A2K: Access Security via a browser Message-ID: <2F8793082E00D4119A1700B0D0216BF802227577@main2.marlow.com> Certainly not impossible, but quite frankly, it would be easier to just use Terminal Server, Citrix, or Remote Administrator, then to go and create what would be a pretty complex ASP site. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, November 13, 2003 5:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Access Security via a browser Hi Drew Thanks for the reply I mean setting permissions, creating users and groups, changing passwords, etc, as you suggested. Basically she would like interfacing with Access Security and totally managing, at every level via a browser, whatever you can manage whilst sitting directly in from of the System.mdw file In relation to John Colby's Poll on Access Security I am a 14. Never touched the stuff and am vaguely aware that it exists. So if it seems I am asking the impossible because I don't know any better it's because...I don't know any better :-)) Many thanks for the reply Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 14, 2003 5:40 AM Subject: RE: [AccessD] A2K: Access Security via a browser > What do you mean Darren. Do you mean like setting permissions, creating > users and groups, changing passwords, etc? Or simply logging into a secured > database? > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, November 12, 2003 6:48 PM > To: AccessD List > Subject: [AccessD] A2K: Access Security via a browser > > > Hello all > I have a Web Developer friend asking me if anyone knows of some useful > URL's that will show how to or give examples of administering Access > security via a browser. > > She has Access Security implemented and can administer it fine from the > local PC via the > 'normal' means, she just wants to do it via the web > > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 14 12:07:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 14 Nov 2003 12:07:46 -0600 Subject: [AccessD] POLL: Access Security Message-ID: <2F8793082E00D4119A1700B0D0216BF802227579@main2.marlow.com> I think you're agreeing with me. The problem with a BE though, is that if it's an .mdb, it has to be accessible by the user, in order for an Access (or even VB) FE to use it. You're right, if you go with a server side db, like Oracle or SQL, then you have that security in place, but even that stuff isn't unbreakable. The ASP FE let's you use an .mdb as a backend, but since it doesn't need to be accessible by the user, it is pretty 'tight' security. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, November 13, 2003 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Fri Nov 14 14:11:19 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 14 Nov 2003 14:11:19 -0600 Subject: [AccessD] Problem: subtotaling time (long email) Message-ID: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> Gustav- If you ever decide to put all your code solutions into a book ("Gustav's Goodies"?) I'll be first in line to buy it. Thanks for a ton of useful code over the years. Jim Hale -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, November 14, 2003 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem: subtotaling time (long email) Hi Bob Use DateDiff("n", datStart, datStop) to calculate the time difference in minutes (assuming you are ignoring seconds). Sum those minutes as your subtotal. Then you can use a function like this to calculate a pseudo time: Function TimeHour(ByVal curHMS As Currency) As Date ' Rounds and converts curHMS (number of hours as decimalnumber). ' Returns a time value, hh:nn:ss. ' Gustav Brock, Cactus Data ApS. ' 1999-08-12. Dim lngH As Long Dim lngM As Long Dim lngS As Long Dim curR As Currency ' No error handling needed. On Error Resume Next ' Round to two decimals, and skip number of days if curHMS > 24. ' If day count is needed, omit modulus like this: ' curHMS = (CLng(curHMS * 10000) / 100 * 36) ' Mod 86400 curHMS = (CLng(curHMS * 10000) / 100 * 36) Mod 86400 ' Calculate hours, minutes, and seconds. lngH = Int(curHMS / 3600) curR = curHMS - (lngH * 3600) lngM = Int(curR / 60) curR = curR - (lngM * 60) lngS = CInt(curR) ' Create time value. TimeHour = TimeSerial(lngH, lngM, lngS) End Function Finally, format the returned date/time value as you like, say: strTimeDiff = Format(datTimeDiff, "hh:nn") or simply specify this format for the textbox in the report. /gustav > I cannot figure out how to add time. > I have a database that tracks responses for emergency services providers. > Table and report details are below. I'm trying to create a report showing > each provider's responses, sorted and subtotaled by major class types and > then minor class types, with the time of each incident shown AND subtotaled. > I have no problem with the report EXCEPT that I cannot subtotal the time > (the "Time = " and "Total Time = " fields). > I suspect that the problem may be that I am using a formatted field > (TimeDiff), and cannot add the data because they are now string values. If > anyone can help steer me in a better direction, I would be extremely > grateful! > TIA, > Bob Gajewski > ************************************************************* > DATABASE DETAILS: > tblEmployees > EmployeeID (PK) > EmployeeName > tblMajorClass > MajorClassID (PK) > MajorClassName > tblMinorClass > MinorClassID (PK) > MinorClassName > tblIncidents > IncidentID (PK) > MajorClassID (FK) > (has "Call" or "Drill") > MinorClassID (FK) > (for "Call", has "Fire" or "EMS") > (for "Drill", has "Internal" or "External") > DispatchTime > InServiceTime > tblResponses > ResponseID (PK) > IncidentID (FK) > EmployeeID (FK) > The report (rptEmployeeResponse) has the following: > Sorting & Grouping: > EmployeeName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MajorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > MinorClassName (Ascending) > Group Header = Yes > Group Footer = Yes > Group On = Each Value > IncidentID > Group Header = No > Group Footer = No > Group On = Each Value > SQL Statement (QBE) > EmployeeName (GroupBy) > MajorClass (GroupBy) > MinorClass (GroupBy) > IncidentID (Count) - from tblResponses! > DispatchTime (GroupBy) > InServiceTime (GroupBy) > TimeDiff (GroupBy) > TimeDiff: IIf([InServiceTime]>>[DispatchTime],Format([InServiceTime]-[DispatchTime])," S > hort Time"),Format(DateAdd("d",1,[InServiceTime])-[DispatchTime]),"Short > Time")) > Sample Output: > Brown, Joe > Calls > EMS > 001 11:00 13:59 2:59 > 003 09:13 10:29 1:16 > Count = 2 Time = 4:15 > Fire > 002 23:04 01:41 2:37 > 004 11:42 12:02 0:20 > 005 04:30 05:58 1:28 > Count = 3 Time = 4:25 > Total Count = 5 Total Time = 8:40 > Drills > External > 001 11:00 12:00 1:00 > 003 09:00 10:30 1:30 > Count = 2 Time = 2:30 > EMS > 002 19:00 21:30 2:30 > 004 11:00 12:00 1:00 > 005 09:30 11:00 1:30 > Count = 3 Time = 5:00 > Total Count = 5 Total Time = 7:30 > {Next Employee ....} > Counts and times are only totaled per employee; there is no aggregate grand > total. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 15 03:45:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Nov 2003 10:45:16 +0100 Subject: [AccessD] Problem: subtotaling time (long email) In-Reply-To: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> References: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> Message-ID: <833226809.20031115104516@cactus.dk> Hi Jim Thank you! However, to share ideas and code, isn't that what the list is about? About a book - where would I find the time? Long time ago I promised Susan to contribute to some articles but haven't been able to locate a free spot in the stuffed calendar ... By the way, I haven't bought a single book on Access development except for those accompanying Access 1.0, 2.0 and 97 developer versions (those were the days of printed documentation, sigh). Everything else is from the on-line help (up to and including A97), searching the net (many nice sites are related to Access development), and, of course, our list. But with the evolving use of XML and web services it may be about time to visit the bookstore. /gustav > Gustav- > If you ever decide to put all your code solutions into a book ("Gustav's > Goodies"?) I'll be first in line to buy it. Thanks for a ton of useful code > over the years. > Jim Hale From ssharkins at bellsouth.net Sat Nov 15 09:37:15 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 15 Nov 2003 10:37:15 -0500 Subject: [AccessD] Problem: subtotaling time (long email) References: <869379ABF177D4118D3100508B5EF873063952C2@corp-es00> <833226809.20031115104516@cactus.dk> Message-ID: <002d01c3ab8e$a8361c10$210110ac@SUSANONE> > About a book - where would I find the time? Long time ago I promised > Susan to contribute to some articles but haven't been able to locate a > free spot in the stuffed calendar ... =========Don't quit your day job. :( Market's bad -- but seems to be coming back. Someone adopt me please! ;) Susan H. From starkey at wanadoo.nl Sat Nov 15 14:37:28 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Sat, 15 Nov 2003 21:37:28 +0100 Subject: [AccessD] A2K: Allowbypasskey 4th parameter Message-ID: Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From Subscriptions at servicexp.com Sat Nov 15 14:54:38 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sat, 15 Nov 2003 15:54:38 -0500 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 starkey at wanadoo.nl Sat Nov 15 15:35:54 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Sat, 15 Nov 2003 22:35:54 +0100 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From Subscriptions at servicexp.com Sat Nov 15 18:01:33 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sat, 15 Nov 2003 19:01:33 -0500 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Eric, Ah yes, I see now... Nope your out of luck... but I guess you know that the db is not really going to be secure... You have read the "SECFAQ97" White papers correct? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (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 starkey at wanadoo.nl Sun Nov 16 14:01:28 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 16 Nov 2003 21:01:28 +0100 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: Well actually I haven't been reading for a long time. After you mentioned this doc I started reading it but there's nothing I didn't already know. Usually I don't make use of the workgroup file because I find a user-defined security more flexible and easier to maintain. Code protection is not the issue for me and on the other hand I do not really want to use the 'owner permission' stuff. The shift-key feature is enough in combination with an mde though it would be nicer to have it locked tight. I guess this is where VB steps in;-) Thanks, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zondag 16 november 2003 01:02 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Eric, Ah yes, I see now... Nope your out of luck... but I guess you know that the db is not really going to be secure... You have read the "SECFAQ97" White papers correct? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 16-11-2003 21:01:27 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From michael.broesdorf at web.de Sun Nov 16 16:24:19 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Sun, 16 Nov 2003 23:24:19 +0100 Subject: [AccessD] Transparent images on an Access form? In-Reply-To: Message-ID: Dear group, is MS Access 2K able to display GIF-files with a transparent background? I want to create a form with an Background image (JPG). The buttons will be separate GIF-images created with Photoshop. These buttons are essentially text with transparent background. In Photoshop it looks fine (including the transparency). But if I put those buttons on the Access form, their background appears white. Can't Access handle transparency or am I doing something wrong here? TIA, Michael From michael.broesdorf at web.de Sun Nov 16 16:37:07 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Sun, 16 Nov 2003 23:37:07 +0100 Subject: AW: [AccessD] POLL: Access Security In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227579@main2.marlow.com> Message-ID: Hi, I didn't read the whole thread, so please forgive me if I repeat things. It is not too complicated to apply user security to both FE and BE (plus, you can always lock up the FE by converting it into an MDE). The main problem with Access security is the mdw. There is a couple of programs out there that can simply read all user names and passwords from an MDW file. AFAIK there is no way to avoid that. So, with an Access BE the only option would be to ship an MDW that does not contain a user account that allows access to sensitive information. But that doesn't make sense anyway if someone is supposed to actually work with the db ;-) Maybe encrypting data with a user defined function in the MDE(!) is an option. The BE would than contain only encrypted data. Anyone with the right tools could read the data, but that would be useles unless they know how to do crypt-analysis - just a thought... HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Drew Wutka Gesendet: Freitag, 14. November 2003 19:08 An: 'Access Developers discussion and problem solving' Betreff: RE: [AccessD] POLL: Access Security I think you're agreeing with me. The problem with a BE though, is that if it's an .mdb, it has to be accessible by the user, in order for an Access (or even VB) FE to use it. You're right, if you go with a server side db, like Oracle or SQL, then you have that security in place, but even that stuff isn't unbreakable. The ASP FE let's you use an .mdb as a backend, but since it doesn't need to be accessible by the user, it is pretty 'tight' security. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, November 13, 2003 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, 2) > > > read/write, 3) admin. I put their access level in a global variable. > Each > > > form has to check the access level then to see if they are allowed to do > a > > > certain function. So far, the three levels have been adequate and no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hadyn at dataconcepts.co.nz Sun Nov 16 16:49:25 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Mon, 17 Nov 2003 11:49:25 +1300 Subject: [AccessD] Custom Help File Integration Message-ID: We have created a custom help file for an A2K database. The database is distributed using Wise and Sagekey scripts. The A2K help says that 2 properties are required to integrate custom help: HelpFile and HelpContextID. The HelpFile property is supposed to be a fully qualified path to a Help file. Only problem is we don't know where the user will install it to. Does anybody have have any experience with integrating help files that can give a few pointers/tips? Kind regards Hadyn --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003 From dwaters at usinternet.com Sun Nov 16 17:16:24 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Nov 2003 17:16:24 -0600 Subject: [AccessD] Protect MDW (was POLL: Access Security) In-Reply-To: <16256252.1069022412694.JavaMail.root@localhost.localdomain> Message-ID: <000201c3ac97$a79dc640$de1811d8@DanWaters> Michael, I tested a situation once where I was able to put the .mdw file (not system.mdw) into a separate folder on a server, where this folder had network security applied so that the only people who could open the folder directly were network administrators. Each user had a shortcut on their desktop which listed the full paths to the Access file, the .mdb file, and the .mdw file. The user was able to open the database, security worked correctly, but they couldn't get at the .mdw file. I never found any documentation for this, and I've only tested this setup at one location so far. I'll try it again next chance I get. Dan Waters Quality Process Solutions -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Br?sdorf Sent: Sunday, November 16, 2003 4:37 PM To: Access Developers discussion and problem solving Subject: AW: [AccessD] POLL: Access Security Hi, I didn't read the whole thread, so please forgive me if I repeat things. It is not too complicated to apply user security to both FE and BE (plus, you can always lock up the FE by converting it into an MDE). The main problem with Access security is the mdw. There is a couple of programs out there that can simply read all user names and passwords from an MDW file. AFAIK there is no way to avoid that. So, with an Access BE the only option would be to ship an MDW that does not contain a user account that allows access to sensitive information. But that doesn't make sense anyway if someone is supposed to actually work with the db ;-) Maybe encrypting data with a user defined function in the MDE(!) is an option. The BE would than contain only encrypted data. Anyone with the right tools could read the data, but that would be useles unless they know how to do crypt-analysis - just a thought... HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Drew Wutka Gesendet: Freitag, 14. November 2003 19:08 An: 'Access Developers discussion and problem solving' Betreff: RE: [AccessD] POLL: Access Security I think you're agreeing with me. The problem with a BE though, is that if it's an .mdb, it has to be accessible by the user, in order for an Access (or even VB) FE to use it. You're right, if you go with a server side db, like Oracle or SQL, then you have that security in place, but even that stuff isn't unbreakable. The ASP FE let's you use an .mdb as a backend, but since it doesn't need to be accessible by the user, it is pretty 'tight' security. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, November 13, 2003 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] POLL: Access Security Drew: That is the whole issue surround Access security, is that a fully exposed MDB is very hackable. If the DB can be hidden behind a ASP FE or simply replaced with another remote BE, some other SQL, the whole security issue is non-starter and hardly has to be addresses at all. In my humble opinion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, November 13, 2003 10:56 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] POLL: Access Security Actually, an .mdb can be made VERY secure by using ASP as a front end. The problem with using Access or even VB for a front end, is that you need to have direct access to the back end. So if user XYZ is logged on, XYZ needs permission to have direct Access to the .mdb AND the .mdw. However, if you use ASP as the Front End, so the user is using their browser to access the db, then the users can be completely stripped of access to the .mdb itself. In fact, if you store the .mdb on the IIS server, and you don't even have to have share access to it. Sure, you're then relying on NT security, but you can button that down pretty tight. So you can keep the .mdb and the .mdw at an 'unavailable' location. I've used Access User Level security quite a bit, I don't find it difficult at all (partly due to so many similarities between it and NT security). However, it is a pretty fallible system. With enough time and resources, and it can be cracked. Actually for $40 (last time I checked), you can crack any .mdb, as long as you have a copy of the .mdw with the administrative accounts in it. Even with a solid knowledge of Access User Level security, you are still dependant upon the users ignorance for it to be secure. With what I was talking about with an ASP front end, you are taking the level of security to a point where a SERIOUS hacker would be required to get at whatever you want protected. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, November 13, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] POLL: Access Security But seriously there are some apps, like the HR apps (someone, I forget who, wrote in about) where you want it real secure. But even in that case, passwording the back end and maybe encrypting it, with some additional restrictions in the front end like I use and then making an mde would seem to do the trick without having to get mixed up in all that mdw stuff. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Thursday, November 13, 2003 6:40 AM Subject: Re: [AccessD] POLL: Access Security > Hahahahahahahahahah....sorry. > > Rocky > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 13, 2003 5:55 AM > Subject: Re: [AccessD] POLL: Access Security > > > > Hi Rocky > > > > So why is JC's world so much different from yours and mine?? > > > > /gustav > > > > > > > Had to fool with it once on a legacy app and got around it. But > > > it was > a > > > big PITA. > > > > > I generally roll my own by having the user log in with a password. They > get > > > one of three levels of access to the whole system - 1) read only, > > > 2) read/write, 3) admin. I put their access level in a global > > > variable. > Each > > > form has to check the access level then to see if they are allowed > > > to do > a > > > certain function. So far, the three levels have been adequate and > > > no > one > > > except for one client has wanted function of field level control. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Nov 16 18:19:50 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 17 Nov 2003 11:19:50 +1100 Subject: [AccessD] Transparent images on an Access form? References: Message-ID: <00c701c3aca0$876edb80$3c619a89@DDICK> Hi Michael No That's what I have discovered. Access XP may be different. So what I have to do when this sort of 'look' comes up is go with a white background. Sorry The gurus may have an alternative though Darren ----- Original Message ----- From: "Michael Br?sdorf" To: "Access Developers discussion and problem solving" Sent: Monday, November 17, 2003 9:24 AM Subject: [AccessD] Transparent images on an Access form? > Dear group, > > is MS Access 2K able to display GIF-files with a transparent background? > I want to create a form with an Background image (JPG). The buttons will be > separate GIF-images created with Photoshop. These buttons are essentially > text with transparent background. In Photoshop it looks fine (including the > transparency). > But if I put those buttons on the Access form, their background appears > white. > > Can't Access handle transparency or am I doing something wrong here? > > TIA, > > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Mon Nov 17 01:41:02 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Mon, 17 Nov 2003 08:41:02 +0100 Subject: AW: [AccessD] Transparent images on an Access form? In-Reply-To: <00c701c3aca0$876edb80$3c619a89@DDICK> Message-ID: Found something that works on Google (http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&group=comp.databases.ms-a ccess): Here are 2 solutions: (A) 1) Load and convert the desired Image as a Transparent Gif file. Save the converted Image to disk as you would normally. 2) Open Microsoft Word. Menu-_Insert->Picture->From File Browse to your converted Image you previously saved and select it. 3) After the Image appears on the page Click once on the Image to select it. 4) Right click and select Copy from the Popup menu or click on the ToolBar to select COPY 5) Open an Access Form and Select Paste from the Menu or ToolBar. The Image is pasted as an unbound OLE frame. 6) On the Access Form-Format menu select Change To->Image control. 7) Change the new converted Image control's Back Style Prop to Transparent. (B) http://www.lebans.com/transparent.htm (A) actually does the job!! Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Darren DICK Gesendet: Montag, 17. November 2003 01:20 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Transparent images on an Access form? Hi Michael No That's what I have discovered. Access XP may be different. So what I have to do when this sort of 'look' comes up is go with a white background. Sorry The gurus may have an alternative though Darren ----- Original Message ----- From: "Michael Br?sdorf" To: "Access Developers discussion and problem solving" Sent: Monday, November 17, 2003 9:24 AM Subject: [AccessD] Transparent images on an Access form? > Dear group, > > is MS Access 2K able to display GIF-files with a transparent background? > I want to create a form with an Background image (JPG). The buttons will be > separate GIF-images created with Photoshop. These buttons are essentially > text with transparent background. In Photoshop it looks fine (including the > transparency). > But if I put those buttons on the Access form, their background appears > white. > > Can't Access handle transparency or am I doing something wrong here? > > TIA, > > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 17 03:35:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Nov 2003 10:35:13 +0100 Subject: [AccessD] POLL: Access Security In-Reply-To: References: Message-ID: <1618747858.20031117103513@cactus.dk> Hi all Dealing with security, Anthony D'Ambra today released some tips, links and tools for this in his November newsletter: http://www.aadconsulting.com/news.html Browse a page down to: Special Feature: Access Security /gustav From Lambert.Heenan at AIG.com Mon Nov 17 09:35:23 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 17 Nov 2003 10:35:23 -0500 Subject: [AccessD] Custom Help File Integration Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD791D@xlivmbx12.aig.com> As the application is installed using Wise/Sagekey you at least have control over what groups of files are installed to the folder chosen by the user, including the help file(s). So just arrange for them all to be copied to the same folder as the MDB/MDE file. Having done that you can set the Help File property of all you forms to a function [ =FunctionName() ] and have the function return the path to the current database (CurrentDb.Name with the file name stripped off.). That should do it. Lambert > -----Original Message----- > From: Hadyn Morgan [SMTP:hadyn at dataconcepts.co.nz] > Sent: Sunday, November 16, 2003 5:49 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Custom Help File Integration > > We have created a custom help file for an A2K database. The database is > distributed using Wise and Sagekey scripts. The A2K help says that 2 > properties are required to integrate custom help: HelpFile and > HelpContextID. > The HelpFile property is supposed to be a fully qualified path to a Help > file. Only problem is we don't know where the user will install it to. > > Does anybody have have any experience with integrating help files that can > give a few pointers/tips? > > Kind regards > Hadyn > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Nov 17 09:53:50 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 17 Nov 2003 07:53:50 -0800 (PST) Subject: [AccessD] Open an Access report from ASP.Net Message-ID: <20031117155350.80944.qmail@web20416.mail.yahoo.com> Is there a way to open (print) an Access report from an ASP page? Here's a big thanks in advance to the Guru that comes up with this one. Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From mwp.reid at qub.ac.uk Mon Nov 17 10:14:52 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 17 Nov 2003 16:14:52 -0000 Subject: [AccessD] Open an Access report from ASP.Net References: <20031117155350.80944.qmail@web20416.mail.yahoo.com> Message-ID: <003001c3ad25$eeb23f00$9111758f@aine> http://www.4guysfromrolla.com/webtech/042600-1.shtml Martin ----- Original Message ----- From: "Lonnie Johnson" To: "'MS-ACCESS-L at lists.missouri.edu'" ; "AccessDevelopers" ; "ms_access" ; "AccessD solving'" Sent: Monday, November 17, 2003 3:53 PM Subject: [AccessD] Open an Access report from ASP.Net > Is there a way to open (print) an Access report from an ASP page? > > Here's a big thanks in advance to the Guru that comes up with this one. > > > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Mon Nov 17 10:26:44 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 17 Nov 2003 08:26:44 -0800 (PST) Subject: [AccessD] Open an Access report from ASP.Net In-Reply-To: <003001c3ad25$eeb23f00$9111758f@aine> Message-ID: <20031117162644.41254.qmail@web20421.mail.yahoo.com> Martin, you are da man. Thanks for the prompt response. Martin Reid wrote: http://www.4guysfromrolla.com/webtech/042600-1.shtml Martin ----- Original Message ----- From: "Lonnie Johnson" To: "'MS-ACCESS-L at lists.missouri.edu'" ; "AccessDevelopers" ; "ms_access" ; "AccessD solving'" Sent: Monday, November 17, 2003 3:53 PM Subject: [AccessD] Open an Access report from ASP.Net > Is there a way to open (print) an Access report from an ASP page? > > Here's a big thanks in advance to the Guru that comes up with this one. > > > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard From cfoust at infostatsystems.com Mon Nov 17 11:40:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 09:40:37 -0800 Subject: [AccessD] Custom Help File Integration Message-ID: We put our help files in the application folder. Then it's easy to use something like CurrentProject.Path to get the folder. Charlotte Foust -----Original Message----- From: Hadyn Morgan [mailto:hadyn at dataconcepts.co.nz] Sent: Sunday, November 16, 2003 2:49 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Custom Help File Integration We have created a custom help file for an A2K database. The database is distributed using Wise and Sagekey scripts. The A2K help says that 2 properties are required to integrate custom help: HelpFile and HelpContextID. The HelpFile property is supposed to be a fully qualified path to a Help file. Only problem is we don't know where the user will install it to. Does anybody have have any experience with integrating help files that can give a few pointers/tips? Kind regards Hadyn --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 12:41:34 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 12:41:34 -0600 Subject: [AccessD] Primary Key Violation Message-ID: I've got a seemingly stupid question, but I can't figure it out. I've got a form that collects a staff member's first and last name and uses that combination as a primary key (unfortunately, no one can remember their employee ID and we don't collect SSN or anything unique they could enter). If they violate the exclusivity of that first/last name combination, they get the convoluted error message that Access puts out which only serves to confuse. Is there a way for me to replace that message with my own and, if so, how do I check for the violation and where would I put the error message? At the moment it comes up when they click the "done" button, which seems like a good place. Thanks, Gina p.s. Please don't chastise me for perceived primary key protocol violations. _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games From mwp.reid at qub.ac.uk Mon Nov 17 12:59:09 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 17 Nov 2003 10:59:09 -0800 Subject: [AccessD] OT: Primary Key Violation References: Message-ID: <000901c3ad3c$e469ae40$260c6351@martin1> Here we go again (<: Sorry Gina its a sort of in joke.No offense intended. But out of interest we have three Martin Reids in work. How would you create the PK then? Martin ----- Original Message ----- From: "Gina Hoopes" To: Sent: Monday, November 17, 2003 10:41 AM Subject: [AccessD] Primary Key Violation > I've got a seemingly stupid question, but I can't figure it out. I've got a > form that collects a staff member's first and last name and uses that > combination as a primary key (unfortunately, no one can remember their > employee ID and we don't collect SSN or anything unique they could enter). > If they violate the exclusivity of that first/last name combination, they > get the convoluted error message that Access puts out which only serves to > confuse. Is there a way for me to replace that message with my own and, if > so, how do I check for the violation and where would I put the error > message? At the moment it comes up when they click the "done" button, which > seems like a good place. > > Thanks, > Gina > > p.s. Please don't chastise me for perceived primary key protocol violations. > > _________________________________________________________________ > Send a QuickGreet with MSN Messenger > http://www.msnmessenger-download.com/tracking/cdp_games > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Mon Nov 17 13:02:55 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Mon, 17 Nov 2003 14:02:55 -0500 Subject: [AccessD] Primary Key Violation Message-ID: Gina, Without chastising...hope this helps. Mark > how do I check for the violation Trap for error 2627, I believe. If this is not the correct error number, make the corrections in the code below. > Is there a way for me to replace that message with my own Yes. > where would I put the error message? In the error handler for the event. Something along the lines of: *************************************** 'A constant for the error number Const cErrDupPrimaryKey = 2627 FunctionExit: On Error Resume Next Exit Function ErrHandler: Select Case Err.Number Case cErrDupPrimaryKey 2627 'Insert your custom MsgBox here... MsgBox "Duplicate Primary Key. Please re-enter." _ , vbExclamation, "ErrHandler" Resume Next Case Else MsgBox "The application encountered an unexpected " & _ "error #" & Err.Number & " with message string '" & _ Err.Description & "'", _ vbExclamation, "ErrHandler" End Select Resume FunctionExit End Function *************************************** -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Monday, November 17, 2003 1:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Primary Key Violation I've got a seemingly stupid question, but I can't figure it out. I've got a form that collects a staff member's first and last name and uses that combination as a primary key (unfortunately, no one can remember their employee ID and we don't collect SSN or anything unique they could enter). If they violate the exclusivity of that first/last name combination, they get the convoluted error message that Access puts out which only serves to confuse. Is there a way for me to replace that message with my own and, if so, how do I check for the violation and where would I put the error message? At the moment it comes up when they click the "done" button, which seems like a good place. Thanks, Gina p.s. Please don't chastise me for perceived primary key protocol violations. _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 13:07:58 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 13:07:58 -0600 Subject: [AccessD] OT: Primary Key Violation Message-ID: No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina From: "Martin Reid" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 10:59:09 -0800 But out of interest we have three Martin Reids in work. How would you create the PK then? Martin _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games From serbach at new.rr.com Mon Nov 17 13:34:17 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 17 Nov 2003 13:34:17 -0600 Subject: [AccessD] Primary Key Violation Message-ID: <20031117133417.776806128.serbach@new.rr.com> Gina, Since Access doesn't have an On Key Violation event, you could put code that handles it in the On Error event. The numeric code for Duplicate Key is 3022. The On Error event procedure has two parameters: DataErr, the error number, and Response, what you tell Access to do about the error. If you have a Select Case DataErr statement in your On Error event code, then you can trap for 3022 and present your own message. Then you can return acDataErrContinue to tell Access to short-circuit the normal duplicate key error message. There's a good example of this in the Access 2000 Developer's Handbook by Getz, Litwin, and Gilbert. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. > ------------Original Message------------ > From: Gina Hoopes > To: AccessD at databaseadvisors.com > Date: Mon, Nov-17-2003 12:48 PM > Subject: [AccessD] Primary Key Violation > > I've got a seemingly stupid question, but I can't figure it out. I've got a > form that collects a staff member's first and last name and uses that > combination as a primary key (unfortunately, no one can remember their > employee ID and we don't collect SSN or anything unique they could enter). > If they violate the exclusivity of that first/last name combination, they > get the convoluted error message that Access puts out which only serves to > confuse. Is there a way for me to replace that message with my own and, if > so, how do I check for the violation and where would I put the error > message? At the moment it comes up when they click the "done" button, which > seems like a good place. > > Thanks, > Gina > > p.s. Please don't chastise me for perceived primary key protocol violations. > > _________________________________________________________________ > Send a QuickGreet with MSN Messenger > http://www.msnmessenger-download.com/tracking/cdp_games > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Mon Nov 17 13:34:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 11:34:08 -0800 Subject: [AccessD] OT: Primary Key Violation Message-ID: Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. Do yourself a favor and use an artificial key rather than the staff names. You can still create a unique key with the name and something like their work phone number, which you should surely be able to collect. Charlotte Foust -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Monday, November 17, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Primary Key Violation No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina From: "Martin Reid" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 10:59:09 -0800 But out of interest we have three Martin Reids in work. How would you create the PK then? Martin _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Mon Nov 17 13:40:02 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 17 Nov 2003 11:40:02 -0800 Subject: [AccessD] OT: Primary Key Violation Message-ID: <657FB70438B7D311AF320090279C1801026D7CF8@EXCHMAIL> Famous last words... ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes Sent: Monday, November 17, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Primary Key Violation No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina From: "Martin Reid" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 10:59:09 -0800 But out of interest we have three Martin Reids in work. How would you create the PK then? Martin _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 13:52:43 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 13:52:43 -0600 Subject: [AccessD] Primary Key Violation Message-ID: I am actually using an AutoNumber for an ID that links them to the other pertinent tables, but when they go to enter or edit their data, they don't know this number so if they've already put in their data and they attempt to do it again instead of editing what's already there, I can't ask them for anything but their name to check if they've already entered data. I'm open to any better suggestions. Thanks for your help, Gina From: "Charlotte Foust" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] OT: Primary Key Violation Date: Mon, 17 Nov 2003 11:34:08 -0800 Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. Do yourself a favor and use an artificial key rather than the staff names. You can still create a unique key with the name and something like their work phone number, which you should surely be able to collect. Charlotte Foust -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Monday, November 17, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Primary Key Violation No offense taken, Martin, I've seen the carnage. Fortunately this is a one-time use db that I have to put together quickly and we don't have any staff members with the same name. This time ... Gina _________________________________________________________________ MSN Shopping upgraded for the holidays! Snappier product search... http://shopping.msn.com From john at winhaven.net Mon Nov 17 14:41:29 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 14:41:29 -0600 Subject: [AccessD] Primary Key Violation In-Reply-To: Message-ID: Gina, Not sure I understand everything you're doing here but here's a couple of ideas: present a listbox or combobox of existing names to choose from, If they can't find it then let them add a new name. If their name exists make them use a middle intial. If that exists make them use the full middle name, if that exists make them add their lucky number to the end, if that doesn't work then make them add their... :o) If this is on their personal PCs add a column to the table which holds their windows login then use that to identify them if its present and then present their full name on the screen in a form they can relate to. (lookup their name for them based on windows login). If the login is not present then make them enter a new name. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes > Sent: Monday, November 17, 2003 1:53 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Primary Key Violation > > > I am actually using an AutoNumber for an ID that links them to the other > pertinent tables, but when they go to enter or edit their data, > they don't > know this number so if they've already put in their data and they > attempt to > do it again instead of editing what's already there, I can't ask them for > anything but their name to check if they've already entered data. > I'm open > to any better suggestions. > > Thanks for your help, > Gina > > > From: "Charlotte Foust" > Reply-To: Access Developers discussion and problem > solving > To: "Access Developers discussion and problem > solving" > Subject: RE: [AccessD] OT: Primary Key Violation > Date: Mon, 17 Nov 2003 11:34:08 -0800 > > Gina, > > There is no such thing as a one-time use application, trust me. If it > works, they'll want to keep using it. Do yourself a favor and use an > artificial key rather than the staff names. You can still create a > unique key with the name and something like their work phone number, > which you should surely be able to collect. > > Charlotte Foust > > -----Original Message----- > From: Gina Hoopes [mailto:hoopesg at hotmail.com] > Sent: Monday, November 17, 2003 11:08 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Primary Key Violation > > > No offense taken, Martin, I've seen the carnage. Fortunately this is a > one-time use db that I have to put together quickly and we don't have > any > staff members with the same name. This time ... > > Gina > > _________________________________________________________________ > MSN Shopping upgraded for the holidays! Snappier product search... > http://shopping.msn.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From SP1KEMAG00 at aol.com Mon Nov 17 14:54:17 2003 From: SP1KEMAG00 at aol.com (SP1KEMAG00) Date: Mon, 17 Nov 2003 20:54:17 -0000 Subject: [AccessD] A2K: Allowbypasskey 4th parameter In-Reply-To: Message-ID: <002101c3ad4c$f9746360$9170bdac@mycomputer> I've disabled the shift-key completely on a couple of my more recents dbs and either used a separate admin file to lock/unlock the file and/or built in some sort of backdoor (typically only available to my logon id). This has been more out of interest than to stop noisy users though - I'm not sure there's any that even know about the shift-key let alone anything with any tighter security! Shaun -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of StaRKeY Sent: 16 November 2003 20:01 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Well actually I haven't been reading for a long time. After you mentioned this doc I started reading it but there's nothing I didn't already know. Usually I don't make use of the workgroup file because I find a user-defined security more flexible and easier to maintain. Code protection is not the issue for me and on the other hand I do not really want to use the 'owner permission' stuff. The shift-key feature is enough in combination with an mde though it would be nicer to have it locked tight. I guess this is where VB steps in;-) Thanks, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zondag 16 november 2003 01:02 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Eric, Ah yes, I see now... Nope your out of luck... but I guess you know that the db is not really going to be secure... You have read the "SECFAQ97" White papers correct? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Thank you for the reply Robert. Robert, I won't be able to prevend them these rights in their own newly created empty database. So my guess is that the 4th parameter is nice but not sufficient since from within this new empty database one would be able to change the property of the 'secured' database or am I missing something? Regards, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: zaterdag 15 november 2003 21:55 To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Allowbypasskey 4th parameter Yes, In order to keep them from changing the property you will need to revoke admin rights from every user and group in your db. Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Saturday, November 15, 2003 3:37 PM To: AccessD at databaseadvisors. com Subject: [AccessD] A2K: Allowbypasskey 4th parameter Hi All, I have a question about the 'allowbypasskey' property and in specific the 4th parameter when creating it (DDL). It is mentioned that having set this parameter to 'True' only admins are able to change the 'Allowbypasskey' property. Ofcourse this is nice to know but my question is: if one uses an empty Access DB with the default system.mdw and thus being an admin wouldn't it be possible to change the property from within this new database? TIA, Eric Starkenburg --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 21:37:27 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 15-11-2003 22:35:54 avast! is copyright (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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 14-11-2003 Tested on: 16-11-2003 21:01:27 avast! is copyright (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 ssharkins at bellsouth.net Mon Nov 17 15:00:59 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 17 Nov 2003 16:00:59 -0500 Subject: [AccessD] Primary Key Violation References: Message-ID: <010c01c3ad4d$e9e23930$210110ac@SUSANONE> Or, how about avoiding the problem in the first place? I'm assuming that the employee name is only entered once -- the first time the employee encounters this particular application? Is there anyway you can just enter all the employee names now -- and then just let them choose theirs, as suggested below. Of course, that means someone must update the database when a new employee is hired, but that's not that unusual. Susan H. > Gina, > Not sure I understand everything you're doing here but here's a couple of > ideas: > present a listbox or combobox of existing names to choose from, If they > can't find it then let them add a new name. > > If their name exists make them use a middle intial. If that exists make them > use the full middle name, if that exists make them add their lucky number to > the end, if that doesn't work then make them add their... > :o) > > If this is on their personal PCs add a column to the table which holds their > windows login then use that to identify them if its present and then present > their full name on the screen in a form they can relate to. (lookup their > name for them based on windows login). If the login is not present then make > them enter a new name. > > HTH > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes > > Sent: Monday, November 17, 2003 1:53 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Primary Key Violation > > > > > > I am actually using an AutoNumber for an ID that links them to the other > > pertinent tables, but when they go to enter or edit their data, > > they don't > > know this number so if they've already put in their data and they > > attempt to > > do it again instead of editing what's already there, I can't ask them for > > anything but their name to check if they've already entered data. > > I'm open > > to any better suggestions. > > > > Thanks for your help, > > Gina > > > > > > From: "Charlotte Foust" > > Reply-To: Access Developers discussion and problem > > solving > > To: "Access Developers discussion and problem > > solving" > > Subject: RE: [AccessD] OT: Primary Key Violation > > Date: Mon, 17 Nov 2003 11:34:08 -0800 > > > > Gina, > > > > There is no such thing as a one-time use application, trust me. If it > > works, they'll want to keep using it. Do yourself a favor and use an > > artificial key rather than the staff names. You can still create a > > unique key with the name and something like their work phone number, > > which you should surely be able to collect. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Gina Hoopes [mailto:hoopesg at hotmail.com] > > Sent: Monday, November 17, 2003 11:08 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] OT: Primary Key Violation > > > > > > No offense taken, Martin, I've seen the carnage. Fortunately this is a > > one-time use db that I have to put together quickly and we don't have > > any > > staff members with the same name. This time ... > > > > Gina > > > > _________________________________________________________________ > > MSN Shopping upgraded for the holidays! Snappier product search... > > http://shopping.msn.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Mon Nov 17 14:03:56 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 13:03:56 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <178810-220031111720356963@christopherhawkins.com> Good morning! I just got a shiny new development box at work and I'm excited. So far the only snag is that my install of Access 2003 doesn't seem to recognize the Visual SourceSafe 6.0d installed on the same machine. Ordinarily, Access would display a Source Safe item on it's Tools menu. Mine does not. Is there a registry hack or some such that I need to put in place to make these two play nicely together? -Christopher Hawkins- From cfoust at infostatsystems.com Mon Nov 17 15:41:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 13:41:42 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: The VSS add-in for earlier versions came with the ODE. Since there isn't any such animal in 2003, I'm not sure where that leaves those of us who use Source Safe. It's an interesting question, though, and I hope someone on the list will be able to answer the question before I put 2003 on my machine. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2003 integration problem with VSS Good morning! I just got a shiny new development box at work and I'm excited. So far the only snag is that my install of Access 2003 doesn't seem to recognize the Visual SourceSafe 6.0d installed on the same machine. Ordinarily, Access would display a Source Safe item on it's Tools menu. Mine does not. Is there a registry hack or some such that I need to put in place to make these two play nicely together? -Christopher Hawkins- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hoopesg at hotmail.com Mon Nov 17 16:34:13 2003 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 17 Nov 2003 16:34:13 -0600 Subject: [AccessD] Primary Key Violation Message-ID: This is the perfect solution, John (the last part, I mean). I can grab their user ID from their logon and that eliminates the need for them to enter it. Thanks!! Gina From: "John Bartow" Reply-To: Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Primary Key Violation Date: Mon, 17 Nov 2003 14:41:29 -0600 Gina, Not sure I understand everything you're doing here but here's a couple of ideas: present a listbox or combobox of existing names to choose from, If they can't find it then let them add a new name. If their name exists make them use a middle intial. If that exists make them use the full middle name, if that exists make them add their lucky number to the end, if that doesn't work then make them add their... :o) If this is on their personal PCs add a column to the table which holds their windows login then use that to identify them if its present and then present their full name on the screen in a form they can relate to. (lookup their name for them based on windows login). If the login is not present then make them enter a new name. HTH John B. _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.) From sgeller at cce.umn.edu Mon Nov 17 16:56:26 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 17 Nov 2003 16:56:26 -0600 Subject: [AccessD] VSS Question Message-ID: I just started using VSS with my ADP file (this does work by the way). I'm wondering what I need to do when I release this to my users? Is there an easy way to disconnect my application from VSS? --Susan Susan B. Geller 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 john at winhaven.net Mon Nov 17 17:02:51 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 17:02:51 -0600 Subject: [AccessD] Primary Key Violation In-Reply-To: Message-ID: Glad I could help! JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes > Sent: Monday, November 17, 2003 4:34 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Primary Key Violation > > > This is the perfect solution, John (the last part, I mean). I can grab > their user ID from their logon and that eliminates the need for them to > enter it. Thanks!! > > Gina > > > From: "John Bartow" > Reply-To: Access Developers discussion and problem > solving > To: "Access Developers discussion and problem > solving" > Subject: RE: [AccessD] Primary Key Violation > Date: Mon, 17 Nov 2003 14:41:29 -0600 > > Gina, > Not sure I understand everything you're doing here but here's a couple of > ideas: > present a listbox or combobox of existing names to choose from, If they > can't find it then let them add a new name. > > If their name exists make them use a middle intial. If that > exists make them > use the full middle name, if that exists make them add their > lucky number to > the end, if that doesn't work then make them add their... > :o) > > If this is on their personal PCs add a column to the table which > holds their > windows login then use that to identify them if its present and > then present > their full name on the screen in a form they can relate to. (lookup their > name for them based on windows login). If the login is not > present then make > them enter a new name. > > HTH > John B. > > _________________________________________________________________ > Frustrated with dial-up? Get high-speed for as low as $26.95. > https://broadband.msn.com (Prices may vary by service area.) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Mon Nov 17 17:02:32 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 17 Nov 2003 18:02:32 -0500 Subject: [AccessD] Primary Key Violation In-Reply-To: Message-ID: Gina, Not to chastise, but it is important to distinguish between "primary key" and "unique index". 1) A unique index is an index set on one or more columns (fields) to prevent entering the same data in that field or fields. 2) A primary key is used to fill foreign keys in child tables, which creates the "link" between parent / child tables (records). Understanding this, then understand that Access automatically sets up a unique index on any field / set of fields used as a PK, i.e. has the key symbol next to it / them. So it often APPEARS that the PK is a unique index, but they are in fact two completely different things. I am not going to go into the natural vs artificial key thing, there is ample coverage in the archives. It appears from another message from you where you discuss an autonumber field, that you are actually talking about a unique index, not a PK. The autonumber appears to be your PK (and has a unique index on it as well we assume), and then you somehow created a unique index on the set of fields (last name / first name) such that identical data cannot be entered in these fields taken as a whole. Now, to your problem. There is no way to test for the unique index being violated (identical info) until the point where you attempt to store the data. At that point you see the errors you indicate generated by JET. Other people have already discussed trapping the errors which is the "after the fact" way of doing things. Personally, I don't like that method because it implies you have already entered a TON of data (address, birthday, sexual preferences, etc. ad nausium) and this sorely pisses off the user to have to enter all that stuff only to be told that it was already in there when at the very end they try to save it. It is therefore preferable to take the info in the unique index and "look it up" somehow after just that much has been entered, in effect bypassing entering anything that doesn't absolutely have to be entered. One list member discussed the idea of a combo to see if it exists already. That works well and is widely used. Another way is to have a search screen where wild cards can be used, particularly if they are entering names from handwritten lists where spelling is suspect. This allows getting a "set" of records based on what is already entered, and visually inspecting the set to see if the one desired is in it etc. So my answer to you is no NOT let them get to the point where they get the error, but rather use some form of search and if not found, then enter the data. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gina Hoopes Sent: Monday, November 17, 2003 1:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Primary Key Violation I've got a seemingly stupid question, but I can't figure it out. I've got a form that collects a staff member's first and last name and uses that combination as a primary key (unfortunately, no one can remember their employee ID and we don't collect SSN or anything unique they could enter). If they violate the exclusivity of that first/last name combination, they get the convoluted error message that Access puts out which only serves to confuse. Is there a way for me to replace that message with my own and, if so, how do I check for the violation and where would I put the error message? At the moment it comes up when they click the "done" button, which seems like a good place. Thanks, Gina p.s. Please don't chastise me for perceived primary key protocol violations. _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 17 17:17:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 15:17:38 -0800 Subject: [AccessD] VSS Question Message-ID: With an mdb, you compact a copy out of the source safe version, and it prompts you to see if you want to remove it from source safe. I've never tried it with an ADP, so maybe someone else can answer that question. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, November 17, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] VSS Question I just started using VSS with my ADP file (this does work by the way). I'm wondering what I need to do when I release this to my users? Is there an easy way to disconnect my application from VSS? --Susan Susan B. Geller 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 clh at christopherhawkins.com Mon Nov 17 17:40:30 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 16:40:30 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <293910-2200311117234030708@christopherhawkins.com> There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those >of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 >doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 17 17:46:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 15:46:06 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: There's a specific set of tools for Access 2003 as well. That may be where the hooks are found. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 3:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Nov 17 17:52:28 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 17 Nov 2003 17:52:28 -0600 Subject: [AccessD] VSS Question Message-ID: Thanks, Charlotte. That works with ADP file, too. --Susan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 17, 2003 5:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] VSS Question With an mdb, you compact a copy out of the source safe version, and it prompts you to see if you want to remove it from source safe. I've never tried it with an ADP, so maybe someone else can answer that question. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, November 17, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] VSS Question I just started using VSS with my ADP file (this does work by the way). I'm wondering what I need to do when I release this to my users? Is there an easy way to disconnect my application from VSS? --Susan Susan B. Geller 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 clh at christopherhawkins.com Mon Nov 17 18:56:52 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 17:56:52 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <245790-220031121805652173@christopherhawkins.com> What tools are you referring to? There must be a CD I haven't found someplace in this MSN subscription. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 15:46:06 -0800 >There's a specific set of tools for Access 2003 as well. That may be >where the hooks are found. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 3:41 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >There is a "Visual Studio.NET Tools for Microsoft Office 2003", but >it >does not appear to be anything like the ODE we have all come to know. > >I understand that MS has been helping SourceGear market it's Vault >product - a product that was specifically designed to be a >replacement >for VSS. I wonder if MS has given up on VSS? > >-C- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 13:41:42 -0800 > >>The VSS add-in for earlier versions came with the ODE. Since there >>isn't any such animal in 2003, I'm not sure where that leaves those >of >>us who use Source Safe. It's an interesting question, though, and I >>hope someone on the list will be able to answer the question before >I >>put 2003 on my machine. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 12:04 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Access 2003 integration problem with VSS >> >> >>Good morning! I just got a shiny new development box at work and >I'm >>excited. So far the only snag is that my install of Access 2003 >doesn't >>seem to recognize the Visual SourceSafe 6.0d installed on the same >>machine. Ordinarily, Access would display a Source Safe item on >it's >>Tools menu. Mine does not. >> >>Is there a registry hack or some such that I need to put in place >to >>make these two play nicely together? >> >>-Christopher Hawkins- >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 17 19:23:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 17 Nov 2003 17:23:03 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: Access 2003 Developer Extensions, part of Visual Studio Tools for the Microsoft Office System http://www.msdn.microsoft.com/office/technologyinfo/devtools/accessexten sions/default.aspx Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS What tools are you referring to? There must be a CD I haven't found someplace in this MSN subscription. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 15:46:06 -0800 >There's a specific set of tools for Access 2003 as well. That may be >where the hooks are found. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 3:41 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >There is a "Visual Studio.NET Tools for Microsoft Office 2003", but >it >does not appear to be anything like the ODE we have all come to know. > >I understand that MS has been helping SourceGear market it's Vault >product - a product that was specifically designed to be a replacement >for VSS. I wonder if MS has given up on VSS? > >-C- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 13:41:42 -0800 > >>The VSS add-in for earlier versions came with the ODE. Since there >>isn't any such animal in 2003, I'm not sure where that leaves those >of >>us who use Source Safe. It's an interesting question, though, and I >>hope someone on the list will be able to answer the question before >I >>put 2003 on my machine. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 12:04 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Access 2003 integration problem with VSS >> >> >>Good morning! I just got a shiny new development box at work and >I'm >>excited. So far the only snag is that my install of Access 2003 >doesn't >>seem to recognize the Visual SourceSafe 6.0d installed on the same >>machine. Ordinarily, Access would display a Source Safe item on >it's >>Tools menu. Mine does not. >> >>Is there a registry hack or some such that I need to put in place >to >>make these two play nicely together? >> >>-Christopher Hawkins- >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Mon Nov 17 20:19:35 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 17 Nov 2003 19:19:35 -0700 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <410-220031121821935986@christopherhawkins.com> Hm. That's the same Visual Studio Tools package I installed on my new machine, but I don't see Access Extensions anywhere. Hm. Time for a reinstall! -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 17:23:03 -0800 >Access 2003 Developer Extensions, part of Visual Studio Tools for >the >Microsoft Office System >http://www.msdn.microsoft.com/office/technologyinfo/devtools/accessex >ten >sions/default.aspx > > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 4:57 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >What tools are you referring to? There must be a CD I haven't found >someplace in this MSN subscription. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 15:46:06 -0800 > >>There's a specific set of tools for Access 2003 as well. That may >be >>where the hooks are found. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 3:41 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >> >> >>There is a "Visual Studio.NET Tools for Microsoft Office 2003", but >>it >>does not appear to be anything like the ODE we have all come to >know. >> >>I understand that MS has been helping SourceGear market it's Vault >>product - a product that was specifically designed to be a >replacement >>for VSS. I wonder if MS has given up on VSS? >> >>-C- >> >>---- Original Message ---- >>From: cfoust at infostatsystems.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >>Date: Mon, 17 Nov 2003 13:41:42 -0800 >> >>>The VSS add-in for earlier versions came with the ODE. Since there >>>isn't any such animal in 2003, I'm not sure where that leaves >those >>of >>>us who use Source Safe. It's an interesting question, though, and >I >>>hope someone on the list will be able to answer the question before >>I >>>put 2003 on my machine. >>> >>>Charlotte Foust >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Monday, November 17, 2003 12:04 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Access 2003 integration problem with VSS >>> >>> >>>Good morning! I just got a shiny new development box at work and >>I'm >>>excited. So far the only snag is that my install of Access 2003 >>doesn't >>>seem to recognize the Visual SourceSafe 6.0d installed on the same >>>machine. Ordinarily, Access would display a Source Safe item on >>it's >>>Tools menu. Mine does not. >>> >>>Is there a registry hack or some such that I need to put in place >>to >>>make these two play nicely together? >>> >>>-Christopher Hawkins- >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >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 Mon Nov 17 20:48:16 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 18 Nov 2003 13:48:16 +1100 Subject: [AccessD] A2K: Access Security via a browser References: <2F8793082E00D4119A1700B0D0216BF802227577@main2.marlow.com> Message-ID: <019e01c3ad7e$6aeac080$3c619a89@DDICK> Thanks Drew I have passed this onto her Have a great day Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 15, 2003 5:03 AM Subject: RE: [AccessD] A2K: Access Security via a browser > Certainly not impossible, but quite frankly, it would be easier to just use > Terminal Server, Citrix, or Remote Administrator, then to go and create what > would be a pretty complex ASP site. > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, November 13, 2003 5:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: Access Security via a browser > > > Hi Drew > Thanks for the reply > I mean setting permissions, creating users and groups, changing passwords, > etc, > as you suggested. > > Basically she would like interfacing with Access Security and totally > managing, at every > level via a browser, whatever you can manage whilst sitting directly in from > of the System.mdw file > > In relation to John Colby's Poll on Access Security I am a 14. Never touched > the stuff and > am vaguely aware that it exists. So if it seems I am asking the impossible > because I don't know > any better it's because...I don't know any better :-)) > > Many thanks for the reply > > Darren > > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 14, 2003 5:40 AM > Subject: RE: [AccessD] A2K: Access Security via a browser > > > > What do you mean Darren. Do you mean like setting permissions, creating > > users and groups, changing passwords, etc? Or simply logging into a > secured > > database? > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Wednesday, November 12, 2003 6:48 PM > > To: AccessD List > > Subject: [AccessD] A2K: Access Security via a browser > > > > > > Hello all > > I have a Web Developer friend asking me if anyone knows of some useful > > URL's that will show how to or give examples of administering Access > > security via a browser. > > > > She has Access Security implemented and can administer it fine from the > > local PC via the > > 'normal' means, she just wants to do it via the web > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 17 21:41:52 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 21:41:52 -0600 Subject: [AccessD] Message-ID: I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB From DWUTKA at marlow.com Mon Nov 17 21:53:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 17 Nov 2003 21:53:19 -0600 Subject: [AccessD] Message-ID: <2F8793082E00D4119A1700B0D0216BF80222758D@main2.marlow.com> "SELECT " & strNewEventName & " AS fldName, tblEvent." & _ Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, November 17, 2003 9:42 PM To: AccessD Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 17 21:53:36 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 17 Nov 2003 22:53:36 -0500 Subject: [AccessD] In-Reply-To: Message-ID: "SELECT " & strNewEventName & " AS fldName This assumes that you want the contents of strNewEventName "interpreted" and that value of the variable placed in the string. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, November 17, 2003 10:42 PM To: AccessD Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Mon Nov 17 21:56:36 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Tue, 18 Nov 2003 14:56:36 +1100 Subject: [AccessD] Message-ID: "SELECT " & strNewEventName & " AS fldName, tblEvent." & _ Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 "John Bartow" Sent by: accessd-bounces at databaseadvisors.com 18/11/2003 02:41 PM Please respond to Access Developers discussion and problem solving To: "AccessD" cc: Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From Developer at UltraDNT.com Mon Nov 17 21:59:48 2003 From: Developer at UltraDNT.com (Developer) Date: Mon, 17 Nov 2003 22:59:48 -0500 Subject: [AccessD] In-Reply-To: Message-ID: <000501c3ad88$68e8ca70$7001a8c0@COA3> "SELECT " & strNewEventName & " AS fldName, tblEvent." & _ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, November 17, 2003 10:42 PM To: AccessD Subject: [AccessD] I need someone to unlock my brainjam! "strNewEventName" is a string variable I need to insert in this statement and after a half an hour I can't seem to get the syntax correct. DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ "fldEvTypeID, fldOccur, fldLocation, " & _ "fldDesc, fldDeptID, fldRecorded, " & _ "fldStaffID ) " & _ "SELECT strNewEventName AS fldName, tblEvent." & _ "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ "fldLocation, tblEvent.fldDesc, tblEvent." & _ "fldDeptID, tblEvent.fldRecorded, " & _ "tblEvent.fldStaffID " & _ "FROM tblEvent;" TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Nov 17 22:30:02 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 17 Nov 2003 23:30:02 -0500 Subject: [AccessD] Excel warning on save Message-ID: I am getting a spreadsheet in an old format. In order to get it to a version that will link into Access, I renamed the sheet inside and saved. It pops up a warning about "was in 2.x, do you want to save in xxx etc.". I would like to avoid that warning (just save it). Anyone know how to turn off that warning? Is there any "direct way" to modify it such that it is now a current version of Excel? John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Nov 17 22:38:10 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 22:38:10 -0600 Subject: [AccessD] In-Reply-To: Message-ID: Thanks everyone! That was quick, went up for another cup of mud and had 4 answers already. Unfortunatley, you all confirmed that I don't have brainlock. It was my original syntax, (and I think the 5th, 12th and 17th attempt's syntaxes) Now I have to troubleshoot this thing as to why the SQL statement is causing an error. :o( Thanks again. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Monday, November 17, 2003 9:42 PM > To: AccessD > Subject: [AccessD] > > > I need someone to unlock my brainjam! > > "strNewEventName" is a string variable I need to insert in this statement > and after a half an hour I can't seem to get the syntax correct. > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > "fldEvTypeID, fldOccur, fldLocation, " & _ > "fldDesc, fldDeptID, fldRecorded, " & _ > "fldStaffID ) " & _ > "SELECT strNewEventName AS fldName, tblEvent." & _ > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > "fldDeptID, tblEvent.fldRecorded, " & _ > "tblEvent.fldStaffID " & _ > "FROM tblEvent;" > > TIA > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Mon Nov 17 23:08:45 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 23:08:45 -0600 Subject: [AccessD] In-Reply-To: Message-ID: Well, in a way you all did remove brainlock. Got me off of checking the syntax and onto troubleshooting it, the way I should've been. I needed to add some single quotes when building the string variable "strNewEventName". Thanks! jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Monday, November 17, 2003 10:38 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] > > > Thanks everyone! > That was quick, went up for another cup of mud and had 4 answers already. > > Unfortunatley, you all confirmed that I don't have brainlock. It was my > original syntax, (and I think the 5th, 12th and 17th attempt's syntaxes) > > Now I have to troubleshoot this thing as to why the SQL statement > is causing > an error. > :o( > > Thanks again. > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Monday, November 17, 2003 9:42 PM > > To: AccessD > > Subject: [AccessD] > > > > > > I need someone to unlock my brainjam! > > > > "strNewEventName" is a string variable I need to insert in this > statement > > and after a half an hour I can't seem to get the syntax correct. > > > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > > "fldEvTypeID, fldOccur, fldLocation, " & _ > > "fldDesc, fldDeptID, fldRecorded, " & _ > > "fldStaffID ) " & _ > > "SELECT strNewEventName AS fldName, tblEvent." & _ > > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > > "fldDeptID, tblEvent.fldRecorded, " & _ > > "tblEvent.fldStaffID " & _ > > "FROM tblEvent;" > > > > 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 pcs at azizaz.com Mon Nov 17 23:23:08 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Tue, 18 Nov 2003 15:23:08 +1000 Subject: [AccessD] Excel Question References: Message-ID: <000901c3ad94$0e5432f0$be0e90cb@prosys.local> Hi, anyone with a quick answer to this one: Excel appears to treat blank cell as zero I've created a function that tests the value in a cell (say A1) using Select Case and delivers a value in another cell (say B1) depending on value in cell. The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message if any other value is entered. So far so good! Now, the annoying part is that a blank value - null - is treated as ZERO by the function. How do I turn this off - so that a the value of a blank cell is treated as null ??? Regards Borge, From pcs at azizaz.com Mon Nov 17 23:46:11 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Tue, 18 Nov 2003 15:46:11 +1000 Subject: [AccessD] References: Message-ID: <001f01c3ad97$4679a4f0$be0e90cb@prosys.local> I don't know if this is relevant for you, but if the textstring that your string variable holds may contain single quote (like in "Sandy's Order") you need to handle that as well in your sql string.... regards Borge ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 18, 2003 3:08 PM Subject: RE: [AccessD] > Well, in a way you all did remove brainlock. Got me off of checking the > syntax and onto troubleshooting it, the way I should've been. I needed to > add some single quotes when building the string variable "strNewEventName". > > Thanks! > jb > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Monday, November 17, 2003 10:38 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] > > > > > > Thanks everyone! > > That was quick, went up for another cup of mud and had 4 answers already. > > > > Unfortunatley, you all confirmed that I don't have brainlock. It was my > > original syntax, (and I think the 5th, 12th and 17th attempt's syntaxes) > > > > Now I have to troubleshoot this thing as to why the SQL statement > > is causing > > an error. > > :o( > > > > Thanks again. > > JB > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > > Sent: Monday, November 17, 2003 9:42 PM > > > To: AccessD > > > Subject: [AccessD] > > > > > > > > > I need someone to unlock my brainjam! > > > > > > "strNewEventName" is a string variable I need to insert in this > > statement > > > and after a half an hour I can't seem to get the syntax correct. > > > > > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > > > "fldEvTypeID, fldOccur, fldLocation, " & _ > > > "fldDesc, fldDeptID, fldRecorded, " & _ > > > "fldStaffID ) " & _ > > > "SELECT strNewEventName AS fldName, tblEvent." & _ > > > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > > > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > > > "fldDeptID, tblEvent.fldRecorded, " & _ > > > "tblEvent.fldStaffID " & _ > > > "FROM tblEvent;" > > > > > > 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 Mon Nov 17 23:55:19 2003 From: john at winhaven.net (John Bartow) Date: Mon, 17 Nov 2003 23:55:19 -0600 Subject: [AccessD] In-Reply-To: <001f01c3ad97$4679a4f0$be0e90cb@prosys.local> Message-ID: Borge, Thanks, that's a good point. I'm padding the variable with quotes after I build it to cover all possible problems. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Borge Steen > Hansen > Sent: Monday, November 17, 2003 11:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] > > > I don't know if this is relevant for you, but if the textstring that your > string variable holds may contain single quote (like in "Sandy's > Order") you > need to handle that as well in your sql string.... > regards > Borge > > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 18, 2003 3:08 PM > Subject: RE: [AccessD] > > > > Well, in a way you all did remove brainlock. Got me off of checking the > > syntax and onto troubleshooting it, the way I should've been. I > needed to > > add some single quotes when building the string variable > "strNewEventName". > > > > Thanks! > > jb > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > > > Sent: Monday, November 17, 2003 10:38 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] > > > > > > > > > Thanks everyone! > > > That was quick, went up for another cup of mud and had 4 answers > already. > > > > > > Unfortunatley, you all confirmed that I don't have brainlock. > It was my > > > original syntax, (and I think the 5th, 12th and 17th > attempt's syntaxes) > > > > > > Now I have to troubleshoot this thing as to why the SQL statement > > > is causing > > > an error. > > > :o( > > > > > > Thanks again. > > > JB > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > John Bartow > > > > Sent: Monday, November 17, 2003 9:42 PM > > > > To: AccessD > > > > Subject: [AccessD] > > > > > > > > > > > > I need someone to unlock my brainjam! > > > > > > > > "strNewEventName" is a string variable I need to insert in this > > > statement > > > > and after a half an hour I can't seem to get the syntax correct. > > > > > > > > DoCmd.RunSQL "INSERT INTO tblEvent ( fldName, " & _ > > > > "fldEvTypeID, fldOccur, fldLocation, " & _ > > > > "fldDesc, fldDeptID, fldRecorded, " & _ > > > > "fldStaffID ) " & _ > > > > "SELECT strNewEventName AS fldName, tblEvent." & _ > > > > "fldEvTypeID, tblEvent.fldOccur, tblEvent." & _ > > > > "fldLocation, tblEvent.fldDesc, tblEvent." & _ > > > > "fldDeptID, tblEvent.fldRecorded, " & _ > > > > "tblEvent.fldStaffID " & _ > > > > "FROM tblEvent;" > > > > > > > > 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 > > _______________________________________________ > 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 Nov 18 06:25:35 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue, 18 Nov 2003 06:25:35 -0600 Subject: [AccessD] Training Location Tables Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C99C@cntexchange.pgdp.usec.com> I am setting up a new database for training results. The records are entered by location, each location has a class & an instructor. Then they track each students comments about the class & instructor. I am confused on how to set up the table to link the location with the class. I created a tblLocation, tblInstructor, tblClasses. Would I need a tblClassDetails that would contain the DetailID PK, ClassID, InstructorID, & LocationID? Or would I need just a DetailID & LocationID (tblDetailLocation). If so, how do I connect that to the form to make the entries to the tblDetailLocation? Or do I just add each field, tblLocation, tblInstructor, tblClasses to the Main table that tracks the students comments? Virginia From paulawright at boddienoell.com Tue Nov 18 06:28:03 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 07:28:03 -0500 Subject: [AccessD] Problems closing XP Message-ID: I have an Access XP database calling Crystal Reports 8.5. I am desparate - I've looked everywhere I can think of and still no answers. I have a crystl32.ocx embedded in my subform. The main form is a switchboard. The problem is that the database will not shut down without using CTRL-ALT-DEL after calling a Crystal Report. I can open any subform (including the subform with the ocx) and close without problems, but as soon as I call the CR I have a problem shutting down. I call Crystal Reports from the subform. Here is a sample code: Private Sub PNL_Recap_Click() On Error GoTo Err_PNL_Recap_click Set db = CurrentDb Set rs = db.OpenRecordset("Page 1 Report") If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then DoCmd.Hourglass True Select Case Me.SelectRpt Case 1 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1.rpt" Case 2 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1 $.rpt" Case 3 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1 Totals.rpt" Case 4 CrystalReport3.ReportFileName = "c:\Hotel Management System\page1Y.rpt" End Select CrystalReport3.Destination = 0 CrystalReport3.WindowState = 2 CrystalReport3.Action = 1 DoCmd.Hourglass False Else MsgBox "You must fill out fields in ADR/Occupancy." End If Set rs = Nothing Exit_PNL_Recap_click: Exit Sub Err_PNL_Recap_click: MsgBox Err.Number & " " & Err.Description & " /PNL_Recap_Click" Resume Exit_PNL_Recap_click End Sub At first I was able to take the focus off the subform before shutting down and that seemed to work, however that no longer works. I've been told that it may not actually be the CR causing the problem but something else. The problem is that it seems to work fine except when I open the CR. That seems to indicate that something is left hanging, but I don't know what and I don't know how to close the CR programmatically. Thank you Paula Wright From stuart at pacific.net.hk Tue Nov 18 06:43:39 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 18 Nov 2003 20:43:39 +0800 Subject: [AccessD] Problems closing XP In-Reply-To: Message-ID: <002701c3add1$97a021d0$5100a8c0@BITSNB02> I don't use crystal reports, but I'll take a stab and suggest that you may need to terminate the instance of crystal reports. If its embedded, I'm not really sure what you'd need to do, but for called objects you usually need to do something the following when you close the form: Set object = nothing So try Set CrystalReport3 = nothing In your form close event, and if that fails you may need to lookup your documentation on how to close it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paula Wright > Sent: Tuesday, 18 November, 2003 8:28 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Problems closing XP > > > I have an Access XP database calling Crystal Reports 8.5. I > am desparate - > I've looked everywhere I can think of and still no answers. > > I have a crystl32.ocx embedded in my subform. The main form is a > switchboard. The problem is that the database will not shut > down without > using CTRL-ALT-DEL after calling a Crystal Report. I can > open any subform > (including the subform with the ocx) and close without > problems, but as soon > as I call the CR I have a problem shutting down. > > I call Crystal Reports from the subform. Here is a sample code: > > Private Sub PNL_Recap_Click() > On Error GoTo Err_PNL_Recap_click > Set db = CurrentDb > Set rs = db.OpenRecordset("Page 1 Report") > If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then > DoCmd.Hourglass True > Select Case Me.SelectRpt > Case 1 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1.rpt" > Case 2 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > $.rpt" > Case 3 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > Totals.rpt" > Case 4 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1Y.rpt" > End Select > > CrystalReport3.Destination = 0 > CrystalReport3.WindowState = 2 > CrystalReport3.Action = 1 > > DoCmd.Hourglass False > Else > MsgBox "You must fill out fields in ADR/Occupancy." > End If > > Set rs = Nothing > > Exit_PNL_Recap_click: > Exit Sub > Err_PNL_Recap_click: > MsgBox Err.Number & " " & Err.Description & " /PNL_Recap_Click" > Resume Exit_PNL_Recap_click > End Sub > > At first I was able to take the focus off the subform before > shutting down > and that seemed to work, however that no longer works. I've > been told that > it may not actually be the CR causing the problem but > something else. The > problem is that it seems to work fine except when I open the > CR. That seems > to indicate that something is left hanging, but I don't know > what and I don't > know how to close the CR programmatically. > > Thank you > Paula Wright > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Tue Nov 18 07:06:05 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 18 Nov 2003 08:06:05 -0500 Subject: [AccessD] Excel Question Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8A8@TTNEXCHSRV1.hshhp.com> Borge, Can you use Excel's built in IsBlank function to determine the empty cell? HTH, Jim DeMarco -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Tuesday, November 18, 2003 12:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Question Hi, anyone with a quick answer to this one: Excel appears to treat blank cell as zero I've created a function that tests the value in a cell (say A1) using Select Case and delivers a value in another cell (say B1) depending on value in cell. The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message if any other value is entered. So far so good! Now, the annoying part is that a blank value - null - is treated as ZERO by the function. How do I turn this off - so that a the value of a blank cell is treated as null ??? Regards Borge, _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From viner at eunet.yu Tue Nov 18 07:16:57 2003 From: viner at eunet.yu (Ervin Brindza) Date: Tue, 18 Nov 2003 14:16:57 +0100 Subject: [AccessD] More subforms on the main form Message-ID: <003d01c3add6$5a484c40$0100a8c0@razvoj> Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin From paulawright at boddienoell.com Tue Nov 18 07:45:34 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 08:45:34 -0500 Subject: [AccessD] Problems closing XP Message-ID: Believe me, I've tried that and every other method I can think of to close it and I'm still not having any luck. Set CrystalReport3 = nothing gives me an Invalid Use of Property message. Other variations: CrystalReport3.exit - Object doesn't support this object or method CrystalReport3.Object.Exit - Object doesn't support this object or method CrystalReport3.Connection.Close - Object doesn't support this object or method CrystalReport3.Connection.Exit- Object doesn't support this object or method CrystalReport3.Object.Close - Object doesn't support this object or method I wish I could find documentation that addresses this situation. That's what I'm saying - I've looked EVERYWHERE I can think of and I cannot find any answers. I know that someone, somewhere has had to call Crystal Reports from Access before so there is a solution, I just need to make contact with the right person. -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Stuart Sanders Sent: Tue 11/18/2003 7:43 AM To: 'Access Developers discussion and problem solving' Cc: Subject: RE: [AccessD] Problems closing XP I don't use crystal reports, but I'll take a stab and suggest that you may need to terminate the instance of crystal reports. If its embedded, I'm not really sure what you'd need to do, but for called objects you usually need to do something the following when you close the form: Set object = nothing So try Set CrystalReport3 = nothing In your form close event, and if that fails you may need to lookup your documentation on how to close it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paula Wright > Sent: Tuesday, 18 November, 2003 8:28 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Problems closing XP > > > I have an Access XP database calling Crystal Reports 8.5. I > am desparate - > I've looked everywhere I can think of and still no answers. > > I have a crystl32.ocx embedded in my subform. The main form is a > switchboard. The problem is that the database will not shut > down without > using CTRL-ALT-DEL after calling a Crystal Report. I can > open any subform > (including the subform with the ocx) and close without > problems, but as soon > as I call the CR I have a problem shutting down. > > I call Crystal Reports from the subform. Here is a sample code: > > Private Sub PNL_Recap_Click() > On Error GoTo Err_PNL_Recap_click > Set db = CurrentDb > Set rs = db.OpenRecordset("Page 1 Report") > If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then > DoCmd.Hourglass True > Select Case Me.SelectRpt > Case 1 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1.rpt" > Case 2 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > $.rpt" > Case 3 > CrystalReport3.ReportFileName = "c:\Hotel > Management System\page1 > Totals.rpt" > Case 4 > CrystalReport3.ReportFileName = "c:\Hotel Management > System\page1Y.rpt" > End Select > > CrystalReport3.Destination = 0 > CrystalReport3.WindowState = 2 > CrystalReport3.Action = 1 > > DoCmd.Hourglass False > Else > MsgBox "You must fill out fields in ADR/Occupancy." > End If > > Set rs = Nothing > > Exit_PNL_Recap_click: > Exit Sub > Err_PNL_Recap_click: > MsgBox Err.Number & " " & Err.Description & " /PNL_Recap_Click" > Resume Exit_PNL_Recap_click > End Sub > > At first I was able to take the focus off the subform before > shutting down > and that seemed to work, however that no longer works. I've > been told that > it may not actually be the CR causing the problem but > something else. The > problem is that it seems to work fine except when I open the > CR. That seems > to indicate that something is left hanging, but I don't know > what and I don't > know how to close the CR programmatically. > > Thank you > Paula Wright > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Tue Nov 18 07:51:46 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Tue, 18 Nov 2003 08:51:46 -0500 Subject: [AccessD] Excel Question References: <000901c3ad94$0e5432f0$be0e90cb@prosys.local> Message-ID: <3FBA23F2.4050501@torchlake.com> Hi Borge, I ran into this when I was trying to automatically create a chart that would interpolate the values of an empty cell, rather than draw a sharp sawtooth. Here's what I found: if the function is evaluating the cell numerically, it sees an enpty cell as having the value of zero. What I ended up using was the following 'Copy only non-zero data from "onReadings" to "chartOnRead" Range("onReadings").Select ActiveCell.Select For x = 1 To Range("valToLookup").Count If ActiveCell.Value <> "" Then Selection.Copy ActiveCell.Offset(0, 4).Range("A1").Select Selection.PasteSpecial Paste:=xlPasteValues ActiveCell.Offset(1, -4).Range("A1").Select Else: ActiveCell.Offset(1, 0).Range("A1").Select End If Next x Application.CutCopyMode = False The significant line is - If ActiveCell.Value <> "" Then HTH Tina Borge Steen Hansen wrote: >Hi, >anyone with a quick answer to this one: > >Excel appears to treat blank cell as zero > >I've created a function that tests the value in a cell (say A1) using Select >Case and delivers a value in another cell (say B1) depending on value in >cell. > >The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message >if any other value is entered. > >So far so good! > >Now, the annoying part is that a blank value - null - is treated as ZERO by >the function. > > >How do I turn this off - so that a the value of a blank cell is treated as >null ??? > >Regards > > >Borge, > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From paulawright at boddienoell.com Tue Nov 18 07:52:33 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 08:52:33 -0500 Subject: [AccessD] More subforms on the main form Message-ID: I've used a main form to call several different subforms and I've also included tabs in the subform. Place a generic subform on the main form and change the subform being used; Me.genericsubformname.SourceObject = "Form Name" -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Ervin Brindza Sent: Tue 11/18/2003 8:16 AM To: AccessD at databaseadvisors.com Cc: Subject: [AccessD] More subforms on the main form Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From James at fcidms.com Tue Nov 18 08:29:33 2003 From: James at fcidms.com (James Barash) Date: Tue, 18 Nov 2003 09:29:33 -0500 Subject: [AccessD] Access 2003 integration problem with VSS In-Reply-To: Message-ID: When I attended the launch of Office 2003, one of the presenters said that, internally, Microsoft developers do not use VSS since they found that, in the words of the presenter, "it sucks". They have a different as yet unnamed, at least he wouldn't name it, product that should become a replacement for VSS but he would not give a timeline for public release. The .NET tools that were presented only worked with Excel and Word, nothing at all about Access2003. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, November 17, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 18 08:35:20 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 18 Nov 2003 08:35:20 -0600 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE142@TAPPEEXCH01> I think a fairly telling aspect of this story is that Microsoft does not use VSS for their own development. They have a homebrew program called SLM that they have used for several years now. -----Original Message----- From: James Barash [mailto:James at fcidms.com] Sent: Tuesday, November 18, 2003 8:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2003 integration problem with VSS When I attended the launch of Office 2003, one of the presenters said that, internally, Microsoft developers do not use VSS since they found that, in the words of the presenter, "it sucks". They have a different as yet unnamed, at least he wouldn't name it, product that should become a replacement for VSS but he would not give a timeline for public release. The .NET tools that were presented only worked with Excel and Word, nothing at all about Access2003. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, November 17, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it does not appear to be anything like the ODE we have all come to know. I understand that MS has been helping SourceGear market it's Vault product - a product that was specifically designed to be a replacement for VSS. I wonder if MS has given up on VSS? -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 13:41:42 -0800 >The VSS add-in for earlier versions came with the ODE. Since there >isn't any such animal in 2003, I'm not sure where that leaves those of >us who use Source Safe. It's an interesting question, though, and I >hope someone on the list will be able to answer the question before I >put 2003 on my machine. > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 12:04 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2003 integration problem with VSS > > >Good morning! I just got a shiny new development box at work and I'm >excited. So far the only snag is that my install of Access 2003 doesn't >seem to recognize the Visual SourceSafe 6.0d installed on the same >machine. Ordinarily, Access would display a Source Safe item on it's >Tools menu. Mine does not. > >Is there a registry hack or some such that I need to put in place to >make these two play nicely together? > >-Christopher Hawkins- > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From gustav at cactus.dk Tue Nov 18 08:58:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Nov 2003 15:58:14 +0100 Subject: [AccessD] Multiplatform Access "replacement" In-Reply-To: <6320718151.20030317144457@cactus.dk> References: <6320718151.20030317144457@cactus.dk> Message-ID: <5126293357.20031118155814@cactus.dk> Hi All The Access inspired tool, Rekall, is now available under GPL: http://www.thekompany.com/press_media/full.php3?Id=242 Rekall is here: http://www.thekompany.com/products/rekall/ I have no experience with it but it could be interesting, indeed if you have knowledge in Python. /gustav From liam at energyexhausts.co.uk Tue Nov 18 09:07:25 2003 From: liam at energyexhausts.co.uk (Liam Meadows) Date: Tue, 18 Nov 2003 15:07:25 -0000 Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB Message-ID: <125066531861D043863CE6453EE8509E017095@energys1.energy.local> I am trying to create a form Based on an SQL table but when I try and exit from the form sometimes I get an error saying "'Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". I have tried MSKB and changed the Persist Security Info to False in connection manager (File -> Connections -> All) and checked the registry setting as described in the MS KB but it still happens. Has anyone any idea how to resolve this ? Liam From markamatte at hotmail.com Tue Nov 18 09:48:19 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 18 Nov 2003 15:48:19 +0000 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize From Mark.Mitsules at ngc.com Tue Nov 18 09:59:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Tue, 18 Nov 2003 10:59:59 -0500 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: Microsoft Knowledge Base Article - 256847 Mark -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, November 18, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT:Map Netwrok Drive Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Nov 18 10:02:33 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 18 Nov 2003 11:02:33 -0500 Subject: [AccessD] acNewRec Message-ID: I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. From jeffrey.demulling at usbank.com Tue Nov 18 10:08:47 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 18 Nov 2003 10:08:47 -0600 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: The API should be: Connect: WNetAddConnection WNetAddConnection2 Disconnect: WNetCancelConnection WNetCancelConnection2 "Mark A Matte" To: accessd at databaseadvisors.com Sent by: cc: accessd-bounces at databasead Subject: [AccessD] OT:Map Netwrok Drive visors.com 11/18/2003 09:48 AM Please respond to "Access Developers discussion and problem solving" Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Tue Nov 18 10:17:01 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Tue, 18 Nov 2003 17:17:01 +0100 Subject: [AccessD] acNewRec In-Reply-To: Message-ID: <005201c3adef$66809e40$69fa2250@servercafe> Check the config in Access 2002: Default Open Mode : SHARED Default RecordLocking : EDITED RECORD When we install a new computer always check the main config from access (report, general, advanced, etc.) If this run, check in the main form if you used LOCK EDITED RECORD Good luck Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: martes, 18 de noviembre de 2003 17:03 To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Tue Nov 18 10:28:19 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Wed, 19 Nov 2003 00:28:19 +0800 Subject: [AccessD] Problems closing XP In-Reply-To: Message-ID: <003301c3adf0$fc3cdfb0$5100a8c0@BITSNB02> OK a couple of questions... You mentioned you embedded the ocx into the subform. Have you tested whether it works if you only call it from the main form? I did a quick search and found a reference to crviewer also being embedded (was in a discussion you started at UtterAccess). Have you tried testing what methods are availabel for crviewer if that is in fact embedded. If that handles the actual display part, perhaps it has a close/etc method. Finally is it actually possible to call the ocx from code without embedding? Ie add reference to the control and then use something along the lines of Dim crR As CrystalReport set crR = New CrystalReport Etc Sorry can't really offer much more since I don't have it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paula Wright > Sent: Tuesday, 18 November, 2003 9:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Problems closing XP > > > Believe me, I've tried that and every other method I can > think of to close it > and I'm still not having any luck. > > Set CrystalReport3 = nothing gives me an Invalid Use of > Property message. > > Other variations: > CrystalReport3.exit - Object doesn't support this object or method > CrystalReport3.Object.Exit - Object doesn't support this > object or method > CrystalReport3.Connection.Close - Object doesn't support this > object or > method > CrystalReport3.Connection.Exit- Object doesn't support this > object or method > > CrystalReport3.Object.Close - Object doesn't support this > object or method > > I wish I could find documentation that addresses this > situation. That's what > I'm saying - I've looked EVERYWHERE I can think of and I > cannot find any > answers. I know that someone, somewhere has had to call > Crystal Reports from > Access before so there is a solution, I just need to make > contact with the > right person. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com on behalf of Stuart > Sanders > Sent: Tue 11/18/2003 7:43 AM > To: 'Access Developers discussion and problem solving' > Cc: > Subject: RE: [AccessD] Problems closing XP > > > > I don't use crystal reports, but I'll take a stab and > suggest that > you may need > to terminate the instance of crystal reports. > > If its embedded, I'm not really sure what you'd need to > do, but for > called > objects you usually need to do something the following > when you close > the form: > Set object = nothing > > So try > Set CrystalReport3 = nothing > In your form close event, and if that fails you may > need to lookup > your > documentation on how to close it. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Paula Wright > > Sent: Tuesday, 18 November, 2003 8:28 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Problems closing XP > > > > > > I have an Access XP database calling Crystal Reports 8.5. I > > am desparate - > > I've looked everywhere I can think of and still no answers. > > > > I have a crystl32.ocx embedded in my subform. The > main form is a > > switchboard. The problem is that the database will not shut > > down without > > using CTRL-ALT-DEL after calling a Crystal Report. I can > > open any subform > > (including the subform with the ocx) and close without > > problems, but as soon > > as I call the CR I have a problem shutting down. > > > > I call Crystal Reports from the subform. Here is a > sample code: > > > > Private Sub PNL_Recap_Click() > > On Error GoTo Err_PNL_Recap_click > > Set db = CurrentDb > > Set rs = db.OpenRecordset("Page 1 Report") > > If rs![Month1 Occupancy] > 0 And rs![Month1 ADR] > 0 Then > > DoCmd.Hourglass True > > Select Case Me.SelectRpt > > Case 1 > > CrystalReport3.ReportFileName = "c:\Hotel > Management > > System\page1.rpt" > > Case 2 > > CrystalReport3.ReportFileName = "c:\Hotel > > Management System\page1 > > $.rpt" > > Case 3 > > CrystalReport3.ReportFileName = "c:\Hotel > > Management System\page1 > > Totals.rpt" > > Case 4 > > CrystalReport3.ReportFileName = "c:\Hotel > Management > > System\page1Y.rpt" > > End Select > > > > CrystalReport3.Destination = 0 > > CrystalReport3.WindowState = 2 > > CrystalReport3.Action = 1 > > > > DoCmd.Hourglass False > > Else > > MsgBox "You must fill out fields in ADR/Occupancy." > > End If > > > > Set rs = Nothing > > > > Exit_PNL_Recap_click: > > Exit Sub > > Err_PNL_Recap_click: > > MsgBox Err.Number & " " & Err.Description & " > /PNL_Recap_Click" > > Resume Exit_PNL_Recap_click > > End Sub > > > > At first I was able to take the focus off the subform before > > shutting down > > and that seemed to work, however that no longer works. I've > > been told that > > it may not actually be the CR causing the problem but > > something else. The > > problem is that it seems to work fine except when I open the > > CR. That seems > > to indicate that something is left hanging, but I don't know > > what and I don't > > know how to close the CR programmatically. > > > > Thank you > > Paula Wright > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > From liz at symphonyinfo.com Tue Nov 18 10:36:17 2003 From: liz at symphonyinfo.com (Liz Doering) Date: Tue, 18 Nov 2003 10:36:17 -0600 Subject: [AccessD] acNewRec In-Reply-To: Message-ID: Mark, Have you checked for a corrupt record in the affected tables? It will usually show up with ####### in one field. Deleting the record clears up the mess. Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com 763-391-7400 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Tuesday, November 18, 2003 10:03 AM To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 18 10:43:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 08:43:32 -0800 Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB Message-ID: You need to error trap the ADO errors specifically and loop through the connection's errors collection to see what's going on. A lot of ADO errors are "silent" in Access. Charlotte Foust -----Original Message----- From: Liam Meadows [mailto:liam at energyexhausts.co.uk] Sent: Tuesday, November 18, 2003 7:07 AM To: Access Developers discussion and problem solving Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB I am trying to create a form Based on an SQL table but when I try and exit from the form sometimes I get an error saying "'Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". I have tried MSKB and changed the Persist Security Info to False in connection manager (File -> Connections -> All) and checked the registry setting as described in the MS KB but it still happens. Has anyone any idea how to resolve this ? Liam _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Tue Nov 18 10:43:22 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 18 Nov 2003 10:43:22 -0600 Subject: [AccessD] Sage RT script Message-ID: <200311181643.hAIGhY607970@databaseadvisors.com> Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek From cfoust at infostatsystems.com Tue Nov 18 10:51:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 08:51:00 -0800 Subject: [AccessD] Access 2003 integration problem with VSS Message-ID: I thought the Access tools were a separate download. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, November 17, 2003 6:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2003 integration problem with VSS Hm. That's the same Visual Studio Tools package I installed on my new machine, but I don't see Access Extensions anywhere. Hm. Time for a reinstall! -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access 2003 integration problem with VSS Date: Mon, 17 Nov 2003 17:23:03 -0800 >Access 2003 Developer Extensions, part of Visual Studio Tools for >the >Microsoft Office System >http://www.msdn.microsoft.com/office/technologyinfo/devtools/accessex >ten >sions/default.aspx > > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, November 17, 2003 4:57 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access 2003 integration problem with VSS > > >What tools are you referring to? There must be a CD I haven't found >someplace in this MSN subscription. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Access 2003 integration problem with VSS >Date: Mon, 17 Nov 2003 15:46:06 -0800 > >>There's a specific set of tools for Access 2003 as well. That may >be >>where the hooks are found. >> >>Charlotte Foust >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Monday, November 17, 2003 3:41 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >> >> >>There is a "Visual Studio.NET Tools for Microsoft Office 2003", but it >>does not appear to be anything like the ODE we have all come to >know. >> >>I understand that MS has been helping SourceGear market it's Vault >>product - a product that was specifically designed to be a >replacement >>for VSS. I wonder if MS has given up on VSS? >> >>-C- >> >>---- Original Message ---- >>From: cfoust at infostatsystems.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Access 2003 integration problem with VSS >>Date: Mon, 17 Nov 2003 13:41:42 -0800 >> >>>The VSS add-in for earlier versions came with the ODE. Since there >>>isn't any such animal in 2003, I'm not sure where that leaves >those >>of >>>us who use Source Safe. It's an interesting question, though, and >I >>>hope someone on the list will be able to answer the question before >>I >>>put 2003 on my machine. >>> >>>Charlotte Foust >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Monday, November 17, 2003 12:04 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Access 2003 integration problem with VSS >>> >>> >>>Good morning! I just got a shiny new development box at work and >>I'm >>>excited. So far the only snag is that my install of Access 2003 >>doesn't >>>seem to recognize the Visual SourceSafe 6.0d installed on the same >>>machine. Ordinarily, Access would display a Source Safe item on >>it's >>>Tools menu. Mine does not. >>> >>>Is there a registry hack or some such that I need to put in place >>to >>>make these two play nicely together? >>> >>>-Christopher Hawkins- >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 18 10:56:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 08:56:24 -0800 Subject: [AccessD] Sage RT script Message-ID: It sounds like there's something wrong with your script or with the shortcut it's installing. Are you using the Wise installer? We use SageKey and Wise and have for the last 3 (?) versions of Access (we skipped 2000) and don't have problems. I have Win2k on my personal machine and Office 2000 MOD and I don't have a problem with one of our apps installed on that machine. Charlotte Foust -----Original Message----- From: rfv at entelix.com [mailto:rfv at entelix.com] Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Tue Nov 18 11:35:15 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 12:35:15 -0500 Subject: [AccessD] Sage RT script Message-ID: Sagekey support is pretty good. I'd contact them. -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Tue 11/18/2003 11:56 AM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] Sage RT script It sounds like there's something wrong with your script or with the shortcut it's installing. Are you using the Wise installer? We use SageKey and Wise and have for the last 3 (?) versions of Access (we skipped 2000) and don't have problems. I have Win2k on my personal machine and Office 2000 MOD and I don't have a problem with one of our apps installed on that machine. Charlotte Foust -----Original Message----- From: rfv at entelix.com [mailto:rfv at entelix.com] Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db??s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Nov 18 11:33:14 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Tue, 18 Nov 2003 09:33:14 -0800 Subject: [AccessD] Sage RT script In-Reply-To: <200311181643.hAIGhY607970@databaseadvisors.com> Message-ID: <001d01c3adfa$242aa670$8500a8c0@CX615377a> The way that Sagekey gets around the problem of Access trying to open a database in the last version of Access used when you have when you have several versions of Access on the same computer is to open the application through a small executable called runaccess.exe. This should be what your desktop shotcut calls, not Access.exe. If the runtime is opened through this method the registry setting that indicates what version of Access was used last is not supposed to be reset to your runtime version. If the shortcut goes directly to Access.exe then that is the problem. I'd contact tech support at Sagekey and have them work with you to resolve the problem. I have found them to be very helpfull. Doug Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rfv at entelix.com Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Nov 18 11:57:05 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 18 Nov 2003 12:57:05 -0500 Subject: [AccessD] acNewRec Message-ID: Liz - Thanks for the input. I searched the table, but didn't find corrupt records. Thanks, Mark -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Tuesday, November 18, 2003 11:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] acNewRec Mark, Have you checked for a corrupt record in the affected tables? It will usually show up with ####### in one field. Deleting the record clears up the mess. Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com 763-391-7400 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Tuesday, November 18, 2003 10:03 AM To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Nov 18 11:59:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 18 Nov 2003 12:59:00 -0500 Subject: [AccessD] acNewRec Message-ID: Thanks Juan. I'll check the user's machines to make sure these settings are correct. Mark -----Original Message----- From: MastercafeCTV [mailto:mastercafe at ctv.es] Sent: Tuesday, November 18, 2003 11:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] acNewRec Check the config in Access 2002: Default Open Mode : SHARED Default RecordLocking : EDITED RECORD When we install a new computer always check the main config from access (report, general, advanced, etc.) If this run, check in the main form if you used LOCK EDITED RECORD Good luck Juan =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: martes, 18 de noviembre de 2003 17:03 To: AccessD at databaseadvisors.com Subject: [AccessD] acNewRec I have an Access2002 mdb that is being used by 5 users. The front-end is located on each user's hard drive, while the linked tables are located in an Access2002 mdb on the network. There haven't been any problems in the past month, but now users are receiving the following error when adding a new record to a form: "Could not update. Currently locked". The code is "DoCmd.GoToRecord, , acNewRec". Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Tue Nov 18 12:05:44 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 13:05:44 -0500 Subject: [AccessD] Problems closing XP Message-ID: I've tried taking the ocx out of the subform so that it is no longer embedded and using the Dim/Set statements, setting crR to nothing on closing the main form and still have the error. I tried calling it from the main form and still have the error. There are a few things that are very strange to me. There are several reports that I call from this subform. There is one set where only one of the reports causes the error. There is nothing different in the code that calls the reports. There are queries that run before opening the subform to compile the data for the reports. I have gone through and made sure all the Set db and Set rs are set to nothing so I don't think it's a data issue. The other thing is that Access acts like it is going to close - goes through the compact and appears to be shutting down but then maximizes. It's not frozen. I can reopen the database, I just can't shut the Access window down. From paulawright at boddienoell.com Tue Nov 18 12:21:59 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 18 Nov 2003 13:21:59 -0500 Subject: [AccessD] Problems closing XP - Bizarre Behavior Message-ID: Okay, I went into my closing action and changed docmd.quit to application.quit and got all excited because the application shut down and then it reopened!!! I tried it again, leaving the Windows Task Manager where I could see what was happening and it literally closed and reopened. What's that all about???? -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Paula Wright Sent: Tue 11/18/2003 1:05 PM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] Problems closing XP I've tried taking the ocx out of the subform so that it is no longer embedded and using the Dim/Set statements, setting crR to nothing on closing the main form and still have the error. I tried calling it from the main form and still have the error. There are a few things that are very strange to me. There are several reports that I call from this subform. There is one set where only one of the reports causes the error. There is nothing different in the code that calls the reports. There are queries that run before opening the subform to compile the data for the reports. I have gone through and made sure all the Set db and Set rs are set to nothing so I don't think it's a data issue. The other thing is that Access acts like it is going to close - goes through the compact and appears to be shutting down but then maximizes. It's not frozen. I can reopen the database, I just can't shut the Access window down. From cfoust at infostatsystems.com Tue Nov 18 12:44:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 18 Nov 2003 10:44:49 -0800 Subject: [AccessD] Sage RT script Message-ID: You're right. We had to start using the RunAccess.exe with our XP shortcuts, although I don't recall it being an issue with earlier versions. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Tuesday, November 18, 2003 9:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Sage RT script The way that Sagekey gets around the problem of Access trying to open a database in the last version of Access used when you have when you have several versions of Access on the same computer is to open the application through a small executable called runaccess.exe. This should be what your desktop shotcut calls, not Access.exe. If the runtime is opened through this method the registry setting that indicates what version of Access was used last is not supposed to be reset to your runtime version. If the shortcut goes directly to Access.exe then that is the problem. I'd contact tech support at Sagekey and have them work with you to resolve the problem. I have found them to be very helpfull. Doug Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rfv at entelix.com Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Tue Nov 18 12:51:54 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 18:51:54 -0000 Subject: [AccessD] Problems closing XP - Bizarre Behavior In-Reply-To: Message-ID: <002101c3ae05$17e503a0$530b6bd5@netboxxp> I use docmd.quit without problem... But there's a whole load of other weird stuff going on... Tab controls that grow, list views that draw their contents in strange places and subform objects that keep setting themselves to different control source (I have 4 on one form and if I edit any by clicking them from the main form in design view then all four use the same subform - xp rocks... It even closes down all by iself someimes... Usually when I click save, you need to really be on your toes with this one :@) Good luck... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paula Wright Sent: 18 November 2003 18:22 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Problems closing XP - Bizarre Behavior Okay, I went into my closing action and changed docmd.quit to application.quit and got all excited because the application shut down and then it reopened!!! I tried it again, leaving the Windows Task Manager where I could see what was happening and it literally closed and reopened. What's that all about???? -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Paula Wright Sent: Tue 11/18/2003 1:05 PM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] Problems closing XP I've tried taking the ocx out of the subform so that it is no longer embedded and using the Dim/Set statements, setting crR to nothing on closing the main form and still have the error. I tried calling it from the main form and still have the error. There are a few things that are very strange to me. There are several reports that I call from this subform. There is one set where only one of the reports causes the error. There is nothing different in the code that calls the reports. There are queries that run before opening the subform to compile the data for the reports. I have gone through and made sure all the Set db and Set rs are set to nothing so I don't think it's a data issue. The other thing is that Access acts like it is going to close - goes through the compact and appears to be shutting down but then maximizes. It's not frozen. I can reopen the database, I just can't shut the Access window down. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From lists at theopg.com Tue Nov 18 12:56:52 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 18:56:52 -0000 Subject: [AccessD] Cancel the mouse wheel.... In-Reply-To: <019e01c3ad7e$6aeac080$3c619a89@DDICK> Message-ID: <002201c3ae05$c8e49940$530b6bd5@netboxxp> Hi all... I'm using XP and would like to intercept the mousewheel when it scrolls records, and if needed cancel the move record. I can catch it and see the number of lines (count) etc. but what if I want to stop it changing records ??? Thanks in advance mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From martyconnelly at shaw.ca Tue Nov 18 13:03:58 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Nov 2003 11:03:58 -0800 Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB References: Message-ID: <3FBA6D1E.5050307@shaw.ca> Here is a snippet of code to look at Ado expanded errors 'where cnn is ADODB Connection Object cnn.Close Set cnn = Nothing Exit Function ' ADO Error/Exception Handler AdoError: Dim ErrNumber As Long Dim ErrSource As String Dim ErrDescription As String ErrNumber = Err.Number ErrSource = Err.Source ErrDescription = Err.Description AdoErrorExpanded cnn cnn.Close Set cnn = Nothing 'where Cnn is Connection Object End Function Sub AdoErrorExpanded(Conn1 As ADODB.Connection) ' ADO Error/Exception Handler Expanded Dim Errs1 As ADODB.Errors Dim errLoop As ADODB.Error Dim i As Long Dim strMsgErr As String i = 1 On Error Resume Next ' For any error condition, show results in debug ' Enumerate Errors collection and display properties ' of each Error object. Set Errs1 = Conn1.Errors For Each errLoop In Errs1 With errLoop Debug.Print " Error #" & i & ":" Debug.Print " ADO Error #" & .Number Debug.Print " Description " & .Description Debug.Print " Source " & .Source Debug.Print " HelpFile " & .HelpFile Debug.Print " HelpContext " & .HelpContext Debug.Print " NativeError " & .NativeError Debug.Print " SQLState " & .SQLState strMsgErr = " Error #" & i & ":" strMsgErr = strMsgErr & vbCrLf & " ADO Error #" & .Number strMsgErr = strMsgErr & vbCrLf & " Description " & .Description strMsgErr = strMsgErr & vbCrLf & " Source " & .Source strMsgErr = strMsgErr & vbCrLf & " HelpFile " & .HelpFile strMsgErr = strMsgErr & vbCrLf & " HelpContext " & .HelpContext strMsgErr = strMsgErr & vbCrLf & " NativeError " & .NativeError strMsgErr = strMsgErr & vbCrLf & " SQLState " & .SQLState MsgBox strMsgErr i = i + 1 End With Next With Conn1 Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf & _ "Driver Name: " & .Properties("Driver Name") & vbCrLf & _ "Driver Version: " & .Properties("Driver Version") & vbCrLf & _ "Driver ODBC Version: " & .Properties("Driver ODBC Version") End With End Sub Charlotte Foust wrote: >You need to error trap the ADO errors specifically and loop through the >connection's errors collection to see what's going on. A lot of ADO >errors are "silent" in Access. > >Charlotte Foust > >-----Original Message----- >From: Liam Meadows [mailto:liam at energyexhausts.co.uk] >Sent: Tuesday, November 18, 2003 7:07 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Problems with Access ADP and multiple-step OLE DB > > >I am trying to create a form Based on an SQL table but when I try and >exit from the form sometimes I get an error saying "'Multiple-step OLE >DB operation generated errors. Check each OLE DB status value, if >available. No work was done.". I have tried MSKB and changed the Persist >Security Info to False in connection manager (File -> Connections -> >All) and checked the registry setting as described in the MS KB but it >still happens. Has anyone any idea how to resolve this ? > >Liam >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From rfv at entelix.com Tue Nov 18 13:19:09 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 18 Nov 2003 13:19:09 -0600 Subject: [AccessD] Sage RT script In-Reply-To: Message-ID: <200311181919.hAIJJP618240@databaseadvisors.com> Solved! Thanks to everybody. Rudolf Vanek -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Martes, 18 de Noviembre de 2003 12:45 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Sage RT script You're right. We had to start using the RunAccess.exe with our XP shortcuts, although I don't recall it being an issue with earlier versions. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Tuesday, November 18, 2003 9:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Sage RT script The way that Sagekey gets around the problem of Access trying to open a database in the last version of Access used when you have when you have several versions of Access on the same computer is to open the application through a small executable called runaccess.exe. This should be what your desktop shotcut calls, not Access.exe. If the runtime is opened through this method the registry setting that indicates what version of Access was used last is not supposed to be reset to your runtime version. If the shortcut goes directly to Access.exe then that is the problem. I'd contact tech support at Sagekey and have them work with you to resolve the problem. I have found them to be very helpfull. Doug Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rfv at entelix.com Sent: Tuesday, November 18, 2003 8:43 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sage RT script Hi, I hope somebody can help me. I purchased the Sage MS Access XP RT script. Now my cliente has Windows 2000 Pro and MS Access 2000 installed. When he clicks on the shortcut of my app, a error message appears stating that this application is not soported, wanting to open my app with Access 2000. So we have to go to the runtime folder, click MS Access XP .exe., but the problem is that he can not open his other Access 2000 db?s. Is the Sage script not supposed tu avoid all this? I hope somebody has the answer. Rudolf F. Vanek _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Nov 18 13:58:54 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 18 Nov 2003 14:58:54 -0500 Subject: [AccessD] Cancel the mouse wheel.... Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD794B@xlivmbx12.aig.com> Go here... http://www.lebans.com/mousewheelonoff.htm > -----Original Message----- > From: MarkH [SMTP:lists at theopg.com] > Sent: Tuesday, November 18, 2003 1:57 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Cancel the mouse wheel.... > > Hi all... > > I'm using XP and would like to intercept the mousewheel when it scrolls > records, and if needed cancel the move record. I can catch it and see > the number of lines (count) etc. but what if I want to stop it changing > records ??? > > Thanks in advance > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 > > > _______________________________________________ > 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 Nov 18 14:09:40 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue, 18 Nov 2003 14:09:40 -0600 Subject: [AccessD] Combo Subform Entries Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C9C7@cntexchange.pgdp.usec.com> I have a combobox on a main form that is used to select certain records on the subform. For example, if you select Car from the combo, the subform shows all the records for Car. I need to be able to add an entry to the combobox on the main form & have it available for use to add new records. So if I add Jeep to the NotInList event of the combobox, Jeep would be in the list, the Combo would show Jeep, & the subform should be blank & ready to add new entries for Jeep. I tried Requery, I tried a seperate form for adding new entries to the list, and OnClose of the form, requery the form, but nothing works. The entry is in the list, but the subform stays on the previous selections entry. Or should the requery go on the After Update of the Combo? Virginia On NotInList ' Return Control object that points to combo box. Set ctl = Me!cboLocation ' Prompt user to verify they wish to add new value. If MsgBox("Would you like to add '" & NewData & "' to the list?", vbYesNo, "Add New Name") = vbYes Then ' Set Response argument to indicate that data is being added. Response = acDataErrAdded ' Add string in NewData argument to table. NewData = DoConv(NewData) strSQL = " INSERT INTO tbl_Location ( Location ) SELECT '" & DoConv(NewData) & "'" DoCmd.SetWarnings False DoCmd.RunSQL strSQL ctl.Value = NewData DoCmd.SetWarnings True Else ' If user chooses Cancel, suppress error message and undo changes. Response = acDataErrContinue ctl.Undo End If From DWUTKA at marlow.com Tue Nov 18 14:11:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 18 Nov 2003 14:11:55 -0600 Subject: [AccessD] Training Location Tables Message-ID: <2F8793082E00D4119A1700B0D0216BF802227599@main2.marlow.com> If each class is only ever in one location, then just put the location ID as a foriegn key in the tblClasses table. However, if you may have multiple locations for a class, then create a tblClassLocations table, which has an Autonumber (ClassLocationID), the ClassID and the LocationID fields. Then, if you are just referring to a class, regardless of location (like if you are putting in notes about the class...) then just use the ClassID field. But if you are referring to a class in a particular location, (like a class schedule), then use the ClassLocationID. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, November 18, 2003 6:26 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Training Location Tables I am setting up a new database for training results. The records are entered by location, each location has a class & an instructor. Then they track each students comments about the class & instructor. I am confused on how to set up the table to link the location with the class. I created a tblLocation, tblInstructor, tblClasses. Would I need a tblClassDetails that would contain the DetailID PK, ClassID, InstructorID, & LocationID? Or would I need just a DetailID & LocationID (tblDetailLocation). If so, how do I connect that to the form to make the entries to the tblDetailLocation? Or do I just add each field, tblLocation, tblInstructor, tblClasses to the Main table that tracks the students comments? Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 18 14:12:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 18 Nov 2003 14:12:33 -0600 Subject: [AccessD] More subforms on the main form Message-ID: <2F8793082E00D4119A1700B0D0216BF80222759A@main2.marlow.com> Tab control? -----Original Message----- From: Ervin Brindza [mailto:viner at eunet.yu] Sent: Tuesday, November 18, 2003 7:17 AM To: AccessD at databaseadvisors.com Subject: [AccessD] More subforms on the main form Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 18 14:14:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 18 Nov 2003 14:14:02 -0600 Subject: [AccessD] OT:Map Netwrok Drive Message-ID: <2F8793082E00D4119A1700B0D0216BF80222759B@main2.marlow.com> just shell out using the 'net use' function. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, November 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT:Map Netwrok Drive Hello All, Anyone know how(or if you can) to map a network drive using API calls? Thanks, Mark _________________________________________________________________ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Nov 18 14:34:59 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Nov 2003 12:34:59 -0800 Subject: [AccessD] Cancel the mouse wheel.... References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD794B@xlivmbx12.aig.com> Message-ID: <3FBA8273.5020509@shaw.ca> If that is not bad enough there is a new mouse out with a tiltable wheel not just rotating to allow right to left scrolling. Heenan, Lambert wrote: >Go here... > >http://www.lebans.com/mousewheelonoff.htm > > > >>-----Original Message----- >>From: MarkH [SMTP:lists at theopg.com] >>Sent: Tuesday, November 18, 2003 1:57 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Cancel the mouse wheel.... >> >>Hi all... >> >>I'm using XP and would like to intercept the mousewheel when it scrolls >>records, and if needed cancel the move record. I can catch it and see >>the number of lines (count) etc. but what if I want to stop it changing >>records ??? >> >>Thanks in advance >> >>mark >> >>--- >>Outgoing mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/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 > > > -- Marty Connelly Victoria, B.C. Canada From ssharkins at bellsouth.net Tue Nov 18 14:55:43 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 18 Nov 2003 15:55:43 -0500 Subject: [AccessD] Many To Many Message-ID: <004101c3ae16$55c6a0a0$210110ac@SUSANONE> We hope to have a new issue out within the next week -- finally! If anyone has a classified, please send the text to me privately at ssharkins at bellsouth.net Thanks! Susan H. From john at winhaven.net Tue Nov 18 15:12:14 2003 From: john at winhaven.net (John Bartow) Date: Tue, 18 Nov 2003 15:12:14 -0600 Subject: [AccessD] Use Wildcards Correctly and Safely Message-ID: Access/VB/SQL Advisor Article December 2003 Author Susan Sales Harkins Nice Article Susan! JB From ssharkins at bellsouth.net Tue Nov 18 15:14:51 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 18 Nov 2003 16:14:51 -0500 Subject: [AccessD] Use Wildcards Correctly and Safely References: Message-ID: <000801c3ae19$07d21610$210110ac@SUSANONE> Thank you -- I appreciate that! Susan H. > Access/VB/SQL Advisor Article > December 2003 > Author Susan Sales Harkins > > Nice Article Susan! > > JB From lists at theopg.com Tue Nov 18 15:34:41 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 21:34:41 -0000 Subject: [AccessD] Cancel the mouse wheel.... In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD794B@xlivmbx12.aig.com> Message-ID: <000001c3ae1b$d6113db0$530b6bd5@netboxxp> Thanks Lambert mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: 18 November 2003 19:59 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cancel the mouse wheel.... Go here... http://www.lebans.com/mousewheelonoff.htm > -----Original Message----- > From: MarkH [SMTP:lists at theopg.com] > Sent: Tuesday, November 18, 2003 1:57 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Cancel the mouse wheel.... > > Hi all... > > I'm using XP and would like to intercept the mousewheel when it > scrolls records, and if needed cancel the move record. I can catch it > and see the number of lines (count) etc. but what if I want to stop it > changing records ??? > > Thanks in advance > > mark > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/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.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From lists at theopg.com Tue Nov 18 15:35:09 2003 From: lists at theopg.com (MarkH) Date: Tue, 18 Nov 2003 21:35:09 -0000 Subject: [AccessD] Cancel the mouse wheel.... In-Reply-To: <3FBA8273.5020509@shaw.ca> Message-ID: <000101c3ae1b$d7689050$530b6bd5@netboxxp> Great :@( mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 18 November 2003 20:35 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cancel the mouse wheel.... If that is not bad enough there is a new mouse out with a tiltable wheel not just rotating to allow right to left scrolling. Heenan, Lambert wrote: >Go here... > >http://www.lebans.com/mousewheelonoff.htm > > > >>-----Original Message----- >>From: MarkH [SMTP:lists at theopg.com] >>Sent: Tuesday, November 18, 2003 1:57 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Cancel the mouse wheel.... >> >>Hi all... >> >>I'm using XP and would like to intercept the mousewheel when it >>scrolls records, and if needed cancel the move record. I can catch it >>and see the number of lines (count) etc. but what if I want to stop it >>changing records ??? >> >>Thanks in advance >> >>mark >> >>--- >>Outgoing mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/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 > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ 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.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From DElam at jenkens.com Tue Nov 18 15:33:10 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 18 Nov 2003 15:33:10 -0600 Subject: [AccessD] Dynamic Sorting Report Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0106B784@natexch.jenkens.com> I have a report I originally wrote in Access 97 that I have upgraded to XP. This report sorts dynamically based on the values in a form. This works as advertised in 97, but has one quirk in XP. If I try to sort by ActionDueDate first then there is no discernable order to the report. Any other sort works fine for the first sort. This is the only date in the sort by fields. If both the first and second sort are the ActionDueDate, then it behaves as expected. Some additional info: If the first sort is Attorney, then the report is grouped and each attorney is on a new page. If it is different then the breaks are turned off, but presumably in some ways it is still a group though there is no visual indication of this in the report. Out of curiosity I left the breaks on and there are places where new pages are started. The breaks are in the order of the month and first digit of the day. This makes me wonder if this date is being treated as a string for some reason. The sorting breaks down after that first digit of the day though. 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. From d.dick at uws.edu.au Tue Nov 18 18:57:20 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 19 Nov 2003 11:57:20 +1100 Subject: [AccessD] Combo Subform Entries References: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C9C7@cntexchange.pgdp.usec.com> Message-ID: <008701c3ae38$164ecb10$41619a89@DDICK> Hi Virginia Demo sent off line If anyone wants a me too then make 'em to d.dick at uws.edu.au Any me too's direct to this list will be ignored, snubbed and otherwise shown contempt :-) See ya Darren ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Wednesday, November 19, 2003 7:09 AM Subject: [AccessD] Combo Subform Entries > I have a combobox on a main form that is used to select certain records on > the subform. For example, if you select Car from the combo, the subform > shows all the records for Car. > > I need to be able to add an entry to the combobox on the main form & have it > available for use to add new records. So if I add Jeep to the NotInList > event of the combobox, Jeep would be in the list, the Combo would show Jeep, > & the subform should be blank & ready to add new entries for Jeep. > > I tried Requery, I tried a seperate form for adding new entries to the list, > and OnClose of the form, requery the form, but nothing works. The entry is > in the list, but the subform stays on the previous selections entry. Or > should the requery go on the After Update of the Combo? > > Virginia > > On NotInList > > ' Return Control object that points to combo box. > Set ctl = Me!cboLocation > ' Prompt user to verify they wish to add new value. > If MsgBox("Would you like to add '" & NewData & "' to the list?", > vbYesNo, "Add New Name") = vbYes Then > ' Set Response argument to indicate that data is being added. > Response = acDataErrAdded > ' Add string in NewData argument to table. > NewData = DoConv(NewData) > strSQL = " INSERT INTO tbl_Location ( Location ) SELECT '" & > DoConv(NewData) & "'" > DoCmd.SetWarnings False > DoCmd.RunSQL strSQL > ctl.Value = NewData > DoCmd.SetWarnings True > > Else > ' If user chooses Cancel, suppress error message and undo changes. > Response = acDataErrContinue > ctl.Undo > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Nov 18 22:52:24 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue, 18 Nov 2003 23:52:24 -0500 Subject: [AccessD] SQL Server strangeness Message-ID: Awhile back I moved my client billing to SQL Server, just a simple upload of the mdb data, and then relinked to the ODBC. Nothing fancy. It all just worked. Now (since recovering EVERYTHING due to a hard disk crash), the LIKE keyword is causing failures in the odbc call. I use things like "LIKE forms!someform!somecontrol" etc. Now this fails (silently), just no data returned. Replace the LIKE with IN() and it works again. The TRULY strange part is that I use a LIKE ccfrmWhich() EVERYWHERE in order to only display active records in my forms. That fails in a combo, but succeeds in the form that hosts that combo. I do so love Access / SQL Server. John W. Colby www.ColbyConsulting.com From jcolby at colbyconsulting.com Tue Nov 18 22:52:24 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue, 18 Nov 2003 23:52:24 -0500 Subject: [AccessD] [dba-SQLServer]SQL Server strangeness Message-ID: Awhile back I moved my client billing to SQL Server, just a simple upload of the mdb data, and then relinked to the ODBC. Nothing fancy. It all just worked. Now (since recovering EVERYTHING due to a hard disk crash), the LIKE keyword is causing failures in the odbc call. I use things like "LIKE forms!someform!somecontrol" etc. Now this fails (silently), just no data returned. Replace the LIKE with IN() and it works again. The TRULY strange part is that I use a LIKE ccfrmWhich() EVERYWHERE in order to only display active records in my forms. That fails in a combo, but succeeds in the form that hosts that combo. I do so love Access / SQL Server. John W. Colby www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From viner at eunet.yu Wed Nov 19 01:48:59 2003 From: viner at eunet.yu (Ervin Brindza) Date: Wed, 19 Nov 2003 08:48:59 +0100 Subject: [AccessD] More subforms on the main form References: Message-ID: <014401c3ae72$7c171c60$0100a8c0@razvoj> > I've used a main form to call several different subforms and I've also > included tabs in the subform. > > Place a generic subform on the main form and change the subform being used; > > Me.genericsubformname.SourceObject = "Form Name" > Many thanks for the suggestions! I 'll try with gliding subforms... Ervin From gustav at cactus.dk Wed Nov 19 05:50:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 12:50:52 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: <8615823653.20031103132209@cactus.dk> References: <8615823653.20031103132209@cactus.dk> Message-ID: <18814505828.20031119125052@cactus.dk> Hi All Located this short article by Bill Ramos (Lead Program Manager, Microsoft Office Access 2003) on InfoPath which addresses people like us: http://accessvbsqladvisor.com/doc/13108 and about the toolkit: http://msadvisor.com/doc/13297 /gustav > Hi all > Anyone familiar with these new products and if they somehow relate to > Access? > I've tried to browse some brochures but they are so hyped that it is > just plain impossible to figure out wether these apps are fancy toys > which will bring any machine to a crawl or if they could be useful > tools in cooperation with Access and database applications. > And how are the programmed if you wish to create custom build apps? > I've located this link to a SDK related to InfoPath: > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en > but it looks like you need to take a deep breath and have a weekend > set aside. > Also, how much are they relying on specific MS server software like > SharePoint or Exchange or pure MS environments or Office 2003 only? If > so, the usefulness is very limited as our clients use a variety of > systems. > /gustav From gustav at cactus.dk Wed Nov 19 05:56:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 12:56:17 +0100 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <19014831166.20031119125617@cactus.dk> Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav From jcolby at colbyconsulting.com Wed Nov 19 06:46:58 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 07:46:58 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <19014831166.20031119125617@cactus.dk> Message-ID: LOL. Thanks for the plug Gustav. That would be my chapter, the only one in the book that was brand new. Had to do a little pushing to get it in there, they thought it too "advanced" for a beginning basic book. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 6:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Wed Nov 19 07:02:45 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 19 Nov 2003 07:02:45 -0600 Subject: [AccessD] A2K / AXP: Indirect Replication Message-ID: <20031119070245.1140044549.serbach@new.rr.com> Dear Group, Has anyone here actually implemented Indirect Replication where the "drop box" for each computer is an FTP site? I'm a bit stymied by the configuration options in the Office XP Developer's Replication Manager. (My w/s is Windows 2000 Pro) That is: 1) I click on the "Support indirect synchronization" check box and click Next twice. 2) I click on the "Network..." button since I'm testing the situation where the computer is disconnected from a network. 3) In the "Browse Network Folders" dialog box I only "see" the drives and servers on my LAN, so I click on the Network button to "connect to a shared network folder." 4) I then see the "Map Network Drive" wizard dialog. I pick a drive letter, say, K:. Then I click on "Browse..." button to specify the folder to connect to. 5) I then see the "Browse for Folder" dialog, which shows me my Network Places. I see the folder I created that points to my FTP site. But when I click on the folder the OK button in the dialog box remains unavailable because the FTP folder, apparently, isn't a shared network folder. If I click on a folder on my file server then the OK button is available. 6) So back to the wizard in step 4). There's a link to "Create a shortcut to a Web folder or FTP site." I click on that. 7) I'm now at the "Add Network Place Wizard." I type in the ftp:// path to the FTP site and click Next. 8) I'm asked whether I want to log in anonymously. I un-check the box and then enter the User name that I set up for the FTP site. The prompt under the User name says that I'll be prompted for a password when I connect to the FTP server. I click Next. 9) I then enter a name for the Network Place and click Finish. 10) Then I see the password prompt for the User name I entered. 11) Then a window appears with the ftp:// address in the title bar and the list of files on the FTP site. Looks good so far. 12) But now I'm back to step 3). I click on the Network button again. 13) Now I'm back at step 4). I click on "Browse..." and once again see all My Network Places. Sure enough, there's the new FTP folder I created. But when I select it, the OK button remains unavailable because, I guess, it isn't shared. Sorry for the long explanation. It helps me to do it step-by-step like that. What am I missing? I can't even begin a test of Indirect Replication unless the Replication Manager can see the FTP folder, can I? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From mwp.reid at qub.ac.uk Wed Nov 19 07:02:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 13:02:54 -0000 Subject: [AccessD] Primer on WithEvents and RaiseEvent References: Message-ID: <001201c3ae9d$725a39c0$9111758f@aine> Mine where brand new as well. Not as good but new LOL Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 12:46 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > LOL. > > Thanks for the plug Gustav. That would be my chapter, the only one in the > book that was brand new. Had to do a little pushing to get it in there, > they thought it too "advanced" for a beginning basic book. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, November 19, 2003 6:56 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > Hi all > > Just noted this book chapter counting several well known listmembers > among the numerous authors: > > http://accessvbsqladvisor.com/doc/13276 > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > handle an object's events inside classes other than the form classes. > This book chapter explains what it can do for you. > > /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 HollisVJ at pgdp.usec.com Wed Nov 19 07:14:40 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 19 Nov 2003 07:14:40 -0600 Subject: [AccessD] Combo Subform Entries Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0CB0C9CF@cntexchange.pgdp.usec.com> Anyway, I guess I am still doing something wrong because when I add a new entry it still does not show the new entry as the selection. When I add a new entry it refreshes back to the first entry in the list. I set the LocationID to visible on each form so I can see what was happening. The subform locationID is set to the new entry after I reselect the new entry, but the main form with the combobox does not. ComboBox (main form) shows Austin = LocationID 23 Subform LocationID = 23 Add new entry: LocationID should be 24 Main Form shows LocationID = 23 Subform LocationID = 24 Another think I noticed - sometimes when I open the form, the LocationID shows on the Main form, but not the subform. I close the form & reopen & the LocationID shows in the subform. What have I done here?? Virginia -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Tuesday, November 18, 2003 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo Subform Entries Hi Virginia Demo sent off line If anyone wants a me too then make 'em to d.dick at uws.edu.au Any me too's direct to this list will be ignored, snubbed and otherwise shown contempt :-) See ya Darren ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Wednesday, November 19, 2003 7:09 AM Subject: [AccessD] Combo Subform Entries > I have a combobox on a main form that is used to select certain records on > the subform. For example, if you select Car from the combo, the subform > shows all the records for Car. > > I need to be able to add an entry to the combobox on the main form & have it > available for use to add new records. So if I add Jeep to the NotInList > event of the combobox, Jeep would be in the list, the Combo would show Jeep, > & the subform should be blank & ready to add new entries for Jeep. > > I tried Requery, I tried a seperate form for adding new entries to the list, > and OnClose of the form, requery the form, but nothing works. The entry is > in the list, but the subform stays on the previous selections entry. Or > should the requery go on the After Update of the Combo? > > Virginia > > On NotInList > > ' Return Control object that points to combo box. > Set ctl = Me!cboLocation > ' Prompt user to verify they wish to add new value. > If MsgBox("Would you like to add '" & NewData & "' to the list?", > vbYesNo, "Add New Name") = vbYes Then > ' Set Response argument to indicate that data is being added. > Response = acDataErrAdded > ' Add string in NewData argument to table. > NewData = DoConv(NewData) > strSQL = " INSERT INTO tbl_Location ( Location ) SELECT '" & > DoConv(NewData) & "'" > DoCmd.SetWarnings False > DoCmd.RunSQL strSQL > ctl.Value = NewData > DoCmd.SetWarnings True > > Else > ' If user chooses Cancel, suppress error message and undo changes. > Response = acDataErrContinue > ctl.Undo > End If > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 19 07:14:51 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 14:14:51 +0100 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: References: Message-ID: <10219544613.20031119141451@cactus.dk> Hi John Yes, one can feel the "JC breath"*) when reading. I'm glad you succeeded in getting this chapter in. It is advanced but without it Access would miss an arm. And MS keeps it as a secret - without the postings and examples from Shamil and you, I wonder if I would ever have noticed this topic. /gustav *) Uppercase comments. PS: Notice the printer friendly version: http://accessvbsqladvisor.com/Articles.nsf/dp/A6CBCC9F0ED68B2E88256DD4007C2FDD > LOL. > Thanks for the plug Gustav. That would be my chapter, the only one in the > book that was brand new. Had to do a little pushing to get it in there, > they thought it too "advanced" for a beginning basic book. > John W. Colby > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, November 19, 2003 6:56 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Primer on WithEvents and RaiseEvent > Hi all > Just noted this book chapter counting several well known listmembers > among the numerous authors: > http://accessvbsqladvisor.com/doc/13276 > Beginning Access 2002 VBA: WithEvents and RaiseEvent > One of the best-kept secrets in Microsoft Access, WithEvents lets you > handle an object's events inside classes other than the form classes. > This book chapter explains what it can do for you. > /gustav From John.Clark at niagaracounty.com Wed Nov 19 07:31:20 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 19 Nov 2003 08:31:20 -0500 Subject: [AccessD] Excel Question Message-ID: I don't think I saw a reply to this question, so I'll pass this on. I don't know exactly what you are trying to accomplish, but I used the following code to test column A for Odd or Even. If it is blank it returns "BLANK", but you could always have it do nothing (""). =IF(ISBLANK(A3),"BLANK",IF(MOD(A3,2)=0,"EVEN","ODD")) John W Clark >>> pcs at azizaz.com 11/18/03 12:23AM >>> Hi, anyone with a quick answer to this one: Excel appears to treat blank cell as zero I've created a function that tests the value in a cell (say A1) using Select Case and delivers a value in another cell (say B1) depending on value in cell. The function tests on values 0,1,2,3,4,5,6,7,8,9 and responds with a message if any other value is entered. So far so good! Now, the annoying part is that a blank value - null - is treated as ZERO by the function. How do I turn this off - so that a the value of a blank cell is treated as null ??? Regards Borge, _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 19 07:38:53 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 08:38:53 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <001201c3ae9d$725a39c0$9111758f@aine> Message-ID: Sorry Martin, I didn't realize. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, November 19, 2003 8:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent Mine where brand new as well. Not as good but new LOL Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 12:46 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > LOL. > > Thanks for the plug Gustav. That would be my chapter, the only one in the > book that was brand new. Had to do a little pushing to get it in there, > they thought it too "advanced" for a beginning basic book. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, November 19, 2003 6:56 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > Hi all > > Just noted this book chapter counting several well known listmembers > among the numerous authors: > > http://accessvbsqladvisor.com/doc/13276 > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > handle an object's events inside classes other than the form classes. > This book chapter explains what it can do for you. > > /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 andy at minstersystems.co.uk Wed Nov 19 06:40:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 19 Nov 2003 13:40:25 +0100 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <20031119134021.89D14256FCE@smithers.nildram.co.uk> John, you must have pushed too hard. Wrox have left you off the author's list :-( http://www.wrox.com/books/0764544020.shtml Sue 'em, I say. Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Date: 19/11/03 17:50 LOL. Thanks for the plug Gustav. That would be my chapter, the only one in the book that was brand new. Had to do a little pushing to get it in there, they thought it too "advanced" for a beginning basic book. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 6:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav ________________________________________________ Message sent using UebiMiau 2.7.2 From mwp.reid at qub.ac.uk Wed Nov 19 07:43:30 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 13:43:30 -0000 Subject: [AccessD] Primer on WithEvents and RaiseEvent References: Message-ID: <001d01c3aea3$1e6a2180$9111758f@aine> only kidding John. As I said to you before, the stuff you put in is much better that anything in the previous versions. Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 1:38 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Sorry Martin, I didn't realize. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, November 19, 2003 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > Mine where brand new as well. Not as good but new LOL > > Martin > > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 12:46 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > LOL. > > > > Thanks for the plug Gustav. That would be my chapter, the only one in the > > book that was brand new. Had to do a little pushing to get it in there, > > they thought it too "advanced" for a beginning basic book. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Wednesday, November 19, 2003 6:56 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Hi all > > > > Just noted this book chapter counting several well known listmembers > > among the numerous authors: > > > > http://accessvbsqladvisor.com/doc/13276 > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > handle an object's events inside classes other than the form classes. > > This book chapter explains what it can do for you. > > > > /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 DElam at jenkens.com Wed Nov 19 07:41:05 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 19 Nov 2003 07:41:05 -0600 Subject: [AccessD] RE: Dynamic Sorting Report Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0106B788@natexch.jenkens.com> Many hours since I sent the original, so I am re-sending. Debbie -----Original Message----- From: Elam, Debbie Sent: Tuesday, November 18, 2003 3:33 PM To: 'Access Developers discussion and problem solving' Subject: Dynamic Sorting Report I have a report I originally wrote in Access 97 that I have upgraded to XP. This report sorts dynamically based on the values in a form. This works as advertised in 97, but has one quirk in XP. If I try to sort by ActionDueDate first then there is no discernable order to the report. Any other sort works fine for the first sort. This is the only date in the sort by fields. If both the first and second sort are the ActionDueDate, then it behaves as expected. Some additional info: If the first sort is Attorney, then the report is grouped and each attorney is on a new page. If it is different then the breaks are turned off, but presumably in some ways it is still a group though there is no visual indication of this in the report. Out of curiosity I left the breaks on and there are places where new pages are started. The breaks are in the order of the month and first digit of the day. This makes me wonder if this date is being treated as a string for some reason. The sorting breaks down after that first digit of the day though. 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. From markamatte at hotmail.com Wed Nov 19 08:58:54 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 19 Nov 2003 14:58:54 +0000 Subject: [AccessD] More subforms on the main form Message-ID: Ervin, Could you use tabs...1 subform per tab? Hope it helps... Mark >From: "Ervin Brindza" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] More subforms on the main form >Date: Tue, 18 Nov 2003 14:16:57 +0100 > > >Hi, >I need an advice(Access97): on the main form I have 2 subforms, and 3 >other(separated by meaning) subforms. The problem is that the users have >only 17" screen and I have to shrink the subforms too much. Can you provide >any reasonable solution? Like hiding one "thread" of subforms or open one >"thread of subforms" on some pop up window or something else? >Many TIA, > Ervin >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Is there a gadget-lover on your gift list? MSN Shopping has lined up some good bets! http://shopping.msn.com From KIsmert at TexasSystems.com Wed Nov 19 10:10:05 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 19 Nov 2003 10:10:05 -0600 Subject: [AccessD] More subforms on the main form In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222759A@main2.marlow.com> Message-ID: <003801c3aeb7$990bee50$2a3ca8c0@TEXASSYSTEMS.COM> If the data is heirarchical in nature, subdatasheets are also a possibility. Like a treeview control, they allow users to drill down to the level of detail they require. -Ken -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, November 18, 2003 2:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] More subforms on the main form Tab control? -----Original Message----- From: Ervin Brindza [mailto:viner at eunet.yu] Sent: Tuesday, November 18, 2003 7:17 AM To: AccessD at databaseadvisors.com Subject: [AccessD] More subforms on the main form Hi, I need an advice(Access97): on the main form I have 2 subforms, and 3 other(separated by meaning) subforms. The problem is that the users have only 17" screen and I have to shrink the subforms too much. Can you provide any reasonable solution? Like hiding one "thread" of subforms or open one "thread of subforms" on some pop up window or something else? Many TIA, Ervin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Nov 19 10:31:05 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 19 Nov 2003 11:31:05 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <806536912C472E4A9D6515DF2E57261E2395EF@mercury.tnco-inc.com> Just wondering...is this article the entire chapter or is there more in the book on this topic? Thanks! JR -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent only kidding John. As I said to you before, the stuff you put in is much better that anything in the previous versions. Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 1:38 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Sorry Martin, I didn't realize. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, November 19, 2003 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > Mine where brand new as well. Not as good but new LOL > > Martin > > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 12:46 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > LOL. > > > > Thanks for the plug Gustav. That would be my chapter, the only one in the > > book that was brand new. Had to do a little pushing to get it in there, > > they thought it too "advanced" for a beginning basic book. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Wednesday, November 19, 2003 6:56 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Hi all > > > > Just noted this book chapter counting several well known listmembers > > among the numerous authors: > > > > http://accessvbsqladvisor.com/doc/13276 > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > handle an object's events inside classes other than the form classes. > > This book chapter explains what it can do for you. > > > > /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 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 cfoust at infostatsystems.com Wed Nov 19 10:45:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 08:45:06 -0800 Subject: [AccessD] MS InfoPath and OneNote Message-ID: Am I the only one who thinks Access is history? Heaven knows what they intend to use to *analyze* that data they collect with InfoPath. I certainly won't volunteer to do it because I had too much experience trying to do something similar with data collected (similarly except for the XML) in FileMaker! Yuck!! Relational design is apparently too hard for people to learn so we're going to use XML instead. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, November 19, 2003 3:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS InfoPath and OneNote Hi All Located this short article by Bill Ramos (Lead Program Manager, Microsoft Office Access 2003) on InfoPath which addresses people like us: http://accessvbsqladvisor.com/doc/13108 and about the toolkit: http://msadvisor.com/doc/13297 /gustav > Hi all > Anyone familiar with these new products and if they somehow relate to > Access? > I've tried to browse some brochures but they are so hyped that it is > just plain impossible to figure out wether these apps are fancy toys > which will bring any machine to a crawl or if they could be useful > tools in cooperation with Access and database applications. > And how are the programmed if you wish to create custom build apps? > I've located this link to a SDK related to InfoPath: > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa > -4fe8-9238-d702f1bfbab4&displaylang=en > but it looks like you need to take a deep breath and have a weekend > set aside. > Also, how much are they relying on specific MS server software like > SharePoint or Exchange or pure MS environments or Office 2003 only? If > so, the usefulness is very limited as our clients use a variety of > systems. > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Nov 19 11:03:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 17:03:06 -0000 Subject: [AccessD] MS InfoPath and OneNote References: Message-ID: <002b01c3aebf$006a5120$9111758f@aine> Yeah XML but inside a relational database. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 4:45 PM Subject: RE: [AccessD] MS InfoPath and OneNote > Am I the only one who thinks Access is history? Heaven knows what they > intend to use to *analyze* that data they collect with InfoPath. I > certainly won't volunteer to do it because I had too much experience > trying to do something similar with data collected (similarly except for > the XML) in FileMaker! Yuck!! Relational design is apparently too hard > for people to learn so we're going to use XML instead. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 3:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Hi All > > Located this short article by Bill Ramos (Lead Program Manager, > Microsoft Office Access 2003) on InfoPath which addresses people like > us: > > http://accessvbsqladvisor.com/doc/13108 > > and about the toolkit: > > http://msadvisor.com/doc/13297 > > /gustav > > > > Hi all > > > Anyone familiar with these new products and if they somehow relate to > > Access? > > > I've tried to browse some brochures but they are so hyped that it is > > just plain impossible to figure out wether these apps are fancy toys > > which will bring any machine to a crawl or if they could be useful > > tools in cooperation with Access and database applications. > > > And how are the programmed if you wish to create custom build apps? > > I've located this link to a SDK related to InfoPath: > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > but it looks like you need to take a deep breath and have a weekend > > set aside. > > > Also, how much are they relying on specific MS server software like > > SharePoint or Exchange or pure MS environments or Office 2003 only? If > > > so, the usefulness is very limited as our clients use a variety of > > systems. > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Wed Nov 19 11:12:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 18:12:06 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: References: Message-ID: <033779752.20031119181206@cactus.dk> Hi Charlotte Though without having touched it yet, I see xforms and InfoPath as tools for more or less platform independent data entry and lookup. The important thing is that you should be able to build in data validation it a high level without having to do the usual roundtrips to a server or rely on specail applets, ActiveX modules etc. But I have the same wonderings as you: where do these generated xml files go? Somewhere they have to be munched and entered into some kind of central storage (SQL engine). For any application with high traffic this calls for a sort of message queue and then all the "quick and easy" is gone. /gustav > Am I the only one who thinks Access is history? Heaven knows what they > intend to use to *analyze* that data they collect with InfoPath. I > certainly won't volunteer to do it because I had too much experience > trying to do something similar with data collected (similarly except for > the XML) in FileMaker! Yuck!! Relational design is apparently too hard > for people to learn so we're going to use XML instead. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 3:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > Hi All > Located this short article by Bill Ramos (Lead Program Manager, > Microsoft Office Access 2003) on InfoPath which addresses people like > us: > http://accessvbsqladvisor.com/doc/13108 > and about the toolkit: > http://msadvisor.com/doc/13297 > /gustav >> Hi all >> Anyone familiar with these new products and if they somehow relate to >> Access? >> I've tried to browse some brochures but they are so hyped that it is >> just plain impossible to figure out wether these apps are fancy toys >> which will bring any machine to a crawl or if they could be useful >> tools in cooperation with Access and database applications. >> And how are the programmed if you wish to create custom build apps? >> I've located this link to a SDK related to InfoPath: >> http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa >> -4fe8-9238-d702f1bfbab4&displaylang=en >> but it looks like you need to take a deep breath and have a weekend >> set aside. >> Also, how much are they relying on specific MS server software like >> SharePoint or Exchange or pure MS environments or Office 2003 only? If >> so, the usefulness is very limited as our clients use a variety of >> systems. >> /gustav From cfoust at infostatsystems.com Wed Nov 19 11:30:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 09:30:22 -0800 Subject: [AccessD] MS InfoPath and OneNote Message-ID: I have nothing at all against XML (except the lack of security) and think it's a great tool, but there is nothing inherently relational about XML. So are they introducing an entirely new object-based data model, or what? "Design a form and don't worry about the data structure" ... Until later? I think of the nightmare designs I've seen in Excel and wonder just how far they intend to take this. Just because ADO and XML can give you very flexible access to data doesn't mean the data can be shaped any ol' which way and still make sense! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS InfoPath and OneNote Yeah XML but inside a relational database. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 4:45 PM Subject: RE: [AccessD] MS InfoPath and OneNote > Am I the only one who thinks Access is history? Heaven knows what > they intend to use to *analyze* that data they collect with InfoPath. > I certainly won't volunteer to do it because I had too much experience > trying to do something similar with data collected (similarly except > for the XML) in FileMaker! Yuck!! Relational design is apparently > too hard for people to learn so we're going to use XML instead. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 3:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Hi All > > Located this short article by Bill Ramos (Lead Program Manager, > Microsoft Office Access 2003) on InfoPath which addresses people like > us: > > http://accessvbsqladvisor.com/doc/13108 > > and about the toolkit: > > http://msadvisor.com/doc/13297 > > /gustav > > > > Hi all > > > Anyone familiar with these new products and if they somehow relate > > to Access? > > > I've tried to browse some brochures but they are so hyped that it is > > just plain impossible to figure out wether these apps are fancy toys > > which will bring any machine to a crawl or if they could be useful > > tools in cooperation with Access and database applications. > > > And how are the programmed if you wish to create custom build apps? > > I've located this link to a SDK related to InfoPath: > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93 > > aa > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > but it looks like you need to take a deep breath and have a weekend > > set aside. > > > Also, how much are they relying on specific MS server software like > > SharePoint or Exchange or pure MS environments or Office 2003 only? > > If > > > so, the usefulness is very limited as our clients use a variety of > > systems. > > > /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 MarkBoyd at McBeeAssociates.com Wed Nov 19 11:31:32 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 19 Nov 2003 12:31:32 -0500 Subject: [AccessD] ODBC Driver Automation Message-ID: Does anyone know of a way to automate the process of setting up an ODBC driver to a SQL Server? This would be extremely helpful. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. From mwp.reid at qub.ac.uk Wed Nov 19 11:38:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 17:38:06 -0000 Subject: [AccessD] MS InfoPath and OneNote References: Message-ID: <000b01c3aec3$e3e160c0$9111758f@aine> True Here a code from someone at Microsoft when I asked about this stuff "We have bet the farm on XML" To be honest I hardly touched Infopath and OneNote during the entire beta process. I have noticed that all big RDBMS are now including some form of XML functionality (Oracle and DB2) and the new version of SQL Server has a lot of features. Lot of arguments on database debunkings re this sort of stuff and the move away from simple relational data tp XML. Video etc all stored within the database. Just out of interest I am goign to copy this thread to Bill Ramos see if he is willing to make a comment for the lsit on this. Is that OK with you both? Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 5:30 PM Subject: RE: [AccessD] MS InfoPath and OneNote > I have nothing at all against XML (except the lack of security) and > think it's a great tool, but there is nothing inherently relational > about XML. So are they introducing an entirely new object-based data > model, or what? "Design a form and don't worry about the data > structure" ... Until later? I think of the nightmare designs I've seen > in Excel and wonder just how far they intend to take this. Just because > ADO and XML can give you very flexible access to data doesn't mean the > data can be shaped any ol' which way and still make sense! > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 9:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Yeah XML but inside a relational database. > > Martin > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 4:45 PM > Subject: RE: [AccessD] MS InfoPath and OneNote > > > > Am I the only one who thinks Access is history? Heaven knows what > > they intend to use to *analyze* that data they collect with InfoPath. > > > I certainly won't volunteer to do it because I had too much experience > > > trying to do something similar with data collected (similarly except > > for the XML) in FileMaker! Yuck!! Relational design is apparently > > too hard for people to learn so we're going to use XML instead. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Wednesday, November 19, 2003 3:51 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MS InfoPath and OneNote > > > > > > Hi All > > > > Located this short article by Bill Ramos (Lead Program Manager, > > Microsoft Office Access 2003) on InfoPath which addresses people like > > us: > > > > http://accessvbsqladvisor.com/doc/13108 > > > > and about the toolkit: > > > > http://msadvisor.com/doc/13297 > > > > /gustav > > > > > > > Hi all > > > > > Anyone familiar with these new products and if they somehow relate > > > to Access? > > > > > I've tried to browse some brochures but they are so hyped that it is > > > > just plain impossible to figure out wether these apps are fancy toys > > > > which will bring any machine to a crawl or if they could be useful > > > tools in cooperation with Access and database applications. > > > > > And how are the programmed if you wish to create custom build apps? > > > I've located this link to a SDK related to InfoPath: > > > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93 > > > aa > > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > > > but it looks like you need to take a deep breath and have a weekend > > > set aside. > > > > > Also, how much are they relying on specific MS server software like > > > SharePoint or Exchange or pure MS environments or Office 2003 only? > > > If > > > > > so, the usefulness is very limited as our clients use a variety of > > > systems. > > > > > /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 gustav at cactus.dk Wed Nov 19 11:40:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 18:40:02 +0100 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <19535455983.20031119184002@cactus.dk> Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /gustav From gustav at cactus.dk Wed Nov 19 11:42:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 18:42:59 +0100 Subject: [AccessD] MS InfoPath and OneNote In-Reply-To: <000b01c3aec3$e3e160c0$9111758f@aine> References: <000b01c3aec3$e3e160c0$9111758f@aine> Message-ID: <8735633207.20031119184259@cactus.dk> Hi Martin Yes. No problem. /gustav > Just out of interest I am goign to copy this thread to Bill Ramos see if he > is willing to make a comment for the lsit on this. Is that OK with you both? From mwp.reid at qub.ac.uk Wed Nov 19 11:46:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 19 Nov 2003 17:46:54 -0000 Subject: [AccessD] Primer on WithEvents and RaiseEvent References: <806536912C472E4A9D6515DF2E57261E2395EF@mercury.tnco-inc.com> Message-ID: <001f01c3aec5$1f1adb70$9111758f@aine> Who needs the book when you have JC on the list (<: Martin ----- Original Message ----- From: "Joe Rojas" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 19, 2003 4:31 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Just wondering...is this article the entire chapter or is there more in the > book on this topic? > > Thanks! > JR > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 8:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > only kidding John. > > As I said to you before, the stuff you put in is much better that anything > in the previous versions. > > Martin > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 1:38 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > Sorry Martin, I didn't realize. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Wednesday, November 19, 2003 8:03 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Mine where brand new as well. Not as good but new LOL > > > > Martin > > > > > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 19, 2003 12:46 PM > > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > LOL. > > > > > > Thanks for the plug Gustav. That would be my chapter, the only one in > the > > > book that was brand new. Had to do a little pushing to get it in there, > > > they thought it too "advanced" for a beginning basic book. > > > > > > John W. Colby > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > > Sent: Wednesday, November 19, 2003 6:56 AM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > > > Hi all > > > > > > Just noted this book chapter counting several well known listmembers > > > among the numerous authors: > > > > > > http://accessvbsqladvisor.com/doc/13276 > > > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > > handle an object's events inside classes other than the form classes. > > > This book chapter explains what it can do for you. > > > > > > /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 > > > > 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 Wed Nov 19 12:01:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 10:01:18 -0800 Subject: [AccessD] MS InfoPath and OneNote Message-ID: It's certainly OK with me. It would be nice to know whether I need to get into a new line of work! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS InfoPath and OneNote True Here a code from someone at Microsoft when I asked about this stuff "We have bet the farm on XML" To be honest I hardly touched Infopath and OneNote during the entire beta process. I have noticed that all big RDBMS are now including some form of XML functionality (Oracle and DB2) and the new version of SQL Server has a lot of features. Lot of arguments on database debunkings re this sort of stuff and the move away from simple relational data tp XML. Video etc all stored within the database. Just out of interest I am goign to copy this thread to Bill Ramos see if he is willing to make a comment for the lsit on this. Is that OK with you both? Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 5:30 PM Subject: RE: [AccessD] MS InfoPath and OneNote > I have nothing at all against XML (except the lack of security) and > think it's a great tool, but there is nothing inherently relational > about XML. So are they introducing an entirely new object-based data > model, or what? "Design a form and don't worry about the data > structure" ... Until later? I think of the nightmare designs I've > seen in Excel and wonder just how far they intend to take this. Just > because ADO and XML can give you very flexible access to data doesn't > mean the data can be shaped any ol' which way and still make sense! > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 9:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS InfoPath and OneNote > > > Yeah XML but inside a relational database. > > Martin > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 4:45 PM > Subject: RE: [AccessD] MS InfoPath and OneNote > > > > Am I the only one who thinks Access is history? Heaven knows what > > they intend to use to *analyze* that data they collect with > > InfoPath. > > > I certainly won't volunteer to do it because I had too much > > experience > > > trying to do something similar with data collected (similarly except > > for the XML) in FileMaker! Yuck!! Relational design is apparently > > too hard for people to learn so we're going to use XML instead. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Wednesday, November 19, 2003 3:51 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MS InfoPath and OneNote > > > > > > Hi All > > > > Located this short article by Bill Ramos (Lead Program Manager, > > Microsoft Office Access 2003) on InfoPath which addresses people > > like > > us: > > > > http://accessvbsqladvisor.com/doc/13108 > > > > and about the toolkit: > > > > http://msadvisor.com/doc/13297 > > > > /gustav > > > > > > > Hi all > > > > > Anyone familiar with these new products and if they somehow relate > > > to Access? > > > > > I've tried to browse some brochures but they are so hyped that it > > > is > > > > just plain impossible to figure out wether these apps are fancy > > > toys > > > > which will bring any machine to a crawl or if they could be useful > > > tools in cooperation with Access and database applications. > > > > > And how are the programmed if you wish to create custom build > > > apps? I've located this link to a SDK related to InfoPath: > > > > > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616- > > > 93 > > > aa > > > -4fe8-9238-d702f1bfbab4&displaylang=en > > > > > but it looks like you need to take a deep breath and have a > > > weekend set aside. > > > > > Also, how much are they relying on specific MS server software > > > like SharePoint or Exchange or pure MS environments or Office 2003 > > > only? If > > > > > so, the usefulness is very limited as our clients use a variety of > > > systems. > > > > > /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 From jeffrey.demulling at usbank.com Wed Nov 19 12:11:28 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 19 Nov 2003 12:11:28 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: I thought it would be either a or d. But when I ran it I got 12/29/1899 11:00 PM. I used the following: Function test() MsgBox Format(DateAdd("h", -3, #2:00:00 AM#), "mm\/dd\/yyyy hh\:nn AM/PM") End Function "Gustav Brock" To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: [AccessD] Pop-quiz: DateAdd() and negative time values 11/19/2003 11:40 AM Please respond to "Access Developers discussion and problem solving" Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.Carter at telus.com Wed Nov 19 12:30:23 2003 From: Elizabeth.Carter at telus.com (Elizabeth Carter) Date: Wed, 19 Nov 2003 10:30:23 -0800 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: The answer you got is the one I would have expected off the top of my head... but it wasn't an option in the answers. Liz -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: November 19, 2003 10:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pop-quiz: DateAdd() and negative time values I thought it would be either a or d. But when I ran it I got 12/29/1899 11:00 PM. I used the following: Function test() MsgBox Format(DateAdd("h", -3, #2:00:00 AM#), "mm\/dd\/yyyy hh\:nn AM/PM") End Function "Gustav Brock" To: "Access Developers discussion and problem solving" Sent by: accessd-bounces at databasead cc: visors.com Subject: [AccessD] Pop-quiz: DateAdd() and negative time values 11/19/2003 11:40 AM Please respond to "Access Developers discussion and problem solving" Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /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 starkey at wanadoo.nl Wed Nov 19 12:36:19 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Wed, 19 Nov 2003 19:36:19 +0100 Subject: [AccessD] ODBC Driver Automation In-Reply-To: Message-ID: Mark, setting up the driver or the ODBC (user/system/file) dsn? The driver has to be installed on the system, no way to automate this but with execution of the driver installation file. As for setting up an ODBC connection to a database you could look into this hint: dbengine.RegisterDatabase I also found this code on the web: http://www.utteraccess.com/forums/access/access173548.html Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 november 2003 18:32 To: AccessD at databaseadvisors.com Subject: [AccessD] ODBC Driver Automation Does anyone know of a way to automate the process of setting up an ODBC driver to a SQL Server? This would be extremely helpful. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 18-11-2003 Tested on: 19-11-2003 19:36:17 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From MarkBoyd at McBeeAssociates.com Wed Nov 19 12:39:05 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 19 Nov 2003 13:39:05 -0500 Subject: [AccessD] ODBC Driver Automation Message-ID: Thanks Eric, I think I can use 'DBEngine.RegisterDatabase' to do what I need. Mark -----Original Message----- From: StaRKeY [mailto:starkey at wanadoo.nl] Sent: Wednesday, November 19, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ODBC Driver Automation Mark, setting up the driver or the ODBC (user/system/file) dsn? The driver has to be installed on the system, no way to automate this but with execution of the driver installation file. As for setting up an ODBC connection to a database you could look into this hint: dbengine.RegisterDatabase I also found this code on the web: http://www.utteraccess.com/forums/access/access173548.html Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 november 2003 18:32 To: AccessD at databaseadvisors.com Subject: [AccessD] ODBC Driver Automation Does anyone know of a way to automate the process of setting up an ODBC driver to a SQL Server? This would be extremely helpful. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 18-11-2003 Tested on: 19-11-2003 19:36:17 avast! is copyright (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 John.Clark at niagaracounty.com Wed Nov 19 12:39:19 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 19 Nov 2003 13:39:19 -0500 Subject: [AccessD] Auto install fonts Message-ID: Thanks for the tip Gustav! Sorry for the delayed response...I've been off quite a bit lately and, when I have been here, there has been many diversions...today it is a 'toasted' server. I not only downloaded Inno Setup, but I also downloaded IS Tool, which is an interface designed for Inno, but created by another developer. It seems like it is exactly what I need, but it also looks like it is going to take some learning. Where did you get the that you sent me? I would like to investigate it more. I actually have it working except for the font...I don't know where to put it. Thanks again. I believe this will save my department hours of work, in the long run. John W Clark >>> gustav at cactus.dk 11/14/03 11:04AM >>> Hi John You can use the free Inno Setup for this: http://www.jrsoftware.org/isinfo.php FontInstall Description: Tells Setup the file is a font that needs to be installed. The value of this parameter is the name of the font as stored in the registry or WIN.INI. This must be exactly the same name as you see when you double-click the font file in Explorer. Note that Setup will automatically append " (TrueType)" to the end of the name. If the file is not a TrueType font, you must specify the flag fontisnttruetype in the Flags parameter. It's recommended that you use the flags onlyifdoesntexist and uninsneveruninstall when installing fonts to the {fonts} directory. To successfully install a font on Windows 2000/XP, the user must be a member of the Power Users or Administrators groups. On Windows NT 4.0 and earlier, anyone can install a font. Example: Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall /gustav > I use basically the same 'look' for all (or most) of the programs that I > write for my employer. This 'look' includes two fonts that are not > standard (airfoil.ttf and motley.ttf). When I install these programs to > a new computer, it is necessary for me to copy these ttf files and then > install them via 'control panel' and 'fonts'. > This was all fine for a while, but now the number of programs is > growing, as is the amount of users and the physical area that they are > spread over. Now I cannot always be the one who does the actual > installation, so I have been trying to create an automated process for > the install of these programs. I currently use a batch file that creates > a directory in 'Program Files' on their root drive, copies the files > into this directory, and copies a shortcut onto their desktop. The > remaining problem is that the fonts need to be installed, and I don't > know how to get around having them install the font--I don't want them > to touch anything they don't need to touch. > Is there a way to do this? I have never used any of the 'installer' > programs that I have read about, on this list--is this what I need to be > looking at? And, if so, which ones? I think I have noticed 'Install > Shield' (?) the most. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 19 13:15:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Nov 2003 20:15:58 +0100 Subject: [AccessD] Auto install fonts In-Reply-To: References: Message-ID: <2541211889.20031119201558@cactus.dk> Hi John The snip is from the help file. If you study this - it's more like a reference - while looking at the included samples (*.iss), you should be off. As for "where to put it"? I guess you mean the source directory? Either you can specify the full path of the font file: Source: "S:\SETUP\fonts\TrueType\OZHANDIN.TTF"; .. or insert a parameter under the [Setup] section: SourceDir=c:\files /gustav > Thanks for the tip Gustav! Sorry for the delayed response...I've been > off quite a bit lately and, when I have been here, there has been many > diversions...today it is a 'toasted' server. > I not only downloaded Inno Setup, but I also downloaded IS Tool, which > is an interface designed for Inno, but created by another developer. It > seems like it is exactly what I need, but it also looks like it is going > to take some learning. > Where did you get the that you sent me? I would like to > investigate it more. I actually have it working except for the font...I > don't know where to put it. > Thanks again. I believe this will save my department hours of work, in > the long run. > John W Clark >>>> gustav at cactus.dk 11/14/03 11:04AM >>> > Hi John > You can use the free Inno Setup for this: > http://www.jrsoftware.org/isinfo.php > > FontInstall > Description: > Tells Setup the file is a font that needs to be installed. The value > of this parameter is the name of the font as stored in the registry or > WIN.INI. This must be exactly the same name as you see when you > double-click the font file in Explorer. Note that Setup will > automatically append " (TrueType)" to the end of the name. > If the file is not a TrueType font, you must specify the flag > fontisnttruetype in the Flags parameter. > It's recommended that you use the flags onlyifdoesntexist and > uninsneveruninstall when installing fonts to the {fonts} directory. > To successfully install a font on Windows 2000/XP, the user must be a > member of the Power Users or Administrators groups. On Windows NT 4.0 > and earlier, anyone can install a font. > Example: > Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft > BT"; Flags: onlyifdoesntexist uninsneveruninstall > > /gustav >> I use basically the same 'look' for all (or most) of the programs > that I >> write for my employer. This 'look' includes two fonts that are not >> standard (airfoil.ttf and motley.ttf). When I install these programs > to >> a new computer, it is necessary for me to copy these ttf files and > then >> install them via 'control panel' and 'fonts'. >> This was all fine for a while, but now the number of programs is >> growing, as is the amount of users and the physical area that they > are >> spread over. Now I cannot always be the one who does the actual >> installation, so I have been trying to create an automated process > for >> the install of these programs. I currently use a batch file that > creates >> a directory in 'Program Files' on their root drive, copies the files >> into this directory, and copies a shortcut onto their desktop. The >> remaining problem is that the fonts need to be installed, and I > don't >> know how to get around having them install the font--I don't want > them >> to touch anything they don't need to touch. >> Is there a way to do this? I have never used any of the 'installer' >> programs that I have read about, on this list--is this what I need to > be >> looking at? And, if so, which ones? I think I have noticed 'Install >> Shield' (?) the most. From cfoust at infostatsystems.com Wed Nov 19 13:17:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 11:17:47 -0800 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: Why would it return any of those values, Gustav? Since the date is implied, removing 3 hours from it is going to kick it into the previous day. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, November 19, 2003 9:40 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Boring day. So here's a quick quiz to wake you up. The time value of #02:00 AM# equals 12/30/1899 02:00 AM What does - off your head - this expression return: ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") a) 12/30/1898 11:00 PM b) 12/30/1899 01:00 AM c) 12/30/1899 05:00 AM d) 12/30/1899 05:00 PM e) 12/30/1899 11:00 PM The tricky part is DateAdd(). Format(), it is only for ensuring a consistent format of the return value. Morale: Be careful with negative time values. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Wed Nov 19 13:58:39 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 19 Nov 2003 13:58:39 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031119135839.659822691.serbach@new.rr.com> Dear Group, I'm helping another Access developer in my area upgrade an app to Access XP Runtime that will run in a Terminal Server environment. I'm supposed to help with the installation and testing of this configuration, too. One of the things I'm not clear on is this: does Runtime have to be installed once for every user on the Terminal Server? It seems to me that TS is based on Citrix, and as far as I know, a Citrix server parcelled out disk and RAM to each user; and each user had a copy of Word, Excel, etc., installed on his/her drive. Is this correct or am I way off base? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From ssharkins at bellsouth.net Wed Nov 19 13:54:24 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 19 Nov 2003 14:54:24 -0500 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values References: Message-ID: <007a01c3aed6$f1f140a0$210110ac@SUSANONE> Right -- shouldn't one of your options be 12/29/1899 11:00 PM? Susan H. > Why would it return any of those values, Gustav? Since the date is > implied, removing 3 hours from it is going to kick it into the previous > day. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 9:40 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Pop-quiz: DateAdd() and negative time values > > > Boring day. > So here's a quick quiz to wake you up. > > The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > > What does - off your head - this expression return: > > ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > > a) 12/30/1898 11:00 PM > b) 12/30/1899 01:00 AM > c) 12/30/1899 05:00 AM > d) 12/30/1899 05:00 PM > e) 12/30/1899 11:00 PM > > The tricky part is DateAdd(). Format(), it is only for ensuring a > consistent format of the return value. > > Morale: Be careful with negative time values. > > /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 jcolby at colbyconsulting.com Wed Nov 19 14:19:11 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 15:19:11 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <001f01c3aec5$1f1adb70$9111758f@aine> Message-ID: HEY! My royalty % was so small I never expect to see anything, but with you encouraging them to NOT buy the book... ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, November 19, 2003 12:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent Who needs the book when you have JC on the list (<: Martin ----- Original Message ----- From: "Joe Rojas" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 19, 2003 4:31 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Just wondering...is this article the entire chapter or is there more in the > book on this topic? > > Thanks! > JR > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, November 19, 2003 8:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > only kidding John. > > As I said to you before, the stuff you put in is much better that anything > in the previous versions. > > Martin > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 1:38 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > Sorry Martin, I didn't realize. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Wednesday, November 19, 2003 8:03 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Mine where brand new as well. Not as good but new LOL > > > > Martin > > > > > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 19, 2003 12:46 PM > > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > LOL. > > > > > > Thanks for the plug Gustav. That would be my chapter, the only one in > the > > > book that was brand new. Had to do a little pushing to get it in there, > > > they thought it too "advanced" for a beginning basic book. > > > > > > John W. Colby > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > > Sent: Wednesday, November 19, 2003 6:56 AM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > > > > Hi all > > > > > > Just noted this book chapter counting several well known listmembers > > > among the numerous authors: > > > > > > http://accessvbsqladvisor.com/doc/13276 > > > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > > handle an object's events inside classes other than the form classes. > > > This book chapter explains what it can do for you. > > > > > > /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 > > > > 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 From jcolby at colbyconsulting.com Wed Nov 19 14:24:53 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 15:24:53 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <20031119134021.89D14256FCE@smithers.nildram.co.uk> Message-ID: They also left off Ian Blackburn, and Helmut Watson. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Wednesday, November 19, 2003 7:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent John, you must have pushed too hard. Wrox have left you off the author's list :-( http://www.wrox.com/books/0764544020.shtml Sue 'em, I say. Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Date: 19/11/03 17:50 LOL. Thanks for the plug Gustav. That would be my chapter, the only one in the book that was brand new. Had to do a little pushing to get it in there, they thought it too "advanced" for a beginning basic book. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 6:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav ________________________________________________ Message sent using UebiMiau 2.7.2 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Wed Nov 19 14:39:45 2003 From: askolits at ot.com (John Skolits) Date: Wed, 19 Nov 2003 15:39:45 -0500 Subject: [AccessD] Freezing a datasheet rows like in Excel In-Reply-To: Message-ID: Anyone know a way to allow a user to freeze rows in a datasheet view like you can freeze a frame in Excel? John Skolits From markamatte at hotmail.com Wed Nov 19 14:51:29 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 19 Nov 2003 20:51:29 +0000 Subject: [AccessD] First Record of Subform Message-ID: Hello All, Please forgive the confusing question...but: In A97 I have a subform(SF2) that is refreshed each time a different record is selected in another subform(SF1). Both are continuous forms. When I click a record in SF1...SF2 displays 5 records related to SF1 record...I click on record#5 in SF2....now I select a different record in SF1...and SF2 displays 8 records...but record#5 has focus. How do I refresh a subform and cause it to always go to the first record? Thanks, Mark _________________________________________________________________ Groove on the latest from the hot new rock groups! Get downloads, videos, and more here. http://special.msn.com/entertainment/wiredformusic.armx From cfoust at infostatsystems.com Wed Nov 19 14:55:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 12:55:23 -0800 Subject: [AccessD] First Record of Subform Message-ID: Requery the subform. That always sets the record pointer to the first record. Charlotte Foust -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, November 19, 2003 12:51 PM To: accessd at databaseadvisors.com Subject: [AccessD] First Record of Subform Hello All, Please forgive the confusing question...but: In A97 I have a subform(SF2) that is refreshed each time a different record is selected in another subform(SF1). Both are continuous forms. When I click a record in SF1...SF2 displays 5 records related to SF1 record...I click on record#5 in SF2....now I select a different record in SF1...and SF2 displays 8 records...but record#5 has focus. How do I refresh a subform and cause it to always go to the first record? Thanks, Mark _________________________________________________________________ Groove on the latest from the hot new rock groups! Get downloads, videos, and more here. http://special.msn.com/entertainment/wiredformusic.armx _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Wed Nov 19 15:01:18 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 19 Nov 2003 15:01:18 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: or f) None of the above? it should be 12/29/1899 11:00 pm shouldn't it? Gary Kjos garykjos at hotmail.com >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: [AccessD] Pop-quiz: DateAdd() and negative time values >Date: Wed, 19 Nov 2003 18:40:02 +0100 > >Boring day. >So here's a quick quiz to wake you up. > >The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > >What does - off your head - this expression return: > >? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > >a) 12/30/1898 11:00 PM >b) 12/30/1899 01:00 AM >c) 12/30/1899 05:00 AM >d) 12/30/1899 05:00 PM >e) 12/30/1899 11:00 PM > >The tricky part is DateAdd(). Format(), it is only for ensuring a >consistent format of the return value. > >Morale: Be careful with negative time values. > >/gustav > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Has one of the new viruses infected your computer? Find out with a FREE online computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From DWUTKA at marlow.com Wed Nov 19 15:13:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 19 Nov 2003 15:13:40 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275AC@main2.marlow.com> That's my answer too. Of course, I don't think I have ever used the DateAdd function. I just use plain old math when adding date/time info. Drew -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, November 19, 2003 3:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Pop-quiz: DateAdd() and negative time values or f) None of the above? it should be 12/29/1899 11:00 pm shouldn't it? Gary Kjos garykjos at hotmail.com >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: [AccessD] Pop-quiz: DateAdd() and negative time values >Date: Wed, 19 Nov 2003 18:40:02 +0100 > >Boring day. >So here's a quick quiz to wake you up. > >The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > >What does - off your head - this expression return: > >? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > >a) 12/30/1898 11:00 PM >b) 12/30/1899 01:00 AM >c) 12/30/1899 05:00 AM >d) 12/30/1899 05:00 PM >e) 12/30/1899 11:00 PM > >The tricky part is DateAdd(). Format(), it is only for ensuring a >consistent format of the return value. > >Morale: Be careful with negative time values. > >/gustav > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Has one of the new viruses infected your computer? Find out with a FREE online computer virus scan from McAfee. Take the FreeScan now! 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 greggs at msn.com Wed Nov 19 15:37:33 2003 From: greggs at msn.com (Greggs) Date: Wed, 19 Nov 2003 15:37:33 -0600 Subject: [AccessD] Terminal Server and Access XP In-Reply-To: <20031119135839.659822691.serbach@new.rr.com> Message-ID: I haven't done Access XP Runtime but all the other apps I have done like Office you just go to a DOS window, change user /install, and then install. When you're finished you go back to DOS, change user /execute, exit. The app is available to all users with the single install. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, November 19, 2003 1:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Terminal Server and Access XP Dear Group, I'm helping another Access developer in my area upgrade an app to Access XP Runtime that will run in a Terminal Server environment. I'm supposed to help with the installation and testing of this configuration, too. One of the things I'm not clear on is this: does Runtime have to be installed once for every user on the Terminal Server? It seems to me that TS is based on Citrix, and as far as I know, a Citrix server parcelled out disk and RAM to each user; and each user had a copy of Word, Excel, etc., installed on his/her drive. Is this correct or am I way off base? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 19 16:11:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 17:11:44 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <806536912C472E4A9D6515DF2E57261E2395EF@mercury.tnco-inc.com> Message-ID: Joe, I didn't compare to the book directly but it appears that they published the entire chapter, and that is all there is about withevents in the book. However I also wrote a series of withevent articles for DatabaseAdvisors' Many to Many. Poke through the various newsletters at http://www.databaseadvisors.com/newsletters.htm And more importantly, take one of the simple examples and just do it. It's easy once you try it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, November 19, 2003 11:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Just wondering...is this article the entire chapter or is there more in the book on this topic? Thanks! JR -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, November 19, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent only kidding John. As I said to you before, the stuff you put in is much better that anything in the previous versions. Martin ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 19, 2003 1:38 PM Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > Sorry Martin, I didn't realize. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, November 19, 2003 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Primer on WithEvents and RaiseEvent > > > Mine where brand new as well. Not as good but new LOL > > Martin > > > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 19, 2003 12:46 PM > Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent > > > > LOL. > > > > Thanks for the plug Gustav. That would be my chapter, the only one in the > > book that was brand new. Had to do a little pushing to get it in there, > > they thought it too "advanced" for a beginning basic book. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Wednesday, November 19, 2003 6:56 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Primer on WithEvents and RaiseEvent > > > > > > Hi all > > > > Just noted this book chapter counting several well known listmembers > > among the numerous authors: > > > > http://accessvbsqladvisor.com/doc/13276 > > > > Beginning Access 2002 VBA: WithEvents and RaiseEvent > > > > One of the best-kept secrets in Microsoft Access, WithEvents lets you > > handle an object's events inside classes other than the form classes. > > This book chapter explains what it can do for you. > > > > /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 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 stuart at lexacorp.com.pg Wed Nov 19 16:30:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Nov 2003 08:30:50 +1000 Subject: [AccessD] ODBC Driver Automation In-Reply-To: Message-ID: <3FBC7BBA.32340.11B745@localhost> On 19 Nov 2003 at 12:31, Mark Boyd wrote: > Does anyone know of a way to automate the process of setting up an ODBC > driver to a SQL Server? > Here's the code I use (modify as necessary - watch for word wrap). I don't claim any originality, I can't remember where I found this. Option Compare Database Option Explicit Private Declare Function RegEnumKeyEx Lib "advapi32.dll" _ Alias "RegEnumKeyExA" _ (ByVal hKey As Long, _ ByVal dwIndex As Long, _ ByVal lpName As String, _ lpcbName As Long, _ ByVal lpReserved As Long, _ ByVal lpClass As String, _ lpcbClass As Long, _ ByVal lpftLastWriteTime As String) As Long Private Declare Function RegOpenKeyEx Lib "advapi32.dll" _ Alias "RegOpenKeyExA" _ (ByVal hKey As Long, _ ByVal lpSubKey As String, _ ByVal ulOptions As Long, _ ByVal samDesired As Long, phkResult As Long) As Long Private Declare Function SQLConfigDataSource Lib "odbccp32.dll" _ (ByVal hwndParent As Long, _ ByVal fRequest As Integer, _ ByVal lpszDriver As String, _ ByVal lpszAttributes As String) As Long Private Declare Function RegCloseKey Lib "advapi32.dll" _ (ByVal hKey As Long) As Long Const HKEY_LOCAL_MACHINE = &H80000002 Const ERROR_SUCCESS = 0& Const SYNCHRONIZE = &H100000 Const STANDARD_RIGHTS_READ = &H20000 Const STANDARD_RIGHTS_WRITE = &H20000 Const STANDARD_RIGHTS_EXECUTE = &H20000 Const STANDARD_RIGHTS_REQUIRED = &HF0000 Const STANDARD_RIGHTS_ALL = &H1F0000 Const KEY_QUERY_VALUE = &H1 Const KEY_SET_VALUE = &H2 Const KEY_CREATE_SUB_KEY = &H4 Const KEY_ENUMERATE_SUB_KEYS = &H8 Const KEY_NOTIFY = &H10 Const KEY_CREATE_LINK = &H20 Const KEY_READ = ((STANDARD_RIGHTS_READ Or _ KEY_QUERY_VALUE Or _ KEY_ENUMERATE_SUB_KEYS Or _ KEY_NOTIFY) And _ (Not SYNCHRONIZE)) Const REG_DWORD = 4 Const REG_BINARY = 3 Const REG_SZ = 1 Const ODBC_ADD_SYS_DSN = 4 '*********** Modify next lines as appropriate************** Const DSN_name = "MotuKoitabu" Const Server_name = "192.168.0.1" ' Raw IP address is used to avoid NT _ Domain name resolution probs. Const Database_name = "MotuKoitabu" Const Database_description = "Motu Koitabu Roll" Function Check_SDSN() ' Look for our System Data Source Name. If we find it,then great! ' If not, then let's create one on the fly. Dim lngKeyHandle As Long Dim lngResult As Long Dim lngCurIdx As Long Dim strValue As String Dim classValue As String Dim timeValue As String Dim lngValueLen As Long Dim classlngValueLen As Long Dim lngData As Long Dim lngDataLen As Long Dim strResult As String Dim DSNfound As Long Dim syscmdresult As Long syscmdresult = SysCmd(acSysCmdSetStatus, "Looking for System DSN " & DSN_name & " ...") ' Let's open the registry key that contains all of the ' System Data Source Names. lngResult = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _ "SOFTWARE\ODBC\ODBC.INI", _ 0&, _ KEY_READ, _ lngKeyHandle) If lngResult <> ERROR_SUCCESS Then MsgBox "ERROR: Cannot open the registry key HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI." & vbCrLf & vbCrLf & _ "Please make sure that ODBC and the SQL Server ODBC drivers have been installed." & vbCrLf & _ "Contact call your IT Section for more information." syscmdresult = SysCmd(acSysCmdClearStatus) Check_SDSN = -1 End If ' Now that the key is open, Let's look among all of ' the possible system data source names for the one ' we want. lngCurIdx = 0 DSNfound = False Do lngValueLen = 512 classlngValueLen = 512 strValue = String(lngValueLen, 0) classValue = String(classlngValueLen, 0) timeValue = String(lngValueLen, 0) lngDataLen = 512 lngResult = RegEnumKeyEx(lngKeyHandle, _ lngCurIdx, _ strValue, _ lngValueLen, _ 0&, _ classValue, _ classlngValueLen, _ timeValue) lngCurIdx = lngCurIdx + 1 If lngResult = ERROR_SUCCESS Then ' Is this our System Data Source Name? If strValue = DSN_name Then ' It is! Let's assume everything is good and do nothing. DSNfound = True syscmdresult = SysCmd(acSysCmdClearStatus) End If End If Loop While lngResult = ERROR_SUCCESS And Not DSNfound Call RegCloseKey(lngKeyHandle) If Not DSNfound Then ' Our System Data Source Name doesn't exist, so let's ' try to create it on the fly. syscmdresult = SysCmd(acSysCmdSetStatus, "Creating System DSN " & DSN_name & "...") '*********** Deleted "Trusted_Connection = Yes" if using SQL Security ' not NT Security to control access lngResult = SQLConfigDataSource(0, _ ODBC_ADD_SYS_DSN, _ "SQL Server", _ "DSN=" & DSN_name & Chr(0) & _ "Server=" & Server_name & Chr(0) & _ "Database=" & Database_name & Chr(0) & _ "UseProcForPrepare=Yes" & Chr(0) & _ "Trusted_Connection=Yes" & Chr$(0) & _ "Description=" & Database_description & Chr(0) & Chr(0)) If lngResult = False Then MsgBox "ERROR: Could not create the System DSN " & DSN_name & "." & vbCrLf & vbCrLf & _ "Please make sure that the SQL Server ODBC drivers have been installed." & vbCrLf & _ "Contact IT Section for more information." syscmdresult = SysCmd(acSysCmdClearStatus) Check_SDSN = -1 End If End If syscmdresult = SysCmd(acSysCmdClearStatus) Check_SDSN = 0 End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From sgeller at cce.umn.edu Wed Nov 19 16:31:18 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 19 Nov 2003 16:31:18 -0600 Subject: [AccessD] Page Break and SubReport Message-ID: I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 Lambert.Heenan at AIG.com Wed Nov 19 16:42:54 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 19 Nov 2003 17:42:54 -0500 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7961@xlivmbx12.aig.com> Gustav, Interesting bug you've discovered there, but the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" Here's a little code I just run and the output from it... Sub dateaddtest() Dim n As Integer Dim JustTime As Date Dim TimeAndDate As Date JustTime = #2:00:00 AM# TimeAndDate = #12/31/1899 2:00:00 AM# ' note it you try typing TimeAndDate = #21/30/1899 2:00:00# then Access will ' automatically change it to TimeAndDate - #2:00:00# For n = 1 To 26 Debug.Print n, Format(JustTime, "mm\/dd\/yyyy hh\:nn AM/PM"), _ Format(DateAdd("h", -n, JustTime), "mm\/dd\/yyyy hh\:nn AM/PM"), _ Format(DateAdd("h", n, JustTime), "mm\/dd\/yyyy hh\:nn AM/PM") Next n Debug.Print "====================" For n = 1 To 5 TimeAndDate = DateAdd("d", -1, TimeAndDate) Debug.Print n, Format(TimeAndDate, "mm\/dd\/yyyy hh\:nn AM/PM"), _ Format(DateAdd("h", -3, TimeAndDate), "mm\/dd\/yyyy hh\:nn AM/PM") Next n End Sub dateaddtest 1 12/30/1899 02:00 AM 12/30/1899 01:00 AM 12/30/1899 03:00 AM 2 12/30/1899 02:00 AM 12/30/1899 12:00 AM 12/30/1899 04:00 AM 3 12/30/1899 02:00 AM 12/30/1899 11:00 PM 12/30/1899 05:00 AM 4 12/30/1899 02:00 AM 12/30/1899 10:00 PM 12/30/1899 06:00 AM 5 12/30/1899 02:00 AM 12/30/1899 09:00 PM 12/30/1899 07:00 AM 6 12/30/1899 02:00 AM 12/30/1899 08:00 PM 12/30/1899 08:00 AM 7 12/30/1899 02:00 AM 12/30/1899 07:00 PM 12/30/1899 09:00 AM 8 12/30/1899 02:00 AM 12/30/1899 06:00 PM 12/30/1899 10:00 AM 9 12/30/1899 02:00 AM 12/30/1899 05:00 PM 12/30/1899 11:00 AM 10 12/30/1899 02:00 AM 12/30/1899 04:00 PM 12/30/1899 12:00 PM 11 12/30/1899 02:00 AM 12/30/1899 03:00 PM 12/30/1899 01:00 PM 12 12/30/1899 02:00 AM 12/30/1899 02:00 PM 12/30/1899 02:00 PM 13 12/30/1899 02:00 AM 12/30/1899 01:00 PM 12/30/1899 03:00 PM 14 12/30/1899 02:00 AM 12/30/1899 12:00 PM 12/30/1899 04:00 PM 15 12/30/1899 02:00 AM 12/30/1899 11:00 AM 12/30/1899 05:00 PM 16 12/30/1899 02:00 AM 12/30/1899 10:00 AM 12/30/1899 06:00 PM 17 12/30/1899 02:00 AM 12/30/1899 09:00 AM 12/30/1899 07:00 PM 18 12/30/1899 02:00 AM 12/30/1899 08:00 AM 12/30/1899 08:00 PM 19 12/30/1899 02:00 AM 12/30/1899 07:00 AM 12/30/1899 09:00 PM 20 12/30/1899 02:00 AM 12/30/1899 06:00 AM 12/30/1899 10:00 PM 21 12/30/1899 02:00 AM 12/30/1899 05:00 AM 12/30/1899 11:00 PM 22 12/30/1899 02:00 AM 12/30/1899 04:00 AM 12/31/1899 12:00 AM 23 12/30/1899 02:00 AM 12/30/1899 03:00 AM 12/31/1899 01:00 AM 24 12/30/1899 02:00 AM 12/30/1899 02:00 AM 12/31/1899 02:00 AM 25 12/30/1899 02:00 AM 12/30/1899 01:00 AM 12/31/1899 03:00 AM 26 12/30/1899 02:00 AM 12/30/1899 12:00 AM 12/31/1899 04:00 AM ==================== 1 12/30/1899 02:00 AM 12/30/1899 11:00 PM <== wrong 2 12/29/1899 02:00 AM 12/28/1899 11:00 PM 3 12/28/1899 02:00 AM 12/27/1899 11:00 PM 4 12/27/1899 02:00 AM 12/26/1899 11:00 PM 5 12/26/1899 02:00 AM 12/25/1899 11:00 PM Notice that for the magic date 12/30/1899, no matter how many hours you subtract from a Date/Time item you still wind up with a date of 12/30/1899. On the other hand if you add hours on everything seems to work as expected. Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Wednesday, November 19, 2003 2:18 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values > > Why would it return any of those values, Gustav? Since the date is > implied, removing 3 hours from it is going to kick it into the previous > day. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, November 19, 2003 9:40 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Pop-quiz: DateAdd() and negative time values > > > Boring day. > So here's a quick quiz to wake you up. > > The time value of #02:00 AM# equals > > 12/30/1899 02:00 AM > > What does - off your head - this expression return: > > ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > > a) 12/30/1898 11:00 PM > b) 12/30/1899 01:00 AM > c) 12/30/1899 05:00 AM > d) 12/30/1899 05:00 PM > e) 12/30/1899 11:00 PM > > The tricky part is DateAdd(). Format(), it is only for ensuring a > consistent format of the return value. > > Morale: Be careful with negative time values. > > /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 hsimpson88 at hotmail.com Wed Nov 19 16:43:22 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed, 19 Nov 2003 15:43:22 -0700 Subject: [AccessD] IE 5.5 download Message-ID: IE 5.5 is no longer available from Microsoft as a download yet I have a client in the position of it becoming a minimum system requirement to access a new government registry formerly only accessible with Netscape. Regrettably the client boxes run Win 3.11 and Win 95 and neither OS meets the IE 6 minimum of Win 98. It seems there is a limitless supply of throw away computers and Win 95 licenses that will forever meet the client's needs and taste for Word Perfect 5. The Win 95 machines currently run IE 5.00.2314.1003 and I'm curious whether 5.5 can run on a 95 box and if there is any where a version can be obtained. The registries will cease hosting the version that supports Netscape as of December 1, 2003. By the way, the machines are rock, ok - sandstone, solid, provided I don't run Word, WordPerfect, Netscape and IE concurrently (Netscape tends to crash when all are loaded at once) and although there are obvious memory leaks in the OS (if the primary peer server isn't rebooted every 3 days, resources go below 30% and worse after a Netscape crash, so it is rebooted every morning). The Win 95 machines run an Access 2K FE and the Win 3 machines use Access 2. The fastest machine here runs a 233 AMD chip with 64 megs. I'm almost shocked at how well it all works. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From serbach at new.rr.com Wed Nov 19 16:49:26 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 19 Nov 2003 16:49:26 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031119164926.699964895.serbach@new.rr.com> Greggs, >> I haven't done Access XP Runtime but all the other apps I have done like Office you just go to a DOS window, change user /install, and then install. When you're finished you go back to DOS, change user /execute, exit. << I'm sorry, but I didn't follow that. I know that you have to use a DOS window (God alone knows why) to execute certain NET commands like NET USER SoAndSo /TIME. Are you saying that it's important in Terminal Server, too? Who'd 'a thunk it? Do you mean that you don't login/logout of Windows TS as you do with Windows 2000 or XP? I confess that I know nothing about the operation of Terminal Server. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From KIsmert at TexasSystems.com Wed Nov 19 17:02:38 2003 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 19 Nov 2003 17:02:38 -0600 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7961@xlivmbx12.aig.com> Message-ID: <006901c3aef1$3ad14350$2a3ca8c0@TEXASSYSTEMS.COM> Lambert, Gustav: Hmmm... What version of Access are you using? Lambert's routine gives correct results using Access 2000, SP3. I get 12/29/1899 for the subtractions > 2 hours, and 12/31 for additions > 23. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 19, 2003 4:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values Gustav, Interesting bug you've discovered there, but the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" Here's a little code I just run and the output from it... . . . Notice that for the magic date 12/30/1899, no matter how many hours you subtract from a Date/Time item you still wind up with a date of 12/30/1899. On the other hand if you add hours on everything seems to work as expected. Lambert . . . From cfoust at infostatsystems.com Wed Nov 19 17:46:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 15:46:15 -0800 Subject: [AccessD] Page Break and SubReport Message-ID: Put it in the main report and set the pagebreak to Visible = the subreport's HasData property. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, November 19, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Page Break and SubReport I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 Jdemarco at hshhp.org Wed Nov 19 18:02:56 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 19 Nov 2003 19:02:56 -0500 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8D2@TTNEXCHSRV1.hshhp.com> A97 gives result "e" from Gustav's original post - 12/30/1899 11:00 PM although we all agree it should return 12/29/1899. Jim DeMarco -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Wednesday, November 19, 2003 6:03 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values Lambert, Gustav: Hmmm... What version of Access are you using? Lambert's routine gives correct results using Access 2000, SP3. I get 12/29/1899 for the subtractions > 2 hours, and 12/31 for additions > 23. -Ken -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, November 19, 2003 4:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Pop-quiz: DateAdd() and negative time values Gustav, Interesting bug you've discovered there, but the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" Here's a little code I just run and the output from it... . . . Notice that for the magic date 12/30/1899, no matter how many hours you subtract from a Date/Time item you still wind up with a date of 12/30/1899. On the other hand if you add hours on everything seems to work as expected. Lambert . . . _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From greggs at msn.com Wed Nov 19 19:32:05 2003 From: greggs at msn.com (Greggs) Date: Wed, 19 Nov 2003 19:32:05 -0600 Subject: [AccessD] Terminal Server and Access XP In-Reply-To: <20031119164926.699964895.serbach@new.rr.com> Message-ID: No... Terminal Services login does work just like windows. The DOS commands are just for installing the app. You load the app using the procedure below and then it is available to any Terminal Services user. I should have been a little clearer. 1. Open the DOS window and type... CHANGE USER /INSTALL 2. Install your application as you normally would 3. Go back to your DOS window and type... CHANGE USER /EXECUTE You only have to do this when installing the app. After that everything should work just like it normally would. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, November 19, 2003 4:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Terminal Server and Access XP Greggs, >> I haven't done Access XP Runtime but all the other apps I have done like Office you just go to a DOS window, change user /install, and then install. When you're finished you go back to DOS, change user /execute, exit. << I'm sorry, but I didn't follow that. I know that you have to use a DOS window (God alone knows why) to execute certain NET commands like NET USER SoAndSo /TIME. Are you saying that it's important in Terminal Server, too? Who'd 'a thunk it? Do you mean that you don't login/logout of Windows TS as you do with Windows 2000 or XP? I confess that I know nothing about the operation of Terminal Server. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 19 19:32:02 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Nov 2003 17:32:02 -0800 Subject: [AccessD] IE 5.5 download References: Message-ID: <3FBC1992.5080308@shaw.ca> From the help desk at U Victoria , it says Win95 works with IE5.5SP2 They only have the download installers which no longer work but the help desk directs you to another site that has the downloads from IE 1.0 to IE 5.5 SP2 thru IE 6.0 and there is a SDK as well You may need IE 4 for Win 3.11 not sure Bit of a large download 84 Meg http://browsers.evolt.org/?ie/32bit Henry Simpson wrote: > IE 5.5 is no longer available from Microsoft as a download yet I have > a client in the position of it becoming a minimum system requirement > to access a new government registry formerly only accessible with > Netscape. Regrettably the client boxes run Win 3.11 and Win 95 and > neither OS meets the IE 6 minimum of Win 98. It seems there is a > limitless supply of throw away computers and Win 95 licenses that will > forever meet the client's needs and taste for Word Perfect 5. > > The Win 95 machines currently run IE 5.00.2314.1003 and I'm curious > whether 5.5 can run on a 95 box and if there is any where a version > can be obtained. The registries will cease hosting the version that > supports Netscape as of December 1, 2003. > > By the way, the machines are rock, ok - sandstone, solid, provided I > don't run Word, WordPerfect, Netscape and IE concurrently (Netscape > tends to crash when all are loaded at once) and although there are > obvious memory leaks in the OS (if the primary peer server isn't > rebooted every 3 days, resources go below 30% and worse after a > Netscape crash, so it is rebooted every morning). The Win 95 machines > run an Access 2K FE and the Win 3 machines use Access 2. The fastest > machine here runs a 233 AMD chip with 64 megs. I'm almost shocked at > how well it all works. > > Hen > > -- Marty Connelly Victoria, B.C. Canada From jmhla at earthlink.net Wed Nov 19 19:36:16 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Wed, 19 Nov 2003 17:36:16 -0800 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted Message-ID: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA From cfoust at infostatsystems.com Wed Nov 19 19:44:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Nov 2003 17:44:07 -0800 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: I've got two at work, 97 and 2002 (WinXP). On my personal machine (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 19 19:53:43 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Nov 2003 11:53:43 +1000 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: <3FBCAB47.13588.1E580AB7@localhost> On 19 Nov 2003 at 17:36, Joe Hecht wrote: > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > 2.0, 97 and 2K on one machine. 97 and 2K on several others. I've got a couple of client sites with mixed 97/2000 installations (work stations range from old Compaq P133/32MB machines running W95 up to the latest Dells running W2K). Back ends are 97, front end MDEs are both 97 and 2K. I always have at least one machine with A97 and A2K installed on the site. As the older machines die, more and more machines switch over to the 2K version - hopefully in a couple of years, I'll be able to retire the A97 FEs and upgrade the BEs :-) One my primary dev machine in the office, I have a dual boot system with Office 97 running under 98SE and Office 2K running under W2KPro. It also has Office 4.3 (Access v2.0) on the 98SE partition - I installed it a year or so ago to crack an old protected v2 application so that I could upgrade it to 2K. Took me a while to find the installation set ) -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From DWUTKA at marlow.com Wed Nov 19 20:02:49 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 19 Nov 2003 20:02:49 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275AF@main2.marlow.com> I have Office 97, and Office 2000 developers Edition installed on 3 machines (work machine, home machine, and laptop). When dealing with Access work, almost everything I am getting is 2000. I would say that at least 80% of the access work (I do for contract stuff) is in Access 2000. The rest is 97. Now, at my full time job, it is STRICTLY Access 97, because our entire office is still using Office 97 (with some upgrades for components like Front Page and Outlook). Now, that is strictly dealing with Access only applications. When I am working with web pages, in house is STRICTLY 97. As far as contract stuff, it's split. Some are 97, some are 2000. However, if I am building from scratch, I use 97 as the backend. This includes VB and/or ASP front ends. One note on this, when I build this applications, I use ADO to connect to the Backends. I also use the Microsoft.Jet.OLEDB.4.0 provider, which connects to either 97 or 2000 database sources. I do this for 2 reasons. Back when I started writing VB front ends, the current service pack for VB 6.0 had a quirk in it (either the service pack or the version of MDAC, don't remember which), which caused all sorts of odd behavior when using the provider specifically for Jet 3.51. However, the provider for Jet 4.0 didn't have the issues, and worked the same with Access 97. Secondly, if there is ever a reason to upgrade a backend from 97 to 2000, I don't have to change the FE code, because it doesn't care. Drew -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Nov 19 20:23:10 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed, 19 Nov 2003 21:23:10 -0500 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: I have Access97 and A2K on one machine, and AXP on another. I use Outlook automation to send email and the SP3 for Office2K breaks outlook automation such that it asks for permission for every email sent. SP3 fixed the screwup where XP breaks 2K but I simply can't install it on my dev machine. Thus XP on one, 2K on another. And I am NOT happy to have to do that! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht Sent: Wednesday, November 19, 2003 8:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From caa at highway.com.br Wed Nov 19 20:23:04 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Thu, 20 Nov 2003 00:23:04 -0200 Subject: [AccessD] More subforms on the main form In-Reply-To: <003d01c3add6$5a484c40$0100a8c0@razvoj> References: <003d01c3add6$5a484c40$0100a8c0@razvoj> Message-ID: On Tue, 18 Nov 2003 14:16:57 +0100, Ervin Brindza wrote: > > Hi, > I need an advice(Access97): on the main form I have 2 subforms, and 3 > other(separated by meaning) subforms. The problem is that the users have > only 17" screen and I have to shrink the subforms too much. Can you > provide any reasonable solution? Like hiding one "thread" of subforms or > open one "thread of subforms" on some pop up window or something else? What about using tabs??? -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From demulling at centurytel.net Wed Nov 19 21:23:50 2003 From: demulling at centurytel.net (Demulling Family) Date: Wed, 19 Nov 2003 21:23:50 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> References: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: <3FBC33C6.9030104@centurytel.net> On my home pc I have A97, A2K, and AXP Developer. OS is Win98 At work I have A97 and AXP Developer OS is NT. At work I see the following on user's desktops: A97 A2K A97 and A2k AXP Runtime (This are my latest apps) Joe Hecht wrote: >I have one machine and Access 97, 2000, XP and 2003. > >The OS is win XP. > >How many people have more than one version of Access on one machine. >Which versions? What are most clients still using? > >Thanks > > >Joe Hecht > >Los Angeles CA > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > From jmhla at earthlink.net Wed Nov 19 21:27:47 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Wed, 19 Nov 2003 19:27:47 -0800 Subject: [AccessD] John Colby Does your sysvar work in Access XP? Message-ID: <002801c3af16$485cf9e0$fda8a8c0@delllaptop> Less experienced programming minds would like to know. Thanks Joe Hecht Los Angeles CA From john at winhaven.net Wed Nov 19 21:40:07 2003 From: john at winhaven.net (John Bartow) Date: Wed, 19 Nov 2003 21:40:07 -0600 Subject: [AccessD] More subforms on the main form In-Reply-To: Message-ID: IMO this is a very good suggestion. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Carlos Alberto > Alves > Sent: Wednesday, November 19, 2003 8:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] More subforms on the main form > > > On Tue, 18 Nov 2003 14:16:57 +0100, Ervin Brindza wrote: > > > > > Hi, > > I need an advice(Access97): on the main form I have 2 subforms, and 3 > > other(separated by meaning) subforms. The problem is that the > users have > > only 17" screen and I have to shrink the subforms too much. Can you > > provide any reasonable solution? Like hiding one "thread" of > subforms or > > open one "thread of subforms" on some pop up window or something else? > > What about using tabs??? > > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > ************************************** > _______________________________________________ > 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 Nov 19 22:05:48 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 20 Nov 2003 12:05:48 +0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: Message-ID: <003e01c3af1b$9476b050$5100a8c0@BITSNB02> I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are > you running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every > email sent. > SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you > running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 19 22:11:02 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 20 Nov 2003 12:11:02 +0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? X Posted In-Reply-To: <3FBCAB47.13588.1E580AB7@localhost> Message-ID: <003f01c3af1c$5005d350$5100a8c0@BITSNB02> > -----Original Message----- > One my primary dev machine in the office, I have a dual boot > system with > Office 97 running under 98SE and Office 2K running under > W2KPro. It also > has Office 4.3 (Access v2.0) on the 98SE partition - I installed it a > year or so ago to crack an old protected v2 application so > that I could > upgrade it to 2K. Took me a while to find the installation set ) I remember for one project I was upgrading a BE to 2K from ver2, and was having immense troubles. I ended up digging out Office 4.3 as well, but after messing around with it, discovered if I had used Acc97 as the intermediate I would have had much less pain. Stuart From adtp at touchtelindia.net Wed Nov 19 22:15:37 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 20 Nov 2003 09:45:37 +0530 Subject: [AccessD] Page Break and SubReport References: Message-ID: <009501c3af1d$14b7d450$ceedf73d@winxp> Susan, If the RecordSource for a subreport has no data, the only event that gets fired (for the report acting as SourceObject for the subreport control) is its open event. Thereafter, for other events, the subreport behaves as if it does not exist. It would therefore be preferable to check for No Data by using DCount() function directly on the query serving as record source for the subreport. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, November 20, 2003 05:16 Subject: RE: [AccessD] Page Break and SubReport Put it in the main report and set the pagebreak to Visible = the subreport's HasData property. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, November 19, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Page Break and SubReport I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 weeden1949 at hotmail.com Wed Nov 19 22:27:23 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Wed, 19 Nov 2003 22:27:23 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted References: <2F8793082E00D4119A1700B0D0216BF8022275AF@main2.marlow.com> Message-ID: I have Access97 ODE and Access XP (used to have Access97 ODE, 2000 and XP, but new computer and 2000 was toast). Most of my clients are still using Access 97. Hinting at changing to XP, but now 2003 is out so they'll probably wait until I clear their apps through it. Sigh. This is never going to end. Greg Smith weeden1949 at hotmail.com From stuart at lexacorp.com.pg Wed Nov 19 22:35:33 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Nov 2003 14:35:33 +1000 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? X Posted In-Reply-To: <003f01c3af1c$5005d350$5100a8c0@BITSNB02> References: <3FBCAB47.13588.1E580AB7@localhost> Message-ID: <3FBCD135.9437.1EEC3987@localhost> On 20 Nov 2003 at 12:11, Stuart Sanders wrote: > > I remember for one project I was upgrading a BE to 2K from ver2, and was having > immense troubles. I ended up digging out Office 4.3 as well, but after messing > around with it, discovered if I had used Acc97 as the intermediate I would have > had much less pain. > > Stuart > I would have if I could, but the problem was the Access security that was used. I had to run under v2.0 to crack it before I could do anythinbg with it in another version. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From glen_mcwilliams at msn.com Wed Nov 19 22:59:01 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Wed, 19 Nov 2003 20:59:01 -0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted References: Message-ID: Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, November 19, 2003 5:44 PM Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted I've got two at work, 97 and 2002 (WinXP). On my personal machine (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 19 23:28:10 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 20 Nov 2003 05:28:10 +0000 Subject: [AccessD] First Record of Subform Message-ID: Sorry Charlotte...but thats not the case...I requery the subform of SF2 on each ONCURRENT of SF1...and whatever record has focus prior...still has focus after the REQUERY. Other ideas? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] First Record of Subform >Date: Wed, 19 Nov 2003 12:55:23 -0800 > >Requery the subform. That always sets the record pointer to the first >record. > >Charlotte Foust > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, November 19, 2003 12:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] First Record of Subform > > >Hello All, > >Please forgive the confusing question...but: > >In A97 I have a subform(SF2) that is refreshed each time a different >record >is selected in another subform(SF1). Both are continuous forms. When I > >click a record in SF1...SF2 displays 5 records related to SF1 >record...I >click on record#5 in SF2....now I select a different record in SF1...and >SF2 >displays 8 records...but record#5 has focus. > >How do I refresh a subform and cause it to always go to the first >record? > >Thanks, > >Mark > >_________________________________________________________________ >Groove on the latest from the hot new rock groups! Get downloads, >videos, >and more here. http://special.msn.com/entertainment/wiredformusic.armx > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From the hottest toys to tips on keeping fit this winter, you?ll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx From stuart at pacific.net.hk Wed Nov 19 23:36:29 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 20 Nov 2003 13:36:29 +0800 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted In-Reply-To: Message-ID: <004301c3af28$4009c2c0$5100a8c0@BITSNB02> Generally involves installing in the correct order (97 then 2K then XP). And to be safe, install the service packs for each after each app install (97 and 97 SPs, then 2K and 2K SPs, etc) When installing 2K and XP, you will need to do a custom install and tell the installer not to remove the previous version of access. Also note that it is advisable to put shortcuts to each msaccess.exe where you can easily get them (ie for me they are in the quick launch toolbar on Windows 2K), as each version of access claims the mdb extension automatically when you run it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Glen McWilliams > Sent: Thursday, 20 November, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Poll: How many versions of Access are > you running ononemachine? XPosted > > > Is there some place I can find instructions for loading 97, > 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access > are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either > 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are > you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhla at earthlink.net Thu Nov 20 00:34:48 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Wed, 19 Nov 2003 22:34:48 -0800 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted In-Reply-To: Message-ID: <000701c3af30$6857c760$fda8a8c0@delllaptop> It used to be if you loaded the oldest version first and worked up you were ok. Do not know if that is still true with XP and 2003 Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Glen McWilliams Sent: Wednesday, November 19, 2003 8:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, November 19, 2003 5:44 PM Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted I've got two at work, 97 and 2002 (WinXP). On my personal machine (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 00:52:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Nov 2003 22:52:41 -0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted References: Message-ID: <3FBC64B9.6080605@shaw.ca> Load in order Access 97, 2 Office service packs, (ODE SP 2 if needed), Jet 3.51 Service Release 3 (needed for Jet SR7 and 8) Jet SR3 from here http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en Access 2000, 3 Office service packs Access XP, 2 Office SP's Finally Jet Service Pack 7 on win NT or Win9x,( Access xp won't install on win95.) or Jet Service Pack 8 on Win2000, WinXP or Win2003 Maybe they have fixed 8 to run on lower OS, not sure. You can't get the Office upgrades for Office 97 through the MS office update scan site anymore but you can get all of them from here http://support.microsoft.com/default.aspx?scid=fh;EN-CA;sp Oh yes there are also these two new goodies for word97 and excel 97 security. http://woodyswatch.com/kb/?830354 http://woodyswatch.com/kb/?830356 Glen McWilliams wrote: >Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 20 01:00:16 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Nov 2003 23:00:16 -0800 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted References: <3FBC64B9.6080605@shaw.ca> Message-ID: <3FBC6680.2000306@shaw.ca> Oh yes install each version into a different directory say Office9,Office10 etc. MartyConnelly wrote: > Load in order > > Access 97, 2 Office service packs, (ODE SP 2 if needed), Jet 3.51 > Service Release 3 (needed for Jet SR7 and 8) > Jet SR3 from here > http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f-8bb2-8b06d6cb668d&DisplayLang=en > > > Access 2000, 3 Office service packs > > Access XP, 2 Office SP's > > Finally Jet Service Pack 7 on win NT or Win9x,( Access xp won't > install on win95.) > or Jet Service Pack 8 on Win2000, WinXP or Win2003 > Maybe they have fixed 8 to run on lower OS, not sure. > > You can't get the Office upgrades for Office 97 through the MS office > update scan site anymore > but you can get all of them from here > http://support.microsoft.com/default.aspx?scid=fh;EN-CA;sp > > Oh yes there are also these two new goodies for word97 and excel 97 > security. > > http://woodyswatch.com/kb/?830354 > > http://woodyswatch.com/kb/?830356 > > > Glen McWilliams wrote: > >> Is there some place I can find instructions for loading 97, 2000, >> 2002 on a machine? >> >> ----- Original Message ----- From: Charlotte Foust To: Access >> Developers discussion and problem solving Sent: Wednesday, November >> 19, 2003 5:44 PM >> Subject: RE: [AccessD] Poll: How many versions of Access are you >> running onone machine? XPosted >> >> >> I've got two at work, 97 and 2002 (WinXP). On my personal machine >> (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or >> 2002. >> >> Charlotte Foust >> >> -----Original Message----- >> From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, >> November 19, 2003 5:36 PM >> To: AccessD; ACCESS-L >> Subject: [AccessD] Poll: How many versions of Access are you running on >> one machine? XPosted >> >> >> I have one machine and Access 97, 2000, XP and 2003. The OS is >> win XP. >> How many people have more than one version of Access on one machine. >> Which versions? What are most clients still using? >> Thanks >> >> Joe Hecht >> >> Los Angeles CA >> >> >> >> >> > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Nov 20 01:07:02 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 19 Nov 2003 23:07:02 -0800 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: <19014831166.20031119125617@cactus.dk> Message-ID: Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 20 01:42:27 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 08:42:27 +0100 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CED3@stekelbes.ithelps.local> Since yesterday I have now 3 versions running. Access 2000, 2002(XP), 2003. +Off Dev 2000, 2002. Still have an client in A97 but I find A97 doesn't go that well with A2K or others. I'm used to the VBA interface of A2K, so I convert each time back and forth between A2K and A97. Give me sometimes some reference problems, but I can live with that. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Thursday, November 20, 2003 2:36 AM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Nov 20 02:01:11 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 20 Nov 2003 00:01:11 -0800 (PST) Subject: [AccessD] Copy current record Message-ID: <20031120080111.64718.qmail@web60204.mail.yahoo.com> Hi group, i've got an DAO recordset in A2k called rstNM wich is linked to table tblNewMessage I need to copy the current record to a new table called tblError. tblnewmessage and tblError are identical. Problem: rstNM has 27 fields and several of them can be Null. How can I copy the current record (wich has at least one Null value) to this table? TIA Sander __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ From mwp.reid at qub.ac.uk Thu Nov 20 02:54:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 20 Nov 2003 08:54:25 -0000 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> Message-ID: <000901c3af43$e615e4d0$9111758f@aine> Disclaimer This is a personal reply to me and NOT an OFFICIAL Microsoft Response I try to dispel the marketing hype around InfoPath for the Access developer. I've yet to see an InfoPath scenario that couldn't be solved quicker with Access 2003 and its new XML features. If you are not familiar with relational databases and tools like Access, then InfoPath is a tool to consider if your business is starting to adopt XML as a transport mechanism between business processes. If you live in a world of ODBC and OLEDB for moving data within your organization - and it's working - why mess with a good thing. On the other hand, if you are struggling with ways to send that data through your firewall to your business partners/customers, XML works really well, because text doesn't get hung up in the process. With that said, Access is an excellent tool for exporting relational data as XML and importing XML from other sources. From gustav at cactus.dk Thu Nov 20 03:08:33 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 10:08:33 +0100 Subject: [AccessD] Pop-quiz: DateAdd() and negative time values In-Reply-To: <19535455983.20031119184002@cactus.dk> References: <19535455983.20031119184002@cactus.dk> Message-ID: <294426525.20031120100833@cactus.dk> Hi all OK, this was a bit unfair as one option, the correct, was left out! But that didn't fool you. For a human the result should be: f) 12/29/1899 11:00 PM However, the result depends on the version. Access 2.0 (!): b) 12/30/1899 01:00 AM Access 95, 97: e) 12/30/1899 11:00 PM Access 2000: f) 12/29/1899 11:00 PM I didn't go further but I guess Access XP and A2003 calculate it right as A2000 does. Also, Lambert's wording is more precise than mine: .. the moral is not "Be careful with negative time values", but rather look out for Dec 30 1899 and "negative additions" [for version 97 and earlier]. /gustav > Boring day. > So here's a quick quiz to wake you up. > The time value of #02:00 AM# equals > 12/30/1899 02:00 AM > What does - off your head - this expression return: > ? Format(DateAdd("h", -3, #02:00 AM#),"mm\/dd\/yyyy hh\:nn AM/PM") > a) 12/30/1898 11:00 PM > b) 12/30/1899 01:00 AM > c) 12/30/1899 05:00 AM > d) 12/30/1899 05:00 PM > e) 12/30/1899 11:00 PM > The tricky part is DateAdd(). Format(), it is only for ensuring a > consistent format of the return value. > Morale: Be careful with negative time values for A97 and earlier. > /gustav From pedro at plex.nl Thu Nov 20 11:54:19 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 20 Nov 2003 11:54:19 (MET) Subject: [AccessD] query Message-ID: <200311201054.hAKAsJEU010363@mailhostC.plex.net> Hello, i have a query in which i want to show each "Praktijk" with the same "adres". How can this been done now i get [Praktijk] [adres] Janssen rondweg Janssen rondweg Janssen rondweg Janssen herenweg Hendriks kortweg Hendriks kortweg Hendriks langeweg i would like to have [Praktijk] [adres] Janssen rondweg Janssen herenweg Hendriks kortweg Hendriks langeweg SELECT DISTINCTROW tblHarts.Praktijk, tblHarts.Adres, tblHarts.Postcode, tblHarts.Plaats, tblHarts.Oud FROM tblHarts WHERE (((tblHarts.Praktijk) In (SELECT [Praktijk] FROM [tblHarts] As Tmp GROUP BY [Praktijk] )) AND ((tblHarts.Oud)=No)) ORDER BY tblHarts.Praktijk; From R.Griffiths at bury.gov.uk Thu Nov 20 05:03:20 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 20 Nov 2003 11:03:20 -0000 Subject: [AccessD] query Message-ID: try change DISTINCTROW to DISTINCT AFAIK the DISTINCTROW will take into account other fields such as tblHarts.Postcode, tblHarts.Plaats, tblHarts.Oud (if they differ from row to row the row will be returned) with DISTINCT if you only return the two fields [Praktijk] [adres] in your query then this should return the results as required Richard Richard > -----Original Message----- > From: pedro at plex.nl [SMTP:pedro at plex.nl] > Sent: 20 November 2003 11:54 > To: AccessD at databaseadvisors.com > Subject: [AccessD] query > > Hello, > > i have a query in which i want to show each "Praktijk" with the same > "adres". > How can this been done > > now i get > > [Praktijk] [adres] > Janssen rondweg > Janssen rondweg > Janssen rondweg > Janssen herenweg > Hendriks kortweg > Hendriks kortweg > Hendriks langeweg > > > i would like to have > > [Praktijk] [adres] > Janssen rondweg > Janssen herenweg > Hendriks kortweg > Hendriks langeweg > > > > SELECT DISTINCTROW tblHarts.Praktijk, tblHarts.Adres, tblHarts.Postcode, > tblHarts.Plaats, tblHarts.Oud > FROM tblHarts > WHERE (((tblHarts.Praktijk) In (SELECT [Praktijk] FROM [tblHarts] As Tmp > GROUP BY [Praktijk] )) AND ((tblHarts.Oud)=No)) > ORDER BY tblHarts.Praktijk; > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Nov 20 05:05:44 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 20 Nov 2003 11:05:44 -0000 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted In-Reply-To: <001001c3af06$b4ab5de0$fda8a8c0@delllaptop> Message-ID: <030801c3af56$3f005320$b274d0d5@minster33c3r25> I have 97 and 2002. Main client still on 97. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht > Sent: 20 November 2003 01:36 > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you > running on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one > machine. Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From andy at minstersystems.co.uk Thu Nov 20 06:59:51 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 20 Nov 2003 12:59:51 -0000 Subject: [AccessD] First Record of Subform In-Reply-To: Message-ID: <031201c3af66$2fa20c60$b274d0d5@minster33c3r25> Mark How about something like this in the OnCurrent of SF1: Me.Parent.sub2.Form.Requery If Me.Parent.sub2.Form.Recordsetclone.RecordCount<>0 then Me.Parent.sub2.Form.Recordsetclone.MoveFirst Me.Parent.sub2.Form.Bookmark=Me.Parent.sub2.Form.Recordsetclone.Bookmark End If Haven't tested it, but seems about right. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: 20 November 2003 05:28 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] First Record of Subform > > > Sorry Charlotte...but thats not the case...I requery the > subform of SF2 on > each ONCURRENT of SF1...and whatever record has focus > prior...still has > focus after the REQUERY. > > Other ideas? > > Thanks, > > Mark > > > >From: "Charlotte Foust" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] First Record of Subform > >Date: Wed, 19 Nov 2003 12:55:23 -0800 > > > >Requery the subform. That always sets the record pointer to > the first > >record. > > > >Charlotte Foust > > > >-----Original Message----- > >From: Mark A Matte [mailto:markamatte at hotmail.com] > >Sent: Wednesday, November 19, 2003 12:51 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] First Record of Subform > > > > > >Hello All, > > > >Please forgive the confusing question...but: > > > >In A97 I have a subform(SF2) that is refreshed each time a different > >record is selected in another subform(SF1). Both are > continuous forms. > >When I > > > >click a record in SF1...SF2 displays 5 records related to SF1 > >record...I click on record#5 in SF2....now I select a > different record > >in SF1...and SF2 > >displays 8 records...but record#5 has focus. > > > >How do I refresh a subform and cause it to always go to the first > >record? > > > >Thanks, > > > >Mark > > > >_________________________________________________________________ > >Groove on the latest from the hot new rock groups! Get downloads, > >videos, and more here. > >http://special.msn.com/entertainment/wiredformusic.armx > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > >From the hottest toys to tips on keeping fit this winter, > you'll find a > range of helpful holiday info here. > http://special.msn.com/network/happyholidays.armx > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From serbach at new.rr.com Thu Nov 20 07:31:28 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 07:31:28 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031120073128.772570248.serbach@new.rr.com> Greggs, Thanks for the clarification. What floors me is that there is *anything* that requires a DOS command prompt in Windows these days. Since I'm a rookie with Terminal Services let me see if I've got this right. I can install one copy of Access XP Runtime and one copy of the FE for my Access application on the Terminal Services server. The BE is also installed there. Then anybody that is a user of the Terminal Server loads a copy of Access XP Runtime and my application into a "separate" memory space on the server and just the screens are sent down the wire to the user's workstation/terminal. All of the normal Access processing of queries and reports and such is done on the Terminal Server for each and every user of the Access application. Have I got that right? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From serbach at new.rr.com Thu Nov 20 07:33:06 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 07:33:06 -0600 Subject: [AccessD] A2K / AXP: Indirect Replication Message-ID: <20031120073306.1667392103.serbach@new.rr.com> Dear Group, So, nobody here has done Indirect Synchronization / Replication using an FTP site "drop box"? Well, maybe if I get it going I can write an article for the AccessD newsletter, eh? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jcolby at colbyconsulting.com Thu Nov 20 08:01:32 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:01:32 -0500 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <3FBC64B9.6080605@shaw.ca> Message-ID: Why don't you write this up for Many to Many? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Thursday, November 20, 2003 1:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Load in order Access 97, 2 Office service packs, (ODE SP 2 if needed), Jet 3.51 Service Release 3 (needed for Jet SR7 and 8) Jet SR3 from here http://www.microsoft.com/downloads/details.aspx?FamilyID=7e82ef88-52ec-4a8f- 8bb2-8b06d6cb668d&DisplayLang=en Access 2000, 3 Office service packs Access XP, 2 Office SP's Finally Jet Service Pack 7 on win NT or Win9x,( Access xp won't install on win95.) or Jet Service Pack 8 on Win2000, WinXP or Win2003 Maybe they have fixed 8 to run on lower OS, not sure. You can't get the Office upgrades for Office 97 through the MS office update scan site anymore but you can get all of them from here http://support.microsoft.com/default.aspx?scid=fh;EN-CA;sp Oh yes there are also these two new goodies for word97 and excel 97 security. http://woodyswatch.com/kb/?830354 http://woodyswatch.com/kb/?830356 Glen McWilliams wrote: >Is there some place I can find instructions for loading 97, 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 20 08:03:19 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:03:19 -0500 Subject: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted In-Reply-To: <004301c3af28$4009c2c0$5100a8c0@BITSNB02> Message-ID: Also make SURE that you put them each in a different directory and program group. I use Office for 97 (it doesn't seem to offer a choice), but then use Microsoft Office2K for 2K and Microsoft Office XP for XP. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Thursday, November 20, 2003 12:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Generally involves installing in the correct order (97 then 2K then XP). And to be safe, install the service packs for each after each app install (97 and 97 SPs, then 2K and 2K SPs, etc) When installing 2K and XP, you will need to do a custom install and tell the installer not to remove the previous version of access. Also note that it is advisable to put shortcuts to each msaccess.exe where you can easily get them (ie for me they are in the quick launch toolbar on Windows 2K), as each version of access claims the mdb extension automatically when you run it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Glen McWilliams > Sent: Thursday, 20 November, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Poll: How many versions of Access are > you running ononemachine? XPosted > > > Is there some place I can find instructions for loading 97, > 2000, 2002 on a machine? > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Wednesday, November 19, 2003 5:44 PM > Subject: RE: [AccessD] Poll: How many versions of Access > are you running onone machine? XPosted > > > I've got two at work, 97 and 2002 (WinXP). On my personal machine > (Win2k), I have 97, 2000 and 2002. I generally use either > 2000 or 2002. > > Charlotte Foust > > -----Original Message----- > From: Joe Hecht [mailto:jmhla at earthlink.net] > Sent: Wednesday, November 19, 2003 5:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are > you running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 20 08:04:59 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:04:59 -0500 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted In-Reply-To: <003e01c3af1b$9476b050$5100a8c0@BITSNB02> Message-ID: Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are > you running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every > email sent. > SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you > running on > one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 20 08:06:41 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:06:41 -0500 Subject: [AccessD] John Colby Does your sysvar work in Access XP? In-Reply-To: <002801c3af16$485cf9e0$fda8a8c0@delllaptop> Message-ID: Joe, Yes it does. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht Sent: Wednesday, November 19, 2003 10:28 PM To: AccessD Subject: [AccessD] John Colby Does your sysvar work in Access XP? Less experienced programming minds would like to know. Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 20 08:26:09 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 20 Nov 2003 08:26:09 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: Main work machine is Office 2000 on Windows 2000 Second work Machine (My previous main system) is Office 97 on NT4 My Main home machine has Office XP on Windows XP Pro Second system (old main system) is Office 97 Developer and Access 2 on Windows 98 SE. An old Laptop has Office 97 Developer and Access 2 on Windows 98 SE My wife's computer has Office 97 on Windows 95 My work projects are primarily Access 2000. Gary Kjos garykjos at hotmail.com >From: "Joe Hecht" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" , "ACCESS-L" > >Subject: [AccessD] Poll: How many versions of Access are you running on one >machine? XPosted >Date: Wed, 19 Nov 2003 17:36:16 -0800 > >I have one machine and Access 97, 2000, XP and 2003. > >The OS is win XP. > >How many people have more than one version of Access on one machine. >Which versions? What are most clients still using? > >Thanks > > >Joe Hecht > >Los Angeles CA > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Set yourself up for fun at home! Get tips on home entertainment equipment, video game reviews, and more here. http://special.msn.com/home/homeent.armx From JHewson at karta.com Thu Nov 20 08:34:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 20 Nov 2003 08:34:00 -0600 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: <4AE733BBEEE72647A9F950F7275F262E1125AA@nt04.karta.com> Office: A97, A2K, AXP, Windows 2000 Pro Home: A2K, AXP, Windows XP Primary development A2K. Jim -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Thu Nov 20 08:49:30 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 20 Nov 2003 09:49:30 -0500 Subject: [AccessD] Poll: How many versions of Access are you running o none machine? XPosted Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641288D7@mail2.wrsystems.com> A2.0, A97, A2K, AXP. -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, November 20, 2003 9:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Office: A97, A2K, AXP, Windows 2000 Pro Home: A2K, AXP, Windows XP Primary development A2K. Jim -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 08:49:25 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 09:49:25 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent In-Reply-To: Message-ID: Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav From Erwin.Craps at ithelps.be Thu Nov 20 08:54:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 15:54:54 +0100 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> A2.0 Oh my god... I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. No real apps where developed in 1,0 ot 1,1 so that should really not exists anymore... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall Anthony Sent: Thursday, November 20, 2003 3:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted A2.0, A97, A2K, AXP. -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, November 20, 2003 9:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted Office: A97, A2K, AXP, Windows 2000 Pro Home: A2K, AXP, Windows XP Primary development A2K. Jim -----Original Message----- From: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 7:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Nov 20 09:03:35 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 09:03:35 -0600 Subject: [AccessD] Poll: How many versions of Access are you running o none machine? XPosted Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> I'm still maintaining a handful of A2.0 apps here as well. I've considered upsizing them but haven't found a compelling business reason to do so. Plus, they run about 4x the speed of an equivalent A2K app. I had a client with an invoicing app written using A1, which I avoided. As JC put it, A1 is a steak sauce, not a development platform. Most developers avoided A95 like the plague due to its general instability/suckyness. -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, November 20, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted A2.0 Oh my god... I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. No real apps where developed in 1,0 ot 1,1 so that should really not exists anymore... Erwin -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From greggs at msn.com Thu Nov 20 09:14:36 2003 From: greggs at msn.com (Greggs) Date: Thu, 20 Nov 2003 09:14:36 -0600 Subject: [AccessD] Terminal Server and Access XP In-Reply-To: <20031120073128.772570248.serbach@new.rr.com> Message-ID: Right... you give them the normal shortcut to the FE in the Terminal Services window and Terminal Services will do the rest. It will work just as though you had one FE on a regular windows network. So if your app requires separate front ends for each user as most of mine do, you will have to set up separate FEs for each user on Terminal services. It is an awesome product. Performance is outstanding and you can shadow the user which makes support and training a breeze. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Thursday, November 20, 2003 7:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Terminal Server and Access XP Greggs, Thanks for the clarification. What floors me is that there is *anything* that requires a DOS command prompt in Windows these days. Since I'm a rookie with Terminal Services let me see if I've got this right. I can install one copy of Access XP Runtime and one copy of the FE for my Access application on the Terminal Services server. The BE is also installed there. Then anybody that is a user of the Terminal Server loads a copy of Access XP Runtime and my application into a "separate" memory space on the server and just the screens are sent down the wire to the user's workstation/terminal. All of the normal Access processing of queries and reports and such is done on the Terminal Server for each and every user of the Access application. Have I got that right? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 20 09:08:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 16:08:41 +0100 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> Message-ID: <1926034555.20031120160841@cactus.dk> Hi Erwin > A2.0 Oh my god... > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. Not exactly but: 2.0, 95, 97, 2K on the same desktop. Don't blame A2.0. It still runs rock steady - on everything from WinXP down to Win95 - and Win 3.11 should you ever need it. /gustav From jcolby at colbyconsulting.com Thu Nov 20 09:11:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 10:11:44 -0500 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> Message-ID: >...due to its general instability/suckyness. LOL. That just about says it. I refuse to even look at anything in A95 that the client won't allow me to port to at least A97. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 10:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted I'm still maintaining a handful of A2.0 apps here as well. I've considered upsizing them but haven't found a compelling business reason to do so. Plus, they run about 4x the speed of an equivalent A2K app. I had a client with an invoicing app written using A1, which I avoided. As JC put it, A1 is a steak sauce, not a development platform. Most developers avoided A95 like the plague due to its general instability/suckyness. -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, November 20, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted A2.0 Oh my god... I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. No real apps where developed in 1,0 ot 1,1 so that should really not exists anymore... Erwin ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 09:47:44 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 09:47:44 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120094744.1147728671.serbach@new.rr.com> Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack/actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From gustav at cactus.dk Thu Nov 20 09:46:03 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 16:46:03 +0100 Subject: [AccessD] Poll: How many versions of Access are you running o none machine? XPosted In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> References: <426071E0B0A6D311B3C0006008B0AB23AFE15A@TAPPEEXCH01> Message-ID: <7528276920.20031120164603@cactus.dk> Hi Brett > I'm still maintaining a handful of A2.0 apps here as well. I've considered > upsizing them but haven't found a compelling business reason to do so. > Plus, they run about 4x the speed of an equivalent A2K app. I've noticed similar differences in speed. > I had a client with an invoicing app written using A1, which I avoided. As > JC put it, A1 is a steak sauce, not a development platform. > Most developers avoided A95 like the plague due to its general > instability/suckyness. This is not entirely true. We had a client running a major accounting/invoicing package, four concurrent users, for about five years without a hitch. But, of course, this was in a NetWare environment ... /gustav From serbach at new.rr.com Thu Nov 20 10:04:42 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 10:04:42 -0600 Subject: [AccessD] Terminal Server and Access XP Message-ID: <20031120100442.1545946710.serbach@new.rr.com> Greggs, Again, thanks for the clarification. This will be the first time I've ever worked with Terminal Services. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From jdolby at GATELY.COM Thu Nov 20 10:03:35 2003 From: jdolby at GATELY.COM (Jack Dolby) Date: Thu, 20 Nov 2003 11:03:35 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <84C3AB1A3A24D311BC9100500410A17E94E335@GATELY01> We are on our second year of Action Pack and it is worth every penny! Jack Dolby Gately Communication Company -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 20, 2003 10:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:21:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:21:19 -0800 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Message-ID: Access 2 was a solid, but somewhat limited database. It was very fast because its AccessBasic was written in Assembler, but there were *so* many things you had to fake ... Like tooltips ... And the commandbars had to be created using macros! The move to VBA came in A95, which I managed to avoid. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, November 20, 2003 7:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Hi Erwin > A2.0 Oh my god... > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. Not exactly but: 2.0, 95, 97, 2K on the same desktop. Don't blame A2.0. It still runs rock steady - on everything from WinXP down to Win95 - and Win 3.11 should you ever need it. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:24:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:24:58 -0800 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: I think you've hit on it, John. I had the same experience of studying Shamil's stuff and suddenly understanding it. Unfortunately, I still have difficulty explaining it to anyone else. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:28:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:28:00 -0800 Subject: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Message-ID: Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 10:34:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:34:08 -0800 Subject: [AccessD] Infopath and One Note Message-ID: Well ... I'm not sure that answers any of our concerns. They're hyping InfoPath to the max and his reply doesn't really address the issues. Do I detect just a hint of fence straddling here? Or is that just me being cynical again? Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, November 20, 2003 12:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Infopath and One Note Disclaimer This is a personal reply to me and NOT an OFFICIAL Microsoft Response I try to dispel the marketing hype around InfoPath for the Access developer. I've yet to see an InfoPath scenario that couldn't be solved quicker with Access 2003 and its new XML features. If you are not familiar with relational databases and tools like Access, then InfoPath is a tool to consider if your business is starting to adopt XML as a transport mechanism between business processes. If you live in a world of ODBC and OLEDB for moving data within your organization - and it's working - why mess with a good thing. On the other hand, if you are struggling with ways to send that data through your firewall to your business partners/customers, XML works really well, because text doesn't get hung up in the process. With that said, Access is an excellent tool for exporting relational data as XML and importing XML from other sources. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 10:34:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:34:49 -0800 Subject: [AccessD] Copy current record Message-ID: -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, November 20, 2003 12:01 AM To: Acces User Group Subject: [AccessD] Copy current record Hi group, i've got an DAO recordset in A2k called rstNM wich is linked to table tblNewMessage I need to copy the current record to a new table called tblError. tblnewmessage and tblError are identical. Problem: rstNM has 27 fields and several of them can be Null. How can I copy the current record (wich has at least one Null value) to this table? TIA Sander __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 10:43:10 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 10:43:10 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120104310.1982667250.serbach@new.rr.com> Jack, >> We are on our second year of Action Pack and it is worth every penny! << I can well believe it. What I'm interested in is if it allows a developer to distribute Runtime Access applications. Any idea on that? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From cfoust at infostatsystems.com Thu Nov 20 10:38:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:38:00 -0800 Subject: [AccessD] First Record of Subform Message-ID: That's interesting because I've never seen that behavior ... Unless I misunderstood the scenario you described. Charlotte Foust -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, November 19, 2003 9:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] First Record of Subform Sorry Charlotte...but thats not the case...I requery the subform of SF2 on each ONCURRENT of SF1...and whatever record has focus prior...still has focus after the REQUERY. Other ideas? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] First Record of Subform >Date: Wed, 19 Nov 2003 12:55:23 -0800 > >Requery the subform. That always sets the record pointer to the first >record. > >Charlotte Foust > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, November 19, 2003 12:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] First Record of Subform > > >Hello All, > >Please forgive the confusing question...but: > >In A97 I have a subform(SF2) that is refreshed each time a different >record is selected in another subform(SF1). Both are continuous forms. >When I > >click a record in SF1...SF2 displays 5 records related to SF1 >record...I click on record#5 in SF2....now I select a different record >in SF1...and SF2 >displays 8 records...but record#5 has focus. > >How do I refresh a subform and cause it to always go to the first >record? > >Thanks, > >Mark > >_________________________________________________________________ >Groove on the latest from the hot new rock groups! Get downloads, >videos, and more here. >http://special.msn.com/entertainment/wiredformusic.armx > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From the hottest toys to tips on keeping fit this winter, you'll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 20 10:38:32 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 10:38:32 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Kenneth.Stoker at pnl.gov Thu Nov 20 10:40:33 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Thu, 20 Nov 2003 08:40:33 -0800 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted Message-ID: <249C1CB246997C48BB74963CCD361C1B014A0290@pnlmse28.pnl.gov> I have A2000 and A2002 on my machine, which is running Win XP. 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: Joe Hecht [mailto:jmhla at earthlink.net] Sent: Wednesday, November 19, 2003 5:36 PM To: AccessD; ACCESS-L Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted I have one machine and Access 97, 2000, XP and 2003. The OS is win XP. How many people have more than one version of Access on one machine. Which versions? What are most clients still using? Thanks Joe Hecht Los Angeles CA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 10:44:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 08:44:25 -0800 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: Not to my knowledge. We still have individual licenses for Office Developer on each of our machines. It does allow you to run all the various apps as test platforms, though. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 20, 2003 8:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jack, >> We are on our second year of Action Pack and it is worth every penny! >> << I can well believe it. What I'm interested in is if it allows a developer to distribute Runtime Access applications. Any idea on that? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Nov 20 10:50:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Nov 2003 17:50:14 +0100 Subject: [AccessD] Infopath and One Note In-Reply-To: <000901c3af43$e615e4d0$9111758f@aine> References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> Message-ID: <1032127787.20031120175014@cactus.dk> Hi Martin I agree with Charlotte - he makes it sound like InfoPath is a no-product? And this scares me: > .. If you are not familiar with relational databases and tools like > Access, then InfoPath is a tool to consider if your business is starting > to adopt XML as a transport mechanism between business processes. I mean, if you are not familiar with relational databases, you don't know about a relational structure and, thus, you should stay away from even thinking of transferring data by any means including XML as you don't have a chance to know what you are doing. Of course, you can move around with a Word document saved as XML but that has little to do with moving data between business processes. /gustav > > I try to dispel the marketing hype around InfoPath for the Access developer. > I've yet to see an InfoPath > scenario that couldn't be solved quicker with Access 2003 and its new > XML features. If you are not familiar with relational databases and tools > like > Access, then InfoPath is a tool to consider if your business is starting > to adopt XML as a transport mechanism between business processes. > If you live in a world of ODBC and OLEDB for moving data within your > organization - and it's working - why mess with a good thing. On the > other hand, if you are struggling with ways to send that data through > your firewall to your business partners/customers, XML works really > well, because text doesn't get hung up in the process. With that said, > Access is an excellent tool for exporting relational data as XML and > importing XML from other sources. From Jdemarco at hshhp.org Thu Nov 20 10:52:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 20 Nov 2003 11:52:12 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8DF@TTNEXCHSRV1.hshhp.com> There seems to be some stigma about using COM components with Access apps. I do it all the time for a number of reasons: 1. Keeps the db size smaller by moving large code blocks into the COM object 2. Compiled code is more secure 3. Compiled code runs faster 4. The COM object is a great way to store and reuse common libraries (no files to move around, no copy/paste of code) 5. I can use functionality that may not be a part of A97 (in my case) such as providing enums to functions or use of Interfaces 6. Copying and registering an ActiveX DLL is easy and simple. 7. I can even reuse certain functionality in web apps via ASP (my DataGrabber -name changed to protect the innocent- can be used in Access, VB, ASP or any COM compliant application). I guess if I keep going I could do a "Jim's Top Ten reasons To Use COM"! Jim DeMarco Director Product Development Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Thu Nov 20 10:53:41 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Nov 2003 11:53:41 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <20031120094744.1147728671.serbach@new.rr.com> Message-ID: Steve, I've been on it a little over two years. I have a MSDN Universal subscription as well. The action pack is geared towards sales people and marketing. It basically tells you how to sell Microsoft products. So far, I have not taken advantage of it, but feel if I need to explore something new, it will be there. And to answer your question, no because technically your not buying the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 10:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Thu Nov 20 10:56:35 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 20 Nov 2003 10:56:35 -0600 Subject: [AccessD] Page Break and SubReport Message-ID: Charlotte, I tried these two things and neither works (see below). When I put it on_open of report, I get an error. When I put it on_format of the detail section where the subreport and the page break are both located I don't get an error, but it doesn't work either. In debugging, I do find that the value for Me!sub_payhist.Report.HasData is 0 which means that it is seeing that there is no data on the report. Could it be that even when the page break item is invisible, it still functions? --Susan #1: Me!PageBreak_payhistory.Visible = Me!sub_payhist.Report.HasData #2: If Me!sub_payhist.Report.HasData = 0 Then Me!PageBreak_payhistory.Visible = False Else: Me!PageBreak_payhistory.Visible = True End If -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 19, 2003 5:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Page Break and SubReport Put it in the main report and set the pagebreak to Visible = the subreport's HasData property. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, November 19, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Page Break and SubReport I have a report that has a subreport. In the subreport there sometimes is data and sometimes not. When there is data, I want a page break and then the subreport. When there is not data, I want no page break and no subreport. When I put the pagebreak in the main report, I get a page break regardless of what's in the subreport. When I put it in the subreport, I still get a page break even when the subreport doesn't show because there is no data. I've tried a couple of code manipulations that look to see if there is no data and if there isn't set the subreport to invisible, but that doesn't work. Suggestions? --Susan Susan B. Geller 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 mwp.reid at qub.ac.uk Thu Nov 20 10:58:47 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 20 Nov 2003 16:58:47 -0000 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> Message-ID: <000b01c3af87$9041c120$9111758f@aine> To be honest during the beta process thats the impression I got. The ACcess XML list had about 11 posts and similar level of posts in other XML related groups. Appeared to be no interest. I think its a product looking for a market. Martin ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, November 20, 2003 4:50 PM Subject: Re: [AccessD] Infopath and One Note > Hi Martin > > I agree with Charlotte - he makes it sound like InfoPath is a > no-product? > > And this scares me: > > > .. If you are not familiar with relational databases and tools like > > Access, then InfoPath is a tool to consider if your business is starting > > to adopt XML as a transport mechanism between business processes. > > I mean, if you are not familiar with relational databases, you don't > know about a relational structure and, thus, you should stay away from > even thinking of transferring data by any means including XML as you > don't have a chance to know what you are doing. > > Of course, you can move around with a Word document saved as XML but > that has little to do with moving data between business processes. > > /gustav > > > > > > I try to dispel the marketing hype around InfoPath for the Access developer. > > I've yet to see an InfoPath > > scenario that couldn't be solved quicker with Access 2003 and its new > > XML features. If you are not familiar with relational databases and tools > > like > > Access, then InfoPath is a tool to consider if your business is starting > > to adopt XML as a transport mechanism between business processes. > > If you live in a world of ODBC and OLEDB for moving data within your > > organization - and it's working - why mess with a good thing. On the > > other hand, if you are struggling with ways to send that data through > > your firewall to your business partners/customers, XML works really > > well, because text doesn't get hung up in the process. With that said, > > Access is an excellent tool for exporting relational data as XML and > > importing XML from other sources. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Thu Nov 20 11:00:38 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 20 Nov 2003 12:00:38 -0500 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com><000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> <000b01c3af87$9041c120$9111758f@aine> Message-ID: <017401c3af87$e14cd320$210110ac@SUSANONE> There aren't any publishers interested in it either -- not yet at any rate. I've seen a few books on it, but in general -- editors don't even want a proposal on it. And the contents sites aren't biting at topics either. Could mean that the product simply hasn't found its niche yet, but could also mean it's a product for a certain audience, but that audience is small enough that no one's really interested in hitting it. Susan H. > To be honest during the beta process thats the impression I got. The ACcess > XML list had about 11 posts and similar level of posts in other XML related > groups. Appeared to be no interest. > > I think its a product looking for a market. > > Martin > > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, November 20, 2003 4:50 PM > Subject: Re: [AccessD] Infopath and One Note > > > > Hi Martin > > > > I agree with Charlotte - he makes it sound like InfoPath is a > > no-product? > > > > And this scares me: > > > > > .. If you are not familiar with relational databases and tools like > > > Access, then InfoPath is a tool to consider if your business is starting > > > to adopt XML as a transport mechanism between business processes. > > > > I mean, if you are not familiar with relational databases, you don't > > know about a relational structure and, thus, you should stay away from > > even thinking of transferring data by any means including XML as you > > don't have a chance to know what you are doing. > > > > Of course, you can move around with a Word document saved as XML but > > that has little to do with moving data between business processes. > > > > /gustav > > > > > > > > > > I try to dispel the marketing hype around InfoPath for the Access > developer. > > > I've yet to see an InfoPath > > > scenario that couldn't be solved quicker with Access 2003 and its new > > > XML features. If you are not familiar with relational databases and > tools > > > like > > > Access, then InfoPath is a tool to consider if your business is starting > > > to adopt XML as a transport mechanism between business processes. > > > If you live in a world of ODBC and OLEDB for moving data within your > > > organization - and it's working - why mess with a good thing. On the > > > other hand, if you are struggling with ways to send that data through > > > your firewall to your business partners/customers, XML works really > > > well, because text doesn't get hung up in the process. With that said, > > > Access is an excellent tool for exporting relational data as XML and > > > importing XML from other sources. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 20 11:07:06 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 20 Nov 2003 12:07:06 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF570@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB032@ADGSERVER> Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 20 11:16:26 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 11:16:26 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE15C@TAPPEEXCH01> Bobby, Do you have any CDO links/resources that give examples of this? I'd like to write my own royalty/license free version of this. Then I could wrap it into my own class, and maybe compile it into an ActiveX DLL to use in my projects. (Oops! Sorry John) -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, November 20, 2003 11:07 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Thu Nov 20 11:20:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 09:20:29 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: I tmight be simpler to write something to use SMTP instead. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 20, 2003 9:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Bobby, Do you have any CDO links/resources that give examples of this? I'd like to write my own royalty/license free version of this. Then I could wrap it into my own class, and maybe compile it into an ActiveX DLL to use in my projects. (Oops! Sorry John) -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, November 20, 2003 11:07 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my dev machine. Thus XP on one, 2K on another. And I > am NOT happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ------------------------------------------------------------------------ ---- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 11:33:32 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 11:33:32 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120113332.2090885569.serbach@new.rr.com> Charlotte, >> Not to my knowledge. ?We still have individual licenses for Office Developer on each of our machines. ?It does allow you to run all the various apps as test platforms, though. << A closer reading of the web site gave me some additional information, too. I don't see the Developer's edition of OfficeXP included in the subscription...but $300 for the whole shebang is hard to pass up. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From serbach at new.rr.com Thu Nov 20 11:35:50 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 11:35:50 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <20031120113550.1992730160.serbach@new.rr.com> Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From bheid at appdevgrp.com Thu Nov 20 11:40:15 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 20 Nov 2003 12:40:15 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF588@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB034@ADGSERVER> Look around here. http://www.slipstick.com/ Lots of examples, links, and information. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 12:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Bobby, Do you have any CDO links/resources that give examples of this? I'd like to write my own royalty/license free version of this. Then I could wrap it into my own class, and maybe compile it into an ActiveX DLL to use in my projects. (Oops! Sorry John) -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, November 20, 2003 11:07 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Don't know about the first part, but you can use extended MAPI which is in CDO (which is being phased) out to bypass the security thing. That is what Redemption is doing. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my dev machine. Thus XP on one, 2K on another. And I > am NOT happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ 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 Nov 20 12:05:31 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 21 Nov 2003 07:05:31 +1300 Subject: [AccessD] A2K / AXP: Indirect Replication In-Reply-To: <20031120073306.1667392103.serbach@new.rr.com> Message-ID: <5.2.0.9.0.20031121070046.00b5c4a0@mail.dalyn.co.nz> Steve, I have done indirect synchronizing but not with an FTP site. I have the drop boxes on the server and the users need to dial into the server. In this case their drop boxes need to be shared, but they ONLY have permissions to view their drop box and the server's box (otherwise, if they have permission on the folder that the database file is in then direct synchronization takes place - not a good idea over a land line). Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (877) 456-1205 At 20/11/2003, you wrote: >Dear Group, > >So, nobody here has done Indirect Synchronization / Replication using an >FTP site "drop box"? > >Well, maybe if I get it going I can write an article for the AccessD >newsletter, eh? > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >Disclaimer: No tree was killed in the transmission of this message. >However, several coulombs of electrons were temporarily inconvenienced. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 20 12:05:40 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 13:05:40 -0500 Subject: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted In-Reply-To: Message-ID: Charlotte, >Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. The problem with that argument is that I don't use runtimes. Thus an "install" is nothing more than running a batch file that builds a directory, downloads my framework to the windows dir and the app to it's dir, then starts the app. Installing a dll means registering it (doesn't it?). If I could simply copy it somewhere and use it I would quiet my complaints considerably. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 20, 2003 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 12:14:07 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 13:14:07 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: >What's the big issue with installing a COM component on a user's machine? The big issue is I don't use an installer, nor a runtime. Thus I have to do "something" (unexplained) to get it installed on that machine. What is that "something" that is no big deal? >If you don't use the redemption DLL, how do you bypass the security dialog? I bypassing it by not installing the service pack that turns it on. (A2K) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Nov 20 12:11:25 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Nov 2003 10:11:25 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... References: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: <3FBD03CD.30507@shaw.ca> One big issue , you might have to deal with, is the wild rolling of the eyes of network guys when you suggest installing a dll affecting security that has not recieved an imperitur from the local potentate. especially on locked down networks. Brett Barabash wrote: >OK, I give up. >What's the big issue with installing a COM component on a user's machine? > >And a better question: >If you don't use the redemption DLL, how do you bypass the security dialog? >Or do you use the line a tech consulting firm recently handed us: "The email >warning dialog is for your protection. It can't be bypassed" Uh huh... > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Thursday, November 20, 2003 6:05 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Poll: How many versions of Access are you >runningononemachine? XPosted > > >Stuart, > >The same reason I don't use it. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders >Sent: Wednesday, November 19, 2003 11:06 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Poll: How many versions of Access are you running >ononemachine? XPosted > > >I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP >for email currently, but don't use automation. > >I had considered giving this a look: http://www.dimastr.com/redemption/ > >Which supposedly works around the security patch, but is a com component >which needs to be installed on systems. > >Stuart > > > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. >>Colby >>Sent: Thursday, 20 November, 2003 10:23 AM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Poll: How many versions of Access are you >>running onone machine? XPosted >> >> >>I have Access97 and A2K on one machine, and AXP on another. >> >>I use Outlook automation to send email and the SP3 for Office2K breaks >> >> > > > >>outlook automation such that it asks for permission for every email >>sent. SP3 fixed the screwup where XP breaks 2K but I simply can't >>install it on my >>dev machine. Thus XP on one, 2K on another. And I am NOT >>happy to have to >>do that! >> >>John W. Colby >>www.ColbyConsulting.com >> >> >> > >-------------------------------------------------------------------------------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed >by SurfControl E-mail Filter software in conjunction with >virus detection software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From Erwin.Craps at ithelps.be Thu Nov 20 12:19:31 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 19:19:31 +0100 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <46B976F2B698FF46A4FE7636509B22DF6DD4@stekelbes.ithelps.local> Yes, I have them for 3 or 4 years now. Highly advisable and much cheaper than regular licenses. But, Only for dealers, resellers, etx Not everything is included. The ODE's, .NET, are for example not included. It's Office, Windows OS's, SQL, Exchange server, ISA server, that kind of stuff. At least in the Belgian version. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Steven W. Erbach Verzonden: donderdag 20 november 2003 16:48 Aan: Access Developers discussion and problem solving Onderwerp: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack/actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Nov 20 12:20:44 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 13:20:44 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F8DF@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, If I were a VB6 programmer I probably would have attacked this problem ages ago. Since I'm not I don't routinely build DLLs. All I know is that when I try to use VBEErrorHandler I have to open the run dialog, and paste in a line of code that causes it to be registered. Thinking about it in that light, I have to assume I could run that same line of code in a batch file, properly modified with the name of the dll to register? Assuming that it doesn't annoy the user with an error message the 2nd and subsequent times I register it (the user runs the "download my app" batch file every morning) then it would be easy enough to start using something like redemption. In the end, inertia is the reason I don't (I've been reading Isaac Asimov's Physics book). If an object is at rest (Me re dlls) it takes an external force to put it in motion. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, November 20, 2003 11:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... There seems to be some stigma about using COM components with Access apps. I do it all the time for a number of reasons: 1. Keeps the db size smaller by moving large code blocks into the COM object 2. Compiled code is more secure 3. Compiled code runs faster 4. The COM object is a great way to store and reuse common libraries (no files to move around, no copy/paste of code) 5. I can use functionality that may not be a part of A97 (in my case) such as providing enums to functions or use of Interfaces 6. Copying and registering an ActiveX DLL is easy and simple. 7. I can even reuse certain functionality in web apps via ASP (my DataGrabber -name changed to protect the innocent- can be used in Access, VB, ASP or any COM compliant application). I guess if I keep going I could do a "Jim's Top Ten reasons To Use COM"! Jim DeMarco Director Product Development Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 20 12:21:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 10:21:24 -0800 Subject: [AccessD] Poll: How many versions of Access areyourunningononemachine? XPosted Message-ID: Ah, I see. We create full blown installers, so we can install and register anything we need. We never just copy files, since we have no control and no way of knowing what operating system or anything else will be on the target machine. However, it wouldn't be hard to copy the dll and run regsvr32 in your batch file to register it. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 10:06 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access areyourunningononemachine? XPosted Charlotte, >Since we install our applications on user systems, it hardly seems >valid to quibble about installing the Redemption dll as well. The problem with that argument is that I don't use runtimes. Thus an "install" is nothing more than running a batch file that builds a directory, downloads my framework to the windows dir and the app to it's dir, then starts the app. Installing a dll means registering it (doesn't it?). If I could simply copy it somewhere and use it I would quiet my complaints considerably. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 20, 2003 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my dev machine. Thus XP on one, 2K on another. And I > am NOT happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 20 12:23:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 20 Nov 2003 10:23:30 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: It doesn't affect security, Marty. It uses Extended MAPI, which isn't subject to the security problems with MAPI, so the calls don't trigger the security flags. MAPI is where all the security holes have been found. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, November 20, 2003 10:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Redemption DLL WAS: Poll: How many versions... One big issue , you might have to deal with, is the wild rolling of the eyes of network guys when you suggest installing a dll affecting security that has not recieved an imperitur from the local potentate. especially on locked down networks. Brett Barabash wrote: >OK, I give up. >What's the big issue with installing a COM component on a user's >machine? > >And a better question: >If you don't use the redemption DLL, how do you bypass the security >dialog? Or do you use the line a tech consulting firm recently handed >us: "The email warning dialog is for your protection. It can't be >bypassed" Uh huh... > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Thursday, November 20, 2003 6:05 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Poll: How many versions of Access are you >runningononemachine? XPosted > > >Stuart, > >The same reason I don't use it. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >Sanders >Sent: Wednesday, November 19, 2003 11:06 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Poll: How many versions of Access are you running >ononemachine? XPosted > > >I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP >for email currently, but don't use automation. > >I had considered giving this a look: http://www.dimastr.com/redemption/ > >Which supposedly works around the security patch, but is a com >component which needs to be installed on systems. > >Stuart > > > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. >>Colby >>Sent: Thursday, 20 November, 2003 10:23 AM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Poll: How many versions of Access are you >>running onone machine? XPosted >> >> >>I have Access97 and A2K on one machine, and AXP on another. >> >>I use Outlook automation to send email and the SP3 for Office2K breaks >> >> > > > >>outlook automation such that it asks for permission for every email >>sent. SP3 fixed the screwup where XP breaks 2K but I simply can't >>install it on my >>dev machine. Thus XP on one, 2K on another. And I am NOT >>happy to have to >>do that! >> >>John W. Colby >>www.ColbyConsulting.com >> >> >> > >----------------------------------------------------------------------- >--------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual sender, >except where the sender specifies and with authority, states them to be >the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed by >SurfControl E-mail Filter software in conjunction with virus detection >software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 20 12:24:06 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 20 Nov 2003 19:24:06 +0100 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <46B976F2B698FF46A4FE7636509B22DF7264@stekelbes.ithelps.local> If I understand well, you are only allowed to use the soft during a period of 1 year and then you need to renew your action pack. As I already responded. I never had a ODE in my action pack. Only ting I ever had was Visual Interdev (I believe).. Always purchased seperately ODE and VB and .NET. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust Verzonden: donderdag 20 november 2003 17:44 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Slightly OT: Microsoft ActionPack Not to my knowledge. We still have individual licenses for Office Developer on each of our machines. It does allow you to run all the various apps as test platforms, though. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, November 20, 2003 8:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jack, >> We are on our second year of Action Pack and it is worth every penny! >> << I can well believe it. What I'm interested in is if it allows a developer to distribute Runtime Access applications. Any idea on that? Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Nov 20 13:39:43 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 20 Nov 2003 13:39:43 -0600 Subject: [AccessD] A2K / AXP: Indirect Replication Message-ID: <20031120133943.1361225605.serbach@new.rr.com> David, Thanks for the reply! I'm beginning to think that no one on the face of the planet has ever done FTP Indirect Synchronization. I'm trying to make sense of the TSI Synchronizer since it says that it will handle indirect synchronization. Nothing for it but to slog through it, I guess. I'll try to keep notes. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From martyconnelly at shaw.ca Thu Nov 20 14:32:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Nov 2003 12:32:32 -0800 Subject: [AccessD] Infopath and One Note References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> Message-ID: <3FBD24E0.3030004@shaw.ca> Where this is leading, I am not sure but here are some things, you can do with InfoPath. --------- Here is one way of getting speed out of xml files try using with InfoPath If the methods are followed you may get a retrieval time 10 times that of SQL Creating an In-Memory Database Using XML and XPath -- Part 2 http://www.15seconds.com/Issue/010410.htm?voteresult=5 ---------- downloaded the InfoPath SDK, and try to use the ADO sample form and access database that MS has provided. However, one caveat that messed me up If you search inside manifest.xsf you will see that the reference to Infnwind.mdb is relative. So the published form template expects to find Infnwind.mdb in the same directory as you published the form template to. But the Access database isn't there. If you copy it there your problem should be solved. Copy Infnwind.mdb to the shared folder. InfoPath SDK http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en --- Try viewing the .xsn or .mht file in IE. ------- You should be able to access web services from InfoPath. ------- Gustav Brock wrote: >Hi Martin > >I agree with Charlotte - he makes it sound like InfoPath is a >no-product? > >And this scares me: > > > >>.. If you are not familiar with relational databases and tools like >>Access, then InfoPath is a tool to consider if your business is starting >>to adopt XML as a transport mechanism between business processes. >> >> > >I mean, if you are not familiar with relational databases, you don't >know about a relational structure and, thus, you should stay away from >even thinking of transferring data by any means including XML as you >don't have a chance to know what you are doing. > >Of course, you can move around with a Word document saved as XML but >that has little to do with moving data between business processes. > >/gustav > > > >> >> >> > > > >>I try to dispel the marketing hype around InfoPath for the Access developer. >>I've yet to see an InfoPath >>scenario that couldn't be solved quicker with Access 2003 and its new >>XML features. If you are not familiar with relational databases and tools >>like >>Access, then InfoPath is a tool to consider if your business is starting >>to adopt XML as a transport mechanism between business processes. >> If you live in a world of ODBC and OLEDB for moving data within your >>organization - and it's working - why mess with a good thing. On the >>other hand, if you are struggling with ways to send that data through >>your firewall to your business partners/customers, XML works really >>well, because text doesn't get hung up in the process. With that said, >>Access is an excellent tool for exporting relational data as XML and >>importing XML from other sources. >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Thu Nov 20 16:13:36 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 08:13:36 +1000 Subject: [AccessD] Poll: How many versions of Access are you running onone machine? XPosted In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CED6@stekelbes.ithelps.local> Message-ID: <3FBDC930.21849.2C2518@localhost> On 20 Nov 2003 at 15:54, Erwin Craps wrote: > A2.0 Oh my god... > > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. > > No real apps where developed in 1,0 ot 1,1 so that should really not > exists anymore... > Exsqueese me. I built a "real app" in 1.1 in 1993 :-) My first foray into Access after quite a few years of Dataflex - what a mind bender :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at optusnet.com.au Thu Nov 20 16:57:38 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 09:57:38 +1100 Subject: [AccessD] OT Excel event proc Urgent Message-ID: <000a01c3afb9$b26cef40$6401a8c0@user> Hi all - apologies for posting an Excel question - (I'm desperate now). I am writing an Excel app for a client and finding my way through the events in Excel vs. Access. I have 3 combo box controls on the worksheet. When the user changes data in any of the 3, I want to construct a code based on the 1st digit of the data in each combo. I have spent may hours playing with the Worksheet_change event, but I now realise that that does not fire when data changes in a form control (in the combo anyway). What event can I use which will fire when the user makes a selection in the combo box? Thanks - running out of time. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From SDSSoftware at optusnet.com.au Thu Nov 20 17:00:54 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 10:00:54 +1100 Subject: [AccessD] Re: OT Excel event proc Urgent Message-ID: <001501c3afba$26f27e70$6401a8c0@user> OK - just worked it out. (Assign macro etc.) ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Friday, November 21, 2003 9:57 AM Subject: OT Excel event proc Urgent Hi all - apologies for posting an Excel question - (I'm desperate now). I am writing an Excel app for a client and finding my way through the events in Excel vs. Access. I have 3 combo box controls on the worksheet. When the user changes data in any of the 3, I want to construct a code based on the 1st digit of the data in each combo. I have spent may hours playing with the Worksheet_change event, but I now realise that that does not fire when data changes in a form control (in the combo anyway). What event can I use which will fire when the user makes a selection in the combo box? Thanks - running out of time. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From SDSSoftware at optusnet.com.au Thu Nov 20 17:38:07 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 10:38:07 +1100 Subject: [AccessD] OT Excel refer to form control Message-ID: <002401c3afbf$5a1f4940$6401a8c0@user> Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From jimdettman at earthlink.net Thu Nov 20 17:40:30 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Nov 2003 18:40:30 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <20031120113550.1992730160.serbach@new.rr.com> Message-ID: Steve, <> As I said, the Action Pack is geared towards marketing and sales. It's a different focus. The only reason software is in there is to help you explore new areas of technology. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 12:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Nov 20 17:55:30 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 20 Nov 2003 17:55:30 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE166@TAPPEEXCH01> > What is that "something" that is no big deal? Copy the DLL to the machine (by convention winnt\system32, but you can put it anywhere you want) and regsvr32 . You can do this from a command line, or in a batch file (in which case I would use the /s switch with regsvr32 to supress the confirmation msgbox). Alternatively, you can use the setup.exe that comes with the Redemption DLL to install it. Either way, no big deal. >I bypassing it by not installing the service pack that turns it on. (A2K) Not installing a security service pack to stop malicious VBScript code from propogating viruses IS a big deal. Are you advising your clients not to install security patches so your email code will work? -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... >What's the big issue with installing a COM component on a user's machine? The big issue is I don't use an installer, nor a runtime. Thus I have to do "something" (unexplained) to get it installed on that machine. What is that "something" that is no big deal? >If you don't use the redemption DLL, how do you bypass the security dialog? I bypassing it by not installing the service pack that turns it on. (A2K) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jcolby at colbyconsulting.com Thu Nov 20 18:20:10 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 19:20:10 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE166@TAPPEEXCH01> Message-ID: >Not installing a security service pack to stop malicious VBScript code from propagating viruses IS a big deal. So in other words, its quite ok to run vbscripts that trash the client, format hard disks etc. as long as you don't propagate it? How silly does that sound? >Are you advising your clients not to install security patches so your email code will work? Turning on SP3 doesn't prevent code (viruses) from running, it causes a stupid box to pop up IF a mail tries to go out that is caused by code. BIG DIFFERENCE. IOW, it makes NO attempt to stop viruses, it simply attempts to protect Microsoft's ass from lawsuits when a virus sends email. As long as the virus doesn't send email, hey, do whatever you want. My code is NOT a virus. I wrote it at the request of my client. To allow viruses to run (vb code) but prevent my valid code from mailing out is simply ludicrous, stupid, silly, and finally, fu*king irritating. So no, I'm advising my client to run virus checkers to stop viruses (hmmm... that's even what they're CALLED!), and yes, I'm advising my client not to install a stupid, silly, ludicrous and finally, fuc*ing irritating POS service patch that is nothing more than an attempt by Microsoft to protect THEMSELVES at MY expense. Uhh... did I make my position clear? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 6:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > What is that "something" that is no big deal? Copy the DLL to the machine (by convention winnt\system32, but you can put it anywhere you want) and regsvr32 . You can do this from a command line, or in a batch file (in which case I would use the /s switch with regsvr32 to supress the confirmation msgbox). Alternatively, you can use the setup.exe that comes with the Redemption DLL to install it. Either way, no big deal. >I bypassing it by not installing the service pack that turns it on. (A2K) Not installing a security service pack to stop malicious VBScript code from propogating viruses IS a big deal. Are you advising your clients not to install security patches so your email code will work? -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... >What's the big issue with installing a COM component on a user's machine? The big issue is I don't use an installer, nor a runtime. Thus I have to do "something" (unexplained) to get it installed on that machine. What is that "something" that is no big deal? >If you don't use the redemption DLL, how do you bypass the security dialog? I bypassing it by not installing the service pack that turns it on. (A2K) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, November 20, 2003 11:39 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... OK, I give up. What's the big issue with installing a COM component on a user's machine? And a better question: If you don't use the redemption DLL, how do you bypass the security dialog? Or do you use the line a tech consulting firm recently handed us: "The email warning dialog is for your protection. It can't be bypassed" Uh huh... -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection 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 ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ 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 Nov 20 18:32:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 10:32:00 +1000 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE166@TAPPEEXCH01> Message-ID: <3FBDE9A0.16070.BC492@localhost> On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > I'm with JC 100% on this one. The "security" patch is not about stopping viruses from infecting machines. It's not about stopping viruses from causing damage. It's not about stopiing viruses from doing anything. It's about stopping the perfectly legitimate function of interprocess communication which is supposed at the heart of the MS software suite paradigm. It's a half-witted attempt at arse covering by MS which has the side effect of destroying the functionality of many existing applications. Yes I am advising my clients not to instal it. (At least the ones who don't heed my other advice to use non-MS email programs. My Pegasus/Mercury using clients don't have to worry about it at all ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Thu Nov 20 19:40:08 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 20 Nov 2003 20:40:08 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <3FBDE9A0.16070.BC492@localhost> Message-ID: Stuart, I personally don't say it has no place in the world. The unfortunate reality is that there are millions of machines out there used by individuals in their homes (or small office) who are too ignorant to run virus checkers. THESE users should indeed install the service patch so that they only screw up their own machines when the virus hits them. It simply has no place in a business where they should be running AV software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, November 20, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > I'm with JC 100% on this one. The "security" patch is not about stopping viruses from infecting machines. It's not about stopping viruses from causing damage. It's not about stopiing viruses from doing anything. It's about stopping the perfectly legitimate function of interprocess communication which is supposed at the heart of the MS software suite paradigm. It's a half-witted attempt at arse covering by MS which has the side effect of destroying the functionality of many existing applications. Yes I am advising my clients not to instal it. (At least the ones who don't heed my other advice to use non-MS email programs. My Pegasus/Mercury using clients don't have to worry about it at all ) -- 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 jmhla at earthlink.net Thu Nov 20 20:29:16 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Thu, 20 Nov 2003 18:29:16 -0800 Subject: [AccessD] POLL: Access Security In-Reply-To: Message-ID: <000801c3afd7$47b9e360$fda8a8c0@delllaptop> John Put me in group 4 Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, November 12, 2003 5:00 PM To: AccessD Subject: [AccessD] POLL: Access Security I'd like to take a poll regarding your knowledge of Access' built-in security. By security I do NOT mean the database properties, rather using workgroups / users to secure forms, tables, queries etc. Anyone interested in participating please choose one of the following: 1) I am an Access security guru. I can quickly and easily lock a database down so tight I can't even get back in. No help / books needed. 2) I am fluent with Access security. I can get the job done but it definitely takes a few hours. I probably won't need the help / books. 3) I have done Access Security on at least one real paying project. I would need help / books to do it again. 4) I have heard about Access Security, read about it, managed to shoot a toe off, maybe played around with it, but I am confident I could get the job done. Books / help definitly needed. 5) Access has built in security? What is this and where would I go to learn it? Why haven't I ever seen these books / help? If you would please just select a number and reply I would appreciate it. As for myself, I must admit I rate a solid 4. No client has ever been willing to pay for it and I have always had other things to learn / do so I just never did it (for real). John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Thu Nov 20 22:10:40 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 21 Nov 2003 12:10:40 +0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: <005701c3afe5$6d8d8a70$5100a8c0@BITSNB02> > -----Original Message----- > OK, I give up. > What's the big issue with installing a COM component on a > user's machine? I generally avoid installing extra dlls except where absolutely necessary because of past dll problems. Particularly with Microsofts standard controls that some other app would install another version that broke what I was doing. "One bitten twice shy" In most cases I don't need other components at runtime. (there are some exceptions ... See below for one) > And a better question: > If you don't use the redemption DLL, how do you bypass the > security dialog? > Or do you use the line a tech consulting firm recently handed > us: "The email > warning dialog is for your protection. It can't be bypassed" > Uh huh... OK a separate question from me. What do YOU do when a client refuses to use Microsoft Outlook or Outlook Express because of security concerns? Redemption isn't going to be useful for you then. I have clients like that, so tried to adopt an agnostic solution that could be used across the board. Initially I wrote a small smtp engine in vba, then ended up using a free 3rd party smtp control. So as a separate answer to your first question, I do use other com controls, but sparingly. The reason I'm now considering looking at redemption is not for email per se, but for integration into outlook (email, contacts, meetings etc) for a medium term project I'm working on, and redemption looks like a good place to start. This would then force the use of outlook, which limits it a bit. Since I do currently use outlook, a nice bonus would be that I could hook my internal systems into redemption for emailing statements and so on, and I plan to use the developer version of the control for that when I have some time. Regards Stuart From john at winhaven.net Thu Nov 20 22:54:13 2003 From: john at winhaven.net (John Bartow) Date: Thu, 20 Nov 2003 22:54:13 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: Message-ID: JC, I'm trying to read between the lines here but I'm not quite sure of what you're trying to say. Are you implying that Microsoft would do something techically simple to address a complicated problem for the sake of public image?! Please clarify this. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 20, 2003 6:20 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > >Not installing a security service pack to stop malicious > VBScript code from > propagating viruses IS a big deal. > > So in other words, its quite ok to run vbscripts that trash the client, > format hard disks etc. as long as you don't propagate it? How silly does > that sound? > > >Are you advising your clients not to install security patches so > your email > code will work? > > Turning on SP3 doesn't prevent code (viruses) from running, it causes a > stupid box to pop up IF a mail tries to go out that is caused by > code. BIG > DIFFERENCE. IOW, it makes NO attempt to stop viruses, it simply > attempts to > protect Microsoft's ass from lawsuits when a virus sends email. > As long as > the virus doesn't send email, hey, do whatever you want. > > My code is NOT a virus. I wrote it at the request of my client. To allow > viruses to run (vb code) but prevent my valid code from mailing out is > simply ludicrous, stupid, silly, and finally, fu*king irritating. > > So no, I'm advising my client to run virus checkers to stop > viruses (hmmm... > that's even what they're CALLED!), and yes, I'm advising my client not to > install a stupid, silly, ludicrous and finally, fuc*ing irritating POS > service patch that is nothing more than an attempt by Microsoft to protect > THEMSELVES at MY expense. > > Uhh... did I make my position clear? > > > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Thursday, November 20, 2003 6:56 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > > What is that "something" that is no big deal? > Copy the DLL to the machine (by convention winnt\system32, but you can put > it anywhere you want) and regsvr32 . You can do this from a > command line, or in a batch file (in which case I would use the /s switch > with regsvr32 to supress the confirmation msgbox). > Alternatively, you can use the setup.exe that comes with the > Redemption DLL > to install it. > Either way, no big deal. > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript > code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, November 20, 2003 12:14 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > >What's the big issue with installing a COM component on a user's machine? > > The big issue is I don't use an installer, nor a runtime. Thus I > have to do > "something" (unexplained) to get it installed on that machine. > What is that > "something" that is no big deal? > > >If you don't use the redemption DLL, how do you bypass the > security dialog? > > I bypassing it by not installing the service pack that turns it on. (A2K) > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Thursday, November 20, 2003 11:39 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > OK, I give up. > What's the big issue with installing a COM component on a user's machine? > > And a better question: > If you don't use the redemption DLL, how do you bypass the > security dialog? > Or do you use the line a tech consulting firm recently handed us: > "The email > warning dialog is for your protection. It can't be bypassed" Uh huh... > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, November 20, 2003 6:05 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > runningononemachine? XPosted > > > Stuart, > > The same reason I don't use it. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders > Sent: Wednesday, November 19, 2003 11:06 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Poll: How many versions of Access are you running > ononemachine? XPosted > > > I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP > for email currently, but don't use automation. > > I had considered giving this a look: http://www.dimastr.com/redemption/ > > Which supposedly works around the security patch, but is a com component > which needs to be installed on systems. > > Stuart > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: Thursday, 20 November, 2003 10:23 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Poll: How many versions of Access are you > > running onone machine? XPosted > > > > > > I have Access97 and A2K on one machine, and AXP on another. > > > > I use Outlook automation to send email and the SP3 for Office2K breaks > > > outlook automation such that it asks for permission for every email > > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > > install it on my > > dev machine. Thus XP on one, 2K on another. And I am NOT > > happy to have to > > do that! > > > > John W. Colby > > www.ColbyConsulting.com > > > > ------------------------------------------------------------------ > ---------- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection 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 > > ------------------------------------------------------------------ > ---------- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection 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 stuart at lexacorp.com.pg Thu Nov 20 22:59:24 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 14:59:24 +1000 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <005701c3afe5$6d8d8a70$5100a8c0@BITSNB02> References: <426071E0B0A6D311B3C0006008B0AB23AFE15B@TAPPEEXCH01> Message-ID: <3FBE284C.17027.B06CF@localhost> On 21 Nov 2003 at 12:10, Stuart Sanders wrote: > > OK a separate question from me. What do YOU do when a client refuses to use > Microsoft Outlook or Outlook Express because of security concerns? Personally, I say "Congratulations - that's a very sensible attitude" and then use Simple MAPI, BLAT or one of my "self-rolled" solutions often a *real* dll built in PowerBasic. Real dlls don't need registering. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Nov 20 23:07:06 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Nov 2003 15:07:06 +1000 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: References: <3FBDE9A0.16070.BC492@localhost> Message-ID: <3FBE2A1A.16609.121514@localhost> On 20 Nov 2003 at 20:40, John W. Colby wrote: > Stuart, > > I personally don't say it has no place in the world. The unfortunate > reality is that there are millions of machines out there used by individuals > in their homes (or small office) who are too ignorant to run virus checkers. > THESE users should indeed install the service patch so that they only screw > up their own machines when the virus hits them. It simply has no place in a > business where they should be running AV software. > Which brings us on to another question, prompted recently by a client. What is your option on running anti-virus software on network servers? (Assuming that you do run on-access scanning software on the workstations) Note: X-posted to All follow ups to that list only. Please! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at optusnet.com.au Thu Nov 20 23:24:25 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 16:24:25 +1100 Subject: [AccessD] OT: Excel input range Message-ID: <000a01c3afef$bacdcd40$6401a8c0@user> After a long day battling my way through this Excel development I am signing off for now but in case any Excel gurus have the time, could you answer this: On an Excel s/sheet I have 3 combos (created with the form control). I have nominated an input range for each (on a separate sheet). Depending on the choice the user makes in Combo 1 and Combo 2, I need to modify the range for Combo 3. What's the best way in Excel? I see on lots of internet samples that quite often people set up range after range of values and nominate one or the other as the appropriate range when the combos change, but surely there is a more efficient way?? I have fairly simple rules from the client and I think that I should be able to set up a grid /range of cells which hold my criteria. I can post sample data if anyone thinks they can help. Thanks everyone - and apologies for the Excel posts (I am also posting to Excel sites but no luck yet). Have a great w/end. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au From stuart at pacific.net.hk Fri Nov 21 00:24:48 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 21 Nov 2003 14:24:48 +0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <3FBDE9A0.16070.BC492@localhost> Message-ID: The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which > has the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 martyconnelly at shaw.ca Fri Nov 21 01:39:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Nov 2003 23:39:18 -0800 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] References: <3FBDE9A0.16070.BC492@localhost> <3FBE2A1A.16609.121514@localhost> Message-ID: <3FBDC126.5010004@shaw.ca> Depends on what file extensions are scanned on a network server. I keep a special stick to poke network guys who insist on scanning ldb and mdb file types among others. Scanning a 300MB file on-access can bring things to a grinding halt. Stuart McLachlan wrote: >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > >>Stuart, >> >>I personally don't say it has no place in the world. The unfortunate >>reality is that there are millions of machines out there used by individuals >>in their homes (or small office) who are too ignorant to run virus checkers. >>THESE users should indeed install the service patch so that they only screw >>up their own machines when the virus hits them. It simply has no place in a >>business where they should be running AV software. >> >> >> > >Which brings us on to another question, prompted recently by a >client. > >What is your option on running anti-virus software on network >servers? >(Assuming that you do run on-access scanning software on the >workstations) > >Note: >X-posted to >All follow ups to that list only. Please! > > > > > > -- Marty Connelly Victoria, B.C. Canada From Alun.Garraway at otto.de Fri Nov 21 02:35:25 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 21 Nov 2003 09:35:25 +0100 Subject: AW: [AccessD] OT Excel refer to form control Message-ID: hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Fri Nov 21 02:46:24 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 19:46:24 +1100 Subject: [AccessD] OT Excel refer to form control References: Message-ID: <000b01c3b00b$f23a9440$6401a8c0@user> Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 21 02:54:11 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 21 Nov 2003 09:54:11 +0100 Subject: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEDA@stekelbes.ithelps.local> Aha, Stuart, I hereby wish to officialy declare you as the first ever serious developer using Access as a development platform. (This until someone else shows up claiming this title :-) Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, November 20, 2003 11:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted On 20 Nov 2003 at 15:54, Erwin Craps wrote: > A2.0 Oh my god... > > I wonder if anyone has 2.0, 95, 97, 2K, 2K2, 2K3 on the same desktop. > > No real apps where developed in 1,0 ot 1,1 so that should really not > exists anymore... > Exsqueese me. I built a "real app" in 1.1 in 1993 :-) My first foray into Access after quite a few years of Dataflex - what a mind bender :-) -- 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 Erwin.Craps at ithelps.be Fri Nov 21 03:04:22 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 21 Nov 2003 10:04:22 +0100 Subject: [AccessD] Slightly OT: Microsoft ActionPack Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Action pack is not solely to sales and marketing, but apart from the OS software it also includes demo's and sales/marketing tools. It's ment for the typical dealer/reseller/network integrator and not for the developer. Does the MSDN includes OS software like Exchange server, Isa Server, SQL server, Small Business server etc? I believe MSDN is more expensive too? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, November 21, 2003 12:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Steve, <> As I said, the Action Pack is geared towards marketing and sales. It's a different focus. The only reason software is in there is to help you explore new areas of technology. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 12:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying >> the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 21 10:05:54 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 21 Nov 2003 10:05:54 (MET) Subject: [AccessD] Message-ID: <200311210905.hAL95sEU029814@mailhostC.plex.net> Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen From stuart at pacific.net.hk Fri Nov 21 03:10:28 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 21 Nov 2003 17:10:28 +0800 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Message-ID: <007301c3b00f$4f7791a0$5100a8c0@BITSNB02> Erwin is correct :) The official blurb from Microsoft on my local MS site is: "The Microsoft Action Pack Subscription is restricted to resellers, consultants, value-added resellers, value-added providers, system integrators, developers, system builders, hosts, service providers, and IT professionals who sell Microsoft products or provide solutions based on Microsoft products and technologies to third-party customers." See ... They do include developers there :) But alas, as someone pointed out it doesn't come with the developers edition of office. That said, it is still a very good price, and I am on my 2nd year of using it. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > Sent: Friday, 21 November, 2003 5:04 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Action pack is not solely to sales and marketing, but apart > from the OS software it also includes demo's and > sales/marketing tools. > It's ment for the typical dealer/reseller/network integrator > and not for the developer. > > Does the MSDN includes OS software like Exchange server, Isa > Server, SQL server, Small Business server etc? > > I believe MSDN is more expensive too? > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, November 21, 2003 12:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > Steve, > > < MSDN Universal includes everything. Why would you want the > Action Pack?>> > > As I said, the Action Pack is geared towards marketing and > sales. It's a different focus. The only reason software is > in there is to help you explore new areas of technology. > > 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 Steven W. > Erbach > Sent: Thursday, November 20, 2003 12:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Jim, > > >> I've been on it a little over two years. ?I have a MSDN Universal > subscription as well. << > > If you don't mind my saying so, I find that a bit curious. > MSDN Universal includes everything. Why would you want the > Action Pack? > > >> And to answer your question, no because technically your > not buying > >> the > Developers Edition and the license to distribute. Could you? > Yes. What Microsoft care? Probably not. << > > Thanks for the interp. > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this > message. However, several coulombs of electrons were > temporarily inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Alun.Garraway at otto.de Fri Nov 21 03:06:36 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 21 Nov 2003 10:06:36 +0100 Subject: AW: [AccessD] OT Excel refer to form control Message-ID: ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 21 10:58:34 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 21 Nov 2003 10:58:34 (MET) Subject: [AccessD] single label; was subject "blank" Message-ID: <200311210958.hAL9wYEU002289@mailhostC.plex.net> Sorry i forgot the subject > Hello group, > > i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. > > for example > > i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 > > "labelsheet" > > cmd1 cmd2 cmd3 > > cmd4 cmd5 cmd6 > > > TIA > > Pedro Janssen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Fri Nov 21 04:13:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Nov 2003 11:13:07 +0100 Subject: [AccessD] Infopath and One Note In-Reply-To: <3FBD24E0.3030004@shaw.ca> References: <20031120080111.64718.qmail@web60204.mail.yahoo.com> <000901c3af43$e615e4d0$9111758f@aine> <1032127787.20031120175014@cactus.dk> <3FBD24E0.3030004@shaw.ca> Message-ID: <1027776982.20031121111307@cactus.dk> Thanks Marty, I will study these links closer. /gustav > Where this is leading, I am not sure but here are some things, you can > do with InfoPath. > --------- > Here is one way of getting speed out of xml files try using with InfoPath > If the methods are followed you may get a retrieval time 10 times that > of SQL > Creating an In-Memory Database Using XML and XPath -- Part 2 > http://www.15seconds.com/Issue/010410.htm?voteresult=5 > ---------- > downloaded the InfoPath SDK, and try to use the ADO sample form and > access database that MS has provided. > However, one caveat that messed me up > If you search inside manifest.xsf you will see that the reference to > Infnwind.mdb is relative. So the published form template expects to find > Infnwind.mdb in the same directory as you published the form template > to. But the Access database isn't there. If you copy it there your > problem should be solved. Copy Infnwind.mdb to the shared folder. > InfoPath SDK > http://www.microsoft.com/downloads/details.aspx?familyid=351f0616-93aa-4fe8-9238-d702f1bfbab4&displaylang=en > --- > Try viewing the .xsn or .mht file in IE. > ------- > You should be able to access web services from InfoPath. > ------- From Tim.Pain at sc.akzonobel.com Fri Nov 21 04:34:53 2003 From: Tim.Pain at sc.akzonobel.com (Pain, T. (Tim)) Date: Fri, 21 Nov 2003 10:34:53 -0000 Subject: [AccessD] Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6AAD358@lbrn12.d20.intra> Have a look at http://www.peterssoftware.com/ls.htm Tim -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: 21 November 2003 10:06 To: AccessD at databaseadvisors.com Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Nov 21 04:47:22 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 21 Nov 2003 11:47:22 +0100 Subject: [AccessD] Message-ID: <20031121114719.11FD925EE7E@smithers.nildram.co.uk> A dead simple way that I use is to set up a temporary table with an Autonumber key, set the Label report's recordsource to the temp table sorted on the Autonumber, then when the user selects the starting position I write the appropriate number of blank records (one less than starting pos) to the temp table before writing the required address. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Date: 21/11/03 10:41 Have a look at http://www.peterssoftware.com/ls.htm Tim -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: 21 November 2003 10:06 To: AccessD at databaseadvisors.com Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 sent using UebiMiau 2.7.2 From SDSSoftware at optusnet.com.au Fri Nov 21 06:35:31 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 23:35:31 +1100 Subject: [AccessD] OT Excel refer to form control References: Message-ID: <000d01c3b02b$f3981ae0$6401a8c0@user> Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Fri Nov 21 06:52:56 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 21 Nov 2003 23:52:56 +1100 Subject: [AccessD] References: <200311210905.hAL95sEU029814@mailhostC.plex.net> Message-ID: <002101c3b02e$62ded220$6401a8c0@user> Hi Pedro - I had a very similar situation last year. My client was using a page of labels with 2 columns, 10 labels per column. The code below prompts the user for a label no and they enter the no. of the label they want to use, ie. 1 for 10 would print in the first column, and 11-20 print in the second column. Then by adjusting the height of the report header (section1) you can push the data down to the right place. It's a while since I wrote this and it looks like I had to create 2 reports to cater for the second column - the second report has a left margin of 11 cms. The code does force you to open the report in design mode to adjust the report header height, so you would have to distrubute as an mdb, not mde. But it works really well. HTH: code below - watch the wrap. Kath -------------------------------------- Private Sub PrintLabel_Click() Dim strerrormsg As String On Error GoTo Err_Handler Dim IntLabelNo As Integer, strMsg As String, Rptname As String Dim IntRptheight As Integer If Me.Dirty Then DoCmd.RunCommand acCmdSaveRecord End If Rptname = "RptClientLabel" 'Each cm is 567 twips in measurement strMsg = "Enter label no (from 1 to 10 for first column, and 10 to 20 for second column):" IntLabelNo = InputBox(Prompt:=strMsg, _ Title:="Client Labels", XPos:=2000, YPos:=2000) If IsNull(IntLabelNo) Or IntLabelNo = 0 Then MsgBox ("No label no selected"), vbOKOnly, "Reports" GoTo Normal_exit End If If IntLabelNo < 1 Or IntLabelNo > 20 Then MsgBox ("Label number can be from 1 to 20"), vbOKOnly, "Reports" GoTo Normal_exit End If If IntLabelNo > 10 Then Rptname = "RptClientLabelColumn2" 'push data to 2nd column IntLabelNo = IntLabelNo - 10 '11 become position 1, 12 becomes pos 2 etc. End If If IntLabelNo = 1 Then IntRptheight = 800 ElseIf IntLabelNo > 1 Then IntRptheight = ((IntLabelNo * 567) * 2.54) - 567 End If Application.Echo False If Rptname = "RptClientLabelColumn2" Then DoCmd.OpenReport "RptClientLabelColumn2", acViewDesign DoCmd.SelectObject acReport, "RptClientLabelColumn2" Reports!RptClientLabelColumn2.Section(1).Height = IntRptheight DoCmd.Save acReport, "RptClientLabelColumn2" DoCmd.close Application.Echo True DoCmd.OpenReport "RptClientLabelColumn2", acViewPreview, [ClientID] = Me.ClientID Else DoCmd.OpenReport "RptClientLabel", acViewDesign DoCmd.SelectObject acReport, "RptClientLabel" Reports!RptClientLabel.Section(1).Height = IntRptheight DoCmd.Save acReport, "RptClientLabel" DoCmd.close Application.Echo True DoCmd.OpenReport "Rptclientlabel", acViewPreview, [ClientID] = Me.ClientID End If Normal_exit: Application.Echo True DoCmd.SetWarnings True Exit Sub Err_Handler: Select Case Err.Number Case 13 Resume Normal_exit Case Else MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Select End Sub ----- Original Message ----- From: pedro at plex.nl To: AccessD at databaseadvisors.com Sent: Friday, November 21, 2003 10:05 AM Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Nov 21 07:28:13 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 21 Nov 2003 05:28:13 -0800 Subject: [AccessD] Change Default Printer Message-ID: <003101c3b033$50aa8900$6501a8c0@HAL9002> Dear List: I'm using the Print To Picture thingy to print reports to a PCX file so they can be dropped into a manual. Works pretty good. But one of my reports got it's default printer switched from the printer everything else goes to (a networked laser) to this 'print to picture' which is installed as a printer. Does anyone know how to change this back so that when I hit ctrl-P in the preview mode the printer dialog box comes up with the printer I want? MTIA, Rocky Smolin Beach Access Software From bchacc at san.rr.com Fri Nov 21 07:56:06 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 21 Nov 2003 05:56:06 -0800 Subject: [AccessD] Change Default Printer References: <003101c3b033$50aa8900$6501a8c0@HAL9002> Message-ID: <003701c3b037$35fdef30$6501a8c0@HAL9002> Never mind. It was simple. Just change the printer and save. Don't know why this had me so baffled last night. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Friday, November 21, 2003 5:28 AM Subject: [AccessD] Change Default Printer Dear List: I'm using the Print To Picture thingy to print reports to a PCX file so they can be dropped into a manual. Works pretty good. But one of my reports got it's default printer switched from the printer everything else goes to (a networked laser) to this 'print to picture' which is installed as a printer. Does anyone know how to change this back so that when I hit ctrl-P in the preview mode the printer dialog box comes up with the printer I want? 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 garykjos at hotmail.com Fri Nov 21 08:13:48 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 21 Nov 2003 08:13:48 -0600 Subject: [AccessD] Change Default Printer Message-ID: Because you worked too long. You need more breaks. ;-) Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Change Default Printer >Date: Fri, 21 Nov 2003 05:56:06 -0800 > >Never mind. It was simple. Just change the printer and save. Don't know >why this had me so baffled last night. > >Rocky > >----- Original Message ----- >From: "Rocky Smolin - Beach Access Software" >To: >Sent: Friday, November 21, 2003 5:28 AM >Subject: [AccessD] Change Default Printer > > >Dear List: > >I'm using the Print To Picture thingy to print reports to a PCX file so >they >can be dropped into a manual. Works pretty good. > >But one of my reports got it's default printer switched from the printer >everything else goes to (a networked laser) to this 'print to picture' >which >is installed as a printer. > >Does anyone know how to change this back so that when I hit ctrl-P in the >preview mode the printer dialog box comes up with the printer I want? > >MTIA, > >Rocky Smolin >Beach Access Software _________________________________________________________________ >From the hottest toys to tips on keeping fit this winter, you?ll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx From john at winhaven.net Fri Nov 21 09:31:39 2003 From: john at winhaven.net (John Bartow) Date: Fri, 21 Nov 2003 09:31:39 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <3FBDC126.5010004@shaw.ca> Message-ID: Oh, yes, there always have to have some people that overdo everything, beside scanning .mdb how about not allowing .zip extensions in email?! Then of course you have people who resort to changing the file extension on your zipped files to .txt and instructing the person on other end to change it back. That's good covenient security. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Friday, November 21, 2003 1:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Depends on what file extensions are scanned on a network server. I keep > a special stick to poke network guys who insist on scanning ldb and mdb > file types among others. Scanning a 300MB file on-access can bring > things to a grinding halt. > > Stuart McLachlan wrote: > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > >>Stuart, > >> > >>I personally don't say it has no place in the world. The unfortunate > >>reality is that there are millions of machines out there used > by individuals > >>in their homes (or small office) who are too ignorant to run > virus checkers. > >>THESE users should indeed install the service patch so that > they only screw > >>up their own machines when the virus hits them. It simply has > no place in a > >>business where they should be running AV software. > >> > >> > >> > > > >Which brings us on to another question, prompted recently by a > >client. > > > >What is your option on running anti-virus software on network > >servers? > >(Assuming that you do run on-access scanning software on the > >workstations) > > > >Note: > >X-posted to > >All follow ups to that list only. Please! > > > > > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Fri Nov 21 09:39:49 2003 From: john at winhaven.net (John Bartow) Date: Fri, 21 Nov 2003 09:39:49 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Message-ID: MSDN is expensive and it does include everything you've mentioned below. I've never subscribed to the MS Action Pack but what you get with MSDN depends on the subscription level. I do believe with Universal you recieve everything MS churns out (other than games). I know I nearly had to hire an "MSDN librarian" to keep it all straight! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps > Sent: Friday, November 21, 2003 3:04 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Action pack is not solely to sales and marketing, but apart from > the OS software it also includes demo's and sales/marketing tools. > It's ment for the typical dealer/reseller/network integrator and > not for the developer. > > Does the MSDN includes OS software like Exchange server, Isa > Server, SQL server, Small Business server etc? > > I believe MSDN is more expensive too? > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, November 21, 2003 12:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > Steve, > > < Universal includes everything. Why would you want the Action Pack?>> > > As I said, the Action Pack is geared towards marketing and > sales. It's a different focus. The only reason software is in > there is to help you explore new areas of technology. > > 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 Steven W. > Erbach > Sent: Thursday, November 20, 2003 12:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Jim, > > >> I've been on it a little over two years. ?I have a MSDN Universal > subscription as well. << > > If you don't mind my saying so, I find that a bit curious. MSDN > Universal includes everything. Why would you want the Action Pack? > > >> And to answer your question, no because technically your not buying > >> the > Developers Edition and the license to distribute. Could you? > Yes. What Microsoft care? Probably not. << > > Thanks for the interp. > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this > message. However, several coulombs of electrons were temporarily > inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Jdemarco at hshhp.org Fri Nov 21 09:45:45 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 10:45:45 -0500 Subject: [AccessD] ADO 2.6 install Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99022B0978@TTNEXCHSRV1.hshhp.com> List, I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. TIA, Jim DeMarco Director Product Development Hudson Health Plan Tarrytown, NY *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ssharkins at bellsouth.net Fri Nov 21 09:48:47 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 21 Nov 2003 10:48:47 -0500 Subject: [AccessD] single label; was subject "blank" References: <200311210958.hAL9wYEU002289@mailhostC.plex.net> Message-ID: <005001c3b046$f90bdf50$210110ac@SUSANONE> You want to start printing labels or just one label at a specific label on the sheet of labels -- is that what you're asking? You say "the position on the report" so I'm not sure if I understand the exact problem. Susan H. > Sorry i forgot the subject > > > > > Hello group, > > > > i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. > > > > for example > > > > i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 > > > > "labelsheet" > > > > cmd1 cmd2 cmd3 > > > > cmd4 cmd5 cmd6 > > > > > > TIA > > > > Pedro Janssen > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 10:02:25 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 21 Nov 2003 09:02:25 -0700 Subject: [AccessD] IE 5.5 download Message-ID: Thank you Thank you. Seems 5.5 and up are the only versions that work with the new Alberta govt registry software. I was real concerned about having to upgrade all the Win 95 boxes to Win 98 because the big drives are 1.6 gigs and a few of the machines didin't have space for the size difference between 95 and 98 and I didn't want to be upgrading all the drives, even if 40 gig dirives are only about $50.00, I didn't want to have to look into bios upgrades and physically dismantling the machines. And then getting drivers for all the old hardware. At least we have high speed access and the LAN is good. This will be far less painful. Thank you Thank you. Hen >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] IE 5.5 download >Date: Wed, 19 Nov 2003 17:32:02 -0800 > >From the help desk at U Victoria , it says Win95 works with IE5.5SP2 >They only have the download installers which no longer work >but the help desk directs you to another site that has the downloads >from IE 1.0 to IE 5.5 SP2 thru IE 6.0 and there is a SDK as well >You may need IE 4 for Win 3.11 not sure >Bit of a large download 84 Meg >http://browsers.evolt.org/?ie/32bit > > > >Henry Simpson wrote: > >>IE 5.5 is no longer available from Microsoft as a download yet I have a >>client in the position of it becoming a minimum system requirement to >>access a new government registry formerly only accessible with Netscape. >>Regrettably the client boxes run Win 3.11 and Win 95 and neither OS meets >>the IE 6 minimum of Win 98. It seems there is a limitless supply of throw >>away computers and Win 95 licenses that will forever meet the client's >>needs and taste for Word Perfect 5. >> >>The Win 95 machines currently run IE 5.00.2314.1003 and I'm curious >>whether 5.5 can run on a 95 box and if there is any where a version can be >>obtained. The registries will cease hosting the version that supports >>Netscape as of December 1, 2003. >> >>By the way, the machines are rock, ok - sandstone, solid, provided I don't >>run Word, WordPerfect, Netscape and IE concurrently (Netscape tends to >>crash when all are loaded at once) and although there are obvious memory >>leaks in the OS (if the primary peer server isn't rebooted every 3 days, >>resources go below 30% and worse after a Netscape crash, so it is rebooted >>every morning). The Win 95 machines run an Access 2K FE and the Win 3 >>machines use Access 2. The fastest machine here runs a 233 AMD chip with >>64 megs. I'm almost shocked at how well it all works. >> >>Hen >> >> > >-- >Marty Connelly >Victoria, B.C. >Canada _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Alun.Garraway at otto.de Fri Nov 21 09:52:04 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 21 Nov 2003 16:52:04 +0100 Subject: AW: [AccessD] OT Excel refer to form control Message-ID: hi Kath I've now tried both types of comboboxs, no problems with loading data or passing value/text to variable. both have the change event. remember in excel each sheet is like a "module" that means if you have a combobox on sheet1 you have to go to the ide and select "Sheet1" in the project explorer, then select the object from the objectlist, with the combobox the change event is standard. then you can use var = me.combobox1.value ( or .text) example i sent u. if you want to get the value/text of the combobox from a module then you need something like this: Sub getit() Dim v As Variant Dim o As ComboBox Set o = ActiveWorkbook.Sheets(1).cbo2 v = o.Value Debug.Print v End Sub hth alun btw regarding your other problem the only solution i know is, as you said, to use different ranges depending on the selection. -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 13:36 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 21 10:26:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 11:26:17 -0500 Subject: [AccessD] ADO 2.6 install Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8F6@TTNEXCHSRV1.hshhp.com> Forget this. It looks like IS handled MDAC and related OLEDB drivers. Jim DeMarco -----Original Message----- From: Jim DeMarco Sent: Friday, November 21, 2003 10:46 AM To: AccessD (E-mail) Subject: [AccessD] ADO 2.6 install List, I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. TIA, Jim DeMarco Director Product Development Hudson Health Plan Tarrytown, NY *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Fri Nov 21 10:29:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Nov 2003 08:29:47 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which > has the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 martyconnelly at shaw.ca Fri Nov 21 11:04:16 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 21 Nov 2003 09:04:16 -0800 Subject: [AccessD] ADO 2.6 install References: <22F1CCD5171D17419CB37FEEE09D5F99022B0978@TTNEXCHSRV1.hshhp.com> Message-ID: <3FBE4590.8050704@shaw.ca> Some OS have a basic install of MDAC ie. WinXP has MDAC 2.7 To quote. http://www.microsoft.com/downloads/details.aspx?FamilyID=8e5f816c-4918-4250-b8bd-3794582c9089&DisplayLang=en "The MDAC 2.6 SP2 redistributable installer installs the same Data Access core components as Microsoft SQL Server 2000 SP2. This release does not include Microsoft Jet, the Microsoft Jet OLE DB Provider, the Desktop Database Drivers ODBC Driver, or the Visual FoxPro ODBC Driver." MDAC 2.6 was last one, able to be installed on Win95. To get these drivers I think you need MDAC 2.5 SP 3. This MDAC comes with Win 2000 SP-3. MDAC 2.5 SP-3 was last MDAC to contain total Jet 4.0 Install http://www.microsoft.com/downloads/details.aspx?FamilyID=c57692e9-dde7-4a60-b586-5d4fd6794db6&DisplayLang=en Here is manifest list for MDAC 2.5 SP3 http://support.microsoft.com/default.aspx?scid=/support/servicepacks/MDAC/2.5/SP3manifest.asp Just for interest sakes MDAC 2.0 was last one that installed Jet 3.0 or was it 3.5, but it is no longer available. You can still install it via Access 97 or VB6. There are some bugs with FoxPro Drivers that were fixed in Jet SP 5 or 6 that might affect you. So you would need Jet SP 7 or SP 8 upgrade depending on the OS If you want to get really carried away MDAC 2.8 has just been released. This handles a lot of security changes , you may have to modify security in IE if calling ado from there or if you have a space in a database name put within brackets. A lot of the gory details are at http://www.microsoft.com/data Jim DeMarco wrote: >List, > >I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. > >TIA, > >Jim DeMarco >Director Product Development >Hudson Health Plan >Tarrytown, NY > > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From Jdemarco at hshhp.org Fri Nov 21 11:14:55 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 12:14:55 -0500 Subject: [AccessD] ADO 2.6 install Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8F8@TTNEXCHSRV1.hshhp.com> Thanks Marty. Jim D -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, November 21, 2003 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO 2.6 install Some OS have a basic install of MDAC ie. WinXP has MDAC 2.7 To quote. http://www.microsoft.com/downloads/details.aspx?FamilyID=8e5f816c-4918-4250-b8bd-3794582c9089&DisplayLang=en "The MDAC 2.6 SP2 redistributable installer installs the same Data Access core components as Microsoft SQL Server 2000 SP2. This release does not include Microsoft Jet, the Microsoft Jet OLE DB Provider, the Desktop Database Drivers ODBC Driver, or the Visual FoxPro ODBC Driver." MDAC 2.6 was last one, able to be installed on Win95. To get these drivers I think you need MDAC 2.5 SP 3. This MDAC comes with Win 2000 SP-3. MDAC 2.5 SP-3 was last MDAC to contain total Jet 4.0 Install http://www.microsoft.com/downloads/details.aspx?FamilyID=c57692e9-dde7-4a60-b586-5d4fd6794db6&DisplayLang=en Here is manifest list for MDAC 2.5 SP3 http://support.microsoft.com/default.aspx?scid=/support/servicepacks/MDAC/2.5/SP3manifest.asp Just for interest sakes MDAC 2.0 was last one that installed Jet 3.0 or was it 3.5, but it is no longer available. You can still install it via Access 97 or VB6. There are some bugs with FoxPro Drivers that were fixed in Jet SP 5 or 6 that might affect you. So you would need Jet SP 7 or SP 8 upgrade depending on the OS If you want to get really carried away MDAC 2.8 has just been released. This handles a lot of security changes , you may have to modify security in IE if calling ado from there or if you have a space in a database name put within brackets. A lot of the gory details are at http://www.microsoft.com/data Jim DeMarco wrote: >List, > >I'm putting together an install for an app that will retrieve data from FoxPro, an mdb, and an Excel sheet. Will including ADO 2.6 in my install automatically install the OLEDB drivers for all of these or do I need to include MDAC as part of the install? Using InstallShield 4.0. > >TIA, > >Jim DeMarco >Director Product Development >Hudson Health Plan >Tarrytown, NY > > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From rfv at entelix.com Fri Nov 21 11:33:13 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Fri, 21 Nov 2003 11:33:13 -0600 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: Message-ID: <200311211733.hALHXQ624497@databaseadvisors.com> Check out the EMPOWER program. http://msdn.microsoft.com/ Rudolf -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Viernes, 21 de Noviembre de 2003 09:40 a.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack MSDN is expensive and it does include everything you've mentioned below. I've never subscribed to the MS Action Pack but what you get with MSDN depends on the subscription level. I do believe with Universal you recieve everything MS churns out (other than games). I know I nearly had to hire an "MSDN librarian" to keep it all straight! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps > Sent: Friday, November 21, 2003 3:04 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Action pack is not solely to sales and marketing, but apart from the > OS software it also includes demo's and sales/marketing tools. > It's ment for the typical dealer/reseller/network integrator and not > for the developer. > > Does the MSDN includes OS software like Exchange server, Isa Server, > SQL server, Small Business server etc? > > I believe MSDN is more expensive too? > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Friday, November 21, 2003 12:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > Steve, > > < Universal includes everything. Why would you want the Action Pack?>> > > As I said, the Action Pack is geared towards marketing and sales. > It's a different focus. The only reason software is in there is to > help you explore new areas of technology. > > 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 Steven W. > Erbach > Sent: Thursday, November 20, 2003 12:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack > > > Jim, > > >> I've been on it a little over two years. ?I have a MSDN Universal > subscription as well. << > > If you don't mind my saying so, I find that a bit curious. MSDN > Universal includes everything. Why would you want the Action Pack? > > >> And to answer your question, no because technically your not buying > >> the > Developers Edition and the license to distribute. Could you? > Yes. What Microsoft care? Probably not. << > > Thanks for the interp. > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this message. > However, several coulombs of electrons were temporarily > inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Nov 21 11:57:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 21 Nov 2003 10:57:51 -0700 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariable? Message-ID: <35110-2200311521175751944@christopherhawkins.com> I have inherited an application that uses the GetEnvironmentVariable API to identify a machine for purposes of authenticating that a certain application can be accessed from that machine. For those unfamiliar, here's the code that makes this call: ***START*** Declare Function GetEnvironmentVariable Lib "kernel32" Alias "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Function GetClientName() As String Dim strBuffer As String Dim iLenBuffer As Integer Dim retval As Integer On Error GoTo Err_GetClientName strBuffer = Space(255) iLenBuffer = 255 retval = GetEnvironmentVariable("CLIENTNAME", strBuffer, iLenBuffer) If Len(Trim(strBuffer)) <> 0 Then strBuffer = Left(strBuffer, Len(Trim(strBuffer)) - 1) Else ' probably no client name strBuffer = "" End If Exit_GetClientName: Exit Function Err_GetClientName: MsgBox Err.Description, , "Error in Function modUtil.GetClientName" Resume Exit_GetClientName Resume 0 ' .FOR TROUBLESHOOTING End Function ***END*** This has been working like a charm on Windows98 machines. We add the following line to AutoExec.bat: "SET CLIENTNAME=FOOBAR" And the API call returns the string "FOOBAR", every time without fail. Now my client is migrating all their machines to XP. Unfortunately, this same API call returns an empty string, or sometimes the string "Console". "OK," I think to myself. "XP doesn't really use AutoExec.bat, it uses AutoExec.NT. I'll set the ClientName in that file instead! But that does not work either. IThe fact that XP will return the string "Console" every so often made me think " Aha! On XP this API call is looking in the registry, not in a .bat file". So I searched the registry for every place where the string "Console" existed, and one by one replaced them with "FOOBAR" and re-ran the code. I still got nothing. If it was returning "Console" before, it returned "Console" again. if it returned empty string before, it returned empty string again. Then I wet to Control Panel > System > Advanced > Environment Variables and added a system variable named CLIENTNAME with a value of FOOBAR. That did not work either, and now I am out of ideas. Is there anyone who owns the API to the degree that they can tell me where exactly GetEnvironmentVariable is looking to get the value it returns? I am well and truly stumped. -Christopher- From gustav at cactus.dk Fri Nov 21 12:08:11 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Nov 2003 19:08:11 +0100 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariable? In-Reply-To: <35110-2200311521175751944@christopherhawkins.com> References: <35110-2200311521175751944@christopherhawkins.com> Message-ID: <8736280738.20031121190811@cactus.dk> Hi Christopher 1. Have you tried replacing that function with = Environ("CLIENTNAME") 2. Your problem may be due to missing rights for the login account. Have you tried running the app under the Administrator account? /gustav > I have inherited an application that uses the GetEnvironmentVariable > API to identify a machine for purposes of authenticating that a > certain application can be accessed from that machine. For those > unfamiliar, here's the code that makes this call: From Mark.Mitsules at ngc.com Fri Nov 21 12:08:38 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 21 Nov 2003 13:08:38 -0500 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariab le? Message-ID: If it is any "console"-ation, ;) someone else has faced your situation. Perhaps the reply to his question will provide something useful. Q. http://www.vbug.co.uk/vaspfaq/tsviewq.asp?ID=7755 A. http://www.vbug.co.uk/vaspfaq/tsviewa.asp?AID=7756&QID=7755 Mark -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, November 21, 2003 12:58 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariable? I have inherited an application that uses the GetEnvironmentVariable API to identify a machine for purposes of authenticating that a certain application can be accessed from that machine. For those unfamiliar, here's the code that makes this call: ***START*** Declare Function GetEnvironmentVariable Lib "kernel32" Alias "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Function GetClientName() As String Dim strBuffer As String Dim iLenBuffer As Integer Dim retval As Integer On Error GoTo Err_GetClientName strBuffer = Space(255) iLenBuffer = 255 retval = GetEnvironmentVariable("CLIENTNAME", strBuffer, iLenBuffer) If Len(Trim(strBuffer)) <> 0 Then strBuffer = Left(strBuffer, Len(Trim(strBuffer)) - 1) Else ' probably no client name strBuffer = "" End If Exit_GetClientName: Exit Function Err_GetClientName: MsgBox Err.Description, , "Error in Function modUtil.GetClientName" Resume Exit_GetClientName Resume 0 ' .FOR TROUBLESHOOTING End Function ***END*** This has been working like a charm on Windows98 machines. We add the following line to AutoExec.bat: "SET CLIENTNAME=FOOBAR" And the API call returns the string "FOOBAR", every time without fail. Now my client is migrating all their machines to XP. Unfortunately, this same API call returns an empty string, or sometimes the string "Console". "OK," I think to myself. "XP doesn't really use AutoExec.bat, it uses AutoExec.NT. I'll set the ClientName in that file instead! But that does not work either. IThe fact that XP will return the string "Console" every so often made me think " Aha! On XP this API call is looking in the registry, not in a .bat file". So I searched the registry for every place where the string "Console" existed, and one by one replaced them with "FOOBAR" and re-ran the code. I still got nothing. If it was returning "Console" before, it returned "Console" again. if it returned empty string before, it returned empty string again. Then I wet to Control Panel > System > Advanced > Environment Variables and added a system variable named CLIENTNAME with a value of FOOBAR. That did not work either, and now I am out of ideas. Is there anyone who owns the API to the degree that they can tell me where exactly GetEnvironmentVariable is looking to get the value it returns? I am well and truly stumped. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Nov 21 12:12:18 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 21 Nov 2003 13:12:18 -0500 Subject: [AccessD] OT: Broken API Call in WinXP: GetEnvironmentVariab le? Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD797B@xlivmbx12.aig.com> Um... not sure about the API call for the environment variable, but Access 97 (and up, I believe) has the Environ() function, call it like this... strEnvVar = Environ("CLIENTNAME") Also, to confirm if your environment variable is being set, just open a DOS box and type the command SET. It will list all the environment variables that are set and you can see their values. Lambert > -----Original Message----- > From: Christopher Hawkins [SMTP:clh at christopherhawkins.com] > Sent: Friday, November 21, 2003 12:58 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Broken API Call in WinXP: > GetEnvironmentVariable? > > I have inherited an application that uses the GetEnvironmentVariable > API to identify a machine for purposes of authenticating that a > certain application can be accessed from that machine. For those > unfamiliar, here's the code that makes this call: > > ***START*** > Declare Function GetEnvironmentVariable Lib "kernel32" Alias > "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As > String, ByVal nSize As Long) As Long > > > Private Function GetClientName() As String > > Dim strBuffer As String > Dim iLenBuffer As Integer > Dim retval As Integer > > On Error GoTo Err_GetClientName > > strBuffer = Space(255) > iLenBuffer = 255 > > retval = GetEnvironmentVariable("CLIENTNAME", strBuffer, > iLenBuffer) > If Len(Trim(strBuffer)) <> 0 Then > strBuffer = Left(strBuffer, Len(Trim(strBuffer)) - 1) > Else > ' probably no client name > strBuffer = "" > End If > > Exit_GetClientName: > Exit Function > > Err_GetClientName: > MsgBox Err.Description, , "Error in Function > modUtil.GetClientName" > Resume Exit_GetClientName > Resume 0 ' .FOR TROUBLESHOOTING > End Function > ***END*** > > This has been working like a charm on Windows98 machines. We add the > following line to AutoExec.bat: > > "SET CLIENTNAME=FOOBAR" > > And the API call returns the string "FOOBAR", every time without fail. > > Now my client is migrating all their machines to XP. Unfortunately, > this same API call returns an empty string, or sometimes the string > "Console". > > "OK," I think to myself. "XP doesn't really use AutoExec.bat, it uses > AutoExec.NT. I'll set the ClientName in that file instead! But that > does not work either. > > IThe fact that XP will return the string "Console" every so often > made me think " Aha! On XP this API call is looking in the registry, > not in a .bat file". So I searched the registry for every place > where the string "Console" existed, and one by one replaced them with > "FOOBAR" and re-ran the code. I still got nothing. If it was > returning "Console" before, it returned "Console" again. if it > returned empty string before, it returned empty string again. > > Then I wet to Control Panel > System > Advanced > Environment > Variables and added a system variable named CLIENTNAME with a value > of FOOBAR. > > That did not work either, and now I am out of ideas. > > Is there anyone who owns the API to the degree that they can tell me > where exactly GetEnvironmentVariable is looking to get the value it > returns? I am well and truly stumped. > > -Christopher- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Fri Nov 21 12:16:39 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 21 Nov 2003 13:16:39 -0500 Subject: [AccessD] Re: Problem Shutting Down Access Message-ID: I posted a question about a week ago where I was having a problem shutting down Access after calling a Crystal Report. Actually what I found was happening was that Access was shutting down and the re-opening. In case anyone has a problem with this in the future, here is the solution to the problem I was having. Crystal Reports based on Access queries creates an indirect connection. Some of my reports were based on tables. Once I created queries based on the tables and linked the reports to them, my problem was resolved. Just a note: I couldn't find an easy way to replace all the table names referenced in every field on the report, so I simply changed the names of my tables and used Rick Fisher's Find and Replace Add-In to change all references to the tables. Then I used the old names of the tables on the queries. From dwaters at usinternet.com Fri Nov 21 12:20:16 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Nov 2003 12:20:16 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <28212869.1069432457235.JavaMail.root@sniper.marix.com> Message-ID: <000501c3b05c$1d84fb40$de1811d8@DanWaters> Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 cfoust at infostatsystems.com Fri Nov 21 12:29:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Nov 2003 10:29:15 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: How are you at C or C++? That's pretty much what you have to write direct calls in. Take a look at this MSKB article to get started. Watch out for the wrap: http://support.microsoft.com/default.aspx?scid=http://support.microsoft. com:80/support/kb/articles/Q200/0/18.asp&NoWebContent=1 Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 dwaters at usinternet.com Fri Nov 21 13:50:04 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Nov 2003 13:50:04 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <16179155.1069440260187.JavaMail.root@sniper.marix.com> Message-ID: <000001c3b068$a8c31370$de1811d8@DanWaters> Well . . . I have no experience with C or C++. I'll look at the article you referenced, but I'll probably go ahead and buy Redemption. Thanks - That was just what I needed! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 12:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... How are you at C or C++? That's pretty much what you have to write direct calls in. Take a look at this MSKB article to get started. Watch out for the wrap: http://support.microsoft.com/default.aspx?scid=http://support.microsoft. com:80/support/kb/articles/Q200/0/18.asp&NoWebContent=1 Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 21 14:45:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 14:45:22 -0600 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275B9@main2.marlow.com> Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 21 14:51:09 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 14:51:09 -0600 Subject: [AccessD] Poll: How many versions of Access are yourunningono nemachine? XPosted Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BA@main2.marlow.com> I hear ya. I'm in the same boat. When dealing with Access, it's a rare rare rare day when I have to create a runtime version. 99.95% of the Access stuff i work on are .mdb's (or .mde's) that run on full blown versions of Access. No install necessary. To me, that is part of the charm of Access. No need to install anything anywhere, just copy the file. On the other hand, I deal with VB quite a bit, and that's a different story. With VB, you are faced with installing the VB runtimes already, so adding other components into the install is just part of the mix. However, what I have found to be the best of both worlds is ASP/VB/Access. Access (Well Jet) as the backend. ASP as the FE, and VB in the middle as an ActiveX .dll. The real beauty of that system is that if I think things through when I am building it, I can make the ActiveX .dll's interactive with each other. In a corporate environment, it is very handy to just reference a pre-existing .dll on the IIS server, and use it with a new application. Loads of fun! Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 12:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Charlotte, >Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. The problem with that argument is that I don't use runtimes. Thus an "install" is nothing more than running a batch file that builds a directory, downloads my framework to the windows dir and the app to it's dir, then starts the app. Installing a dll means registering it (doesn't it?). If I could simply copy it somewhere and use it I would quiet my complaints considerably. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, November 20, 2003 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are yourunningononemachine? XPosted Stuart and John, Since we install our applications on user systems, it hardly seems valid to quibble about installing the Redemption dll as well. We use redemption and find it very effective since it bypasses the MAPI calls that have been such a security problem and uses Extended MAPI instead. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 6:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Poll: How many versions of Access are you runningononemachine? XPosted Stuart, The same reason I don't use it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart Sanders Sent: Wednesday, November 19, 2003 11:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Poll: How many versions of Access are you running ononemachine? XPosted I have 97, 2000 (SP3) and XP (SP2) on my dev machine. I use outlook XP for email currently, but don't use automation. I had considered giving this a look: http://www.dimastr.com/redemption/ Which supposedly works around the security patch, but is a com component which needs to be installed on systems. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, 20 November, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Poll: How many versions of Access are you > running onone machine? XPosted > > > I have Access97 and A2K on one machine, and AXP on another. > > I use Outlook automation to send email and the SP3 for Office2K breaks > outlook automation such that it asks for permission for every email > sent. SP3 fixed the screwup where XP breaks 2K but I simply can't > install it on my > dev machine. Thus XP on one, 2K on another. And I am NOT > happy to have to > do that! > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht > Sent: Wednesday, November 19, 2003 8:36 PM > To: AccessD; ACCESS-L > Subject: [AccessD] Poll: How many versions of Access are you running > on one machine? XPosted > > > I have one machine and Access 97, 2000, XP and 2003. > > The OS is win XP. > > How many people have more than one version of Access on one machine. > Which versions? What are most clients still using? > > Thanks > > > Joe Hecht > > Los Angeles CA > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 21 14:55:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 15:55:13 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8FE@TTNEXCHSRV1.hshhp.com> Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Fri Nov 21 14:58:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 14:58:43 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BC@main2.marlow.com> It's still a pointless check, especially since the last 'big' virus came with it's own SMTP protocols, to propogate itself without using anything on your machine (though I think it grabbed your SMTP settings). Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 7:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Stuart, I personally don't say it has no place in the world. The unfortunate reality is that there are millions of machines out there used by individuals in their homes (or small office) who are too ignorant to run virus checkers. THESE users should indeed install the service patch so that they only screw up their own machines when the virus hits them. It simply has no place in a business where they should be running AV software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, November 20, 2003 7:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > >I bypassing it by not installing the service pack that turns it on. (A2K) > Not installing a security service pack to stop malicious VBScript code from > propogating viruses IS a big deal. Are you advising your clients not to > install security patches so your email code will work? > > I'm with JC 100% on this one. The "security" patch is not about stopping viruses from infecting machines. It's not about stopping viruses from causing damage. It's not about stopiing viruses from doing anything. It's about stopping the perfectly legitimate function of interprocess communication which is supposed at the heart of the MS software suite paradigm. It's a half-witted attempt at arse covering by MS which has the side effect of destroying the functionality of many existing applications. Yes I am advising my clients not to instal it. (At least the ones who don't heed my other advice to use non-MS email programs. My Pegasus/Mercury using clients don't have to worry about it at all ) -- 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 bheid at appdevgrp.com Fri Nov 21 15:01:11 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Nov 2003 16:01:11 -0500 Subject: [AccessD] AccessXP native controls question In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF570@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB040@ADGSERVER> Hi all, Was wanting to update the look of our Acc97 app in AccXP. What controls come with Office XP that do not natively show up in AccXP? By that I mean are there listviews, treeviews, etc that I can access from the other tools button? Our client wants only controls that come with office so that we won't run into issues of another control not getting installed properly. TIA, Bobby From DWUTKA at marlow.com Fri Nov 21 15:03:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:03:17 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BD@main2.marlow.com> We use Trend Micro's Server Protect on our file servers. Can barely tell it's running. Only issue I have ever had with it was that it did it's job TOO well. (Grin) There was a discussion on OT about viruses, and I had a copy of the ILOVEYOU virus on Floppy. Since I run 2000 Server, our normal office scanner (Trend's OfficeScan) won't run on my machine, so I'm part of the ServerProtect Cluster. I put the disk in, and when to open it in notepad, to paste the contents (safe, had removed the scripting tags) into an email, and blip, the file disappeared off of the floppy. Took me a second to realize that by opening it, ServerProtect was triggered to read it, saw it was a virus, and deleted it (actually, it archived it.....) hehehehe Had to shut down serverprotect to do what I needed to do! Drew -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, November 21, 2003 1:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] Depends on what file extensions are scanned on a network server. I keep a special stick to poke network guys who insist on scanning ldb and mdb file types among others. Scanning a 300MB file on-access can bring things to a grinding halt. Stuart McLachlan wrote: >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > >>Stuart, >> >>I personally don't say it has no place in the world. The unfortunate >>reality is that there are millions of machines out there used by individuals >>in their homes (or small office) who are too ignorant to run virus checkers. >>THESE users should indeed install the service patch so that they only screw >>up their own machines when the virus hits them. It simply has no place in a >>business where they should be running AV software. >> >> >> > >Which brings us on to another question, prompted recently by a >client. > >What is your option on running anti-virus software on network >servers? >(Assuming that you do run on-access scanning software on the >workstations) > >Note: >X-posted to >All follow ups to that list only. Please! > > > > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 21 15:05:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:05:45 -0600 Subject: [AccessD] Change Default Printer Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BE@main2.marlow.com> 'Print To Picture thingy'. Is that a technical term, or just an industry standard out in Arnold's World? (Sorry, it's Friday, I couldn't resist!). Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 21, 2003 7:28 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Change Default Printer Dear List: I'm using the Print To Picture thingy to print reports to a PCX file so they can be dropped into a manual. Works pretty good. But one of my reports got it's default printer switched from the printer everything else goes to (a networked laser) to this 'print to picture' which is installed as a printer. Does anyone know how to change this back so that when I hit ctrl-P in the preview mode the printer dialog box comes up with the printer I want? 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 DWUTKA at marlow.com Fri Nov 21 15:09:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:09:53 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275BF@main2.marlow.com> persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 Nov 21 15:13:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 15:13:52 -0600 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275C0@main2.marlow.com> Good question. Because I do exactly that 99% of the time. But every once in a while, I get hit with an ASP job running on a non-IIS server (or an IIS server that I don't have sufficient access to register ActiveX .dll's). Case in point, my latest project is just that. I think the hosting company is running Red Hat, with ASP support. So I can write ASP, but I can't use custom VB .dll's. I was building sort of a 'cross-tab' query, of sorts (price matrix....from row, column, and data tables), and was left with the choice of either running back and forth through a couple recordset objects, or just building a few classes, put them in Dictionary objects (which is a collection), and 'keying' them with the references I need to pull them up when I need them. Worked great. Granted, would MUCH rather deal with VB, but in this particular case (and a few others I've run into), I get to stretch the limits of ASP itself! Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 2:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Nov 21 14:53:43 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 21 Nov 2003 21:53:43 +0100 Subject: [AccessD] single label; was subject "blank" References: <200311210958.hAL9wYEU002289@mailhostC.plex.net> Message-ID: <000001c3b07a$f5a38960$f4c581d5@pedro> Hello, Thanks to all who responded. All Solutions were handy, but i found the peterssoftware the most handy. Pedro Janssen ----- Original Message ----- From: To: Sent: Friday, November 21, 2003 10:58 AM Subject: Re: [AccessD] single label; was subject "blank" > Sorry i forgot the subject > > > > > Hello group, > > > > i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. > > > > for example > > > > i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 > > > > "labelsheet" > > > > cmd1 cmd2 cmd3 > > > > cmd4 cmd5 cmd6 > > > > > > TIA > > > > Pedro Janssen > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 21 16:09:41 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 21 Nov 2003 17:09:41 -0500 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F8FF@TTNEXCHSRV1.hshhp.com> Makes sense thanks. I just found out about VBS classes a short while ago in a pretty good ASP book by O'Reilly Press "Designing Active Server Pages" by Scott Mitchell (I think he's the 4gusfromfolla.com guy). Jim D. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 4:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Good question. Because I do exactly that 99% of the time. But every once in a while, I get hit with an ASP job running on a non-IIS server (or an IIS server that I don't have sufficient access to register ActiveX .dll's). Case in point, my latest project is just that. I think the hosting company is running Red Hat, with ASP support. So I can write ASP, but I can't use custom VB .dll's. I was building sort of a 'cross-tab' query, of sorts (price matrix....from row, column, and data tables), and was left with the choice of either running back and forth through a couple recordset objects, or just building a few classes, put them in Dictionary objects (which is a collection), and 'keying' them with the references I need to pull them up when I need them. Worked great. Granted, would MUCH rather deal with VB, but in this particular case (and a few others I've run into), I get to stretch the limits of ASP itself! Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 2:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From dwaters at usinternet.com Fri Nov 21 16:13:27 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Nov 2003 16:13:27 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <17774621.1069449271819.JavaMail.root@localhost.localdomain> Message-ID: <000001c3b07c$b08782d0$de1811d8@DanWaters> Thanks Drew! I'll take a look . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 3:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ 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 Nov 21 17:03:35 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 21 Nov 2003 17:03:35 -0600 Subject: [AccessD] OT: Excel input range Message-ID: <869379ABF177D4118D3100508B5EF873063952D8@corp-es00> If you send me a sample I will take a look at it on Monday. regards, Jim Hale -----Original Message----- From: Kath Pelletti [mailto:SDSSoftware at optusnet.com.au] Sent: Thursday, November 20, 2003 11:24 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Excel input range After a long day battling my way through this Excel development I am signing off for now but in case any Excel gurus have the time, could you answer this: On an Excel s/sheet I have 3 combos (created with the form control). I have nominated an input range for each (on a separate sheet). Depending on the choice the user makes in Combo 1 and Combo 2, I need to modify the range for Combo 3. What's the best way in Excel? I see on lots of internet samples that quite often people set up range after range of values and nominate one or the other as the appropriate range when the combos change, but surely there is a more efficient way?? I have fairly simple rules from the client and I think that I should be able to set up a grid /range of cells which hold my criteria. I can post sample data if anyone thinks they can help. Thanks everyone - and apologies for the Excel posts (I am also posting to Excel sites but no luck yet). Have a great w/end. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ 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 Nov 21 17:29:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 22 Nov 2003 09:29:50 +1000 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: Message-ID: <3FBF2C8E.17674.25FCCD@localhost> On 21 Nov 2003 at 10:29, Charlotte Foust wrote: > How are you at C or C++? That's pretty much what you have to write > direct calls in. Horsepuckey :-) I may have mentioned PowerBasic before on this list :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Fri Nov 21 17:40:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 21 Nov 2003 17:40:00 -0600 Subject: [AccessD] Primer on WithEvents and RaiseEvent Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275C8@main2.marlow.com> Ya, I heard about them close to a year ago. I had built a sitemap .asp page, that uses Front Pages navigation file. My initial project used VB, to put all of the 'nodes' into a collection. Worked like a charm, but a lot of people wanted to use it on Red Hat Linux systems, so VB was out. I recreated it in strictly ASP, but I used arrays. (Also created a php version...my first and only php project). I was asked why I didn't use classes in ASP, and was taken back by that. I soon discovered that what the MSDN had on VB script (at least my version) was a little out of date, so I downloaded the latest VbScript help files, and learned all about the new commands available. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 4:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Makes sense thanks. I just found out about VBS classes a short while ago in a pretty good ASP book by O'Reilly Press "Designing Active Server Pages" by Scott Mitchell (I think he's the 4gusfromfolla.com guy). Jim D. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 4:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Good question. Because I do exactly that 99% of the time. But every once in a while, I get hit with an ASP job running on a non-IIS server (or an IIS server that I don't have sufficient access to register ActiveX .dll's). Case in point, my latest project is just that. I think the hosting company is running Red Hat, with ASP support. So I can write ASP, but I can't use custom VB .dll's. I was building sort of a 'cross-tab' query, of sorts (price matrix....from row, column, and data tables), and was left with the choice of either running back and forth through a couple recordset objects, or just building a few classes, put them in Dictionary objects (which is a collection), and 'keying' them with the references I need to pull them up when I need them. Worked great. Granted, would MUCH rather deal with VB, but in this particular case (and a few others I've run into), I get to stretch the limits of ASP itself! Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, November 21, 2003 2:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Drew, Can I ask why you'd want to get into VBScript classes when you can just as easily compile your code in VB and reference it from your web app? Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, November 21, 2003 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Well put. It took me a little bit to catch onto building my own classes, and using events. Now it is just second nature, and I am boggled at what I did before! The real fun I've had lately is using VBScript's 'version' of a Class/collection. Slightly different, but still pretty adequate. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, November 20, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Thank you, thank you, (takes a deep bow). As you can see it was actually a chapter in a book. I had some pretty nitpicky tech editors going at it and in the end, one of them still just didn't understand the whole thing. That really isn't surprising however, it took me three passes at Shamil's stuff on his web site before I finally "got it". Now I look back and scratch my head wondering why - the basic stuff is just dead simple. I really think it's the concept of an event being radiated and ANY class can listen if the programmer knows how to set it up that threw me. We all come from the idea that a control BELONGS to a form and only the form can hear it's events, and nothing in Access ever tells us otherwise. Then along comes withevents which tells us that every event generated by any object can be picked up in any class anywhere (on the same machine), whether in a form, a different form, or just a class loaded by some piece of code somewhere. If the listener has dimmed an instance of that KIND of object (lets say a combo) and received a pointer to the exact object (combo) that it wants to listen to, then it can receive control when that object's events fire. I built a class (as mentioned in this chapter) for a real client, an insurance company. They had a business rule that they modeled with a set of 5 check boxes. These check boxes tied directly to 5 Boolean fields in a table. The check boxes were inter-related, one meant the claim was a maternity claim, an accident, an illness, was auto related or was workers comp. It sounds weird I know but that's one of the ways they sorted and looked at their claims. So the SET of checkboxes had to be handled as an entity, they interrelated. An accident was NOT an illness. A maternity claim WAS an illness and was NOT an accident. Auto related WAS an accident and NOT an illness. And then there were rules as to which of the above could be workers comp. In order to prevent data entry errors, I needed to do checking as they clicked check boxes. If they clicked auto, I checked the accident and cleared the illness and maternity, if they clicked the maternity, I cleared the auto and accident and set the illness. Etc. In order to encapsulate this whole thing into a SYSTEM that was an integrated whole, I built a class, passed in a pointer to all five check boxes, and sank the click event for each check box. I then built all of the code to do this checking as a private function inside the class. It turns out that I needed an identical set of 5 checkboxes in three different forms - an Initial Data Entry (IDE) form for Long Term Disability (a set of users), another IDE for Short Term Disability (a different set of users) and a central claim form where everybody came to maintain claims. Because I had written a class to encapsulate the whole into a class I could set the whole thing up with 3 lines of code in each form: **in the form header Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes *** in the form OnOpen Set ldclsValClaimTypeChkBoxes = New dclsValClaimTypeChkBoxes ldclsValClaimTypeChkBoxes.Init fclsfrm, Me, chkWorkComp, chkAutoRelated, chkAccident, chkSickness, chkMaternity Having done that, the class instance handled all of the checking as check boxes were checked / unchecked. There were no event sinks required in the form for the checkboxes, and if the rules need changing just go to the class and everything required is right there. Class module header comments can explain why I am doing what I am doing (Documentation!!!) all in one place. NOTICE that the class was dimensioned WithEvents!!! Public WithEvents ldclsValClaimTypeChkBoxes As dclsValClaimTypeChkBoxes What this means is that the class raises it's own event to notify the form that the boxes had changed. THIS is a critical concept as well, RaiseEvent means that a class can radiate an event in case anyone cares to listen. It turned out that Long term and Short term handled things a bit differently and some recalculations in other fields were needed in STD forms where they aren't needed in LTD forms. By radiating an event saying that these check boxes had changed, I could listen for that event in the STD initial data entry form and do the recalcs, but ignore the event in LTD IDE. Withevents and Raiseevents are nothing magical. They are just an extension of what every Access developer already knows. But once you wrap your mind around what it can do for you, the difference in the way you attack things can be startling (even magical). John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, November 20, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Primer on WithEvents and RaiseEvent Hi Guys: An excellent article...Now I know what the 'withevents' and 'raiseevent' can be used for other than passing error messages back from a class. Great stuff. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, November 19, 2003 3:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Primer on WithEvents and RaiseEvent Hi all Just noted this book chapter counting several well known listmembers among the numerous authors: http://accessvbsqladvisor.com/doc/13276 Beginning Access 2002 VBA: WithEvents and RaiseEvent One of the best-kept secrets in Microsoft Access, WithEvents lets you handle an object's events inside classes other than the form classes. This book chapter explains what it can do for you. /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 **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Nov 21 18:03:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Nov 2003 16:03:08 -0800 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: I'm just repeating what Microsoft said about it. If you can do it in PowerBasic go right ahead. You can certainly build dlls in VB too, but apparently, not for Extended MAPI wrappers. Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, November 21, 2003 3:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... On 21 Nov 2003 at 10:29, Charlotte Foust wrote: > How are you at C or C++? That's pretty much what you have to write > direct calls in. Horsepuckey :-) I may have mentioned PowerBasic before on this list :-) -- 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 jmhla at earthlink.net Fri Nov 21 19:10:23 2003 From: jmhla at earthlink.net (Joe Hecht) Date: Fri, 21 Nov 2003 17:10:23 -0800 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <20031120094744.1147728671.serbach@new.rr.com> Message-ID: <000101c3b095$68d6a920$fda8a8c0@delllaptop> The action pack is office and many servers. What to order depends on your nee Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steven W. Erbach Sent: Thursday, November 20, 2003 7:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Microsoft ActionPack Dear Group, No, it isn't a video game. It's a Not-For-Distribution packet containing just about every Microsoft application under the sun. It looked to me first like it was like an MSDN Universal subscription, except much cheaper. Has anyone here taken advantage of this? Sorry if you've seen this before: http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack/actionpackus.aspx Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Nov 21 19:34:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 21 Nov 2003 20:34:18 -0500 Subject: [AccessD] Slightly OT: Microsoft ActionPack In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CEDC@stekelbes.ithelps.local> Message-ID: Erwin, <> In other words, sales and marketing <> Yes, depending on subscription level <> Quite a bit. Retail on a Universal sub is just under $3000, but can be found from resellers for $1200 or so. The top level Action Pack is $300 or $400. Don't remember which. 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 Erwin Craps Sent: Friday, November 21, 2003 4:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Action pack is not solely to sales and marketing, but apart from the OS software it also includes demo's and sales/marketing tools. It's ment for the typical dealer/reseller/network integrator and not for the developer. Does the MSDN includes OS software like Exchange server, Isa Server, SQL server, Small Business server etc? I believe MSDN is more expensive too? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, November 21, 2003 12:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Steve, <> As I said, the Action Pack is geared towards marketing and sales. It's a different focus. The only reason software is in there is to help you explore new areas of technology. 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 Steven W. Erbach Sent: Thursday, November 20, 2003 12:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: Microsoft ActionPack Jim, >> I've been on it a little over two years. ?I have a MSDN Universal subscription as well. << If you don't mind my saying so, I find that a bit curious. MSDN Universal includes everything. Why would you want the Action Pack? >> And to answer your question, no because technically your not buying >> the Developers Edition and the license to distribute. Could you? Yes. What Microsoft care? Probably not. << Thanks for the interp. Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From caa at highway.com.br Fri Nov 21 20:26:11 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 22 Nov 2003 00:26:11 -0200 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? XPosted In-Reply-To: References: Message-ID: Just Access 2000... -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From tinanfields at torchlake.com Sat Nov 22 06:53:30 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 22 Nov 2003 07:53:30 -0500 Subject: [AccessD] Poll: How many versions of Access are you running on one machine? X Posted References: <2F8793082E00D4119A1700B0D0216BF8022275AF@main2.marlow.com> Message-ID: <3FBF5C4A.1050502@torchlake.com> I have 4 machines - WIN3.1 has A2 WIN95 has A95 WIN98 has A97 and A2K WINXP has AXP Most of my stuff was A97, A2K, and AXP. Migration from A97 --> A2K --> AXP is commonly happening. I did precious little in A2, and virtually nothing in A95 - I'm just not very good at throwing things away (I might need it SOMETIME) Tina Greg Smith wrote: >I have Access97 ODE and Access XP (used to have Access97 ODE, 2000 and XP, >but new computer and 2000 was toast). > >Most of my clients are still using Access 97. Hinting at changing to XP, >but now 2003 is out so they'll probably wait until I clear their apps >through it. Sigh. This is never going to end. > >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 mmaddison at optusnet.com.au Sat Nov 22 08:11:08 2003 From: mmaddison at optusnet.com.au (Michael Maddison) Date: Sun, 23 Nov 2003 01:11:08 +1100 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: Message-ID: I have a client who did the disallow zip thing, they are over it now :-) The av software they were using at the time would also strip the contents of zip files, then it started disallowing zip files all together. I started changing the extension, it would work once then fail. I started working my way through the alphabet .aaa .aab etc etc LOL This only lasted a couple of weeks, as no one in their company ended up being able to send attachments. cheers Michael M Oh, yes, there always have to have some people that overdo everything, beside scanning .mdb how about not allowing .zip extensions in email?! Then of course you have people who resort to changing the file extension on your zipped files to .txt and instructing the person on other end to change it back. That's good covenient security. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Friday, November 21, 2003 1:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Depends on what file extensions are scanned on a network server. I keep > a special stick to poke network guys who insist on scanning ldb and mdb > file types among others. Scanning a 300MB file on-access can bring > things to a grinding halt. > > Stuart McLachlan wrote: > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > >>Stuart, > >> > >>I personally don't say it has no place in the world. The unfortunate > >>reality is that there are millions of machines out there used > by individuals > >>in their homes (or small office) who are too ignorant to run > virus checkers. > >>THESE users should indeed install the service patch so that > they only screw > >>up their own machines when the virus hits them. It simply has > no place in a > >>business where they should be running AV software. > >> > >> > >> > > > >Which brings us on to another question, prompted recently by a > >client. > > > >What is your option on running anti-virus software on network > >servers? > >(Assuming that you do run on-access scanning software on the > >workstations) > > > >Note: > >X-posted to > >All follow ups to that list only. Please! > > > > > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Nov 22 08:23:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 22 Nov 2003 06:23:19 -0800 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] References: Message-ID: <001901c3b104$2e132ce0$650a6351@martin1> Thats just how we do it in work. PITA but gets us past the email people. Martin > Oh, yes, there always have to have some people that overdo everything, > beside scanning .mdb how about not allowing .zip extensions in email?! Then > of course you have people who resort to changing the file extension on your > zipped files to .txt and instructing the person on other end to change it > back. That's good covenient security. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > > Sent: Friday, November 21, 2003 1:39 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Depends on what file extensions are scanned on a network server. I keep > > a special stick to poke network guys who insist on scanning ldb and mdb > > file types among others. Scanning a 300MB file on-access can bring > > things to a grinding halt. > > > > Stuart McLachlan wrote: > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > >>Stuart, > > >> > > >>I personally don't say it has no place in the world. The unfortunate > > >>reality is that there are millions of machines out there used > > by individuals > > >>in their homes (or small office) who are too ignorant to run > > virus checkers. > > >>THESE users should indeed install the service patch so that > > they only screw > > >>up their own machines when the virus hits them. It simply has > > no place in a > > >>business where they should be running AV software. > > >> > > >> > > >> > > > > > >Which brings us on to another question, prompted recently by a > > >client. > > > > > >What is your option on running anti-virus software on network > > >servers? > > >(Assuming that you do run on-access scanning software on the > > >workstations) > > > > > >Note: > > >X-posted to > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > -- > > Marty Connelly > > Victoria, B.C. > > Canada > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Sat Nov 22 10:02:36 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 10:02:36 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <001901c3b104$2e132ce0$650a6351@martin1> Message-ID: That's a shame. I would think that security and productivity should have at least equal priority in the work place :o) For true security to ever happen the email security people are going to have to start identifying what's in a zip file rather than the fact that its a zip file. Most AV scanners can already scan zip contents so I would think that if a message came through with a zip attachment that the zip attachment's contents could be scanned for problems rather than just assuming that its a problem because its a zip. Even if they pulled the email aside and processed it out of stream rather than doing it directly and clogging up the system it would be preferable to just deleting it! Hey Drew can Trend Micro's system do that? Of course if they scan the zip - then .mdbs can't be considered dangerous either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? If one could write a script to scan .mdbs with FMS AV scanner it could eliminating the whole annoying process of not allowing .mdb attachments. (Of course I always zip my mdbs because they usually compress about 80% so I'm back to the first argument... now I'm just babbling... :o) What say we get some big company to put a bounty out on the heads of virus writers? ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Saturday, November 22, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Thats just how we do it in work. PITA but gets us past the email people. > > Martin > > > > Oh, yes, there always have to have some people that overdo everything, > > beside scanning .mdb how about not allowing .zip extensions in email?! > Then > > of course you have people who resort to changing the file extension on > your > > zipped files to .txt and instructing the person on other end to > change it > > back. That's good covenient security. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > > > Sent: Friday, November 21, 2003 1:39 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > Depends on what file extensions are scanned on a network > server. I keep > > > a special stick to poke network guys who insist on scanning > ldb and mdb > > > file types among others. Scanning a 300MB file on-access can bring > > > things to a grinding halt. > > > > > > Stuart McLachlan wrote: > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > >>Stuart, > > > >> > > > >>I personally don't say it has no place in the world. The > unfortunate > > > >>reality is that there are millions of machines out there used > > > by individuals > > > >>in their homes (or small office) who are too ignorant to run > > > virus checkers. > > > >>THESE users should indeed install the service patch so that > > > they only screw > > > >>up their own machines when the virus hits them. It simply has > > > no place in a > > > >>business where they should be running AV software. > > > >> > > > >> > > > >> > > > > > > > >Which brings us on to another question, prompted recently by a > > > >client. > > > > > > > >What is your option on running anti-virus software on network > > > >servers? > > > >(Assuming that you do run on-access scanning software on the > > > >workstations) > > > > > > > >Note: > > > >X-posted to > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Marty Connelly > > > Victoria, B.C. > > > Canada > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sat Nov 22 11:03:20 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 09:03:20 -0800 Subject: [AccessD] OT: Color Laser Message-ID: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> Cross posting from dba-tech. ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Saturday, November 22, 2003 8:34 AM Subject: [dba-Tech] Color Laser Hello: I'm writing a manual now into which I've dropped a lot of screen shots. They look much better in color than in black and white. I think that having Kinko's do these on their color laser might be cost prohibitive. The manual will be about 150+ pages when done and of course, not all of the pages will require color, although they'll have to charge the color cost for every page. So now I'm thinking about a color laser printer. Ink jet would be far too slow if I have to make these manuals in the quantity I'm praying will be necessary. Does anyone have any experience or advice on color laser printers? TIA, Rocky _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Nov 22 12:57:07 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat, 22 Nov 2003 13:57:07 -0500 Subject: [AccessD] Link child / master field fails in subsubform Message-ID: I have a db where the subform pulls the correct records using ling child / master field properties, but the subsub form fails to follow the subform, i.e. it pulls a set associated with the parent form but not associated with the first subform. Agency / contract / assignment. As I move through agency records I see the contract change. I also see the assignment change, but as I move through the contracts the assignments don't change. I have seen this before, and worked around it by just replacing the link properties with query filters in the subform. Has anyone seen a bug fix for this? John W. Colby www.ColbyConsulting.com From serbach at new.rr.com Sat Nov 22 16:51:43 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 22 Nov 2003 16:51:43 -0600 Subject: [AccessD] OT: Color Laser Message-ID: <20031122165143.1349102459.serbach@new.rr.com> Rocky, >> Does anyone have any experience or advice on color laser printers? << I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. I have a long history with HP printers, but that Xerox looks awfully good. http://www.printershowcase.com/printer_reviews_xerox6250.asp Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. From davesharpe2 at cox.net Sat Nov 22 17:11:55 2003 From: davesharpe2 at cox.net (Dave Sharpe) Date: Sat, 22 Nov 2003 18:11:55 -0500 Subject: [AccessD] OT: Color Laser References: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> Message-ID: <004601c3b14e$05c33330$dd2f0a44@bcsext6137> Rocky I don't know the qtys involved or the kinko options; but a couple of general thoughts. Many ( all? or most? ) printing packages have page number options - ex 1,5,10-12,25,35 print color 2-4,6-9,13-24,26-34,36-150 print b&w ( if they can't or will not, make two files and polulate them with Your existing pages; to end up with one color doc and one b&w doc. Is copying color less expensive that printing? If yes print once then copy to complete the order. Dave ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Saturday, November 22, 2003 12:03 PM Subject: [AccessD] OT: Color Laser Cross posting from dba-tech. ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Saturday, November 22, 2003 8:34 AM Subject: [dba-Tech] Color Laser Hello: I'm writing a manual now into which I've dropped a lot of screen shots. They look much better in color than in black and white. I think that having Kinko's do these on their color laser might be cost prohibitive. The manual will be about 150+ pages when done and of course, not all of the pages will require color, although they'll have to charge the color cost for every page. So now I'm thinking about a color laser printer. Ink jet would be far too slow if I have to make these manuals in the quantity I'm praying will be necessary. Does anyone have any experience or advice on color laser printers? TIA, Rocky _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech 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 Sat Nov 22 18:59:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 16:59:18 -0800 Subject: [AccessD] OT: Color Laser References: <20031122165143.1349102459.serbach@new.rr.com> Message-ID: <00fe01c3b15d$05ebf310$6501a8c0@HAL9002> $2000 bucks, whew. Could get a lot of manuals at Kinko's for that. Rocky ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Saturday, November 22, 2003 2:51 PM Subject: Re: [AccessD] OT: Color Laser > Rocky, > > >> Does anyone have any experience or advice on color laser printers? << > > I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. > > I have a long history with HP printers, but that Xerox looks awfully good. > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Sat Nov 22 19:24:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 22 Nov 2003 19:24:06 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275CD@main2.marlow.com> Yes, ScanMail will scan the files within a zip file. You can even set how deep you want it to scan (for zips within zips). I think we are set to 5 levels. We have never blocked .zip files, and I certainly don't plan on starting. We do block any extension that can be run off the bat, such as .exe, .com, .bat, etc. Those are blocked simply as a buffer, since brand new viruses aren't caught until Trend updates their patterns (which they do pretty fast). Once a virus is in the pattern though, it will strip it out of zip files. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Saturday, November 22, 2003 10:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] That's a shame. I would think that security and productivity should have at least equal priority in the work place :o) For true security to ever happen the email security people are going to have to start identifying what's in a zip file rather than the fact that its a zip file. Most AV scanners can already scan zip contents so I would think that if a message came through with a zip attachment that the zip attachment's contents could be scanned for problems rather than just assuming that its a problem because its a zip. Even if they pulled the email aside and processed it out of stream rather than doing it directly and clogging up the system it would be preferable to just deleting it! Hey Drew can Trend Micro's system do that? Of course if they scan the zip - then .mdbs can't be considered dangerous either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? If one could write a script to scan .mdbs with FMS AV scanner it could eliminating the whole annoying process of not allowing .mdb attachments. (Of course I always zip my mdbs because they usually compress about 80% so I'm back to the first argument... now I'm just babbling... :o) What say we get some big company to put a bounty out on the heads of virus writers? ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Saturday, November 22, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Thats just how we do it in work. PITA but gets us past the email people. > > Martin > > > > Oh, yes, there always have to have some people that overdo everything, > > beside scanning .mdb how about not allowing .zip extensions in email?! > Then > > of course you have people who resort to changing the file extension on > your > > zipped files to .txt and instructing the person on other end to > change it > > back. That's good covenient security. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > > > Sent: Friday, November 21, 2003 1:39 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > Depends on what file extensions are scanned on a network > server. I keep > > > a special stick to poke network guys who insist on scanning > ldb and mdb > > > file types among others. Scanning a 300MB file on-access can bring > > > things to a grinding halt. > > > > > > Stuart McLachlan wrote: > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > >>Stuart, > > > >> > > > >>I personally don't say it has no place in the world. The > unfortunate > > > >>reality is that there are millions of machines out there used > > > by individuals > > > >>in their homes (or small office) who are too ignorant to run > > > virus checkers. > > > >>THESE users should indeed install the service patch so that > > > they only screw > > > >>up their own machines when the virus hits them. It simply has > > > no place in a > > > >>business where they should be running AV software. > > > >> > > > >> > > > >> > > > > > > > >Which brings us on to another question, prompted recently by a > > > >client. > > > > > > > >What is your option on running anti-virus software on network > > > >servers? > > > >(Assuming that you do run on-access scanning software on the > > > >workstations) > > > > > > > >Note: > > > >X-posted to > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Marty Connelly > > > Victoria, B.C. > > > Canada > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Sat Nov 22 20:04:41 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sat, 22 Nov 2003 20:04:41 -0600 Subject: [AccessD] OT: Color Laser References: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> Message-ID: <004f01c3b166$281e70d0$64a39a44@hive> Rocky, I did a little investigation a few years ago, and the cost of consumables for I think 5% coverage was something like $0.66 per page. Add to that the price of a printer and it makes Kinko's look much more attractive. Then you have to add the cost of assembling, binding and shipping the manual which makes it a pretty expensive proposition. Most manuals that I have seen still use monochrome screen shots. Why not just include the manual in .pdf format and let the customer decide whether they get color or monochrome manuals, if they decide to print them at all. Jim ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Saturday, November 22, 2003 11:03 AM Subject: [AccessD] OT: Color Laser > Cross posting from dba-tech. > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "dba-tech" > Sent: Saturday, November 22, 2003 8:34 AM > Subject: [dba-Tech] Color Laser > > > Hello: > > I'm writing a manual now into which I've dropped a lot of screen shots. > They look much better in color than in black and white. I think that having > Kinko's do these on their color laser might be cost prohibitive. The manual > will be about 150+ pages when done and of course, not all of the pages will > require color, although they'll have to charge the color cost for every > page. > > So now I'm thinking about a color laser printer. Ink jet would be far too > slow if I have to make these manuals in the quantity I'm praying will be > necessary. > > Does anyone have any experience or advice on color laser printers? > > TIA, > > Rocky > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > 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 Nov 22 20:27:28 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 20:27:28 -0600 Subject: [AccessD] OT: Color Laser In-Reply-To: <20031122165143.1349102459.serbach@new.rr.com> Message-ID: Phaser printers rock! If you have the bucks. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > Erbach > Sent: Saturday, November 22, 2003 4:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Color Laser > > > Rocky, > > >> Does anyone have any experience or advice on color laser printers? << > > I googled a few printer review web sites. Good reviews for the HP > 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level > priced color lasers. > > I have a long history with HP printers, but that Xerox looks awfully good. > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this > message. However, several coulombs of electrons were temporarily > inconvenienced. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Sat Nov 22 20:32:05 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 20:32:05 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275CD@main2.marlow.com> Message-ID: Drew, Thanks for the info, sounds like a rock solid server app. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, November 22, 2003 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Yes, ScanMail will scan the files within a zip file. You can even set how > deep you want it to scan (for zips within zips). I think we are set to 5 > levels. We have never blocked .zip files, and I certainly don't plan on > starting. We do block any extension that can be run off the bat, such as > .exe, .com, .bat, etc. Those are blocked simply as a buffer, since brand > new viruses aren't caught until Trend updates their patterns > (which they do > pretty fast). Once a virus is in the pattern though, it will strip it out > of zip files. > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 10:03 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > That's a shame. > > I would think that security and productivity should have at least equal > priority in the work place :o) > > For true security to ever happen the email security people are > going to have > to start identifying what's in a zip file rather than the fact that its a > zip file. Most AV scanners can already scan zip contents so I would think > that if a message came through with a zip attachment that the zip > attachment's contents could be scanned for problems rather than just > assuming that its a problem because its a zip. Even if they > pulled the email > aside and processed it out of stream rather than doing it directly and > clogging up the system it would be preferable to just deleting it! > > Hey Drew can Trend Micro's system do that? > > Of course if they scan the zip - then .mdbs can't be considered dangerous > either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? > If one could write a script to scan .mdbs with FMS AV scanner it could > eliminating the whole annoying process of not allowing .mdb > attachments. (Of > course I always zip my mdbs because they usually compress about 80% so I'm > back to the first argument... now I'm just babbling... > :o) > > What say we get some big company to put a bounty out on the heads of virus > writers? > ;o) > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Saturday, November 22, 2003 8:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Thats just how we do it in work. PITA but gets us past the email people. > > > > Martin > > > > > > > Oh, yes, there always have to have some people that overdo everything, > > > beside scanning .mdb how about not allowing .zip extensions in email?! > > Then > > > of course you have people who resort to changing the file extension on > > your > > > zipped files to .txt and instructing the person on other end to > > change it > > > back. That's good covenient security. > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > server. I keep > > > > a special stick to poke network guys who insist on scanning > > ldb and mdb > > > > file types among others. Scanning a 300MB file on-access can bring > > > > things to a grinding halt. > > > > > > > > Stuart McLachlan wrote: > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > >> > > > > >>I personally don't say it has no place in the world. The > > unfortunate > > > > >>reality is that there are millions of machines out there used > > > > by individuals > > > > >>in their homes (or small office) who are too ignorant to run > > > > virus checkers. > > > > >>THESE users should indeed install the service patch so that > > > > they only screw > > > > >>up their own machines when the virus hits them. It simply has > > > > no place in a > > > > >>business where they should be running AV software. > > > > >> > > > > >> > > > > >> > > > > > > > > > >Which brings us on to another question, prompted recently by a > > > > >client. > > > > > > > > > >What is your option on running anti-virus software on network > > > > >servers? > > > > >(Assuming that you do run on-access scanning software on the > > > > >workstations) > > > > > > > > > >Note: > > > > >X-posted to > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Marty Connelly > > > > Victoria, B.C. > > > > Canada > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 22 20:38:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 22 Nov 2003 20:38:44 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275CE@main2.marlow.com> I love everything we use from Trend, with the exception of eManager, which is a spam blocking 'add-in' for ScanMail. Don't get me wrong, it works, as well as most of the stuff I've seen out there, but that's the problem. It's not stellar! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Saturday, November 22, 2003 8:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] Drew, Thanks for the info, sounds like a rock solid server app. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, November 22, 2003 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Yes, ScanMail will scan the files within a zip file. You can even set how > deep you want it to scan (for zips within zips). I think we are set to 5 > levels. We have never blocked .zip files, and I certainly don't plan on > starting. We do block any extension that can be run off the bat, such as > .exe, .com, .bat, etc. Those are blocked simply as a buffer, since brand > new viruses aren't caught until Trend updates their patterns > (which they do > pretty fast). Once a virus is in the pattern though, it will strip it out > of zip files. > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 10:03 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > That's a shame. > > I would think that security and productivity should have at least equal > priority in the work place :o) > > For true security to ever happen the email security people are > going to have > to start identifying what's in a zip file rather than the fact that its a > zip file. Most AV scanners can already scan zip contents so I would think > that if a message came through with a zip attachment that the zip > attachment's contents could be scanned for problems rather than just > assuming that its a problem because its a zip. Even if they > pulled the email > aside and processed it out of stream rather than doing it directly and > clogging up the system it would be preferable to just deleting it! > > Hey Drew can Trend Micro's system do that? > > Of course if they scan the zip - then .mdbs can't be considered dangerous > either. FMS has a free virus scanner for .mdbs I wonder if its worthwhile? > If one could write a script to scan .mdbs with FMS AV scanner it could > eliminating the whole annoying process of not allowing .mdb > attachments. (Of > course I always zip my mdbs because they usually compress about 80% so I'm > back to the first argument... now I'm just babbling... > :o) > > What say we get some big company to put a bounty out on the heads of virus > writers? > ;o) > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > Sent: Saturday, November 22, 2003 8:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Thats just how we do it in work. PITA but gets us past the email people. > > > > Martin > > > > > > > Oh, yes, there always have to have some people that overdo everything, > > > beside scanning .mdb how about not allowing .zip extensions in email?! > > Then > > > of course you have people who resort to changing the file extension on > > your > > > zipped files to .txt and instructing the person on other end to > > change it > > > back. That's good covenient security. > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > server. I keep > > > > a special stick to poke network guys who insist on scanning > > ldb and mdb > > > > file types among others. Scanning a 300MB file on-access can bring > > > > things to a grinding halt. > > > > > > > > Stuart McLachlan wrote: > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > >> > > > > >>I personally don't say it has no place in the world. The > > unfortunate > > > > >>reality is that there are millions of machines out there used > > > > by individuals > > > > >>in their homes (or small office) who are too ignorant to run > > > > virus checkers. > > > > >>THESE users should indeed install the service patch so that > > > > they only screw > > > > >>up their own machines when the virus hits them. It simply has > > > > no place in a > > > > >>business where they should be running AV software. > > > > >> > > > > >> > > > > >> > > > > > > > > > >Which brings us on to another question, prompted recently by a > > > > >client. > > > > > > > > > >What is your option on running anti-virus software on network > > > > >servers? > > > > >(Assuming that you do run on-access scanning software on the > > > > >workstations) > > > > > > > > > >Note: > > > > >X-posted to > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Marty Connelly > > > > Victoria, B.C. > > > > Canada > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 22 20:46:08 2003 From: john at winhaven.net (John Bartow) Date: Sat, 22 Nov 2003 20:46:08 -0600 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275CE@main2.marlow.com> Message-ID: I guess the only server app I was ever that happy with was Diskeeper defragger. I needed it because almost all of the NT4WS I had on the network were used for apps that caused massive fragging. It worked great. As Ron Popeil would say "I just set it and forget" and it ran for years that way every night. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, November 22, 2003 8:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > I love everything we use from Trend, with the exception of eManager, which > is a spam blocking 'add-in' for ScanMail. Don't get me wrong, it > works, as > well as most of the stuff I've seen out there, but that's the > problem. It's > not stellar! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 8:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Drew, > Thanks for the info, sounds like a rock solid server app. > > jb > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Saturday, November 22, 2003 7:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Yes, ScanMail will scan the files within a zip file. You can > even set how > > deep you want it to scan (for zips within zips). I think we > are set to 5 > > levels. We have never blocked .zip files, and I certainly don't plan on > > starting. We do block any extension that can be run off the > bat, such as > > .exe, .com, .bat, etc. Those are blocked simply as a buffer, > since brand > > new viruses aren't caught until Trend updates their patterns > > (which they do > > pretty fast). Once a virus is in the pattern though, it will > strip it out > > of zip files. > > > > Drew > > > > -----Original Message----- > > From: John Bartow [mailto:john at winhaven.net] > > Sent: Saturday, November 22, 2003 10:03 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > That's a shame. > > > > I would think that security and productivity should have at least equal > > priority in the work place :o) > > > > For true security to ever happen the email security people are > > going to have > > to start identifying what's in a zip file rather than the fact > that its a > > zip file. Most AV scanners can already scan zip contents so I > would think > > that if a message came through with a zip attachment that the zip > > attachment's contents could be scanned for problems rather than just > > assuming that its a problem because its a zip. Even if they > > pulled the email > > aside and processed it out of stream rather than doing it directly and > > clogging up the system it would be preferable to just deleting it! > > > > Hey Drew can Trend Micro's system do that? > > > > Of course if they scan the zip - then .mdbs can't be considered > dangerous > > either. FMS has a free virus scanner for .mdbs I wonder if its > worthwhile? > > If one could write a script to scan .mdbs with FMS AV scanner it could > > eliminating the whole annoying process of not allowing .mdb > > attachments. (Of > > course I always zip my mdbs because they usually compress about > 80% so I'm > > back to the first argument... now I'm just babbling... > > :o) > > > > What say we get some big company to put a bounty out on the > heads of virus > > writers? > > ;o) > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > > > Sent: Saturday, November 22, 2003 8:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > > > > Thats just how we do it in work. PITA but gets us past the > email people. > > > > > > Martin > > > > > > > > > > Oh, yes, there always have to have some people that overdo > everything, > > > > beside scanning .mdb how about not allowing .zip extensions > in email?! > > > Then > > > > of course you have people who resort to changing the file > extension on > > > your > > > > zipped files to .txt and instructing the person on other end to > > > change it > > > > back. That's good covenient security. > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > MartyConnelly > > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] AV Software on Servers [was > Redemption DLL ] > > > > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > > server. I keep > > > > > a special stick to poke network guys who insist on scanning > > > ldb and mdb > > > > > file types among others. Scanning a 300MB file on-access can bring > > > > > things to a grinding halt. > > > > > > > > > > Stuart McLachlan wrote: > > > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > > >> > > > > > >>I personally don't say it has no place in the world. The > > > unfortunate > > > > > >>reality is that there are millions of machines out there used > > > > > by individuals > > > > > >>in their homes (or small office) who are too ignorant to run > > > > > virus checkers. > > > > > >>THESE users should indeed install the service patch so that > > > > > they only screw > > > > > >>up their own machines when the virus hits them. It simply has > > > > > no place in a > > > > > >>business where they should be running AV software. > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > >Which brings us on to another question, prompted recently by a > > > > > >client. > > > > > > > > > > > >What is your option on running anti-virus software on network > > > > > >servers? > > > > > >(Assuming that you do run on-access scanning software on the > > > > > >workstations) > > > > > > > > > > > >Note: > > > > > >X-posted to > > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Marty Connelly > > > > > Victoria, B.C. > > > > > Canada > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Nov 22 21:23:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 19:23:23 -0800 Subject: [AccessD] OT: Color Laser References: <007c01c3b11a$87f19b50$6501a8c0@HAL9002> <004f01c3b166$281e70d0$64a39a44@hive> Message-ID: <010801c3b171$271675b0$6501a8c0@HAL9002> Rats. I really want a color laser printer. This was my big opportunity to create a flimsy rationalization for one. You're probably right though. Color copying will be cheaper. There are some marketing reasons, however, why I want to deliver the software with a manual. But I was always a slow adopter. Maybe that's the right way to go. Rocky ----- Original Message ----- From: "jmoss111" To: Sent: Saturday, November 22, 2003 6:04 PM Subject: Re: [AccessD] OT: Color Laser > Rocky, > > I did a little investigation a few years ago, and the cost of consumables > for I think 5% coverage was something like $0.66 per page. Add to that the > price of a printer and it makes Kinko's look much more attractive. Then you > have to add the cost of assembling, binding and shipping the manual which > makes it a pretty expensive proposition. Most manuals that I have seen still > use monochrome screen shots. > > Why not just include the manual in .pdf format and let the customer decide > whether they get color or monochrome manuals, if they decide to print them > at all. > > Jim > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Saturday, November 22, 2003 11:03 AM > Subject: [AccessD] OT: Color Laser > > > > Cross posting from dba-tech. > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "dba-tech" > > Sent: Saturday, November 22, 2003 8:34 AM > > Subject: [dba-Tech] Color Laser > > > > > > Hello: > > > > I'm writing a manual now into which I've dropped a lot of screen shots. > > They look much better in color than in black and white. I think that > having > > Kinko's do these on their color laser might be cost prohibitive. The > manual > > will be about 150+ pages when done and of course, not all of the pages > will > > require color, although they'll have to charge the color cost for every > > page. > > > > So now I'm thinking about a color laser printer. Ink jet would be far too > > slow if I have to make these manuals in the quantity I'm praying will be > > necessary. > > > > Does anyone have any experience or advice on color laser printers? > > > > TIA, > > > > Rocky > > _______________________________________________ > > dba-Tech mailing list > > dba-Tech at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ebarro at afsweb.com Sat Nov 22 21:23:49 2003 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 22 Nov 2003 19:23:49 -0800 Subject: [AccessD] OT: Color Laser In-Reply-To: <20031122165143.1349102459.serbach@new.rr.com> Message-ID: I've worked with Tektronix Phaser printers and they have excellent output. The consumables were killing us though. As an alternative we now have a SAVIN SLP38c color printer. The company that sold us the printer takes care of the consumables and maintenance as part of the contract. I believe it's $1.00 per page for this kind of arrangement. The printed output is close enough to the Tektronix and the speed of printing beats the Tektronix hands down. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Saturday, November 22, 2003 2:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Color Laser Rocky, >> Does anyone have any experience or advice on color laser printers? << I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. I have a long history with HP printers, but that Xerox looks awfully good. http://www.printershowcase.com/printer_reviews_xerox6250.asp Regards, Steve Erbach Scientific Marketing Neenah, WI Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. _______________________________________________ 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.538 / Virus Database: 333 - Release Date: 11/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 From tomk at multiline.com.au Sat Nov 22 21:41:22 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Sun, 23 Nov 2003 11:41:22 +0800 Subject: [AccessD] OT: Color Laser References: Message-ID: <002301c3b173$af490720$0300a8c0@print> I use eight Tekronix(Xerox) Phaser 860's in my business ...brilliant printer for my application and the beauty of the 860 (also the 840 and 850) is that black ink is FREE. You only pay for colour ink Unlike inkjet printers the finish to the printed page looks as though it was offset printed and glossy ....I think also the 860 came with duplexing as standard (although check that) I always buy duplexing as its essential for my application You can still buy the 860 new although they would be scarce now as the model was superseded a couple of years ago...I managed to pick 3 up a few months ago with full warranty etc..... If you are stuck ....or only want to print one or two ....send me a PDF of your manual and I would be happy to print it for you .... I can courier it to you. (you could advertise PRINTED INTERNATIONALLY) Regards Tom Keatley ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Sunday, November 23, 2003 10:27 AM Subject: RE: [AccessD] OT: Color Laser > Phaser printers rock! > > If you have the bucks. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > > Erbach > > Sent: Saturday, November 22, 2003 4:52 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Color Laser > > > > > > Rocky, > > > > >> Does anyone have any experience or advice on color laser printers? << > > > > I googled a few printer review web sites. Good reviews for the HP > > 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level > > priced color lasers. > > > > I have a long history with HP printers, but that Xerox looks awfully good. > > > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > > > Regards, > > > > Steve Erbach > > Scientific Marketing > > Neenah, WI > > > > Disclaimer: No tree was killed in the transmission of this > > message. However, several coulombs of electrons were temporarily > > inconvenienced. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Nov 22 22:39:42 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 20:39:42 -0800 Subject: [AccessD] OT: Color Laser References: Message-ID: <015b01c3b17b$d0485180$6501a8c0@HAL9002> Well at that rate it'll cost me $150 to print out the manual. Probably Kinko's or Staples will be able to beat that. Rocky ----- Original Message ----- From: "Eric Barro" To: "Access Developers discussion and problem solving" Sent: Saturday, November 22, 2003 7:23 PM Subject: RE: [AccessD] OT: Color Laser > I've worked with Tektronix Phaser printers and they have excellent output. The consumables were killing us though. As an alternative we now have a SAVIN SLP38c color printer. The company that sold us the printer takes care of the consumables and maintenance as part of the contract. I believe it's $1.00 per page for this kind of arrangement. The printed output is close enough to the Tektronix and the speed of printing beats the Tektronix hands down. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > Erbach > Sent: Saturday, November 22, 2003 2:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Color Laser > > > Rocky, > > >> Does anyone have any experience or advice on color laser printers? << > > I googled a few printer review web sites. Good reviews for the HP 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level priced color lasers. > > I have a long history with HP printers, but that Xerox looks awfully good. > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > > Disclaimer: No tree was killed in the transmission of this message. However, several coulombs of electrons were temporarily inconvenienced. > > _______________________________________________ > 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.538 / Virus Database: 333 - Release Date: 11/10/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sat Nov 22 22:42:46 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 22 Nov 2003 20:42:46 -0800 Subject: [AccessD] OT: Color Laser References: <002301c3b173$af490720$0300a8c0@print> Message-ID: <016101c3b17c$3dfb8260$6501a8c0@HAL9002> Looked it up. Looks beautiful. The carts are a killer though, aren't they? Looks like about $200 a pop!! Anyway, thanks for the offer. I think I've got to stay local though. Probably print 10-20 at a time. Rocky ----- Original Message ----- From: "Tom Keatley" To: "Access Developers discussion and problem solving" Sent: Saturday, November 22, 2003 7:41 PM Subject: Re: [AccessD] OT: Color Laser > I use eight Tekronix(Xerox) Phaser 860's in my business ...brilliant printer > for my application and the beauty of the 860 (also the 840 and 850) is that > black ink is FREE. You only pay for colour ink > > Unlike inkjet printers the finish to the printed page looks as though it was > offset printed and glossy ....I think also the 860 came with duplexing as > standard (although check that) I always buy duplexing as its essential for > my application > > You can still buy the 860 new although they would be scarce now as the model > was superseded a couple of years ago...I managed to pick 3 up a few months > ago with full warranty etc..... > > If you are stuck ....or only want to print one or two ....send me a PDF of > your manual and I would be happy to print it for you .... I can courier it > to you. (you could advertise PRINTED INTERNATIONALLY) > > Regards > > Tom Keatley > > > > > ----- Original Message ----- > From: "John Bartow" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 23, 2003 10:27 AM > Subject: RE: [AccessD] OT: Color Laser > > > > Phaser printers rock! > > > > If you have the bucks. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. > > > Erbach > > > Sent: Saturday, November 22, 2003 4:52 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > Rocky, > > > > > > >> Does anyone have any experience or advice on color laser printers? << > > > > > > I googled a few printer review web sites. Good reviews for the HP > > > 4600 and the Xerox/Tektronix Phaser 6250. These are mid-level > > > priced color lasers. > > > > > > I have a long history with HP printers, but that Xerox looks awfully > good. > > > > > > http://www.printershowcase.com/printer_reviews_xerox6250.asp > > > > > > Regards, > > > > > > Steve Erbach > > > Scientific Marketing > > > Neenah, WI > > > > > > Disclaimer: No tree was killed in the transmission of this > > > message. However, several coulombs of electrons were temporarily > > > inconvenienced. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sun Nov 23 04:11:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 23 Nov 2003 11:11:57 +0100 Subject: [AccessD] Change Default Printer In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275BE@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8022275BE@main2.marlow.com> Message-ID: <1774296928.20031123111157@cactus.dk> Hi Drew Look up the archive on "Export Access Report to Word" two weeks ago. /gustav > 'Print To Picture thingy'. Is that a technical term, or just an industry > standard out in Arnold's World? (Sorry, it's Friday, I couldn't > resist!). From djkr at msn.com Sun Nov 23 04:13:50 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 10:13:50 -0000 Subject: [AccessD] OT: Color Laser In-Reply-To: <010801c3b171$271675b0$6501a8c0@HAL9002> Message-ID: <002b01c3b1aa$7d3ca930$bf00a8c0@dabsight> Rocky Get one! See dba-Tech for my posting enthusing about my Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - I have no connection.) Your needs just sound so similar to mine, and $1.00 a page would have been *WAY* way over the top! John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 23 November 2003 03:23 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Color Laser > > > Rats. I really want a color laser printer. This was my big > opportunity to create a flimsy rationalization for one. > You're probably right though. Color copying will be cheaper. > > There are some marketing reasons, however, why I want to > deliver the software with a manual. But I was always a slow > adopter. Maybe that's the right way to go. > > Rocky > > ----- Original Message ----- > From: "jmoss111" > To: > Sent: Saturday, November 22, 2003 6:04 PM > Subject: Re: [AccessD] OT: Color Laser > > > > Rocky, > > > > I did a little investigation a few years ago, and the cost of > > consumables for I think 5% coverage was something like > $0.66 per page. > > Add to that the price of a printer and it makes Kinko's > look much more > > attractive. Then > you > > have to add the cost of assembling, binding and shipping the manual > > which makes it a pretty expensive proposition. Most manuals that I > > have seen > still > > use monochrome screen shots. > > > > Why not just include the manual in .pdf format and let the customer > > decide whether they get color or monochrome manuals, if > they decide to > > print them at all. > > > > Jim > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Saturday, November 22, 2003 11:03 AM > > Subject: [AccessD] OT: Color Laser > > > > > > > Cross posting from dba-tech. > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: "dba-tech" > > > Sent: Saturday, November 22, 2003 8:34 AM > > > Subject: [dba-Tech] Color Laser > > > > > > > > > Hello: > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > shots. They look much better in color than in black and white. I > > > think that > > having > > > Kinko's do these on their color laser might be cost prohibitive. > > > The > > manual > > > will be about 150+ pages when done and of course, not all of the > > > pages > > will > > > require color, although they'll have to charge the color cost for > > > every page. > > > > > > So now I'm thinking about a color laser printer. Ink jet > would be > > > far > too > > > slow if I have to make these manuals in the quantity I'm praying > > > will be necessary. > > > > > > Does anyone have any experience or advice on color laser printers? > > > > > > TIA, > > > > > > Rocky > > > _______________________________________________ > > > dba-Tech mailing list > > > dba-Tech at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 andy at minstersystems.co.uk Sun Nov 23 04:23:04 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 23 Nov 2003 10:23:04 -0000 Subject: [AccessD] OT: Color Laser ON TECH In-Reply-To: <002b01c3b1aa$7d3ca930$bf00a8c0@dabsight> Message-ID: <04ad01c3b1ab$c7b5f2e0$b274d0d5@minster33c3r25> Please keep this thread to dba-Tech where the other half of it's running. Thanks Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DJK(John) Robinson > Sent: 23 November 2003 10:14 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Color Laser > > > Rocky > > Get one! See dba-Tech for my posting enthusing about my > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > I have no connection.) Your needs just sound so similar to > mine, and $1.00 a page would have been > *WAY* way over the top! > > John > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 23 November 2003 03:23 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Color Laser > > > > > > Rats. I really want a color laser printer. This was my big > > opportunity to create a flimsy rationalization for one. > > You're probably right though. Color copying will be cheaper. > > > > There are some marketing reasons, however, why I want to > > deliver the software with a manual. But I was always a slow > > adopter. Maybe that's the right way to go. > > > > Rocky > > > > ----- Original Message ----- > > From: "jmoss111" > > To: > > Sent: Saturday, November 22, 2003 6:04 PM > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > Rocky, > > > > > > I did a little investigation a few years ago, and the cost of > > > consumables for I think 5% coverage was something like > > $0.66 per page. > > > Add to that the price of a printer and it makes Kinko's > > look much more > > > attractive. Then > > you > > > have to add the cost of assembling, binding and shipping > the manual > > > which makes it a pretty expensive proposition. Most > manuals that I > > > have seen > > still > > > use monochrome screen shots. > > > > > > Why not just include the manual in .pdf format and let > the customer > > > decide whether they get color or monochrome manuals, if > > they decide to > > > print them at all. > > > > > > Jim > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Saturday, November 22, 2003 11:03 AM > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: "dba-tech" > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > Hello: > > > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > > shots. They look much better in color than in black and > white. I > > > > think that > > > having > > > > Kinko's do these on their color laser might be cost prohibitive. > > > > The > > > manual > > > > will be about 150+ pages when done and of course, not all of the > > > > pages > > > will > > > > require color, although they'll have to charge the > color cost for > > > > every page. > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > would be > > > > far > > too > > > > slow if I have to make these manuals in the quantity I'm praying > > > > will be necessary. > > > > > > > > Does anyone have any experience or advice on color > laser printers? > > > > > > > > TIA, > > > > > > > > Rocky > > > > _______________________________________________ > > > > dba-Tech mailing list > > > > dba-Tech at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From andy at minstersystems.co.uk Sun Nov 23 04:24:46 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 23 Nov 2003 10:24:46 -0000 Subject: [AccessD] AV Software on Servers [was Redemption DLL ] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275CE@main2.marlow.com> Message-ID: <04ae01c3b1ac$0493c430$b274d0d5@minster33c3r25> Please take this thread to dba-Tech too. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 23 November 2003 02:39 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > I love everything we use from Trend, with the exception of > eManager, which is a spam blocking 'add-in' for ScanMail. > Don't get me wrong, it works, as well as most of the stuff > I've seen out there, but that's the problem. It's not stellar! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Saturday, November 22, 2003 8:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > Drew, > Thanks for the info, sounds like a rock solid server app. > > jb > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Saturday, November 22, 2003 7:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > Yes, ScanMail will scan the files within a zip file. You > can even set > > how deep you want it to scan (for zips within zips). I > think we are > > set to 5 levels. We have never blocked .zip files, and I certainly > > don't plan on starting. We do block any extension that can > be run off > > the bat, such as .exe, .com, .bat, etc. Those are blocked > simply as a > > buffer, since brand new viruses aren't caught until Trend updates > > their patterns (which they do pretty fast). Once a virus is in the > > pattern though, it will strip it out of zip files. > > > > Drew > > > > -----Original Message----- > > From: John Bartow [mailto:john at winhaven.net] > > Sent: Saturday, November 22, 2003 10:03 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AV Software on Servers [was Redemption DLL ] > > > > > > That's a shame. > > > > I would think that security and productivity should have at least > > equal priority in the work place :o) > > > > For true security to ever happen the email security people > are going > > to have to start identifying what's in a zip file rather > than the fact > > that its a zip file. Most AV scanners can already scan zip > contents so > > I would think that if a message came through with a zip attachment > > that the zip attachment's contents could be scanned for problems > > rather than just assuming that its a problem because its a > zip. Even > > if they pulled the email > > aside and processed it out of stream rather than doing it > directly and > > clogging up the system it would be preferable to just deleting it! > > > > Hey Drew can Trend Micro's system do that? > > > > Of course if they scan the zip - then .mdbs can't be considered > > dangerous either. FMS has a free virus scanner for .mdbs I > wonder if > > its worthwhile? If one could write a script to scan .mdbs > with FMS AV > > scanner it could eliminating the whole annoying process of not > > allowing .mdb attachments. (Of course I always zip my mdbs because > > they usually compress about 80% so I'm > > back to the first argument... now I'm just babbling... > > :o) > > > > What say we get some big company to put a bounty out on the > heads of > > virus writers? > > ;o) > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin > > > Reid > > > Sent: Saturday, November 22, 2003 8:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AV Software on Servers [was > Redemption DLL ] > > > > > > > > > Thats just how we do it in work. PITA but gets us past the email > > > people. > > > > > > Martin > > > > > > > > > > Oh, yes, there always have to have some people that overdo > > > > everything, beside scanning .mdb how about not allowing .zip > > > > extensions in email?! > > > Then > > > > of course you have people who resort to changing the file > > > > extension on > > > your > > > > zipped files to .txt and instructing the person on other end to > > > change it > > > > back. That's good covenient security. > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > MartyConnelly > > > > > Sent: Friday, November 21, 2003 1:39 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] AV Software on Servers [was Redemption > > > > > DLL ] > > > > > > > > > > > > > > > Depends on what file extensions are scanned on a network > > > server. I keep > > > > > a special stick to poke network guys who insist on scanning > > > ldb and mdb > > > > > file types among others. Scanning a 300MB file on-access can > > > > > bring things to a grinding halt. > > > > > > > > > > Stuart McLachlan wrote: > > > > > > > > > > >On 20 Nov 2003 at 20:40, John W. Colby wrote: > > > > > > > > > > > > > > > > > > > > > > > >>Stuart, > > > > > >> > > > > > >>I personally don't say it has no place in the world. The > > > unfortunate > > > > > >>reality is that there are millions of machines out > there used > > > > > by individuals > > > > > >>in their homes (or small office) who are too ignorant to run > > > > > virus checkers. > > > > > >>THESE users should indeed install the service patch so that > > > > > they only screw > > > > > >>up their own machines when the virus hits them. It > simply has > > > > > no place in a > > > > > >>business where they should be running AV software. > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > >Which brings us on to another question, prompted > recently by a > > > > > >client. > > > > > > > > > > > >What is your option on running anti-virus software > on network > > > > > >servers? (Assuming that you do run on-access > scanning software > > > > > >on the > > > > > >workstations) > > > > > > > > > > > >Note: > > > > > >X-posted to > > > > > >All follow ups to that list only. Please! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Marty Connelly > > > > > Victoria, B.C. > > > > > Canada > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From djkr at msn.com Sun Nov 23 11:10:01 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 17:10:01 -0000 Subject: [AccessD] List broken? In-Reply-To: <002301c3b173$af490720$0300a8c0@print> Message-ID: <004101c3b1e4$a12ee210$bf00a8c0@dabsight> Is this list broken? My post of seven hours ago still hasn't appeared (1710 GMT/UTC). Nor has anything else. The dba-Tech list is running fine, meanwhile, at a delay of just a few minutes. John From carbonnb at sympatico.ca Sun Nov 23 12:03:12 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 23 Nov 2003 13:03:12 -0500 Subject: [AccessD] List broken? In-Reply-To: <004101c3b1e4$a12ee210$bf00a8c0@dabsight> References: <002301c3b173$af490720$0300a8c0@print> Message-ID: <3FC0B010.5985.DAAC4C@localhost> On 23 Nov 2003 at 17:10, DJK(John) Robinson wrote: > Is this list broken? My post of seven hours ago still hasn't appeared > (1710 GMT/UTC). Nor has anything else. > > The dba-Tech list is running fine, meanwhile, at a delay of just a few > minutes. John, Your post must be lost in the ether somewhere. It never made it to the list host. Also the last post to the list was at 10:38 UTC, so that was about 6.5 hours previous to the post I'm replying to. Nothing is stuck anywhere at the list host, either comning in or going out. Your friendly listmaster, -- Bryan Carbonnell - carbonnb at sympatico.ca Tell me what you need, and I'll tell you how to get along without it. From carbonnb at sympatico.ca Sun Nov 23 12:05:02 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 23 Nov 2003 13:05:02 -0500 Subject: [AccessD] List broken? In-Reply-To: <3FC0B010.5985.DAAC4C@localhost> References: <004101c3b1e4$a12ee210$bf00a8c0@dabsight> Message-ID: <3FC0B07E.21952.DC593C@localhost> On 23 Nov 2003 at 13:03, Bryan Carbonnell wrote: > On 23 Nov 2003 at 17:10, DJK(John) Robinson wrote: > > > Is this list broken? My post of seven hours ago still hasn't > > appeared (1710 GMT/UTC). Nor has anything else. > > > > The dba-Tech list is running fine, meanwhile, at a delay of just a > > few minutes. > > John, > > Your post must be lost in the ether somewhere. > > It never made it to the list host. > > Also the last post to the list was at 10:38 UTC, so that was about 6.5 > hours previous to the post I'm replying to. > > Nothing is stuck anywhere at the list host, either comning in or going > out. Just FYI, This post took less than a minute to make it back to me. -- Bryan Carbonnell - carbonnb at sympatico.ca My reality check bounced. From djkr at msn.com Sun Nov 23 12:13:26 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 18:13:26 -0000 Subject: [AccessD] OT: Color Laser Message-ID: <004201c3b1ed$7da5cfd0$bf00a8c0@dabsight> *** REPOST *** > -----Original Message----- > From: DJK(John) Robinson [mailto:djkr at msn.com] > Sent: 23 November 2003 10:14 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Color Laser > > > Rocky > > Get one! See dba-Tech for my posting enthusing about my > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > I have no connection.) Your needs just sound so similar to > mine, and $1.00 a page would have been *WAY* way over the top! > > John > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin - Beach Access Software > > Sent: 23 November 2003 03:23 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Color Laser > > > > > > Rats. I really want a color laser printer. This was my big > > opportunity to create a flimsy rationalization for one. > > You're probably right though. Color copying will be cheaper. > > > > There are some marketing reasons, however, why I want to > > deliver the software with a manual. But I was always a slow > > adopter. Maybe that's the right way to go. > > > > Rocky > > > > ----- Original Message ----- > > From: "jmoss111" > > To: > > Sent: Saturday, November 22, 2003 6:04 PM > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > Rocky, > > > > > > I did a little investigation a few years ago, and the cost of > > > consumables for I think 5% coverage was something like > > $0.66 per page. > > > Add to that the price of a printer and it makes Kinko's > > look much more > > > attractive. Then > > you > > > have to add the cost of assembling, binding and shipping > the manual > > > which makes it a pretty expensive proposition. Most > manuals that I > > > have seen > > still > > > use monochrome screen shots. > > > > > > Why not just include the manual in .pdf format and let > the customer > > > decide whether they get color or monochrome manuals, if > > they decide to > > > print them at all. > > > > > > Jim > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Saturday, November 22, 2003 11:03 AM > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: "dba-tech" > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > Hello: > > > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > > shots. They look much better in color than in black and > white. I > > > > think that > > > having > > > > Kinko's do these on their color laser might be cost prohibitive. > > > > The > > > manual > > > > will be about 150+ pages when done and of course, not all of the > > > > pages > > > will > > > > require color, although they'll have to charge the > color cost for > > > > every page. > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > would be > > > > far > > too > > > > slow if I have to make these manuals in the quantity I'm praying > > > > will be necessary. > > > > > > > > Does anyone have any experience or advice on color > laser printers? > > > > > > > > TIA, > > > > > > > > Rocky > > > > _______________________________________________ > > > > dba-Tech mailing list > > > > dba-Tech at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.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 djkr at msn.com Sun Nov 23 12:20:48 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 18:20:48 -0000 Subject: [AccessD] List broken? In-Reply-To: <3FC0B07E.21952.DC593C@localhost> Message-ID: <004301c3b1ee$84a05a20$bf00a8c0@dabsight> Hmm, thanks Bryan. Maybe it's an MSN problem... Anyway, the repost worked fine. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 23 November 2003 18:05 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] List broken? > > > On 23 Nov 2003 at 13:03, Bryan Carbonnell wrote: > > > On 23 Nov 2003 at 17:10, DJK(John) Robinson wrote: > > > > > Is this list broken? My post of seven hours ago still hasn't > > > appeared (1710 GMT/UTC). Nor has anything else. > > > > > > The dba-Tech list is running fine, meanwhile, at a delay > of just a > > > few minutes. > > > > John, > > > > Your post must be lost in the ether somewhere. > > > > It never made it to the list host. > > > > Also the last post to the list was at 10:38 UTC, so that > was about 6.5 > > hours previous to the post I'm replying to. > > > > Nothing is stuck anywhere at the list host, either comning > in or going > > out. > > Just FYI, > > This post took less than a minute to make it back to me. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > My reality check bounced. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From bchacc at san.rr.com Sun Nov 23 12:43:05 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 23 Nov 2003 10:43:05 -0800 Subject: [AccessD] OT: Color Laser References: <004201c3b1ed$7da5cfd0$bf00a8c0@dabsight> Message-ID: <009301c3b1f1$a1b42bc0$6501a8c0@HAL9002> DK - saw this one earlier. Rocky ----- Original Message ----- From: "DJK(John) Robinson" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 23, 2003 10:13 AM Subject: RE: [AccessD] OT: Color Laser > *** REPOST *** > > > -----Original Message----- > > From: DJK(John) Robinson [mailto:djkr at msn.com] > > Sent: 23 November 2003 10:14 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Color Laser > > > > > > Rocky > > > > Get one! See dba-Tech for my posting enthusing about my > > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > > I have no connection.) Your needs just sound so similar to > > mine, and $1.00 a page would have been *WAY* way over the top! > > > > John > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Rocky Smolin - Beach Access Software > > > Sent: 23 November 2003 03:23 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > Rats. I really want a color laser printer. This was my big > > > opportunity to create a flimsy rationalization for one. > > > You're probably right though. Color copying will be cheaper. > > > > > > There are some marketing reasons, however, why I want to > > > deliver the software with a manual. But I was always a slow > > > adopter. Maybe that's the right way to go. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "jmoss111" > > > To: > > > Sent: Saturday, November 22, 2003 6:04 PM > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > > Rocky, > > > > > > > > I did a little investigation a few years ago, and the cost of > > > > consumables for I think 5% coverage was something like > > > $0.66 per page. > > > > Add to that the price of a printer and it makes Kinko's > > > look much more > > > > attractive. Then > > > you > > > > have to add the cost of assembling, binding and shipping > > the manual > > > > which makes it a pretty expensive proposition. Most > > manuals that I > > > > have seen > > > still > > > > use monochrome screen shots. > > > > > > > > Why not just include the manual in .pdf format and let > > the customer > > > > decide whether they get color or monochrome manuals, if > > > they decide to > > > > print them at all. > > > > > > > > Jim > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: > > > > Sent: Saturday, November 22, 2003 11:03 AM > > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > To: "dba-tech" > > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > > > > Hello: > > > > > > > > > > I'm writing a manual now into which I've dropped a lot of screen > > > > > shots. They look much better in color than in black and > > white. I > > > > > think that > > > > having > > > > > Kinko's do these on their color laser might be cost prohibitive. > > > > > The > > > > manual > > > > > will be about 150+ pages when done and of course, not all of the > > > > > pages > > > > will > > > > > require color, although they'll have to charge the > > color cost for > > > > > every page. > > > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > > would be > > > > > far > > > too > > > > > slow if I have to make these manuals in the quantity I'm praying > > > > > will be necessary. > > > > > > > > > > Does anyone have any experience or advice on color > > laser printers? > > > > > > > > > > TIA, > > > > > > > > > > Rocky > > > > > _______________________________________________ > > > > > dba-Tech mailing list > > > > > dba-Tech at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.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 > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at sympatico.ca Sun Nov 23 13:03:10 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 23 Nov 2003 14:03:10 -0500 Subject: [AccessD] List broken? In-Reply-To: <004301c3b1ee$84a05a20$bf00a8c0@dabsight> References: <3FC0B07E.21952.DC593C@localhost> Message-ID: <3FC0BE1E.18496.11191A1@localhost> On 23 Nov 2003 at 18:20, DJK(John) Robinson wrote: > Hmm, thanks Bryan. Maybe it's an MSN problem... > Anyway, the repost worked fine. Your original worked fine too, but should have gone to dba-tech -- Bryan Carbonnell - carbonnb at sympatico.ca Goals are deceptive - the unaimed arrow never misses. From djkr at msn.com Sun Nov 23 13:20:52 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sun, 23 Nov 2003 19:20:52 -0000 Subject: [AccessD] List broken? In-Reply-To: <3FC0BE1E.18496.11191A1@localhost> Message-ID: <004401c3b1f6$e8ea82a0$bf00a8c0@dabsight> Bryan "...should have gone to dba-tech" Umm, no. I was replying to an accessD posting, and making my own feeble attempt to divert people to the active discussion on dba-Tech - the appropriate place. Incidentally, I reposted because you said my original "never made it to the list host". Ah well, never mind now. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 23 November 2003 19:03 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] List broken? > > > On 23 Nov 2003 at 18:20, DJK(John) Robinson wrote: > > > Hmm, thanks Bryan. Maybe it's an MSN problem... > > Anyway, the repost worked fine. > > Your original worked fine too, but should have gone to dba-tech > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Goals are deceptive - the unaimed arrow never misses. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From artful at rogers.com Sun Nov 23 18:38:46 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 23 Nov 2003 16:38:46 -0800 Subject: [AccessD] Change all Yes/No fields in a database Message-ID: <000001c3b223$5bfd43f0$6701a8c0@rock> I've been working on this database lately, and I made all the Yes/No fields CheckBoxes. Turns out the client hates CheckBoxes and wants Yes/No combos instead. So I need a routine to walk every table and change the properties of every Yes/No field from CheckBox to Combo + Value List, "-1","Yes", "0","No", column count = 2, column widths = 0". Anyone got such a routine or something close that I can rework to suit my needs? TIA, Arthur From michael.mattys at adelphia.net Sun Nov 23 17:54:44 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun, 23 Nov 2003 18:54:44 -0500 Subject: [AccessD] Change all Yes/No fields in a database References: <000001c3b223$5bfd43f0$6701a8c0@rock> Message-ID: <003201c3b21d$2e0e9850$6401a8c0@default> Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > TIA, > Arthur > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From djkr at msn.com Sun Nov 23 18:21:21 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 24 Nov 2003 00:21:21 -0000 Subject: [AccessD] OT: Color Laser ON TECH In-Reply-To: <04ad01c3b1ab$c7b5f2e0$b274d0d5@minster33c3r25> Message-ID: <004c01c3b220$e32890d0$bf00a8c0@dabsight> Andy Thank you for your gratuitous support. I've already said "See dba-Tech". John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: 23 November 2003 10:23 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Color Laser ON TECH > > > Please keep this thread to dba-Tech where the other half of > it's running. Thanks > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > DJK(John) Robinson > > Sent: 23 November 2003 10:14 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Color Laser > > > > > > Rocky > > > > Get one! See dba-Tech for my posting enthusing about my > > Minolta-QMS Magicolor 2300. (Company is now Konica Minolta - > > I have no connection.) Your needs just sound so similar to > > mine, and $1.00 a page would have been > > *WAY* way over the top! > > > > John > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Rocky Smolin - Beach Access Software > > > Sent: 23 November 2003 03:23 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > Rats. I really want a color laser printer. This was my big > > > opportunity to create a flimsy rationalization for one. > > > You're probably right though. Color copying will be cheaper. > > > > > > There are some marketing reasons, however, why I want to > deliver the > > > software with a manual. But I was always a slow adopter. Maybe > > > that's the right way to go. > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "jmoss111" > > > To: > > > Sent: Saturday, November 22, 2003 6:04 PM > > > Subject: Re: [AccessD] OT: Color Laser > > > > > > > > > > Rocky, > > > > > > > > I did a little investigation a few years ago, and the cost of > > > > consumables for I think 5% coverage was something like > > > $0.66 per page. > > > > Add to that the price of a printer and it makes Kinko's > > > look much more > > > > attractive. Then > > > you > > > > have to add the cost of assembling, binding and shipping > > the manual > > > > which makes it a pretty expensive proposition. Most > > manuals that I > > > > have seen > > > still > > > > use monochrome screen shots. > > > > > > > > Why not just include the manual in .pdf format and let > > the customer > > > > decide whether they get color or monochrome manuals, if > > > they decide to > > > > print them at all. > > > > > > > > Jim > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: > > > > Sent: Saturday, November 22, 2003 11:03 AM > > > > Subject: [AccessD] OT: Color Laser > > > > > > > > > > > > > Cross posting from dba-tech. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > > To: "dba-tech" > > > > > Sent: Saturday, November 22, 2003 8:34 AM > > > > > Subject: [dba-Tech] Color Laser > > > > > > > > > > > > > > > Hello: > > > > > > > > > > I'm writing a manual now into which I've dropped a > lot of screen > > > > > shots. They look much better in color than in black and > > white. I > > > > > think that > > > > having > > > > > Kinko's do these on their color laser might be cost > prohibitive. > > > > > The > > > > manual > > > > > will be about 150+ pages when done and of course, not > all of the > > > > > pages > > > > will > > > > > require color, although they'll have to charge the > > color cost for > > > > > every page. > > > > > > > > > > So now I'm thinking about a color laser printer. Ink jet > > > would be > > > > > far > > > too > > > > > slow if I have to make these manuals in the quantity > I'm praying > > > > > will be necessary. > > > > > > > > > > Does anyone have any experience or advice on color > > laser printers? > > > > > > > > > > TIA, > > > > > > > > > > Rocky > > > > > _______________________________________________ > > > > > dba-Tech mailing list > > > > > dba-Tech at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/dba-tech > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.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 > > > > > _______________________________________________ > > 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 adtp at touchtelindia.net Sun Nov 23 22:29:34 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 24 Nov 2003 09:59:34 +0530 Subject: [AccessD] Link child / master field fails in subsubform References: Message-ID: <00a401c3b248$5a837560$4cedf73d@winxp> John, Are you in a position to send zipped extract of database containing the problem forms with sample data in relevant record sources ? Regards, A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: AccessD Sent: Sunday, November 23, 2003 00:27 Subject: [AccessD] Link child / master field fails in subsubform I have a db where the subform pulls the correct records using ling child / master field properties, but the subsub form fails to follow the subform, i.e. it pulls a set associated with the parent form but not associated with the first subform. Agency / contract / assignment. As I move through agency records I see the contract change. I also see the assignment change, but as I move through the contracts the assignments don't change. I have seen this before, and worked around it by just replacing the link properties with query filters in the subform. Has anyone seen a bug fix for this? John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Nov 24 00:26:36 2003 From: john at winhaven.net (John Bartow) Date: Mon, 24 Nov 2003 00:26:36 -0600 Subject: [AccessD] report field font size Message-ID: Anyone have a function to set the font size in a report field to the maximum that will fit in the control? TIA jb From gustav at cactus.dk Mon Nov 24 02:12:35 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Nov 2003 09:12:35 +0100 Subject: [AccessD] report field font size In-Reply-To: References: Message-ID: <1691069107.20031124091235@cactus.dk> Hi John Stephen Lebans may be able to inspire you: http://www.lebans.com/makefitsingle.htm /gustav > Anyone have a function to set the font size in a report field to the maximum > that will fit in the control? From Erwin.Craps at ithelps.be Mon Nov 24 03:54:38 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 10:54:38 +0100 Subject: [AccessD] Change all Yes/No fields in a database Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF0@stekelbes.ithelps.local> You gonna need to change every form or report to... The table setting is a default setting when creating a new form/report. Changing the table setting does not change the already created forms/reports. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, November 24, 2003 12:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 Mon Nov 24 04:07:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Nov 2003 11:07:37 +0100 Subject: [AccessD] Link child / master field fails in subsubform In-Reply-To: References: Message-ID: <657971302.20031124110737@cactus.dk> Hi John Could it be that you are fiddling with the AllowEdit etc. properties of the sub(sub)forms? If so, you may need to reassign the LinkMaster/ChildFields settings (to themselves) when opening the mainform. /gustav > Date: 2003-11-22 19:57 > I have a db where the subform pulls the correct records using ling child / > master field properties, but the subsub form fails to follow the subform, > i.e. it pulls a set associated with the parent form but not associated with > the first subform. > Agency / contract / assignment. As I move through agency records I see the > contract change. I also see the assignment change, but as I move through > the contracts the assignments don't change. > I have seen this before, and worked around it by just replacing the link > properties with query filters in the subform. > Has anyone seen a bug fix for this? From Erwin.Craps at ithelps.be Mon Nov 24 04:56:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 11:56:19 +0100 Subject: [AccessD] Compile options in VBA. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF4@stekelbes.ithelps.local> Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From SDSSoftware at optusnet.com.au Mon Nov 24 06:02:30 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Mon, 24 Nov 2003 23:02:30 +1100 Subject: [AccessD] OT Excel refer to form control References: Message-ID: <000d01c3b282$d6589cd0$6401a8c0@user> Thanks Alan - I will be back working on this tomorrow and will try that. Rgds Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Saturday, November 22, 2003 2:52 AM Subject: AW: [AccessD] OT Excel refer to form control hi Kath I've now tried both types of comboboxs, no problems with loading data or passing value/text to variable. both have the change event. remember in excel each sheet is like a "module" that means if you have a combobox on sheet1 you have to go to the ide and select "Sheet1" in the project explorer, then select the object from the objectlist, with the combobox the change event is standard. then you can use var = me.combobox1.value ( or .text) example i sent u. if you want to get the value/text of the combobox from a module then you need something like this: Sub getit() Dim v As Variant Dim o As ComboBox Set o = ActiveWorkbook.Sheets(1).cbo2 v = o.Value Debug.Print v End Sub hth alun btw regarding your other problem the only solution i know is, as you said, to use different ranges depending on the selection. -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 13:36 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Mon Nov 24 06:03:20 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Mon, 24 Nov 2003 23:03:20 +1100 Subject: [AccessD] OT: Excel input range References: <869379ABF177D4118D3100508B5EF873063952D8@corp-es00> Message-ID: <001701c3b282$f441c730$6401a8c0@user> Hi Jim - thank you. I will put together a sample and send it tomorrow. Rgds Kath ----- Original Message ----- From: Hale, Jim To: 'Access Developers discussion and problem solving' Sent: Saturday, November 22, 2003 10:03 AM Subject: RE: [AccessD] OT: Excel input range If you send me a sample I will take a look at it on Monday. regards, Jim Hale -----Original Message----- From: Kath Pelletti [mailto:SDSSoftware at optusnet.com.au] Sent: Thursday, November 20, 2003 11:24 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Excel input range After a long day battling my way through this Excel development I am signing off for now but in case any Excel gurus have the time, could you answer this: On an Excel s/sheet I have 3 combos (created with the form control). I have nominated an input range for each (on a separate sheet). Depending on the choice the user makes in Combo 1 and Combo 2, I need to modify the range for Combo 3. What's the best way in Excel? I see on lots of internet samples that quite often people set up range after range of values and nominate one or the other as the appropriate range when the combos change, but surely there is a more efficient way?? I have fairly simple rules from the client and I think that I should be able to set up a grid /range of cells which hold my criteria. I can post sample data if anyone thinks they can help. Thanks everyone - and apologies for the Excel posts (I am also posting to Excel sites but no luck yet). Have a great w/end. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 07:34:26 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon, 24 Nov 2003 08:34:26 -0500 Subject: [AccessD] Link child / master field fails in subsubform In-Reply-To: <657971302.20031124110737@cactus.dk> Message-ID: It turns out it had to do with the name of the field it was bound to. The field name was the same in the child and the parent and I guess the wizard just got them wrong somehow. I went in and aliased the IDs in the queries for the main form and the child form, reran the query that builds the links, and the problem went away. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, November 24, 2003 5:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Link child / master field fails in subsubform Hi John Could it be that you are fiddling with the AllowEdit etc. properties of the sub(sub)forms? If so, you may need to reassign the LinkMaster/ChildFields settings (to themselves) when opening the mainform. /gustav > Date: 2003-11-22 19:57 > I have a db where the subform pulls the correct records using ling child / > master field properties, but the subsub form fails to follow the subform, > i.e. it pulls a set associated with the parent form but not associated with > the first subform. > Agency / contract / assignment. As I move through agency records I see the > contract change. I also see the assignment change, but as I move through > the contracts the assignments don't change. > I have seen this before, and worked around it by just replacing the link > properties with query filters in the subform. > Has anyone seen a bug fix for this? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Mon Nov 24 09:03:53 2003 From: michael.broesdorf at web.de (=?us-ascii?Q?Michael_Brosdorf?=) Date: Mon, 24 Nov 2003 16:03:53 +0100 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: Message-ID: Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael From bheid at appdevgrp.com Mon Nov 24 09:14:35 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Nov 2003 10:14:35 -0500 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <916187228923D311A6FE00A0CC3FAA306AF981@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> I think that you mean www.persits.com. :) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Mon Nov 24 09:28:50 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Mon, 24 Nov 2003 07:28:50 -0800 (PST) Subject: [AccessD] Excel Automation Question In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> Message-ID: <20031124152850.82382.qmail@web9802.mail.yahoo.com> Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now From Lembit.Soobik at t-online.de Mon Nov 24 09:21:10 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 16:21:10 +0100 Subject: [AccessD] All Computer Names In Network References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> Message-ID: <008701c3b2a0$1dfbd260$0200a8c0@S856> Does anybody know how to get all computer names in the network? thank you Lembit From Lambert.Heenan at AIG.com Mon Nov 24 09:47:44 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 24 Nov 2003 10:47:44 -0500 Subject: [AccessD] Excel Automation Question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7989@xlivmbx12.aig.com> Two questions here . 1/ Setting the column width. Here's a routine I use to format a range of columns so they fit the data in them, and also it formats the column headers. Sub FormatAndAutoFitHeaders(sFileName As String, nWkSheetNumber As Integer, nLastColumn As Integer _ , Optional nFirstColumn As Integer = 1, Optional nCellColor As Long = vbYellow _ , Optional nCellBorder As Long = vbBlack) Dim xlFile As Excel.Application Dim xlwb As Excel.Workbook Dim xlSheet As Excel.Worksheet Dim oRng As Excel.Range Set xlFile = OpenXLWorkBookHidden(sFileName) With xlFile Set xlwb = xlFile.Workbooks(GetFileName(sFileName)) Set xlSheet = xlwb.Worksheets(nWkSheetNumber) Set oRng = xlSheet.Range(xlSheet.Cells(1, nFirstColumn), xlSheet.Cells(1, nLastColumn)) oRng.EntireColumn.AutoFit oRng.Interior.Color = vbYellow oRng.Borders.Color = vbBlack Set oRng = Nothing Set xlSheet = Nothing Set xlwb = Nothing End With CloseXLWorkBook xlFile, True End Sub This uses three other routines. Function OpenXLWorkBookHidden(Path As String, Optional UpdateLinks As Boolean = False, Optional password As String = "") As Excel.Application Dim xlObj As Excel.Application On Error GoTo OpenXLWorkBookHidden_err 'Check to see if the file name passed in to the procedure is valid If IsNull(Path) Or isDirectory(Path) Or Not FileExists(Path) Then MsgBox Path & " isn't a valid path!", vbCritical, "Open Excel Workbook" Set OpenXLWorkBookHidden = Nothing Exit Function Else Set xlObj = CreateObject("Excel.Application") xlObj.Workbooks.Open Path, UpdateLinks, , , password Set OpenXLWorkBookHidden = xlObj End If OpenXLWorkBookHidden_exit: Exit Function OpenXLWorkBookHidden_err: ' call your own error reporting routine here. ' ReportError Err.Number, Err.Description, "OpenXLWorkBookHidden", "Excel_mod", "File Name=" & Path Set OpenXLWorkBookHidden = Nothing Resume OpenXLWorkBookHidden_exit End Function Sub CloseXLWorkBook(xlApp As Excel.Application, Optional bSaveChanges As Boolean = False) Dim wb As Excel.Workbook On Error Resume Next If xlApp.Name > "" Then End If If Err.Number <> 0 Then Exit Sub On Error GoTo 0 For Each wb In xlApp.Workbooks 'Close all open workbooks wb.Close bSaveChanges Next wb xlApp.UserControl = False Set xlApp = Nothing End Sub and finally Function GetFileName(aPath) As String Dim fPath As String fPath = GetPath(aPath) If Len(fPath) = Len(aPath) Then ' only a path was provided GetFileName = "" Else GetFileName = Right$(aPath, Len(aPath) - Len(fPath)) End If End Function which in turn uses... Function GetPath(aPath) As String ' Strips the path name from the supplied file and path name ' leaves the trailing slash on there Dim foo As Integer, aSlash As Integer aSlash = 0 foo = InStr(aPath, "\") While (foo > 0) aSlash = foo foo = InStr(aSlash + 1, aPath, "\") Wend If aSlash > 0 Then GetPath = Left$(aPath, aSlash) Else GetPath = "" End If End Function as for setting the colum to Time format, simply recording a macro in Excel reveals the code looks like this... Sub Macro1() ' ' Macro1 Macro ' Macro recorded 11/24/2003 by L Heenan ' ' Columns("A:A").Select Selection.NumberFormat = "h:mm:ss" End Sub HTH Lambert > -----Original Message----- > From: Dale Kalsow [SMTP:dkalsow at yahoo.com] > Sent: Monday, November 24, 2003 10:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Excel Automation Question > > > Goood Morning Everyone, > > > > I have an excel automation question. I have Access XP and though vba I am > writing to an excel spread sheet. Does any know how to set the column > width of a column in excel and then format that column for time. > > > > Thanks in advance. > > > > Dale > > > > --------------------------------- > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Nov 24 10:02:41 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 17:02:41 +0100 Subject: [AccessD] All Computer Names In Network Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF7@stekelbes.ithelps.local> Lembit, wrong list for this question, should be the tech list. Huumm 1) Using Sneakernet :-) 2) The domain computermanager (if all computers are NT, 2K, XPPRO and added in the domain) 3) Use a tool like iInventory (former LanAudit) http://www.iinventory.com Is a free tool up to 25 pc's. BUT, you need to be able to run a small program on each computer from the logon script or manual using sneakernet :-) or convince the user by phone to run it from a server or diskette. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Monday, November 24, 2003 4:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] All Computer Names In Network Does anybody know how to get all computer names in the network? thank you Lembit _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Nov 24 10:12:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 24 Nov 2003 11:12:12 -0500 Subject: [AccessD] Excel Automation Question Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F907@TTNEXCHSRV1.hshhp.com> Dale, A really neat and easy way to find out how certain Excel objects behave is to simply record a macro that does what you need. Then go into the VBA editor and see what properties were set and how. HTH, Jim DeMarco Director Product Development Hudson Health Plan Tarrytown, NY -----Original Message----- From: Dale Kalsow [mailto:dkalsow at yahoo.com] Sent: Monday, November 24, 2003 10:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Automation Question Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Lembit.Soobik at t-online.de Mon Nov 24 10:30:10 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 17:30:10 +0100 Subject: [AccessD] All Computer Names In Network References: <46B976F2B698FF46A4FE7636509B22DF03CEF7@stekelbes.ithelps.local> Message-ID: <011d01c3b2a8$3b2b01f0$0200a8c0@S856> thanks, Erwin, but its the right list, since I want to do it from Access (A2k) can I use the domain computermanager from within Access VB? Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:02 PM Subject: RE: [AccessD] All Computer Names In Network > Lembit, wrong list for this question, should be the tech list. > > Huumm > > 1) Using Sneakernet :-) > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > added in the domain) > 3) Use a tool like iInventory (former LanAudit) > http://www.iinventory.com > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > program on each computer from the logon script or manual using > sneakernet :-) or convince the user by phone to run it from a server or > diskette. > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 4:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 24 10:43:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 08:43:52 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Nov 24 10:48:16 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 24 Nov 2003 17:48:16 +0100 Subject: [AccessD] All Computer Names In Network Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEF8@stekelbes.ithelps.local> Hoe hoe Don't know, maybe there exist some tools/controls for domain manager (NT) and/or Active directory services (W2K up). Maybe you should consider looking at iInventory. They store the data in a Access database and inventories also software on computers. And again if u use domain manager/active directory all computers must be in the domain (this can only be true for NT, W2K, XP pro). There are some dos tools like "net view" but they do not always show all computers, only those who are on and depending on the os if they have netbeui installed or not.... And whom are in the same workgroup/domain.... Only sure thing is to run iInventory on each computer. Or using sneakernet :-) Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Monday, November 24, 2003 5:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] All Computer Names In Network thanks, Erwin, but its the right list, since I want to do it from Access (A2k) can I use the domain computermanager from within Access VB? Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:02 PM Subject: RE: [AccessD] All Computer Names In Network > Lembit, wrong list for this question, should be the tech list. > > Huumm > > 1) Using Sneakernet :-) > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > added in the domain) > 3) Use a tool like iInventory (former LanAudit) > http://www.iinventory.com > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > program on each computer from the logon script or manual using > sneakernet :-) or convince the user by phone to run it from a server or > diskette. > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 4:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Nov 24 10:58:16 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 24 Nov 2003 17:58:16 +0100 (CET) Subject: [AccessD] All Computer Names In Network Message-ID: <24248381.1069693096180.JavaMail.www@wwinf3004> Couldn't you write a couple of lines of code to execute the following from a command prompt Net View > filename.txt then import the file directly into Access.... ???? Paul Hartland Message date : Nov 24 2003, 04:34 PM >From : Lembit Soobik To : Access Developers discussion and problem solving Copy to : Subject : Re: [AccessD] All Computer Names In Network thanks, Erwin, but its the right list, since I want to do it from Access (A2k) can I use the domain computermanager from within Access VB? Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:02 PM Subject: RE: [AccessD] All Computer Names In Network > Lembit, wrong list for this question, should be the tech list. > > Huumm > > 1) Using Sneakernet :-) > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > added in the domain) > 3) Use a tool like iInventory (former LanAudit) > http://www.iinventory.com > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > program on each computer from the logon script or manual using > sneakernet :-) or convince the user by phone to run it from a server or > diskette. > > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 4:21 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 24 11:13:26 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 18:13:26 +0100 Subject: [AccessD] All Computer Names In Network References: <46B976F2B698FF46A4FE7636509B22DF03CEF8@stekelbes.ithelps.local> Message-ID: <013701c3b2ae$46708a20$0200a8c0@S856> thanks Erwin, will check iInventory Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:48 PM Subject: RE: [AccessD] All Computer Names In Network > Hoe hoe > > Don't know, maybe there exist some tools/controls for domain manager > (NT) and/or Active directory services (W2K up). > > Maybe you should consider looking at iInventory. They store the data in > a Access database and inventories also software on computers. > > And again if u use domain manager/active directory all computers must be > in the domain (this can only be true for NT, W2K, XP pro). > > There are some dos tools like "net view" but they do not always show all > computers, only those who are on and depending on the os if they have > netbeui installed or not.... > And whom are in the same workgroup/domain.... > > Only sure thing is to run iInventory on each computer. > Or using sneakernet :-) > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Monday, November 24, 2003 5:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] All Computer Names In Network > > thanks, Erwin, > but its the right list, since I want to do it from Access (A2k) > > can I use the domain computermanager from within Access VB? > > Lembit Soobik > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 24, 2003 5:02 PM > Subject: RE: [AccessD] All Computer Names In Network > > > > Lembit, wrong list for this question, should be the tech list. > > > > Huumm > > > > 1) Using Sneakernet :-) > > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > > added in the domain) > > 3) Use a tool like iInventory (former LanAudit) > > http://www.iinventory.com > > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > > program on each computer from the logon script or manual using > > sneakernet :-) or convince the user by phone to run it from a server > or > > diskette. > > > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit > Soobik > > Sent: Monday, November 24, 2003 4:21 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] All Computer Names In Network > > > > Does anybody know how to get all computer names in the network? > > thank you > > > > Lembit > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Mon Nov 24 11:00:47 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 24 Nov 2003 22:30:47 +0530 Subject: [AccessD] Freezing a datasheet rows like in Excel References: Message-ID: <00e201c3b2ae$2ede7390$86edf73d@winxp> John, You might like to take a look at sample database named FreezeDatasheetRows.mdb at Rogers Access Library (Other Developers). Regards, A.D.Tejpal -------------- ----- Original Message ----- From: John Skolits To: Access Developers discussion and problem solving Sent: Thursday, November 20, 2003 02:09 Subject: [AccessD] Freezing a datasheet rows like in Excel Anyone know a way to allow a user to freeze rows in a datasheet view like you can freeze a frame in Excel? John Skolits From Lembit.Soobik at t-online.de Mon Nov 24 11:13:59 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Nov 2003 18:13:59 +0100 Subject: [AccessD] All Computer Names In Network References: <24248381.1069693096180.JavaMail.www@wwinf3004> Message-ID: <013d01c3b2ae$5a01b1e0$0200a8c0@S856> thank you, Paul that sounds simple Lembit Soobik ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 5:58 PM Subject: Re: Re: [AccessD] All Computer Names In Network > Couldn't you write a couple of lines of code to execute the following from a command prompt > Net View > filename.txt > then import the file directly into Access.... ???? > Paul Hartland > > > > > Message date : Nov 24 2003, 04:34 PM > >From : Lembit Soobik > To : Access Developers discussion and problem solving > Copy to : > Subject : Re: [AccessD] All Computer Names In Network > thanks, Erwin, > but its the right list, since I want to do it from Access (A2k) > > can I use the domain computermanager from within Access VB? > > Lembit Soobik > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 24, 2003 5:02 PM > Subject: RE: [AccessD] All Computer Names In Network > > > > Lembit, wrong list for this question, should be the tech list. > > > > Huumm > > > > 1) Using Sneakernet :-) > > 2) The domain computermanager (if all computers are NT, 2K, XPPRO and > > added in the domain) > > 3) Use a tool like iInventory (former LanAudit) > > http://www.iinventory.com > > Is a free tool up to 25 pc's. BUT, you need to be able to run a small > > program on each computer from the logon script or manual using > > sneakernet :-) or convince the user by phone to run it from a server or > > diskette. > > > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > > Sent: Monday, November 24, 2003 4:21 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] All Computer Names In Network > > > > Does anybody know how to get all computer names in the network? > > thank you > > > > Lembit > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 24 12:20:05 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 24 Nov 2003 12:20:05 -0600 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: <22527820.1069696515297.JavaMail.root@localhost.localdomain> Message-ID: <000001c3b2b7$98b76160$de1811d8@DanWaters> The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:44:55 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 24 Nov 2003 13:44:55 -0800 Subject: [AccessD] OT: Primary Key Violation In-Reply-To: Message-ID: <000001c3b2d4$3ba780f0$6701a8c0@rock> Sorry to play the pessimist, but there IS such a thing as a one-time app: the one that doesn't work :-) To put it another way, if you haven't got time to do it right, where will you find the time to do it again? Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 17, 2003 11:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Primary Key Violation Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. From michael.broesdorf at web.de Mon Nov 24 13:10:34 2003 From: michael.broesdorf at web.de (=?us-ascii?Q?Michael_Brosdorf?=) Date: Mon, 24 Nov 2003 20:10:34 +0100 Subject: AW: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: Message-ID: Charlotte, I am so used to it, I catch myself trying to use the wheel on mice missing one... Navigating through large documents is so much easier! There ws this funny experience when a colleague asked me to fix something on his Word document. He was using Word for Macintosh. I was desperately trying to bring up the context menu using the right mouse key. However, it took a while for me to realize that Macintosh computers only have on mouse key... Michael -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Charlotte Foust Gesendet: Montag, 24. November 2003 17:44 An: Access Developers discussion and problem solving Betreff: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:02:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:02:35 -0600 Subject: [AccessD] Compile options in VBA. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DB@main2.marlow.com> The Compile on Demand is an option that either compiles your code in it's entirety when your application starts (the option would be off for this..), or compiles it when it is required (when you have Compile on Demand on). The big difference is startup speed. If you project has a lot of code, if you don't use 'Compile on Demand', you are going to get a startup delay as Access compiles the VBA code. The second option (background compile) is a subset of compile on demand. If you have compile on demand set, you can use the background compile option to have Access compile it's code during idle time periods. The reason you have these options, is because VBA is a 'higher' language, which means it makes sense (or it should...) to a human. But the CPU itself still requires machine language to be sent to it, so your VBA code must be compiled into machine language, in order for the CPU to carry out your instructions. I wonder if you have the Compile on Demand turned off, if you wouldn't be allowed to make changes to code on the fly, when the application is running. Hmmmm..... Anyhow, I don't see a real reason to not have both options checked. If you want your code to be compiled all the time, use an .mde. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, November 24, 2003 4:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Compile options in VBA. Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 24 15:05:11 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:05:11 -0600 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DC@main2.marlow.com> My IBM Aptiva came with a mouse that had a 'joystick' instead of a scroll wheel. (So you could scroll left-right and up-down). Funny thing, it also worked in the Visual Basic Editor window. When I started working at Marlow, I tried bringing that mouse in to work, but it just didn't seem to work unless it was plugged into the Aptiva it came with. (The mouse worked, just not the joystick.) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:06:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:06:51 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DD@main2.marlow.com> Oh sure, just give out the real site! Drew -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, November 24, 2003 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... I think that you mean www.persits.com. :) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 15:13:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 15:13:03 -0600 Subject: [AccessD] All Computer Names In Network Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275DE@main2.marlow.com> Just out of curiousity...why? I only ask, because you can do this with VBA, the process would be to get the subnet of the machine you are on (API calls), then do a DNS reverse lookup on every IP address in the subnet (more API calls). The question is, why do you want to know this? Just curious... Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Monday, November 24, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: [AccessD] All Computer Names In Network Does anybody know how to get all computer names in the network? thank you Lembit _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Mon Nov 24 14:28:42 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Nov 2003 21:28:42 +0100 Subject: [AccessD] mailmerge Format Yes\No Message-ID: <000601c3b2d1$208bfce0$f7c581d5@pedro> Hello Group, i use mailmerge for creating word-documents from access. This is done by using code. The following line is a peace of this code: item("Drawing").value = Nz(Me![txtDrawing]) in word i use the following code with properties {DOCPROPERTY "Drawing" \*MERGEFORMAT} txtDrawing is a checkbox. In the word-document i get as result: -1 or 0 i would like Yes \ No or in Dutch Ja \ Nee i tried things like: item("Drawing").value = Format(Nz(Me![txtDrawing]), "Ja \ Nee") or {DOCPROPERTY "Drawing" \@"Ja \ Nee" \*MERGEFORMAT} with no result. How can i get the good format? TIA Pedro Janssen From pedro at plex.nl Mon Nov 24 15:21:51 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Nov 2003 22:21:51 +0100 Subject: [AccessD] middle X and Y coordinates Message-ID: <000801c3b2d1$22d6d740$f7c581d5@pedro> Hello Group, I have a table with two fields which are X and Y coordinates. X Y 97,234 234,632 98,456 257,678 107,453 278,945 107,234 278,346 109,123 245,567 i need as result X Y 97,500 237,500 97,500 257,500 107,500 277,500 107,500 277,500 on the result i would like a distinct. Can this be done in one query? TIA Pedro Janssen From cfoust at infostatsystems.com Mon Nov 24 15:37:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 13:37:41 -0800 Subject: [AccessD] OT: Primary Key Violation Message-ID: I wouldn't call that a one-time app, Arthur. If it doesn't work, it won't be used the first time. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, November 24, 2003 1:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Primary Key Violation Sorry to play the pessimist, but there IS such a thing as a one-time app: the one that doesn't work :-) To put it another way, if you haven't got time to do it right, where will you find the time to do it again? Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 17, 2003 11:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Primary Key Violation Gina, There is no such thing as a one-time use application, trust me. If it works, they'll want to keep using it. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 24 15:39:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 13:39:50 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 16:22:34 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 24 Nov 2003 16:22:34 -0600 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: <10857578.1069710579708.JavaMail.root@localhost.localdomain> Message-ID: <000001c3b2d9$756d4a90$de1811d8@DanWaters> Charlotte, I couldn't find anything relevant in any Access option settings. In the control panel for the mouse, there is an advanced wheel setting where you can specify applications where the mouse wheel does not work. It's possible that Access is included in this list on your PC. For survival's sake I stay out of the registry! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 3:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 16:23:38 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 24 Nov 2003 16:23:38 -0600 Subject: [AccessD] Redemption DLL WAS: Poll: How many versions... In-Reply-To: <28922294.1069708927653.JavaMail.root@sniper.marix.com> Message-ID: <000101c3b2d9$9ee1c770$de1811d8@DanWaters> It's OK. I knew what Drew meant! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, November 24, 2003 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Oh sure, just give out the real site! Drew -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, November 24, 2003 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... I think that you mean www.persits.com. :) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, November 21, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... persists.com They have a component called ASPEmail. You can use it with VBA too. Just give it the SMTP server, and you are off and running. It has both a free and 'pro' versions. The free is pretty decent, does all of the basic email functions. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, November 21, 2003 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... Charlotte, You said, 'Feel free to write your own." I've looked at the Redemption web site, and while it's not too expensive, all I really need is to be able to send simple emails from within Access without the 'are you sure' dialog. Do you know where I could learn enough about Extended MAPI to do just this? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, November 21, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... This thread seems to be degenerating into Microsoft bashing and rant, but let me clarify something. The Redemption dll is NOT a control. It is a library that you call into, a wrapper for Extended MAPI calls. Feel free to write your own ... Or to use a different email application ... Or to use SMTP instead. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, November 20, 2003 10:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... The Outlook security patch is a half-assed reaction to what was at the time a big press issue. With repeated massive virus attacks crippling mail servers world wide, they had to appear do something for public image and if it helped lessen the problem all the better. This was quick and dirty and since it was done, it stuck, but at least in later office versions you could uncripple outlook for certain things. Why is it half assed? 1. It is indiscriminate and broke a lot of existing and widely used applications that hooked into outlook. Remember that Office and vba is supposed to be all about flexibility developing solutions. They broke that big time. 2. It isn't about fixing security vulnerabilites. MS has had plenty of security vulnerabilites and they fix those with minor patches, not wholesale surgery on applications. The patch doesn't stop you receiving viruses, or running them, or them sending mail out simple inbuilt smtp engines which most successful trojans have had for years. By and large viruses/trojan in this day and age do not use security vulnerabilities as their primary means of infection. 3. And this is the kicker for me. If redemption bypasses security by using extended mapi, how long will it really be before some virus/trojan writer uses extended mapi to access the address book. Remember the majority of viruses these days are trojans not scripts. They don't use security vulnerabilites to spread and infect, they use social engineering to trick people into thinking they are from people they know. So should I now spend US$200 on a control that may well be crippled sometime soon as MS uses the same half baked strategy again. If they are going to close access to the address book why not close it the first time, and not leave a back door that will spawn another generation of super spreading viruses? It it worth trying to bypass Outlook security? If I can bypass it with a simple control, so any decent virus writer with half a brain can build the same into his newest attack. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, 21 November, 2003 8:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Redemption DLL WAS: Poll: How many versions... > > > On 20 Nov 2003 at 17:55, Brett Barabash wrote: > > > > > >I bypassing it by not installing the service pack that > turns it on. (A2K) > > Not installing a security service pack to stop malicious > VBScript code from > > propogating viruses IS a big deal. Are you advising your > clients not to > > install security patches so your email code will work? > > > > > I'm with JC 100% on this one. > > The "security" patch is not about stopping viruses from infecting > machines. It's not about stopping viruses from causing damage. It's > not about stopiing viruses from doing anything. > > It's about stopping the perfectly legitimate function of interprocess > communication which is supposed at the heart of the MS software suite > paradigm. It's a half-witted attempt at arse covering by MS which has > the side effect of destroying the functionality of many existing > applications. > > Yes I am advising my clients not to instal it. > (At least the ones who don't heed my other advice to use non-MS email > programs. My Pegasus/Mercury using clients don't have to worry about > it at all ) > > > > > > > > -- > 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 16:33:39 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Nov 2003 08:33:39 +1000 Subject: [AccessD] All Computer Names In Network In-Reply-To: <008701c3b2a0$1dfbd260$0200a8c0@S856> Message-ID: <3FC313E3.2383.423894@localhost> On 24 Nov 2003 at 16:21, Lembit Soobik wrote: > Does anybody know how to get all computer names in the network? > thank you > One way would be to use a tool like Angry IP Scanner http://www.angryziber.com/ipscan/ -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From pedro at plex.nl Mon Nov 24 16:36:47 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Nov 2003 23:36:47 +0100 Subject: [AccessD] middle X and Y coordinates (correction) References: <000801c3b2d1$22d6d740$f7c581d5@pedro> Message-ID: <001301c3b2db$72f47070$f7c581d5@pedro> I made some mistakes with the data, below is the correction I have a table with two fields which are X and Y coordinates. X Y 97,234 234,632 98,456 257,678 107,453 278,945 107,234 278,346 109,123 242,134 i need as result X Y 97,500 232,500 97,500 257,500 107,500 277,500 107,500 277,500 107,500 242,500 on the result i would like a distinct. Can this be done in one query? TIA Pedro Janssen _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Subscriptions at servicexp.com Mon Nov 24 16:53:46 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 24 Nov 2003 17:53:46 -0500 Subject: [AccessD] Mouse wheel does not work in VBA window In-Reply-To: Message-ID: You need to load the mouse driver pack for your model. If you only allow Win XP to install it's drivers for the mouse, it will not work in all environments.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 4:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 17:12:51 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 24 Nov 2003 15:12:51 -0800 Subject: [AccessD] Re: A2K - Access send email via Groupwise (non-SMTP) In-Reply-To: <000501c3b2da$6bcc4670$f1c683a5@eau1lnc54198> References: <000501c3b2da$6bcc4670$f1c683a5@eau1lnc54198> Message-ID: <3FC29073.7060209@verizon.net> I just finished putting together an SSD that has the "blat" function we use in order to email out. You'll need to add your own Mail Server IP and UserID and Password, in order for it to work and also d/l a copy of blat from it's home page, I've included the link in the SSD for those who wish to try it out. Blatint email has been so easy that I don't have to worry about such things as the SR patches nor any other limitations brought up from CDO's or SendMail or event the Mapi functions on like the one on the Trigeminal (sp?) site. I'll be forwarding the SSD to Roger's site but until then anyone who would like a copy can email me OTL. -- -Francisco Duane Hookom wrote: >Try this link from mvps.org. I think this is for Access 97 > >http://www.mvps.org/access/modules/mdl0059.htm > > >Duane Hookom >Microsoft Access MVP > > >----- Original Message ----- >From: "Lauren Horn" >To: >Sent: Monday, November 24, 2003 4:12 PM >Subject: Re: A2K - Access send email via Groupwise (non-SMTP) > > > > >>I haven't done it, but I've heard others say they have. >> >>You might want to check the PDF and Mail Class Libary for Access on this >>site: >>http://ourworld.compuserve.com/homepages/attac-cg/ >> >> >> >>>-----Original Message----- >>>From: Microsoft Access Database Discussion List >>>[mailto:ACCESS-L at PEACH.EASE.LSOFT.COM]On Behalf Of Kevin Carpenter >>>Sent: Monday, November 24, 2003 9:41 AM >>>To: ACCESS-L at PEACH.EASE.LSOFT.COM >>>Subject: A2K - Access send email via Groupwise (non-SMTP) >>> >>> >>>Can it do it? >>> >>>Has anyone done it? >>> >>>-:>Kevin >>> >>> > > > From cfoust at infostatsystems.com Mon Nov 24 17:16:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Nov 2003 15:16:00 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: Aha! I knew there was a reason for not loading mouse software! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, November 24, 2003 2:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window You need to load the mouse driver pack for your model. If you only allow Win XP to install it's drivers for the mouse, it will not work in all environments.... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 4:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window That's interesting because I'm using Access XP on WinXP with a Microsoft mouse and it does NOT work in any of the VBE windows. Nor does it work in Office 2000 on my Win2k machine (with a super mini mouse). Do you have some kind of special magic you worked in the registry? I don't want to use it, but maybe someone else will. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, November 24, 2003 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window The mouse wheel works fine for me in the code window. I'm using Access XP on Windows XP, but have used other office version with other Windows versions and I can't remember not being able to use the mouse wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is very nice if anyone happens to be looking for a small optical mouse). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 24 17:17:44 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Nov 2003 18:17:44 -0500 Subject: [AccessD] All Computer Names In Network References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER> <008701c3b2a0$1dfbd260$0200a8c0@S856> Message-ID: <003501c3b2e1$2fb78d50$6001a8c0@dejpolsys> http://www.mvps.org/access/api/api0058.htm ...the workstation names are included in the level 2 data ...HTH :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 10:21 AM Subject: [AccessD] All Computer Names In Network > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomk at multiline.com.au Mon Nov 24 17:37:32 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Tue, 25 Nov 2003 07:37:32 +0800 Subject: [AccessD] Access to SQL Server References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER><008701c3b2a0$1dfbd260$0200a8c0@S856> <003501c3b2e1$2fb78d50$6001a8c0@dejpolsys> Message-ID: <003001c3b2e3$f0e1dc40$0300a8c0@print> Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley From djkr at msn.com Mon Nov 24 17:55:48 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 24 Nov 2003 23:55:48 -0000 Subject: [AccessD] middle X and Y coordinates In-Reply-To: <000801c3b2d1$22d6d740$f7c581d5@pedro> Message-ID: <007901c3b2e6$7b9684b0$bf00a8c0@dabsight> Pedro You don't say how the results relate to the data - or am I missing something obvious? John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Pedro Janssen > Sent: 24 November 2003 21:22 > To: AccessD at databaseadvisors.com > Subject: [AccessD] middle X and Y coordinates > > > Hello Group, > > > I have a table with two fields which are X and Y coordinates. > > X Y > 97,234 234,632 > 98,456 257,678 > 107,453 278,945 > 107,234 278,346 > 109,123 245,567 > > i need as result > > X Y > 97,500 237,500 > 97,500 257,500 > 107,500 277,500 > 107,500 277,500 > > on the result i would like a distinct. > > > > Can this be done in one query? > > TIA > > Pedro Janssen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Nov 24 18:20:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Nov 2003 18:20:45 -0600 Subject: [AccessD] Access to SQL Server Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275E3@main2.marlow.com> I must admit I am a relative newbie to digging into SQL Server, but I can give you a few pointers. First of all, the data terminology is similar, but SQL is JUST a backend. No forms, no modules, no reports. Since it is a server side db, it has options not available with Access, such as data triggers. Secondly, I haven't found SQL server to be all that difficult to mess around with. The Enterprise Manager (it's administrative interface) is pretty well organized, and thus it's easy to import, export, edit and view data directly in the database. Didn't take much time at all to pick up. Drew -----Original Message----- From: Tom Keatley [mailto:tomk at multiline.com.au] Sent: Monday, November 24, 2003 5:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to SQL Server Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Mon Nov 24 18:34:37 2003 From: Developer at UltraDNT.com (Developer) Date: Mon, 24 Nov 2003 19:34:37 -0500 Subject: [AccessD] Access to SQL Server In-Reply-To: <003001c3b2e3$f0e1dc40$0300a8c0@print> Message-ID: <001901c3b2eb$e92faba0$7001a8c0@COA3> Well, not exactly ... Tables are tables, but ... In SQL Server, the eqivalent of a query is a View. SQL Stored Procedures are roughly equivalent to Modules (but they are written in T-SQL, not VBA ... Although they are saying that in some future version you can write SP's in VB.net ... I can't wait for that, I hate T-SQL!)... And SP's can return data (like views) or execute insert/update/delete commands. BUT ... There are no Forms/Reports; you still need Access (or VB, or ASP pages) to be the Front End for your users. You can use Access as the FE, and link tables (or views) as you would a back-end .mdb. So, you *might* get away with a copy of your current .mdb, linked to a View of the same name(s) as you current tables, with no other changes to the current Access application. Hope this is a good start, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Keatley Sent: Monday, November 24, 2003 6:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to SQL Server Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley _______________________________________________ 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 Nov 24 19:20:12 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 24 Nov 2003 17:20:12 -0800 Subject: [AccessD] Access to SQL Server In-Reply-To: <001901c3b2eb$e92faba0$7001a8c0@COA3> References: <001901c3b2eb$e92faba0$7001a8c0@COA3> Message-ID: <3FC2AE4C.7070703@verizon.net> Don't talk about SQL Sever as Access big brother. SQL Server is a robust engine which specifically addresses the need for Very Large Databases (vldb). Things are handled a lot more diffrent in SQL Server in that you now will normally not want to allow users or processes to touch the actual table via a simple ODBC connection, instead you will create VIEWS which are like queries but cannot take parameters. To use parameters you will need to use Stored Procedures which are written in TSQL which should be easy enough for you to grasp if you've ever used VBA. Lastly TSQL is an awesome tool. Using Sql Server 2000 and Query Analyzer you can even debug a stored procedure. In Sql Server you can write scripts (in TSQL) that run on the SQL Agent, and you can schedule this to fire on a trigger, alert, or schedule. lastly if you are trying to find the shortest point between 2 lines then the view option mentioned below is probably the most optimal. If your Acces Front End is simply for data import then this is very acceptable, if not, then it is a plausible solution for the interim, while you work on a more robust interface using an Access Data Project which is simply a front end to Sql Server. lastly sign up to the dba-sqlserver list and also the Sql Server Central Home website, it is very informative and has a very robust library of SQL Scripts. http://www.sqlservercentral.com/default.asp -- -Francisco Developer wrote: >Well, not exactly ... Tables are tables, but ... In SQL Server, the >eqivalent of a query is a View. SQL Stored Procedures are roughly >equivalent to Modules (but they are written in T-SQL, not VBA ... >Although they are saying that in some future version you can write SP's >in VB.net ... I can't wait for that, I hate T-SQL!)... And SP's can >return data (like views) or execute insert/update/delete commands. > >BUT ... There are no Forms/Reports; you still need Access (or VB, or ASP >pages) to be the Front End for your users. > >You can use Access as the FE, and link tables (or views) as you would a >back-end .mdb. So, you *might* get away with a copy of your current >.mdb, linked to a View of the same name(s) as you current tables, with >no other changes to the current Access application. > >Hope this is a good start, > >Steve > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Keatley >Sent: Monday, November 24, 2003 6:38 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access to SQL Server > > >Hi all... > >I contract to a large company producing some goods which require me to >process 450 individual orders each month. These orders come from 450 >different sources and are (currently) sent to me via 450 individual >excel spreadsheets. To this end I have developed an Access database to >process these orders and also produce the goods. > >In the New Year the company is going to change their ordering system to >SQL server and all orders will be placed over the Web therefore >centralising their ordering system. They have asked me what information >I need to produce what I normally do from the server. I think the move >is WELL overdue BUT... > >I know little (OK... NOTHING) about SQL server and its capabilities and >would not know the most efficient way of extracting the data. > >The data I need is Customer name and address (approx 450), Description >of goods (Up to 700 items Per customer), and quantity to buy. > >My head tells me that read only access to a query via ODBC into SQL >Server >is the way to go but many of you are working with Access AND SQL >server >and I thought I would ask within the group for advice. > >Can I talk technically about SQL server the way I talk about Access >....ie is the terminology the same as in Tables, Queries, Forms and >Modules etc (certainly dont want to appear stupid when talking about it) > >What connection options are there (I am physically 3000 miles from the >server) > >The little I have gleaned about SQL server suggests that it is like the >"Big Brother" to Access which means that I can talk about it the way I >would talk about Access but ......am I correct? > >As always any help would be appreciated > >Regards > >Tom Keatley > > > From stephen at bondsoftware.co.nz Mon Nov 24 20:54:20 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 25 Nov 2003 15:54:20 +1300 Subject: [AccessD] Performance issue - QueryDef Message-ID: <70F3D727890C784291D8433E9C418F29088522@server.bondsoftware.co.nz> Line 3 below takes 4 seconds to execute: 1. Dim db as DAO.database, qdf as DAO.QueryDef 2. set db = Currentdb() 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") 4. For each prm in qdf.Parameters 5. prm.value = Eval(prm.Name) 6. Next prm 7. qdf.execute The query is an Append query, the table being appended to is empty. The execution time is negligible. Why should line 4 take so long?? Stephen Bond Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on. -- Sir Winston Churchill From glen_mcwilliams at msn.com Mon Nov 24 21:11:55 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Mon, 24 Nov 2003 19:11:55 -0800 Subject: [AccessD] OT Excel refer to form control References: Message-ID: Kath It should be the After Update event, not the On Change event. ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 1:06 AM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Nov 24 21:14:21 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 24 Nov 2003 21:14:21 -0600 Subject: [AccessD] Performance issue - QueryDef Message-ID: <426071E0B0A6D311B3C0006008B0AB23AFE186@TAPPEEXCH01> Steven, If this is a fairly complex query, it probably takes the SQL parser a bit of time to process it so it can generate a list of parameters. Try opening it in design view. How long does it take? Then, it has to determine whether what the parameters are: controls on a form or otherwise. -----Original Message----- From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] Sent: Monday, November 24, 2003 8:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Performance issue - QueryDef Line 3 below takes 4 seconds to execute: 1. Dim db as DAO.database, qdf as DAO.QueryDef 2. set db = Currentdb() 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") 4. For each prm in qdf.Parameters 5. prm.value = Eval(prm.Name) 6. Next prm 7. qdf.execute The query is an Append query, the table being appended to is empty. The execution time is negligible. Why should line 4 take so long?? Stephen Bond -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From accessd at shaw.ca Mon Nov 24 21:11:59 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 24 Nov 2003 19:11:59 -0800 Subject: [AccessD] Access to SQL Server In-Reply-To: <003001c3b2e3$f0e1dc40$0300a8c0@print> Message-ID: Hi Tom: You do not have to give up your Access Front-End and it is straight-forward to connect to a SQL7/2000 Back-End. 450 orders through a MS SQL DB would be effortless on the SQL server. You can either use ODBC, setup through your control panel or ADO-OLE, setup directly through your Access. There are a number of steps to go through and it would be best to ask the 'list' when you reach an impasse, on the specific problem, then continue until the next crisis. The recommended list group to get involved with would be the SQL list at http://dba-sqlserver at databaseadvisors.com (That list specialists in MS SQL issues. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Keatley Sent: Monday, November 24, 2003 3:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access to SQL Server Hi all... I contract to a large company producing some goods which require me to process 450 individual orders each month. These orders come from 450 different sources and are (currently) sent to me via 450 individual excel spreadsheets. To this end I have developed an Access database to process these orders and also produce the goods. In the New Year the company is going to change their ordering system to SQL server and all orders will be placed over the Web therefore centralising their ordering system. They have asked me what information I need to produce what I normally do from the server. I think the move is WELL overdue BUT... I know little (OK... NOTHING) about SQL server and its capabilities and would not know the most efficient way of extracting the data. The data I need is Customer name and address (approx 450), Description of goods (Up to 700 items Per customer), and quantity to buy. My head tells me that read only access to a query via ODBC into SQL Server is the way to go but many of you are working with Access AND SQL server and I thought I would ask within the group for advice. Can I talk technically about SQL server the way I talk about Access ....ie is the terminology the same as in Tables, Queries, Forms and Modules etc (certainly dont want to appear stupid when talking about it) What connection options are there (I am physically 3000 miles from the server) The little I have gleaned about SQL server suggests that it is like the "Big Brother" to Access which means that I can talk about it the way I would talk about Access but ......am I correct? As always any help would be appreciated Regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 24 21:15:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 24 Nov 2003 19:15:09 -0800 Subject: [AccessD] Access to SQL Server In-Reply-To: <3FC2AE4C.7070703@verizon.net> Message-ID: Hey Francisco...don't scare the fellow off just yet. :-) MS SQL is simple to use but can take a life-time to master. My first exposure to MS SQL was when the box appeared on the top of the desk. A couple of us then received a quicky, few days of training then it was off to install and write the front-end... :-\ and it was up and running in less than a month, with a few hicups of course.... ...and it is still running. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Monday, November 24, 2003 5:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to SQL Server Don't talk about SQL Sever as Access big brother. SQL Server is a robust engine which specifically addresses the need for Very Large Databases (vldb). Things are handled a lot more diffrent in SQL Server in that you now will normally not want to allow users or processes to touch the actual table via a simple ODBC connection, instead you will create VIEWS which are like queries but cannot take parameters. To use parameters you will need to use Stored Procedures which are written in TSQL which should be easy enough for you to grasp if you've ever used VBA. Lastly TSQL is an awesome tool. Using Sql Server 2000 and Query Analyzer you can even debug a stored procedure. In Sql Server you can write scripts (in TSQL) that run on the SQL Agent, and you can schedule this to fire on a trigger, alert, or schedule. lastly if you are trying to find the shortest point between 2 lines then the view option mentioned below is probably the most optimal. If your Acces Front End is simply for data import then this is very acceptable, if not, then it is a plausible solution for the interim, while you work on a more robust interface using an Access Data Project which is simply a front end to Sql Server. lastly sign up to the dba-sqlserver list and also the Sql Server Central Home website, it is very informative and has a very robust library of SQL Scripts. http://www.sqlservercentral.com/default.asp -- -Francisco Developer wrote: >Well, not exactly ... Tables are tables, but ... In SQL Server, the >eqivalent of a query is a View. SQL Stored Procedures are roughly >equivalent to Modules (but they are written in T-SQL, not VBA ... >Although they are saying that in some future version you can write SP's >in VB.net ... I can't wait for that, I hate T-SQL!)... And SP's can >return data (like views) or execute insert/update/delete commands. > >BUT ... There are no Forms/Reports; you still need Access (or VB, or ASP >pages) to be the Front End for your users. > >You can use Access as the FE, and link tables (or views) as you would a >back-end .mdb. So, you *might* get away with a copy of your current >.mdb, linked to a View of the same name(s) as you current tables, with >no other changes to the current Access application. > >Hope this is a good start, > >Steve > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Keatley >Sent: Monday, November 24, 2003 6:38 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access to SQL Server > > >Hi all... > >I contract to a large company producing some goods which require me to >process 450 individual orders each month. These orders come from 450 >different sources and are (currently) sent to me via 450 individual >excel spreadsheets. To this end I have developed an Access database to >process these orders and also produce the goods. > >In the New Year the company is going to change their ordering system to >SQL server and all orders will be placed over the Web therefore >centralising their ordering system. They have asked me what information >I need to produce what I normally do from the server. I think the move >is WELL overdue BUT... > >I know little (OK... NOTHING) about SQL server and its capabilities and >would not know the most efficient way of extracting the data. > >The data I need is Customer name and address (approx 450), Description >of goods (Up to 700 items Per customer), and quantity to buy. > >My head tells me that read only access to a query via ODBC into SQL >Server >is the way to go but many of you are working with Access AND SQL >server >and I thought I would ask within the group for advice. > >Can I talk technically about SQL server the way I talk about Access >....ie is the terminology the same as in Tables, Queries, Forms and >Modules etc (certainly dont want to appear stupid when talking about it) > >What connection options are there (I am physically 3000 miles from the >server) > >The little I have gleaned about SQL server suggests that it is like the >"Big Brother" to Access which means that I can talk about it the way I >would talk about Access but ......am I correct? > >As always any help would be appreciated > >Regards > >Tom Keatley > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Mon Nov 24 21:48:43 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Tue, 25 Nov 2003 14:48:43 +1100 Subject: [AccessD] OT Excel refer to form control References: <000d01c3b02b$f3981ae0$6401a8c0@user> Message-ID: <002101c3b307$062225b0$6401a8c0@user> Thanks Glen - I can see what you are getting at with the after_update vs. the on_Change and thanks for the sample. It's taken me a couple of days to work out what's what with combo boxes in Excel and yours has been created with the combo box control on the forms toolbar, right? So it is an ActiveX control with on change events, value property etc. The only problem I have with that is that I am trying to create this app without ActiveX controls as it will be widely used by a client and I don't want to have any deployment issues. The hassle of not using the ActiveXcontrol and going with the combo on the forms toolbar, though, is the lack of properties and events - it has no on change event - you can only assign a macro, define an input range, and a cell link. But I have found (YES!!) a way to reference that object in code which, coming from access vba development, I find really strange. 1. You give the combo boxes named ranges (in my case Cbo_Entity, Cbo_CostCentre), 2. Not that the named ranges do not appear in the list of named ranges anywhere. (Why I don't know - that threw me for ages)) 3. Assign a macro to the combo and in the vba window refer to that or any other combo boxes created using the syntax ActiveSheet.DrawingObjects("RangeNameofCombo") syntax. eg. when my combo Cbo_Entity changes, change the source data (ie. input range) for the other combo box Cbo_CostCentre: Sub CboEntity_Change() 'name of assigned macro Dim strerrormsg As String On Error GoTo Err_Handler ThisWorkbook.Worksheets("lists").Activate ' 'Application.ScreenUpdating = False ThisWorkbook.Worksheets("Lists 2").Activate ' If Range("Sel_Entity") = 1 And (Range("Sel_Location") = 2) Then ThisWorkbook.Worksheets("Menu").Activate ActiveSheet.DrawingObjects("Cbo_CostCentre").Select 'select the combo box With Selection .ListFillRange = "CostCentres_Range1" 'populate its source data with new range '.LinkedCell = "ExpSelection_No" .DropDownLines = 10 End With End If -------------- Kath ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving ; SDSSoftware at optusnet.com.au Sent: Tuesday, November 25, 2003 2:20 PM Subject: Re: [AccessD] OT Excel refer to form control Kath, I was wrong, it is the On Change event. See attached sample ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 4:35 AM Subject: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Nov 24 21:48:03 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 25 Nov 2003 16:48:03 +1300 Subject: [AccessD] Performance issue - QueryDef Message-ID: <70F3D727890C784291D8433E9C418F298F37@server.bondsoftware.co.nz> Thanks Brett. It is only the 'Set qdf =' line that is slow, the params and other lines are almost instantaneous. In Design view, the Q takes less than a second to open, less after close then re-open in Design view. The Q itself is 3 tables, a 'one' and two 'manys', with RI enforced in the underlying tables. Anyway, I think it's resolved ... a close db, compact, and re-open has worked wonders . My thanks Stephen Bond > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] > Sent: Tuesday, 25 November 2003 4:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Performance issue - QueryDef > > > Steven, > If this is a fairly complex query, it probably takes the SQL > parser a bit of > time to process it so it can generate a list of parameters. > Try opening it > in design view. How long does it take? Then, it has to > determine whether > what the parameters are: controls on a form or otherwise. > > > -----Original Message----- > From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] > Sent: Monday, November 24, 2003 8:54 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Performance issue - QueryDef > > Line 3 below takes 4 seconds to execute: > > 1. Dim db as DAO.database, qdf as DAO.QueryDef > 2. set db = Currentdb() > 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") > 4. For each prm in qdf.Parameters > 5. prm.value = Eval(prm.Name) > 6. Next prm > 7. qdf.execute > > The query is an Append query, the table being appended to is > empty. The > execution time is negligible. Why should line 4 take so long?? > > Stephen Bond > > -------------------------------------------------------------- > ------------------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Mon Nov 24 22:34:11 2003 From: john at winhaven.net (John Bartow) Date: Mon, 24 Nov 2003 22:34:11 -0600 Subject: [AccessD] report field font size In-Reply-To: <1691069107.20031124091235@cactus.dk> Message-ID: Hi Gustav, In between postings here I developed a rudimentary function that works well with the few fonts (Arial, Time New Roman, etc.) I use in apps. It wouldn't work well with many of them though because I don't actually query for font metrics. I also found some info on this in the ADH so along with the lebans site you sent I should have it covered if I need more depth to my solution. Thanks, John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Monday, November 24, 2003 2:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] report field font size > > > Hi John > > Stephen Lebans may be able to inspire you: > > http://www.lebans.com/makefitsingle.htm > > /gustav > > > > Anyone have a function to set the font size in a report field > to the maximum > > that will fit in the control? > > _______________________________________________ > 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 Tue Nov 25 08:50:03 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 25 Nov 2003 07:50:03 -0700 Subject: [AccessD] Auto Lookup Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> Hi All, I am trying to complete a project on a Mail Processing database. The one part I am stuck on now is some way for the Auto lookup of a record everytime a number is put it. I have a form in which it has 5 fields, the first field is the ID of the person receiving the mail, the next four fields depend on this number to be filled in. What I need it to be able to do is as the user puts in a number it will auto check the table for the ID number and fill the fields on the form with the underlying info with out the user having to press enter or Tab to have update or search, something like on each Key Down or Key Up. For example say the ID to enter is 123456, when the user enters the 1 it will do a auto check for a ID of 1 and when the user enters 2 it will do a auto check for a ID of 12 and so forth. I hope that makes sense. Thanks for any info or examples anyone has to accomplish this, if it is at all possible. Thanks, Mike Gowey, MCSA, A+ Team Leader - SRCI Information Systems & Services Division From pedro at plex.nl Tue Nov 25 08:01:48 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Nov 2003 15:01:48 +0100 Subject: [AccessD] middle X and Y coordinates References: <007901c3b2e6$7b9684b0$bf00a8c0@dabsight> Message-ID: <000b01c3b35d$30c875c0$fac581d5@pedro> Hello John, sorry that i didn't give a relation between the data and the result. I thought that this was clear. The result has to be the middle (2,500) from 0 to 5 when the first number after the comma lies between this value. The result has to be the middle (7,500) from 5 to 10 when the first number after the comma lies between this value. I'll hope this explains a little bit more together with the data and the result. Pedro ----- Original Message ----- From: "DJK(John) Robinson" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:55 AM Subject: RE: [AccessD] middle X and Y coordinates > Pedro > > You don't say how the results relate to the data - or am I missing something > obvious? > > John > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Pedro Janssen > > Sent: 24 November 2003 21:22 > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] middle X and Y coordinates > > > > > > Hello Group, > > > > > > I have a table with two fields which are X and Y coordinates. > > > > X Y > > 97,234 234,632 > > 98,456 257,678 > > 107,453 278,945 > > 107,234 278,346 > > 109,123 245,567 > > > > i need as result > > > > X Y > > 97,500 237,500 > > 97,500 257,500 > > 107,500 277,500 > > 107,500 277,500 > > > > on the result i would like a distinct. > > > > > > > > Can this be done in one query? > > > > TIA > > > > Pedro Janssen > > > > _______________________________________________ > > 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 Tue Nov 25 08:54:17 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue, 25 Nov 2003 09:54:17 -0500 Subject: [AccessD] test Message-ID: No traffic this morning. John W. Colby www.ColbyConsulting.com From Lambert.Heenan at aig.com Tue Nov 25 08:14:59 2003 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 09:14:59 -0500 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79A6@xlivmbx12.aig.com> Actually I'd say that as a developer you should load mouse wheel software. Because then you'll know how your application behaves in the real world, where almost everyone else uses wheel mice. How else are you going to test if the measures you put in place to stop Access navigating to different records work when the user idly twiddles the wheel? Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Monday, November 24, 2003 6:16 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Aha! I knew there was a reason for not loading mouse software! > > Charlotte Foust > > -----Original Message----- > From: Robert Gracie [mailto:Subscriptions at servicexp.com] > Sent: Monday, November 24, 2003 2:54 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > > You need to load the mouse driver pack for your model. If you only > allow Win XP to install it's drivers for the mouse, it will not work in > all environments.... > > Robert Gracie > www.servicexp.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 4:40 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > That's interesting because I'm using Access XP on WinXP with a Microsoft > mouse and it does NOT work in any of the VBE windows. Nor does it work > in Office 2000 on my Win2k machine (with a super mini mouse). Do you > have some kind of special magic you worked in the registry? I don't > want to use it, but maybe someone else will. > > Charlotte Foust > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Monday, November 24, 2003 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The mouse wheel works fine for me in the code window. I'm using Access > XP on Windows XP, but have used other office version with other Windows > versions and I can't remember not being able to use the mouse wheel. I'm > currently using a Fellowes Mini Web Pro mouse (which is very nice if > anyone happens to be looking for a small optical mouse). > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 10:44 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The scroll wheel does not work in the Visual Basic Editor in *any* of > the Office apps ... Thank goodness. I personally could live nicely > without scroll wheels on mice in any environment. > > Charlotte Foust > > -----Original Message----- > From: Michael Brosdorf [mailto:michael.broesdorf at web.de] > Sent: Monday, November 24, 2003 7:04 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Mouse wheel does not work in VBA window > > > Hello, > > my mousewheel does not work in the VBA windows of Access 2000 - I am > unable to scroll through the code with the wheel. In other applications > and even in Access it works fine. Is that a known problem? Is there any > way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 > with current Microsoft drivers, but the same problems occurs with > Logitech mice.. > > TIA, > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 01:44:33 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 08:44:33 +0100 Subject: [AccessD] Performance issue - QueryDef Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFC@stekelbes.ithelps.local> Prm is not defined in your dim statement could be one issue... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stephen Bond Verzonden: dinsdag 25 november 2003 3:54 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Performance issue - QueryDef Line 3 below takes 4 seconds to execute: 1. Dim db as DAO.database, qdf as DAO.QueryDef 2. set db = Currentdb() 3. set qdf = db.QueryDefs("qryTransactionEntryFormGenerate") 4. For each prm in qdf.Parameters 5. prm.value = Eval(prm.Name) 6. Next prm 7. qdf.execute The query is an Append query, the table being appended to is empty. The execution time is negligible. Why should line 4 take so long?? Stephen Bond Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on. -- Sir Winston Churchill From gustav at cactus.dk Tue Nov 25 09:25:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Nov 2003 16:25:49 +0100 Subject: [AccessD] Auto Lookup In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> Message-ID: <826276954.20031125162549@cactus.dk> Hi Gowey Sound like a job for a combobox ... /gustav > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > I have a form in which it has 5 fields, the first field is the ID of the > person receiving the mail, the next four fields depend on this number to > be filled in. > What I need it to be able to do is as the user puts in a number it will > auto check the table for the ID number and fill the fields on the form > with the underlying info with out the user having to press enter or Tab > to have update or search, something like on each Key Down or Key Up. > For example say the ID to enter is 123456, when the user enters the 1 it > will do a auto check for a ID of 1 and when the user enters 2 it will do > a auto check for a ID of 12 and so forth. > I hope that makes sense. Thanks for any info or examples anyone has to > accomplish this, if it is at all possible. From Mike.W.Gowey at doc.state.or.us Tue Nov 25 09:33:06 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 25 Nov 2003 08:33:06 -0700 Subject: [AccessD] Auto Lookup Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE23@srciml1.ds.doc.state.or.us> Yeah it is, I got that already. It's the rest of the puzzle that I need to work out. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, November 25, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Auto Lookup Hi Gowey Sound like a job for a combobox ... /gustav > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > I have a form in which it has 5 fields, the first field is the ID of > the person receiving the mail, the next four fields depend on this > number to be filled in. > What I need it to be able to do is as the user puts in a number it > will auto check the table for the ID number and fill the fields on the > form with the underlying info with out the user having to press enter > or Tab to have update or search, something like on each Key Down or > Key Up. For example say the ID to enter is 123456, when the user > enters the 1 it will do a auto check for a ID of 1 and when the user > enters 2 it will do a auto check for a ID of 12 and so forth. > I hope that makes sense. Thanks for any info or examples anyone has > to accomplish this, if it is at all possible. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 03:55:55 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 10:55:55 +0100 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFE@stekelbes.ithelps.local> You known what!. I have this to.... But only recently, must be some update from office or the mouse software. I installed recently the Wireless desktop elite with downloaded software v5.. I supose this could be the cause. Have no time to search it out right now... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 24, 2003 5:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mouse wheel does not work in VBA window The scroll wheel does not work in the Visual Basic Editor in *any* of the Office apps ... Thank goodness. I personally could live nicely without scroll wheels on mice in any environment. Charlotte Foust -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Monday, November 24, 2003 7:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Mouse wheel does not work in VBA window Hello, my mousewheel does not work in the VBA windows of Access 2000 - I am unable to scroll through the code with the wheel. In other applications and even in Access it works fine. Is that a known problem? Is there any way to make it work? I am using a Microsoft IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same problems occurs with Logitech mice.. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 01:31:59 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 08:31:59 +0100 Subject: [AccessD] Compile options in VBA. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFB@stekelbes.ithelps.local> Thats confirms what I was thinking. I compile my apps compleetly before distributing, so I supose while developing it's best having both options on? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Drew Wutka Verzonden: maandag 24 november 2003 22:03 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Compile options in VBA. The Compile on Demand is an option that either compiles your code in it's entirety when your application starts (the option would be off for this..), or compiles it when it is required (when you have Compile on Demand on). The big difference is startup speed. If you project has a lot of code, if you don't use 'Compile on Demand', you are going to get a startup delay as Access compiles the VBA code. The second option (background compile) is a subset of compile on demand. If you have compile on demand set, you can use the background compile option to have Access compile it's code during idle time periods. The reason you have these options, is because VBA is a 'higher' language, which means it makes sense (or it should...) to a human. But the CPU itself still requires machine language to be sent to it, so your VBA code must be compiled into machine language, in order for the CPU to carry out your instructions. I wonder if you have the Compile on Demand turned off, if you wouldn't be allowed to make changes to code on the fly, when the application is running. Hmmmm..... Anyhow, I don't see a real reason to not have both options checked. If you want your code to be compiled all the time, use an .mde. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, November 24, 2003 4:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Compile options in VBA. Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 03:52:11 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 10:52:11 +0100 Subject: [AccessD] Excel Automation Question Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CEFD@stekelbes.ithelps.local> Something like this. objExcelWorkSheet.Columns(x).ColumnWidth objExcelWorkSheet is a reference to the worksheet, but I supose you can use activeworksheet or something to... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, November 24, 2003 4:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Automation Question Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Nov 25 10:26:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 25 Nov 2003 08:26:18 -0800 Subject: [AccessD] Compile options in VBA. References: <2F8793082E00D4119A1700B0D0216BF8022275DB@main2.marlow.com> Message-ID: <3FC382AA.2000308@shaw.ca> There are some interesting affects leaving compile on demand on that may lead to code corruption What happens is that when COMPILE ON DEMAND is checked, only as much code as is called gets compiled. This means modules containing external functions may get partially compiled. When you turn it off, a call to the external function will compile the entire module, not just the called function. This means that the compiling will be in fewer chunks, and that there will be less chance of fragmentation of the compiled code and less chance of something going wrong in managing that fragmentation. Mary Chipman and Michael Kaplan recommend it be turned off. This does make for longer compiles though. see http://www.trigeminal.com/usenet/usenet004.asp?1033 Drew Wutka wrote: >The Compile on Demand is an option that either compiles your code in it's >entirety when your application starts (the option would be off for this..), >or compiles it when it is required (when you have Compile on Demand on). The >big difference is startup speed. If you project has a lot of code, if you >don't use 'Compile on Demand', you are going to get a startup delay as >Access compiles the VBA code. The second option (background compile) is a >subset of compile on demand. If you have compile on demand set, you can use >the background compile option to have Access compile it's code during idle >time periods. > >The reason you have these options, is because VBA is a 'higher' language, >which means it makes sense (or it should...) to a human. But the CPU itself >still requires machine language to be sent to it, so your VBA code must be >compiled into machine language, in order for the CPU to carry out your >instructions. I wonder if you have the Compile on Demand turned off, if you >wouldn't be allowed to make changes to code on the fly, when the application >is running. Hmmmm..... > >Anyhow, I don't see a real reason to not have both options checked. If you >want your code to be compiled all the time, use an .mde. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Monday, November 24, 2003 4:56 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Compile options in VBA. > > > > >Hi > >I was wondering something. >In the VBA editor in options>common(?)>Compile >You can click two options for compiling. >I have the dutch version and I find that the help is poorly explaining >the exact use of these options (if not for everything:-(. >Compile at request and background compiling. > >I wonder if anyone could explain me what those options do and what best >choice is... > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Tue Nov 25 10:32:56 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 11:32:56 -0500 Subject: [AccessD] Auto Lookup Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79A9@xlivmbx12.aig.com> Well, as you've figured that a combobox is the best tool for the job, all you need to do now is educate the user's of the world of possibilities that would open up if only they'd learn to press the enter key after selecting an item in the combobox. Problem solved. Lambert > -----Original Message----- > From: Gowey Mike W [SMTP:Mike.W.Gowey at doc.state.or.us] > Sent: Tuesday, November 25, 2003 10:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Auto Lookup > > Yeah it is, I got that already. It's the rest of the puzzle that I need > to work out. > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, November 25, 2003 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Hi Gowey > > Sound like a job for a combobox ... > > /gustav > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 25 10:36:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Nov 2003 08:36:49 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: Ah, but loading mouse software is unnecessary for that purpose, Lambert. The scroll wheel works in the UI as it is. It's only in the VBE that the scroll wheel doesn't work without the mouse software, and the users shouldn't be in there anyhow. I have made a *career* of not loading mouse software going back to the days of Windows 3.x, when it caused many problems that didn't exist if you didn't load it. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 25, 2003 6:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window Actually I'd say that as a developer you should load mouse wheel software. Because then you'll know how your application behaves in the real world, where almost everyone else uses wheel mice. How else are you going to test if the measures you put in place to stop Access navigating to different records work when the user idly twiddles the wheel? Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Monday, November 24, 2003 6:16 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Aha! I knew there was a reason for not loading mouse software! > > Charlotte Foust > > -----Original Message----- > From: Robert Gracie [mailto:Subscriptions at servicexp.com] > Sent: Monday, November 24, 2003 2:54 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > > You need to load the mouse driver pack for your model. If you only > allow Win XP to install it's drivers for the mouse, it will not work > in all environments.... > > Robert Gracie > www.servicexp.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 4:40 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > That's interesting because I'm using Access XP on WinXP with a > Microsoft mouse and it does NOT work in any of the VBE windows. Nor > does it work in Office 2000 on my Win2k machine (with a super mini > mouse). Do you have some kind of special magic you worked in the > registry? I don't want to use it, but maybe someone else will. > > Charlotte Foust > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Monday, November 24, 2003 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The mouse wheel works fine for me in the code window. I'm using > Access XP on Windows XP, but have used other office version with other > Windows versions and I can't remember not being able to use the mouse > wheel. I'm currently using a Fellowes Mini Web Pro mouse (which is > very nice if anyone happens to be looking for a small optical mouse). > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, November 24, 2003 10:44 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > The scroll wheel does not work in the Visual Basic Editor in *any* of > the Office apps ... Thank goodness. I personally could live nicely > without scroll wheels on mice in any environment. > > Charlotte Foust > > -----Original Message----- > From: Michael Brosdorf [mailto:michael.broesdorf at web.de] > Sent: Monday, November 24, 2003 7:04 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Mouse wheel does not work in VBA window > > > Hello, > > my mousewheel does not work in the VBA windows of Access 2000 - I am > unable to scroll through the code with the wheel. In other > applications and even in Access it works fine. Is that a known > problem? Is there any way to make it work? I am using a Microsoft > IntelliMouse Explorer 2.0 with current Microsoft drivers, but the same > problems occurs with Logitech mice.. > > TIA, > > Michael > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 25 11:47:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 11:47:19 -0600 Subject: [AccessD] test Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275EC@main2.marlow.com> Sheesh, there was more traffic then I cared for!.....oh, you mean on the list, I thought you meant driving.... Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, November 25, 2003 8:54 AM To: AccessD Subject: [AccessD] test No traffic this morning. John W. Colby www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 25 11:48:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 11:48:06 -0600 Subject: [AccessD] Compile options in VBA. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275ED@main2.marlow.com> Yep. If you make .mde's for your finished products, then those options are a moot point. They only apply to .mdb's. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Tuesday, November 25, 2003 1:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Compile options in VBA. Thats confirms what I was thinking. I compile my apps compleetly before distributing, so I supose while developing it's best having both options on? Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Drew Wutka Verzonden: maandag 24 november 2003 22:03 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Compile options in VBA. The Compile on Demand is an option that either compiles your code in it's entirety when your application starts (the option would be off for this..), or compiles it when it is required (when you have Compile on Demand on). The big difference is startup speed. If you project has a lot of code, if you don't use 'Compile on Demand', you are going to get a startup delay as Access compiles the VBA code. The second option (background compile) is a subset of compile on demand. If you have compile on demand set, you can use the background compile option to have Access compile it's code during idle time periods. The reason you have these options, is because VBA is a 'higher' language, which means it makes sense (or it should...) to a human. But the CPU itself still requires machine language to be sent to it, so your VBA code must be compiled into machine language, in order for the CPU to carry out your instructions. I wonder if you have the Compile on Demand turned off, if you wouldn't be allowed to make changes to code on the fly, when the application is running. Hmmmm..... Anyhow, I don't see a real reason to not have both options checked. If you want your code to be compiled all the time, use an .mde. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, November 24, 2003 4:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Compile options in VBA. Hi I was wondering something. In the VBA editor in options>common(?)>Compile You can click two options for compiling. I have the dutch version and I find that the help is poorly explaining the exact use of these options (if not for everything:-(. Compile at request and background compiling. I wonder if anyone could explain me what those options do and what best choice is... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 25 11:49:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 11:49:46 -0600 Subject: [AccessD] Compile options in VBA. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275EE@main2.marlow.com> True, I personally have seen issues along the lines of code getting quirky after a lot of modification. However, it usually straightens out with closing and re-opening Access. That is in A2k though. I very rarely see any issues in 97. Drew -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Tuesday, November 25, 2003 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compile options in VBA. There are some interesting affects leaving compile on demand on that may lead to code corruption What happens is that when COMPILE ON DEMAND is checked, only as much code as is called gets compiled. This means modules containing external functions may get partially compiled. When you turn it off, a call to the external function will compile the entire module, not just the called function. This means that the compiling will be in fewer chunks, and that there will be less chance of fragmentation of the compiled code and less chance of something going wrong in managing that fragmentation. Mary Chipman and Michael Kaplan recommend it be turned off. This does make for longer compiles though. see http://www.trigeminal.com/usenet/usenet004.asp?1033 Drew Wutka wrote: >The Compile on Demand is an option that either compiles your code in it's >entirety when your application starts (the option would be off for this..), >or compiles it when it is required (when you have Compile on Demand on). The >big difference is startup speed. If you project has a lot of code, if you >don't use 'Compile on Demand', you are going to get a startup delay as >Access compiles the VBA code. The second option (background compile) is a >subset of compile on demand. If you have compile on demand set, you can use >the background compile option to have Access compile it's code during idle >time periods. > >The reason you have these options, is because VBA is a 'higher' language, >which means it makes sense (or it should...) to a human. But the CPU itself >still requires machine language to be sent to it, so your VBA code must be >compiled into machine language, in order for the CPU to carry out your >instructions. I wonder if you have the Compile on Demand turned off, if you >wouldn't be allowed to make changes to code on the fly, when the application >is running. Hmmmm..... > >Anyhow, I don't see a real reason to not have both options checked. If you >want your code to be compiled all the time, use an .mde. > >Drew > >-----Original Message----- >From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] >Sent: Monday, November 24, 2003 4:56 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Compile options in VBA. > > > > >Hi > >I was wondering something. >In the VBA editor in options>common(?)>Compile >You can click two options for compiling. >I have the dutch version and I find that the help is poorly explaining >the exact use of these options (if not for everything:-(. >Compile at request and background compiling. > >I wonder if anyone could explain me what those options do and what best >choice is... > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 25 12:18:46 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 25 Nov 2003 19:18:46 +0100 Subject: [AccessD] Strange send e-mail from Access+Outlook 2003 behavior. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF18@stekelbes.ithelps.local> Hi group The extract below is a function I'm using for 2 or 3 years now and always done the job. I recently installed Outlook 2003 (a week ago) and this function is behaving very bizar. It's a routine to check in a database I need to send out some new passwords and does this for me. For security reasons I send the mail to the user and myself. Today I noticed that I did not received my copy as I normaly do. I called the user and he did not received his copy. I checked my send items and the mail is in my sent items with the correct adresses. But No one has got it. How can it be posible that the mail is in my sent items and I nor the user has received the mail!!! So I start looking to my code and found that when I remove the lines: mItem.ReplyRecipients.Add "Staff at boxoffice.be " mItem.SentOnBehalfOfName = "Staff at boxoffice.be " My e-mail does get received by both users!!! I always had Sent-on-Behalf rights so I checked with a manual typed e-mail with identical adresses and same send-on-behalf user and guess what. The mail does arrive at both adresses Is this a bug or a security measure, and why does get in my sent items without actulay sending it??? So while I was writing this I tried the same thing on another computer with Outlook 2002 and gues what. Everything works fine.... Is this a bug? Anyone out there who can report this to MS? Below is the code. Erwin Set mOutlookApp = CreateObject("Outlook.Application") Set mNameSpace = mOutlookApp.GetNamespace("MAPI") With rstWebSec Do While rstWebSec.EOF = False If !WEBEmailedPassword = False And Trim(!Email) <> "" Then strBody = strBodyHeader & vbCrLf strBody = strBody & vbCrLf strBody = strBody & !Company & vbCrLf strBody = strBody & !Title & " " & !FirstName & " " & !SurName & vbCrLf strBody = strBody & vbCrLf strBody = strBody & strBodyFooter & vbCrLf Application.SysCmd acSysCmdUpdateMeter, rstWebSec.AbsolutePosition Set mItem = mOutlookApp.CreateItem(olMailItem) mItem.Recipients.Add !Email mItem.Recipients.Add "Erwin.Craps at ithelps.be " mItem.Subject = strSubject mItem.Body = strBody mItem.ReplyRecipients.Add "Staff at boxoffice.be " mItem.SentOnBehalfOfName = "Staff at boxoffice.be " 'mItem.Display mItem.Send DoEvents Set mItem = Nothing .Edit !WEBEmailedPassword = True .Update End If .MoveNext DoEvents Loop End With Set mNameSpace = Nothing Set mOutlookApp = Nothing Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From martyconnelly at shaw.ca Tue Nov 25 12:59:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 25 Nov 2003 10:59:30 -0800 Subject: [AccessD] Info: Article on Packaging Access 2003 Solutions or ODE References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79A9@xlivmbx12.aig.com> Message-ID: <3FC3A692.8060304@shaw.ca> I remember some people asking for info on this This is a reprint of October 2003 Access Advisor article One interesting thing is you only have to install the runtime once on a machine so makes for a smaller install, you can almost do from a web download . Packaging Access 2003 Solutions Rick Dobson http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart03/html/sa03j8.asp There is a sample 28M run time install included as download. -- Marty Connelly Victoria, B.C. Canada From Lembit.Soobik at t-online.de Tue Nov 25 06:01:25 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 25 Nov 2003 13:01:25 +0100 Subject: [AccessD] All Computer Names In Network References: <3FC313E3.2383.423894@localhost> Message-ID: <032c01c3b34b$dbf65960$0200a8c0@S856> thank you, Stuart, interesting site, will try it out Lembit Soobik ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, November 24, 2003 11:33 PM Subject: Re: [AccessD] All Computer Names In Network > On 24 Nov 2003 at 16:21, Lembit Soobik wrote: > > > Does anybody know how to get all computer names in the network? > > thank you > > > One way would be to use a tool like Angry IP Scanner > http://www.angryziber.com/ipscan/ > > > -- > 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 stephen at bondsoftware.co.nz Tue Nov 25 13:21:02 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 26 Nov 2003 08:21:02 +1300 Subject: [AccessD] middle X and Y coordinates Message-ID: <70F3D727890C784291D8433E9C418F29088526@server.bondsoftware.co.nz> Pedro, If you want the numbers to the nearest 2500, in the query put 2 derived fields MidX: Int([x]/2500+0.5)*2500 MidY: Int([y]/2500+0.5)*2500 Does this answer your question? Stephen Bond From Lambert.Heenan at AIG.com Tue Nov 25 13:37:44 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 14:37:44 -0500 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79AD@xlivmbx12.aig.com> Well ok. That's fine - but I'm one of those weirdoes that actually *likes* the wheel. I've been adicted since I first got my hands on it Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Tuesday, November 25, 2003 11:37 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Ah, but loading mouse software is unnecessary for that purpose, Lambert. > The scroll wheel works in the UI as it is. It's only in the VBE that > the scroll wheel doesn't work without the mouse software, and the users > shouldn't be in there anyhow. I have made a *career* of not loading > mouse software going back to the days of Windows 3.x, when it caused > many problems that didn't exist if you didn't load it. > > Charlotte Foust > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Tuesday, November 25, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > Actually I'd say that as a developer you should load mouse wheel > software. Because then you'll know how your application behaves in the > real world, where almost everyone else uses wheel mice. How else are you > going to test if the measures you put in place to stop Access navigating > to different records work when the user idly twiddles the wheel? > > Lambert > From cfoust at infostatsystems.com Tue Nov 25 13:47:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Nov 2003 11:47:52 -0800 Subject: [AccessD] Mouse wheel does not work in VBA window Message-ID: Hey, I wouldn't even use a *mouse* for a long time! I had to learn, but that doesn't mean I have to use all the extra buttons and wheels they put on the darn thing. Two buttons is ample for me. LOL I can never remember what the other buttons do anyhow. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 25, 2003 11:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mouse wheel does not work in VBA window Well ok. That's fine - but I'm one of those weirdoes that actually *likes* the wheel. I've been adicted since I first got my hands on it Lambert > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Tuesday, November 25, 2003 11:37 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > Ah, but loading mouse software is unnecessary for that purpose, > Lambert. The scroll wheel works in the UI as it is. It's only in the > VBE that the scroll wheel doesn't work without the mouse software, and > the users shouldn't be in there anyhow. I have made a *career* of not > loading mouse software going back to the days of Windows 3.x, when it > caused many problems that didn't exist if you didn't load it. > > Charlotte Foust > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Tuesday, November 25, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mouse wheel does not work in VBA window > > > Actually I'd say that as a developer you should load mouse wheel > software. Because then you'll know how your application behaves in the > real world, where almost everyone else uses wheel mice. How else are > you going to test if the measures you put in place to stop Access > navigating to different records work when the user idly twiddles the > wheel? > > Lambert > _______________________________________________ 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 Tue Nov 25 05:59:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 25 Nov 2003 12:59:01 +0100 Subject: [AccessD] All Computer Names In Network References: <916187228923D311A6FE00A0CC3FAA305BB045@ADGSERVER><008701c3b2a0$1dfbd260$0200a8c0@S856> <003501c3b2e1$2fb78d50$6001a8c0@dejpolsys> Message-ID: <032601c3b34b$848eb550$0200a8c0@S856> thank you, William, thats what I was after :) Lembit Soobik ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 12:17 AM Subject: Re: [AccessD] All Computer Names In Network > http://www.mvps.org/access/api/api0058.htm > > ...the workstation names are included in the level 2 data ...HTH :) > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Monday, November 24, 2003 10:21 AM > Subject: [AccessD] All Computer Names In Network > > > > Does anybody know how to get all computer names in the network? > > thank you > > > > Lembit > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 25 15:23:42 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Nov 2003 16:23:42 -0500 Subject: [AccessD] Auto Lookup References: <05EBB8A3BEB95B4F8216BE4EF486077801D9FE1F@srciml1.ds.doc.state.or.us> Message-ID: <002801c3b39a$66d88ff0$6001a8c0@dejpolsys> Mike ...this is pretty standard stuff ...both of these sites have sample code and dbs that demonstrate different methods of getting the form populated with a record selected from a combo box ...HTH :) http://www.mvps.org/access/ http://www.candace-tripp.com/access_downloads.htm William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 9:50 AM Subject: [AccessD] Auto Lookup > > > Hi All, > > > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > > I have a form in which it has 5 fields, the first field is the ID of the > person receiving the mail, the next four fields depend on this number to > be filled in. > > What I need it to be able to do is as the user puts in a number it will > auto check the table for the ID number and fill the fields on the form > with the underlying info with out the user having to press enter or Tab > to have update or search, something like on each Key Down or Key Up. > For example say the ID to enter is 123456, when the user enters the 1 it > will do a auto check for a ID of 1 and when the user enters 2 it will do > a auto check for a ID of 12 and so forth. > > I hope that makes sense. Thanks for any info or examples anyone has to > accomplish this, if it is at all possible. > > > Thanks, > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Tue Nov 25 15:27:25 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Nov 2003 16:27:25 -0500 Subject: [AccessD] test References: <2F8793082E00D4119A1700B0D0216BF8022275EC@main2.marlow.com> Message-ID: <002d01c3b39a$ebc86460$6001a8c0@dejpolsys> ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Tue Nov 25 06:04:36 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 25 Nov 2003 13:04:36 +0100 Subject: [AccessD] All Computer Names In Network References: <2F8793082E00D4119A1700B0D0216BF8022275DE@main2.marlow.com> Message-ID: <033d01c3b34c$4c23d910$0200a8c0@S856> yes, want to do it with API calls. (got a good reference already from William) thanks Lembit Soobik ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 24, 2003 10:13 PM Subject: RE: [AccessD] All Computer Names In Network > Just out of curiousity...why? I only ask, because you can do this with VBA, > the process would be to get the subnet of the machine you are on (API > calls), then do a DNS reverse lookup on every IP address in the subnet (more > API calls). The question is, why do you want to know this? Just curious... > > Drew > > -----Original Message----- > From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] > Sent: Monday, November 24, 2003 9:21 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] All Computer Names In Network > > > Does anybody know how to get all computer names in the network? > thank you > > Lembit > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.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 Tue Nov 25 15:34:52 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 25 Nov 2003 14:34:52 -0700 Subject: [AccessD] Auto Lookup Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780107A1@srciml1.ds.doc.state.or.us> Yeah I understand that is simple stuff, but that is not the part that I am having problems with. I can get the form populated by the user selecting from the combo box and pressing either the Enter Key or Tab Key. What they want to be able to do is not have to press the Enter Key or Tab key for the information to be populated automatically. Say that they enter 123456 in the combo box manually, how can I get it to automatically look up the record without the enter key or tab key being pressed. What they want to be able to do is once the info is shown than they want to be able to press the enter key and it will print the mailing label (I have that part working just great)as long as they select from the pull down list in the combo box. It's the manual entry that causes a problem. I hope that makes better sense. \ \ Mike -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Auto Lookup Mike ...this is pretty standard stuff ...both of these sites have sample code and dbs that demonstrate different methods of getting the form populated with a record selected from a combo box ...HTH :) http://www.mvps.org/access/ http://www.candace-tripp.com/access_downloads.htm William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 9:50 AM Subject: [AccessD] Auto Lookup > > > Hi All, > > > I am trying to complete a project on a Mail Processing database. The > one part I am stuck on now is some way for the Auto lookup of a record > everytime a number is put it. > > I have a form in which it has 5 fields, the first field is the ID of > the person receiving the mail, the next four fields depend on this > number to be filled in. > > What I need it to be able to do is as the user puts in a number it > will auto check the table for the ID number and fill the fields on the > form with the underlying info with out the user having to press enter > or Tab to have update or search, something like on each Key Down or > Key Up. For example say the ID to enter is 123456, when the user > enters the 1 it will do a auto check for a ID of 1 and when the user > enters 2 it will do a auto check for a ID of 12 and so forth. > > I hope that makes sense. Thanks for any info or examples anyone has > to accomplish this, if it is at all possible. > > > Thanks, > > Mike Gowey, MCSA, A+ > Team Leader - SRCI > Information Systems & Services Division > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Nov 25 16:02:47 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Tue, 25 Nov 2003 16:02:47 -0600 Subject: [AccessD] test Message-ID: Good thing you're moving to New Hampshire then, isn't it? ; -))))))))))))))))) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "William Hindman" To: "Access Developers discussion and problem solving" accessd-bounces at databasea cc: dvisors.com Subject: Re: [AccessD] test 11/25/2003 03:27 PM Please respond to Access Developers discussion and problem solving ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Nov 25 16:01:57 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 25 Nov 2003 17:01:57 -0500 Subject: [AccessD] Auto Lookup References: <05EBB8A3BEB95B4F8216BE4EF48607780107A1@srciml1.ds.doc.state.or.us> Message-ID: <019301c3b39f$bf8d8240$6401a8c0@default> Mike, If you're looking for an event proc, try writing code for the OnChange event by testing the length of the string that the user has typed in. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 4:34 PM Subject: RE: [AccessD] Auto Lookup > Yeah I understand that is simple stuff, but that is not the part that I > am having problems with. I can get the form populated by the user > selecting from the combo box and pressing either the Enter Key or Tab > Key. What they want to be able to do is not have to press the Enter Key > or Tab key for the information to be populated automatically. Say that > they enter 123456 in the combo box manually, how can I get it to > automatically look up the record without the enter key or tab key being > pressed. What they want to be able to do is once the info is shown than > they want to be able to press the enter key and it will print the > mailing label (I have that part working just great)as long as they > select from the pull down list in the combo box. It's the manual entry > that causes a problem. I hope that makes better sense. > \ > \ > Mike > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Mike > > ...this is pretty standard stuff ...both of these sites have sample code > and dbs that demonstrate different methods of getting the form populated > with a record selected from a combo box ...HTH :) > > http://www.mvps.org/access/ > http://www.candace-tripp.com/access_downloads.htm > > William Hindman > Government is not reason, government is not persuasion, government is > force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Gowey Mike W" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 25, 2003 9:50 AM > Subject: [AccessD] Auto Lookup > > > > > > > > Hi All, > > > > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > > > > > Thanks, > > > > Mike Gowey, MCSA, A+ > > Team Leader - SRCI > > Information Systems & Services Division > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 25 16:07:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 16:07:31 -0600 Subject: [AccessD] test Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275FC@main2.marlow.com> Traffic in Florida doesn't hold a candle to what I have seen in other states.... Of course, this is OT material.... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Nov 25 16:13:17 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Nov 2003 17:13:17 -0500 Subject: [AccessD] Auto Lookup References: <05EBB8A3BEB95B4F8216BE4EF48607780107A1@srciml1.ds.doc.state.or.us> Message-ID: <00aa01c3b3a1$54524450$6001a8c0@dejpolsys> Mike ...yeah ...lot more sense ...if the numbers are all the same length you could use the cbo's OnChange event to autofill the form ...if not then you'll have to test for a match after each character ...but I'm curious as to just what kind of users are willing to pay to avoid hitting the enter key ...seems like an idea place for some Colby style downsizing :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 25, 2003 4:34 PM Subject: RE: [AccessD] Auto Lookup > Yeah I understand that is simple stuff, but that is not the part that I > am having problems with. I can get the form populated by the user > selecting from the combo box and pressing either the Enter Key or Tab > Key. What they want to be able to do is not have to press the Enter Key > or Tab key for the information to be populated automatically. Say that > they enter 123456 in the combo box manually, how can I get it to > automatically look up the record without the enter key or tab key being > pressed. What they want to be able to do is once the info is shown than > they want to be able to press the enter key and it will print the > mailing label (I have that part working just great)as long as they > select from the pull down list in the combo box. It's the manual entry > that causes a problem. I hope that makes better sense. > \ > \ > Mike > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Mike > > ...this is pretty standard stuff ...both of these sites have sample code > and dbs that demonstrate different methods of getting the form populated > with a record selected from a combo box ...HTH :) > > http://www.mvps.org/access/ > http://www.candace-tripp.com/access_downloads.htm > > William Hindman > Government is not reason, government is not persuasion, government is > force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Gowey Mike W" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 25, 2003 9:50 AM > Subject: [AccessD] Auto Lookup > > > > > > > > Hi All, > > > > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > > > > > Thanks, > > > > Mike Gowey, MCSA, A+ > > Team Leader - SRCI > > Information Systems & Services Division > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Tue Nov 25 16:32:30 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Nov 2003 17:32:30 -0500 Subject: [AccessD] Auto Lookup Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com> I think we understood your question. What we (well 'I' anyway) can't understand is what's do bad about hitting enter or TAB after selecting from the combobox? However, if you want to do search as they type you can. With the "conventional" way of doing this, typically, in the combo's AfterUpdate event this type of code will be run... Private Sub cboSearch_AfterUpdate() Dim strCriteria As String If Not cboSearch & "" = "" Then strCriteria = "Seller_ID=" & cboSearch With Me.RecordsetClone .FindFirst strCriteria If Not .NoMatch Then Me.Bookmark = .Bookmark End If End With End If End Sub But in your case you want to do this in the Change event of the combobox. The change event fires every time a key is pressed when the combo has the focus. So as the user types "12345" the code will first search for "1" then "12" etc. So, if you have a large data set, as slow network or fast users, you could well find that the search process cannot keep up with the typing of the users. Lambert > -----Original Message----- > From: Gowey Mike W [SMTP:Mike.W.Gowey at doc.state.or.us] > Sent: Tuesday, November 25, 2003 4:35 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Auto Lookup > > Yeah I understand that is simple stuff, but that is not the part that I > am having problems with. I can get the form populated by the user > selecting from the combo box and pressing either the Enter Key or Tab > Key. What they want to be able to do is not have to press the Enter Key > or Tab key for the information to be populated automatically. Say that > they enter 123456 in the combo box manually, how can I get it to > automatically look up the record without the enter key or tab key being > pressed. What they want to be able to do is once the info is shown than > they want to be able to press the enter key and it will print the > mailing label (I have that part working just great)as long as they > select from the pull down list in the combo box. It's the manual entry > that causes a problem. I hope that makes better sense. > \ > \ > Mike > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 2:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Auto Lookup > > > Mike > > ...this is pretty standard stuff ...both of these sites have sample code > and dbs that demonstrate different methods of getting the form populated > with a record selected from a combo box ...HTH :) > > http://www.mvps.org/access/ > http://www.candace-tripp.com/access_downloads.htm > > William Hindman > Government is not reason, government is not persuasion, government is > force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Gowey Mike W" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 25, 2003 9:50 AM > Subject: [AccessD] Auto Lookup > > > > > > > > Hi All, > > > > > > I am trying to complete a project on a Mail Processing database. The > > one part I am stuck on now is some way for the Auto lookup of a record > > > everytime a number is put it. > > > > I have a form in which it has 5 fields, the first field is the ID of > > the person receiving the mail, the next four fields depend on this > > number to be filled in. > > > > What I need it to be able to do is as the user puts in a number it > > will auto check the table for the ID number and fill the fields on the > > > form with the underlying info with out the user having to press enter > > or Tab to have update or search, something like on each Key Down or > > Key Up. For example say the ID to enter is 123456, when the user > > enters the 1 it will do a auto check for a ID of 1 and when the user > > enters 2 it will do a auto check for a ID of 12 and so forth. > > > > I hope that makes sense. Thanks for any info or examples anyone has > > to accomplish this, if it is at all possible. > > > > > > Thanks, > > > > Mike Gowey, MCSA, A+ > > Team Leader - SRCI > > Information Systems & Services Division > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Tue Nov 25 17:06:42 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Wed, 26 Nov 2003 10:06:42 +1100 Subject: [AccessD] test OT Message-ID: I am married to a guy from Minnesota, first time I saw LA I was speechless..... I am sure we dont have as many cars as I saw on the road Of course what amazes me about the cars in MN is the rust Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 Drew Wutka Sent by: accessd-bounces at databaseadvisors.com 26/11/2003 09:07 AM Please respond to Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" cc: Subject: RE: [AccessD] test Traffic in Florida doesn't hold a candle to what I have seen in other states.... Of course, this is OT material.... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From DWUTKA at marlow.com Tue Nov 25 17:22:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Nov 2003 17:22:26 -0600 Subject: [AccessD] Archive Ooops.... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275FD@main2.marlow.com> Apparently my 'indexer' hasn't been running since late september. So searches on messages since then would have produced nothing. Fixed the problem earlier today, and now the indexing is all caught up. Oooops. Drew From accessd at shaw.ca Tue Nov 25 18:53:24 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 25 Nov 2003 16:53:24 -0800 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275FD@main2.marlow.com> Message-ID: Great...Drew. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, November 25, 2003 3:22 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Archive Ooops.... Apparently my 'indexer' hasn't been running since late september. So searches on messages since then would have produced nothing. Fixed the problem earlier today, and now the indexing is all caught up. Oooops. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Tue Nov 25 19:46:08 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Wed, 26 Nov 2003 11:46:08 +1000 Subject: [AccessD] Corrupt Backend Database - Help! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com> Message-ID: <001001c3b3bf$111d8aa0$be0e90cb@prosys.local> Hi, can anyone help with some direction here, please.... Access97 - corrupt backend database We can see the linked tables in the frontend. When I try and open the backend directly, the database window is empty - shows no tables, queries etc. I get the message that reads : "isn't an index in this table. Look in the Indexes Collection of the TableDef object to determine the valid index names". An attempt to repair using the /repair switch when starting the database does not do the trick. When trying to import the tables into a blank database you get messages about missing index etc etc. So, as it says it's probably the index for one or more of the system tables that handles all the tables etc. in the backend that's screwed up - gone missing..... Any one around that can help here, please ???? Conceptually, I would imagine that it would be possible from a different database run som DAO code that would re-build the indexes of all the system tables or something like that in the corrupt backend Worst case scenario is to use backup from last friday - but the boss has been working all weekend adding and modifying data, so we really would like to salvage the corrupt backend...... Cheers Borge From john at winhaven.net Tue Nov 25 19:52:24 2003 From: john at winhaven.net (John Bartow) Date: Tue, 25 Nov 2003 19:52:24 -0600 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275FD@main2.marlow.com> Message-ID: Thanks for staying on top of that Drew, the searchable archives are a great asset to this community. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Tuesday, November 25, 2003 5:22 PM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Archive Ooops.... > > > Apparently my 'indexer' hasn't been running since late september. So > searches on messages since then would have produced nothing. Fixed the > problem earlier today, and now the indexing is all caught up. Oooops. > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From SDSSoftware at optusnet.com.au Tue Nov 25 20:41:29 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 26 Nov 2003 13:41:29 +1100 Subject: [AccessD] Corrupt Backend Database - Help! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com> <001001c3b3bf$111d8aa0$be0e90cb@prosys.local> Message-ID: <002601c3b3c6$cb9f5820$6401a8c0@user> Have you tried running Jetcomp on it? http://www.accessdatabaserepair.com/jetcomp.htm HTH Kath ----- Original Message ----- From: Borge Steen Hansen To: Access Developers discussion and problem solving Sent: Wednesday, November 26, 2003 12:46 PM Subject: [AccessD] Corrupt Backend Database - Help! Hi, can anyone help with some direction here, please.... Access97 - corrupt backend database We can see the linked tables in the frontend. When I try and open the backend directly, the database window is empty - shows no tables, queries etc. I get the message that reads : "isn't an index in this table. Look in the Indexes Collection of the TableDef object to determine the valid index names". An attempt to repair using the /repair switch when starting the database does not do the trick. When trying to import the tables into a blank database you get messages about missing index etc etc. So, as it says it's probably the index for one or more of the system tables that handles all the tables etc. in the backend that's screwed up - gone missing..... Any one around that can help here, please ???? Conceptually, I would imagine that it would be possible from a different database run som DAO code that would re-build the indexes of all the system tables or something like that in the corrupt backend Worst case scenario is to use backup from last friday - but the boss has been working all weekend adding and modifying data, so we really would like to salvage the corrupt backend...... Cheers Borge _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From glen_mcwilliams at msn.com Tue Nov 25 21:28:20 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Tue, 25 Nov 2003 19:28:20 -0800 Subject: [AccessD] OT Excel refer to form control References: <000d01c3b02b$f3981ae0$6401a8c0@user> <002101c3b307$062225b0$6401a8c0@user> Message-ID: Kath The is sample does not use the combo box control from the forms toolbar, but rather the standard combo box control from the Control Toolbox. Glen ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Monday, November 24, 2003 7:48 PM Subject: Re: [AccessD] OT Excel refer to form control Thanks Glen - I can see what you are getting at with the after_update vs. the on_Change and thanks for the sample. It's taken me a couple of days to work out what's what with combo boxes in Excel and yours has been created with the combo box control on the forms toolbar, right? So it is an ActiveX control with on change events, value property etc. The only problem I have with that is that I am trying to create this app without ActiveX controls as it will be widely used by a client and I don't want to have any deployment issues. The hassle of not using the ActiveXcontrol and going with the combo on the forms toolbar, though, is the lack of properties and events - it has no on change event - you can only assign a macro, define an input range, and a cell link. But I have found (YES!!) a way to reference that object in code which, coming from access vba development, I find really strange. 1. You give the combo boxes named ranges (in my case Cbo_Entity, Cbo_CostCentre), 2. Not that the named ranges do not appear in the list of named ranges anywhere. (Why I don't know - that threw me for ages)) 3. Assign a macro to the combo and in the vba window refer to that or any other combo boxes created using the syntax ActiveSheet.DrawingObjects("RangeNameofCombo") syntax. eg. when my combo Cbo_Entity changes, change the source data (ie. input range) for the other combo box Cbo_CostCentre: Sub CboEntity_Change() 'name of assigned macro Dim strerrormsg As String On Error GoTo Err_Handler ThisWorkbook.Worksheets("lists").Activate ' 'Application.ScreenUpdating = False ThisWorkbook.Worksheets("Lists 2").Activate ' If Range("Sel_Entity") = 1 And (Range("Sel_Location") = 2) Then ThisWorkbook.Worksheets("Menu").Activate ActiveSheet.DrawingObjects("Cbo_CostCentre").Select 'select the combo box With Selection .ListFillRange = "CostCentres_Range1" 'populate its source data with new range '.LinkedCell = "ExpSelection_No" .DropDownLines = 10 End With End If -------------- Kath ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving ; SDSSoftware at optusnet.com.au Sent: Tuesday, November 25, 2003 2:20 PM Subject: Re: [AccessD] OT Excel refer to form control Kath, I was wrong, it is the On Change event. See attached sample ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 4:35 AM Subject: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From glen_mcwilliams at msn.com Tue Nov 25 21:45:02 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Tue, 25 Nov 2003 19:45:02 -0800 Subject: [AccessD] Excel Automation Question References: <46B976F2B698FF46A4FE7636509B22DF03CEFD@stekelbes.ithelps.local> Message-ID: Erwin Try something like this: With Worksheets("Sheet1").Columns("A") .ColumnWidth = .ColumnWidth * 2 End With----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Tuesday, November 25, 2003 1:52 AM Subject: RE: [AccessD] Excel Automation Question Something like this. objExcelWorkSheet.Columns(x).ColumnWidth objExcelWorkSheet is a reference to the worksheet, but I supose you can use activeworksheet or something to... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, November 24, 2003 4:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Automation Question Goood Morning Everyone, I have an excel automation question. I have Access XP and though vba I am writing to an excel spread sheet. Does any know how to set the column width of a column in excel and then format that column for time. Thanks in advance. Dale --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Tue Nov 25 21:49:04 2003 From: SDSSoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 26 Nov 2003 14:49:04 +1100 Subject: [AccessD] OT Excel refer to form control References: <000d01c3b02b$f3981ae0$6401a8c0@user><002101c3b307$062225b0$6401a8c0@user> Message-ID: <004001c3b3d0$3cbc03b0$6401a8c0@user> Thanks ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving Sent: Wednesday, November 26, 2003 2:28 PM Subject: Re: [AccessD] OT Excel refer to form control Kath The is sample does not use the combo box control from the forms toolbar, but rather the standard combo box control from the Control Toolbox. Glen ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Monday, November 24, 2003 7:48 PM Subject: Re: [AccessD] OT Excel refer to form control Thanks Glen - I can see what you are getting at with the after_update vs. the on_Change and thanks for the sample. It's taken me a couple of days to work out what's what with combo boxes in Excel and yours has been created with the combo box control on the forms toolbar, right? So it is an ActiveX control with on change events, value property etc. The only problem I have with that is that I am trying to create this app without ActiveX controls as it will be widely used by a client and I don't want to have any deployment issues. The hassle of not using the ActiveXcontrol and going with the combo on the forms toolbar, though, is the lack of properties and events - it has no on change event - you can only assign a macro, define an input range, and a cell link. But I have found (YES!!) a way to reference that object in code which, coming from access vba development, I find really strange. 1. You give the combo boxes named ranges (in my case Cbo_Entity, Cbo_CostCentre), 2. Not that the named ranges do not appear in the list of named ranges anywhere. (Why I don't know - that threw me for ages)) 3. Assign a macro to the combo and in the vba window refer to that or any other combo boxes created using the syntax ActiveSheet.DrawingObjects("RangeNameofCombo") syntax. eg. when my combo Cbo_Entity changes, change the source data (ie. input range) for the other combo box Cbo_CostCentre: Sub CboEntity_Change() 'name of assigned macro Dim strerrormsg As String On Error GoTo Err_Handler ThisWorkbook.Worksheets("lists").Activate ' 'Application.ScreenUpdating = False ThisWorkbook.Worksheets("Lists 2").Activate ' If Range("Sel_Entity") = 1 And (Range("Sel_Location") = 2) Then ThisWorkbook.Worksheets("Menu").Activate ActiveSheet.DrawingObjects("Cbo_CostCentre").Select 'select the combo box With Selection .ListFillRange = "CostCentres_Range1" 'populate its source data with new range '.LinkedCell = "ExpSelection_No" .DropDownLines = 10 End With End If -------------- Kath ----- Original Message ----- From: Glen McWilliams To: Access Developers discussion and problem solving ; SDSSoftware at optusnet.com.au Sent: Tuesday, November 25, 2003 2:20 PM Subject: Re: [AccessD] OT Excel refer to form control Kath, I was wrong, it is the On Change event. See attached sample ----- Original Message ----- From: Kath Pelletti To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 4:35 AM Subject: Re: [AccessD] OT Excel refer to form control Thanks Alan - but the combo box (I used the one from the forms toolbar) does not appear to have a name property or an on change event. You can attach a macro (and therefore an event) to it but that's it - I can't find a way to refer back to that control name in the code. Maybe you are referring to the combo control from the Control Toolbox toolbar? I was reluctant to use that because I think I read that it would require registration on distribution?? Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 8:06 PM Subject: AW: [AccessD] OT Excel refer to form control ok create a modul and declare a public variable. then for the combo on change event try this: Private Sub cboSheet1_Change() myVar = Me.cboSheet1.Value End Sub note: cboSheet1 is the name of my combobox and MyVar is the public variable in the modul hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 09:46 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] OT Excel refer to form control Hi Alan - it's just on the worksheet. Kath ----- Original Message ----- From: Garraway, Alun To: Access Developers discussion and problem solving Sent: Friday, November 21, 2003 7:35 PM Subject: AW: [AccessD] OT Excel refer to form control hi Kath, is the control on an excel worksheet or are u using a userform? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kath Pelletti Gesendet: Freitag, 21. November 2003 00:38 An: AccessD at databaseadvisors.com Betreff: [AccessD] OT Excel refer to form control Can anyone tell me how to refer to a form control in Excel (in this case a combo box) so that I can read its contents into a variable in vba? Urgent. TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From glen_mcwilliams at msn.com Tue Nov 25 21:56:41 2003 From: glen_mcwilliams at msn.com (Glen McWilliams) Date: Tue, 25 Nov 2003 19:56:41 -0800 Subject: [AccessD] test OT References: Message-ID: Connie The only place that comes close the number of cars is Bankok Glen McWilliams Creative Hightek, Inc. ----- Original Message ----- From: connie.kamrowski at agric.nsw.gov.au To: Access Developers discussion and problem solving Sent: Tuesday, November 25, 2003 3:06 PM Subject: RE: [AccessD] test OT I am married to a guy from Minnesota, first time I saw LA I was speechless..... I am sure we dont have as many cars as I saw on the road Of course what amazes me about the cars in MN is the rust Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 Drew Wutka Sent by: accessd-bounces at databaseadvisors.com 26/11/2003 09:07 AM Please respond to Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" cc: Subject: RE: [AccessD] test Traffic in Florida doesn't hold a candle to what I have seen in other states.... Of course, this is OT material.... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 25, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test ...you've seen nothing ...the snowbirds have returned to south Florida for the season ...so instead of traffic jams at 8AM and 5PM we now have just one ...24 friggin' hours of Caddies backing up to the exit they missed ...pray for March :( William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 25, 2003 12:47 PM Subject: RE: [AccessD] test > Sheesh, there was more traffic then I cared for!.....oh, you mean on the > list, I thought you meant driving.... > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, November 25, 2003 8:54 AM > To: AccessD > Subject: [AccessD] test > > > No traffic this morning. > > John W. Colby > www.ColbyConsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Tue Nov 25 22:18:07 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Wed, 26 Nov 2003 14:18:07 +1000 Subject: [AccessD] Corrupt Backend Database - Solved! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B3@xlivmbx12.aig.com><001001c3b3bf$111d8aa0$be0e90cb@prosys.local> <002601c3b3c6$cb9f5820$6401a8c0@user> Message-ID: <002801c3b3d4$4c2d9440$be0e90cb@prosys.local> Thanks for that, I was thrown by the user mentioning that applying the Repair utility did not work. Doing a bit of search I found that the latest version of the Microsoft Jet database engine 3.51 has enhanced its compact process. Compact now assumes all the functionality that the Jet database engine repair process included and it is no longer recommended to use the Jet database engine repair process. So disregarding the 'repair' and applying a compact solved the problem. I also now notice that Access 2K and XP has just "Compact and Repair Database...." Regards Borge ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 12:41 PM Subject: Re: [AccessD] Corrupt Backend Database - Help! Have you tried running Jetcomp on it? http://www.accessdatabaserepair.com/jetcomp.htm HTH Kath From andy at minstersystems.co.uk Wed Nov 26 01:37:06 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 26 Nov 2003 07:37:06 -0000 Subject: [AccessD] test OT - Enough In-Reply-To: Message-ID: <001a01c3b3f0$17b9c780$b274d0d5@minster33c3r25> Ok this is starting to sprout. If you want to continue please take it to the OT list. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Glen McWilliams > Sent: 26 November 2003 03:57 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test OT > > > Connie > > The only place that comes close the number of cars is Bankok > > Glen McWilliams > Creative Hightek, Inc. > ----- Original Message ----- > From: connie.kamrowski at agric.nsw.gov.au > To: Access Developers discussion and problem solving > Sent: Tuesday, November 25, 2003 3:06 PM > Subject: RE: [AccessD] test OT > > > I am married to a guy from Minnesota, first time I saw LA I was > speechless..... I am sure we dont have as many cars as I > saw on the road > > Of course what amazes me about the cars in MN is the rust > > Connie Kamrowski > > Analyst/Programmer > Information Technology > NSW Agriculture > Orange > > Ph: 02 6391 3250 > Fax:02 6391 3290 > > > > > > Drew Wutka > Sent by: accessd-bounces at databaseadvisors.com > 26/11/2003 09:07 AM > Please respond to Access Developers discussion and problem solving > > > To: "'Access Developers discussion and problem > solving'" > > cc: > Subject: RE: [AccessD] test > > > Traffic in Florida doesn't hold a candle to what I have > seen in other > states.... > > Of course, this is OT material.... > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 25, 2003 3:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test > > > ...you've seen nothing ...the snowbirds have returned to > south Florida for > the season ...so instead of traffic jams at 8AM and 5PM we > now have just > one > ...24 friggin' hours of Caddies backing up to the exit they > missed ...pray > for March :( > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, November 25, 2003 12:47 PM > Subject: RE: [AccessD] test > > > > Sheesh, there was more traffic then I cared for!.....oh, > you mean on the > > list, I thought you meant driving.... > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Tuesday, November 25, 2003 8:54 AM > > To: AccessD > > Subject: [AccessD] test > > > > > > No traffic this morning. > > > > John W. Colby > > www.ColbyConsulting.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify > sender. Views > expressed are those of the individual sender and are not > necessarily the > views of their organisation. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.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 viner at eunet.yu Tue Nov 25 01:23:30 2003 From: viner at eunet.yu (Ervin Brindza) Date: Tue, 25 Nov 2003 08:23:30 +0100 Subject: [AccessD] OT: Learning English Message-ID: <03c201c3b325$0fc16400$0100a8c0@razvoj> Hi, sorry for the OT post, but I want to improve my English and want to start to teach my 7 years old daughter too(e.g. easy songs for kids). So, can you give me some "worth to take a look" sites on the Web, because Google are too generous :( Please post privately! MTIA, Ervin From gustav at cactus.dk Wed Nov 26 05:20:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 12:20:47 +0100 Subject: [AccessD] Info Interesting use of InfoPath In-Reply-To: <3F7A7578.9000007@shaw.ca> References: <3F7AF33E.14003.19E6DAF@localhost> <3F7A7578.9000007@shaw.ca> Message-ID: <19912402073.20031126122047@cactus.dk> Hi Marty et all Also, this quite nice link aimed at ISVs and developers is on-line: InfoPath 2003 Health Level Seven Clinical Document Architecture Demo http://www.microsoft.com/technet/itsolutions/mso/cda/ /gustav > If you were wondering about uses for InfoPath. > Rather than use Access to link to a webservice. This method with > InfoPath allows a user to quickly link to a webservice via XML with no > coding. The webservice could be a ASP.Net hook to an old Cobol legacy > app to edit or add data.. > Dynamically Data-bind in InfoPath By Thiru Thangarathinam > http://www.developer.com/net/article.php/3082431 From awithing at twcny.rr.com Wed Nov 26 05:58:32 2003 From: awithing at twcny.rr.com (augusta) Date: Wed, 26 Nov 2003 06:58:32 -0500 Subject: [AccessD] OT: Learning English In-Reply-To: <03c201c3b325$0fc16400$0100a8c0@razvoj> Message-ID: <007401c3b414$a07f0390$6401a8c0@dell8200> http://www.weesing.com/homepage.htm > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Ervin Brindza > Sent: Tuesday, November 25, 2003 2:24 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Learning English > > Hi, > sorry for the OT post, but I want to improve my English and want to start > to teach my 7 years old daughter too(e.g. easy songs for kids). So, can > you give me some "worth to take a look" sites on the Web, because Google > are too generous :( > Please post privately! > MTIA, > Ervin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From viner at eunet.yu Wed Nov 26 06:41:42 2003 From: viner at eunet.yu (Ervin Brindza) Date: Wed, 26 Nov 2003 13:41:42 +0100 Subject: [AccessD] Re: OT: Learning English References: <007401c3b414$a07f0390$6401a8c0@dell8200> Message-ID: <009701c3b41a$d75dbd60$0100a8c0@razvoj> > http://www.weesing.com/homepage.htm Many thanks, it'll be useful :) Have a nice day, Ervin From Drawbridge.Jack at ic.gc.ca Wed Nov 26 08:40:02 2003 From: Drawbridge.Jack at ic.gc.ca (Drawbridge.Jack at ic.gc.ca) Date: Wed, 26 Nov 2003 09:40:02 -0500 Subject: [AccessD] Accessing Oracle BLOB via MS Access Message-ID: <45C67756F7C0F942AD80AE35546F40C204D82649@mb-bp-011.ic.gc.ca> I'm hoping someone has an answer or advice on this. We have Oracle 9i with a table containing Blob/Clob data types. We also do a lot of data base queries against Oracle via Access 97 and Access 2000. (ODBC ADO). A new application has the blob/clob. Attempting to access these fields gives an error in Access. Does anyone have a technique or samples of how to access this Oracle data type with Access 97 or 2000? TIA. Jack From prodevmg at yahoo.com Wed Nov 26 08:59:02 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 26 Nov 2003 06:59:02 -0800 (PST) Subject: [AccessD] Hide Field Once New Record is Saved In-Reply-To: <45C67756F7C0F942AD80AE35546F40C204D82649@mb-bp-011.ic.gc.ca> Message-ID: <20031126145902.92539.qmail@web20415.mail.yahoo.com> I have a form that is used for new records and modifying existing records. I want a field to be visible when a user enters a new record then hide it from view once the new record has been saved. My other thought was to make the field a modal pop up when entering new records. Based on the flow of the data entry being done, I would prefer my first choice. Thanks to any and all responders! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now From Lambert.Heenan at AIG.com Wed Nov 26 09:16:20 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 26 Nov 2003 10:16:20 -0500 Subject: [AccessD] Hide Field Once New Record is Saved Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD79B9@xlivmbx12.aig.com> In the form's OnCurrent event... YourField.Visible = Not NewRecord Then do exactly the same thing in the AfterInsert event which will handle cases where the record is saved but remains current. Lambert > -----Original Message----- > From: Lonnie Johnson [SMTP:prodevmg at yahoo.com] > Sent: Wednesday, November 26, 2003 9:59 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Hide Field Once New Record is Saved > > > > I have a form that is used for new records and modifying existing records. > I want a field to be visible when a user enters a new record then hide it > from view once the new record has been saved. > > My other thought was to make the field a modal pop up when entering new > records. Based on the flow of the data entry being done, I would prefer my > first choice. > > Thanks to any and all responders! > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Nov 26 09:25:12 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 26 Nov 2003 07:25:12 -0800 (PST) Subject: [AccessD] Hide Field Once New Record is Saved In-Reply-To: <20031126145902.92539.qmail@web20415.mail.yahoo.com> Message-ID: <20031126152512.35552.qmail@web20420.mail.yahoo.com> Sorry to bug you guys. I didn't look far enough in help. The code would be in the On Current Event and it would read... MyField.Visible = Me.NewRecord Lonnie Johnson wrote: I have a form that is used for new records and modifying existing records. I want a field to be visible when a user enters a new record then hide it from view once the new record has been saved. My other thought was to make the field a modal pop up when entering new records. Based on the flow of the data entry being done, I would prefer my first choice. Thanks to any and all responders! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now From pedro at plex.nl Wed Nov 26 16:52:23 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 26 Nov 2003 16:52:23 (MET) Subject: [AccessD] rotate text Message-ID: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Hello Group, i have a report on which adress-labels are shown. 1 label each. I want to use a dynamo label printer. The problem is that the labels of this printer are vertical. Is there a way to rotate text from a textbox on a report. TIA Pedro Janssen From Erwin.Craps at ithelps.be Wed Nov 26 09:53:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 16:53:19 +0100 Subject: [AccessD] IBAN/BIC length and structure. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF3E@stekelbes.ithelps.local> Hi people I'm adding some IBAN and BIC fields to an internationaly used app but can't find some data. I found everything I need to know about IBAN code structure and lenght, but i can't seem to find a structure and/or length for the Swift BIC code. Does anyone knows what the lenght and structure of a BIC code is? Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Erwin.Craps at ithelps.be Wed Nov 26 09:55:13 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 16:55:13 +0100 Subject: [AccessD] ISABEL CODA files importing/exporting. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF3F@stekelbes.ithelps.local> Hi Group Does anyone has some VB/VBA code to share to import/export CODA files to use with ISABEL 5.x? Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From paul.hartland at fsmail.net Wed Nov 26 09:55:26 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 26 Nov 2003 16:55:26 +0100 (CET) Subject: [AccessD] OT - Getting started with Web development Message-ID: <25154556.1069862126779.JavaMail.www@wwinf3004> To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland From mikedorism at adelphia.net Wed Nov 26 10:03:55 2003 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Wed, 26 Nov 2003 11:03:55 -0500 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: <002f01c3b436$e4fb6460$8b194244@hargrove.internal> "SQL Server 2000 Web Application Developer's Guide" ISBN 0072126191 Mike and Doris Manning mikedorism at adelphia.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, November 26, 2003 10:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Nov 26 10:05:19 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Nov 2003 11:05:19 -0500 Subject: [AccessD] OT - Getting started with Web development Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F940@TTNEXCHSRV1.hshhp.com> 4guysfromrolla.com or learnasp.com are pretty good. I'm sure if you search the archives you'll find plenty more as this subject comes up quite a bit. Jim DeMarco Director Product Development Hudson Health Plan -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 10:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Wed Nov 26 10:12:06 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 10:12:06 -0600 Subject: [AccessD] rotate text In-Reply-To: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: Pedro: Which model are you using? If its a thermal label printer I can give you some help. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > Sent: Wednesday, November 26, 2003 4:52 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] rotate text > > > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I > want to use a dynamo label printer. The problem is that the > labels of this printer are vertical. Is there a way to rotate > text from a textbox on a report. > > TIA > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From wdhindman at bellsouth.net Wed Nov 26 10:16:48 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 11:16:48 -0500 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: <000c01c3b438$b3c73110$6001a8c0@dejpolsys> www.lebans.com William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: Sent: Wednesday, November 26, 2003 4:52 PM Subject: [AccessD] rotate text > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I want to use a dynamo label printer. The problem is that the labels of this printer are vertical. Is there a way to rotate text from a textbox on a report. > > TIA > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 26 10:23:33 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 11:23:33 -0500 Subject: [AccessD] OT - Getting started with Web development References: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: <001601c3b439$a310ab20$6001a8c0@dejpolsys> ...first buy or steal a copy of Macromedia's Dreamweaver MX ...then buy a copy of our own Susan Harkins' Dreamweaver MX Databases (Sybex ISBN 078214148X) ...its full of sample dbs and scripts :) ...if you can't afford Dreamweaver, then the new FrontPage 2003 has become a pretty good alternative (just like everything else, MS eventually gets it right) HTH :) William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: "accessd" Sent: Wednesday, November 26, 2003 10:55 AM Subject: [AccessD] OT - Getting started with Web development > To all, > I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any book recommendations ? > Thanks in advance for all your help > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Wed Nov 26 10:23:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 17:23:19 +0100 Subject: [AccessD] Format of a field. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF40@stekelbes.ithelps.local> This is probably the first time in probably 10 years I'm looking at the field format in a table again. I never used them because of never needed or wanted it. I want to paper format an IBAN code which is 4 characters space 4 characters space 4 characters etc. something like this 1234 ABCD 5678 EFGH 90 The thing is that a IBAN code can be 34 character long wich means if all 34 characters are used you have at the end 2 characters. So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead of aligning left it aligns right, so my code looks like 12 34AB CD56 78EF GH90 instead of 1234 ABCD 5678 EFGH 90 How can I resolve this that the code is left aligned and not right? I could write some code to do this, but this is like a real good situation where I could use the format property of a field/control. Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From gustav at cactus.dk Wed Nov 26 10:29:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 17:29:37 +0100 Subject: [AccessD] IBAN/BIC length and structure. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF3E@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF3E@stekelbes.ithelps.local> Message-ID: <9130932809.20031126172937@cactus.dk> Hi Erwin > I'm adding some IBAN and BIC fields to an internationaly used app but > can't find some data. > I found everything I need to know about IBAN code structure and lenght, > but i can't seem to find a structure and/or length for the Swift BIC > code. > Does anyone knows what the lenght and structure of a BIC code is? Yes, in German! Also note this ultimate link: http://www.swift.com/biconline/index.cfm Jeder SWIFT-Teilnehmer hat eine eindeutige Kennung, den sogenannten BIC (Bank Identifier Code). Dieser hat 8 oder 11 Stellen und ist wie folgt aufgebaut : bank code 4 Stellen Alphazeichen frei gew?hlt (Bundesbank z.B. MARK) country code 2 Stellen Alphazeichen, ISO-Code des Landes (in Deutschland also DE) location code 2 Stellen alphanumerisch zur Ortsangabe (z.B. FF f?r Frankfurt) branch code wahlweise 3 Stellen alphanumerisch zur Bezeichnung von Filialen Einige Besonderheiten kann man auch am SWIFT-BIC erkennen: Eine Null an der 8. Stelle kennzeichnet eine Testkennung Eine 1 an der 8. Stelle gibt an, da? es sich nicht um einen Live-Teilnehmer handelt, der selber an SWIFT angeschlossen ist (sogenannte non-SWIFT BICs). Solche Kennungen k?nnen nur als eine Art "Adre?k?rzel" in Nachrichten benutzt werden, wenn auf diese Bank verwiesen wird, diese Teilnehmer k?nnen aber selber keine Nachrichten senden oder empfangen Bei US-amerikanischen Kennungen gibt die vorletzte Stelle des location codes die Zeitzone (3=Ostk?ste bis 6=Westk?ste) der betreffenden Bank an Eine Stelle mit Sende-/Empfangsterminal hat immer eine 8-stellige Kennung, Filialen (11 Stellen) senden immer ?ber die ?bergeordnete 8-stellige Nummer Wegen seiner Eindeutigkeit wird ein SWIFT-BIC im grenz?berschreitenden Zahlungsverkehr wie eine Art internationale Bankleitzahl verwendet. Diese Codes sind nach ISO 9362 genormt und SWIFT ist von ISO als die "registration authority" f?r die Umsetzung der Norm benannt worden. We use these declarations and two functions: ' Module for handling and validation of ' IBAN, International Bank Account Number ' and ' BIC, Bank Identifier Code ' ' as well as ISO 7064 MOD 97-10 calculations. ' ' (c) 2003. Cactus Data ApS. CPH. ' Length of short ISO 3166 alpha country code per definition. Private Const pclngLenISO3166Alpha As Long = 2 ' Lenght of ISO 7064 check number per definition. Private Const pclngLenISO7064Check As Long = 2 ' Minimum length of BBAN, Basic Bank Account Number. ' Emperic value. Normally minimum 4 + 8 but 11 for Norway. Private Const pclngLenBBANMin As Long = 10 ' Length of BIC bank code per definition. Private Const pclngLenBICBank As Long = 4 ' Length of BIC location code per definition. Private Const pclngLenBICLocation As Long = 2 ' Length of BIC branch code per definition. Private Const pclngLenBICBranch As Long = 3 ' Maximum length of Electronic IBAN string per definition. ' Example: FR1420041010050500013M02606 Private Const pclngLenIBANElectronicMax As Long = 34 ' Length of Paper IBAN group per definition. Private Const pclngLenIBANPaperGroup As Long = 4 ' Spacing of Paper IBAN groups per definition. Private Const pclngLenIBANPaperGroupSpacing As Long = 1 ' Constants for IsStrISO13616() for verification method. Private Const pcbytVerifyISO13616Alphanums As Byte = 0 Private Const pcbytVerifyISO13616Chars As Byte = 1 Private Const pcbytVerifyISO13616Digits As Byte = 2 ' Valid IBAN characters, 0-9 and A-Z. Private Const pcbytAscIBANDigitMin As Byte = &H30 Private Const pcbytAscIBANDigitMax As Byte = &H39 Private Const pcbytAscIBANCharMin As Byte = &H41 Private Const pcbytAscIBANCharMax As Byte = &H5A ' IBAN value of character "A" per definition. Private Const pclngValIBANCharA As Long = 10 ' Offset from IBAN value of char to ASCII value of char. Private Const pclngValIBANCharOffset As Long = pcbytAscIBANCharMin - pclngValIBANCharA ' Type definition for IBAN string. ' An IBAN string consists of: ' tIBAN.strISO & tIBAN.strChk & tIBAN.strBBAN ' Private Type tIBAN ' Chars only. strISO As String * pclngLenISO3166Alpha ' Digits only. strChk As String * pclngLenISO7064Check ' Alphanums. Variable length. strBBAN As String End Type ' Type definition for BIC string. ' A BIC string consists of: ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation ' or ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation & tBIC.strBranch ' Private Type tBIC ' Chars only. StrBank As String * pclngLenBICBank ' Chars only. strISO As String * pclngLenISO3166Alpha ' Alphanums. strLocation As String * pclngLenBICLocation ' Alphanums. strBranch As String * pclngLenBICBranch End Type '---- Public Function IsStrBIC(ByVal strBIC As String) As Boolean ' Verifies if strString is a valid BIC, Bank Interchange Code, or ' S.W.I.F.T. code according to ISO 13616. ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' Requires: ' IsStrISO13616() ' ' 2003-06-20. Cactus Data ApS. CPH. ' Length of BIC without branch code per definition. Const clngBICShort As Long = pclngLenBICBank + pclngLenISO3166Alpha + pclngLenBICLocation ' Length of BIC branch code per definition. Const clngBICBranch As Long = pclngLenBICBranch ' Length of BIC with branch code per definition. Const clngBICLong As Long = clngBICShort + clngBICBranch Dim typBIC As tBIC Dim lngLen As Long Dim booChk As Boolean lngLen = Len(strBIC) ' Check length of strBIC. If lngLen = clngBICShort Or lngLen = clngBICLong Then ' Extract substrings. With typBIC .StrBank = Mid(strBIC, 1) .strISO = Mid(strBIC, 1 + pclngLenBICBank) .strLocation = Mid(strBIC, 1 + pclngLenBICBank + pclngLenISO3166Alpha) .strBranch = Mid(strBIC, 1 + clngBICShort) ' Verify substrings. If IsStrISO13616(.StrBank, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strISO, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strLocation, pcbytVerifyISO13616Alphanums) = True Then If lngLen = clngBICShort Then ' Short BIC verified. booChk = True ElseIf IsStrISO13616(.strBranch, pcbytVerifyISO13616Alphanums) = True Then ' Long BIC verified. booChk = True End If End If End If End If End With End If IsStrBIC = booChk End Function Public Function IsStrISO13616( _ ByVal strString As String, _ Optional ByVal bytAlphaNum As Byte) _ As Boolean ' Performs a character by character validation according to ISO 13616. ' If bytAlphaNum is 1, only digits are accepted. ' If bytAlphaNum is 2, only chars are accepted. ' If bytAlphaNum is 0, missing or another value than 1 or 2, both ' chars and digits are accepted. ' ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' 2003-06-20. Cactus Data ApS. CPH. Dim lngLoop As Long Dim lngLen As Long Dim bytAsc As Byte Dim booChk As Boolean lngLen = Len(strString) If lngLen > 0 Then booChk = True For lngLoop = 1 To lngLen ' Check each character. bytAsc = Asc(Mid(strString, lngLoop)) Select Case bytAsc Case pcbytAscIBANDigitMin To pcbytAscIBANDigitMax ' Digit. If bytAlphaNum = pcbytVerifyISO13616Chars Then ' Digits not allowed. booChk = False End If Case pcbytAscIBANCharMin To pcbytAscIBANCharMax ' Valid non-numeric character. If bytAlphaNum = pcbytVerifyISO13616Digits Then ' Characters not allowed. booChk = False End If Case Else ' Invalid character. booChk = False End Select Next End If IsStrISO13616 = booChk End Function Great fun! /gustav From john at winhaven.net Wed Nov 26 10:30:36 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 10:30:36 -0600 Subject: [AccessD] rotate text In-Reply-To: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: BTW: Dymo will do this for you if its one of the thermal label printers. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > Sent: Wednesday, November 26, 2003 4:52 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] rotate text > > > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I > want to use a dynamo label printer. The problem is that the > labels of this printer are vertical. Is there a way to rotate > text from a textbox on a report. > > TIA > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Wed Nov 26 10:38:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 17:38:02 +0100 Subject: [AccessD] Format of a field. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF40@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF40@stekelbes.ithelps.local> Message-ID: <3531437194.20031126173802@cactus.dk> Hi Erwin > This is probably the first time in probably 10 years I'm looking at the > field format in a table again. > I never used them because of never needed or wanted it. > I want to paper format an IBAN code which is 4 characters space 4 > characters space 4 characters etc. > something like this > 1234 ABCD 5678 EFGH 90 > The thing is that a IBAN code can be 34 character long wich means if > all 34 characters are used you have at the end 2 characters. > So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && > But instead of aligning left it aligns right, so my code looks like > 12 34AB CD56 78EF GH90 > instead of > 1234 ABCD 5678 EFGH 90 > How can I resolve this that the code is left aligned and not right? > I could write some code to do this, but this is like a real good > situation where I could use the format property of a field/control. You are close. This is how to format a textbox: !&&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && Also, we have this function for creating a formatted string: Public Function FormatPaperIBAN(ByVal strIBAN As String) As String ' Formats Electronic IBAN (or Paper IBAN) strIBAN as Paper IBAN. ' ' Example: ' FR1420041010050500013M02606 ' formats as ' FR14 2004 1010 0505 0001 3M02 606 ' ' Limitation: Doesn't validate strIBAN except for string length. ' Use IsStrIBAN(strIBAN) for complete validation. ' ' Requires: ' MTrim() ' ' 2003-06-25. Cactus Data ApS. CPH. Dim strPaperIBAN As String Dim strFormat As String Dim strTrim As String Dim strGroup As String Dim lngGroups As Long Dim lngIBAN As Long Dim lngLoop As Long ' Trim mid spaces from string. strTrim = MTrim(strIBAN) lngIBAN = Len(strTrim) If lngIBAN < pclngLenISO3166Alpha + pclngLenISO7064Check + pclngLenBBANMin Then ' Not a possible IBAN string. Else ' Calculate number of format groups. lngGroups = (lngIBAN - 1) \ pclngLenIBANPaperGroup ' Build left filling format string forcing uppercase. strGroup = String(pclngLenIBANPaperGroup, "&") strFormat = "!>" & strGroup For lngLoop = 1 To lngGroups strFormat = strFormat & Space(pclngLenIBANPaperGroupSpacing) & strGroup Next ' Fill string from left to right. strPaperIBAN = Format(strTrim, strFormat) End If FormatPaperIBAN = strPaperIBAN End Function Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav > Erwin Craps > Zaakvoerder > www.ithelps.be/jonathan > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.be > Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: > Staff at boxoffice.be > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Nov 26 10:48:49 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 17:48:49 +0100 Subject: [AccessD] IBAN/BIC length and structure. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF41@stekelbes.ithelps.local> German is OK Every Dutch speaking persons understand pretty well German... When ich das spreche musse kan ich das mit eines heise kartuffel in den mond :-) I hope this makes some sense..... I was on the Swift site, but no way I could find some definitions. I got more than I needed from U Gustav, Thanks for your code, I'll leave the credit in it... Dankesch?n... (Or something :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 26, 2003 5:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] IBAN/BIC length and structure. Hi Erwin > I'm adding some IBAN and BIC fields to an internationaly used app but > can't find some data. > I found everything I need to know about IBAN code structure and > lenght, but i can't seem to find a structure and/or length for the > Swift BIC code. > Does anyone knows what the lenght and structure of a BIC code is? Yes, in German! Also note this ultimate link: http://www.swift.com/biconline/index.cfm Jeder SWIFT-Teilnehmer hat eine eindeutige Kennung, den sogenannten BIC (Bank Identifier Code). Dieser hat 8 oder 11 Stellen und ist wie folgt aufgebaut : bank code 4 Stellen Alphazeichen frei gew?hlt (Bundesbank z.B. MARK) country code 2 Stellen Alphazeichen, ISO-Code des Landes (in Deutschland also DE) location code 2 Stellen alphanumerisch zur Ortsangabe (z.B. FF f?r Frankfurt) branch code wahlweise 3 Stellen alphanumerisch zur Bezeichnung von Filialen Einige Besonderheiten kann man auch am SWIFT-BIC erkennen: Eine Null an der 8. Stelle kennzeichnet eine Testkennung Eine 1 an der 8. Stelle gibt an, da? es sich nicht um einen Live-Teilnehmer handelt, der selber an SWIFT angeschlossen ist (sogenannte non-SWIFT BICs). Solche Kennungen k?nnen nur als eine Art "Adre?k?rzel" in Nachrichten benutzt werden, wenn auf diese Bank verwiesen wird, diese Teilnehmer k?nnen aber selber keine Nachrichten senden oder empfangen Bei US-amerikanischen Kennungen gibt die vorletzte Stelle des location codes die Zeitzone (3=Ostk?ste bis 6=Westk?ste) der betreffenden Bank an Eine Stelle mit Sende-/Empfangsterminal hat immer eine 8-stellige Kennung, Filialen (11 Stellen) senden immer ?ber die ?bergeordnete 8-stellige Nummer Wegen seiner Eindeutigkeit wird ein SWIFT-BIC im grenz?berschreitenden Zahlungsverkehr wie eine Art internationale Bankleitzahl verwendet. Diese Codes sind nach ISO 9362 genormt und SWIFT ist von ISO als die "registration authority" f?r die Umsetzung der Norm benannt worden. We use these declarations and two functions: ' Module for handling and validation of ' IBAN, International Bank Account Number ' and ' BIC, Bank Identifier Code ' ' as well as ISO 7064 MOD 97-10 calculations. ' ' (c) 2003. Cactus Data ApS. CPH. ' Length of short ISO 3166 alpha country code per definition. Private Const pclngLenISO3166Alpha As Long = 2 ' Lenght of ISO 7064 check number per definition. Private Const pclngLenISO7064Check As Long = 2 ' Minimum length of BBAN, Basic Bank Account Number. ' Emperic value. Normally minimum 4 + 8 but 11 for Norway. Private Const pclngLenBBANMin As Long = 10 ' Length of BIC bank code per definition. Private Const pclngLenBICBank As Long = 4 ' Length of BIC location code per definition. Private Const pclngLenBICLocation As Long = 2 ' Length of BIC branch code per definition. Private Const pclngLenBICBranch As Long = 3 ' Maximum length of Electronic IBAN string per definition. ' Example: FR1420041010050500013M02606 Private Const pclngLenIBANElectronicMax As Long = 34 ' Length of Paper IBAN group per definition. Private Const pclngLenIBANPaperGroup As Long = 4 ' Spacing of Paper IBAN groups per definition. Private Const pclngLenIBANPaperGroupSpacing As Long = 1 ' Constants for IsStrISO13616() for verification method. Private Const pcbytVerifyISO13616Alphanums As Byte = 0 Private Const pcbytVerifyISO13616Chars As Byte = 1 Private Const pcbytVerifyISO13616Digits As Byte = 2 ' Valid IBAN characters, 0-9 and A-Z. Private Const pcbytAscIBANDigitMin As Byte = &H30 Private Const pcbytAscIBANDigitMax As Byte = &H39 Private Const pcbytAscIBANCharMin As Byte = &H41 Private Const pcbytAscIBANCharMax As Byte = &H5A ' IBAN value of character "A" per definition. Private Const pclngValIBANCharA As Long = 10 ' Offset from IBAN value of char to ASCII value of char. Private Const pclngValIBANCharOffset As Long = pcbytAscIBANCharMin - pclngValIBANCharA ' Type definition for IBAN string. ' An IBAN string consists of: ' tIBAN.strISO & tIBAN.strChk & tIBAN.strBBAN ' Private Type tIBAN ' Chars only. strISO As String * pclngLenISO3166Alpha ' Digits only. strChk As String * pclngLenISO7064Check ' Alphanums. Variable length. strBBAN As String End Type ' Type definition for BIC string. ' A BIC string consists of: ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation ' or ' tBIC.strBank & tBIC.strCountry & tBIC.strLocation & tBIC.strBranch ' Private Type tBIC ' Chars only. StrBank As String * pclngLenBICBank ' Chars only. strISO As String * pclngLenISO3166Alpha ' Alphanums. strLocation As String * pclngLenBICLocation ' Alphanums. strBranch As String * pclngLenBICBranch End Type '---- Public Function IsStrBIC(ByVal strBIC As String) As Boolean ' Verifies if strString is a valid BIC, Bank Interchange Code, or ' S.W.I.F.T. code according to ISO 13616. ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' Requires: ' IsStrISO13616() ' ' 2003-06-20. Cactus Data ApS. CPH. ' Length of BIC without branch code per definition. Const clngBICShort As Long = pclngLenBICBank + pclngLenISO3166Alpha + pclngLenBICLocation ' Length of BIC branch code per definition. Const clngBICBranch As Long = pclngLenBICBranch ' Length of BIC with branch code per definition. Const clngBICLong As Long = clngBICShort + clngBICBranch Dim typBIC As tBIC Dim lngLen As Long Dim booChk As Boolean lngLen = Len(strBIC) ' Check length of strBIC. If lngLen = clngBICShort Or lngLen = clngBICLong Then ' Extract substrings. With typBIC .StrBank = Mid(strBIC, 1) .strISO = Mid(strBIC, 1 + pclngLenBICBank) .strLocation = Mid(strBIC, 1 + pclngLenBICBank + pclngLenISO3166Alpha) .strBranch = Mid(strBIC, 1 + clngBICShort) ' Verify substrings. If IsStrISO13616(.StrBank, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strISO, pcbytVerifyISO13616Chars) = True Then If IsStrISO13616(.strLocation, pcbytVerifyISO13616Alphanums) = True Then If lngLen = clngBICShort Then ' Short BIC verified. booChk = True ElseIf IsStrISO13616(.strBranch, pcbytVerifyISO13616Alphanums) = True Then ' Long BIC verified. booChk = True End If End If End If End If End With End If IsStrBIC = booChk End Function Public Function IsStrISO13616( _ ByVal strString As String, _ Optional ByVal bytAlphaNum As Byte) _ As Boolean ' Performs a character by character validation according to ISO 13616. ' If bytAlphaNum is 1, only digits are accepted. ' If bytAlphaNum is 2, only chars are accepted. ' If bytAlphaNum is 0, missing or another value than 1 or 2, both ' chars and digits are accepted. ' ' Returns True for strings that can be validated. ' Returns False for all other strings including empty strings. ' ' 2003-06-20. Cactus Data ApS. CPH. Dim lngLoop As Long Dim lngLen As Long Dim bytAsc As Byte Dim booChk As Boolean lngLen = Len(strString) If lngLen > 0 Then booChk = True For lngLoop = 1 To lngLen ' Check each character. bytAsc = Asc(Mid(strString, lngLoop)) Select Case bytAsc Case pcbytAscIBANDigitMin To pcbytAscIBANDigitMax ' Digit. If bytAlphaNum = pcbytVerifyISO13616Chars Then ' Digits not allowed. booChk = False End If Case pcbytAscIBANCharMin To pcbytAscIBANCharMax ' Valid non-numeric character. If bytAlphaNum = pcbytVerifyISO13616Digits Then ' Characters not allowed. booChk = False End If Case Else ' Invalid character. booChk = False End Select Next End If IsStrISO13616 = booChk End Function Great fun! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Nov 26 10:54:33 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 17:54:33 +0100 Subject: [AccessD] Format of a field. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF42@stekelbes.ithelps.local> Well I knew there where some formatting characters, no way I could find them in the Access Help. I've lost my patience with Access help since they putted it in HTML format. Thanks for the code again. Snifff, this makes me so happy :-) Lucky me, sniffff... No overtime today, straight to home.... I'll tell my wife and kid that I'm early today thanks to you.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 26, 2003 5:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Format of a field. Hi Erwin > This is probably the first time in probably 10 years I'm looking at > the field format in a table again. > I never used them because of never needed or wanted it. > I want to paper format an IBAN code which is 4 characters space 4 > characters space 4 characters etc. > something like this > 1234 ABCD 5678 EFGH 90 > The thing is that a IBAN code can be 34 character long wich means if > all 34 characters are used you have at the end 2 characters. > So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead > of aligning left it aligns right, so my code looks like > 12 34AB CD56 78EF GH90 > instead of > 1234 ABCD 5678 EFGH 90 > How can I resolve this that the code is left aligned and not right? > I could write some code to do this, but this is like a real good > situation where I could use the format property of a field/control. You are close. This is how to format a textbox: !&&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && Also, we have this function for creating a formatted string: Public Function FormatPaperIBAN(ByVal strIBAN As String) As String ' Formats Electronic IBAN (or Paper IBAN) strIBAN as Paper IBAN. ' ' Example: ' FR1420041010050500013M02606 ' formats as ' FR14 2004 1010 0505 0001 3M02 606 ' ' Limitation: Doesn't validate strIBAN except for string length. ' Use IsStrIBAN(strIBAN) for complete validation. ' ' Requires: ' MTrim() ' ' 2003-06-25. Cactus Data ApS. CPH. Dim strPaperIBAN As String Dim strFormat As String Dim strTrim As String Dim strGroup As String Dim lngGroups As Long Dim lngIBAN As Long Dim lngLoop As Long ' Trim mid spaces from string. strTrim = MTrim(strIBAN) lngIBAN = Len(strTrim) If lngIBAN < pclngLenISO3166Alpha + pclngLenISO7064Check + pclngLenBBANMin Then ' Not a possible IBAN string. Else ' Calculate number of format groups. lngGroups = (lngIBAN - 1) \ pclngLenIBANPaperGroup ' Build left filling format string forcing uppercase. strGroup = String(pclngLenIBANPaperGroup, "&") strFormat = "!>" & strGroup For lngLoop = 1 To lngGroups strFormat = strFormat & Space(pclngLenIBANPaperGroupSpacing) & strGroup Next ' Fill string from left to right. strPaperIBAN = Format(strTrim, strFormat) End If FormatPaperIBAN = strPaperIBAN End Function Public Function MTrim(ByVal strString As String) As String ' Trims strString for mid and outer spaces. ' ' 1999-06-23. Cactus Data ApS. CPH. Const cstrSpace As String * 1 = " " Dim lngTemp As Long Dim lngChop As Long Dim lngLoop As Long Dim strTemp As String Dim strTrim As String strTemp = Trim(strString) lngTemp = Len(strTemp) If lngTemp > 0 Then strTrim = strTemp lngChop = 1 Do lngChop = InStr(lngChop, strTrim, cstrSpace) If lngChop > 0 Then ' A space is found. Shift one character and ' overwrite this space in string strTrim. lngLoop = lngLoop + 1 Mid(strTrim, lngChop) = Mid(strTemp, lngChop + lngLoop) End If Loop Until lngChop = 0 ' String strTrim now contains no spaces. End If ' Return net length of trimmed string. MTrim = Left(strTrim, lngTemp - lngLoop) End Function /gustav > Erwin Craps > Zaakvoerder > www.ithelps.be/jonathan > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a > criminal offence. Please delete if obtained in error and E-mail > confirmation to the sender. > IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.be > Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: > Staff at boxoffice.be > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Nov 26 10:43:06 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 26 Nov 2003 11:43:06 -0500 Subject: [AccessD] Format of a field. Message-ID: Erwin, An input mask would accomplish this > Causes all characters that follow to be converted to uppercase. ! Causes the input mask to display from right to left, rather than from left to right. Characters typed into the mask always fill it from left to right. You can include the exclamation point anywhere in the input mask. a Letter or digit (entry optional). If you are dealing with only letters and numbers you could change it to: !>aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aa Mark -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 26, 2003 11:23 AM To: accessd at databaseadvisors.com Subject: [AccessD] Format of a field. This is probably the first time in probably 10 years I'm looking at the field format in a table again. I never used them because of never needed or wanted it. I want to paper format an IBAN code which is 4 characters space 4 characters space 4 characters etc. something like this 1234 ABCD 5678 EFGH 90 The thing is that a IBAN code can be 34 character long wich means if all 34 characters are used you have at the end 2 characters. So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead of aligning left it aligns right, so my code looks like 12 34AB CD56 78EF GH90 instead of 1234 ABCD 5678 EFGH 90 How can I resolve this that the code is left aligned and not right? I could write some code to do this, but this is like a real good situation where I could use the format property of a field/control. Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Nov 26 11:04:18 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 18:04:18 +0100 Subject: [AccessD] IBAN/BIC length and structure. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF41@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF41@stekelbes.ithelps.local> Message-ID: <19433013560.20031126180418@cactus.dk> Hi Erwin > German is OK > Every Dutch speaking persons understand pretty well German... I know. > When ich das spreche musse kan ich das mit eines heise kartuffel in den mond :-) > I hope this makes some sense..... Yes! > I was on the Swift site, but no way I could find some definitions. Not directly, perhaps, but under Standards you'll find many useful links. But I remember finding it difficult too until I began searching for German sites. > I got more than I needed from U Gustav, Thanks for your code, I'll leave the credit in it... > Dankesch?n... > (Or something :-) You're welcome. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, November 26, 2003 5:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] IBAN/BIC length and structure. > Hi Erwin >> I'm adding some IBAN and BIC fields to an internationaly used app but >> can't find some data. >> I found everything I need to know about IBAN code structure and >> lenght, but i can't seem to find a structure and/or length for the >> Swift BIC code. >> Does anyone knows what the lenght and structure of a BIC code is? > Yes, in German! > Also note this ultimate link: > http://www.swift.com/biconline/index.cfm From gustav at cactus.dk Wed Nov 26 11:06:25 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Nov 2003 18:06:25 +0100 Subject: [AccessD] Format of a field. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF42@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF42@stekelbes.ithelps.local> Message-ID: <3633140723.20031126180625@cactus.dk> Hi Erwin OK. A virtual handkerchief is attached! /gustav > Well I knew there where some formatting characters, no way I could find > them in the Access Help. I've lost my patience with Access help since > they putted it in HTML format. > Thanks for the code again. > Snifff, this makes me so happy :-) > Lucky me, sniffff... > No overtime today, straight to home.... > I'll tell my wife and kid that I'm early today thanks to you.... > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, November 26, 2003 5:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Format of a field. > Hi Erwin >> This is probably the first time in probably 10 years I'm looking at >> the field format in a table again. >> I never used them because of never needed or wanted it. >> I want to paper format an IBAN code which is 4 characters space 4 >> characters space 4 characters etc. >> something like this >> 1234 ABCD 5678 EFGH 90 >> The thing is that a IBAN code can be 34 character long wich means if >> all 34 characters are used you have at the end 2 characters. >> So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead >> of aligning left it aligns right, so my code looks like >> 12 34AB CD56 78EF GH90 >> instead of >> 1234 ABCD 5678 EFGH 90 >> How can I resolve this that the code is left aligned and not right? >> I could write some code to do this, but this is like a real good >> situation where I could use the format property of a field/control. > You are close. This is how to format a textbox: > !&&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && From Erwin.Craps at ithelps.be Wed Nov 26 11:17:08 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 26 Nov 2003 18:17:08 +0100 Subject: [AccessD] Format of a field. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF43@stekelbes.ithelps.local> Aha, that should be better. The > I never use because it is not hard coded in the field. I use an ucase in the Afterupdate event. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, November 26, 2003 5:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Format of a field. Erwin, An input mask would accomplish this > Causes all characters that follow to be converted to uppercase. ! Causes the input mask to display from right to left, rather than from left to right. Characters typed into the mask always fill it from left to right. You can include the exclamation point anywhere in the input mask. a Letter or digit (entry optional). If you are dealing with only letters and numbers you could change it to: !>aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aa Mark -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Wednesday, November 26, 2003 11:23 AM To: accessd at databaseadvisors.com Subject: [AccessD] Format of a field. This is probably the first time in probably 10 years I'm looking at the field format in a table again. I never used them because of never needed or wanted it. I want to paper format an IBAN code which is 4 characters space 4 characters space 4 characters etc. something like this 1234 ABCD 5678 EFGH 90 The thing is that a IBAN code can be 34 character long wich means if all 34 characters are used you have at the end 2 characters. So I formated &&&& &&&& &&&& &&&& &&&& &&&& &&&& &&&& && But instead of aligning left it aligns right, so my code looks like 12 34AB CD56 78EF GH90 instead of 1234 ABCD 5678 EFGH 90 How can I resolve this that the code is left aligned and not right? I could write some code to do this, but this is like a real good situation where I could use the format property of a field/control. Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 26 11:54:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Nov 2003 09:54:36 -0800 Subject: [AccessD] OT - Getting started with Web development References: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: <3FC4E8DC.9090901@shaw.ca> You might want to look at the project code samples and articles from http://www.asptoday.com It has a cost of $100 a year but really good, if just starting out, with long specific examples. Has had problems in last 6 months since previous owner Wrox went down the drain. There are free sample articles available on a weekly basis. paul.hartland at fsmail.net wrote: >To all, >I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. >Anyone know any good sites to get me started along with any book recommendations ? >Thanks in advance for all your help >Paul Hartland >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From jim.hale at fleetpride.com Wed Nov 26 12:46:16 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 26 Nov 2003 12:46:16 -0600 Subject: [AccessD] Message-ID: <869379ABF177D4118D3100508B5EF873063952E4@corp-es00> Check out the ADH p689. I think this is what you are looking for. regards, Jim Hale -----Original Message----- From: pedro at plex.nl [mailto:pedro at plex.nl] Sent: Friday, November 21, 2003 4:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Hello group, i want to make adress-labels for 1 single adress. In our hospital we use sheets of labels. Is there a way on a form when i have selected one user, to give the position on the report, where the adress on the label must be printed. for example i have a labelsheet with 6 labels. Can i make command buttons an click on the third commandbutton, so that the adress is placed on the position of label3 "labelsheet" cmd1 cmd2 cmd3 cmd4 cmd5 cmd6 TIA Pedro Janssen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 26 12:47:33 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Nov 2003 10:47:33 -0800 Subject: [AccessD] OT - Getting started with Web development References: <25154556.1069862126779.JavaMail.www@wwinf3004> <3FC4E8DC.9090901@shaw.ca> Message-ID: <3FC4F545.2040205@shaw.ca> Oh yes and these sites http://www.aspfree.com http:/www.asp101.com http://www.w3schools.com http://www.aspwire.com and maybe here http://www.databasejournal.com/features/msaccess/ MartyConnelly wrote: > You might want to look at the project code samples and articles from > http://www.asptoday.com > It has a cost of $100 a year but really good, if just starting out, > with long specific examples. > Has had problems in last 6 months since previous owner Wrox went down > the drain. > There are free sample articles available on a weekly basis. > > paul.hartland at fsmail.net wrote: > >> To all, >> I'm looking to start writing web pages etc, secure logins, returning >> resultsets in tables from Access & SQL Server etc. >> Anyone know any good sites to get me started along with any book >> recommendations ? >> Thanks in advance for all your help >> Paul Hartland >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Wed Nov 26 13:43:05 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 26 Nov 2003 20:43:05 +0100 Subject: [AccessD] middle X and Y coordinates References: <70F3D727890C784291D8433E9C418F29088526@server.bondsoftware.co.nz> Message-ID: <000b01c3b456$93fe9cb0$f4c581d5@pedro> Hello Stephen, i get 0 as result. Something is going wrong. The fields normally are text fields. I changed them into Number fields, Double, 3 decimal places. I added two fields. MidX and MidY. Made an update query and updated MidX and -Y. with Int([x or y]/2500+0.5)*2500 What is going wrong? Pedro Janssen ----- Original Message ----- From: "Stephen Bond" To: Sent: Tuesday, November 25, 2003 8:21 PM Subject: [AccessD] middle X and Y coordinates > Pedro, > > If you want the numbers to the nearest 2500, in the query put 2 derived fields > > MidX: Int([x]/2500+0.5)*2500 > MidY: Int([y]/2500+0.5)*2500 > > Does this answer your question? > > Stephen Bond > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Wed Nov 26 13:44:20 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 26 Nov 2003 20:44:20 +0100 Subject: [AccessD] rotate text References: Message-ID: <000c01c3b456$952d31a0$f4c581d5@pedro> Its a Dymo thermal label printer. How will Dymo do this for me? Pedro ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 5:30 PM Subject: RE: [AccessD] rotate text > BTW: Dymo will do this for you if its one of the thermal label printers. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > > Sent: Wednesday, November 26, 2003 4:52 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] rotate text > > > > > > Hello Group, > > > > i have a report on which adress-labels are shown. 1 label each. I > > want to use a dynamo label printer. The problem is that the > > labels of this printer are vertical. Is there a way to rotate > > text from a textbox on a report. > > > > TIA > > > > Pedro Janssen > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 26 13:49:42 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 26 Nov 2003 20:49:42 +0100 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net> <000c01c3b438$b3c73110$6001a8c0@dejpolsys> Message-ID: <000d01c3b456$962acb80$f4c581d5@pedro> The example on the website you mentioned, only works on labels, not on textboxes. I did found this rotate text example before on other websites. Maybe its an option to make a label from the value in the textbox by code. But i don't know if its possible and who knows how to do it. Pedro ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 5:16 PM Subject: Re: [AccessD] rotate text > www.lebans.com > > William Hindman > Government is not reason, government is not persuasion, > government is force. It is a dangerous servant." G. Washington > > ----- Original Message ----- > From: > To: > Sent: Wednesday, November 26, 2003 4:52 PM > Subject: [AccessD] rotate text > > > > Hello Group, > > > > i have a report on which adress-labels are shown. 1 label each. I want to > use a dynamo label printer. The problem is that the labels of this printer > are vertical. Is there a way to rotate text from a textbox on a report. > > > > TIA > > > > Pedro Janssen > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Wed Nov 26 13:58:57 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Wed, 26 Nov 2003 14:58:57 -0500 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <3FC4F545.2040205@shaw.ca> Message-ID: <001501c3b457$bd08c990$9301110a@ql130> Also: www.4guysfromrolla.com www.15seconds.com www.coveryourasp.com Also go to www.planetsourcecode.com in the ASP/VB Script world. You will find tons of small asp samples. You will have to decide on wich technology you want to work/learn with: Traditional ASP or ASP.Net. If you want to develop/test on your machine, you will need IIS (Internet Information Server) installed on it. IIS comes with WinXP Professional and Win2000. Be careful, WinXP Home does *NOT* have IIS bundled with it and you cannot d/l it separately. If you are using Win 98 or below you will need PWS (Personal Web Server) from Microsoft. Do *NOT* install PWS on a WinXP machine. To use ASP.Net you will need to d/l the .NET Framework from Microsoft's site and you will need IIS. You do not need Visual Studio .Net to code in .Net but it's easier if you have it because you can see all the references while you code. Learning/working with ASP/ASP.Net is really really fun (at least it's been for me). Good luck, Steve -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de MartyConnelly Envoy??: 26 novembre 2003 13:48 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] OT - Getting started with Web development Oh yes and these sites http://www.aspfree.com http:/www.asp101.com http://www.w3schools.com http://www.aspwire.com and maybe here http://www.databasejournal.com/features/msaccess/ MartyConnelly wrote: > You might want to look at the project code samples and articles from > http://www.asptoday.com > It has a cost of $100 a year but really good, if just starting out, > with long specific examples. > Has had problems in last 6 months since previous owner Wrox went down > the drain. > There are free sample articles available on a weekly basis. > > paul.hartland at fsmail.net wrote: > >> To all, >> I'm looking to start writing web pages etc, secure logins, returning >> resultsets in tables from Access & SQL Server etc. >> Anyone know any good sites to get me started along with any book >> recommendations ? >> Thanks in advance for all your help >> Paul Hartland >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 26 14:13:45 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 15:13:45 -0500 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net><000c01c3b438$b3c73110$6001a8c0@dejpolsys> <000d01c3b456$962acb80$f4c581d5@pedro> Message-ID: <001001c3b459$cb74e2f0$6001a8c0@dejpolsys> ...don't know what you're looking at Pedro but the control acts just like a text box ...you can bind it to a record source, etc. William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 2:49 PM Subject: Re: [AccessD] rotate text > The example on the website you mentioned, only works on labels, not on > textboxes. > I did found this rotate text example before on other websites. > Maybe its an option to make a label from the value in the textbox by code. > But i don't know if its possible and who knows how to do it. > > Pedro > > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 26, 2003 5:16 PM > Subject: Re: [AccessD] rotate text > > > > www.lebans.com > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: > > To: > > Sent: Wednesday, November 26, 2003 4:52 PM > > Subject: [AccessD] rotate text > > > > > > > Hello Group, > > > > > > i have a report on which adress-labels are shown. 1 label each. I want > to > > use a dynamo label printer. The problem is that the labels of this printer > > are vertical. Is there a way to rotate text from a textbox on a report. > > > > > > TIA > > > > > > Pedro Janssen > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomk at multiline.com.au Wed Nov 26 14:20:51 2003 From: tomk at multiline.com.au (Tom Keatley) Date: Thu, 27 Nov 2003 04:20:51 +0800 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net> Message-ID: <004601c3b45a$cb689170$0300a8c0@print> > Hello Group, > > i have a report on which adress-labels are shown. 1 label each. I want to use a dynamo label printer. The problem is that the labels of this printer are vertical. Is there a way to rotate text from a textbox on a report. I have been using TILT 1.2 for a couple of years to rotate text on a report... its a great little control and best of all FREE. Its much better than the commercial control from a company beginning with F... Its pretty self explanatory in the sample db included in the download but if you need any help with it let me know .... http://home.planet.nl/~cruqsoft/tilt.htm REgards Tom Keatley From john at winhaven.net Wed Nov 26 14:33:34 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 14:33:34 -0600 Subject: [AccessD] rotate text In-Reply-To: <000d01c3b456$962acb80$f4c581d5@pedro> Message-ID: Pedro, I assumed you wanted to rotate the text for printout only (not the text in the control). Is this correct? If so I'll send you some code. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Wednesday, November 26, 2003 1:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] rotate text > > > The example on the website you mentioned, only works on labels, not on > textboxes. > I did found this rotate text example before on other websites. > Maybe its an option to make a label from the value in the textbox by code. > But i don't know if its possible and who knows how to do it. > > Pedro > > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 26, 2003 5:16 PM > Subject: Re: [AccessD] rotate text > > > > www.lebans.com > > > > William Hindman > > Government is not reason, government is not persuasion, > > government is force. It is a dangerous servant." G. Washington > > > > ----- Original Message ----- > > From: > > To: > > Sent: Wednesday, November 26, 2003 4:52 PM > > Subject: [AccessD] rotate text > > > > > > > Hello Group, > > > > > > i have a report on which adress-labels are shown. 1 label each. I want > to > > use a dynamo label printer. The problem is that the labels of > this printer > > are vertical. Is there a way to rotate text from a textbox on a report. > > > > > > TIA > > > > > > Pedro Janssen > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Wed Nov 26 15:01:41 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 26 Nov 2003 13:01:41 -0800 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <25154556.1069862126779.JavaMail.www@wwinf3004> Message-ID: You got some good sites, but as for "tools", I highly recommend Dreamweaver. It's not cheap but it's made me so enthusiastic about doing web development, that I've now got 10 sites - and two of them I get paid for. If it sounds interesting to you, go to: http://www.blueworld.com/blueworld/lists/dreamweaver.html and subscribe to the Dreamweaver list. It's like a "family" there, very much like the DBA "family". Lots of professionals, as well as beginners - even a couple of Macromedia people. Everything you want to do has been discussed on the list, so lots of help. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > paul.hartland at fsmail.net > Sent: 26 Nov 2003 7:55:AM > To: accessd > Subject: [AccessD] OT - Getting started with Web development > > > To all, > I'm looking to start writing web pages etc, secure logins, returning resultsets in > tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any book recommendations ? > Thanks in advance for all your help > Paul Hartland > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Wed Nov 26 15:15:49 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 27 Nov 2003 10:15:49 +1300 Subject: [AccessD] middle X and Y coordinates Message-ID: <70F3D727890C784291D8433E9C418F298F3B@server.bondsoftware.co.nz> Yes, I assumed the X and Y would be numbers. However, I have changed the table fields to Text(10), re-run the query and it still works OK. Sending a small MDB (A2K) to you off-line. Stephen Bond > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Thursday, 27 November 2003 8:43 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] middle X and Y coordinates > > > Hello Stephen, > > i get 0 as result. Something is going wrong. > The fields normally are text fields. > I changed them into Number fields, Double, 3 decimal places. > I added two fields. MidX and MidY. > Made an update query and updated MidX and -Y. with Int([x or > y]/2500+0.5)*2500 > > What is going wrong? > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Stephen Bond" > To: > Sent: Tuesday, November 25, 2003 8:21 PM > Subject: [AccessD] middle X and Y coordinates > > > > Pedro, > > > > If you want the numbers to the nearest 2500, in the query > put 2 derived > fields > > > > MidX: Int([x]/2500+0.5)*2500 > > MidY: Int([y]/2500+0.5)*2500 > > > > Does this answer your question? > > > > Stephen Bond > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Nov 26 15:18:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:18:21 -0600 Subject: [AccessD] Archive Ooops.... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022275FF@main2.marlow.com> I probably wouldn't have even noticed, but I was hunting down memory issues on my server, and realized that service was put on Manual for some reason....oops! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, November 25, 2003 7:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive Ooops.... Thanks for staying on top of that Drew, the searchable archives are a great asset to this community. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Tuesday, November 25, 2003 5:22 PM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Archive Ooops.... > > > Apparently my 'indexer' hasn't been running since late september. So > searches on messages since then would have produced nothing. Fixed the > problem earlier today, and now the indexing is all caught up. Oooops. > > 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 Wed Nov 26 15:19:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:19:32 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227600@main2.marlow.com> ASP? Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeget at vgernet.net Wed Nov 26 15:36:38 2003 From: joeget at vgernet.net (John Eget) Date: Wed, 26 Nov 2003 16:36:38 -0500 Subject: [AccessD] backend application protection Message-ID: <001d01c3b465$6371ba00$3dc2f63f@Desktop> I have a split (backend on server and front end on individuals PC) access 2000 application that I would like to protect the backend from having people use the shift key bypass option to open the database in design mode and have individuals play with the backend tables. Does anyone have a solution to this? Would I still be able to do design/work myself if needed? I found someone in the database tables today just cruising around out of curiosity Thanks in advance John From john at winhaven.net Wed Nov 26 15:35:04 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 15:35:04 -0600 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022275FF@main2.marlow.com> Message-ID: I meant to ask you a couple of times about it. I searched on things that I know we just discussed but I couldn't find them! But I thought I was just bad at searching :o) jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, November 26, 2003 3:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Archive Ooops.... > > > I probably wouldn't have even noticed, but I was hunting down > memory issues > on my server, and realized that service was put on Manual for some > reason....oops! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Tuesday, November 25, 2003 7:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Archive Ooops.... > > > Thanks for staying on top of that Drew, the searchable archives > are a great > asset to this community. > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Tuesday, November 25, 2003 5:22 PM > > To: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Archive Ooops.... > > > > > > Apparently my 'indexer' hasn't been running since late september. So > > searches on messages since then would have produced nothing. Fixed the > > problem earlier today, and now the indexing is all caught up. Oooops. > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Wed Nov 26 15:43:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:43:43 -0600 Subject: [AccessD] backend application protection Message-ID: <2F8793082E00D4119A1700B0D0216BF802227601@main2.marlow.com> Use code to disable the shift bypass key. (Help file, look for AllowShiftBypassKey). Then just make an AutoExec macro that has the command Quit. Drew -----Original Message----- From: John Eget [mailto:joeget at vgernet.net] Sent: Wednesday, November 26, 2003 3:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] backend application protection I have a split (backend on server and front end on individuals PC) access 2000 application that I would like to protect the backend from having people use the shift key bypass option to open the database in design mode and have individuals play with the backend tables. Does anyone have a solution to this? Would I still be able to do design/work myself if needed? I found someone in the database tables today just cruising around out of curiosity Thanks in advance John _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Nov 26 15:49:28 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 15:49:28 -0600 Subject: [AccessD] Archive Ooops.... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227602@main2.marlow.com> Hehehe. I know. It's a two step process. My print server has the Archiver service, which logs into our mailserver (at work here) through a VPN, looks for new messages (in the normal folder and an archive folder), it then dumps the new mail into the database, and marks them as archived (by setting a subject). That runs every 2 hours. Sort of. I have something running for Mike Mattys that is run through that process, and if it kicks off, it can take an hour or two before the archiving actually occurs. The second process is the indexer (which is what indexes the memo fields that the messages are stored in.). That indexer runs on my main server, and runs every hour, but only indexes 200 messages at a time. (Because it takes about 10 to 20 minutes to index 200 messages, and I didn't want the indexer to hog the server). What actually happened was for some reason, I set the index tables to have a max field size of 100 on the word tables. Someone posted a word over that limit, cause it was erroring by saying that the data was too big for the field. So yesterday, I set the field limit to 255 on all the index tables, and kicked off the indexer service again. Why I set it to 100, I don't know. It doesn't really matter, cause Access doesn't take up extra space, I guess I just thought there would never be a word bigger then 100 characters. Now that I think about it, I wonder what word caused the problem! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, November 26, 2003 3:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive Ooops.... I meant to ask you a couple of times about it. I searched on things that I know we just discussed but I couldn't find them! But I thought I was just bad at searching :o) jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, November 26, 2003 3:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Archive Ooops.... > > > I probably wouldn't have even noticed, but I was hunting down > memory issues > on my server, and realized that service was put on Manual for some > reason....oops! > > Drew > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Tuesday, November 25, 2003 7:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Archive Ooops.... > > > Thanks for staying on top of that Drew, the searchable archives > are a great > asset to this community. > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Tuesday, November 25, 2003 5:22 PM > > To: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Archive Ooops.... > > > > > > Apparently my 'indexer' hasn't been running since late september. So > > searches on messages since then would have produced nothing. Fixed the > > problem earlier today, and now the indexing is all caught up. Oooops. > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 26 16:02:46 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 16:02:46 -0600 Subject: [AccessD] Archive Ooops.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227602@main2.marlow.com> Message-ID: Sounds like a non-word to me! If you know what mean. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, November 26, 2003 3:49 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Archive Ooops.... > > > Hehehe. I know. It's a two step process. My print server has > the Archiver > service, which logs into our mailserver (at work here) through a > VPN, looks > for new messages (in the normal folder and an archive folder), it > then dumps > the new mail into the database, and marks them as archived (by setting a > subject). That runs every 2 hours. Sort of. I have something > running for > Mike Mattys that is run through that process, and if it kicks off, it can > take an hour or two before the archiving actually occurs. The second > process is the indexer (which is what indexes the memo fields that the > messages are stored in.). That indexer runs on my main server, and runs > every hour, but only indexes 200 messages at a time. (Because it > takes about > 10 to 20 minutes to index 200 messages, and I didn't want the > indexer to hog > the server). > > What actually happened was for some reason, I set the index > tables to have a > max field size of 100 on the word tables. Someone posted a word over that > limit, cause it was erroring by saying that the data was too big for the > field. So yesterday, I set the field limit to 255 on all the > index tables, > and kicked off the indexer service again. Why I set it to 100, I don't > know. It doesn't really matter, cause Access doesn't take up > extra space, I > guess I just thought there would never be a word bigger then 100 > characters. > Now that I think about it, I wonder what word caused the problem! > > Drew > From john at winhaven.net Wed Nov 26 16:04:56 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 16:04:56 -0600 Subject: [AccessD] backend application protection In-Reply-To: <001d01c3b465$6371ba00$3dc2f63f@Desktop> Message-ID: John: What I do is have my standard info screen as the start up form. That form has two small transparent command buttons (cmdABKT and cmdABKF) on it in a place no one thinks to double click. These allow me to set the bypass key on or off as I need to. (The database window is hidden on startup of course) You could just have a security warning form come up too. Heck, you could even log the system user name while your at it, maybe even tell them your logging it. Have some fun, scare the jeebies out of them! :o) Here's the code I use, if you find any gaping wholes in it or something let me know. John B. Code Start -------------------------------------------------- Private Sub cmdABKT_DblClick(intCancel As Integer) ' Comments : turns on bypass key option ChangeProperty "AllowBypassKey", dbBoolean, True End Sub Private Sub cmdABKF_DblClick(intCancel As Integer) ' Comments : turns off bypass key option ChangeProperty "AllowBypassKey", dbBoolean, False End Sub Function ChangeProperty(strPropName As String, varPropType As Variant, varPropValue As Variant) As Integer ' Comments : changes submitted property value ' Parameters : strPropName ' varPropType ' varPropValue - ' Returns : Integer - Dim dbs As Database Dim prp As Property Dim strMsg As String Dim varReturn As Variant Const conPropNotFoundError As Long = 3270 Set dbs = CurrentDb On Error GoTo Change_Err 'set property dbs.Properties(strPropName) = varPropValue 'read property Set prp = dbs.Properties(strPropName) strMsg = prp MsgBox strMsg ChangeProperty = True Change_Exit: Exit Function Change_Err: If Err = conPropNotFoundError Then ' Property not found. Set prp = dbs.CreateProperty(strPropName, varPropType, varPropValue) dbs.Properties.Append prp Resume Next Else ' Unknown error. ChangeProperty = False Resume Change_Exit End If End Function -------------------------------------------------- Code End From john at winhaven.net Wed Nov 26 16:15:09 2003 From: john at winhaven.net (John Bartow) Date: Wed, 26 Nov 2003 16:15:09 -0600 Subject: [AccessD] backend application protection In-Reply-To: Message-ID: Oops, I forgot to mention that I also minimize the Access Window so only the Pop-up form is showing. That's a lot of code to post though so If you're interested let me know. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Wednesday, November 26, 2003 4:05 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] backend application protection > > > John: > What I do is have my standard info screen as the start up form. That form > has two small transparent command buttons (cmdABKT and cmdABKF) on it in a > place no one thinks to double click. These allow me to set the > bypass key on > or off as I need to. (The database window is hidden on startup of course) > > You could just have a security warning form come up too. Heck, you could > even log the system user name while your at it, maybe even tell them your > logging it. Have some fun, scare the jeebies out of them! > :o) > > Here's the code I use, if you find any gaping wholes in it or > something let > me know. > > John B. > > Code Start > -------------------------------------------------- > Private Sub cmdABKT_DblClick(intCancel As Integer) > ' Comments : turns on bypass key option > ChangeProperty "AllowBypassKey", dbBoolean, True > End Sub > > Private Sub cmdABKF_DblClick(intCancel As Integer) > ' Comments : turns off bypass key option > ChangeProperty "AllowBypassKey", dbBoolean, False > End Sub > > Function ChangeProperty(strPropName As String, varPropType As Variant, > varPropValue As Variant) As Integer > ' Comments : changes submitted property value > ' Parameters : strPropName > ' varPropType > ' varPropValue - > ' Returns : Integer - > Dim dbs As Database > Dim prp As Property > Dim strMsg As String > Dim varReturn As Variant > Const conPropNotFoundError As Long = 3270 > Set dbs = CurrentDb > On Error GoTo Change_Err > 'set property > dbs.Properties(strPropName) = varPropValue > 'read property > Set prp = dbs.Properties(strPropName) > strMsg = prp > MsgBox strMsg > ChangeProperty = True > Change_Exit: > Exit Function > Change_Err: > If Err = conPropNotFoundError Then ' Property not found. > Set prp = dbs.CreateProperty(strPropName, varPropType, varPropValue) > dbs.Properties.Append prp > Resume Next > Else > ' Unknown error. > ChangeProperty = False > Resume Change_Exit > End If > End Function > -------------------------------------------------- > Code End > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Wed Nov 26 16:54:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Nov 2003 16:54:33 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227603@main2.marlow.com> Paul, I have been developing ASP project for quite some time now. I think I can narrow down what you REALLY need to know to get started. First of all, before you dig into web development, you MUST understand how a web server and web pages work. It is a whole different ball of wax compared to an Access FE. With an Access FE, you create forms and reports, and each user has a copy (or uses a shared FE) of the front end. This has several drawbacks. First of all, if you have copies of the FE all over, you have to create an update process to push out new changes. If you have a shared FE, then you have to kick everyone out to update the process. On top of that, a user can be anywhere, so there can always be issues of where things are located. One user may have a share mapped to S, while another has it mapped to T. UNC's can handle this, but then there is also the issue of whether people are able to even get to the locations involved. On a web server, all of these issues are moot. The way a web server works, is the client opens their browser and requests a web page. Let's say they go to http://MyWebsite.com. The browser does a few things, one of which is it sends an http request to the server sitting at whatever mywebsite.com resolves too. (http is Hyper Text Transfer Protocol. HTML is Hyper Text Markup Language. So, HTTP is the protocol uses to transport HTML.). The server at the other end gets an http request for it's root directory. Notice the URL doesn't have a specific file (this is a KEY point to remember). That is just fine and dandy, because a webserver can be asked for a page by just the 'folder', since each folder can have a default document setup. In most cases it is index.htm or default.asp, but it can quite frankly be any document you want (or even a list of documents). For our example, let's say it's default.asp. The web server then reads the default.asp page and runs it through it's ISAPI filters. These are filters that cause various things to be done to the HTML that is going to be sent back. Two good examples of this are includes and ASP itself. Includes are when you mark another file or files to be included within the document. So, if you have a header that you want on every page, instead of putting the HTML for that header on every page, you put the header in it's own file, and just include it in all of your pages. The include ISAPI filter then incorporates that HTML in the outgoing HTML. You can also include .asp code, similar to putting code in a module, versus behind every form/report. The ASP ISAPI filter is a little more complex. Instead of just replacing text, it actually 'works' the ASP code on the page. This is the CORE of ASP. What the end user get's, is just the outgoing HTML. They never get the ASP code itself. ASP can either be passive or dynamic. My own terms for the two actions ASP can perform. Passive is when the ASP does something that the users can't see. Dynamic is when ASP does something that the users DO see. For example. If the default.asp page was like this: <% dim cnn dim rs dim strSQL set cnn=server.createobject("ADODB.Connection") set rs=server.createobject("ADODB.Recordset") cnn.Provider="Microsoft.Jet.OLEDB.4.0" cnn.Open "E:\MyDB.mdb" strSQL="SELECT Hit FROM tblHits;" rs.Open strSQL,cnn,1,3 rs.AddNew rs.Fields(0).value=1 rs.Update rs.close set rs=nothing cnn.close set cnn=nothing %> Hello The end user will get a page that says hello, but internally, the ASP page has added a record to a database, in this case, a simple hit counter. This is passive, since the user will always get 'Hello', no matter what they do. The ASP code is doing work, but it's something the end user doesn't see. Dynamic ASP pages are where the output the user sees is directly affected by the ASP code. To do this, you must either use the = symbol (which is a shortcut to have the ASP send something out with the resulting HTML stream), or the response.write procedure. For example, let's have default.asp be this: <% dim strIP strIP=request.ServerVariables("REMOTE_ADDR") %> Your IP Address is: <%=strIP%>
<% response.write "Have a nice day." %> What the user will see is a message that has their IP address, like this: Your IP Address is: 65.65.125.209 Have a nice day. We used the equal since to 'insert' something into the normal HTML with ASP, and then we used response.write to directly output a string into the outgoing HTML stream. The last thing to remember when dealing with a web server is that the end users are getting whatever the web server hands out, the moment they request it. Once they get the resulting HTML stream, and their browser displays the page, there is no longer a connection to the file they requested. That means if you are constantly updating asp pages, the end users will just simply get the 'current' results at the time of their request. No kicking everyone out, etc. Pretty handy. Three more items to cover. Above was the biggie. First of the three. HTML. HTML is actually pretty simple. I personally used Front Page when I started out, to let it do the HTML for me, then after a few months of going back and forth, I just got the hang of it, and I rarely ever use FP for writing the HTML anymore. The two key items to remember with HTML is that everything is written with tags. Some tags are stand alone, such as
(which is a line break), and some tags must have a start and finish ( and , or an easier example and which is for bolding text). Tags also can have properties. For example, an anchor tag (for hyperlinks) is a. Click here to go to Wolfwares.com , and between the start tag, and the closing tag , there is text, which is what the user will see as the text of the hyperlink. The second key item to remember with HTML is that no matter what format you write the HTML in, what the user sees in the browser is determine by the TAGS, not by the HTML code. So if you write: This is a Test The user sees: This is a Test If you write: This is a
Test The user sees: This is a Test Second of the three is a BIG difference between Access and ASP. Access runs it's code on the users processor. This is both good and bad. Bad, because the end user must have Access (or a run-time installed). Also, bad because users on slower machines are going to be delayed longer then users on fast machines. Good, because as long as the end users have the correct software/runtimes, your application should almost be gauranteed to work. With ASP, if you write standard HTML, it doesn't matter what you have the ASP code do. Your ASP code only has to run on the web server. Your clients can be running Pentium 4's, with IE, or Mac's with Netscape, and everyone sees the same results. A client running a 2.6 gigahertz on a 56k modem is going to run your application at the same speed (well, pretty much the same speed) as a client running a 486 66mhz with a 56k modem. In fact, if your pages are light enough on the output (little to no graphics, just plain HTML.....) there isn't going to be much of a difference between a modem user or a broad band user. Text transfers pretty quickly....though you could have slow downs if there is just a ton of text being sent (like combo boxes that have thousands of items in their lists). The final issue with this part is client side scripting. I personally stay away from it like the plague, unless it's for in house projects where I know everyone is using IE. So try to make your applications run strictly with ASP, unless absolutely necessary. Third of the three. The real nuts and bolts of ASP. ASP can be written in JScript or VBScript. Quite frankly I have never bothered to use JScript, since VBScript is practically second nature. When writting ASP, you enclose the ASP code with <% and %> (start and end tags for ASP), and then write away with VBScript. There are two things to remember/research. ASP is VBScript with extra objects (Application, ObjectContext,Request,ASPError,Response,Server,Session). The three you are going to deal with the most are Request, Response and Server. Request gives you access to what you have been 'sent' by the user. It can be used to read cookies, server variables (which include Usernames, passwords,IP Addresses, browser types, etc.), and form data. Response is what you use to send data back to the user (response.write outputs to the HTML stream, redirect can actually change the URL the end user is receiving, etc.). Server is the webserver itself. The two main methods you will probably use are MapPath(Which let's you map a virtual or actual path to a file) and CreateObject. That CreateObject is the big catch with ASP and VBScript. In normal VBScript you just call CreateObject. But with ASP, you must use the Server Object's CreateObject method to create an object in VBScript. (Because the object must be created by the webserver). That's ASP in a nutshell. The first item I talked about is a little difficult to figure out from the MSDN, the rest is in the MSDN, but can still be a little difficult to figure out. The details on everything (HTML tags, ASP objects, etc.) are pretty much well explained in the MSDN though. The last thing you will need to know about ASP pages versus Access FE's is how to get data FROM the user. (we already discussed sending it to them, with the response.write method). I mentioned the request object. The two methods of getting data from the user are through forms and querystrings. A querystring is what follows a URL (after a ?). So, if you have a URL like this: http://MyWebsite.com/default.asp?MyValue=10 , you can retrieve the value of MyValue by using the request.QueryString method, like this: <% response.write request.QueryString("MyValue") %> If you have an HTML form, and you POST the data:
The resulting page will have a textbox, and a submit button. Pressing the submit button will send the data within the MyValue textbox to results.asp. So if results.asp was this: <% response.write request.form("MyValue") %> The results page will output whatever was in the textbox. The key difference between a QueryString and a Form is that QueryStrings are limited by the max length of a URL (which is, I think, 2048 characters...maybe 1024 characters, not sure). Where as a form is not limited in the amount of data that can be submitted. You can also refer to a request 'variable' by just the request object. request("MyValue") can be a value in either a QueryString OR a Form. Phew, what an email. This was fun to write though. Keep in mind that ASP doesn't directly like DAO, so write your code using ADO. Feel free to contact me offlist if you have specific questions. I may get hammered for the length of this email, but I think it's pertinent to Access development on the web! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Nov 26 19:25:36 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 26 Nov 2003 17:25:36 -0800 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227603@main2.marlow.com> Message-ID: Hi Drew: Have you ever thought about writing a book on the subject...You have finished chapter one. ...I teasing... :-) Very good introductory Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, November 26, 2003 2:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Getting started with Web development Paul, I have been developing ASP project for quite some time now. I think I can narrow down what you REALLY need to know to get started. First of all, before you dig into web development, you MUST understand how a web server and web pages work. It is a whole different ball of wax compared to an Access FE. With an Access FE, you create forms and reports, and each user has a copy (or uses a shared FE) of the front end. This has several drawbacks. First of all, if you have copies of the FE all over, you have to create an update process to push out new changes. If you have a shared FE, then you have to kick everyone out to update the process. On top of that, a user can be anywhere, so there can always be issues of where things are located. One user may have a share mapped to S, while another has it mapped to T. UNC's can handle this, but then there is also the issue of whether people are able to even get to the locations involved. On a web server, all of these issues are moot. The way a web server works, is the client opens their browser and requests a web page. Let's say they go to http://MyWebsite.com. The browser does a few things, one of which is it sends an http request to the server sitting at whatever mywebsite.com resolves too. (http is Hyper Text Transfer Protocol. HTML is Hyper Text Markup Language. So, HTTP is the protocol uses to transport HTML.). The server at the other end gets an http request for it's root directory. Notice the URL doesn't have a specific file (this is a KEY point to remember). That is just fine and dandy, because a webserver can be asked for a page by just the 'folder', since each folder can have a default document setup. In most cases it is index.htm or default.asp, but it can quite frankly be any document you want (or even a list of documents). For our example, let's say it's default.asp. The web server then reads the default.asp page and runs it through it's ISAPI filters. These are filters that cause various things to be done to the HTML that is going to be sent back. Two good examples of this are includes and ASP itself. Includes are when you mark another file or files to be included within the document. So, if you have a header that you want on every page, instead of putting the HTML for that header on every page, you put the header in it's own file, and just include it in all of your pages. The include ISAPI filter then incorporates that HTML in the outgoing HTML. You can also include .asp code, similar to putting code in a module, versus behind every form/report. The ASP ISAPI filter is a little more complex. Instead of just replacing text, it actually 'works' the ASP code on the page. This is the CORE of ASP. What the end user get's, is just the outgoing HTML. They never get the ASP code itself. ASP can either be passive or dynamic. My own terms for the two actions ASP can perform. Passive is when the ASP does something that the users can't see. Dynamic is when ASP does something that the users DO see. For example. If the default.asp page was like this: <% dim cnn dim rs dim strSQL set cnn=server.createobject("ADODB.Connection") set rs=server.createobject("ADODB.Recordset") cnn.Provider="Microsoft.Jet.OLEDB.4.0" cnn.Open "E:\MyDB.mdb" strSQL="SELECT Hit FROM tblHits;" rs.Open strSQL,cnn,1,3 rs.AddNew rs.Fields(0).value=1 rs.Update rs.close set rs=nothing cnn.close set cnn=nothing %> Hello The end user will get a page that says hello, but internally, the ASP page has added a record to a database, in this case, a simple hit counter. This is passive, since the user will always get 'Hello', no matter what they do. The ASP code is doing work, but it's something the end user doesn't see. Dynamic ASP pages are where the output the user sees is directly affected by the ASP code. To do this, you must either use the = symbol (which is a shortcut to have the ASP send something out with the resulting HTML stream), or the response.write procedure. For example, let's have default.asp be this: <% dim strIP strIP=request.ServerVariables("REMOTE_ADDR") %> Your IP Address is: <%=strIP%>
<% response.write "Have a nice day." %> What the user will see is a message that has their IP address, like this: Your IP Address is: 65.65.125.209 Have a nice day. We used the equal since to 'insert' something into the normal HTML with ASP, and then we used response.write to directly output a string into the outgoing HTML stream. The last thing to remember when dealing with a web server is that the end users are getting whatever the web server hands out, the moment they request it. Once they get the resulting HTML stream, and their browser displays the page, there is no longer a connection to the file they requested. That means if you are constantly updating asp pages, the end users will just simply get the 'current' results at the time of their request. No kicking everyone out, etc. Pretty handy. Three more items to cover. Above was the biggie. First of the three. HTML. HTML is actually pretty simple. I personally used Front Page when I started out, to let it do the HTML for me, then after a few months of going back and forth, I just got the hang of it, and I rarely ever use FP for writing the HTML anymore. The two key items to remember with HTML is that everything is written with tags. Some tags are stand alone, such as
(which is a line break), and some tags must have a start and finish ( and , or an easier example and which is for bolding text). Tags also can have properties. For example, an anchor tag (for hyperlinks) is a. Click here to go to Wolfwares.com , and between the start tag, and the closing tag , there is text, which is what the user will see as the text of the hyperlink. The second key item to remember with HTML is that no matter what format you write the HTML in, what the user sees in the browser is determine by the TAGS, not by the HTML code. So if you write: This is a Test The user sees: This is a Test If you write: This is a
Test The user sees: This is a Test Second of the three is a BIG difference between Access and ASP. Access runs it's code on the users processor. This is both good and bad. Bad, because the end user must have Access (or a run-time installed). Also, bad because users on slower machines are going to be delayed longer then users on fast machines. Good, because as long as the end users have the correct software/runtimes, your application should almost be gauranteed to work. With ASP, if you write standard HTML, it doesn't matter what you have the ASP code do. Your ASP code only has to run on the web server. Your clients can be running Pentium 4's, with IE, or Mac's with Netscape, and everyone sees the same results. A client running a 2.6 gigahertz on a 56k modem is going to run your application at the same speed (well, pretty much the same speed) as a client running a 486 66mhz with a 56k modem. In fact, if your pages are light enough on the output (little to no graphics, just plain HTML.....) there isn't going to be much of a difference between a modem user or a broad band user. Text transfers pretty quickly....though you could have slow downs if there is just a ton of text being sent (like combo boxes that have thousands of items in their lists). The final issue with this part is client side scripting. I personally stay away from it like the plague, unless it's for in house projects where I know everyone is using IE. So try to make your applications run strictly with ASP, unless absolutely necessary. Third of the three. The real nuts and bolts of ASP. ASP can be written in JScript or VBScript. Quite frankly I have never bothered to use JScript, since VBScript is practically second nature. When writting ASP, you enclose the ASP code with <% and %> (start and end tags for ASP), and then write away with VBScript. There are two things to remember/research. ASP is VBScript with extra objects (Application, ObjectContext,Request,ASPError,Response,Server,Session). The three you are going to deal with the most are Request, Response and Server. Request gives you access to what you have been 'sent' by the user. It can be used to read cookies, server variables (which include Usernames, passwords,IP Addresses, browser types, etc.), and form data. Response is what you use to send data back to the user (response.write outputs to the HTML stream, redirect can actually change the URL the end user is receiving, etc.). Server is the webserver itself. The two main methods you will probably use are MapPath(Which let's you map a virtual or actual path to a file) and CreateObject. That CreateObject is the big catch with ASP and VBScript. In normal VBScript you just call CreateObject. But with ASP, you must use the Server Object's CreateObject method to create an object in VBScript. (Because the object must be created by the webserver). That's ASP in a nutshell. The first item I talked about is a little difficult to figure out from the MSDN, the rest is in the MSDN, but can still be a little difficult to figure out. The details on everything (HTML tags, ASP objects, etc.) are pretty much well explained in the MSDN though. The last thing you will need to know about ASP pages versus Access FE's is how to get data FROM the user. (we already discussed sending it to them, with the response.write method). I mentioned the request object. The two methods of getting data from the user are through forms and querystrings. A querystring is what follows a URL (after a ?). So, if you have a URL like this: http://MyWebsite.com/default.asp?MyValue=10 , you can retrieve the value of MyValue by using the request.QueryString method, like this: <% response.write request.QueryString("MyValue") %> If you have an HTML form, and you POST the data:
The resulting page will have a textbox, and a submit button. Pressing the submit button will send the data within the MyValue textbox to results.asp. So if results.asp was this: <% response.write request.form("MyValue") %> The results page will output whatever was in the textbox. The key difference between a QueryString and a Form is that QueryStrings are limited by the max length of a URL (which is, I think, 2048 characters...maybe 1024 characters, not sure). Where as a form is not limited in the amount of data that can be submitted. You can also refer to a request 'variable' by just the request object. request("MyValue") can be a value in either a QueryString OR a Form. Phew, what an email. This was fun to write though. Keep in mind that ASP doesn't directly like DAO, so write your code using ADO. Feel free to contact me offlist if you have specific questions. I may get hammered for the length of this email, but I think it's pertinent to Access development on the web! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Wed Nov 26 20:22:15 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Thu, 27 Nov 2003 13:22:15 +1100 Subject: [AccessD] backend application protection Message-ID: John, We use an application at our place of business written by one John Colby (list frequenter) It allows us to protect the backend from users but also open with bypass when necessary. If John Colby is watching maybe he can enlighten you as to the workings of or how to obtain same. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange NSW Australia This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From wdhindman at bellsouth.net Wed Nov 26 20:58:35 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 26 Nov 2003 21:58:35 -0500 Subject: [AccessD] backend application protection References: Message-ID: <000401c3b492$594ab900$6001a8c0@dejpolsys> ...lol ...JC ..."list frequenter" ...heck Connie, JC and Lembit (with a few others) invented the current version of AccessD :) www.colbyconsulting.com William Hindman Government is not reason, government is not persuasion, government is force. It is a dangerous servant." G. Washington ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Wednesday, November 26, 2003 9:22 PM Subject: Re: [AccessD] backend application protection > John, > We use an application at our place of business written by one John Colby > (list frequenter) > It allows us to protect the backend from users but also open with bypass > when necessary. > > If John Colby is watching maybe he can enlighten you as to the workings of > or how to obtain same. > > Connie Kamrowski > > Analyst/Programmer > Information Technology > NSW Agriculture > Orange NSW > Australia > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. Views > expressed are those of the individual sender and are not necessarily the > views of their organisation. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Thu Nov 27 02:34:51 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 27 Nov 2003 03:34:51 -0500 Subject: [AccessD] backend application protection In-Reply-To: Message-ID: The program to which Connie refers is called C2DbProperties. It can be found on my web site. It is a standalone application which allows you to set the database properties of any mda/b/e from outside of that mda/b/e. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of connie.kamrowski at agric.nsw.gov.au Sent: Wednesday, November 26, 2003 9:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] backend application protection John, We use an application at our place of business written by one John Colby (list frequenter) It allows us to protect the backend from users but also open with bypass when necessary. If John Colby is watching maybe he can enlighten you as to the workings of or how to obtain same. Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange NSW Australia This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Nov 27 04:48:59 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 27 Nov 2003 11:48:59 +0100 Subject: [AccessD] Connect Access to Database of Windows Media Player 9 Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF4E@stekelbes.ithelps.local> Has anyone ever tried (succesfully) to link Access to the Windows Media Player Database? If this is evenposible? For read and write? I'm putting my whole CD/Vinyl collection on pc and want to print labels and lists for storage purposes so if I'm looking for the physical media I know where to search (Rack/Box). Adding some barcode labels to each media would be a thing too... But I still want to use WMP9 as the main database. Greetz Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From andy at minstersystems.co.uk Thu Nov 27 05:12:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Nov 2003 11:12:25 -0000 Subject: [AccessD] OT - Getting started with Web development In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227603@main2.marlow.com> Message-ID: <015d01c3b4d7$56e4f640$b274d0d5@minster33c3r25> No Way you're going to "get hammered". The mods may take a (friendly) stick to you sometimes when you go off on one about beer, traffic or whatever but rest assured we hugely appreciate the efforts you make to help people on this list. And I second Jim's call - Write a book, or at least a series of aticles for Many-To-Many. Susan's tking of another issue soon so this would be a terrific subject. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 26 November 2003 22:55 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT - Getting started with Web development > > > Paul, I have been developing ASP project for quite some time > now. I think I can narrow down what you REALLY need to know > to get started. > > First of all, before you dig into web development, you MUST > understand how a web server and web pages work. It is a > whole different ball of wax compared to an Access FE. With > an Access FE, you create forms and reports, and each user has > a copy (or uses a shared FE) of the front end. This has > several drawbacks. First of all, if you have copies of the > FE all over, you have to create an update process to push out > new changes. If you have a shared FE, then you have to kick > everyone out to update the process. On top of that, a user > can be anywhere, so there can always be issues of where > things are located. One user may have a share mapped to S, > while another has it mapped to T. UNC's can handle this, but > then there is also the issue of whether people are able to > even get to the locations involved. On a web server, all of > these issues are moot. > > The way a web server works, is the client opens their browser > and requests a web page. Let's say they go to > http://MyWebsite.com. The browser does a few things, one of > which is it sends an http request to the server sitting at > whatever mywebsite.com resolves too. (http is Hyper Text > Transfer Protocol. HTML is Hyper Text Markup Language. So, > HTTP is the protocol uses to transport HTML.). The server at > the other end gets an http request for it's root directory. > Notice the URL doesn't have a specific file (this is a KEY > point to remember). That is just fine and dandy, because a > webserver can be asked for a page by just the 'folder', since > each folder can have a default document setup. In most cases > it is index.htm or default.asp, but it can quite frankly be > any document you want (or even a list of documents). For our > example, let's say it's default.asp. The web server then > reads the default.asp page and runs it through it's ISAPI > filters. These are filters that cause various things to be > done to the HTML that is going to be sent back. Two good > examples of this are includes and ASP itself. Includes are > when you mark another file or files to be included within the > document. So, if you have a header that you want on every > page, instead of putting the HTML for that header on every > page, you put the header in it's own file, and just include > it in all of your pages. The include ISAPI filter then > incorporates that HTML in the outgoing HTML. You can also > include .asp code, similar to putting code in a module, > versus behind every form/report. The ASP ISAPI filter is a > little more complex. Instead of just replacing text, it > actually 'works' the ASP code on the page. > > This is the CORE of ASP. What the end user get's, is just > the outgoing HTML. They never get the ASP code itself. ASP > can either be passive or dynamic. My own terms for the two > actions ASP can perform. Passive is when the ASP does > something that the users can't see. Dynamic is when ASP does > something that the users DO see. For example. If the > default.asp page was like this: > > <% > dim cnn > dim rs > dim strSQL > set cnn=server.createobject("ADODB.Connection") > set rs=server.createobject("ADODB.Recordset") > cnn.Provider="Microsoft.Jet.OLEDB.4.0" > cnn.Open "E:\MyDB.mdb" > strSQL="SELECT Hit FROM tblHits;" > rs.Open strSQL,cnn,1,3 > rs.AddNew > rs.Fields(0).value=1 > rs.Update > rs.close > set rs=nothing > cnn.close > set cnn=nothing > %> > > Hello > > > The end user will get a page that says hello, but internally, > the ASP page has added a record to a database, in this case, > a simple hit counter. This is passive, since the user will > always get 'Hello', no matter what they do. The ASP code is > doing work, but it's something the end user doesn't see. > > Dynamic ASP pages are where the output the user sees is > directly affected by the ASP code. To do this, you must > either use the = symbol (which is a shortcut to have the ASP > send something out with the resulting HTML stream), or the > response.write procedure. > > For example, let's have default.asp be this: > > <% > dim strIP > strIP=request.ServerVariables("REMOTE_ADDR") > %> > > Your IP Address is: <%=strIP%>
> <% > response.write "Have a nice day." > %> > > > What the user will see is a message that has their IP > address, like this: > > Your IP Address is: 65.65.125.209 > Have a nice day. > > We used the equal since to 'insert' something into the normal > HTML with ASP, and then we used response.write to directly > output a string into the outgoing HTML stream. > > The last thing to remember when dealing with a web server is > that the end users are getting whatever the web server hands > out, the moment they request it. Once they get the resulting > HTML stream, and their browser displays the page, there is no > longer a connection to the file they requested. That means > if you are constantly updating asp pages, the end users will > just simply get the 'current' results at the time of their > request. No kicking everyone out, etc. Pretty handy. > > Three more items to cover. Above was the biggie. First of > the three. HTML. HTML is actually pretty simple. I > personally used Front Page when I started out, to let it do > the HTML for me, then after a few months of going back and > forth, I just got the hang of it, and I rarely ever use FP > for writing the HTML anymore. The two key items to remember > with HTML is that everything is written with tags. Some tags > are stand alone, such as
(which is a line break), and > some tags must have a start and finish ( and , > or an easier example and which is for bolding text). > Tags also can have properties. For example, an anchor tag > (for hyperlinks) is a. Click > here to go to Wolfwares.com href property, which is the URL of the site/file the > hyperlink points too, then the tag is closed with the >, and > between the start tag, and the closing tag , there is > text, which is what the user will see as the text of the > hyperlink. The second key item to remember with HTML is that > no matter what format you write the HTML in, what the user > sees in the browser is determine by the TAGS, not by the HTML code. > > So if you write: > > > This is a > Test > > > The user sees: > This is a Test > > If you write: > This is a
Test > > The user sees: > This is a > Test > > Second of the three is a BIG difference between Access and > ASP. Access runs it's code on the users processor. This is > both good and bad. Bad, because the end user must have > Access (or a run-time installed). Also, bad because users on > slower machines are going to be delayed longer then users on > fast machines. Good, because as long as the end users have > the correct software/runtimes, your application should almost > be gauranteed to work. With ASP, if you write standard HTML, > it doesn't matter what you have the ASP code do. Your ASP > code only has to run on the web server. Your clients can be > running Pentium 4's, with IE, or Mac's with Netscape, and > everyone sees the same results. A client running a 2.6 > gigahertz on a 56k modem is going to run your application at > the same speed (well, pretty much the same > speed) as a client running a 486 66mhz with a 56k modem. In > fact, if your pages are light enough on the output (little to > no graphics, just plain > HTML.....) there isn't going to be much of a difference > between a modem user or a broad band user. Text transfers > pretty quickly....though you could have slow downs if there > is just a ton of text being sent (like combo boxes that have > thousands of items in their lists). The final issue with > this part is client side scripting. I personally stay away > from it like the plague, unless it's for in house projects > where I know everyone is using IE. So try to make your > applications run strictly with ASP, unless absolutely necessary. > > Third of the three. The real nuts and bolts of ASP. ASP can > be written in JScript or VBScript. Quite frankly I have > never bothered to use JScript, since VBScript is practically > second nature. When writting ASP, you enclose the ASP code > with <% and %> (start and end tags for ASP), and then write > away with VBScript. There are two things to > remember/research. ASP is VBScript with extra objects > (Application, > ObjectContext,Request,ASPError,Response,Server,Session). The > three you are going to deal with the most are Request, > Response and Server. Request gives you access to what you > have been 'sent' by the user. It can be used to read cookies, > server variables (which include Usernames, passwords,IP > Addresses, browser types, etc.), and form data. Response is > what you use to send data back to the user (response.write > outputs to the HTML stream, redirect can actually change the > URL the end user is receiving, etc.). Server is the > webserver itself. The two main methods you will probably use > are MapPath(Which let's you map a virtual or actual path to a > file) and CreateObject. That CreateObject is the big catch > with ASP and VBScript. In normal VBScript you just call > CreateObject. But with ASP, you must use the Server Object's > CreateObject method to create an object in VBScript. (Because > the object must be created by the webserver). > > That's ASP in a nutshell. The first item I talked about is a > little difficult to figure out from the MSDN, the rest is in > the MSDN, but can still be a little difficult to figure out. > The details on everything (HTML tags, ASP objects, etc.) are > pretty much well explained in the MSDN though. > > The last thing you will need to know about ASP pages versus > Access FE's is how to get data FROM the user. (we already > discussed sending it to them, with the response.write > method). I mentioned the request object. The two methods of > getting data from the user are through forms and > querystrings. A querystring is what follows a URL (after a > ?). So, if you have a URL like > this: http://MyWebsite.com/default.asp?MyValue=10 , you can > retrieve the value of MyValue by using the > request.QueryString method, like this: > > <% > response.write request.QueryString("MyValue") > %> > > If you have an HTML form, and you POST the data: > > > >
> > >
> > > > The resulting page will have a textbox, and a submit button. > Pressing the submit button will send the data within the > MyValue textbox to results.asp. So if results.asp was this: > > <% > response.write request.form("MyValue") > %> > > The results page will output whatever was in the textbox. > > The key difference between a QueryString and a Form is that > QueryStrings are limited by the max length of a URL (which > is, I think, 2048 characters...maybe 1024 characters, not > sure). Where as a form is not limited in the amount of data > that can be submitted. You can also refer to a request > 'variable' by just the request object. request("MyValue") > can be a value in either a QueryString OR a Form. > > Phew, what an email. This was fun to write though. Keep in > mind that ASP doesn't directly like DAO, so write your code > using ADO. Feel free to contact me offlist if you have > specific questions. I may get hammered for the length of > this email, but I think it's pertinent to Access development > on the web! > > Drew > > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, November 26, 2003 9:55 AM > To: accessd > Subject: [AccessD] OT - Getting started with Web development > > > To all, > I'm looking to start writing web pages etc, secure logins, > returning resultsets in tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any > book recommendations ? Thanks in advance for all your help > Paul Hartland _______________________________________________ > 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 sgoodhall at comcast.net Thu Nov 27 09:42:26 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Thu, 27 Nov 2003 10:42:26 -0500 Subject: [AccessD] backend application protection In-Reply-To: <001d01c3b465$6371ba00$3dc2f63f@Desktop> Message-ID: You can lock up the back end using Access Security. It won't stop your user from opening the database, but it will stop them from changing anything. There is a sample application on my web site, www.goodhall.info/steve. Click on the "Useful Software" link and download the first item. All of the usual disclaimers apply. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Wednesday, November 26, 2003 4:37 PM To: AccessD at databaseadvisors.com Subject: [AccessD] backend application protection I have a split (backend on server and front end on individuals PC) access 2000 application that I would like to protect the backend from having people use the shift key bypass option to open the database in design mode and have individuals play with the backend tables. Does anyone have a solution to this? Would I still be able to do design/work myself if needed? I found someone in the database tables today just cruising around out of curiosity Thanks in advance John _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Nov 27 10:08:05 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 27 Nov 2003 10:08:05 -0600 Subject: [AccessD] Accessing Oracle BLOB via MS Access Message-ID: Hi Jack, I also work with Oracle data in Access but have been able to work around the field problem you ask about though luck as I haven't needed any of those fields in my apps. I am wondering if a pass-through query with an instr or the like to reformat the data on teh Oracle side before it get's sent over to the Access side of things would work? In a Pass Trhough query you are using Oracle SQL and you should be able to access those fields that way and if you can format them into regular string type fields through something like the instring function (like a left or a mid function in Access) it may do the job for you. Gary Kjos garykjos at hotmail.com >From: Drawbridge.Jack at ic.gc.ca >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Accessing Oracle BLOB via MS Access >Date: Wed, 26 Nov 2003 09:40:02 -0500 > >I'm hoping someone has an answer or advice on this. We have Oracle 9i with >a >table containing Blob/Clob data types. We also do a lot of data base >queries >against Oracle via Access 97 and Access 2000. (ODBC ADO). > >A new application has the blob/clob. Attempting to access these fields >gives >an error in Access. Does anyone have a technique or samples of how to >access >this Oracle data type with Access 97 or 2000? > >TIA. >Jack >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ online games and music with a high-speed Internet connection! Prices start at less than $1 a day average. https://broadband.msn.com (Prices may vary by service area.) From lytlenj at juno.com Thu Nov 27 10:45:17 2003 From: lytlenj at juno.com (Nancy J Lytle) Date: Thu, 27 Nov 2003 11:45:17 -0500 Subject: [AccessD] Same report 2 different summary cases Message-ID: <20031127.114517.3272.1.lytlenj@juno.com> I have a report that is driving me crazy and I know it is something easy I am just not getting. The report is a summary of purchase requests that have been processed. The information is summarized by FY; ProgramCode; Category and TransactionCode. Each programCode has up to 3 categories and many transactioncodes. Each transactioncode in a category in a program can have more than one purchase request. The problem is in summarizing when there is more than one purchase order within a single transactioncode within a single category within a programcode within a single year. FY 1 Program 1 Category 1 Transaction 1 - each trans has initial funding plus changes in funding that equal the current authorization Purchase Request1 Purchase Request2 Transaction 2 PurchaseRequest3 Category Summary: CurrentAuthorization: Initial Authorization + Changes. The problem is that if the Transaction has more than one PR it adds a Current Authorization amount for each PR there is, which means in this case the Current Authorization would be twice what it should be. Program 2 Category 1 Transaction 1 Purchase Request1 Transaction 2 PurchaseRequest1 Sum for Category - this is the problem area, I can get it work or either multiple PR's per Transaction or one PR per Transaction but not for both situations. Actually I am doing sums for Transaction, Category and Program, but it is only the Category one I am having problems with at this point I would like to use something like the below code as the Control Source for the Category Summary to account for the two different situations but can't seem to get it to work, the error message says missing operator: IIf((Count(qryCSPEL_rptELTEST.PR_PANumber) AS CountOfPR_PANumber FROM qryCSPEL_rptELTEST GROUP BY qryCSPEL_rptELTEST.Transaction, qryCSPEL_rptELTEST.Category, qryCSPEL_rptELTEST.ProgramCode) =1), [CurrentAuth],Sum([CurrentAuth])) Any ideas about the code or how else I could approach the problem TIA, Nancy From andy at minstersystems.co.uk Thu Nov 27 10:55:31 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Nov 2003 16:55:31 -0000 Subject: [AccessD] Same report 2 different summary cases In-Reply-To: <20031127.114517.3272.1.lytlenj@juno.com> Message-ID: <003801c3b507$44e913b0$b274d0d5@minster33c3r25> Nancy I'm sure there'll be other ideas but could you take the Current Authorisation out of the query, leaving the query to list all the purchase requests, and put it into the report as an unbound calculated field with a Dsum? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Nancy J Lytle > Sent: 27 November 2003 16:45 > To: accessd at databaseadvisors.com > Subject: [AccessD] Same report 2 different summary cases > > > I have a report that is driving me crazy and I know it is > something easy I am just not getting. > > The report is a summary of purchase requests that have been > processed. The information is summarized by FY; ProgramCode; > Category and TransactionCode. Each programCode has up to 3 > categories and many transactioncodes. Each transactioncode > in a category in a program can have more than one purchase request. > > The problem is in summarizing when there is more than one > purchase order within a single transactioncode within a > single category within a programcode within a single year. > > > FY 1 > Program 1 > Category 1 > Transaction 1 - each trans has initial funding > plus changes in funding that equal the current authorization > Purchase Request1 > Purchase Request2 > > Transaction 2 > PurchaseRequest3 > > Category Summary: CurrentAuthorization: Initial Authorization + > Changes. The problem is that if the Transaction has more than > one PR it adds a Current Authorization amount for each PR > there is, which means in this case the Current Authorization > would be twice what it should be. > > Program 2 > Category 1 > Transaction 1 > Purchase Request1 > > Transaction 2 > PurchaseRequest1 > > > Sum for Category - this is the problem area, I can get it > work or either multiple PR's per Transaction or one PR per > Transaction but not for both situations. > > Actually I am doing sums for Transaction, Category and > Program, but it is only the Category one I am having problems > with at this point > > I would like to use something like the below code as the > Control Source for the Category Summary to account for the > two different situations but can't seem to get it to work, > the error message says missing operator: > > IIf((Count(qryCSPEL_rptELTEST.PR_PANumber) AS > CountOfPR_PANumber FROM qryCSPEL_rptELTEST GROUP BY > qryCSPEL_rptELTEST.Transaction, qryCSPEL_rptELTEST.Category, > qryCSPEL_rptELTEST.ProgramCode) =1), > [CurrentAuth],Sum([CurrentAuth])) > > Any ideas about the code or how else I could approach the problem > > TIA, > Nancy > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Thu Nov 27 11:19:34 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu, 27 Nov 2003 12:19:34 -0500 Subject: [AccessD] Registry tweaks Message-ID: Have ya ever... wished you had a place to store all the registry tweaks you run across? I have run across so many things where they tell you to go to the registry and set / clear / delete some entry. I can NEVER remember where I found the tweak, but I always remember I was supposed to do some unnamed thing to make something happen. It all started with securing IIS. An article I ran across gives a handful of registry tweaks to tighten up security. Of course I can use regedit but how blas? Well I just whipped out a little database to hold the key / value name / value and a memo about the registry key, as well as a parent "topic" table that lets me organize the entries by a topic of my choosing, complete with memo. At the moment you have to type the registry key / value name / value in, but once you do you can press a button and the entry is created in the registry. It uses a registry class for anyone interested in how to read / write the registry (or doesn't want to write their own) courtesy of a VB Techniques article written by Eric Smith on 3/29/2000. I also use a few withevent classes for those of you who want to see how I use Withevents to run the basic forms. I may (probably will) eventually write code to back up an existing key before modification, read registry chunks into the table etc. Not there yet. I think it would be cool to organize a huge "registry tweak" database where anyone interested gets this database and enters their favorite tweak, then donates their tweaks to a pool. I can take care of merging everyone's tweaks into a single database and get the resulting pool up on my web site. Anyone interested? Anyone know of a public domain db that I can get tweaks already in a db? John W. Colby www.ColbyConsulting.com From john at winhaven.net Thu Nov 27 11:52:57 2003 From: john at winhaven.net (John Bartow) Date: Thu, 27 Nov 2003 11:52:57 -0600 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: Hi John, I actually just keep Reg Tweaks it in my "Code and Tips DB" - which is really lame compared to what you're doing here. I keep everything in there now just because otherwise I have to search too many places to find something that doesn't fit into a category just right. Basically code, tweaks, bugs, articles, and valuable software (for things that I don't keep loaded but use for one thing) Each is broken down into Category, General Area of Application, Description, Item Details (Code, Article Text, etc), Who and where it came from, The date I added it, what product it is used in and when it was last modified. It would be nice to be able to have a Code and Tips DB that was integrated but still had cool functionality like what you propose. We had at one time started a CodeDB list, I haven't seen anything on that list for months so I guess its dead in the water. In any case, I would definitely contribute any Reg tweaks I have to your DB. John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 27, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Registry tweaks > > > Have ya ever... wished you had a place to store all the registry > tweaks you > run across? I have run across so many things where they tell you to go to > the registry and set / clear / delete some entry. I can NEVER remember > where I found the tweak, but I always remember I was supposed to do some > unnamed thing to make something happen. > > It all started with securing IIS. An article I ran across gives a handful > of registry tweaks to tighten up security. Of course I can use > regedit but > how blas? > > Well I just whipped out a little database to hold the key / value name / > value and a memo about the registry key, as well as a parent "topic" table > that lets me organize the entries by a topic of my choosing, complete with > memo. At the moment you have to type the registry key / value > name / value > in, but once you do you can press a button and the entry is created in the > registry. It uses a registry class for anyone interested in how to read / > write the registry (or doesn't want to write their own) courtesy of a VB > Techniques article written by Eric Smith on 3/29/2000. I also use a few > withevent classes for those of you who want to see how I use Withevents to > run the basic forms. > > I may (probably will) eventually write code to back up an existing key > before modification, read registry chunks into the table etc. Not there > yet. > > I think it would be cool to organize a huge "registry tweak" > database where > anyone interested gets this database and enters their favorite tweak, then > donates their tweaks to a pool. I can take care of merging everyone's > tweaks into a single database and get the resulting pool up on my > web site. > > Anyone interested? Anyone know of a public domain db that I can > get tweaks > already in a db? > > John W. Colby > www.ColbyConsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Thu Nov 27 17:06:50 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 28 Nov 2003 00:06:50 +0100 Subject: [AccessD] rotate text References: <200311261552.hAQFqNEU001348@mailhostC.plex.net><000c01c3b438$b3c73110$6001a8c0@dejpolsys><000d01c3b456$962acb80$f4c581d5@pedro> <001001c3b459$cb74e2f0$6001a8c0@dejpolsys> Message-ID: <000d01c3b53b$566651f0$fcc581d5@pedro> I want to thank John, Tom and William, for the suggestions on rotating text. I used the ActiveX from www.lebans.com because it is easy to use and you can use it also on textboxes. Some other programs can only be used on labels. Pedro Janssen From Erwin.Craps at ithelps.be Fri Nov 28 02:38:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 09:38:14 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> Dear Friends NTFS has the posibilty to report to an app when a new file is added or changed in a folder. So instead of screening a folder for new files app, its rather the OS that reports to the app that new or changed files are in a certain folder. Has anyone tried to use this in Access? I supose this is some kind of an API call. This is very true for WXP don't not for W2K. Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From gustav at cactus.dk Fri Nov 28 03:37:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Nov 2003 10:37:27 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> Message-ID: <575846857.20031128103727@cactus.dk> Hi Erwin > NTFS has the posibilty to report to an app when a new file is added or > changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. Look up the archive on these: 2002-02-19: On Timer Events and a repost/quote 2002-04-23: Monitoring Directories If you can achieve better results I would be most interested in learning about it. /gustav From Erwin.Craps at ithelps.be Fri Nov 28 05:33:00 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 12:33:00 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF52@stekelbes.ithelps.local> Ok Thanks, I look into it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 28, 2003 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] NTFS new/changed file report by OS in Access Hi Erwin > NTFS has the posibilty to report to an app when a new file is added > or changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. Look up the archive on these: 2002-02-19: On Timer Events and a repost/quote 2002-04-23: Monitoring Directories If you can achieve better results I would be most interested in learning about it. /gustav _______________________________________________ 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 Nov 28 06:07:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 13:07:05 +0100 (CET) Subject: [AccessD] TransferSpreadsheet, TransferText Message-ID: <4761904.1070021225900.JavaMail.www@wwinf3005> To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland From paul.hartland at fsmail.net Fri Nov 28 06:07:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 13:07:05 +0100 (CET) Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText Message-ID: <4761904.1070021225900.JavaMail.www@wwinf3005> To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 28 08:49:45 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 15:49:45 +0100 Subject: [AccessD] Cut Paste actionto tabsheet looses events. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF5C@stekelbes.ithelps.local> When you cut and past controls to move controls from a tabsheets control (?! don't know correct name in English) they always looses their events.... The code is still there, but in the properties is no longer eventprocedure (?!) marked. So if you click on the tree dots the event is back. But that would take me to go over each control and verify the code if which events exists for which control. Is there a way that Access will put the events in the properties automaticaly? A cut and past is necesary because moving to a tab does not work... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From artful at rogers.com Fri Nov 28 12:53:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Nov 2003 10:53:01 -0800 Subject: [AccessD] Change all Yes/No fields in a database In-Reply-To: <003201c3b21d$2e0e9850$6401a8c0@default> Message-ID: <000001c3b5e0$de1b78f0$6701a8c0@rock> Thanks for this. It's a start, but what I don't see is how I can apply so that I can walk all the tables and all the fields, finding the Yes/No fields without knowing their names beforehand, and then applying the changes. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Sunday, November 23, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = > 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 sgoodhall at comcast.net Fri Nov 28 10:11:48 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Fri, 28 Nov 2003 11:11:48 -0500 Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText In-Reply-To: <4761904.1070021225900.JavaMail.www@wwinf3005> Message-ID: One way that I find useful is to treat the Excel workbook as an ODBC data source. This method will also work with CSV text files. This gets around many of the field type problems that can arise with the transfer methods or with linking worksheets as tables. Code for this is on my web site, http://www.goodhall.info/steve/, click on "Useful Software" and download the second item. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, November 28, 2003 7:07 AM To: dba-vb Cc: accessd Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ 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 Nov 28 10:18:04 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 17:18:04 +0100 (CET) Subject: [AccessD] Visual Basic Question/Access Message-ID: <32122179.1070036284838.JavaMail.www@wwinf3004> To all, I created a VB6 application a while back, I added the Microsoft Access 10.0 Object Library so that I could import spreadsheets & text files using DoCmd.TransferText or DoCmd.TransferSpreadsheet commands. All worked fine so I left it as it was, I have just gone to run it and I get the error message: This Operation Requires An Open Database. I haven?t changed any code and it worked the last time I ran the application. So I guess I need to know either why it may not be working now or how I can get it to work. Or is there another way I can change this. Thanks in advance for any help. Paul Hartland From paul.hartland at fsmail.net Fri Nov 28 10:18:04 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Nov 2003 17:18:04 +0100 (CET) Subject: [AccessD] [dba-VB] Visual Basic Question/Access Message-ID: <32122179.1070036284838.JavaMail.www@wwinf3004> To all, I created a VB6 application a while back, I added the Microsoft Access 10.0 Object Library so that I could import spreadsheets & text files using DoCmd.TransferText or DoCmd.TransferSpreadsheet commands. All worked fine so I left it as it was, I have just gone to run it and I get the error message: This Operation Requires An Open Database. I haven?t changed any code and it worked the last time I ran the application. So I guess I need to know either why it may not be working now or how I can get it to work. Or is there another way I can change this. Thanks in advance for any help. Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From starkey at wanadoo.nl Fri Nov 28 10:48:27 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 28 Nov 2003 17:48:27 +0100 Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText In-Reply-To: <4761904.1070021225900.JavaMail.www@wwinf3005> Message-ID: Hi Paul, sorry no code but in VB you should use the Objectmodel of Excel. Create a new instance and set the worksheet to the file. Then using the objectmodel you're able to read out the specific values and append them to a table using a recordset/SQL. I assume the sheet will always look the same or is used only once. Regards, Eric STarkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: vrijdag 28 november 2003 13:07 To: dba-vb Cc: accessd Subject: [AccessD] [dba-VB] TransferSpreadsheet, TransferText To all, I'm writing a VB application which I need to import an Excel spreadsheet and/or a text file into a database.....Is there a VB command similar to this or does someone have some sample code that I could see to get me started... Thanks in advance Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 28-11-2003 Tested on: 28-11-2003 17:48:26 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From starkey at wanadoo.nl Fri Nov 28 10:57:04 2003 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 28 Nov 2003 17:57:04 +0100 Subject: [AccessD] Visual Basic Question/Access In-Reply-To: <32122179.1070036284838.JavaMail.www@wwinf3004> Message-ID: Paul, I am not sure about this but .. from within VB you are trying to import data using specific VBA Access code. You should probably open an Access database from VB first and then use the Access VBA code to transfer data to the table in Access. If it worked first could it be that you had Access open in the background? Regards Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: vrijdag 28 november 2003 17:18 To: accessd Cc: dba-vb Subject: [AccessD] Visual Basic Question/Access To all, I created a VB6 application a while back, I added the Microsoft Access 10.0 Object Library so that I could import spreadsheets & text files using DoCmd.TransferText or DoCmd.TransferSpreadsheet commands. All worked fine so I left it as it was, I have just gone to run it and I get the error message: This Operation Requires An Open Database. I haven?t changed any code and it worked the last time I ran the application. So I guess I need to know either why it may not be working now or how I can get it to work. Or is there another way I can change this. Thanks in advance for any help. Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 28-11-2003 Tested on: 28-11-2003 17:57:03 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From Developer at UltraDNT.com Fri Nov 28 11:17:58 2003 From: Developer at UltraDNT.com (Developer) Date: Fri, 28 Nov 2003 12:17:58 -0500 Subject: [AccessD] Change all Yes/No fields in a database In-Reply-To: <000001c3b5e0$de1b78f0$6701a8c0@rock> Message-ID: <000401c3b5d3$91e189f0$7001a8c0@COA3> To "walk" all, you need something like: Public Sub allyesno() Dim d As DAO.Database Dim t As DAO.TableDef Dim f As DAO.Field Set d = CurrentDb For Each t In d.TableDefs For Each f In t.Fields If f.Type = dbBoolean Then ' DO STUFF Debug.Print f.Name End If Next 'f Next 't End Sub - hth, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 28, 2003 1:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change all Yes/No fields in a database Thanks for this. It's a start, but what I don't see is how I can apply so that I can walk all the tables and all the fields, finding the Yes/No fields without knowing their names beforehand, and then applying the changes. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Sunday, November 23, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = > 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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 jcolby at colbyconsulting.com Fri Nov 28 11:33:33 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri, 28 Nov 2003 12:33:33 -0500 Subject: [AccessD] Cut Paste actionto tabsheet looses events. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF5C@stekelbes.ithelps.local> Message-ID: Just cut and paste the CODE from the module and the event procedure will automatically be filled in again in the property sheet. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Friday, November 28, 2003 9:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cut Paste actionto tabsheet looses events. When you cut and past controls to move controls from a tabsheets control (?! don't know correct name in English) they always looses their events.... The code is still there, but in the properties is no longer eventprocedure (?!) marked. So if you click on the tree dots the event is back. But that would take me to go over each control and verify the code if which events exists for which control. Is there a way that Access will put the events in the properties automaticaly? A cut and past is necesary because moving to a tab does not work... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Nov 28 12:14:18 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 28 Nov 2003 19:14:18 +0100 Subject: [AccessD] Cut Paste actionto tabsheet looses events. Message-ID: <46B976F2B698FF46A4FE7636509B22DF03CF66@stekelbes.ithelps.local> Sounds logical to me... I'll try it this w.e.. (yeah yeah, I'm one of those guys you see working in the week-end :-(. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, November 28, 2003 6:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Cut Paste actionto tabsheet looses events. Just cut and paste the CODE from the module and the event procedure will automatically be filled in again in the property sheet. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Friday, November 28, 2003 9:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cut Paste actionto tabsheet looses events. When you cut and past controls to move controls from a tabsheets control (?! don't know correct name in English) they always looses their events.... The code is still there, but in the properties is no longer eventprocedure (?!) marked. So if you click on the tree dots the event is back. But that would take me to go over each control and verify the code if which events exists for which control. Is there a way that Access will put the events in the properties automaticaly? A cut and past is necesary because moving to a tab does not work... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 28 12:30:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Nov 2003 10:30:39 -0800 Subject: [AccessD] NTFS new/changed file report by OS in Access References: <46B976F2B698FF46A4FE7636509B22DF03CF52@stekelbes.ithelps.local> Message-ID: <3FC7944F.2020106@shaw.ca> Maybe some clues here Have a look at Creating a Watched Folder with FindChangeNotification http://www.mvps.org/vbnet/index.html?code/fileapi/watchedfolder.htm or this one http://www.mvps.org/vbvision/Sample_Projects.htm#Watch_Directory_Demo Erwin Craps wrote: >Ok Thanks, I look into it. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, November 28, 2003 10:37 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] NTFS new/changed file report by OS in Access > >Hi Erwin > > > >>NTFS has the posibilty to report to an app when a new file is added >>or changed in a folder. >>So instead of screening a folder for new files app, its rather the OS >>that reports to the app that new or changed files are in a certain >>folder. >>Has anyone tried to use this in Access? >>I supose this is some kind of an API call. >>This is very true for WXP don't not for W2K. >> >> > >Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. > >Look up the archive on these: > > 2002-02-19: On Timer Events > >and a repost/quote > > 2002-04-23: Monitoring Directories > >If you can achieve better results I would be most interested in learning about it. > >/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 > > > -- Marty Connelly Victoria, B.C. Canada From clh at christopherhawkins.com Fri Nov 28 16:02:29 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 28 Nov 2003 15:02:29 -0700 Subject: [AccessD] OT: VBScript failing on login Message-ID: <73610-220031152822229302@christopherhawkins.com> Greetings. I wrote a login script for a client some time ago. Part of the script is a function that creates a comma-delimited list of what groups the logging-in user belongs to. The script has been working perfectly until this morning, when the IsMember function started failing. The IT guys have been making configuration changes to various servers, but can't tell me what exactly those changes are. My only clue is that g_oNet.UserDomain comes back with no value. I'm not sure why that would be. All the client machines have the Windows Scripting Host, Windows Management Instrumentation and ADSI installed. There are globals at the top of the script: ' Globals Dim g_oGroupDict Dim g_oNet dim g_sGroupList ...and this function, which is failing, at the bottom: Function IsMember(sGroup) ' Creates a comma-delimited list of groups to which the user belongs. msgbox "IsMember..." & sGroup ' DEBUG Dim sAdsPath Dim oUser Dim oGroup ' Populate dictionary if not already created. If IsEmpty(g_oGroupDict) Then msgbox "GROUPS DICTIONARY IS EMPTY...BUILDING DICTIONARY..." Set g_oGroupDict = CreateObject("Scripting.Dictionary") g_oGroupDict.CompareMode = vbTextCompare sAdsPath = g_oNet.UserDomain & "/" & g_oNet.UserName msgbox "g_oNet.UserDomain = " & g_oNet.UserDomain msgbox "USER PATH = " & sAdsPath ' DEBUG set oUser = GetObject("WinNT://DOMAINABC/" & sUser) For Each oGroup In oUser.Groups msgbox "MEMBER OF: " & oGroup.name ' DEBUG g_oGroupDict.Add oGroup.Name, " - " g_sGroupList = oGroup.Name & ", " & g_sGroupList Next Set oUser = Nothing msgbox "ALL GROUPS = " & g_sGroupList End If IsMember = CBool(g_oGroupDict.Exists(sGroup)) msgbox "End IsMember = " & IsMember msgbox err.number & " - " & err.description,"IsMember" End Function I'm very confounded. The script has been running successfully for weeks now, and no changes have been made (save for the various MsgBox statements I've been using this morning to debug it). The machine this script runs on is a PDC. More info: the script still executes successfully for XP clients. The 98 clients are the ones that cannot execute the script. And the PDC that the users authenticate against is an NT4 machine. I am well and truly stumped. -Christopher- From DWUTKA at marlow.com Fri Nov 28 18:07:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:07:03 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227605@main2.marlow.com> I've thought about writing a long set of articles to put on my website, but I always find something else comes up...know what I mean? Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, November 26, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Getting started with Web development Hi Drew: Have you ever thought about writing a book on the subject...You have finished chapter one. ...I teasing... :-) Very good introductory Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, November 26, 2003 2:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Getting started with Web development Paul, I have been developing ASP project for quite some time now. I think I can narrow down what you REALLY need to know to get started. First of all, before you dig into web development, you MUST understand how a web server and web pages work. It is a whole different ball of wax compared to an Access FE. With an Access FE, you create forms and reports, and each user has a copy (or uses a shared FE) of the front end. This has several drawbacks. First of all, if you have copies of the FE all over, you have to create an update process to push out new changes. If you have a shared FE, then you have to kick everyone out to update the process. On top of that, a user can be anywhere, so there can always be issues of where things are located. One user may have a share mapped to S, while another has it mapped to T. UNC's can handle this, but then there is also the issue of whether people are able to even get to the locations involved. On a web server, all of these issues are moot. The way a web server works, is the client opens their browser and requests a web page. Let's say they go to http://MyWebsite.com. The browser does a few things, one of which is it sends an http request to the server sitting at whatever mywebsite.com resolves too. (http is Hyper Text Transfer Protocol. HTML is Hyper Text Markup Language. So, HTTP is the protocol uses to transport HTML.). The server at the other end gets an http request for it's root directory. Notice the URL doesn't have a specific file (this is a KEY point to remember). That is just fine and dandy, because a webserver can be asked for a page by just the 'folder', since each folder can have a default document setup. In most cases it is index.htm or default.asp, but it can quite frankly be any document you want (or even a list of documents). For our example, let's say it's default.asp. The web server then reads the default.asp page and runs it through it's ISAPI filters. These are filters that cause various things to be done to the HTML that is going to be sent back. Two good examples of this are includes and ASP itself. Includes are when you mark another file or files to be included within the document. So, if you have a header that you want on every page, instead of putting the HTML for that header on every page, you put the header in it's own file, and just include it in all of your pages. The include ISAPI filter then incorporates that HTML in the outgoing HTML. You can also include .asp code, similar to putting code in a module, versus behind every form/report. The ASP ISAPI filter is a little more complex. Instead of just replacing text, it actually 'works' the ASP code on the page. This is the CORE of ASP. What the end user get's, is just the outgoing HTML. They never get the ASP code itself. ASP can either be passive or dynamic. My own terms for the two actions ASP can perform. Passive is when the ASP does something that the users can't see. Dynamic is when ASP does something that the users DO see. For example. If the default.asp page was like this: <% dim cnn dim rs dim strSQL set cnn=server.createobject("ADODB.Connection") set rs=server.createobject("ADODB.Recordset") cnn.Provider="Microsoft.Jet.OLEDB.4.0" cnn.Open "E:\MyDB.mdb" strSQL="SELECT Hit FROM tblHits;" rs.Open strSQL,cnn,1,3 rs.AddNew rs.Fields(0).value=1 rs.Update rs.close set rs=nothing cnn.close set cnn=nothing %> Hello The end user will get a page that says hello, but internally, the ASP page has added a record to a database, in this case, a simple hit counter. This is passive, since the user will always get 'Hello', no matter what they do. The ASP code is doing work, but it's something the end user doesn't see. Dynamic ASP pages are where the output the user sees is directly affected by the ASP code. To do this, you must either use the = symbol (which is a shortcut to have the ASP send something out with the resulting HTML stream), or the response.write procedure. For example, let's have default.asp be this: <% dim strIP strIP=request.ServerVariables("REMOTE_ADDR") %> Your IP Address is: <%=strIP%>
<% response.write "Have a nice day." %> What the user will see is a message that has their IP address, like this: Your IP Address is: 65.65.125.209 Have a nice day. We used the equal since to 'insert' something into the normal HTML with ASP, and then we used response.write to directly output a string into the outgoing HTML stream. The last thing to remember when dealing with a web server is that the end users are getting whatever the web server hands out, the moment they request it. Once they get the resulting HTML stream, and their browser displays the page, there is no longer a connection to the file they requested. That means if you are constantly updating asp pages, the end users will just simply get the 'current' results at the time of their request. No kicking everyone out, etc. Pretty handy. Three more items to cover. Above was the biggie. First of the three. HTML. HTML is actually pretty simple. I personally used Front Page when I started out, to let it do the HTML for me, then after a few months of going back and forth, I just got the hang of it, and I rarely ever use FP for writing the HTML anymore. The two key items to remember with HTML is that everything is written with tags. Some tags are stand alone, such as
(which is a line break), and some tags must have a start and finish ( and , or an easier example and which is for bolding text). Tags also can have properties. For example, an anchor tag (for hyperlinks) is a. Click here to go to Wolfwares.com , and between the start tag, and the closing tag , there is text, which is what the user will see as the text of the hyperlink. The second key item to remember with HTML is that no matter what format you write the HTML in, what the user sees in the browser is determine by the TAGS, not by the HTML code. So if you write: This is a Test The user sees: This is a Test If you write: This is a
Test The user sees: This is a Test Second of the three is a BIG difference between Access and ASP. Access runs it's code on the users processor. This is both good and bad. Bad, because the end user must have Access (or a run-time installed). Also, bad because users on slower machines are going to be delayed longer then users on fast machines. Good, because as long as the end users have the correct software/runtimes, your application should almost be gauranteed to work. With ASP, if you write standard HTML, it doesn't matter what you have the ASP code do. Your ASP code only has to run on the web server. Your clients can be running Pentium 4's, with IE, or Mac's with Netscape, and everyone sees the same results. A client running a 2.6 gigahertz on a 56k modem is going to run your application at the same speed (well, pretty much the same speed) as a client running a 486 66mhz with a 56k modem. In fact, if your pages are light enough on the output (little to no graphics, just plain HTML.....) there isn't going to be much of a difference between a modem user or a broad band user. Text transfers pretty quickly....though you could have slow downs if there is just a ton of text being sent (like combo boxes that have thousands of items in their lists). The final issue with this part is client side scripting. I personally stay away from it like the plague, unless it's for in house projects where I know everyone is using IE. So try to make your applications run strictly with ASP, unless absolutely necessary. Third of the three. The real nuts and bolts of ASP. ASP can be written in JScript or VBScript. Quite frankly I have never bothered to use JScript, since VBScript is practically second nature. When writting ASP, you enclose the ASP code with <% and %> (start and end tags for ASP), and then write away with VBScript. There are two things to remember/research. ASP is VBScript with extra objects (Application, ObjectContext,Request,ASPError,Response,Server,Session). The three you are going to deal with the most are Request, Response and Server. Request gives you access to what you have been 'sent' by the user. It can be used to read cookies, server variables (which include Usernames, passwords,IP Addresses, browser types, etc.), and form data. Response is what you use to send data back to the user (response.write outputs to the HTML stream, redirect can actually change the URL the end user is receiving, etc.). Server is the webserver itself. The two main methods you will probably use are MapPath(Which let's you map a virtual or actual path to a file) and CreateObject. That CreateObject is the big catch with ASP and VBScript. In normal VBScript you just call CreateObject. But with ASP, you must use the Server Object's CreateObject method to create an object in VBScript. (Because the object must be created by the webserver). That's ASP in a nutshell. The first item I talked about is a little difficult to figure out from the MSDN, the rest is in the MSDN, but can still be a little difficult to figure out. The details on everything (HTML tags, ASP objects, etc.) are pretty much well explained in the MSDN though. The last thing you will need to know about ASP pages versus Access FE's is how to get data FROM the user. (we already discussed sending it to them, with the response.write method). I mentioned the request object. The two methods of getting data from the user are through forms and querystrings. A querystring is what follows a URL (after a ?). So, if you have a URL like this: http://MyWebsite.com/default.asp?MyValue=10 , you can retrieve the value of MyValue by using the request.QueryString method, like this: <% response.write request.QueryString("MyValue") %> If you have an HTML form, and you POST the data:
The resulting page will have a textbox, and a submit button. Pressing the submit button will send the data within the MyValue textbox to results.asp. So if results.asp was this: <% response.write request.form("MyValue") %> The results page will output whatever was in the textbox. The key difference between a QueryString and a Form is that QueryStrings are limited by the max length of a URL (which is, I think, 2048 characters...maybe 1024 characters, not sure). Where as a form is not limited in the amount of data that can be submitted. You can also refer to a request 'variable' by just the request object. request("MyValue") can be a value in either a QueryString OR a Form. Phew, what an email. This was fun to write though. Keep in mind that ASP doesn't directly like DAO, so write your code using ADO. Feel free to contact me offlist if you have specific questions. I may get hammered for the length of this email, but I think it's pertinent to Access development on the web! Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, November 26, 2003 9:55 AM To: accessd Subject: [AccessD] OT - Getting started with Web development To all, I'm looking to start writing web pages etc, secure logins, returning resultsets in tables from Access & SQL Server etc. Anyone know any good sites to get me started along with any book recommendations ? Thanks in advance for all your help Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 28 18:09:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:09:48 -0600 Subject: [AccessD] OT - Getting started with Web development Message-ID: <2F8793082E00D4119A1700B0D0216BF802227606@main2.marlow.com> Okay. I know it ties into Access, but what so many new web/Access developers don't realize is that they already have most of the skills required for the development side, they just need the big picture information to get it to all work together. When do I go on about beer or traffic..... (That reminds me, I think I'm going to have a few beers after dealing with traffic tonight!). Susan, what would you need for Many to Many? Drew -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, November 27, 2003 5:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Getting started with Web development No Way you're going to "get hammered". The mods may take a (friendly) stick to you sometimes when you go off on one about beer, traffic or whatever but rest assured we hugely appreciate the efforts you make to help people on this list. And I second Jim's call - Write a book, or at least a series of aticles for Many-To-Many. Susan's tking of another issue soon so this would be a terrific subject. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 26 November 2003 22:55 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT - Getting started with Web development > > > Paul, I have been developing ASP project for quite some time > now. I think I can narrow down what you REALLY need to know > to get started. > > First of all, before you dig into web development, you MUST > understand how a web server and web pages work. It is a > whole different ball of wax compared to an Access FE. With > an Access FE, you create forms and reports, and each user has > a copy (or uses a shared FE) of the front end. This has > several drawbacks. First of all, if you have copies of the > FE all over, you have to create an update process to push out > new changes. If you have a shared FE, then you have to kick > everyone out to update the process. On top of that, a user > can be anywhere, so there can always be issues of where > things are located. One user may have a share mapped to S, > while another has it mapped to T. UNC's can handle this, but > then there is also the issue of whether people are able to > even get to the locations involved. On a web server, all of > these issues are moot. > > The way a web server works, is the client opens their browser > and requests a web page. Let's say they go to > http://MyWebsite.com. The browser does a few things, one of > which is it sends an http request to the server sitting at > whatever mywebsite.com resolves too. (http is Hyper Text > Transfer Protocol. HTML is Hyper Text Markup Language. So, > HTTP is the protocol uses to transport HTML.). The server at > the other end gets an http request for it's root directory. > Notice the URL doesn't have a specific file (this is a KEY > point to remember). That is just fine and dandy, because a > webserver can be asked for a page by just the 'folder', since > each folder can have a default document setup. In most cases > it is index.htm or default.asp, but it can quite frankly be > any document you want (or even a list of documents). For our > example, let's say it's default.asp. The web server then > reads the default.asp page and runs it through it's ISAPI > filters. These are filters that cause various things to be > done to the HTML that is going to be sent back. Two good > examples of this are includes and ASP itself. Includes are > when you mark another file or files to be included within the > document. So, if you have a header that you want on every > page, instead of putting the HTML for that header on every > page, you put the header in it's own file, and just include > it in all of your pages. The include ISAPI filter then > incorporates that HTML in the outgoing HTML. You can also > include .asp code, similar to putting code in a module, > versus behind every form/report. The ASP ISAPI filter is a > little more complex. Instead of just replacing text, it > actually 'works' the ASP code on the page. > > This is the CORE of ASP. What the end user get's, is just > the outgoing HTML. They never get the ASP code itself. ASP > can either be passive or dynamic. My own terms for the two > actions ASP can perform. Passive is when the ASP does > something that the users can't see. Dynamic is when ASP does > something that the users DO see. For example. If the > default.asp page was like this: > > <% > dim cnn > dim rs > dim strSQL > set cnn=server.createobject("ADODB.Connection") > set rs=server.createobject("ADODB.Recordset") > cnn.Provider="Microsoft.Jet.OLEDB.4.0" > cnn.Open "E:\MyDB.mdb" > strSQL="SELECT Hit FROM tblHits;" > rs.Open strSQL,cnn,1,3 > rs.AddNew > rs.Fields(0).value=1 > rs.Update > rs.close > set rs=nothing > cnn.close > set cnn=nothing > %> > > Hello > > > The end user will get a page that says hello, but internally, > the ASP page has added a record to a database, in this case, > a simple hit counter. This is passive, since the user will > always get 'Hello', no matter what they do. The ASP code is > doing work, but it's something the end user doesn't see. > > Dynamic ASP pages are where the output the user sees is > directly affected by the ASP code. To do this, you must > either use the = symbol (which is a shortcut to have the ASP > send something out with the resulting HTML stream), or the > response.write procedure. > > For example, let's have default.asp be this: > > <% > dim strIP > strIP=request.ServerVariables("REMOTE_ADDR") > %> > > Your IP Address is: <%=strIP%>
> <% > response.write "Have a nice day." > %> > > > What the user will see is a message that has their IP > address, like this: > > Your IP Address is: 65.65.125.209 > Have a nice day. > > We used the equal since to 'insert' something into the normal > HTML with ASP, and then we used response.write to directly > output a string into the outgoing HTML stream. > > The last thing to remember when dealing with a web server is > that the end users are getting whatever the web server hands > out, the moment they request it. Once they get the resulting > HTML stream, and their browser displays the page, there is no > longer a connection to the file they requested. That means > if you are constantly updating asp pages, the end users will > just simply get the 'current' results at the time of their > request. No kicking everyone out, etc. Pretty handy. > > Three more items to cover. Above was the biggie. First of > the three. HTML. HTML is actually pretty simple. I > personally used Front Page when I started out, to let it do > the HTML for me, then after a few months of going back and > forth, I just got the hang of it, and I rarely ever use FP > for writing the HTML anymore. The two key items to remember > with HTML is that everything is written with tags. Some tags > are stand alone, such as
(which is a line break), and > some tags must have a start and finish ( and , > or an easier example and which is for bolding text). > Tags also can have properties. For example, an anchor tag > (for hyperlinks) is a. Click > here to go to Wolfwares.com href property, which is the URL of the site/file the > hyperlink points too, then the tag is closed with the >, and > between the start tag, and the closing tag , there is > text, which is what the user will see as the text of the > hyperlink. The second key item to remember with HTML is that > no matter what format you write the HTML in, what the user > sees in the browser is determine by the TAGS, not by the HTML code. > > So if you write: > > > This is a > Test > > > The user sees: > This is a Test > > If you write: > This is a
Test > > The user sees: > This is a > Test > > Second of the three is a BIG difference between Access and > ASP. Access runs it's code on the users processor. This is > both good and bad. Bad, because the end user must have > Access (or a run-time installed). Also, bad because users on > slower machines are going to be delayed longer then users on > fast machines. Good, because as long as the end users have > the correct software/runtimes, your application should almost > be gauranteed to work. With ASP, if you write standard HTML, > it doesn't matter what you have the ASP code do. Your ASP > code only has to run on the web server. Your clients can be > running Pentium 4's, with IE, or Mac's with Netscape, and > everyone sees the same results. A client running a 2.6 > gigahertz on a 56k modem is going to run your application at > the same speed (well, pretty much the same > speed) as a client running a 486 66mhz with a 56k modem. In > fact, if your pages are light enough on the output (little to > no graphics, just plain > HTML.....) there isn't going to be much of a difference > between a modem user or a broad band user. Text transfers > pretty quickly....though you could have slow downs if there > is just a ton of text being sent (like combo boxes that have > thousands of items in their lists). The final issue with > this part is client side scripting. I personally stay away > from it like the plague, unless it's for in house projects > where I know everyone is using IE. So try to make your > applications run strictly with ASP, unless absolutely necessary. > > Third of the three. The real nuts and bolts of ASP. ASP can > be written in JScript or VBScript. Quite frankly I have > never bothered to use JScript, since VBScript is practically > second nature. When writting ASP, you enclose the ASP code > with <% and %> (start and end tags for ASP), and then write > away with VBScript. There are two things to > remember/research. ASP is VBScript with extra objects > (Application, > ObjectContext,Request,ASPError,Response,Server,Session). The > three you are going to deal with the most are Request, > Response and Server. Request gives you access to what you > have been 'sent' by the user. It can be used to read cookies, > server variables (which include Usernames, passwords,IP > Addresses, browser types, etc.), and form data. Response is > what you use to send data back to the user (response.write > outputs to the HTML stream, redirect can actually change the > URL the end user is receiving, etc.). Server is the > webserver itself. The two main methods you will probably use > are MapPath(Which let's you map a virtual or actual path to a > file) and CreateObject. That CreateObject is the big catch > with ASP and VBScript. In normal VBScript you just call > CreateObject. But with ASP, you must use the Server Object's > CreateObject method to create an object in VBScript. (Because > the object must be created by the webserver). > > That's ASP in a nutshell. The first item I talked about is a > little difficult to figure out from the MSDN, the rest is in > the MSDN, but can still be a little difficult to figure out. > The details on everything (HTML tags, ASP objects, etc.) are > pretty much well explained in the MSDN though. > > The last thing you will need to know about ASP pages versus > Access FE's is how to get data FROM the user. (we already > discussed sending it to them, with the response.write > method). I mentioned the request object. The two methods of > getting data from the user are through forms and > querystrings. A querystring is what follows a URL (after a > ?). So, if you have a URL like > this: http://MyWebsite.com/default.asp?MyValue=10 , you can > retrieve the value of MyValue by using the > request.QueryString method, like this: > > <% > response.write request.QueryString("MyValue") > %> > > If you have an HTML form, and you POST the data: > > > >
> > >
> > > > The resulting page will have a textbox, and a submit button. > Pressing the submit button will send the data within the > MyValue textbox to results.asp. So if results.asp was this: > > <% > response.write request.form("MyValue") > %> > > The results page will output whatever was in the textbox. > > The key difference between a QueryString and a Form is that > QueryStrings are limited by the max length of a URL (which > is, I think, 2048 characters...maybe 1024 characters, not > sure). Where as a form is not limited in the amount of data > that can be submitted. You can also refer to a request > 'variable' by just the request object. request("MyValue") > can be a value in either a QueryString OR a Form. > > Phew, what an email. This was fun to write though. Keep in > mind that ASP doesn't directly like DAO, so write your code > using ADO. Feel free to contact me offlist if you have > specific questions. I may get hammered for the length of > this email, but I think it's pertinent to Access development > on the web! > > Drew > > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, November 26, 2003 9:55 AM > To: accessd > Subject: [AccessD] OT - Getting started with Web development > > > To all, > I'm looking to start writing web pages etc, secure logins, > returning resultsets in tables from Access & SQL Server etc. > Anyone know any good sites to get me started along with any > book recommendations ? Thanks in advance for all your help > Paul Hartland _______________________________________________ > 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/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 28 18:12:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:12:55 -0600 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227607@main2.marlow.com> I've done it with VB, so I'm sure it can be done with Access. It works fine in NT 5.0 (and up, so that includes w2k and wxp), but NT requires much more detailed security information, which I never got around to goofing around with. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, November 28, 2003 2:38 AM To: accessd at databaseadvisors.com Subject: [AccessD] NTFS new/changed file report by OS in Access Dear Friends NTFS has the posibilty to report to an app when a new file is added or changed in a folder. So instead of screening a folder for new files app, its rather the OS that reports to the app that new or changed files are in a certain folder. Has anyone tried to use this in Access? I supose this is some kind of an API call. This is very true for WXP don't not for W2K. Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 28 18:15:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Nov 2003 18:15:08 -0600 Subject: [AccessD] NTFS new/changed file report by OS in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227608@main2.marlow.com> Actually, if you use the API (don't remember the name off the top of my head), but it works perfectly, no matter what the traffic is. It even works on remote machines. So you can 'hook' into another NT 5.0 or higher machine and watch all activity on a file/folder/directory. (No timers involved...though it does use API timer events not to continuously monitor a drive, but instead to force the loop.) Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, November 28, 2003 3:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] NTFS new/changed file report by OS in Access Hi Erwin > NTFS has the posibilty to report to an app when a new file is added or > changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. Yes, J?rgen Welz helped me with this for Win2000 but it appears to only work reliably for changes "now and then", not for busy traffic. Look up the archive on these: 2002-02-19: On Timer Events and a repost/quote 2002-04-23: Monitoring Directories If you can achieve better results I would be most interested in learning about it. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 29 04:22:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Nov 2003 11:22:06 +0100 Subject: [AccessD] NTFS new/changed file report by OS in Access In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF03CF51@stekelbes.ithelps.local> Message-ID: <1586354186.20031129112206@cactus.dk> Hi Erwin Not quite sure what you wish to achieve but here's another option for watching file changes: http://tailforwin32.sourceforge.net/ /gustav > NTFS has the posibilty to report to an app when a new file is added or > changed in a folder. > So instead of screening a folder for new files app, its rather the OS > that reports to the app that new or changed files are in a certain > folder. > Has anyone tried to use this in Access? > I supose this is some kind of an API call. > This is very true for WXP don't not for W2K. From john at winhaven.net Sat Nov 29 10:51:04 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Nov 2003 10:51:04 -0600 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: JC, Not a lot of posts lately so I'm just a wondering if I'm seeing them all. Has anyone else responded to this post? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 27, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Registry tweaks > > > Have ya ever... wished you had a place to store all the registry > tweaks you > run across? I have run across so many things where they tell you to go to > the registry and set / clear / delete some entry. I can NEVER remember > where I found the tweak, but I always remember I was supposed to do some > unnamed thing to make something happen. > > It all started with securing IIS. An article I ran across gives a handful > of registry tweaks to tighten up security. Of course I can use > regedit but > how blas? > > Well I just whipped out a little database to hold the key / value name / > value and a memo about the registry key, as well as a parent "topic" table > that lets me organize the entries by a topic of my choosing, complete with > memo. At the moment you have to type the registry key / value > name / value > in, but once you do you can press a button and the entry is created in the > registry. It uses a registry class for anyone interested in how to read / > write the registry (or doesn't want to write their own) courtesy of a VB > Techniques article written by Eric Smith on 3/29/2000. I also use a few > withevent classes for those of you who want to see how I use Withevents to > run the basic forms. > > I may (probably will) eventually write code to back up an existing key > before modification, read registry chunks into the table etc. Not there > yet. > > I think it would be cool to organize a huge "registry tweak" > database where > anyone interested gets this database and enters their favorite tweak, then > donates their tweaks to a pool. I can take care of merging everyone's > tweaks into a single database and get the resulting pool up on my > web site. > > Anyone interested? Anyone know of a public domain db that I can > get tweaks > already in a db? > > John W. Colby > www.ColbyConsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Sat Nov 29 11:22:36 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat, 29 Nov 2003 12:22:36 -0500 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: Nope. That happens though. There may not be a lot of interest. Plus it's a holiday. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, November 29, 2003 11:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Registry tweaks JC, Not a lot of posts lately so I'm just a wondering if I'm seeing them all. Has anyone else responded to this post? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Thursday, November 27, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Registry tweaks > > > Have ya ever... wished you had a place to store all the registry > tweaks you > run across? I have run across so many things where they tell you to go to > the registry and set / clear / delete some entry. I can NEVER remember > where I found the tweak, but I always remember I was supposed to do some > unnamed thing to make something happen. > > It all started with securing IIS. An article I ran across gives a handful > of registry tweaks to tighten up security. Of course I can use > regedit but > how blas? > > Well I just whipped out a little database to hold the key / value name / > value and a memo about the registry key, as well as a parent "topic" table > that lets me organize the entries by a topic of my choosing, complete with > memo. At the moment you have to type the registry key / value > name / value > in, but once you do you can press a button and the entry is created in the > registry. It uses a registry class for anyone interested in how to read / > write the registry (or doesn't want to write their own) courtesy of a VB > Techniques article written by Eric Smith on 3/29/2000. I also use a few > withevent classes for those of you who want to see how I use Withevents to > run the basic forms. > > I may (probably will) eventually write code to back up an existing key > before modification, read registry chunks into the table etc. Not there > yet. > > I think it would be cool to organize a huge "registry tweak" > database where > anyone interested gets this database and enters their favorite tweak, then > donates their tweaks to a pool. I can take care of merging everyone's > tweaks into a single database and get the resulting pool up on my > web site. > > Anyone interested? Anyone know of a public domain db that I can > get tweaks > already in a db? > > John W. Colby > www.ColbyConsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Nov 29 14:01:54 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Nov 2003 14:01:54 -0600 Subject: [AccessD] Registry tweaks In-Reply-To: Message-ID: Thanks, just checking. Are you on the Eng-Lib list? Maybe we could take it over there and continue. I'm certainly willing to give some effort. jb > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Saturday, November 29, 2003 11:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Registry tweaks > > > Nope. That happens though. There may not be a lot of interest. > Plus it's > a holiday. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Saturday, November 29, 2003 11:51 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Registry tweaks > > > JC, > Not a lot of posts lately so I'm just a wondering if I'm seeing them all. > > Has anyone else responded to this post? > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > > Sent: Thursday, November 27, 2003 11:20 AM > > To: AccessD > > Subject: [AccessD] Registry tweaks > > > > > > Have ya ever... wished you had a place to store all the registry > > tweaks you > > run across? I have run across so many things where they tell > you to go to > > the registry and set / clear / delete some entry. I can NEVER remember > > where I found the tweak, but I always remember I was supposed to do some > > unnamed thing to make something happen. > > > > It all started with securing IIS. An article I ran across > gives a handful > > of registry tweaks to tighten up security. Of course I can use > > regedit but > > how blas? > > > > Well I just whipped out a little database to hold the key / value name / > > value and a memo about the registry key, as well as a parent > "topic" table > > that lets me organize the entries by a topic of my choosing, > complete with > > memo. At the moment you have to type the registry key / value > > name / value > > in, but once you do you can press a button and the entry is > created in the > > registry. It uses a registry class for anyone interested in > how to read / > > write the registry (or doesn't want to write their own) courtesy of a VB > > Techniques article written by Eric Smith on 3/29/2000. I also use a few > > withevent classes for those of you who want to see how I use > Withevents to > > run the basic forms. > > > > I may (probably will) eventually write code to back up an existing key > > before modification, read registry chunks into the table etc. Not there > > yet. > > > > I think it would be cool to organize a huge "registry tweak" > > database where > > anyone interested gets this database and enters their favorite > tweak, then > > donates their tweaks to a pool. I can take care of merging everyone's > > tweaks into a single database and get the resulting pool up on my > > web site. > > > > Anyone interested? Anyone know of a public domain db that I can > > get tweaks > > already in a db? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tinanfields at torchlake.com Sat Nov 29 14:02:35 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 29 Nov 2003 15:02:35 -0500 Subject: [AccessD] Registry tweaks References: Message-ID: <3FC8FB5B.2090607@torchlake.com> Well, here's a response: YAY!!!!! Like John B, I try to capture items I know will be of use to me sometime, and stash them in a folder somewhere - some things actually get into a database - some just sit in text files stashed in the folder. Clearly, there is a need for something more robust, more integrated, more creative. Thank you, JC for getting it started. I will be very happy to contribute any little "tweak" I run across that you don't already have. Now, back to the left-over turkey, Tina John W. Colby wrote: >Nope. That happens though. There may not be a lot of interest. Plus it's >a holiday. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow >Sent: Saturday, November 29, 2003 11:51 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Registry tweaks > > >JC, >Not a lot of posts lately so I'm just a wondering if I'm seeing them all. > >Has anyone else responded to this post? > >JB > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby >>Sent: Thursday, November 27, 2003 11:20 AM >>To: AccessD >>Subject: [AccessD] Registry tweaks >> >> >>Have ya ever... wished you had a place to store all the registry >>tweaks you >>run across? I have run across so many things where they tell you to go to >>the registry and set / clear / delete some entry. I can NEVER remember >>where I found the tweak, but I always remember I was supposed to do some >>unnamed thing to make something happen. >> >>It all started with securing IIS. An article I ran across gives a handful >>of registry tweaks to tighten up security. Of course I can use >>regedit but >>how blas? >> >>Well I just whipped out a little database to hold the key / value name / >>value and a memo about the registry key, as well as a parent "topic" table >>that lets me organize the entries by a topic of my choosing, complete with >>memo. At the moment you have to type the registry key / value >>name / value >>in, but once you do you can press a button and the entry is created in the >>registry. It uses a registry class for anyone interested in how to read / >>write the registry (or doesn't want to write their own) courtesy of a VB >>Techniques article written by Eric Smith on 3/29/2000. I also use a few >>withevent classes for those of you who want to see how I use Withevents to >>run the basic forms. >> >>I may (probably will) eventually write code to back up an existing key >>before modification, read registry chunks into the table etc. Not there >>yet. >> >>I think it would be cool to organize a huge "registry tweak" >>database where >>anyone interested gets this database and enters their favorite tweak, then >>donates their tweaks to a pool. I can take care of merging everyone's >>tweaks into a single database and get the resulting pool up on my >>web site. >> >>Anyone interested? Anyone know of a public domain db that I can >>get tweaks >>already in a db? >> >>John W. Colby >>www.ColbyConsulting.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From sgoodhall at comcast.net Sat Nov 29 17:31:12 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 29 Nov 2003 18:31:12 -0500 Subject: [AccessD] Table Linking in Access 2000 In-Reply-To: <3FC8FB5B.2090607@torchlake.com> Message-ID: I know that some of you picked up my Access97 routines that dynamically link to back-end tables because I get an occasional question. I finally got around to rewriting them for Access2000, that is to use ADO rather than DAO to create the links. I have posted a sample database and documentation to my web site, www.goodhall.info/steve. Click on "Useful Software" on the left frame and download the first item. Feel free to use these subject to the specified conditions which mostly consist of retaining the Copyright notices. As usual, there is no warranty expressed or implied. Regards, Steve Goodhall From askolits at ot.com Sat Nov 29 17:34:35 2003 From: askolits at ot.com (John Skolits) Date: Sat, 29 Nov 2003 18:34:35 -0500 Subject: [AccessD] Archive Ooops.... In-Reply-To: Message-ID: Gee, and I thought it was just me and my browser. Great! Thanks for fixin' it. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Tuesday, November 25, 2003 8:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive Ooops.... Thanks for staying on top of that Drew, the searchable archives are a great asset to this community. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Tuesday, November 25, 2003 5:22 PM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Archive Ooops.... > > > Apparently my 'indexer' hasn't been running since late september. So > searches on messages since then would have produced nothing. Fixed the > problem earlier today, and now the indexing is all caught up. Oooops. > > 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 artful at rogers.com Sun Nov 30 16:32:17 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Nov 2003 14:32:17 -0800 Subject: [AccessD] Change all Yes/No fields in a database In-Reply-To: <000401c3b5d3$91e189f0$7001a8c0@COA3> Message-ID: <000001c3b791$d7319e40$6501a8c0@rock> Thanks! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Developer Sent: Friday, November 28, 2003 9:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change all Yes/No fields in a database To "walk" all, you need something like: Public Sub allyesno() Dim d As DAO.Database Dim t As DAO.TableDef Dim f As DAO.Field Set d = CurrentDb For Each t In d.TableDefs For Each f In t.Fields If f.Type = dbBoolean Then ' DO STUFF Debug.Print f.Name End If Next 'f Next 't End Sub - hth, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, November 28, 2003 1:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change all Yes/No fields in a database Thanks for this. It's a start, but what I don't see is how I can apply so that I can walk all the tables and all the fields, finding the Yes/No fields without knowing their names beforehand, and then applying the changes. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Sunday, November 23, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change all Yes/No fields in a database Arthur, This works in A97, DAO Since I have made the first field "0;Yes", then "Yes" becomes the default value for the field. Public Function fnYesNo2CBO() Dim db As DAO.Database Set db = CurrentDb SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "DisplayControl", 3, 111, 111 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSourceType", dbText, "Value List", "Value List" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "RowSource", dbText, "0;Yes;1;No", "0;Yes;1;No" SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnCount", 3, 2, 2 SetAccessProperty db.TableDefs("tblTest").Fields("testCBO"), _ "ColumnWidths", dbText, "0, 720", "0, 720" Set db = Nothing End Function Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, _ Optional SetToWhat As String) As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Sunday, November 23, 2003 7:38 PM Subject: [AccessD] Change all Yes/No fields in a database > I've been working on this database lately, and I made all the Yes/No > fields CheckBoxes. Turns out the client hates CheckBoxes and wants > Yes/No combos instead. So I need a routine to walk every table and > change the properties of every Yes/No field from CheckBox to Combo + > Value List, "-1","Yes", "0","No", column count = 2, column widths = > 0". > > Anyone got such a routine or something close that I can rework to suit > my needs? > > 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