From marklbreen at gmail.com Wed Nov 1 02:09:20 2006 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 1 Nov 2006 08:09:20 +0000 Subject: [AccessD] Raid controller In-Reply-To: <000601c6fd28$9e622870$657aa8c0@m6805> References: <000601c6fd28$9e622870$657aa8c0@m6805> Message-ID: Hi John, And do you host your motherboard in the case also, or just the disks? In fact, is that even possible to have the main PC (and controller) in one box and the disks in a remote box? You mention that the two power supplies are not included. So, does that mean that you are only using one? Surely you must be near the capacity of the PSU? Anyway, I am sitting in Ireland in admiration of your big disk ;) wishing I had only like that. Mark On 31/10/06, JWColby wrote: > > Mark, > > This is a Lian Li case: > > http://www.newegg.com/product/product.asp?item=N82E16811112108 > > It has dedicated space for 12 3.5" disks down in the bottom of the case as > well as two power supplies (not included). There is also space for SEVEN > 5.25" drives up in the front of the case, forward of the > motherboard. This > case is... shall we say "large". > > I really like the case. > > 8~) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, October 31, 2006 12:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Raid controller > > Hi John, > > What kind of box are you hosting the disks in, seven disks is quite a few, > especially if you have a CD drive or two also. > > Do you have a seperate tower just for disks? or does your existing case > have enough space? > > Congrats on the controller and disks, sounds great, > > > Mark > > > > > On 31/10/06, William Hindman wrote: > > > > ...thanks for the tip JC ...as a matter of fact I was about to look > > into just that for a client :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "JWColby" > > To: "'Access Developers discussion and problem solving'" > > ; "'Discussion of Hardware and Software > > issues'" ; > > > > Sent: Monday, October 30, 2006 9:00 PM > > Subject: [AccessD] Raid controller > > > > > > >I purchased an Areca 1220 SATA 8 disk raid controller, with (7) > > >Seagate > > >10.1 > > > 320 gb hard disks to create a raid system with. One of the disks > > >was damaged and had to be RMAd. I went ahead and created a Raid 5 > > >array > > using > > > the 6 remaining drives. This gave me about 1.0 terra bytes on one > > volume > > > and about 370 gb on another volume, both Raid 5. I just received > > > the > > RMAd > > > drive back, popped it in, added it to the array and told the > > > controller > > to > > > convert to Raid 6 for both volumes. That was early this afternoon, > > > and the controller has finished the conversion of the large array to > > > Raid 6 and > > is > > > about 50% finished converting the smaller array to Raid 6, all > > > consuming ZERO CPU and doing so while I was using the arrays pretty > > > heavily. The controller is also very fast. Raid 5/6 writes are > > > about the speed of > > the > > > individual drives and reads are much faster (~raid 0 speed according > > > to > > > Areca) > > > > > > These disks are about $95 from Newegg and can be purchased with free > > > shipping if you keep your eyes open so that is a real $95 / disk. > > > This particular controller is currently about $500. This made my > > > actual cost about $1200 for 1400gb in a Raid 6 config. > > > > > > Someday I hope that the Seagate 10.1 750 gb drives drop into this > > > price range in which case I will upgrade. ATM those drives are > > > about > > $375-$400 > > > each which makes them out of my range. > > > > > > I am impressed with this Areca controller which is the point of this > > > email. > > > Areca makes controllers that handle various numbers of disks. The > > > controller uses a PCI-X8 connection to the CPU so you must have a > > > PCI-X capable motherboard. > > > > > > If you need more disks, they also have a 12, 16 and 24 disk > > > controller, for more money of course. > > > > > > Nice controller so far! > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Nov 1 06:57:04 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 1 Nov 2006 07:57:04 -0500 Subject: [AccessD] Raid controller In-Reply-To: Message-ID: <002801c6fdb5$3b6f0fc0$657aa8c0@m6805> Mark, The case comes without any power supply, you purchase and install whatever PS you desire. Apparently there are supplies that have a cable between them such that they "hot fail over" in case a PS dies? Or something. I purchased this PS for the system: http://www.newegg.com/Product/Product.asp?Item=N82E16817121012 It is a six hundred watt supply and appears to supply plenty of current for everything. I did have to get splitters to get that many (and more) power connectors for SATA. The PS manufacturers haven't quite caught up to reality yet and still provide most of their connections for the old style IDE drive power. Anyway, yes, the motherboard is in that chassis as well. It is just a normal, if rather oversized chassis. It has 4 120 mm fans included and keeps everything well ventilated. A very nice case. As for the "big disk", it is indeed nice. These 320gb Seagates are cheap, at least here in the states. At $95 each delivered to my door, they are the lowest price / mb around, the issue is getting them all put together into a solidly functioning raid array. I purchased this ASUS motherboard for the system: http://www.newegg.com/Product/Product.asp?Item=N82E16813131011 Which to be honest I am not thrilled with. It works fine but it turns out that the MB manufacturers in general focus on "enthusiasts" which equates to gamers, intent on over clocking. I need other things, like a stable, FAST raid 5 (at least) array. The Raid controller on this MB just doesn't work. I got Raid 5 going and I managed to get it stable, but it was dog slow, down around 5 mbytes / sec write time which is unusable. That is why I went looking for the raid card solution. The Areca is expensive but it is very fast. It has a dedicated Intel processor and about 128 mbytes of ram on the raid card so the card itself handles all of the overhead of generating the Raid striping stuff. It is really too bad it is so expensive, though they are marketing to IT admins with a budget (not me ;-). I would have gone with the 12 or even the 16 disk controller but the extra $450 just wasn't there, and since I didn't have to have it now... The nice thing is that it just worked. I plugged it in, plugged the drives in, booted up, went in the bios and created the drive, waited several hours while it initialized and then it all just worked. And FAST! Writes up around 80 mbytes / sec and reads up around 300 mbytes / sec. This thing is a screamer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, November 01, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raid controller Hi John, And do you host your motherboard in the case also, or just the disks? In fact, is that even possible to have the main PC (and controller) in one box and the disks in a remote box? You mention that the two power supplies are not included. So, does that mean that you are only using one? Surely you must be near the capacity of the PSU? Anyway, I am sitting in Ireland in admiration of your big disk ;) wishing I had only like that. Mark On 31/10/06, JWColby wrote: > > Mark, > > This is a Lian Li case: > > http://www.newegg.com/product/product.asp?item=N82E16811112108 > > It has dedicated space for 12 3.5" disks down in the bottom of the > case as well as two power supplies (not included). There is also > space for SEVEN 5.25" drives up in the front of the case, forward of > the motherboard. This case is... shall we say "large". > > I really like the case. > > 8~) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, October 31, 2006 12:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Raid controller > > Hi John, > > What kind of box are you hosting the disks in, seven disks is quite a > few, especially if you have a CD drive or two also. > > Do you have a seperate tower just for disks? or does your existing > case have enough space? > > Congrats on the controller and disks, sounds great, > > > Mark > > > > > On 31/10/06, William Hindman wrote: > > > > ...thanks for the tip JC ...as a matter of fact I was about to look > > into just that for a client :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "JWColby" > > To: "'Access Developers discussion and problem solving'" > > ; "'Discussion of Hardware and > > Software issues'" ; > > > > Sent: Monday, October 30, 2006 9:00 PM > > Subject: [AccessD] Raid controller > > > > > > >I purchased an Areca 1220 SATA 8 disk raid controller, with (7) > > >Seagate > > >10.1 > > > 320 gb hard disks to create a raid system with. One of the disks > > >was damaged and had to be RMAd. I went ahead and created a Raid 5 > > >array > > using > > > the 6 remaining drives. This gave me about 1.0 terra bytes on one > > volume > > > and about 370 gb on another volume, both Raid 5. I just received > > > the > > RMAd > > > drive back, popped it in, added it to the array and told the > > > controller > > to > > > convert to Raid 6 for both volumes. That was early this > > > afternoon, and the controller has finished the conversion of the > > > large array to Raid 6 and > > is > > > about 50% finished converting the smaller array to Raid 6, all > > > consuming ZERO CPU and doing so while I was using the arrays > > > pretty heavily. The controller is also very fast. Raid 5/6 > > > writes are about the speed of > > the > > > individual drives and reads are much faster (~raid 0 speed > > > according to > > > Areca) > > > > > > These disks are about $95 from Newegg and can be purchased with > > > free shipping if you keep your eyes open so that is a real $95 / disk. > > > This particular controller is currently about $500. This made my > > > actual cost about $1200 for 1400gb in a Raid 6 config. > > > > > > Someday I hope that the Seagate 10.1 750 gb drives drop into this > > > price range in which case I will upgrade. ATM those drives are > > > about > > $375-$400 > > > each which makes them out of my range. > > > > > > I am impressed with this Areca controller which is the point of > > > this email. > > > Areca makes controllers that handle various numbers of disks. The > > > controller uses a PCI-X8 connection to the CPU so you must have a > > > PCI-X capable motherboard. > > > > > > If you need more disks, they also have a 12, 16 and 24 disk > > > controller, for more money of course. > > > > > > Nice controller so far! > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 1 08:46:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 01 Nov 2006 15:46:03 +0100 Subject: [AccessD] Limit Text in Field Message-ID: Hi Arthur Oh, this _is_ a big deal and I'm glad you brought attention to it. An application should be user-friendly. /gustav >>> artful at rogers.com 01-11-2006 05:16 >>> Slick. My only criticism is that it waits for the user to go too far, rather than cautioning the user that he is about to go too far. (I tend toward guiding users to correctness rather than busting them for errors.) Perhaps your code could be modified to write the [length] + " of 255 characters allowed" to the status bar, so the user anticipates the error rather than commits it. Not a big deal. I like your solution. One of my mantras is, "Make the user feel like a dancer." That means preclude error to the best of my ability, and then of course deal with it should it occur. A. ----- Original Message ---- From: John Bartow To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 1:12:03 PM Subject: Re: [AccessD] Limit Text in Field Hi Virginia, FWIW, here's the on change event procedure that I use with a fax form on which the "regarding" line field (Text 255) is not long enough for a huge description but the txtMessage field (Memo) is: Private Sub txtRegarding_Change() 'Comment: prevents user form adding too much text to the regarding line On Error GoTo Form_Open_ERR If Len(Me.txtRegarding.Text) > 255 Then MsgBox "The regarding line can only contain 255 characters, " & _ "please use the message box for longer text." Me.txtRegarding.Text = Left(Me.txtRegarding.Text, 255) End If Form_Open_EXIT: Exit Sub Form_Open_ERR: MsgBox Err.Description Resume Form_Open_EXIT End Sub HTH John B. From Gustav at cactus.dk Wed Nov 1 09:22:27 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 01 Nov 2006 16:22:27 +0100 Subject: [AccessD] checkbox concatenation Message-ID: Hi William Sorry for the incomplete comment. Of course you can do bitmapping in Access VBA, even in SQL, it is just not very fast as you miss a bitmapped index to search on - that's what Cach? (as one example) has. For some inspiration on SQL code, read up the message "Math problem" of 2003-10-15: http://databaseadvisors.com/mailman/htdig/accessd/2003-October/014778.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 21:08 >>> ...oh come on guys! ...first its my dictionary and if I say it grows logarithmically then that's what it does, eh. ...geometrically! ...balderdash, I say ...where is Charlotte when we need her to maintain discipline? :) ...and then both Gustav and Jim do more than hint that good old Access isn't up to bit mapping this :( ...and of course Stuart takes a gratuitous swing at my joins ...see above ...its MY join, eh! ...sheesh ...if this were the old AccessD ...long before daddyhood mellowed the hell out of JC, I'd just have him Colbyize the lot of you! ...and here I am, still as dazed and confused as when I first posted ...early Alzheimer's anyone? ...thanks :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 31, 2006 1:46 PM Subject: Re: [AccessD] checkbox concatenation ...and a further comment: If the table was growing *logarithmically*, William would be delighted! The problem is that it is growing *geometrically*. Reading the Cache doc, a bitmap index may just do the trick, especially as the max number of events is probably not that large. Since this is a sparse array problem, it may also work well with an R-tree (as found in PostgreSQL). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 31, 2006 9:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkbox concatenation Hi William That would require an engine capable of bit-mapped indexing and searching. At least one can do this, InterSystems Cach?: http://www.intersystems.com/cache/ http://www.intersystems.com/cache/technology/components/bitmap/index.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 15:47:51 >>> ...given four tables tblContact pk ContactID fk CompanyId tblCompany pk CompanyID tbEvent pk EventID tblEventReg pkERID fk EventID fk CompanyD fk ContactID ...tblEventRegistration is a join table to show which contacts from which companies attended which events. ...given that thousands of contacts attend each event, tblEventReg is growing logarithmically Q: is it feasible to use a numeric field in the tblContacts to replace tblEventReg by using event checkboxes instead, assigning them a numeric value by show and then mathematically summing them in the numeric field ...thus using one integer to represent every event attended by that contact? ...yes/no? ...pros/cons? William Hindman From Gustav at cactus.dk Wed Nov 1 09:39:16 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 01 Nov 2006 16:39:16 +0100 Subject: [AccessD] Posters from Microsoft Message-ID: Hi all Yes, posters: - Developer Roadmap for the 2007 Microsoft Office System. Download this poster to view a developer roadmap for the 2007 Microsoft Office system programs, tools, services, and servers. - Microsoft Office InfoPath 2007 Managed Object Model Poster. Download this poster and get a deep dive into some of the new and enhanced objects in the InfoPath 2007 managed object model. - Developer Map for SharePoint Products and Technologies Poster. Download this poster and discover the developer roadmap for Microsoft SharePoint Products and Technologies. http://www.microsoft.com/downloads/details.aspx?familyid=771aeb45-9d27-4d1f-acd1-9b950637d64e&displaylang=en#filelist /gustav From jwcolby at colbyconsulting.com Wed Nov 1 09:48:00 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 1 Nov 2006 10:48:00 -0500 Subject: [AccessD] checkbox concatenation In-Reply-To: Message-ID: <002f01c6fdcd$1cdbd5d0$657aa8c0@m6805> LOL. You must forget what daddyhood is like William. Mellowing it is not! Out the door without a parachute I say. Back to your problem, what is the issue, simply the size of the eventreg table? Is it up in the millions of records? Hundreds of millions? It seems unlikely that it really matters as long as it is properly indexed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 01, 2006 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkbox concatenation Hi William Sorry for the incomplete comment. Of course you can do bitmapping in Access VBA, even in SQL, it is just not very fast as you miss a bitmapped index to search on - that's what Cach? (as one example) has. For some inspiration on SQL code, read up the message "Math problem" of 2003-10-15: http://databaseadvisors.com/mailman/htdig/accessd/2003-October/014778.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 21:08 >>> ...oh come on guys! ...first its my dictionary and if I say it grows logarithmically then that's what it does, eh. ...geometrically! ...balderdash, I say ...where is Charlotte when we need her to maintain discipline? :) ...and then both Gustav and Jim do more than hint that good old Access isn't up to bit mapping this :( ...and of course Stuart takes a gratuitous swing at my joins ...see above ...its MY join, eh! ...sheesh ...if this were the old AccessD ...long before daddyhood mellowed the hell out of JC, I'd just have him Colbyize the lot of you! ...and here I am, still as dazed and confused as when I first posted ...early Alzheimer's anyone? ...thanks :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 31, 2006 1:46 PM Subject: Re: [AccessD] checkbox concatenation ...and a further comment: If the table was growing *logarithmically*, William would be delighted! The problem is that it is growing *geometrically*. Reading the Cache doc, a bitmap index may just do the trick, especially as the max number of events is probably not that large. Since this is a sparse array problem, it may also work well with an R-tree (as found in PostgreSQL). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 31, 2006 9:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkbox concatenation Hi William That would require an engine capable of bit-mapped indexing and searching. At least one can do this, InterSystems Cach?: http://www.intersystems.com/cache/ http://www.intersystems.com/cache/technology/components/bitmap/index.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 15:47:51 >>> ...given four tables tblContact pk ContactID fk CompanyId tblCompany pk CompanyID tbEvent pk EventID tblEventReg pkERID fk EventID fk CompanyD fk ContactID ...tblEventRegistration is a join table to show which contacts from which companies attended which events. ...given that thousands of contacts attend each event, tblEventReg is growing logarithmically Q: is it feasible to use a numeric field in the tblContacts to replace tblEventReg by using event checkboxes instead, assigning them a numeric value by show and then mathematically summing them in the numeric field ...thus using one integer to represent every event attended by that contact? ...yes/no? ...pros/cons? William Hindman -- 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 1 10:16:48 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Nov 2006 08:16:48 -0800 Subject: [AccessD] Ideas wanted for Office project requirements In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116AC6A@ddi-01.DDI.local> Message-ID: I rebuilt a system somewhat like that a few years back for the US Bureau of Reclamation. They produced a report annually (well, it was SUPPOSED to be annually) by extracting data from a mainframe dumping it into Excel, copying and pasting into a Word doc and then (theoretically) totalling the whole thing up and printing an 80+ page report as mandated by statute. You'd be better off giving the managers a run-time Access app to enter their data, with a button to push to transmit it to a central location. Of course, it would be better if they simply linked to a central back end, but I'm assuming for the moment that isn't feasible. Then you need a single app to import the data and redistribute it into the appropriate tables. Then just create the report in Access or do a merge with Word if you want pretty formatting. You could certainly do it using Office automation, but you would never have the central data store at hand should a report need tweaking, and you would have to find a way to cross-foot and validate any values month by month. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Tuesday, October 31, 2006 6:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ideas wanted for Office project requirements Hi all, Slightly OT. I have a client who wants to automate a report writing process. Currently they have about 30 managers who once a month send either a Excel workbook or Word doc to some lucky person. He/she then extracts the contents of each file and pastes it into a Word doc to be made into a report. I don't do much with Office these days so maybe someone will have an easy solution??? Step 1 My favoured idea so far is to create a Com-addin for Word/Excel that will take selected text/objects and paste them into a blank file, the copy the file to a file share. Step 2 the person who collates the files has another addin that loops through the contents of the share dir and opens and copies the contents into fields/bookmarks(?) in a Word doc. A 3rd component may be needed to sync the whole schmoozle. I wonder how sturdy a process like this would be... All responses welcome (except abuse... lol) cheers Michael M -- 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 1 11:34:05 2006 From: john at winhaven.net (John Bartow) Date: Wed, 1 Nov 2006 11:34:05 -0600 Subject: [AccessD] A2k3 system.mdw In-Reply-To: <021101c6fd0e$16570910$1402a8c0@ScuzzPaq> Message-ID: <008101c6fddb$ee2512b0$1402a8c0@ScuzzPaq> OK then, I guess not. Can someone email me theirs? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, October 31, 2006 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2k3 system.mdw When I open my System.mdw file with A2k3 it asks whether I want to open or convert it. This makes me I think I overwrote my default system.mdw file. I don't use Access's security but I would like to have the correct version on my system. Anyone know an easy way to extract the original form the setup disk? -- 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 1 11:45:52 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Nov 2006 11:45:52 -0600 Subject: [AccessD] A2k3 system.mdw In-Reply-To: <10646833.1162402838723.JavaMail.root@sniper30> Message-ID: <000301c6fddd$93c46800$0200a8c0@danwaters> John, This might be a long shot but you might do a 'Detect and Repair' for Office. It might ask you to install the setup disk. Dan -----Original Message----- Subject: Re: [AccessD] A2k3 system.mdw OK then, I guess not. Can someone email me theirs? -----Original Message----- Subject: [AccessD] A2k3 system.mdw When I open my System.mdw file with A2k3 it asks whether I want to open or convert it. This makes me I think I overwrote my default system.mdw file. I don't use Access's security but I would like to have the correct version on my system. Anyone know an easy way to extract the original form the setup disk? -- From JRojas at tnco-inc.com Wed Nov 1 13:36:52 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 1 Nov 2006 14:36:52 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at the same time Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From gjgiever at myway.com Wed Nov 1 13:45:28 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 1 Nov 2006 14:45:28 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061101194529.06441676B4@mprdmxin.myway.com> Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From askolits at ot.com Wed Nov 1 13:57:28 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 14:57:28 -0500 Subject: [AccessD] Find And Replace In-Reply-To: <20061101194529.06441676B4@mprdmxin.myway.com> Message-ID: <00a101c6fdef$f5de1060$800101df@officexp> Pretty sure he's still in business. He returned an email I sent about 2 months ago. p.s. Great program. I use it practically every day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 01, 2006 2:45 PM To: accessd at databaseadvisors.com Subject: [AccessD] Find And Replace Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- 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 1 14:01:46 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 15:01:46 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at the sametime In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Message-ID: <03d601c6fdf0$92b9b420$6501a8c0@LaptopXP> In the past I have used CHR$(34) for a double quote and CHR$(39) for a single quote. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- 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 1 14:05:20 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 15:05:20 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at the sametime In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Message-ID: <03d901c6fdf1$11c0c6f0$6501a8c0@LaptopXP> Here's an example strText = "1" & chr$(39) & " 5" & chr$(34) In this case strText would return - 1' 5" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- 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 1 14:12:20 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 1 Nov 2006 15:12:20 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at thesametime Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDEC4@ex2k3.corp.tnco-inc.com> Thanks for the reply John, If I were to construct a string using your example: strText = "1" & chr$(39) & " 5" & chr$(34) and then executed a statement of : DoCmd.RunSQL "Update someTable SET fieldname = '" & strText & "' WHERE someField = someValue" Won't this generate an error because the DoCmd.RunSQL will get confused with the mixture of quotes and double quotes? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, November 01, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dealing with single quotes and double quotes at thesametime Here's an example strText = "1" & chr$(39) & " 5" & chr$(34) In this case strText would return - 1' 5" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Nov 1 14:52:26 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Nov 2006 14:52:26 -0600 Subject: [AccessD] Find And Replace Message-ID: If I recall correctly, if was a few days before I got my key emailed to me too (that was a couple of years ago). I might have jogged his elbow with a quick enquiry email. He's a one man band as far as I know, and so may get a bit behind, but it is a great tool, so worth the effort to get it set up. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, November 01, 2006 2:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Find And Replace Pretty sure he's still in business. He returned an email I sent about 2 months ago. p.s. Great program. I use it practically every day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 01, 2006 2:45 PM To: accessd at databaseadvisors.com Subject: [AccessD] Find And Replace Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 1 15:02:13 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 16:02:13 -0500 Subject: [AccessD] Dealing with single quotes and double quotes atthesametime In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC4@ex2k3.corp.tnco-inc.com> Message-ID: <03ed01c6fdf9$047fdb90$6501a8c0@LaptopXP> I have to run out so I can' test it, but it should still work. Just try a few different iterations and I'm sure you'll figure it out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dealing with single quotes and double quotes atthesametime Thanks for the reply John, If I were to construct a string using your example: strText = "1" & chr$(39) & " 5" & chr$(34) and then executed a statement of : DoCmd.RunSQL "Update someTable SET fieldname = '" & strText & "' WHERE someField = someValue" Won't this generate an error because the DoCmd.RunSQL will get confused with the mixture of quotes and double quotes? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, November 01, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dealing with single quotes and double quotes at thesametime Here's an example strText = "1" & chr$(39) & " 5" & chr$(34) In this case strText would return - 1' 5" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gjgiever at myway.com Wed Nov 1 15:27:24 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 1 Nov 2006 16:27:24 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061101212724.BDE7B99DFD@mprdmxin.myway.com> Thanks. I shall be patient. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Wed 11/01, Heenan, Lambert < Lambert.Heenan at aig.com > wrote: From: Heenan, Lambert [mailto: Lambert.Heenan at aig.com] To: accessd at databaseadvisors.com Date: Wed, 1 Nov 2006 14:52:26 -0600 Subject: Re: [AccessD] Find And Replace If I recall correctly, if was a few days before I got my key emailed to metoo (that was a couple of years ago). I might have jogged his elbow with aquick enquiry email.He's a one man band as far as I know, and so may get a bit behind, but it isa great tool, so worth the effort to get it set up.Lambert-----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John SkolitsSent: Wednesday, November 01, 2006 2:57 PMTo: 'Access Developers discussion and problem solving'Subject: Re: [AccessD] Find And ReplacePretty sure he's still in business. He returned an email I sent about 2months ago.p.s. Great program. I use it practically every day. -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 01, 2006 2:45 PMTo: accessd at databaseadvisors.comSubject: [AccessD] Find And ReplaceLast week someone here recommended Rick Fisher's Find And Replace. I checkit out, liked it and emailed my registration last Monday morning. Usually,with this kind of transaction, I get a response with a registration numberwithin an hour or so, but it has been more than two days and I have yet tohear from him. Does anyone know if he is still in business? Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From dw-murphy at cox.net Wed Nov 1 15:38:48 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 1 Nov 2006 13:38:48 -0800 Subject: [AccessD] Find And Replace In-Reply-To: <20061101194529.06441676B4@mprdmxin.myway.com> Message-ID: <002301c6fdfe$1d5d4490$0200a8c0@murphy3234aaf1> Gary, I purchased it last week for Access 2003 and got an email response the same day. You might want to check with Rick to make sure he received your info. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 01, 2006 11:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Find And Replace Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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 1 15:58:52 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Nov 2006 07:58:52 +1000 Subject: [AccessD] Dealing with single quotes and double quotes at the same time In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> References: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Message-ID: <4549189C.13025.12987464@stuart.lexacorp.com.pg> On 1 Nov 2006 at 14:36, Joe Rojas wrote: > Hello, > > If I construct a string in VBA that contains the following string: > 1' 5" > > How could I update a field using DoCmd.RunSQL? > I know how to handle this if the string only contains a single quote OR a > double quote but not if the string contains both. Escape both quotes by doubling them. Following example has extra spaces to show it more clearly, there shouldn't be any spaces between any of the quotes.: strSQL = " Set myfield = ' 1 ' ' 5 " " ' " -- Stuart From stuart at lexacorp.com.pg Wed Nov 1 16:07:59 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Nov 2006 08:07:59 +1000 Subject: [AccessD] Posters from Microsoft In-Reply-To: References: Message-ID: <45491ABF.1678.12A0CE06@stuart.lexacorp.com.pg> On 1 Nov 2006 at 16:39, Gustav Brock wrote: > - Developer Roadmap for the 2007 Microsoft Office System. > Download this poster to view a developer roadmap for the 2007 Microsoft > Office system programs, tools, services, and servers. > Why the f... would they wrap a single 600KB PDF file in a full installer exe? But then I guess that's farily standard for MS - just add totally unnecessary bloat to everything :-( -- Stuart From michael at ddisolutions.com.au Wed Nov 1 16:36:14 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 2 Nov 2006 09:36:14 +1100 Subject: [AccessD] Ideas wanted for Office project requirements Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC70@ddi-01.DDI.local> Thanks Charlotte, They are also looking at Sharepoint as an option. I think they just want to know what options they have. I initially proposed a database solution, we also have a live system that collates various data from multiple sources to create a govt dept annual report. We could have adapted that but they didn't seem interested. I put a nice high price on it so we'll see what happens ;-))) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 2 November 2006 3:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ideas wanted for Office project requirements I rebuilt a system somewhat like that a few years back for the US Bureau of Reclamation. They produced a report annually (well, it was SUPPOSED to be annually) by extracting data from a mainframe dumping it into Excel, copying and pasting into a Word doc and then (theoretically) totalling the whole thing up and printing an 80+ page report as mandated by statute. You'd be better off giving the managers a run-time Access app to enter their data, with a button to push to transmit it to a central location. Of course, it would be better if they simply linked to a central back end, but I'm assuming for the moment that isn't feasible. Then you need a single app to import the data and redistribute it into the appropriate tables. Then just create the report in Access or do a merge with Word if you want pretty formatting. You could certainly do it using Office automation, but you would never have the central data store at hand should a report need tweaking, and you would have to find a way to cross-foot and validate any values month by month. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Tuesday, October 31, 2006 6:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ideas wanted for Office project requirements Hi all, Slightly OT. I have a client who wants to automate a report writing process. Currently they have about 30 managers who once a month send either a Excel workbook or Word doc to some lucky person. He/she then extracts the contents of each file and pastes it into a Word doc to be made into a report. I don't do much with Office these days so maybe someone will have an easy solution??? Step 1 My favoured idea so far is to create a Com-addin for Word/Excel that will take selected text/objects and paste them into a blank file, the copy the file to a file share. Step 2 the person who collates the files has another addin that loops through the contents of the share dir and opens and copies the contents into fields/bookmarks(?) in a Word doc. A 3rd component may be needed to sync the whole schmoozle. I wonder how sturdy a process like this would be... All responses welcome (except abuse... lol) cheers Michael M -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Nov 1 23:05:34 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Nov 2006 00:05:34 -0500 Subject: [AccessD] Ideas wanted for Office project requirements References: <59A61174B1F5B54B97FD4ADDE71E7D0116AC70@ddi-01.DDI.local> Message-ID: <022d01c6fe3c$8796fcf0$3e3de844@50NM721> Michael ...I've done something similar using an RTF ocx from lebans site ...each of the individual reports is actually an rtf formatted text field in a table in the be mdb ...each user only sees the portions they are responsible for ...the final product is a pretty simple report assembling and formatting the individual rtf records. ...the rtf format gives the user most of Word's text formatting abilities while retaining the advantages of a database and Access' capable report writer ...user response has been very positive. William Hindman ----- Original Message ----- From: "Michael Maddison" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 01, 2006 5:36 PM Subject: Re: [AccessD] Ideas wanted for Office project requirements > Thanks Charlotte, > > They are also looking at Sharepoint as an option. > I think they just want to know what options they have. > I initially proposed a database solution, we also have a live system > that collates various data > from multiple sources to create a govt dept annual report. We could > have adapted that but > they didn't seem interested. > > I put a nice high price on it so we'll see what happens ;-))) > > cheers > > Michael M > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, 2 November 2006 3:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > I rebuilt a system somewhat like that a few years back for the US Bureau > of Reclamation. They produced a report annually (well, it was SUPPOSED > to be annually) by extracting data from a mainframe dumping it into > Excel, copying and pasting into a Word doc and then (theoretically) > totalling the whole thing up and printing an 80+ page report as mandated > by statute. You'd be better off giving the managers a run-time Access > app to enter their data, with a button to push to transmit it to a > central location. Of course, it would be better if they simply linked > to a central back end, but I'm assuming for the moment that isn't > feasible. Then you need a single app to import the data and > redistribute it into the appropriate tables. Then just create the > report in Access or do a merge with Word if you want pretty formatting. > > You could certainly do it using Office automation, but you would never > have the central data store at hand should a report need tweaking, and > you would have to find a way to cross-foot and validate any values month > by month. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael > Maddison > Sent: Tuesday, October 31, 2006 6:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Ideas wanted for Office project requirements > > Hi all, > > Slightly OT. > > I have a client who wants to automate a report writing process. > > Currently they have about 30 managers who once a month send either a > Excel workbook or Word doc to some lucky person. He/she then extracts > the contents of each file and pastes it into a Word doc to be made into > a report. > > I don't do much with Office these days so maybe someone will have an > easy solution??? > > Step 1 > My favoured idea so far is to create a Com-addin for Word/Excel that > will take selected text/objects and paste them into a blank file, the > copy the file to a file share. > > Step 2 the person who collates the files has another addin that loops > through the contents of the share dir and opens and copies the contents > into fields/bookmarks(?) in a Word doc. > > A 3rd component may be needed to sync the whole schmoozle. > > > I wonder how sturdy a process like this would be... > > All responses welcome (except abuse... lol) > > cheers > > > > Michael M > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael at ddisolutions.com.au Wed Nov 1 23:36:48 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 2 Nov 2006 16:36:48 +1100 Subject: [AccessD] Ideas wanted for Office project requirements Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC75@ddi-01.DDI.local> Hi William, Unfortunately they insist on embedding charts and Excel data in the final report. I don't think rtf can handle that can it? If it does it would make the process a bit less unwieldy, much easier to move data around rather then a bunch files. cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, 2 November 2006 4:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ideas wanted for Office project requirements Michael ...I've done something similar using an RTF ocx from lebans site ...each of the individual reports is actually an rtf formatted text field in a table in the be mdb ...each user only sees the portions they are responsible for ...the final product is a pretty simple report assembling and formatting the individual rtf records. ...the rtf format gives the user most of Word's text formatting abilities while retaining the advantages of a database and Access' capable report writer ...user response has been very positive. William Hindman ----- Original Message ----- From: "Michael Maddison" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 01, 2006 5:36 PM Subject: Re: [AccessD] Ideas wanted for Office project requirements > Thanks Charlotte, > > They are also looking at Sharepoint as an option. > I think they just want to know what options they have. > I initially proposed a database solution, we also have a live system > that collates various data > from multiple sources to create a govt dept annual report. We could > have adapted that but > they didn't seem interested. > > I put a nice high price on it so we'll see what happens ;-))) > > cheers > > Michael M > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, 2 November 2006 3:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > I rebuilt a system somewhat like that a few years back for the US Bureau > of Reclamation. They produced a report annually (well, it was SUPPOSED > to be annually) by extracting data from a mainframe dumping it into > Excel, copying and pasting into a Word doc and then (theoretically) > totalling the whole thing up and printing an 80+ page report as mandated > by statute. You'd be better off giving the managers a run-time Access > app to enter their data, with a button to push to transmit it to a > central location. Of course, it would be better if they simply linked > to a central back end, but I'm assuming for the moment that isn't > feasible. Then you need a single app to import the data and > redistribute it into the appropriate tables. Then just create the > report in Access or do a merge with Word if you want pretty formatting. > > You could certainly do it using Office automation, but you would never > have the central data store at hand should a report need tweaking, and > you would have to find a way to cross-foot and validate any values month > by month. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael > Maddison > Sent: Tuesday, October 31, 2006 6:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Ideas wanted for Office project requirements > > Hi all, > > Slightly OT. > > I have a client who wants to automate a report writing process. > > Currently they have about 30 managers who once a month send either a > Excel workbook or Word doc to some lucky person. He/she then extracts > the contents of each file and pastes it into a Word doc to be made into > a report. > > I don't do much with Office these days so maybe someone will have an > easy solution??? > > Step 1 > My favoured idea so far is to create a Com-addin for Word/Excel that > will take selected text/objects and paste them into a blank file, the > copy the file to a file share. > > Step 2 the person who collates the files has another addin that loops > through the contents of the share dir and opens and copies the contents > into fields/bookmarks(?) in a Word doc. > > A 3rd component may be needed to sync the whole schmoozle. > > > I wonder how sturdy a process like this would be... > > All responses welcome (except abuse... lol) > > cheers > > > > Michael M > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 2 00:35:51 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Nov 2006 01:35:51 -0500 Subject: [AccessD] Ideas wanted for Office project requirements References: <59A61174B1F5B54B97FD4ADDE71E7D0116AC75@ddi-01.DDI.local> Message-ID: <024901c6fe49$24bfb8d0$3e3de844@50NM721> ...I use subreports to handle very limited charts ...it works within the limitations of the Access report engine ...but if you mean actually embedding them so that they can be edited in Excel then of course Access won't let you do that afaik ...although you can embed urls in the rtf so that a separate edit window could be opened and then update the sub reports. ...I believe you can also import an Excel file into Access and then output it as rtf although I've not done that myself ...if you can convert it to rtf in that way you may well be able to stuff the results into a table field as rtf text data ...might be worth experimenting with ...rtf does support tabs which are roughly equivalent to columns so it at least sounds feasible. ...you may also want to look at what you can do with adobe's PDF writer William Hindman ----- Original Message ----- From: "Michael Maddison" To: "Access Developers discussion and problem solving" Sent: Thursday, November 02, 2006 12:36 AM Subject: Re: [AccessD] Ideas wanted for Office project requirements > Hi William, > > Unfortunately they insist on embedding charts and Excel data in the > final report. > I don't think rtf can handle that can it? > If it does it would make the process a bit less unwieldy, much easier to > move > data around rather then a bunch files. > > cheers > > Michael M > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, 2 November 2006 4:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > Michael > > ...I've done something similar using an RTF ocx from lebans site ...each > of the individual reports is actually an rtf formatted text field in a > table in the be mdb ...each user only sees the portions they are > responsible for ...the final product is a pretty simple report > assembling and formatting the individual rtf records. > > ...the rtf format gives the user most of Word's text formatting > abilities while retaining the advantages of a database and Access' > capable report writer ...user response has been very positive. > > William Hindman > > ----- Original Message ----- > From: "Michael Maddison" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 01, 2006 5:36 PM > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > >> Thanks Charlotte, >> >> They are also looking at Sharepoint as an option. >> I think they just want to know what options they have. >> I initially proposed a database solution, we also have a live system >> that collates various data >> from multiple sources to create a govt dept annual report. We could >> have adapted that but >> they didn't seem interested. >> >> I put a nice high price on it so we'll see what happens ;-))) >> >> cheers >> >> Michael M >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Thursday, 2 November 2006 3:17 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Ideas wanted for Office project requirements >> >> I rebuilt a system somewhat like that a few years back for the US > Bureau >> of Reclamation. They produced a report annually (well, it was > SUPPOSED >> to be annually) by extracting data from a mainframe dumping it into >> Excel, copying and pasting into a Word doc and then (theoretically) >> totalling the whole thing up and printing an 80+ page report as > mandated >> by statute. You'd be better off giving the managers a run-time Access >> app to enter their data, with a button to push to transmit it to a >> central location. Of course, it would be better if they simply linked >> to a central back end, but I'm assuming for the moment that isn't >> feasible. Then you need a single app to import the data and >> redistribute it into the appropriate tables. Then just create the >> report in Access or do a merge with Word if you want pretty > formatting. >> >> You could certainly do it using Office automation, but you would never >> have the central data store at hand should a report need tweaking, and >> you would have to find a way to cross-foot and validate any values > month >> by month. >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael >> Maddison >> Sent: Tuesday, October 31, 2006 6:31 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Ideas wanted for Office project requirements >> >> Hi all, >> >> Slightly OT. >> >> I have a client who wants to automate a report writing process. >> >> Currently they have about 30 managers who once a month send either a >> Excel workbook or Word doc to some lucky person. He/she then extracts >> the contents of each file and pastes it into a Word doc to be made > into >> a report. >> >> I don't do much with Office these days so maybe someone will have an >> easy solution??? >> >> Step 1 >> My favoured idea so far is to create a Com-addin for Word/Excel that >> will take selected text/objects and paste them into a blank file, the >> copy the file to a file share. >> >> Step 2 the person who collates the files has another addin that loops >> through the contents of the share dir and opens and copies the > contents >> into fields/bookmarks(?) in a Word doc. >> >> A 3rd component may be needed to sync the whole schmoozle. >> >> >> I wonder how sturdy a process like this would be... >> >> All responses welcome (except abuse... lol) >> >> cheers >> >> >> >> Michael M >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gjgiever at myway.com Thu Nov 2 06:23:29 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Thu, 2 Nov 2006 07:23:29 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061102122329.E9EB87E45A@mprdmxin.myway.com> Thanks for the info. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Wed 11/01, Doug Murphy < dw-murphy at cox.net > wrote: From: Doug Murphy [mailto: dw-murphy at cox.net] To: accessd at databaseadvisors.com Date: Wed, 1 Nov 2006 13:38:48 -0800 Subject: Re: [AccessD] Find And Replace Gary,I purchased it last week for Access 2003 and got an email response the sameday. You might want to check with Rick to make sure he received your info.Doug -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 01, 2006 11:45 AMTo: accessd at databaseadvisors.comSubject: [AccessD] Find And ReplaceLast week someone here recommended Rick Fisher's Find And Replace. I checkit out, liked it and emailed my registration last Monday morning. Usually,with this kind of transaction, I get a response with a registration numberwithin an hour or so, but it has been more than two days and I have yet tohear from him. Does anyone know if he is still in business? Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com--AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From jwcolby at colbyconsulting.com Thu Nov 2 09:16:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 2 Nov 2006 10:16:06 -0500 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on In-Reply-To: <0J830079Q25MQC10@l-daemon> Message-ID: <005601c6fe91$d27eb4b0$657aa8c0@m6805> Well, nothing ever goes as planned. I own SBS 2003. I started the install which proceeded as smoothly as any of this ever does, which means plenty of "the F6 floppy doesn't work, but it doesn't say that, so spend an hour figuring that out, find the driver on the internet etc.", and "oh I need an active network controller, and what do you mean you have to install a driver disk (right in the middle of the install) to give me that" etc. In the meantime, it gets to some screen where it just informs me that it is installing active directory. >As you are not going, right at the start, into Active Directory (workgroups will work fine), installing Server2003 is as simple as installing XP. So now it appears that I AM installing active directory, whether I need or want it or not. So (from your email) perhaps the install will NOT be as easy as installing XP? I am doing a dual boot, installing SBS2003 to the raid 6 D: drive (might as well use this raid stuff to make the system install more fault tolerant). I just got to a screen where it is asking me what components I want, things like server tools, exchange server, fax service. So what do I need, and will it "just install" or will it ask me questions which I am not prepared to answer? William, you are the one always touting how great SBS is. Any words of wisdom on this? Man I hate this crap! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 01, 2006 10:12 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on Hi John: As you are not going, right at the start, into Active Directory (workgroups will work fine), installing Server2003 is as simple as installing XP.. The whole process tends to be a disk jockey nodding off between switch disk and answering such questions as, "What is your product key" and do you want to install IIS. If I can do it so can you. Server2003 can run multiple instances and processes. It will run applications that will over-load any XP desktop box. It has better isolation so if a program misbehaves it does not bring down the system. I understood you were on the MS partner plan and therefore you should have access to all the servers you can stand. Server 2003 standard or developer is just fine unless you are planning to run virtual and exchange server etc. I have taken the luxury to run Server 2003 as my desktop, one that has never gone down... Well only once and that was my fault... But it is really stable. MS SQL and IIS run as background processes and their impact is hardly noticeable. Sorry if this sounds like a lecture but I am sure your problems can be solved by going this route. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, November 01, 2006 2:52 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on LOL, borderline insanity. I can assure you that I am FULLY insane. Bwaaa haaaa haaaa. I am using SP Pro. SQL Server ran just fine on 2K pro, XP Pro is the 2K Pro base code. Why would it not run on that? I keep hearing that it isn't supposed to, but it does. I can tell you I would be irritated beyond belief if I went to Win 2003 server (which I have but haven't a clue how to install, since this is a desktop machine in the end) and I still had this issue. I actually tried to install 2003 server (in fact I have a disk with the beginnings of the install) and got to questions that implied I was supposed to know what I was doing (and I don't) so how am I supposed to install 2003 so that I can test your theory? I am not a notwork / OS admin, I am a developer. MS themselves push SQL Server lite as a developer tool. If anyone wants to talk me through a 2003 server install I will do that but... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 01, 2006 5:19 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on Hi John: I am trying to cover all the bases. The problems initially appears to be with the MS SQL sever setting as they run fairly indendendantly from an OS. If the problem is not in the MS SQL setup, accumulating non responsive results sort of negates the hardware being the issue, then it has to be in the process. If it is absolutely not in the process then it must be in the MS SQL settings. Please tell me you are using server OS as it would be border-line insanity to use a desktop type OS and then I would assure you, without hesitation, that that is the problem. HTH Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, November 01, 2006 12:12 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on Jim, I don't understand what this is doing for me. I have just one data file ATM. I don't know whether that is a good thing or a bad thing. This sounds like the process for creating and then redistributing data amongst multiple files. If you are saying that it is the existence of one huge file that is causing my slowdown, then I can certainly do that. I have to ask if this is as good as it gets with SQL Server. I understand that I am doing stuff with big tables but keerimeny. I started the build of a PKID field on the big table. It tells me that "ansi nulls was not on and it has to rebuild the table" so I do. EM just locks up tight, won't even redraw the screen (blank white) if you switch away and back again. I believe that it is hard at work but folks, this is the age of threads. So I open another instance of EM to work with another table. EM takes several seconds to expand each tree (server, databases, specific database) then when I try to expand the tables, the second instance of EM locks up tight with an hourglass. I mean c'mon. This is 2006, a monster (desktop) system and EM acts as if it is a DOS app from 1986 running on a '286 with 4 megs and swapping memory. The second EM instance has been trying to open the tables icon just to show me what tables are there for 20 minutes now. To say this is discouraging to work with would be an understatement. If this is the best I am going to get I am going to have to look for another database engine to work with. And the most discouraging part is that my dual proc system is cruising along using (average?) well under 25% of the processor while EM is locked up tight. Does SQl Server 2005 fix any of this? Or should I just go look at MySQL or Oracle personal edition. I have to get work done on this database and it is telling me that one job (building a field / index) on one table is all it can handle. And by the looks of it I will be locked out of this database for the next 12 to 24 hours. Hell, ACCESS can do better than this!!! Well, maybe not but SQL Server's rep is taking a beating here. John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 2 09:44:42 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Nov 2006 16:44:42 +0100 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on Message-ID: Hi John I didn't catch your original post, but installing SBS is not "just to do it". Microsoft has training courses in nothing else than this discipline. That said, I'm sure you could handle it following some of the guides around and good advice but at a cost of many hours. However, the install wizard will not know what you want. You have to decide. >From your post it seems like you need only the server OS and SQL Server 2005. That could be established much simpler with "Windows Server 2003 Web Edition" - which is part of your Action Pack - and "SQL Server 2005 Express" which is a free download. For anyone else being tempted by all the fun stuff in SBS, stop for a moment and consider seriously the hard core Web Edition, which really is a piece of cake to install and leaves a totally clean desktop you will love. Also, consider seriously to run this in a virtual machine like the free edition of VMware Virtual Server - which itself runs perfectly on the Web Edition server. For deployment, a license for "Windows Server 2003 Web Edition" is only slightly more than that for WinXP - and no CALs as it is not a file server. /gustav >>> jwcolby at colbyconsulting.com 02-11-2006 16:16:06 >>> Well, nothing ever goes as planned. I own SBS 2003. I started the install which proceeded as smoothly as any of this ever does, which means plenty of "the F6 floppy doesn't work, but it doesn't say that, so spend an hour figuring that out, find the driver on the internet etc.", and "oh I need an active network controller, and what do you mean you have to install a driver disk (right in the middle of the install) to give me that" etc. In the meantime, it gets to some screen where it just informs me that it is installing active directory. >As you are not going, right at the start, into Active Directory (workgroups will work fine), installing Server2003 is as simple as installing XP. So now it appears that I AM installing active directory, whether I need or want it or not. So (from your email) perhaps the install will NOT be as easy as installing XP? I am doing a dual boot, installing SBS2003 to the raid 6 D: drive (might as well use this raid stuff to make the system install more fault tolerant). I just got to a screen where it is asking me what components I want, things like server tools, exchange server, fax service. So what do I need, and will it "just install" or will it ask me questions which I am not prepared to answer? William, you are the one always touting how great SBS is. Any words of wisdom on this? Man I hate this crap! John W. Colby Colby Consulting www.ColbyConsulting.com From wdhindman at dejpolsystems.com Thu Nov 2 10:36:51 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Nov 2006 11:36:51 -0500 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on References: <005601c6fe91$d27eb4b0$657aa8c0@m6805> Message-ID: <001b01c6fe9d$1a380f80$3e3de844@50NM721> ...lol ...listen up JC ...SBS2003 is NOT xp ...you must plan your install and know ahead of time what services you need and how you want to provide them ...that said, it is a whole lot simpler than installing the individual applications and getting them to work together ...and a whole lot cheaper for your client. ...of course, your first step should have been to RTFM :) ...if you have the server resources, just choose every install option ...I'm assuming you have two NICs :) ...but if this is something YOU are planning to use in your office for anything more than learning purposes, its probably enormous overkill. ...if you have two or more people sending faxes using the same modems, fax services will make it easier. ...if you have a group of people who can use shared calendaring, scheduling, contacts, and e-mail, Exchange will make it happen ...but in my office, I use OE because Exchange requires Outlook and it is such a resource hog ...but hey, if you have the resources, its the best groupware going despite Gustav's enamoration with Novell :) ...I belong to a listserve, sbs2k on yahoo groups that is very active and quite similar to AccessD ...and very tolerant of newbies ...a number of mvps hang out there ...despite its name, sbs2k3 is the topic of choice. ...I love SBS and in small offices of 5-25 people it just can't be beat ...stable as a rock once installed and a real pleasure to support because it really doesn't require much :) ...but if you really don't need it, don't install it ...gustav is right about their being simpler alternatives for SOHOs that don't need the array that SBS provides ...and no matter what you want, if its an MS server, you will learn Active Directory ...actually much simpler than it looks at first glance ...most of it happens behind the scenes. William Hindman ----- Original Message ----- From: "JWColby" To: ; "'Access Developers discussion and problem solving'" Sent: Thursday, November 02, 2006 10:16 AM Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on > Well, nothing ever goes as planned. I own SBS 2003. I started the > install > which proceeded as smoothly as any of this ever does, which means plenty > of > "the F6 floppy doesn't work, but it doesn't say that, so spend an hour > figuring that out, find the driver on the internet etc.", and "oh I need > an > active network controller, and what do you mean you have to install a > driver > disk (right in the middle of the install) to give me that" etc. > > In the meantime, it gets to some screen where it just informs me that it > is > installing active directory. > >>As you are not going, right at the start, into Active Directory >>(workgroups > will work fine), installing Server2003 is as simple as installing XP. > > So now it appears that I AM installing active directory, whether I need or > want it or not. So (from your email) perhaps the install will NOT be as > easy as installing XP? > > I am doing a dual boot, installing SBS2003 to the raid 6 D: drive (might > as > well use this raid stuff to make the system install more fault tolerant). > > I just got to a screen where it is asking me what components I want, > things > like server tools, exchange server, fax service. So what do I need, and > will it "just install" or will it ask me questions which I am not prepared > to answer? > > William, you are the one always touting how great SBS is. Any words of > wisdom on this? > > Man I hate this crap! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Wednesday, November 01, 2006 10:12 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > Hi John: > > As you are not going, right at the start, into Active Directory > (workgroups > will work fine), installing Server2003 is as simple as installing XP.. The > whole process tends to be a disk jockey nodding off between switch disk > and > answering such questions as, "What is your product key" and do you want to > install IIS. If I can do it so can you. > > Server2003 can run multiple instances and processes. It will run > applications that will over-load any XP desktop box. It has better > isolation > so if a program misbehaves it does not bring down the system. I understood > you were on the MS partner plan and therefore you should have access to > all > the servers you can stand. Server 2003 standard or developer is just fine > unless you are planning to run virtual and exchange server etc. > > I have taken the luxury to run Server 2003 as my desktop, one that has > never > gone down... Well only once and that was my fault... But it is really > stable. MS SQL and IIS run as background processes and their impact is > hardly noticeable. > > Sorry if this sounds like a lecture but I am sure your problems can be > solved by going this route. > > Jim > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Wednesday, November 01, 2006 2:52 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > LOL, borderline insanity. I can assure you that I am FULLY insane. Bwaaa > haaaa haaaa. I am using SP Pro. SQL Server ran just fine on 2K pro, XP > Pro > is the 2K Pro base code. Why would it not run on that? I keep hearing > that > it isn't supposed to, but it does. I can tell you I would be irritated > beyond belief if I went to Win 2003 server (which I have but haven't a > clue > how to install, since this is a desktop machine in the end) and I still > had > this issue. > > I actually tried to install 2003 server (in fact I have a disk with the > beginnings of the install) and got to questions that implied I was > supposed > to know what I was doing (and I don't) so how am I supposed to install > 2003 > so that I can test your theory? > > I am not a notwork / OS admin, I am a developer. MS themselves push SQL > Server lite as a developer tool. > > If anyone wants to talk me through a 2003 server install I will do that > but... > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Wednesday, November 01, 2006 5:19 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > Hi John: > > I am trying to cover all the bases. The problems initially appears to be > with the MS SQL sever setting as they run fairly indendendantly from an > OS. > If the problem is not in the MS SQL setup, accumulating non responsive > results sort of negates the hardware being the issue, then it has to be in > the process. > > If it is absolutely not in the process then it must be in the MS SQL > settings. > > Please tell me you are using server OS as it would be border-line insanity > to use a desktop type OS and then I would assure you, without hesitation, > that that is the problem. > > HTH > Jim > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Wednesday, November 01, 2006 12:12 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > Jim, > > I don't understand what this is doing for me. I have just one data file > ATM. I don't know whether that is a good thing or a bad thing. This > sounds > like the process for creating and then redistributing data amongst > multiple > files. If you are saying that it is the existence of one huge file that > is > causing my slowdown, then I can certainly do that. > > > > I have to ask if this is as good as it gets with SQL Server. I understand > that I am doing stuff with big tables but keerimeny. I started the build > of > a PKID field on the big table. It tells me that "ansi nulls was not on > and > it has to rebuild the table" so I do. EM just locks up tight, won't even > redraw the screen (blank white) if you switch away and back again. I > believe that it is hard at work but folks, this is the age of threads. > > So I open another instance of EM to work with another table. EM takes > several seconds to expand each tree (server, databases, specific database) > then when I try to expand the tables, the second instance of EM locks up > tight with an hourglass. I mean c'mon. This is 2006, a monster (desktop) > system and EM acts as if it is a DOS app from 1986 running on a '286 with > 4 > megs and swapping memory. The second EM instance has been trying to open > the tables icon just to show me what tables are there for 20 minutes now. > > To say this is discouraging to work with would be an understatement. If > this is the best I am going to get I am going to have to look for another > database engine to work with. > > And the most discouraging part is that my dual proc system is cruising > along > using (average?) well under 25% of the processor while EM is locked up > tight. > > Does SQl Server 2005 fix any of this? Or should I just go look at MySQL > or > Oracle personal edition. I have to get work done on this database and it > is > telling me that one job (building a field / index) on one table is all it > can handle. And by the looks of it I will be locked out of this database > for the next 12 to 24 hours. > > Hell, ACCESS can do better than this!!! Well, maybe not but SQL Server's > rep is taking a beating here. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Thu Nov 2 14:43:23 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Nov 2006 12:43:23 -0800 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <001b01c6fe9d$1a380f80$3e3de844@50NM721> References: <005601c6fe91$d27eb4b0$657aa8c0@m6805> <001b01c6fe9d$1a380f80$3e3de844@50NM721> Message-ID: <454A586B.2000805@shaw.ca> Interesting article from Ken Getz Creating Managed Add-ins for Access 2007 http://msdn2.microsoft.com/en-us/library/aa902693.aspx You can probably do this without installing Visual Studio Tools and just VB 2005 express but it might require filching the Shared Add-in template class and installing with GPAC's instead of a created msi from a wizard. -- Marty Connelly Victoria, B.C. Canada From Donald.A.McGillivray at sprint.com Thu Nov 2 15:21:06 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 2 Nov 2006 15:21:06 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray From martyconnelly at shaw.ca Thu Nov 2 15:34:08 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Nov 2006 13:34:08 -0800 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: References: Message-ID: <454A6450.1000304@shaw.ca> One suggestion: Load the form, subform, combobox and listbox record sources at run-time. http://www.granite.ab.ca/access/performanceforms.htm McGillivray, Don [IT] wrote: >Hello, All > >I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. > >Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. > >I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? > >Any and all comments, critiques, ideas welcome. > >Thanks! > >Don McGillivray > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Nov 2 16:01:14 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 3 Nov 2006 01:01:14 +0300 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <454A586B.2000805@shaw.ca> Message-ID: <000301c6feca$6a2ada40$6401a8c0@nant> Yes, Marty, it should be doable just using VB 2005 Express. <<< installing with GPAC's instead of a created msi from a wizard. >>> Yes, should be doable - but also .NET Framework SDK is needed I think to extract type library from shared add-in's assembly using TlbExp.exe utility, which is delivered in SDK or is tlbexp.exe also delivered in .NET Framework itself?... BTW, did you ever try to use Registration-Free COM (http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William mentioned here some time ago? If that works OK then a Shared/COM Add-in can be probably installed using xcopy given: - its assembly and related files; - its typelib; - its manifest file for RegFree COM (open question here is how(/what is its format) to make it?)... That would be great if it would work this way - it still might need to set several registry entries to "inform" MS Access about presence of com-add-in to load but this should be as easy as running once a .reg file with needed registry entries... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 02, 2006 11:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Creating Managed Add-ins for Access 2007 Interesting article from Ken Getz Creating Managed Add-ins for Access 2007 http://msdn2.microsoft.com/en-us/library/aa902693.aspx You can probably do this without installing Visual Studio Tools and just VB 2005 express but it might require filching the Shared Add-in template class and installing with GPAC's instead of a created msi from a wizard. -- 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 Donald.A.McGillivray at sprint.com Thu Nov 2 16:15:55 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 2 Nov 2006 16:15:55 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Thanks, Marty. I can see how this would reduce db size and speed the saving of the form, but will it speed its loading and response for the user? Seems like whether I'm saving the queries with the form or not, they will still have to load from the million record table to populate the combos, no? In my trials so far, it seems like only the initial use of a combo suffers from the delay (subsequent uses are lickety-split). It just feels like a nuisance to make the user wait for controls on the form if I can speed loading the rowsource by driving it with a more concise table created once at start up. They will still have to wait for that table to populate, but not so much for each control on the form. Maybe I'm misunderstanding how this works, and how the suggested approach addresses the issue? FWIW, the data in this db will be refreshed only about once a quarter, and I suppose I could add a process that they run once upon each refresh that produces the more concise tables for the combo row sources. That would eliminate/reduce even the startup delays. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 02, 2006 1:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes One suggestion: Load the form, subform, combobox and listbox record sources at run-time. http://www.granite.ab.ca/access/performanceforms.htm From martyconnelly at shaw.ca Thu Nov 2 17:37:01 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Nov 2006 15:37:01 -0800 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <000301c6feca$6a2ada40$6401a8c0@nant> References: <000301c6feca$6a2ada40$6401a8c0@nant> Message-ID: <454A811D.9090008@shaw.ca> BTW, did you ever try to use Registration-Free COM (http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William mentioned here some time ago? Yup it works calling a VB.Net wrapped com class dll from Access However the download from the article is missing a comclass.zip It is only 2 or 3 K, you need this to build any new classes. It is installed by Visual Studio but not VB Express. I don't have Visual Studio but found it in a .msi file downloadable from this simlar article by same author below. Just install it in the directory indicated in the article then it will appear in temporary templates in vb.Net IDE. It contains the COM Class template necessary for building new class projects. I suppose you could workaround it with your own GUID's but don't know the pitfuls. Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/vbbestprac.asp You may have a problem in the registering of the dll. Two ways to do this Install the project and open it in VB.Net, then do a Build this will register the dll with the com registry. There are step by step instuctions except for doing the final build in the first article. The build will also create a new tlb file and register the assembly in the GAC and register the dll. There are also standalone routines to do this too. To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. C:\Access files\VBFusion\VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. Then just run your routine. The other way is to use the included install.bat to register the dll It uses regasm and gacutil to remove any previously named dll and reinstall in the registry. Haven't tried this method. See http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_COM2NET.aspx install batch file looks like this regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" Shamil Salakhetdinov wrote: >Yes, Marty, it should be doable just using VB 2005 Express. > ><<< >installing with GPAC's instead of a created msi from a wizard. > > >Yes, should be doable - but also .NET Framework SDK is needed I think to >extract type library from shared add-in's assembly using TlbExp.exe utility, >which is delivered in SDK or is tlbexp.exe also delivered in .NET Framework >itself?... > >BTW, did you ever try to use Registration-Free COM >(http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William >mentioned here some time ago? > >If that works OK then a Shared/COM Add-in can be probably installed using >xcopy given: > >- its assembly and related files; >- its typelib; >- its manifest file for RegFree COM (open question here is how(/what is its >format) to make it?)... > >That would be great if it would work this way - it still might need to set >several registry entries to "inform" MS Access about presence of com-add-in >to load but this should be as easy as running once a .reg file with needed >registry entries... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, November 02, 2006 11:43 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Creating Managed Add-ins for Access 2007 > >Interesting article from Ken Getz >Creating Managed Add-ins for Access 2007 >http://msdn2.microsoft.com/en-us/library/aa902693.aspx > >You can probably do this without installing Visual Studio Tools >and just VB 2005 express but it might require filching >the Shared Add-in template class and installing with GPAC's >instead of a created msi from a wizard. > > > -- Marty Connelly Victoria, B.C. Canada From gjgiever at myway.com Thu Nov 2 18:29:55 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Thu, 2 Nov 2006 19:29:55 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061103002955.2043E67675@mprdmxin.myway.com> He emailed me today. Apparently his first reply made an unsucessful attempt to travel through the Burmuda Triange. Thanks again for your help. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Thu 11/02, Gary J. Giever < gjgiever at myway.com > wrote: From: Gary J. Giever [mailto: gjgiever at myway.com] To: accessd at databaseadvisors.com Date: Thu, 2 Nov 2006 07:23:29 -0500 (EST) Subject: Re: [AccessD] Find And Replace Thanks for the info.Gary J. Giever, M.A.Applications DeveloperACCMHS --- On Wed 11/01, Doug Murphy < dw-murphy at cox.net > wrote:From: Doug Murphy [mailto: dw-murphy at cox.net]To: accessd at databaseadvisors.comDate: Wed, 1 Nov 2006 13:38:48 -0800Subject: Re: [AccessD] Find And ReplaceGary,I purchased it last week for Access 2003 and got an email response the sameday. You might want to check with Rick to make sure he received your info.Doug -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 01, 2006 11:45 AMTo: accessd at databaseadvisors.comSubject: [AccessD] Find And ReplaceLast week someone here recommended Rick Fisher's Find And Replace. I checkit out, liked it and emailed my registration last Monday morning. Usually,with this kind of transaction, I get a response with a registration numberwithin an hour or so, but it has been more than two days and I have yet tohear from him. Does anyone know if he is still in business? Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com--AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From newsgrps at dalyn.co.nz Thu Nov 2 22:28:11 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 03 Nov 2006 17:28:11 +1300 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) Message-ID: <7.0.1.0.0.20061103171432.01b52d28@dalyn.co.nz> Group, Access XP ADP I have a report that has a single graph on it (Unbound Object Frame: Microsoft Graph Chart). The RowSource property is set to a sproc which has parameters. If I enter the following direct into the RowSource property the report runs fine: EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' However, I want to set the parameters based on values on a form. The help I found on the internet said that the reports OnOpen event was the place to put it so I added: Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthStartMth])) & "', '" & basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndMth])) & "'" When the report is run I get Runtime Error 2455 - You entered an expression that has an invalid reference to the property RowSource. I get the same error if I try in the OnOpen event of the report (this indicates that the property is not even available OnOpen): MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource I know the property exists because the following works it I put it into the report detail OnFormat event: MsgBox Me!graGraph.RowSource I have tried setting the property on the detail OnFormat event but an error comes up saying that you cant set this property after printing has started. Any guidance on what I can try? From andy at minstersystems.co.uk Fri Nov 3 02:09:49 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 3 Nov 2006 08:09:49 -0000 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) In-Reply-To: <7.0.1.0.0.20061103171432.01b52d28@dalyn.co.nz> Message-ID: <00bb01c6ff1f$6f502430$e5ad0c54@minster33c3r25> Hi David I seem to recall having the same issue a long while ago. I was using queries and ended up setting the graph's rowsource to a query but modifying the query's SQL before opening the report. Not being an SQL kind of guy I don't know how that translates when you have Sprocs, or if it can at all, but I'm hoping that gives you a steer. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 03 November 2006 04:28 > To: accessd at databaseadvisors.com > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > Group, > > Access XP ADP > > I have a report that has a single graph on it (Unbound Object Frame: > Microsoft Graph Chart). The RowSource property is set to a sproc > which has parameters. > > If I enter the following direct into the RowSource property the > report runs fine: > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > However, I want to set the parameters based on values on a form. The > help I found on the internet said that the reports OnOpen event was > the place to put it so I added: > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthStartMth])) > & "', '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthEndMth])) > & "'" > > When the report is run I get Runtime Error 2455 - You entered an > expression that has an invalid reference to the property > RowSource. I get the same error if I try in the OnOpen event of the > report (this indicates that the property is not even > available OnOpen): > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > I know the property exists because the following works it I put it > into the report detail OnFormat event: > MsgBox Me!graGraph.RowSource > > I have tried setting the property on the detail OnFormat event but an > error comes up saying that you cant set this property after printing > has started. > > Any guidance on what I can try? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Fri Nov 3 03:06:52 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 3 Nov 2006 01:06:52 -0800 (PST) Subject: [AccessD] Strategies for populating combo boxes Message-ID: <20061103090653.70671.qmail@web88206.mail.re2.yahoo.com> My suggestion would be, Don't populate any of the combos until at least one keystroke has been entered in a given combo. Then populate it. I.e. the user enters "A", then you populate it with only those rows beginning with "A". The user then enters "B"; you repopulate it with those rows beginning with "AB". The user enters "C" and you repopulate the combo beginning with "ABC". This can be very quick. Assuming an Access BE, then the query that populates any given combo would be something like "SELECT ID, Description FROM SomeTable WHERE Description LIKE "ABC*". The way I have handled this in previous apps is to rewrite the source statement, which automatically causes a refill. ----- Original Message ---- From: "McGillivray, Don [IT]" To: Access Developers discussion and problem solving Sent: Thursday, November 2, 2006 4:21:06 PM Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Fri Nov 3 07:33:39 2006 From: askolits at ot.com (John Skolits) Date: Fri, 3 Nov 2006 08:33:39 -0500 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) In-Reply-To: <00bb01c6ff1f$6f502430$e5ad0c54@minster33c3r25> Message-ID: <004901c6ff4c$af6dbdc0$6501a8c0@LaptopXP> A long shot ideas. Use CHR$(39) instead of the single quote. Not sure the syntax is exactly correct or not but here is what I came up with. "EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", " & Chr$(39) & basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t xtGateMthStartMth])) & Chr$(39) & ", " & Chr$(39) & "basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndM th])) " & Chr$(39) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 03, 2006 3:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Rowsource for Graph (Sproc source) Hi David I seem to recall having the same issue a long while ago. I was using queries and ended up setting the graph's rowsource to a query but modifying the query's SQL before opening the report. Not being an SQL kind of guy I don't know how that translates when you have Sprocs, or if it can at all, but I'm hoping that gives you a steer. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 03 November 2006 04:28 > To: accessd at databaseadvisors.com > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > Group, > > Access XP ADP > > I have a report that has a single graph on it (Unbound Object Frame: > Microsoft Graph Chart). The RowSource property is set to a sproc > which has parameters. > > If I enter the following direct into the RowSource property the > report runs fine: > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > However, I want to set the parameters based on values on a form. The > help I found on the internet said that the reports OnOpen event was > the place to put it so I added: > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthStartMth])) > & "', '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthEndMth])) > & "'" > > When the report is run I get Runtime Error 2455 - You entered an > expression that has an invalid reference to the property > RowSource. I get the same error if I try in the OnOpen event of the > report (this indicates that the property is not even > available OnOpen): > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > I know the property exists because the following works it I put it > into the report detail OnFormat event: > MsgBox Me!graGraph.RowSource > > I have tried setting the property on the detail OnFormat event but an > error comes up saying that you cant set this property after printing > has started. > > Any guidance on what I can try? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Nov 3 07:42:05 2006 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 3 Nov 2006 05:42:05 -0800 (PST) Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Message-ID: <20061103134205.28298.qmail@web31607.mail.mud.yahoo.com> Hi Jim, This sounds really nice. Do you happen to have a link to that article? Sander ----- Original Message ---- From: Jim DeMarco To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 5:00:10 PM Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Sander, I read an interestig article a while back that detailed how to use Access as the reporting engine for ASP.NET applications. In short it involves getting input from your user and running the report in Access (installed on server I'd imagine). The report is then exported to XML from Access by your .NET app. Access does a real good job of creating XML/XSL so the reports will look like Access reports. I hope that makes sense (and helps). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Tuesday, October 31, 2006 9:18 AM To: Acces User Group Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi group, does anybody know how difficult it is to open a report in an Access 2003 database using Asp.Net? We're using an intranet and VPN. So that shouldn't be the big issue. Thnx in @vance. Regards, Sander -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gjgiever at myway.com Fri Nov 3 08:12:25 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Fri, 3 Nov 2006 09:12:25 -0500 (EST) Subject: [AccessD] Simple SQL Statement Message-ID: <20061103141225.387BE99F02@mprdmxin.myway.com> I'm setting up a program that must make a copy of a table (dbo_CLIENTMAST)in a different application then make one of the fields in the new table a primary key. Making the copy is easy but changing the field to a primary key is causing me some problems. I've tried various SQL statements but none have worked. This is my last attempt and it seems like it should work but I get the message "Syntax error in CONSTRAINT clause." tblClientMaster is the new table. ALTER TABLE tblClientMaster ADD CONSTRAINT UNIQUE (CCASE_NO); Any help would be much appreciated. Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From Jdemarco at hudsonhealthplan.org Fri Nov 3 08:28:44 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 3 Nov 2006 09:28:44 -0500 Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Message-ID: <08F823FD83787D4BA0B99CA580AD3C740464AB07@TTNEXCHCL2.hshhp.com> It must be your luck day. This was in the May 2003 issue of Smart Access but it looks like M$ posted it in total at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart 03/html/sa03e1.asp I find it a most interesting idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Friday, November 03, 2006 8:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi Jim, This sounds really nice. Do you happen to have a link to that article? Sander ----- Original Message ---- From: Jim DeMarco To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 5:00:10 PM Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Sander, I read an interestig article a while back that detailed how to use Access as the reporting engine for ASP.NET applications. In short it involves getting input from your user and running the report in Access (installed on server I'd imagine). The report is then exported to XML from Access by your .NET app. Access does a real good job of creating XML/XSL so the reports will look like Access reports. I hope that makes sense (and helps). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Tuesday, October 31, 2006 9:18 AM To: Acces User Group Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi group, does anybody know how difficult it is to open a report in an Access 2003 database using Asp.Net? We're using an intranet and VPN. So that shouldn't be the big issue. Thnx in @vance. Regards, Sander -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 3 08:33:55 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 03 Nov 2006 06:33:55 -0800 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <454A811D.9090008@shaw.ca> Message-ID: <0J85001TESE3YOG0@l-daemon> Great stuff Marty.... There does seem to be a number of considerations, before using this http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx?loc=& side=true#a ..and it is available at: http://download.microsoft.com/download/2/e/9/2e9bde04-3af1-4814-9f1e-733f732 369a3/RegFreeCOM.exe Just a comment Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 02, 2006 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating Managed Add-ins for Access 2007 BTW, did you ever try to use Registration-Free COM (http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William mentioned here some time ago? Yup it works calling a VB.Net wrapped com class dll from Access However the download from the article is missing a comclass.zip It is only 2 or 3 K, you need this to build any new classes. It is installed by Visual Studio but not VB Express. I don't have Visual Studio but found it in a .msi file downloadable from this simlar article by same author below. Just install it in the directory indicated in the article then it will appear in temporary templates in vb.Net IDE. It contains the COM Class template necessary for building new class projects. I suppose you could workaround it with your own GUID's but don't know the pitfuls. Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html /vbbestprac.asp You may have a problem in the registering of the dll. Two ways to do this Install the project and open it in VB.Net, then do a Build this will register the dll with the com registry. There are step by step instuctions except for doing the final build in the first article. The build will also create a new tlb file and register the assembly in the GAC and register the dll. There are also standalone routines to do this too. To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. C:\Access files\VBFusion\VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. Then just run your routine. The other way is to use the included install.bat to register the dll It uses regasm and gacutil to remove any previously named dll and reinstall in the registry. Haven't tried this method. See http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx install batch file looks like this regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" Shamil Salakhetdinov wrote: >Yes, Marty, it should be doable just using VB 2005 Express. > ><<< >installing with GPAC's instead of a created msi from a wizard. > > >Yes, should be doable - but also .NET Framework SDK is needed I think >to extract type library from shared add-in's assembly using TlbExp.exe >utility, which is delivered in SDK or is tlbexp.exe also delivered in >.NET Framework itself?... > >BTW, did you ever try to use Registration-Free COM >(http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which >William mentioned here some time ago? > >If that works OK then a Shared/COM Add-in can be probably installed >using xcopy given: > >- its assembly and related files; >- its typelib; >- its manifest file for RegFree COM (open question here is how(/what is >its >format) to make it?)... > >That would be great if it would work this way - it still might need to >set several registry entries to "inform" MS Access about presence of >com-add-in to load but this should be as easy as running once a .reg >file with needed registry entries... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Thursday, November 02, 2006 11:43 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Creating Managed Add-ins for Access 2007 > >Interesting article from Ken Getz >Creating Managed Add-ins for Access 2007 >http://msdn2.microsoft.com/en-us/library/aa902693.aspx > >You can probably do this without installing Visual Studio Tools and >just VB 2005 express but it might require filching the Shared Add-in >template class and installing with GPAC's instead of a created msi from >a wizard. > > > -- 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 3 08:42:18 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Nov 2006 15:42:18 +0100 Subject: [AccessD] Simple SQL Statement Message-ID: Hi Gary Try applying a name for the index: ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName UNIQUE (CCASE_NO); or: ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName PRIMARY KEY (CCASE_NO); /gustav >>> gjgiever at myway.com 03-11-2006 15:12:25 >>> I'm setting up a program that must make a copy of a table (dbo_CLIENTMAST)in a different application then make one of the fields in the new table a primary key. Making the copy is easy but changing the field to a primary key is causing me some problems. I've tried various SQL statements but none have worked. This is my last attempt and it seems like it should work but I get the message "Syntax error in CONSTRAINT clause." tblClientMaster is the new table. ALTER TABLE tblClientMaster ADD CONSTRAINT UNIQUE (CCASE_NO); Any help would be much appreciated. Gary J. Giever, M.A. Applications Developer ACCMHS From Gustav at cactus.dk Fri Nov 3 08:59:38 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Nov 2006 15:59:38 +0100 Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Message-ID: Hi Jim Thanks for that link, very useful. You may add that the article, in general, describes how to export a report to editable XML which could be useful in other scenarios. /gustav >>> Jdemarco at hudsonhealthplan.org 03-11-2006 15:28:44 >>> It must be your luck day. This was in the May 2003 issue of Smart Access but it looks like M$ posted it in total at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart03/html/sa03e1.asp I find it a most interesting idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Friday, November 03, 2006 8:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi Jim, This sounds really nice. Do you happen to have a link to that article? Sander ----- Original Message ---- From: Jim DeMarco To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 5:00:10 PM Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Sander, I read an interestig article a while back that detailed how to use Access as the reporting engine for ASP.NET applications. In short it involves getting input from your user and running the report in Access (installed on server I'd imagine). The report is then exported to XML from Access by your .NET app. Access does a real good job of creating XML/XSL so the reports will look like Access reports. I hope that makes sense (and helps). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Tuesday, October 31, 2006 9:18 AM To: Acces User Group Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi group, does anybody know how difficult it is to open a report in an Access 2003 database using Asp.Net? We're using an intranet and VPN. So that shouldn't be the big issue. Thnx in @vance. Regards, Sander From gjgiever at myway.com Fri Nov 3 09:27:32 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Fri, 3 Nov 2006 10:27:32 -0500 (EST) Subject: [AccessD] Simple SQL Statement Message-ID: <20061103152732.67F2967680@mprdmxin.myway.com> YES! That did it. Thank you very much. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Fri 11/03, Gustav Brock < Gustav at cactus.dk > wrote: From: Gustav Brock [mailto: Gustav at cactus.dk] To: accessd at databaseadvisors.com Date: Fri, 03 Nov 2006 15:42:18 +0100 Subject: Re: [AccessD] Simple SQL Statement Hi GaryTry applying a name for the index:ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName UNIQUE (CCASE_NO);or:ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName PRIMARY KEY (CCASE_NO);/gustav>>> gjgiever at myway.com 03-11-2006 15:12:25 >>>I'm setting up a program that must make a copy of a table (dbo_CLIENTMAST)in a different application then make one of the fields in the new table a primary key. Making the copy is easy but changing the field to a primary key is causing me some problems. I've tried various SQL statements but none have worked. This is my last attempt and it seems like it should work but I get the message "Syntax error in CONSTRAINT clause." tblClientMaster is the new table.ALTER TABLE tblClientMaster ADD CONSTRAINT UNIQUE (CCASE_NO);Any help would be much appreciated.Gary J. Giever, M.A.Applications DeveloperACCMHS-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From gregsmith at starband.net Fri Nov 3 10:45:36 2006 From: gregsmith at starband.net (Greg Smith) Date: Fri, 3 Nov 2006 10:45:36 -0600 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) Message-ID: <000001c6ff67$88527ee0$130a000a@DadsDell> (This is a second resend - my first one was html to illustrate the color layout for ease of reading the XML, but it turns out to be too large, so here it is in text only format) Hi everyone! It's been a while, or seems like it anyway! Hope everyone is well. Below is a valid XML file, according to the shown DTD, except for the part inside the elements, which is normally image in b64 code, but unnecessary for this example. I know that Access does not like attribute-centric XML and will not import it (correctly). I know that it DOES like element-centric XML and WILL import that. I think (which can be dangerous) that what I have below is attribute-centric, or some version of it, because, looking at examples from Microsoft of element-centric XML, this does not look like it. However, looking at Microsoft's attribute-centric XML, it doesn't look like that either. Closer, but not like this. What I really need to do is import the data from this file into Access (I'm using 2003). Now, I could just read the file as a text file, and strip out what I want, but that's not terribly efficient and might prove difficult to do when there are duplicated element names or attribute fields. Ideally, I would like to be able to just directly import the xml data, using a schema or some other document that can define this file, or convert it to element-centric XML, for Access to accept. Does anyone know how to do this or done this before or have some pointers I could use to get me started in the right direction? The creators of this beast have NO experience with Access or Access databases so are of no help in this matter. My tax dollars at work. L Thanks in advance!!! Greg Valid XML File for the stated dtd-(watch for wrapping and alignment issues with this type of file and text): <_RETURN_TO_PARTY> <_VOLUME_PAGE/> <_FEES _TotalAmount="31.00"> <_FEE _Amount="15.00" _Description="StandardFee"/> <_FEE _Amount="3.00" _Description="DocMgmtFee"/> <_FEE _Amount="3.00" _Description="ERecordingFee"/> <_FEE _Amount="10.00" _Description="TransferFee"/> <_FEE _Amount="0.00" _Description="TransferTax"/> <_EXEMPTIONS _Description="Deed fulfilling contract"/> -BLAH - IMAGE FILE - BLAH BLAH == From markamatte at hotmail.com Fri Nov 3 10:59:24 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 16:59:24 +0000 Subject: [AccessD] Access to web Message-ID: Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline From newsgrps at dalyn.co.nz Fri Nov 3 13:20:20 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 04 Nov 2006 08:20:20 +1300 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) In-Reply-To: <004901c6ff4c$af6dbdc0$6501a8c0@LaptopXP> References: <00bb01c6ff1f$6f502430$e5ad0c54@minster33c3r25> <004901c6ff4c$af6dbdc0$6501a8c0@LaptopXP> Message-ID: <7.0.1.0.0.20061104081814.01a97868@dalyn.co.nz> Thanks for the suggestion. However the problem seems to be in having the property accessible in the OnOpen event. I get the same error when I try to read the property from there. David At 4/11/2006, you wrote: >A long shot ideas. > >Use CHR$(39) instead of the single quote. >Not sure the syntax is exactly correct or not but here is what I came up >with. > >"EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo >& ", " & Chr$(39) >& basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t >xtGateMthStartMth])) & Chr$(39) & ", " & Chr$(39) & >"basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndM >th])) " & Chr$(39) > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 03, 2006 3:10 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Changing Rowsource for Graph (Sproc source) > >Hi David >I seem to recall having the same issue a long while ago. I was using queries >and ended up setting the graph's rowsource to a query but modifying the >query's SQL before opening the report. Not being an SQL kind of guy I don't >know how that translates when you have Sprocs, or if it can at all, but I'm >hoping that gives you a steer. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 03 November 2006 04:28 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > > > > Group, > > > > Access XP ADP > > > > I have a report that has a single graph on it (Unbound Object Frame: > > Microsoft Graph Chart). The RowSource property is set to a sproc > > which has parameters. > > > > If I enter the following direct into the RowSource property the > > report runs fine: > > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > > > However, I want to set the parameters based on values on a form. The > > help I found on the internet said that the reports OnOpen event was > > the place to put it so I added: > > > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthStartMth])) > > & "', '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthEndMth])) > > & "'" > > > > When the report is run I get Runtime Error 2455 - You entered an > > expression that has an invalid reference to the property > > RowSource. I get the same error if I try in the OnOpen event of the > > report (this indicates that the property is not even > > available OnOpen): > > > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > > > I know the property exists because the following works it I put it > > into the report detail OnFormat event: > > MsgBox Me!graGraph.RowSource > > > > I have tried setting the property on the detail OnFormat event but an > > error comes up saying that you cant set this property after printing > > has started. > > > > Any guidance on what I can try? From cfoust at infostatsystems.com Fri Nov 3 13:23:38 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Nov 2006 11:23:38 -0800 Subject: [AccessD] Access to web In-Reply-To: Message-ID: Look at web design in VS.Net 2005. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, November 03, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=e n-us&hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 3 13:30:46 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 03 Nov 2006 11:30:46 -0800 Subject: [AccessD] Access to web In-Reply-To: Message-ID: <0J8600A8964T0WC0@l-daemon> Hi Mark: Your first option is to decide which language you what to become an expert with...a Web based language. This assume you have a basic or better knowledge with creating web pages. (html, css, JavaScript, xml) The large standards are: Perl(cgi), java, PHP, ASP, ASP.Net and there is python, ruby. All except ASP and ASP.Net are open source but you would probably be most familiar with the structures of these two... ASP Lite and PRO. There is always Access ADP which I am totally unfamiliar with as there has always been rumors of its immediate demise for going on more 5 years now.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, November 03, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us &hmtagline -- 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 3 14:02:13 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 03 Nov 2006 12:02:13 -0800 Subject: [AccessD] Access to web In-Reply-To: References: Message-ID: <454BA045.1070103@shaw.ca> I would look at some of the introductary AJAX sites this comprises css html xml and javascript. or the use of ASP.Net depending on your clients. For security I would make myself familar with SQL Injection attacks and cross site scripting. Mark A Matte wrote: >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > > -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Fri Nov 3 14:08:13 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 20:08:13 +0000 Subject: [AccessD] Access to web In-Reply-To: Message-ID: Thanks Charlotte...just to make sure...we're talking about one of the items listed below?...or do you think I would need a combination of them...thanks, Mark Visual Studio 2005 Professional Edition$799.00 Visual Studio 2005 Tools for Office $799.00 Visual Studio 2005 Standard Edition$299.00 Visual Source Safe 2005$549.00 >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Access to web >Date: Fri, 3 Nov 2006 11:23:38 -0800 > >Look at web design in VS.Net 2005. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With >that in mind...I would like to learn to create secure web based >apps(convert some of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a >free trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=e >n-us&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From markamatte at hotmail.com Fri Nov 3 14:20:08 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 20:20:08 +0000 Subject: [AccessD] Access to web In-Reply-To: <0J8600A8964T0WC0@l-daemon> Message-ID: Marty and Jim, Thanks for the feedback. I have heard of almost everyting mentioned(and will be researching each)..And that is the question I'm trying to answer...which one to pick? I'm still not sure what criteria I should use to pick a language? Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Access to web >Date: Fri, 03 Nov 2006 11:30:46 -0800 > >Hi Mark: > >Your first option is to decide which language you what to become an expert >with...a Web based language. This assume you have a basic or better >knowledge with creating web pages. (html, css, JavaScript, xml) > >The large standards are: Perl(cgi), java, PHP, ASP, ASP.Net and there is >python, ruby. All except ASP and ASP.Net are open source but you would >probably be most familiar with the structures of these two... ASP Lite and >PRO. > >There is always Access ADP which I am totally unfamiliar with as there has >always been rumors of its immediate demise for going on more 5 years >now.... > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert >some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a free >trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us >&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001 From DWUTKA at marlow.com Fri Nov 3 14:24:42 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 14:24:42 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AF9C@MARLOW_MAIN2.marlow.com> Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Thursday, November 02, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From spikee at oatlandspark.org.uk Fri Nov 3 14:49:34 2006 From: spikee at oatlandspark.org.uk (Chris Foote (Spike)) Date: Fri, 3 Nov 2006 20:49:34 -0000 Subject: [AccessD] Access to web In-Reply-To: Message-ID: <200611032049.kA3Knpq22197@databaseadvisors.com> Hi Mark! I've been playing with HTML for about eight years now, and consider myself to be fairly competent. I've also been using Access and VBA for more or less the same period. About 18 months or so ago I decided to take the plunge and convert some of my static sites to use dynamic database-generated pages. As my chosen web hosting company is Linux/Apache based I chose the MySQL/PHP route. I found the "conversion" from Access/VBA to MySQL/PHP very easy. I am not trained as a programmer (I'm an electronics hardware engineer) but many of the skills/techniques/disciplines (most learnt from this list) translated well. Hope this helps! Best regards Chris Foote -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: 03 November 2006 16:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us &hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 3 14:50:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 3 Nov 2006 15:50:29 -0500 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139AF9C@MARLOW_MAIN2.marlow.com> Message-ID: <00ba01c6ff89$b30fd700$657aa8c0@m6805> Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Thursday, November 02, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Fri Nov 3 15:37:17 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 3 Nov 2006 13:37:17 -0800 Subject: [AccessD] Access to web In-Reply-To: Message-ID: <003b01c6ff90$3c03e6e0$0200a8c0@murphy3234aaf1> Check out Visual Web Developer Express on the Microsoft site. It's free and is an extrodinary tool for developing ASP.NET sites. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, November 03, 2006 12:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Thanks Charlotte...just to make sure...we're talking about one of the items listed below?...or do you think I would need a combination of them...thanks, Mark Visual Studio 2005 Professional Edition$799.00 Visual Studio 2005 Tools for Office $799.00 Visual Studio 2005 Standard Edition$299.00 Visual Source Safe 2005$549.00 >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Access to web >Date: Fri, 3 Nov 2006 11:23:38 -0800 > >Look at web design in VS.Net 2005. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With >that in mind...I would like to learn to create secure web based >apps(convert some of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a >free trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale= >e >n-us&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spa ces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us -- 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 3 15:42:47 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 15:42:47 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AFC5@MARLOW_MAIN2.marlow.com> Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Thursday, November 02, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Nov 3 16:05:08 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 22:05:08 +0000 Subject: [AccessD] Access to web Message-ID: No that's what I'm talking about...Good old fashion taught myself and it works!!!! Sounds like me...I will definitely research. Thanks, Mark A. Matte >From: "Chris Foote (Spike)" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Access to web >Date: Fri, 3 Nov 2006 20:49:34 -0000 > >Hi Mark! > >I've been playing with HTML for about eight years now, and consider myself >to be fairly competent. I've also been using Access and VBA for more or >less the same period. About 18 months or so ago I decided to take the >plunge >and convert some of my static sites to use dynamic database-generated >pages. >As my chosen web hosting company is Linux/Apache based I chose the >MySQL/PHP >route. > >I found the "conversion" from Access/VBA to MySQL/PHP very easy. I am not >trained as a programmer (I'm an electronics hardware engineer) but many of >the skills/techniques/disciplines (most learnt from this list) translated >well. > >Hope this helps! > >Best regards >Chris Foote > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: 03 November 2006 16:59 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert >some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a free >trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us >&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From jwcolby at colbyconsulting.com Fri Nov 3 16:17:03 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 3 Nov 2006 17:17:03 -0500 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139AFC5@MARLOW_MAIN2.marlow.com> Message-ID: <00c501c6ff95$cb2b4b60$657aa8c0@m6805> Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew From JHewson at karta.com Fri Nov 3 16:22:10 2006 From: JHewson at karta.com (Jim Hewson) Date: Fri, 3 Nov 2006 16:22:10 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C04908B19@karta-exc-int.Karta.com> I ran into the 64k limitation a couple of weeks ago. The combo box and list box are both limited. Had a little over 65K list of names... wouldn't show the last 1K or so. It wasn't very slow, but the users would not have found it except they wanted to find a name starting with Z. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -- 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 3 16:20:57 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 16:20:57 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AFD8@MARLOW_MAIN2.marlow.com> Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -- 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 3 16:21:30 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 16:21:30 -0600 Subject: [AccessD] Access to web Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDD57@MARLOW_MAIN2.marlow.com> ASP. It's free. If you have Windows 2000 or XP, you can install a local webserver to play with it. The 'web server' is identical to what you get on a server, it's just limited by how many people can hit it concurrently. ASP is just a script language. Personally, I use Microsoft Script Editor 10, which comes with Front page. Handy to write both HTML and ASP. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Friday, November 03, 2006 2:20 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Marty and Jim, Thanks for the feedback. I have heard of almost everyting mentioned(and will be researching each)..And that is the question I'm trying to answer...which one to pick? I'm still not sure what criteria I should use to pick a language? Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Access to web >Date: Fri, 03 Nov 2006 11:30:46 -0800 > >Hi Mark: > >Your first option is to decide which language you what to become an expert >with...a Web based language. This assume you have a basic or better >knowledge with creating web pages. (html, css, JavaScript, xml) > >The large standards are: Perl(cgi), java, PHP, ASP, ASP.Net and there is >python, ruby. All except ASP and ASP.Net are open source but you would >probably be most familiar with the structures of these two... ASP Lite and >PRO. > >There is always Access ADP which I am totally unfamiliar with as there has >always been rumors of its immediate demise for going on more 5 years >now.... > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert >some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a free >trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-u s >&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 3 17:02:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 3 Nov 2006 18:02:06 -0500 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139AFD8@MARLOW_MAIN2.marlow.com> Message-ID: <00ca01c6ff9c$16677da0$657aa8c0@m6805> LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 3 17:10:39 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 17:10:39 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AFE8@MARLOW_MAIN2.marlow.com> Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 stuart at lexacorp.com.pg Fri Nov 3 17:28:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Nov 2006 09:28:07 +1000 Subject: [AccessD] Access to web In-Reply-To: References: <0J8600A8964T0WC0@l-daemon>, Message-ID: <454BD087.3169.1D36D481@stuart.lexacorp.com.pg> On 3 Nov 2006 at 20:20, Mark A Matte wrote: > Marty and Jim, > > Thanks for the feedback. I have heard of almost everyting mentioned(and > will be researching each)..And that is the question I'm trying to > answer...which one to pick? > > I'm still not sure what criteria I should use to pick a language? The primary criteria is where this will be sited. If you are usimg an service provider, you are limited to what they support My ISP runs on LAMP - Linux, Apache,mySQL, PHP so I can't use ASP there. If you are setting up your own Intranet on MS servers or have a host that supports MS, you'll find ASP has the lowest learning curve with your background. -- Stuart From martyconnelly at shaw.ca Fri Nov 3 17:45:08 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 03 Nov 2006 15:45:08 -0800 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) In-Reply-To: <000001c6ff67$88527ee0$130a000a@DadsDell> References: <000001c6ff67$88527ee0$130a000a@DadsDell> Message-ID: <454BD484.2020903@shaw.ca> Umm. I won't go on a rant about using DTD's and XML attributes. I guess this a standard that has been developed by a committee over 10 years. I see, they have been discussing switching to the use of xsd schema's for 3 years. When you see a dtd with a self-contained copyright and a disclaimer that indemnifies against everything including global warning, I head for the hills. However here is why attributes should not be used this way http://www.xmlfiles.com/xml/xml_attributes.asp These are some of the problems using attributes: attributes can not contain multiple values (elements can) attributes are not expandable (for future changes) attributes can not describe structures (like child elements can) attributes are more difficult to manipulate by program code attribute values are not easy to test against a DTD If you start using attributes as containers for XML data, you might end up with documents that are both difficult to maintain and to manipulate. What I'm trying to say is that you should use elements to describe your data. Use attributes only to provide information that is not relevant to the reader. Please don't end up like this: Rules always have exceptions. You can assign ID references to elements in my XML documents. These ID references can be used to access XML element in much the same way as the NAME or ID attributes in HTML. A couple of suggestions you might use a product like XMLSPY to do the conversion or a sister product like MAPForce from Altova, this would be a $5-700 investment. I am not sure if it would do all you want. Good product if working daily with XML. http://www.altova.com It would be hard to read this via xmldom, maybe there is code written available via a user group, it would amout to a couple of thousand lines. They may have a an xslt to do the conversion. You could also easily read via dotNet XMLTextReader class Maybe write a VB.Net program to do something like this You would read xml and use a select case to parse your way through. The XMLTextReader doesn't verify against the DTD however. C1ComboBoxList LastMedDate cmbGoal5 Private Shared Function FormatXml(ByVal reader As XmlTextReader, ByVal filename As String) As clsReportElements Dim ReportElement As clsReportElement Dim al As new clsReportElements 'ArrayList(117) Dim lValue as string Dim lBookmark as String Try ReportElement = New clsReportElement While reader.Read() Select Case (reader.NodeType) Case XmlNodeType.Element '''***Other Elements removed for easy reading***** If (reader.Name = "Values") Then dim isValueAdded as Boolean = False if reader.HasAttributes then Do while reader.MoveToNextAttribute () if len(Reader.Value.Trim) > 0 then if Reader.Name = "VALUE" then lValue = Reader.Value End If end if if Reader.Name = "BookMark" then if len(Reader.Value.Trim) > 0 then lBookmark = Reader.Value.ToString isValueAdded = True end if End If Loop End If if isValueAdded = True then ReportElement.AddValue (lValue, lBookmark) end if End If case XmlNodeType.EndElement If (reader.Name = "LookUp") then al.Add(ReportElement) ReportElement = New clsReportElement End If case xmlnodetype.Attribute If (reader.Name = "Values") Then ReportElement.AddValue (0, reader.ReadElementString()) End If End Select End While Return al Catch ex As Exception Console.WriteLine("Operation Failed.") Console.WriteLine("Exception: {0}", ex.ToString()) Finally 'Finished with XmlTextReader If Not reader Is Nothing Then reader.Close() End If End Try End Function Greg Smith wrote: > (This is a second resend - my first one was html to illustrate the color >layout for ease of reading the XML, but it turns out to be too large, so >here it is in text only format) > >Hi everyone! It's been a while, or seems like it anyway! Hope everyone is >well. > >Below is a valid XML file, according to the shown DTD, except for the part >inside the elements, which is normally image in b64 code, but >unnecessary for this example. > >I know that Access does not like attribute-centric XML and will not import >it (correctly). I know that it DOES like element-centric XML and WILL >import that. I think (which can be dangerous) that what I have below is >attribute-centric, or some version of it, because, looking at examples from >Microsoft of element-centric XML, this does not look like it. However, >looking at Microsoft's attribute-centric XML, it doesn't look like that >either. Closer, but not like this. > >What I really need to do is import the data from this file into Access (I'm >using 2003). Now, I could just read the file as a text file, and strip out >what I want, but that's not terribly efficient and might prove difficult to >do when there are duplicated element names or attribute fields. > >Ideally, I would like to be able to just directly import the xml data, using >a schema or some other document that can define this file, or convert it to >element-centric XML, for Access to accept. > >Does anyone know how to do this or done this before or have some pointers I >could use to get me started in the right direction? The creators of this >beast have NO experience with Access or Access databases so are of no help >in this matter. My tax dollars at work. L > >Thanks in advance!!! > >Greg > >Valid XML File for the stated dtd-(watch for wrapping and alignment issues >with this type of file and text): > > >"http://iowalandrecords.org/portal/dtd/CLRIS_PRIA_Request.dtd"> > > > > > > > > > > > > _InstrumentDate="20060831" _CountyOfRecordationName="Scott" >_StateOfRecordationName="IA"> > _NameSuffix="" _UnparsedName="Last First mi" _Capacity="" >_NonPersonEntityIndicator="N"/> > > > <_RETURN_TO_PARTY> > > > > > > > <_VOLUME_PAGE/> > <_FEES _TotalAmount="31.00"> > <_FEE _Amount="15.00" _Description="StandardFee"/> > <_FEE _Amount="3.00" _Description="DocMgmtFee"/> > <_FEE _Amount="3.00" _Description="ERecordingFee"/> > <_FEE _Amount="10.00" _Description="TransferFee"/> > <_FEE _Amount="0.00" _Description="TransferTax"/> > > <_EXEMPTIONS _Description="Deed fulfilling contract"/> > > _ID="4421" _Name="Cert.pdf" _NumberOfPages="1"> > -BLAH - IMAGE FILE - BLAH BLAH == > > > > > > > > > > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Fri Nov 3 18:35:45 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 3 Nov 2006 16:35:45 -0800 (PST) Subject: [AccessD] Access to web Message-ID: <20061104003545.57918.qmail@web88214.mail.re2.yahoo.com> Secure, IMO, means that you abandon Access as a back-end and focus on SQL Server or some other server database (MySQL, Oracle, DB/2, PostGres, Sybase, etc.). The security offered in such a platform is superior to that offered by Access. Typically, you create roles (groups of equivalent users), and then assign users to roles. You also prevent everyone from directly accessing tables, and allow them access to views, stored procedures and UDFs. You build up a hierarchy of roles, additively (i.e. managers can do everything everyone beneath them can do, but also have rights to do additional thngs such as run reports of salaries. For the generic web user you create a role WebUser. For employees, you create several roles corresponding to the hierarchy of responsibility. The CEO has, in theory, access to everything, but in practice I am god, not the CEO, because I don't trust him to play safe. So in a nutshell, if you want to move into web-dev, think SQL Server on the Back End and then choose any Front End that appeals to you (.NET, PHP, Ajax, DreamWeaver, whatever). In all cases the essential thing is to avoid dynamic SQL at all costs, and instead think everything out in stored procedures, views and UDFs. HTH, Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, November 3, 2006 11:59:24 AM Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline -- 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 3 19:24:35 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 03 Nov 2006 17:24:35 -0800 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) In-Reply-To: <000001c6ff67$88527ee0$130a000a@DadsDell> References: <000001c6ff67$88527ee0$130a000a@DadsDell> Message-ID: <454BEBD3.8070305@shaw.ca> Here is another VB.Net variation that might help How Do I...Read XML from an XmlDataDocument? http://samples.gotdotnet.com/quickstart/howto/doc/Xml/StreamXmlDocument.aspx I think by rewriting the FormatXML function you could generate Entity only XML file Greg Smith wrote: > (This is a second resend - my first one was html to illustrate the color >layout for ease of reading the XML, but it turns out to be too large, so >here it is in text only format) > >Hi everyone! It's been a while, or seems like it anyway! Hope everyone is >well. > >Below is a valid XML file, according to the shown DTD, except for the part >inside the elements, which is normally image in b64 code, but >unnecessary for this example. > >I know that Access does not like attribute-centric XML and will not import >it (correctly). I know that it DOES like element-centric XML and WILL >import that. I think (which can be dangerous) that what I have below is >attribute-centric, or some version of it, because, looking at examples from >Microsoft of element-centric XML, this does not look like it. However, >looking at Microsoft's attribute-centric XML, it doesn't look like that >either. Closer, but not like this. > >What I really need to do is import the data from this file into Access (I'm >using 2003). Now, I could just read the file as a text file, and strip out >what I want, but that's not terribly efficient and might prove difficult to >do when there are duplicated element names or attribute fields. > >Ideally, I would like to be able to just directly import the xml data, using >a schema or some other document that can define this file, or convert it to >element-centric XML, for Access to accept. > >Does anyone know how to do this or done this before or have some pointers I >could use to get me started in the right direction? The creators of this >beast have NO experience with Access or Access databases so are of no help >in this matter. My tax dollars at work. L > >Thanks in advance!!! > >Greg > >Valid XML File for the stated dtd-(watch for wrapping and alignment issues >with this type of file and text): > > >"http://iowalandrecords.org/portal/dtd/CLRIS_PRIA_Request.dtd"> > > > > > > > > > > > > _InstrumentDate="20060831" _CountyOfRecordationName="Scott" >_StateOfRecordationName="IA"> > _NameSuffix="" _UnparsedName="Last First mi" _Capacity="" >_NonPersonEntityIndicator="N"/> > > > <_RETURN_TO_PARTY> > > > > > > > <_VOLUME_PAGE/> > <_FEES _TotalAmount="31.00"> > <_FEE _Amount="15.00" _Description="StandardFee"/> > <_FEE _Amount="3.00" _Description="DocMgmtFee"/> > <_FEE _Amount="3.00" _Description="ERecordingFee"/> > <_FEE _Amount="10.00" _Description="TransferFee"/> > <_FEE _Amount="0.00" _Description="TransferTax"/> > > <_EXEMPTIONS _Description="Deed fulfilling contract"/> > > _ID="4421" _Name="Cert.pdf" _NumberOfPages="1"> > -BLAH - IMAGE FILE - BLAH BLAH == > > > > > > > > > > > -- Marty Connelly Victoria, B.C. Canada From robert at servicexp.com Sat Nov 4 09:15:41 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 10:15:41 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <454BEBD3.8070305@shaw.ca> Message-ID: <000401c70024$188831f0$dcc05005@roberts> This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert From accessd at shaw.ca Sat Nov 4 11:19:25 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 04 Nov 2006 09:19:25 -0800 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <000401c70024$188831f0$dcc05005@roberts> Message-ID: <0J8700F1UUPSR050@l-daemon> Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Nov 4 13:33:59 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 14:33:59 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <0J8700F1UUPSR050@l-daemon> Message-ID: <000501c70048$2e0a70f0$dcc05005@roberts> Jim, Thanks, indeed very helpful.. Would you, or have you ever, marked up the item based on it's average cost plus current cost? If so, would the average be limited by a date frame? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 12:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 4 14:51:49 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 4 Nov 2006 15:51:49 -0500 Subject: [AccessD] Building runtimes Message-ID: <000001c70053$0d002f70$657aa8c0@m6805> Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Sat Nov 4 15:16:48 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 4 Nov 2006 15:16:48 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <20630972.1162673963464.JavaMail.root@sniper6> Message-ID: <000301c70056$8b031150$0200a8c0@danwaters> Hi John, One way or another, it costs something to make runtimes. Office 2002 Developer edition cost more, and for 2003 you need Microsoft Office Access 2003 Developer Extensions. I've made runtimes in both XP and 2003, and I believe that using the 2003 Developer Extensions was better. I did get the Extensions CD for free about three years ago by attending the Office 2003 Launch event in Minneapolis. I got more free software at that event that I ever used! Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Sat Nov 4 15:17:09 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Sat, 4 Nov 2006 15:17:09 -0600 Subject: [AccessD] Building runtimes Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C068DE860@natexch.jenkens.com> I forget what the file name is, but there is one file that you need from the developer edition. I had this same issue when I created a runtime version earlier this year and had to get a developer edition in addition to Sage software's runtime builder. The resulting package is huge too. Debbie -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - 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 stuart at lexacorp.com.pg Sat Nov 4 15:34:11 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Nov 2006 07:34:11 +1000 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <000401c70024$188831f0$dcc05005@roberts> References: <454BEBD3.8070305@shaw.ca>, <000401c70024$188831f0$dcc05005@roberts> Message-ID: <454D0753.5510.21F4DA6C@stuart.lexacorp.com.pg> Jim gave you a very good exposition of the vatious ways of establishing markup. Then one part he skipped over was what cost price to use. There are several different ways of determining cost price. Which price is used is determined by why it is being used and/or who is using it. The most common "Cost" prices are: Last/Replacement cost. Gives you an indication of what it is going to cost you to replace your current stock when you use/sell it. Good for planners/managers. Not used very often for determining prices/margins. Simple to implement CurrentCost = NewCost Average Cost. Tells you how much you have paid in total for your current stock and gives a reasonable indication of unit costs to work out margins etc and whether you are making a profit in the business. Commonly used for determining prices/margins. Good for accountants. A bit more complex to implement. ((CurrentStockOnHand * CurrentCost) + (NewStockQty * NewCost)) / (CurrentStockOnHand + NewStockQty) First In First Out (FIFO) Item Cost Tells you exactly what each item of stock cost you. Favoured by anal retentive accountants and auditors. Complicated to implement. You need to keep either a date/qty/cost table for each item or. Every time an item is consumed, you need to check QuantityOnHand or keep track of a pointer into this table to work out when it was purchased and therefore what it cost. Actual Cost. You store the individual cost against each item, not against each item type. It is only useful if you can identify individual items when they are bought/sold. Used for pricing/margins when dealing with low volume/big ticket items and accountable items such as aircraft spares etc. On 4 Nov 2006 at 10:15, Robert wrote: > > > This is probably a stupid question but..... > > When calculating the selling price of an item, say by margin, do you > calculate based on the current received cost, or does one take the average > cost (of previously received items) + the current price and then perform the > calculations? > > Total = AverageCost / (1 - m_dMargin) > > Or say > > Total = RecievedCost / (1 - m_dMargin) > > > Another question.... > > What do you think is the best method of pricing an item in a Service > Oriented business. The business would sell both labor and components.. > > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From accessd at shaw.ca Sat Nov 4 15:37:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 04 Nov 2006 13:37:08 -0800 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <000501c70048$2e0a70f0$dcc05005@roberts> Message-ID: <0J88008UV6NAJM10@l-daemon> Hi Robert: If the item's costs are fairly constant then an average might be an appropriate way to price an item... Mind you if the item is fairly consistent there would seem to be no need for an average.... Just set an reasonable markup and leave it until a major cost change requires a price increase or decrease. If the items cost fluctuates dramatically then the average price maybe be below cost. Unless you are running a cost/price system like a stock exchange or a cost plus seller store (ie, gas-station or grocery store) oscillating selling prices would just confuse a customer. I would tend to just apply a reasonable margin that would buffer the shifting costs until the difference become to slim or too wide and then have the system trigger a recal of the margin. For your averaging system a moving date window would be a reasonable constraint. No I have never designed an application that could marked up an items using an averagering... But I have no idea of what type of business you are designing for. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 11:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Jim, Thanks, indeed very helpful.. Would you, or have you ever, marked up the item based on it's average cost plus current cost? If so, would the average be limited by a date frame? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 12:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Nov 4 15:40:54 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 04 Nov 2006 13:40:54 -0800 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70053$0d002f70$657aa8c0@m6805> References: <000001c70053$0d002f70$657aa8c0@m6805> Message-ID: <454D08E6.3070403@shaw.ca> Unfortunately TANSTAAFL You will need one developers edition for one version of Access P&D Wizard and preferably have only that version on the system, with Office Jet and MDAC updated patches. You may have problems on OS below Win 2000 ie. Access 2003 wont run on them. Unless you want to handle a lot of phone support, I would get the Msi. version of sagekey scripts, it is the cheapest, and will get you around a lot of possible problems on OS installs. Msi doesn't need Wise installer $425 Don't forget to test on a non-Admin account as this maybe where it will be installed. Maybe someone here has a copy, takes about an hour to do. http://www.sagekey.com/access_2000.aspx JWColby wrote: >Does anyone know if it is possible to build a runtime "without cost"? I >have built a database pro bono for Learning Disabilities Association, a >(USA) nationwide non-profit association for parents of children with >learning disabilities. I would like to make it available to all of the >state chapters but when I go look at the Microsoft site, I cannot for the >life of me figure out how to actually get whatever is required to build >runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers >edition for 2K but not since, and am not really sure I can find that. I am >not making any money on this and don't particularly want to spend any money >on this. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From billmorrill at comcast.net Sat Nov 4 16:33:35 2006 From: billmorrill at comcast.net (Bill Morrill) Date: Sat, 4 Nov 2006 15:33:35 -0700 Subject: [AccessD] DAO Code won't Compile Message-ID: Need help on the following DAO code. Using Access 2003 VBA reference set to DAO 3.6 Object Library. When I go to compile the code below the compiler lights up [CALL_TYPE] and stops. CALL_TYPE is a field in the qryCallAttempt but the compiler doesn't seem to understand this. If I comment out THE LINE strCallType = rst.CALL_TYPE then the compile stops at the next line blnUnsuccessful = rst.UNSUCCESSFUL_ATTEMPT - same thing it doesn't see rst.UNSUCCESSFUL_ATTEMPT ? ANOTHER FIELD IN qryCallAttempt. Need some illumination. Thanks, Bill '_________________________________________________________________ DoCmd.Hourglass True 'declare object variables Dim db As DAO.Database Dim rst As DAO.Recordset Set db = CurrentDb Set rst = db.OpenRecordset("qryCallAttempt") 'declare non-object variables to be used in loop Dim intCounter As Integer Dim strCallType As String Dim blnUnsuccessful As Boolean Dim blnDeactivate As Boolean 'initialize variable intCounter = 0 rs.MoveFirst Do While Not rst.EOF 'loop through each record in the query and set Deactivated in the recordset where applicable 'initialize variables rs.Edit strCallType = rst.[CALL_TYPE] blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] blnDeactivate = rst.[DEACTIVATE] If strCallType = "Call 1" And blnUnsuccessful = True And Forms!frmPatientAddUpdate!Program = "NON-SCALE MEMBER" Then intCounter = intCounter + 1 If intCounter = 3 Then 'update current record set blnDeactivate = True Me![DEACTIVATE] = blnDeactivate rst.Update rst.Close DoCmd.Hourglass False Exit Sub End If End If rst.Update rst.MoveNext Loop DoCmd.Hourglass False '_____________________________________________________ From lizd1 at charter.net Sat Nov 4 19:04:10 2006 From: lizd1 at charter.net (Liz Doering) Date: Sat, 4 Nov 2006 19:04:10 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70053$0d002f70$657aa8c0@m6805> Message-ID: <000001c70076$4e1a5d00$6601a8c0@Lillian> I want to think I remember that this was easier with 97. And your users probably wouldn't care, so long as it worked. Don't you have a stash of ancient disks around? Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Nov 4 19:29:26 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 20:29:26 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <454D0753.5510.21F4DA6C@stuart.lexacorp.com.pg> Message-ID: <000001c70079$d620dff0$dcc05005@roberts> Stuart, Thank You Very Much! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, November 04, 2006 4:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pricing Method ? Jim gave you a very good exposition of the vatious ways of establishing markup. Then one part he skipped over was what cost price to use. There are several different ways of determining cost price. Which price is used is determined by why it is being used and/or who is using it. The most common "Cost" prices are: Last/Replacement cost. Gives you an indication of what it is going to cost you to replace your current stock when you use/sell it. Good for planners/managers. Not used very often for determining prices/margins. Simple to implement CurrentCost = NewCost Average Cost. Tells you how much you have paid in total for your current stock and gives a reasonable indication of unit costs to work out margins etc and whether you are making a profit in the business. Commonly used for determining prices/margins. Good for accountants. A bit more complex to implement. ((CurrentStockOnHand * CurrentCost) + (NewStockQty * NewCost)) / (CurrentStockOnHand + NewStockQty) First In First Out (FIFO) Item Cost Tells you exactly what each item of stock cost you. Favoured by anal retentive accountants and auditors. Complicated to implement. You need to keep either a date/qty/cost table for each item or. Every time an item is consumed, you need to check QuantityOnHand or keep track of a pointer into this table to work out when it was purchased and therefore what it cost. Actual Cost. You store the individual cost against each item, not against each item type. It is only useful if you can identify individual items when they are bought/sold. Used for pricing/margins when dealing with low volume/big ticket items and accountable items such as aircraft spares etc. On 4 Nov 2006 at 10:15, Robert wrote: > > > This is probably a stupid question but..... > > When calculating the selling price of an item, say by margin, do you > calculate based on the current received cost, or does one take the > average cost (of previously received items) + the current price and > then perform the calculations? > > Total = AverageCost / (1 - m_dMargin) > > Or say > > Total = RecievedCost / (1 - m_dMargin) > > > Another question.... > > What do you think is the best method of pricing an item in a Service > Oriented business. The business would sell both labor and components.. > > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Nov 4 19:29:42 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 20:29:42 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <0J88008UV6NAJM10@l-daemon> Message-ID: <000101c70079$df783b70$dcc05005@roberts> Jim, Again Thank You Very Much! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 4:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: If the item's costs are fairly constant then an average might be an appropriate way to price an item... Mind you if the item is fairly consistent there would seem to be no need for an average.... Just set an reasonable markup and leave it until a major cost change requires a price increase or decrease. If the items cost fluctuates dramatically then the average price maybe be below cost. Unless you are running a cost/price system like a stock exchange or a cost plus seller store (ie, gas-station or grocery store) oscillating selling prices would just confuse a customer. I would tend to just apply a reasonable margin that would buffer the shifting costs until the difference become to slim or too wide and then have the system trigger a recal of the margin. For your averaging system a moving date window would be a reasonable constraint. No I have never designed an application that could marked up an items using an averagering... But I have no idea of what type of business you are designing for. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 11:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Jim, Thanks, indeed very helpful.. Would you, or have you ever, marked up the item based on it's average cost plus current cost? If so, would the average be limited by a date frame? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 12:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 4 19:42:27 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 4 Nov 2006 19:42:27 -0600 Subject: [AccessD] DAO Code won't Compile In-Reply-To: <28113472.1162679927476.JavaMail.root@Sniper26> Message-ID: <000701c7007b$a73452b0$0200a8c0@danwaters> Bill, You might try changing the name CALL-TYPE to something else. I've found that I can't use the words Level or Note for the names of fields in tables. Also, try removing the underscore from the field name. I think in general, all field names should be a continuous stream of letters and numbers (with a letter as the first character). Doing this removes a possibility for error. Also, when you are in the code editor screen, select Tools|References, then see if there are any references missing. If so, the word MISSING should precede the name of the reference that should be there. Hope this helps, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Morrill Sent: Saturday, November 04, 2006 4:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Code won't Compile Need help on the following DAO code. Using Access 2003 VBA reference set to DAO 3.6 Object Library. When I go to compile the code below the compiler lights up [CALL_TYPE] and stops. CALL_TYPE is a field in the qryCallAttempt but the compiler doesn't seem to understand this. If I comment out THE LINE strCallType = rst.CALL_TYPE then the compile stops at the next line blnUnsuccessful = rst.UNSUCCESSFUL_ATTEMPT - same thing it doesn't see rst.UNSUCCESSFUL_ATTEMPT - ANOTHER FIELD IN qryCallAttempt. Need some illumination. Thanks, Bill '_________________________________________________________________ DoCmd.Hourglass True 'declare object variables Dim db As DAO.Database Dim rst As DAO.Recordset Set db = CurrentDb Set rst = db.OpenRecordset("qryCallAttempt") 'declare non-object variables to be used in loop Dim intCounter As Integer Dim strCallType As String Dim blnUnsuccessful As Boolean Dim blnDeactivate As Boolean 'initialize variable intCounter = 0 rs.MoveFirst Do While Not rst.EOF 'loop through each record in the query and set Deactivated in the recordset where applicable 'initialize variables rs.Edit strCallType = rst.[CALL_TYPE] blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] blnDeactivate = rst.[DEACTIVATE] If strCallType = "Call 1" And blnUnsuccessful = True And Forms!frmPatientAddUpdate!Program = "NON-SCALE MEMBER" Then intCounter = intCounter + 1 If intCounter = 3 Then 'update current record set blnDeactivate = True Me![DEACTIVATE] = blnDeactivate rst.Update rst.Close DoCmd.Hourglass False Exit Sub End If End If rst.Update rst.MoveNext Loop DoCmd.Hourglass False '_____________________________________________________ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 4 19:45:44 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 4 Nov 2006 20:45:44 -0500 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70076$4e1a5d00$6601a8c0@Lillian> Message-ID: <000601c7007c$1c963820$657aa8c0@m6805> Liz, In fact I do own the developer's version of '97. Unfortunately, unless you are very careful, installing a runtime can damage current installs of later versions of Access. That is why the installer companies exist, because they know how to do it right and charge for the knowledge. The install builder of the day just wrote over the top of... I don't own one of the install builders, and they aren't cheap. I am not going to pay that much for this project. I am not giving up on this yet though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Saturday, November 04, 2006 8:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building runtimes I want to think I remember that this was easier with 97. And your users probably wouldn't care, so long as it worked. Don't you have a stash of ancient disks around? Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 4 22:42:31 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 4 Nov 2006 23:42:31 -0500 Subject: [AccessD] Dual cores running 100% Message-ID: <000701c70094$d4860060$657aa8c0@m6805> LOL, well I have nirvana. Well... sorta. I am in the process of CASS validating my 65 million record database using Accuzip software, a rather kludgy process which uses FoxPro to validate ~3 million record chunks. I have two instances running on two different files. As you guys probably know by now, my system is now running Windows 2003 SBS, a dual core AMD X2 at 2.8 GHz and 2 gbytes and a raid 6 array with two largish volumes. Running just one instance of Accuzip the system processes about 6 million records / hour. Starting the second instance, leaves the first still processing about 6 million records per hour but the second is processing about 2.4 million records per hour. I find the inequality odd. My experience in the past (using XP Pro) is that it slowed down the first instance and both instances would run at roughly the same speed. Whatever. So basically I get an additional 40+ % processing using the second instance of Accuzip. Boy would it be nice to have a 16x processor array right now, but this is usable. I have to process ~22 files, each file would take ~30 minutes if processed by itself. Once the processing is finished, I delete the undeliverables and pack the FoxPro database, then start the next file importing. Once all 22 files are processed, I then have to re-import them into SQL Server and process them further there. At that point after the import I will have deliverable addresses, I am deleting all undeliverables. Since the exported / reimported records have a PK that matches my original (big) table, I will then have the ability to create a master list of completely valid deliverable ADDRESSES (not necessarily people at those addresses). It appears so far the non-deliverables are running around 14% which means I will end up with 86% of 64 million addresses in the deliverable master address table. This is only the address validation side of the picture. The fun begins when I normalize the big table into a bunch of smaller tables as discussed in an earlier email. I have actually done that for one specific job (a boating database) in order to do matching on a small (50K) database of names of yacht owners that they got from a client. The biggest problem is that in order to match names (or even addresses) you have to compare apples to apples and neither database was in CASSed form, and neither database provided "match codes" do do the comparison on. Much work quickly to make this happen. John W. Colby Colby Consulting www.ColbyConsulting.com From shamil at users.mns.ru Sun Nov 5 02:31:12 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 5 Nov 2006 11:31:12 +0300 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Message-ID: <000e01c700b4$c0d05320$6401a8c0@nant> Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil From stuart at lexacorp.com.pg Sun Nov 5 04:58:56 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Nov 2006 20:58:56 +1000 Subject: [AccessD] DAO Code won't Compile In-Reply-To: References: Message-ID: <454DC3F0.2951.24D59B3F@stuart.lexacorp.com.pg> On 4 Nov 2006 at 15:33, Bill Morrill wrote: > Need help on the following DAO code. ... strCallType = rst.[CALL_TYPE] ... > blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] > blnDeactivate = rst.[DEACTIVATE] . They should all be Bangs, not dots. rst!Call_Type etc. -- Stuart From martyconnelly at shaw.ca Sun Nov 5 11:13:19 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Nov 2006 09:13:19 -0800 Subject: [AccessD] DAO Code won't Compile In-Reply-To: <454DC3F0.2951.24D59B3F@stuart.lexacorp.com.pg> References: <454DC3F0.2951.24D59B3F@stuart.lexacorp.com.pg> Message-ID: <454E1BAF.2060907@shaw.ca> Here is an explanation BangVSDot.zip Explains the difference in usage between the Bang (!) and Dot (.) in DAO. http://rogersaccesslibrary.com/knowledge.html I believed MS started enforcing the documented way of handling this in XP or 2003. They were lax about this previously. This might also explain from Peter Walker http://www.papwalker.com/ref101/me.html Stuart McLachlan wrote: >On 4 Nov 2006 at 15:33, Bill Morrill wrote: > > > >>Need help on the following DAO code. >> >> >... > strCallType = rst.[CALL_TYPE] >... > > >> blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] >> blnDeactivate = rst.[DEACTIVATE] >> >> >. >They should all be Bangs, not dots. > >rst!Call_Type etc. > > > -- Marty Connelly Victoria, B.C. Canada From rl_stewart at highstream.net Sun Nov 5 17:36:49 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Sun, 05 Nov 2006 17:36:49 -0600 Subject: [AccessD] Building runtimes In-Reply-To: References: Message-ID: <200611052340.kA5Nejq28571@databaseadvisors.com> John, Check out techsoup.org for software for non-profits like you are working with. Even though you would be paying for it, the cost would be minimal through their program. I would recommend the 2 year MSDN membership. Then you have everything you need to support them. The hitch is that they have to be a recognized 501C organization. Robert At 12:00 PM 11/5/2006, you wrote: >Date: Sat, 4 Nov 2006 15:51:49 -0500 >From: "JWColby" >Subject: [AccessD] Building runtimes >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000001c70053$0d002f70$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Does anyone know if it is possible to build a runtime "without cost"? I >have built a database pro bono for Learning Disabilities Association, a >(USA) nationwide non-profit association for parents of children with >learning disabilities. I would like to make it available to all of the >state chapters but when I go look at the Microsoft site, I cannot for the >life of me figure out how to actually get whatever is required to build >runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers >edition for 2K but not since, and am not really sure I can find that. I am >not making any money on this and don't particularly want to spend any money >on this. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > From garykjos at gmail.com Mon Nov 6 07:46:10 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 6 Nov 2006 07:46:10 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70053$0d002f70$657aa8c0@m6805> References: <000001c70053$0d002f70$657aa8c0@m6805> Message-ID: Happy Birthday JC! (yesterday) See, I put it in my PDA and it will now remind me forever and ever. On 11/4/06, JWColby wrote: > Does anyone know if it is possible to build a runtime "without cost"? I > have built a database pro bono for Learning Disabilities Association, a > (USA) nationwide non-profit association for parents of children with > learning disabilities. I would like to make it available to all of the > state chapters but when I go look at the Microsoft site, I cannot for the > life of me figure out how to actually get whatever is required to build > runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers > edition for 2K but not since, and am not really sure I can find that. I am > not making any money on this and don't particularly want to spend any money > on this. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Mon Nov 6 09:27:51 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 6 Nov 2006 10:27:51 -0500 Subject: [AccessD] Building runtimes In-Reply-To: Message-ID: <001f01c701b8$2041ec70$657aa8c0@m6805> LOL, thanks. It was a good day. My son's half brother and his adoptive family visited from Connecticut, a good time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, November 06, 2006 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building runtimes Happy Birthday JC! (yesterday) See, I put it in my PDA and it will now remind me forever and ever. On 11/4/06, JWColby wrote: > Does anyone know if it is possible to build a runtime "without cost"? > I have built a database pro bono for Learning Disabilities > Association, a > (USA) nationwide non-profit association for parents of children with > learning disabilities. I would like to make it available to all of > the state chapters but when I go look at the Microsoft site, I cannot > for the life of me figure out how to actually get whatever is required > to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the > developers edition for 2K but not since, and am not really sure I can > find that. I am not making any money on this and don't particularly > want to spend any money on this. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Nov 6 10:24:07 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 6 Nov 2006 10:24:07 -0600 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0D0@corp-es01.fleetpride.com> "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From garykjos at gmail.com Mon Nov 6 10:31:08 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 6 Nov 2006 10:31:08 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <001f01c701b8$2041ec70$657aa8c0@m6805> References: <001f01c701b8$2041ec70$657aa8c0@m6805> Message-ID: Cool. Glad to hear you had an enjoyable time with your extended family. GK On 11/6/06, JWColby wrote: > LOL, thanks. It was a good day. My son's half brother and his adoptive > family visited from Connecticut, a good time. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Monday, November 06, 2006 8:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building runtimes > > Happy Birthday JC! > > (yesterday) > > See, I put it in my PDA and it will now remind me forever and ever. > > On 11/4/06, JWColby wrote: > > Does anyone know if it is possible to build a runtime "without cost"? > > I have built a database pro bono for Learning Disabilities > > Association, a > > (USA) nationwide non-profit association for parents of children with > > learning disabilities. I would like to make it available to all of > > the state chapters but when I go look at the Microsoft site, I cannot > > for the life of me figure out how to actually get whatever is required > > to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the > > developers edition for 2K but not since, and am not really sure I can > > find that. I am not making any money on this and don't particularly > > want to spend any money on this. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Drawbridge.Jack at ic.gc.ca Mon Nov 6 10:30:39 2006 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 6 Nov 2006 11:30:39 -0500 Subject: [AccessD] DAO Code won't Compile In-Reply-To: Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B077531A4@MSG-MB3.icent.ic.gc.ca> Bill, I believe the lines referring to columns in your recordset (ie rst.[CALL_TYPE]) should use the ! Not the . ( ie rst![CALL_TYPE] ) Also, your sample refers to rs and rst which will cause a problem. Believe the rs may be a typo - all should be the same either rs or rst. Hope this helps. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Morrill Sent: Saturday, November 4, 2006 5:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Code won't Compile Need help on the following DAO code. Using Access 2003 VBA reference set to DAO 3.6 Object Library. When I go to compile the code below the compiler lights up [CALL_TYPE] and stops. CALL_TYPE is a field in the qryCallAttempt but the compiler doesn't seem to understand this. If I comment out THE LINE strCallType = rst.CALL_TYPE then the compile stops at the next line blnUnsuccessful = rst.UNSUCCESSFUL_ATTEMPT - same thing it doesn't see rst.UNSUCCESSFUL_ATTEMPT - ANOTHER FIELD IN qryCallAttempt. Need some illumination. Thanks, Bill '_________________________________________________________________ DoCmd.Hourglass True 'declare object variables Dim db As DAO.Database Dim rst As DAO.Recordset Set db = CurrentDb Set rst = db.OpenRecordset("qryCallAttempt") 'declare non-object variables to be used in loop Dim intCounter As Integer Dim strCallType As String Dim blnUnsuccessful As Boolean Dim blnDeactivate As Boolean 'initialize variable intCounter = 0 rs.MoveFirst Do While Not rst.EOF 'loop through each record in the query and set Deactivated in the recordset where applicable 'initialize variables rs.Edit strCallType = rst.[CALL_TYPE] blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] blnDeactivate = rst.[DEACTIVATE] If strCallType = "Call 1" And blnUnsuccessful = True And Forms!frmPatientAddUpdate!Program = "NON-SCALE MEMBER" Then intCounter = intCounter + 1 If intCounter = 3 Then 'update current record set blnDeactivate = True Me![DEACTIVATE] = blnDeactivate rst.Update rst.Close DoCmd.Hourglass False Exit Sub End If End If rst.Update rst.MoveNext Loop DoCmd.Hourglass False '_____________________________________________________ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Mon Nov 6 11:32:41 2006 From: askolits at ot.com (John Skolits) Date: Mon, 6 Nov 2006 12:32:41 -0500 Subject: [AccessD] Closing an open file In-Reply-To: Message-ID: <006201c701c9$92d93070$7001a8c0@LaptopXP> When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John From jwcolby at colbyconsulting.com Mon Nov 6 12:03:47 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 6 Nov 2006 13:03:47 -0500 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0D0@corp-es01.fleetpride.com> Message-ID: <002f01c701cd$e89b8c20$657aa8c0@m6805> ROTFL. Yep, everyone on this list just IMAGINES that they do real work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Mon Nov 6 12:06:49 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 6 Nov 2006 12:06:49 -0600 Subject: [AccessD] Closing an open file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6A2@cpixchng-1.cpiqpc.net> John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From shamil at users.mns.ru Mon Nov 6 12:15:33 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 6 Nov 2006 21:15:33 +0300 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0D0@corp-es01.fleetpride.com> Message-ID: <000601c701cf$8cd6bd90$6401a8c0@nant> <<< Wow. An entire profession dismissed >>> Hello Jim, And computer science academic researches also :) <<< For fifty years software science researchers have struggled to perfect practical set logics. These efforts so far have been fruitless and futile. >>> And then this passage: <<< Differential state dynamics logics are the native logics of practical reality. The intrinsic order of physical reality is solely state dynamical. The emergent order of practical reality is reducible to complex physical differential dynamics. We conveniently live in a universe where the differential meaning of intrinsic order is necessary and sufficient for all practical purposes. >>> Which I think is beyond me. Could that be they somehow consider "Chaos theory" (http://en.wikipedia.org/wiki/Chaos_theory) as a foundation for the "alternative principled software production approaches" they mention here in optimistic final part of their writing?: <<< These solutions will require alternative principled software production approaches. Such approaches appear to be possible and practical today. They will likely be highly profitable as well. >>> -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 6 12:53:26 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 07 Nov 2006 07:53:26 +1300 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) Message-ID: <7.0.1.0.0.20061107075110.01a54ab0@dalyn.co.nz> Just for the record, I couldn't find a solution using parameters in the report that worked so I ended up creating a temporary table, and running an insert sproc from VBA to fill it with the correct records before opening the report. The report was then based on the temporary table. David At 4/11/2006, you wrote: >A long shot ideas. > >Use CHR$(39) instead of the single quote. >Not sure the syntax is exactly correct or not but here is what I came up >with. > >"EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo >& ", " & Chr$(39) >& basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t >xtGateMthStartMth])) & Chr$(39) & ", " & Chr$(39) & >"basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndM >th])) " & Chr$(39) > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 03, 2006 3:10 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Changing Rowsource for Graph (Sproc source) > >Hi David >I seem to recall having the same issue a long while ago. I was using queries >and ended up setting the graph's rowsource to a query but modifying the >query's SQL before opening the report. Not being an SQL kind of guy I don't >know how that translates when you have Sprocs, or if it can at all, but I'm >hoping that gives you a steer. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 03 November 2006 04:28 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > > > > Group, > > > > Access XP ADP > > > > I have a report that has a single graph on it (Unbound Object Frame: > > Microsoft Graph Chart). The RowSource property is set to a sproc > > which has parameters. > > > > If I enter the following direct into the RowSource property the > > report runs fine: > > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > > > However, I want to set the parameters based on values on a form. The > > help I found on the internet said that the reports OnOpen event was > > the place to put it so I added: > > > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthStartMth])) > > & "', '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthEndMth])) > > & "'" > > > > When the report is run I get Runtime Error 2455 - You entered an > > expression that has an invalid reference to the property > > RowSource. I get the same error if I try in the OnOpen event of the > > report (this indicates that the property is not even > > available OnOpen): > > > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > > > I know the property exists because the following works it I put it > > into the report detail OnFormat event: > > MsgBox Me!graGraph.RowSource > > > > I have tried setting the property on the detail OnFormat event but an > > error comes up saying that you cant set this property after printing > > has started. > > > > Any guidance on what I can try? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Mon Nov 6 13:00:34 2006 From: askolits at ot.com (John Skolits) Date: Mon, 6 Nov 2006 14:00:34 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6A2@cpixchng-1.cpiqpc.net> Message-ID: <007e01c701d5$d9bca830$7001a8c0@LaptopXP> Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Mon Nov 6 13:20:45 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 6 Nov 2006 13:20:45 -0600 Subject: [AccessD] Closing an open file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6A5@cpixchng-1.cpiqpc.net> Yes, at least for an excel file anyway. I'm assuming ms word works the same way. When the file is read only, a copy gets loaded into excel without the file being held open. It also helps avoid the issue of someone making changes to the report accidentally. If they want to save changes, they can to another filename but the master remains intact. I agree the ability to close an open file would be nice, but for this situation the read-only setting works great. -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 1:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From Lambert.Heenan at AIG.com Mon Nov 6 16:07:17 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 6 Nov 2006 16:07:17 -0600 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Message-ID: Hmm, Sound like that text ("Differential state dynamics ...") could have come from this wonderful postmodernist critical site http://www.elsewhere.org/pomo Every time you visit the site you'll get a page or two of utter drivel that has a style quite similar to this. Lambert :-) And then this passage: <<< Differential state dynamics logics are the native logics of practical reality. The intrinsic order of physical reality is solely state dynamical. The emergent order of practical reality is reducible to complex physical differential dynamics. We conveniently live in a universe where the differential meaning of intrinsic order is necessary and sufficient for all practical purposes. >>> Which I think is beyond me. Could that be they somehow consider "Chaos theory" (http://en.wikipedia.org/wiki/Chaos_theory) as a foundation for the "alternative principled software production approaches" they mention here in optimistic final part of their writing?: <<< These solutions will require alternative principled software production approaches. Such approaches appear to be possible and practical today. They will likely be highly profitable as well. >>> -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Nov 6 16:17:26 2006 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 6 Nov 2006 17:17:26 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <006201c701c9$92d93070$7001a8c0@LaptopXP> Message-ID: <000401c701f1$576436c0$b414c048@fredxp> If the file has been opened from another computer (i.e. not the one that the file is on), sysinternals.com has tools for identifying and closing the link. What you want is PsTools, which is on their File and Disk list. I've used it in the past for the same purpose. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Monday, November 06, 2006 12:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Mon Nov 6 19:46:14 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 7 Nov 2006 12:46:14 +1100 Subject: [AccessD] OT: Recommended weekend reading :) - Tenincredibly dangerous software ideas Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC8C@ddi-01.DDI.local> My code already embraces "Chaos theory", been doing it for years. Keeps the maintenance programmers on their toes ;-))) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, 7 November 2006 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Tenincredibly dangerous software ideas Hmm, Sound like that text ("Differential state dynamics ...") could have come from this wonderful postmodernist critical site http://www.elsewhere.org/pomo Every time you visit the site you'll get a page or two of utter drivel that has a style quite similar to this. Lambert :-) And then this passage: <<< Differential state dynamics logics are the native logics of practical reality. The intrinsic order of physical reality is solely state dynamical. The emergent order of practical reality is reducible to complex physical differential dynamics. We conveniently live in a universe where the differential meaning of intrinsic order is necessary and sufficient for all practical purposes. >>> Which I think is beyond me. Could that be they somehow consider "Chaos theory" (http://en.wikipedia.org/wiki/Chaos_theory) as a foundation for the "alternative principled software production approaches" they mention here in optimistic final part of their writing?: <<< These solutions will require alternative principled software production approaches. Such approaches appear to be possible and practical today. They will likely be highly profitable as well. >>> -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Mon Nov 6 22:35:34 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 6 Nov 2006 22:35:34 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 shamil at users.mns.ru Tue Nov 7 06:19:36 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 7 Nov 2006 15:19:36 +0300 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: Message-ID: <000f01c70266$fdb89280$6401a8c0@nant> <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- 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 7 08:31:53 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Nov 2006 15:31:53 +0100 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Hi Don and Shamil One method to speed up a callback function is to use a static array as the source. When initializing, check if the array is empty - if not, fill it. Now, whenever the combo or listbox is requeried and that happens very often, the callback function reads from the static array which is very fast. Here's an example: Public Function OrderListPrint( _ ctl As Control, _ ID As Long, _ row As Long, _ col As Long, _ Code As Integer) Static astrPrint(1 To 7) As String Dim varValue As Variant Dim lngCount As Long Select Case Code Case acLBInitialize If Len(astrPrint(1)) = 0 Then ' Fill array. For lngCount = 1 To 7 astrPrint(lngCount) = GetMsg("SaleId90" & lngCount) Next End If varValue = True Case acLBOpen varValue = Timer Case acLBGetRowCount varValue = 7 ' Rows. Case acLBGetColumnCount varValue = 2 ' Columns. Case acLBGetColumnWidth varValue = -1 ' Column width. Case acLBGetValue If col = 0 Then varValue = row + 1 ElseIf col = 1 Then varValue = astrPrint(row + 1) End If Case acLBGetFormat ' Format the data. ' varValue = strFormat Case acLBEnd ' Do something when form with listbox closes or ' listbox is requeried. End Select OrderListPrint = varValue End Function /gustav >>> shamil at users.mns.ru 07-11-2006 13:19:36 >>> <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew From DWUTKA at marlow.com Tue Nov 7 09:15:27 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 09:15:27 -0600 Subject: [AccessD] Access to web Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B186@MARLOW_MAIN2.marlow.com> I've always debated on that one. If the Access .mdb is located on the webserver, but in a non-web location (off the folders/files viewable from the web), I don't see how Access is any more or less secure then a SQL server. Drew -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Friday, November 03, 2006 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to web Secure, IMO, means that you abandon Access as a back-end and focus on SQL Server or some other server database (MySQL, Oracle, DB/2, PostGres, Sybase, etc.). The security offered in such a platform is superior to that offered by Access. Typically, you create roles (groups of equivalent users), and then assign users to roles. You also prevent everyone from directly accessing tables, and allow them access to views, stored procedures and UDFs. You build up a hierarchy of roles, additively (i.e. managers can do everything everyone beneath them can do, but also have rights to do additional thngs such as run reports of salaries. For the generic web user you create a role WebUser. For employees, you create several roles corresponding to the hierarchy of responsibility. The CEO has, in theory, access to everything, but in practice I am god, not the CEO, because I don't trust him to play safe. So in a nutshell, if you want to move into web-dev, think SQL Server on the Back End and then choose any Front End that appeals to you (.NET, PHP, Ajax, DreamWeaver, whatever). In all cases the essential thing is to avoid dynamic SQL at all costs, and instead think everything out in stored procedures, views and UDFs. HTH, Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, November 3, 2006 11:59:24 AM Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us &hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 7 09:36:56 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 09:36:56 -0600 Subject: [AccessD] Closing an open file Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B1A5@MARLOW_MAIN2.marlow.com> The only two ways to do this would be to have a program running on all of your client machines, which would close the files at a certain time (or close the files from some type of other prompting (ie, network comms, inactivity, etc.). Or, you will have to have admin rights on a server to force a file closed. How to do it programmatically, not entirely sure, but I would start looking into the Window Server OS resource kits, I'd be surprised if it was something other then a simple shell command (with the right resource kit util) Drew -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Monday, November 06, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file Yes, at least for an excel file anyway. I'm assuming ms word works the same way. When the file is read only, a copy gets loaded into excel without the file being held open. It also helps avoid the issue of someone making changes to the report accidentally. If they want to save changes, they can to another filename but the master remains intact. I agree the ability to close an open file would be nice, but for this situation the read-only setting works great. -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 1:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 7 09:42:06 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 09:42:06 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B1AB@MARLOW_MAIN2.marlow.com> ALL combos/listboxes are doing the same thing as one populated by a callback function. It's just simply how a listbox/combobox 'window' works. All of the calls to a callback function are just simply being handled by an internal callback when one of the other three methods are used (recordsoure, fieldlist, value list). If you are experiencing slowdown in your callback function, you need to look at when your callback function is doing. If you are requerying at ANY point other then the initialization, then there is a problem, because that takes time. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 6:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Tue Nov 7 10:52:27 2006 From: askolits at ot.com (John Skolits) Date: Tue, 7 Nov 2006 11:52:27 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B1A5@MARLOW_MAIN2.marlow.com> Message-ID: <01a001c7028d$1e85adb0$7001a8c0@LaptopXP> Drew, I'm looking at sysinternals.com like Fred Hooper suggested. Still trying to figure out how to use it, especially through VBA. If it doesn't work out, I'll go down your suggested road. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 07, 2006 10:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file The only two ways to do this would be to have a program running on all of your client machines, which would close the files at a certain time (or close the files from some type of other prompting (ie, network comms, inactivity, etc.). Or, you will have to have admin rights on a server to force a file closed. How to do it programmatically, not entirely sure, but I would start looking into the Window Server OS resource kits, I'd be surprised if it was something other then a simple shell command (with the right resource kit util) Drew -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Monday, November 06, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file Yes, at least for an excel file anyway. I'm assuming ms word works the same way. When the file is read only, a copy gets loaded into excel without the file being held open. It also helps avoid the issue of someone making changes to the report accidentally. If they want to save changes, they can to another filename but the master remains intact. I agree the ability to close an open file would be nice, but for this situation the read-only setting works great. -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 1:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Nov 7 11:00:59 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Nov 2006 09:00:59 -0800 Subject: [AccessD] Closing an open file In-Reply-To: <006201c701c9$92d93070$7001a8c0@LaptopXP> References: <006201c701c9$92d93070$7001a8c0@LaptopXP> Message-ID: <4550BBCB.9080309@shaw.ca> If you don't care about removing the report, why not just time stamp the report file name, it also gives a unique name. "C:\temp\MyBigReport - " & Format(Now, "yyyymmddhhmmss") & ".rpt" John Skolits wrote: >When running Access, I create reports every night, but inevitably, some user >has opened the file off the network and never closed it. I can't remove it >with KILL. >Any one have code for closing a file that may be open so I can then delete >it? > >John > > > > -- Marty Connelly Victoria, B.C. Canada From askolits at ot.com Tue Nov 7 11:14:54 2006 From: askolits at ot.com (John Skolits) Date: Tue, 7 Nov 2006 12:14:54 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <4550BBCB.9080309@shaw.ca> Message-ID: <01aa01c70290$419a83e0$7001a8c0@LaptopXP> Well, it's a bit complicated. I had to use macros instead of code and did some OutputTo calls. I can't easily change the names. Plus, it may cause some confusion with the illiterate computer users if they start seeing all these reports. I know what you're thinking, but I pushed them way ahead so far in computer literacy but they still have a ways to go. Eventually, I'll be able to do it, but not now. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, November 07, 2006 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Closing an open file If you don't care about removing the report, why not just time stamp the report file name, it also gives a unique name. "C:\temp\MyBigReport - " & Format(Now, "yyyymmddhhmmss") & ".rpt" John Skolits wrote: >When running Access, I create reports every night, but inevitably, some user >has opened the file off the network and never closed it. I can't remove it >with KILL. >Any one have code for closing a file that may be open so I can then delete >it? > >John > > > > -- 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 shamil at users.mns.ru Tue Nov 7 12:29:37 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 7 Nov 2006 21:29:37 +0300 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B1AB@MARLOW_MAIN2.marlow.com> Message-ID: <000301c7029a$aec0ab70$6401a8c0@nant> Drew and Gustav, I will try to "cook" a sample where static array caching can't be used and then a combo could result in datasheet form scrolling slowdown... If I will not come with such a sample here in a month (no time currently to trick around it) then the case I mentioned was the case of the bad callback function design. BTW, in MS Access online help is written: "The number of times your user-defined function is called for acLBGetValue and acLBGetFormat to get list entries and to format strings varies depending on the number of entries, the user's scrolling, and other factors." "The user's scrolling" they say - be aware of that when using callback functions - this is what I meant first of all... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 07, 2006 6:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes ALL combos/listboxes are doing the same thing as one populated by a callback function. It's just simply how a listbox/combobox 'window' works. All of the calls to a callback function are just simply being handled by an internal callback when one of the other three methods are used (recordsoure, fieldlist, value list). If you are experiencing slowdown in your callback function, you need to look at when your callback function is doing. If you are requerying at ANY point other then the initialization, then there is a problem, because that takes time. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 6:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gregsmith at starband.net Tue Nov 7 13:21:25 2006 From: gregsmith at starband.net (Greg Smith) Date: Tue, 7 Nov 2006 13:21:25 -0600 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) In-Reply-To: Message-ID: <000001c702a1$eeef5140$130a000a@DadsDell> Thanks for the response and help Marty. Sorry for my slow thanks, but I've also been working with the people who provide the XML file to me to see if they can come up with a transform I could use for importing the data into Access. Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 03, 2006 7:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XML Import into Access 2003 (2nd retry w/o html) Here is another VB.Net variation that might help How Do I...Read XML from an XmlDataDocument? http://samples.gotdotnet.com/quickstart/howto/doc/Xml/StreamXmlDocument.aspx I think by rewriting the FormatXML function you could generate Entity only XML file Greg Smith wrote: > (This is a second resend - my first one was html to illustrate the >color layout for ease of reading the XML, but it turns out to be too >large, so here it is in text only format) > >Hi everyone! It's been a while, or seems like it anyway! Hope >everyone is well... From DWUTKA at marlow.com Tue Nov 7 16:28:18 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 16:28:18 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B2BF@MARLOW_MAIN2.marlow.com> I completely understand how often the callback function is called, however, what I was explaining is that the process is identical to how the other methods work, internally. Take for example the Window APIs and their callbacks. Enum windows will go through all of the windows on your machine, and you can enumerate child windows too. I have a little utility that I wrote (to move windows that have 'lost' their coordinates, and appear off the screen) that enumerates ALL windows on your machine, including child windows. It takes a split second to run, and a lot of the processing time is in building the treeview. Sometimes you have to take the hit with performance though. The advantage of a callback function is that you can present data on the fly, so if you need to process something when it's is asking for values you can, it's just going to be slower then a static array (or a collection, or another method for a data source). Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 12:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew and Gustav, I will try to "cook" a sample where static array caching can't be used and then a combo could result in datasheet form scrolling slowdown... If I will not come with such a sample here in a month (no time currently to trick around it) then the case I mentioned was the case of the bad callback function design. BTW, in MS Access online help is written: "The number of times your user-defined function is called for acLBGetValue and acLBGetFormat to get list entries and to format strings varies depending on the number of entries, the user's scrolling, and other factors." "The user's scrolling" they say - be aware of that when using callback functions - this is what I meant first of all... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 07, 2006 6:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes ALL combos/listboxes are doing the same thing as one populated by a callback function. It's just simply how a listbox/combobox 'window' works. All of the calls to a callback function are just simply being handled by an internal callback when one of the other three methods are used (recordsoure, fieldlist, value list). If you are experiencing slowdown in your callback function, you need to look at when your callback function is doing. If you are requerying at ANY point other then the initialization, then there is a problem, because that takes time. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 6:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Tue Nov 7 18:55:36 2006 From: fahooper at trapo.com (Fred Hooper) Date: Tue, 7 Nov 2006 19:55:36 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <01a001c7028d$1e85adb0$7001a8c0@LaptopXP> Message-ID: <002901c702d0$99f59490$b414c048@fredxp> Hi John, I'd forgotten how messy it is to use; very flexible but it can be tedious. The general process is (1) Run one of the PsTools to find out who has the file open, (2) place a batch file on the server that the file you want to close is on (actually, you're breaking the link to the open file -- it's still "open" on the user's pc), (3) place a batch file on your pc that will execute the batch file on the server using one of the PsTools, and (4) If you're polite you notify the user that the link has been broken. For most of these steps you should check that they were successful. I used it in a VB program for copying Cognos cubes (for which dropping a direct user is a subset of the issues). I'm sending a copy to you off list as it's too big to attach. Look particularly at the "Copy Locked Cube" section. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, November 07, 2006 11:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Drew, I'm looking at sysinternals.com like Fred Hooper suggested. Still trying to figure out how to use it, especially through VBA. If it doesn't work out, I'll go down your suggested road. John From Gustav at cactus.dk Wed Nov 8 04:34:39 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Nov 2006 11:34:39 +0100 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Hi Shamil Very good. Of course, if the data aren't static a static array (or static collection or static recordset) cannot be used or, at least, it has to be refilled/required somehow when the underlying data changes. A global variable can be used which is set when data change and reset after the array is refilled. To watch how intensely a callback function is called, insert a debug line like this: Public Function OrderListPrint( _ ctl As Control, _ ID As Long, _ row As Long, _ col As Long, _ Code As Integer) Static astrPrint(1 To 7) As String Dim varValue As Variant Dim lngCount As Long Select Case Code Case acLBInitialize ' Global variable can be set to force a refill of array. If Len(astrPrint(1)) = 0 Or pbooRefill = True Then ' Fill array. For lngCount = 1 To 7 astrPrint(lngCount) = GetMsg("SaleId90" & lngCount) Next ' Reset global variable. pbooRefill = False End If varValue = True Case acLBOpen varValue = Timer Case acLBGetRowCount varValue = 7 ' Rows. Case acLBGetColumnCount varValue = 2 ' Columns. Case acLBGetColumnWidth varValue = -1 ' Column width. Case acLBGetValue If col = 0 Then varValue = row + 1 ElseIf col = 1 Then varValue = astrPrint(row + 1) End If Case acLBGetFormat ' Format the data. ' varValue = strFormat Case acLBEnd ' Do something when form with listbox closes or ' listbox is requeried. End Select Debug.Print code, varValue OrderListPrint = varValue End Function /gustav >>> shamil at users.mns.ru 07-11-2006 19:29:37 >>> Drew and Gustav, I will try to "cook" a sample where static array caching can't be used and then a combo could result in datasheet form scrolling slowdown... If I will not come with such a sample here in a month (no time currently to trick around it) then the case I mentioned was the case of the bad callback function design. BTW, in MS Access online help is written: "The number of times your user-defined function is called for acLBGetValue and acLBGetFormat to get list entries and to format strings varies depending on the number of entries, the user's scrolling, and other factors." "The user's scrolling" they say - be aware of that when using callback functions - this is what I meant first of all... -- Shamil From askolits at ot.com Wed Nov 8 06:37:03 2006 From: askolits at ot.com (John Skolits) Date: Wed, 8 Nov 2006 07:37:03 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <002901c702d0$99f59490$b414c048@fredxp> Message-ID: <007001c70332$9b70af50$7001a8c0@LaptopXP> Thanks Fred! I really appreciate it. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Tuesday, November 07, 2006 7:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hi John, I'd forgotten how messy it is to use; very flexible but it can be tedious. The general process is (1) Run one of the PsTools to find out who has the file open, (2) place a batch file on the server that the file you want to close is on (actually, you're breaking the link to the open file -- it's still "open" on the user's pc), (3) place a batch file on your pc that will execute the batch file on the server using one of the PsTools, and (4) If you're polite you notify the user that the link has been broken. For most of these steps you should check that they were successful. I used it in a VB program for copying Cognos cubes (for which dropping a direct user is a subset of the issues). I'm sending a copy to you off list as it's too big to attach. Look particularly at the "Copy Locked Cube" section. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, November 07, 2006 11:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Drew, I'm looking at sysinternals.com like Fred Hooper suggested. Still trying to figure out how to use it, especially through VBA. If it doesn't work out, I'll go down your suggested road. John -- 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 8 10:01:48 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Nov 2006 17:01:48 +0100 Subject: [AccessD] DBDesigner 4, database design, documentation Message-ID: Hi all Just located the DBDesigner 4 free open source tool for database design with focus on MySQL: http://www.fabforce.net DBDesigner 4 is a visual database design system that integrates database design, modeling, creation and maintenance into a single, seamless environment. It combines professional features and a clear and simple user interface to offer the most efficient way to handle your databases. DBDesigner 4 compares to products like Oracle's Designer?, IBM's Rational Rose?, Computer Associates's ERwin? and theKompany's DataArchitect? but is an Open Source Project available for Microsoft Windows? 2k/XP and Linux KDE/Gnome. It is release on the GPL. It will work with SQL Server, SQLite, Oracle and Access via ODBC as well. It's not targeted at Access developers but may be of use anyway. /gustav From john at winhaven.net Wed Nov 8 14:00:12 2006 From: john at winhaven.net (John Bartow) Date: Wed, 8 Nov 2006 14:00:12 -0600 Subject: [AccessD] A2k3 system.mdw In-Reply-To: <000301c6fddd$93c46800$0200a8c0@danwaters> Message-ID: <200611082000.kA8K0Eq31931@databaseadvisors.com> Dan, BTW good idea, but that didn't work for me. I'm using MSDN subscription install and I can't seem to get it to work correctly. Probably need the exact disk I installed it from or something and that would be a major task to figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 01, 2006 11:46 AM This might be a long shot but you might do a 'Detect and Repair' for Office. It might ask you to install the setup disk. From Kwilliamson at RTKL.com Thu Nov 9 08:32:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 9 Nov 2006 09:32:15 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: Test!! Just testing from my new work. Haven't seen any posting since early yesterday. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From garykjos at gmail.com Thu Nov 9 08:57:53 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 9 Nov 2006 08:57:53 -0600 Subject: [AccessD] test In-Reply-To: References: Message-ID: Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Thu Nov 9 09:12:29 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 9 Nov 2006 10:12:29 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 9 09:23:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 9 Nov 2006 10:23:25 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: <001301c70413$0082cb90$657aa8c0@m6805> LOL, I hope you didn't send that message from the new job. You might be applying for street sweeper. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Nov 9 09:28:17 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 9 Nov 2006 09:28:17 -0600 Subject: [AccessD] test Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0E7@corp-es01.fleetpride.com> Yea, I'm continually reminded by my cohorts that an auditor is the fella whose job is to bayonet the wounded after the battle has already been fought and an accountant is the fella who sweeps up after the elephant has already passed in the parade. :~] Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 09, 2006 9:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From garykjos at gmail.com Thu Nov 9 09:29:34 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 9 Nov 2006 09:29:34 -0600 Subject: [AccessD] test In-Reply-To: <001301c70413$0082cb90$657aa8c0@m6805> References: <001301c70413$0082cb90$657aa8c0@m6805> Message-ID: As Judge Smales says in Caddyshack, "The world needs ditch diggers too!" GK On 11/9/06, JWColby wrote: > LOL, I hope you didn't send that message from the new job. You might be > applying for street sweeper. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson > Sent: Thursday, November 09, 2006 10:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test > > Thanks, Gary. All is great. Although.....street cleaner might have been a > step up. > > :) > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, November 09, 2006 9:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test > > Hi Keith. How's the new job? GK > > On 11/9/06, Keith Williamson wrote: > > Test!! Just testing from my new work. Haven't seen any posting since > > early yesterday. > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Thu Nov 9 09:33:55 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 9 Nov 2006 10:33:55 -0500 Subject: [AccessD] test In-Reply-To: <001301c70413$0082cb90$657aa8c0@m6805> Message-ID: To be clear, street cleaner would have been a step up from the OLD job...not the new. :) {wanted to make sure that any prying eyes understood...cause yes...this is from my new job.} :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 09, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] test LOL, I hope you didn't send that message from the new job. You might be applying for street sweeper. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dgibso at uark.edu Thu Nov 9 09:53:59 2006 From: dgibso at uark.edu (David A Gibson) Date: Thu, 09 Nov 2006 09:53:59 -0600 Subject: [AccessD] test In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0E7@corp-es01.fleetprid e.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0E7@corp-es01.fleetpride.com> Message-ID: <7.0.1.0.0.20061109095233.01dbec40@uark.edu> You might also add that a Statistician is someone who lacks the personality to be an Accountant. David G. At 09:28 AM 11/9/2006, you wrote: >Yea, I'm continually reminded by my cohorts that an auditor is the fella >whose job is to bayonet the wounded after the battle has already been fought >and an accountant is the fella who sweeps up after the elephant has already >passed in the parade. :~] >Jim Hale > >-----Original Message----- >From: Keith Williamson [mailto:Kwilliamson at rtkl.com] >Sent: Thursday, November 09, 2006 9:12 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > > >Thanks, Gary. All is great. Although.....street cleaner might have >been a step up. > >:) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >Sent: Thursday, November 09, 2006 9:58 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > >Hi Keith. How's the new job? GK > >On 11/9/06, Keith Williamson wrote: > > Test!! Just testing from my new work. Haven't seen any posting since > > early yesterday. > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >-- >Gary Kjos >garykjos at gmail.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From jwcolby at colbyconsulting.com Thu Nov 9 10:04:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 9 Nov 2006 11:04:57 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: <001f01c70418$ce1753f0$657aa8c0@m6805> ROTFLMAO!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test To be clear, street cleaner would have been a step up from the OLD job...not the new. :) {wanted to make sure that any prying eyes understood...cause yes...this is from my new job.} :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 09, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] test LOL, I hope you didn't send that message from the new job. You might be applying for street sweeper. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 setel.com Thu Nov 9 12:45:43 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 9 Nov 2006 13:45:43 -0500 Subject: [AccessD] Interesting behavior with Val() Message-ID: <006901c7042f$43c53480$b034fad1@SUSANONE> I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. From ssharkins at setel.com Thu Nov 9 13:05:07 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 9 Nov 2006 14:05:07 -0500 Subject: [AccessD] Nevermind (RE: Interesting behavior with Val()) In-Reply-To: <006901c7042f$43c53480$b034fad1@SUSANONE> Message-ID: <007c01c70431$fa92ecf0$b034fad1@SUSANONE> Sometimes I suffer from serious disconnect... Susan H. I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the From bheid at appdevgrp.com Thu Nov 9 13:06:16 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Nov 2006 14:06:16 -0500 Subject: [AccessD] Interesting behavior with Val() In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6F48B@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35A86@ADGSERVER> Because Val returns 0 and the length of "0" is 1. In the immediate window try: ? val("abc") -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 09, 2006 1:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting behavior with Val() I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. From ssharkins at setel.com Thu Nov 9 13:19:00 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 9 Nov 2006 14:19:00 -0500 Subject: [AccessD] Interesting behavior with Val() In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D35A86@ADGSERVER> Message-ID: <008301c70433$e9aa3e00$b034fad1@SUSANONE> Bobby, I realized that as soon as I sent the question -- sorry. But thank you for responding! ;) I had 0 stuck in the brain, without following the process all the way through. Some days are harder than others. Susan H. Because Val returns 0 and the length of "0" is 1. From Lambert.Heenan at AIG.com Thu Nov 9 13:22:13 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 9 Nov 2006 13:22:13 -0600 Subject: [AccessD] Interesting behavior with Val() Message-ID: Well, while the help file is not explicit on this, the results you are seeing do make sense. Val() is supposed to extract a numeric value from the left end of a string, skipping over any spaces and the recognizing "&O" and "&H" to indicate Octal and Hex numbers. So Val("1abcde") will return 1, but Val("abcd") will return 0 (zero). This is because Val() is declare as returning a double, so the "value" of an all alpha string is treated as zero. And so Len(Val("abcd")) will be 1 not zero. If your intent was to find out if a string *begins* with a numeric value then you could try... If IsNumeric(Left(Trim(strValue),1)) Then ' Got a digit Else ' Does not start with a digit End If Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 09, 2006 1:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting behavior with Val() I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 9 15:46:08 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 9 Nov 2006 15:46:08 -0600 Subject: [AccessD] Interesting behavior with Val() Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B51A@MARLOW_MAIN2.marlow.com> Val is returning 0, which has a length of 1. Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Thursday, November 09, 2006 12:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting behavior with Val() I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Thu Nov 9 15:52:07 2006 From: cclenright at yahoo.com (Chris Enright) Date: Thu, 9 Nov 2006 13:52:07 -0800 (PST) Subject: [AccessD] test Message-ID: <20061109215207.80130.qmail@web34304.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Which brings to mind the phrase attributed to Benjamin Disraeli: "There are three kinds of lies: lies, damn lies, and statistics" Chris E -------Original Message------- From: David A Gibson Date: 09/11/2006 15:59:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] test You might also add that a Statistician is someone who lacks the personality to be an Accountant. David G. At 09:28 AM 11/9/2006, you wrote: >Yea, I'm continually reminded by my cohorts that an auditor is the fella >whose job is to bayonet the wounded after the battle has already been fought >and an accountant is the fella who sweeps up after the elephant has already >passed in the parade. :~] >Jim Hale > >-----Original Message----- >From: Keith Williamson [mailto:Kwilliamson at rtkl.com] >Sent: Thursday, November 09, 2006 9:12 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > > >Thanks, Gary. All is great. Although.....street cleaner might have >been a step up. > >:) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >Sent: Thursday, November 09, 2006 9:58 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > >Hi Keith. How's the new job? GK > >On 11/9/06, Keith Williamson wrote: > > Test!! Just testing from my new work. Haven't seen any posting since > > early yesterday. > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >-- >Gary Kjos >garykjos at gmail.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. From cclenright at yahoo.com Thu Nov 9 16:11:43 2006 From: cclenright at yahoo.com (Chris Enright) Date: Thu, 9 Nov 2006 14:11:43 -0800 (PST) Subject: [AccessD] OT: Weird email line Message-ID: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Could someone please explain this strange line? On the few occasions I send an email to AccessD the copy of my message that comes back to me always begins with the line V\:* {behavior:URL (#default#vml);}v\:* { BEHAVIOR: URL (#default#vml)} It never happens any other time. Only with my messages and this list My incoming mail goes to my yahoo address and is then downloaded into Incredimail using YPOPs. What is generating that line? Chris --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business. From robert at servicexp.com Thu Nov 9 17:17:39 2006 From: robert at servicexp.com (Robert) Date: Thu, 9 Nov 2006 18:17:39 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> Message-ID: <000c01c70455$4b84e3c0$dcc05005@roberts> Hello All, I need to create a scheduling calendar, and need multi-resource view capacities. I'm thinking about using Xtreme CalendarPro ActiveX control? Has anyone used this control before? Any better solutions out there? Thanks Robert From dwaters at usinternet.com Thu Nov 9 17:30:17 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 9 Nov 2006 17:30:17 -0600 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <23300175.1163114558183.JavaMail.root@sniper41> Message-ID: <003901c70457$052a90d0$0200a8c0@danwaters> Why not use a Project Management application? Like MS Project (but hopefully cheaper?). These are made specifically for scheduling and managing resources. Dan Waters -----Original Message----- Subject: [AccessD] Xtreme CalendarPro Anyone??? Hello All, I need to create a scheduling calendar, and need multi-resource view capacities. I'm thinking about using Xtreme CalendarPro ActiveX control? Has anyone used this control before? Any better solutions out there? Thanks Robert From michael at ddisolutions.com.au Thu Nov 9 18:43:00 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 10 Nov 2006 11:43:00 +1100 Subject: [AccessD] Xtreme CalendarPro Anyone??? Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC99@ddi-01.DDI.local> Don't know about better but I think Janus do something like that. www.janusys.com Their grid rules... cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Friday, 10 November 2006 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Xtreme CalendarPro Anyone??? Hello All, I need to create a scheduling calendar, and need multi-resource view capacities. I'm thinking about using Xtreme CalendarPro ActiveX control? Has anyone used this control before? Any better solutions out there? Thanks Robert -- 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 10 06:09:17 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 10 Nov 2006 07:09:17 -0500 Subject: [AccessD] OT: Weird email line In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6F4D7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35A8A@ADGSERVER> I've never seen anything like this in my emails from AccessD. Must be something on your side. My ISP does insert [Spam Suspect] many times into the subject header. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Enright Sent: Thursday, November 09, 2006 5:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Weird email line v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Could someone please explain this strange line? On the few occasions I send an email to AccessD the copy of my message that comes back to me always begins with the line V\:* {behavior:URL (#default#vml);}v\:* { BEHAVIOR: URL (#default#vml)} It never happens any other time. Only with my messages and this list My incoming mail goes to my yahoo address and is then downloaded into Incredimail using YPOPs. What is generating that line? Chris From carbonnb at gmail.com Fri Nov 10 06:35:00 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 10 Nov 2006 07:35:00 -0500 Subject: [AccessD] OT: Weird email line In-Reply-To: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> References: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> Message-ID: On 11/9/06, Chris Enright wrote: > v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Could someone please explain this strange line? > > On the few occasions I send an email to AccessD the copy of my message that comes back to me always begins with the line > > V\:* {behavior:URL (#default#vml);}v\:* { BEHAVIOR: URL (#default#vml)} > > It never happens any other time. Only with my messages and this list > > My incoming mail goes to my yahoo address and is then downloaded into Incredimail using YPOPs. > > What is generating that line? It's being generated by the HTML mail that you are creating. The list software will strip the HTML part, but that line appears to fall outside of the HTML part of the e-mail. To get rid of the line, create and send e-mail in plain text only. Your friendly neighbourhood Listmaster, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From mikedorism at verizon.net Fri Nov 10 09:06:50 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 10 Nov 2006 10:06:50 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116AC99@ddi-01.DDI.local> Message-ID: <000301c704d9$da0678a0$2f01a8c0@Kermit> Yes it does. I love the whole suite of Janus UI controls and am super happy that they have now put out web versions. Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, November 09, 2006 7:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Don't know about better but I think Janus do something like that. www.janusys.com Their grid rules... cheers Michael M From robert at servicexp.com Fri Nov 10 09:24:58 2006 From: robert at servicexp.com (robert) Date: Fri, 10 Nov 2006 10:24:58 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <000301c704d9$da0678a0$2f01a8c0@Kermit> Message-ID: Am I missing something, I don't see an ActiveX version of the schedule calendar on their site?? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning Sent: Friday, November 10, 2006 10:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Yes it does. I love the whole suite of Janus UI controls and am super happy that they have now put out web versions. Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, November 09, 2006 7:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Don't know about better but I think Janus do something like that. www.janusys.com Their grid rules... cheers Michael M -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Fri Nov 10 10:03:43 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 10 Nov 2006 11:03:43 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: Message-ID: <000401c704e1$cc279f90$2f01a8c0@Kermit> Sorry. Janus used to sell a version 2.0 of their UI controls that was useable in Visual Studio 2003 as well as Access 2000 and up. It looks like they have discontinued that in favor of the controls that only work in Visual Studio 2005. Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of robert Sent: Friday, November 10, 2006 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Am I missing something, I don't see an ActiveX version of the schedule calendar on their site?? Thanks Robert From john at winhaven.net Fri Nov 10 10:51:12 2006 From: john at winhaven.net (John Bartow) Date: Fri, 10 Nov 2006 10:51:12 -0600 Subject: [AccessD] Xerox Freeflow Message-ID: <200611101651.kAAGpHq02596@databaseadvisors.com> Anyone have experience working with or through the installation of the Xerox Freeflow system? From Jim.Hale at FleetPride.com Fri Nov 10 13:45:17 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 10 Nov 2006 13:45:17 -0600 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> It's too quiet for a Friday! WINTER CLASSES FOR MEN AT: THE LEARNING CENTER FOR ADULTS REGISTRATION MUST BE COMPLETED BY Saturday, December 12, 2006 NOTE: DUE TO THE COMPLEXITY AND DIFFICULTY LEVEL OF THEIR CONTENTS, CLASS SIZES WILL BE LIMITED TO 8 PARTICIPANTS MAXIMUM. Class 1 How To Fill Up The Ice Cube Trays --- Step by Step, with Slide Presentation. Meets 4 weeks, Monday and Wednesday for 2 hours beginning at 7:00 PM. Class 2 The Toilet Paper Roll --- Does It Change Itself? Round Table Discussion. Meets 2 weeks, Saturday 12:00 for 2 hours. Class 3 Is It Possible To Urinate Using The Technique Of Lifting The Seat and Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 weeks, Saturday 10:00 PM for 2 hours. Class 4 Fundamental Differences Between The Laundry Hamper and The Floor --- Pictures and Explanatory Graphics. Meets Saturdays at 2:00 PM for 3 weeks. Class 5 After Dinner Dishes --- Can They Levitate and Fly Into The Kitchen Sink? Examples on Video. Meets 4 weeks, Tuesday and Thursday for 2 hours beginning at 7:00 PM Class 6 Loss Of Identity --- Losing The Remote To Your Significant Other. Help Line Support and Support Groups. Meets 4 Weeks, Friday and Sunday 7:00 PM Class 7 Learning How To Find Things --- Starting With Looking In The Right Places And Not Turning The House Upside Down While Screaming. Open Forum . Monday at 8:00 PM, 2 hours. Class 8 Health Watch --- Bringing Her Flowers Is Not Harmful To Your Health. Graphics and Audio Tapes. Three nights; Monday, Wednesday, Friday at 7:00 PM for 2 hours. Class 9 Real Men Ask For Directions When Lost --- Real Life Testimonials. Tuesdays at 6:00 PM Location to be determined. Class 10 Is It Genetically Impossible To Sit Quietly While She Parallel Parks? Driving Simulations. 4 weeks, Saturday's noon, 2 hours. Class 11 Learning to Live --- Basic Differences Between Mother and Wife. Online Classes and role-playing . Tuesdays at 7:00 PM, location to be determined Class 12 How to be the Ideal Shopping Companion Relaxation Exercises, Meditation and Breathing Techniques. Meets 4 weeks, Tuesday and Thursday for 2 hours beginning at 7:00 PM. Class 13 How to Fight Cerebral Atrophy --- Remembering Birthdays, Anniversaries and Other Important Dates and Calling When You're Going To Be Late. Cerebral Shock Therapy Sessions and Full Lobotomies Offered. Three nights; Monday, Wednesday, Friday at 7:00 PM for 2 hours. Class 14 The Stove/Oven --- What It Is and How It Is Used. Live Demonstration. Tuesdays at 6:00 PM, location to be determined. Upon completion of any of the above courses, diplomas will be issued to the survivors. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From mfisch4 at capex.com.ar Fri Nov 10 14:15:39 2006 From: mfisch4 at capex.com.ar (MF) Date: Fri, 10 Nov 2006 17:15:39 -0300 Subject: [AccessD] OT: Friday humor In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetprid e.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> Message-ID: <6.2.3.4.0.20061110171510.03623f30@bsas-mail> New Dictionary Terms Blamestorming: Sitting around in a group discussing why a deadline was missed or a project failed, and who was responsible. Cube Farm: An office filled with cubicles. Prairie Dogging: When someone yells or drops something loudly in a cube farm, and people's heads pop up over the walls to see what's going on. Ego Surfing: Scanning the Net, databases, print media and so on, looking for references to one's own name. Elvis Year: The peak year of something's or someone's popularity. "Barney the Dinosaur's Elvis year was 1993." 404: Someone who's clueless. "Don't bother asking him; he's 404." From the WWW error message "404 Not Found", meaning the requested document couldn't be located. Idea Hamsters: People who always seem to have their idea generators running. Keyboard Plaque: The disgusting buildup of dirt and crud found on computer keyboards. Mouse Potato: The on-line, wired generation's answer to the couch potato. Oh-no-second: That minuscule fraction of time in which you realize that you've just made a big mistake. Perot: To quit unexpectedly, as in "My cellular phone just perot'ed." SITCOM: What yuppies turn into when they have children and one of them stops working to stay home with the kids. Stands for Single Income, Two Children, Oppressive Mortgage. Squirt the Bird: To transmit a signal to a satellite. Starter Marriage: A short-lived first marriage that ends in divorce with no kids, no property and no regrets. Stress Puppy: A person who seems to thrive on being stressed out and whiny. Body Nazis: Hard-core exercise and weight-lifting fanatics who look down on anyone who doesn't work out obsessively. Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. Tourists: People who take training classes just to get a vacation from their jobs. "We had three serious students in the class; the rest were just tourists." Uninstalled: Euphemism for being fired. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Things You Wish You Could Say At Work 1. Ahhh, I see the fuck-up fairy has visited us again. 2. I don't know what your problem is, but I'll bet it's hard to pronounce. 3. How about never? Is never good for you? 4. I see you've set aside this special time to humiliate yourself in public. 5. I'm really easy to get along with once you people learn to worship me. 6. I'll try being nicer if you'll try being smarter. 7. I'm out of my mind, but feel free to leave a message. 8. I don't work here. I'm a consultant. 9. It sounds like English, but I can't understand a word you're saying. 10. I can see your point, but I still think you're full of shit. 11. I like you. You remind me of when I was young and stupid. 12. You are validating my inherent mistrust of strangers. 13. I have plenty of talent and vision. I just don't give a damn. 14. I'm already visualizing the duct tape over your mouth. 15. I will always cherish the initial misconceptions I had about you. 16. Thank you. We're all refreshed and challenged by your unique point of view. 17. The fact that no one understands you doesn't mean you're an artist. 18. Any connection between your reality and mine is purely coincidental. 19. What am I? Flypaper for freaks!? 20. I'm not being rude. You're just insignificant. 21. It's a thankless job, but I've got a lot of Karma to burn off. 22. Yes, I am an agent of Satan, but my duties are largely ceremonial. 23. You sound reasonable ... Time to up the medication. 24. Who me? I just wander from room to room. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Cubans St. Peter came to the Lord and said, "I have to talk to you." We have some Cubans up here who are causing problems. My flute is missing, mojo sauce is all over the place, they are making guayaberas from their robes, they have domino tables in the cafeteria, and they're wearing baseball caps instead of halos. They refuse to stop making Cuban Coffee on the heaven's stairs and some of them are walking around with just one wing." The Lord said, "Cubans are Cubans, Peter. Heaven is home to all my children. If you want to know about real problems, ask the Devil." Peter calls - the Devil answered the phone "Hello? Damn, hold on a minute." The Devil returned to the phone, "O.K., I'm back. What can I do for you?" Peter replied, "I just want to know what kind of problems you're having down there." The Devil again said Hold on, Hold On.... The Devil said "I'm back. Now what was the question?" Peter said "What kind of problems are you having down there?" The Devil said "Man, I don't believe this...Hold on." This time the Devil was gone 15 minutes. The Devil returned and said, "I'm sorry Peter, I can't talk right now. Those damn Cubans have put out the fire and are trying to install air conditioning." ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Here goes Little Tony AGAIN!!!!! A teacher asks her class, "If there are 5 birds sitting on a fence and you shoot one of them, how many will be left?" She calls on little TONY. He replies, "None, they will all fly away with the first gunshot." The teacher replies, "The correct answer is 4, but I like your thinking." Then little TONY says, "I have a question for YOU. There are 3 women sitting on a bench having ice cream: One is delicately licking the sides of the triple scoop of ice cream . The second is gobbling down the top and sucking the cone. The third is biting off the top of the ice cream. Which one is married?" The teacher, blushing a great deal, replied, "Well, I suppose the one that's gobbled down the top and sucked the cone." To which Little TONY replied, "The correct answer is 'the one with the wedding ring on," but I like your thinking." ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON MATH (Part 2) Little TONY retur ns from school and says he got an F in arithmetic. "Why?" asks the father? "The teacher asked 'How much is 2x3,'" I said "6", replies TONY. "But that's right!" says his dad. "Yeah, but then she asked me "How much is 3x2?'" "What's the f...... difference?" asks the father. "That's what I said!" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON ENGLISH Little TONY goes to school, and the teacher says, "Today we are going to learn multi-syllable words, class. Does anybody have an example of a multi-syllable word?" TONY says "Mas-tur-bate." Miss Rogers smiles and says, "Wow, little TONY, that's a mouthful." Little TONY says, "No, Miss Rogers, you're thinking of a blowjob." ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON GRAMMAR Little TONY was sitting in class one day. All of a sudden, he needed to go to the bathroom . He yelled out, "Miss Jones, I need to take a piss!!" The teacher replied, 'Now, TONY, that is NOT the proper word to use in this situation. The correct word you want to use is 'urinate.' Please use the word 'ur-i-nate' in a sentence correctly, and I will allow you to go." Little TONY, thinks for a bit, and then says, "You're an eight, but if you had bigger boobs, you'd be a TEN!" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON GRAMMAR (Part 2) One day, during lessons on proper grammar, the teacher asked for a show of hands from those who could use the word "beautiful" in the same sentence twice. First, she called on little Suzie, who responded with, "My father bought my mother a beautiful dress and she looked beautiful in it." "Very good, Suzie," replied the teacher. She then called on little Michael. "My mommy planned a beautiful banquet and it turned out be autifully." She said, "Excellent, Michael!" Then the teacher reluctantly called on little TONY. "Last night at the dinner table, my sister told my father that she was pregnant, and he said 'Beautiful, just f...... beautiful!'" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON GETTING OLDER Little TONY was sitting on a park bench munching on one candy bar after another. After the 6th one a man on the bench across from him said, "Son, you know eating all that candy isn't good for you. It will give you acne, rot your teeth, and make you fat." Little TONY replied, "My grandfather lived to be 107 years old." The man asked, "Did your grandfather eat 6 candy bars at a time?" Little TONY answered, "No, he minded his own f....... business. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ From ssharkins at setel.com Fri Nov 10 17:22:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 10 Nov 2006 18:22:16 -0500 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> Message-ID: <001501c7051f$1033e530$e6b82ad1@SUSANONE> Is It Possible To Urinate Using The Technique Of Lifting The Seat and Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 weeks, Saturday 10:00 PM for 2 hours. ========I really don't suggest this -- how else are they gonna mark their territory? Susan H. From ssharkins at setel.com Fri Nov 10 17:22:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 10 Nov 2006 18:22:16 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: <6.2.3.4.0.20061110171510.03623f30@bsas-mail> Message-ID: <001601c7051f$10e92b70$e6b82ad1@SUSANONE> Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. =======Speaking of... I have trouble using my debit card at one Wal-mart store -- just one Wal-mart and no place else, not even other Wal-marts. What's up with that? Susan H. From DWUTKA at marlow.com Fri Nov 10 17:29:07 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Nov 2006 17:29:07 -0600 Subject: [AccessD] OT: Friday humor Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B697@MARLOW_MAIN2.marlow.com> Bad connection to the authorizing agent. Ask the management if other people have problems with their cards. Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Friday, November 10, 2006 5:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday humor Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. =======Speaking of... I have trouble using my debit card at one Wal-mart store -- just one Wal-mart and no place else, not even other Wal-marts. What's up with that? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 10 17:29:34 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Nov 2006 17:29:34 -0600 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B698@MARLOW_MAIN2.marlow.com> LOL. There are ways! Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Friday, November 10, 2006 5:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Where is everybody? Friday humor to wake you up Is It Possible To Urinate Using The Technique Of Lifting The Seat and Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 weeks, Saturday 10:00 PM for 2 hours. ========I really don't suggest this -- how else are they gonna mark their territory? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Fri Nov 10 17:42:06 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 10 Nov 2006 18:42:06 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B697@MARLOW_MAIN2.marlow.com> Message-ID: <001801c70521$d5a812d0$e6b82ad1@SUSANONE> Bill's card always works. After they deny mine, he comes behind me and swipes his and it goes through every time. Susan H. Bad connection to the authorizing agent. Ask the management if other people have problems with their cards. From cfoust at infostatsystems.com Fri Nov 10 17:48:15 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Nov 2006 15:48:15 -0800 Subject: [AccessD] OT: Friday humor In-Reply-To: <001601c7051f$10e92b70$e6b82ad1@SUSANONE> Message-ID: In my case, it's always meant the card was about to give up the ghost and I had found the one reader that realized it early. Get a replacement BEFORE it stops working everywhere. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, November 10, 2006 3:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday humor Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. =======Speaking of... I have trouble using my debit card at one Wal-mart store -- just one Wal-mart and no place else, not even other Wal-marts. What's up with that? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 10 18:02:41 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Nov 2006 19:02:41 -0500 Subject: [AccessD] OT: Friday humor References: <001601c7051f$10e92b70$e6b82ad1@SUSANONE> Message-ID: <007301c70524$ca9878a0$3e3de844@50NM721> ...karma? William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 10, 2006 6:22 PM Subject: Re: [AccessD] OT: Friday humor > > > Swiped Out: An ATM or credit card that has been rendered useless because > the > magnetic strip is worn away from extensive use. > > =======Speaking of... I have trouble using my debit card at one Wal-mart > store -- just one Wal-mart and no place else, not even other Wal-marts. > What's up with that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 10 18:04:02 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Nov 2006 19:04:02 -0500 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up References: <17724746D360394AA3BFE5B8D40A9C1B0139B698@MARLOW_MAIN2.marlow.com> Message-ID: <007401c70524$e5b51580$3e3de844@50NM721> ...a helping hand is beneficial :) William Hindman ----- Original Message ----- From: To: Sent: Friday, November 10, 2006 6:29 PM Subject: Re: [AccessD] OT: Where is everybody? Friday humor to wake you up > LOL. There are ways! > > Drew > > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at setel.com] > Sent: Friday, November 10, 2006 5:22 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Where is everybody? Friday humor to wake you up > > > Is It Possible To Urinate Using The Technique Of Lifting The Seat and > Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 > weeks, Saturday 10:00 PM for 2 hours. > > ========I really don't suggest this -- how else are they gonna mark their > territory? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 10 18:04:27 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Nov 2006 19:04:27 -0500 Subject: [AccessD] OT: Friday humor References: <001801c70521$d5a812d0$e6b82ad1@SUSANONE> Message-ID: <007a01c70524$f4d21a40$3e3de844@50NM721> ...karma :) William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 10, 2006 6:42 PM Subject: Re: [AccessD] OT: Friday humor > Bill's card always works. After they deny mine, he comes behind me and > swipes his and it goes through every time. > > Susan H. > > Bad connection to the authorizing agent. Ask the management if other > people > have problems with their cards. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at setel.com Sat Nov 11 09:25:46 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 11 Nov 2006 10:25:46 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: Message-ID: <001c01c705a5$aa887200$e6b82ad1@SUSANONE> Well, that's interesting. Thing is, the card is brand new. :( But, that doesn't mean it isn't defective -- that could be true. Susan H. In my case, it's always meant the card was about to give up the ghost and I had found the one reader that realized it early. Get a replacement BEFORE it stops working everywhere. From lembit.dbamail at t-online.de Sat Nov 11 12:22:43 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 11 Nov 2006 19:22:43 +0100 Subject: [AccessD] XP-mde on A2003? References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> <6.2.3.4.0.20061110171510.03623f30@bsas-mail> Message-ID: <005301c705be$6155b340$1800a8c0@s1800> Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? thank you Lembit From jwcolby at colbyconsulting.com Sat Nov 11 13:47:17 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 11 Nov 2006 14:47:17 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <005301c705be$6155b340$1800a8c0@s1800> Message-ID: <000801c705ca$3285a320$d60f390a@m6805> Yep, AFAIK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, November 11, 2006 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? thank you Lembit -- 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 11 16:16:22 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 11 Nov 2006 14:16:22 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <000801c705ca$3285a320$d60f390a@m6805> Message-ID: <001701c705df$0583ad30$6701a8c0@HAL9005> But can you run a 2003 mde on an A2K2 machine or an A2K machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 11, 2006 11:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? Yep, AFAIK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, November 11, 2006 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 2:31 PM From wdhindman at dejpolsystems.com Sat Nov 11 16:29:37 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 11 Nov 2006 17:29:37 -0500 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005> Message-ID: <000d01c705e0$dfac6960$3e3de844@50NM721> ...yes, as long as you've saved it in A2K format. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 5:16 PM Subject: Re: [AccessD] XP-mde on A2003? > But can you run a 2003 mde on an A2K2 machine or an A2K machine? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, November 11, 2006 11:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] XP-mde on A2003? > > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 > 2:31 PM > > > -- > 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 11 19:13:25 2006 From: john at winhaven.net (John Bartow) Date: Sat, 11 Nov 2006 19:13:25 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <000d01c705e0$dfac6960$3e3de844@50NM721> Message-ID: <200611120113.kAC1DQq16748@databaseadvisors.com> A2k3 can't make an A2k mde. You have to have it in A2k3 format to make an mde. I tried opening an A2k3 mde with A2k on a machine with A2k and A2k3 installed and it does not work - unrecognized format. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 11, 2006 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? ...yes, as long as you've saved it in A2K format. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 5:16 PM Subject: Re: [AccessD] XP-mde on A2003? > But can you run a 2003 mde on an A2K2 machine or an A2K machine? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, November 11, 2006 11:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] XP-mde on A2003? > > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 > 2:31 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 11 20:21:08 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 11 Nov 2006 21:21:08 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <001701c705df$0583ad30$6701a8c0@HAL9005> Message-ID: <001301c70601$37a877b0$d60f390a@m6805> No, or rather it depends. If you use an A2K container, and only use constructs that are native to A2K then yes. Maybe. There is an update to VBA after A2K that you will have to deal with. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Saturday, November 11, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? But can you run a 2003 mde on an A2K2 machine or an A2K machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 11, 2006 11:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? Yep, AFAIK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, November 11, 2006 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 2:31 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sat Nov 11 20:45:16 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 11 Nov 2006 21:45:16 -0500 Subject: [AccessD] XP-mde on A2003? References: <200611120113.kAC1DQq16748@databaseadvisors.com> Message-ID: <006d01c70604$9670f710$3e3de844@50NM721> John ...have you tried using late binding and ensuring the paths are the same? William Hindman ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 8:13 PM Subject: Re: [AccessD] XP-mde on A2003? > A2k3 can't make an A2k mde. You have to have it in A2k3 format to make an > mde. > > I tried opening an A2k3 mde with A2k on a machine with A2k and A2k3 > installed and it does not work - unrecognized format. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, November 11, 2006 4:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] XP-mde on A2003? > > ...yes, as long as you've saved it in A2K format. > > William Hindman > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 11, 2006 5:16 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Saturday, November 11, 2006 11:47 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] XP-mde on A2003? >> >> Yep, AFAIK. >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >> Sent: Saturday, November 11, 2006 1:23 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] XP-mde on A2003? >> >> Hi everyone, >> I have been asked to write an Access db for a friend. >> I have Access-XP (2002) on my machine >> he has Access 2003 >> >> can he run an mde from me on his machine? >> >> 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 >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >> 11/10/2006 >> 2:31 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Sun Nov 12 00:27:29 2006 From: john at winhaven.net (John Bartow) Date: Sun, 12 Nov 2006 00:27:29 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <006d01c70604$9670f710$3e3de844@50NM721> Message-ID: <200611120627.kAC6RRq12802@databaseadvisors.com> William, To test this again, I created a new db db1.mdb created (only) one form with a label that says "TEST" and no module made it the startup form created an mde from db1.mdb - error "you cannot create a Microsoft Access ADE or MDE from a database saved in Microsoft Access 2000 format" converted db1.mdb to a2k3 - db2.mdb created an mde from db2.mdb - db2.mde opened db1.mdb in a2k3 - worked opened db2.mdb with a2k3 - worked opened db2.mde with a2k3 - worked opened db1.mdb in a2k - worked opened db2.mdb with a2k and get error "this database is in an unrecognized format" opened db2.mde with a2k and get error "this database is in an unrecognized format" I just reinstalled from scratch a couple of weeks ago so I'd be interested to know if you can do this same thing successfully. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 11, 2006 8:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? John ...have you tried using late binding and ensuring the paths are the same? William Hindman From lembit.dbamail at t-online.de Sun Nov 12 04:36:57 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 11:36:57 +0100 Subject: [AccessD] XP-mde on A2003? References: <000801c705ca$3285a320$d60f390a@m6805> Message-ID: <002901c70646$7ab07310$1800a8c0@s1800> thanks, John btw, did you get my uP mails? and do they help? Lembit ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 8:47 PM Subject: Re: [AccessD] XP-mde on A2003? > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 lembit.dbamail at t-online.de Sun Nov 12 04:45:24 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 11:45:24 +0100 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005> <000d01c705e0$dfac6960$3e3de844@50NM721> Message-ID: <003401c70647$a914b620$1800a8c0@s1800> hmm, William, is this an answer to Rocky's question or to mine? you mean I have to build the database in A2000 format and then convert it to mde, and then it will run under A2003? thanks Lembit ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Saturday, November 11, 2006 11:29 PM Subject: Re: [AccessD] XP-mde on A2003? > ...yes, as long as you've saved it in A2K format. > > William Hindman > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 11, 2006 5:16 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Saturday, November 11, 2006 11:47 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] XP-mde on A2003? >> >> Yep, AFAIK. >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >> Sent: Saturday, November 11, 2006 1:23 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] XP-mde on A2003? >> >> Hi everyone, >> I have been asked to write an Access db for a friend. >> I have Access-XP (2002) on my machine >> he has Access 2003 >> >> can he run an mde from me on his machine? >> >> 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 >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >> 11/10/2006 >> 2:31 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Nov 12 06:37:48 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 12 Nov 2006 04:37:48 -0800 (PST) Subject: [AccessD] Moving items in a listbox with the mouse Message-ID: <20061112123748.7261.qmail@web33101.mail.mud.yahoo.com> Does anyone know of any method, code or control that I could use to move order of the items within a list box with a mouse. So if I have three things in a list box CAT DOG BIRD I would like to grab DOG with my mouse and move it up above CAT. Is that possible? Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From wdhindman at dejpolsystems.com Sun Nov 12 07:44:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 08:44:52 -0500 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005><000d01c705e0$dfac6960$3e3de844@50NM721> <003401c70647$a914b620$1800a8c0@s1800> Message-ID: <004201c70660$bb5315c0$3e3de844@50NM721> Lembit ...A2K mdes should run fine in A2K3 as long as the paths are the same ...afaik mdes hardcode the path to the executable and the default install puts A2K and A2K3 in different paths. William Hindman ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 5:45 AM Subject: Re: [AccessD] XP-mde on A2003? > hmm, William, is this an answer to Rocky's question or to mine? > you mean I have to build the database in A2000 format and then convert it > to > mde, and then it will run under A2003? > > thanks > Lembit > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 11, 2006 11:29 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> ...yes, as long as you've saved it in A2K format. >> >> William Hindman >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 11, 2006 5:16 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Saturday, November 11, 2006 11:47 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> Yep, AFAIK. >>> >>> >>> John W. Colby >>> Colby Consulting >>> www.ColbyConsulting.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >>> Sent: Saturday, November 11, 2006 1:23 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] XP-mde on A2003? >>> >>> Hi everyone, >>> I have been asked to write an Access db for a friend. >>> I have Access-XP (2002) on my machine >>> he has Access 2003 >>> >>> can he run an mde from me on his machine? >>> >>> 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 >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>> 11/10/2006 >>> 2:31 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Sun Nov 12 07:48:07 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 12 Nov 2006 16:48:07 +0300 Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: <000001c70661$2f8295b0$6401a8c0@nant> Hi All, Is there somewhere a file with IATA Airport codes ready to be imported into MS Access database? I mean Airport codes like these: http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L Thank you. -- Shamil From wdhindman at dejpolsystems.com Sun Nov 12 07:51:55 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 08:51:55 -0500 Subject: [AccessD] Moving items in a listbox with the mouse References: <20061112123748.7261.qmail@web33101.mail.mud.yahoo.com> Message-ID: <004801c70661$b7fe9e20$3e3de844@50NM721> ...if you are working with a full Access install, then www.lebans.com has a list box with drag and drop capability. William Hindman ----- Original Message ----- From: "Lonnie Johnson" To: "AccessD solving'" Sent: Sunday, November 12, 2006 7:37 AM Subject: [AccessD] Moving items in a listbox with the mouse > Does anyone know of any method, code or control that I could use to move > order of the items within a list box with a mouse. > > So if I have three things in a list box > > CAT > DOG > BIRD > > I would like to grab DOG with my mouse and move it up above CAT. > > Is that possible? > > Thanks. > > > > > > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sun Nov 12 07:52:27 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 12 Nov 2006 08:52:27 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <004201c70660$bb5315c0$3e3de844@50NM721> Message-ID: <000301c70661$cad5ebc0$d60f390a@m6805> I think the MDE has to be MADE using A2K, and will then RUN under A2K3 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, November 12, 2006 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? Lembit ...A2K mdes should run fine in A2K3 as long as the paths are the same ...afaik mdes hardcode the path to the executable and the default install puts A2K and A2K3 in different paths. William Hindman ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 5:45 AM Subject: Re: [AccessD] XP-mde on A2003? > hmm, William, is this an answer to Rocky's question or to mine? > you mean I have to build the database in A2000 format and then convert it > to > mde, and then it will run under A2003? > > thanks > Lembit > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 11, 2006 11:29 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> ...yes, as long as you've saved it in A2K format. >> >> William Hindman >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 11, 2006 5:16 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Saturday, November 11, 2006 11:47 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> Yep, AFAIK. >>> >>> >>> John W. Colby >>> Colby Consulting >>> www.ColbyConsulting.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >>> Sent: Saturday, November 11, 2006 1:23 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] XP-mde on A2003? >>> >>> Hi everyone, >>> I have been asked to write an Access db for a friend. >>> I have Access-XP (2002) on my machine >>> he has Access 2003 >>> >>> can he run an mde from me on his machine? >>> >>> 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 >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>> 11/10/2006 >>> 2:31 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Sun Nov 12 08:50:42 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 15:50:42 +0100 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005><000d01c705e0$dfac6960$3e3de844@50NM721><003401c70647$a914b620$1800a8c0@s1800> <004201c70660$bb5315c0$3e3de844@50NM721> Message-ID: <002001c70669$ed8b2380$1800a8c0@s1800> thank you, William Lembit ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 2:44 PM Subject: Re: [AccessD] XP-mde on A2003? > Lembit > > ...A2K mdes should run fine in A2K3 as long as the paths are the same > ...afaik mdes hardcode the path to the executable and the default install > puts A2K and A2K3 in different paths. > > William Hindman > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 12, 2006 5:45 AM > Subject: Re: [AccessD] XP-mde on A2003? > > >> hmm, William, is this an answer to Rocky's question or to mine? >> you mean I have to build the database in A2000 format and then convert it >> to >> mde, and then it will run under A2003? >> >> thanks >> Lembit >> >> ----- Original Message ----- >> From: "William Hindman" >> To: "Access Developers discussion and problem solving" >> >> Sent: Saturday, November 11, 2006 11:29 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> ...yes, as long as you've saved it in A2K format. >>> >>> William Hindman >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 11, 2006 5:16 PM >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> >>>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>>> Sent: Saturday, November 11, 2006 11:47 AM >>>> To: 'Access Developers discussion and problem solving' >>>> Subject: Re: [AccessD] XP-mde on A2003? >>>> >>>> Yep, AFAIK. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> www.ColbyConsulting.com >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit >>>> Soobik >>>> Sent: Saturday, November 11, 2006 1:23 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: [AccessD] XP-mde on A2003? >>>> >>>> Hi everyone, >>>> I have been asked to write an Access db for a friend. >>>> I have Access-XP (2002) on my machine >>>> he has Access 2003 >>>> >>>> can he run an mde from me on his machine? >>>> >>>> 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 >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>>> 11/10/2006 >>>> 2:31 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Sun Nov 12 08:51:09 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 15:51:09 +0100 Subject: [AccessD] XP-mde on A2003? References: <000301c70661$cad5ebc0$d60f390a@m6805> Message-ID: <002501c70669$fdaee9e0$1800a8c0@s1800> thank you, John, will try it Lembit ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 12, 2006 2:52 PM Subject: Re: [AccessD] XP-mde on A2003? >I think the MDE has to be MADE using A2K, and will then RUN under A2K3 > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Sunday, November 12, 2006 8:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] XP-mde on A2003? > > Lembit > > ...A2K mdes should run fine in A2K3 as long as the paths are the same > ...afaik mdes hardcode the path to the executable and the default install > puts A2K and A2K3 in different paths. > > William Hindman > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 12, 2006 5:45 AM > Subject: Re: [AccessD] XP-mde on A2003? > > >> hmm, William, is this an answer to Rocky's question or to mine? >> you mean I have to build the database in A2000 format and then convert it >> to >> mde, and then it will run under A2003? >> >> thanks >> Lembit >> >> ----- Original Message ----- >> From: "William Hindman" >> To: "Access Developers discussion and problem solving" >> >> Sent: Saturday, November 11, 2006 11:29 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> ...yes, as long as you've saved it in A2K format. >>> >>> William Hindman >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 11, 2006 5:16 PM >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> >>>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>>> Sent: Saturday, November 11, 2006 11:47 AM >>>> To: 'Access Developers discussion and problem solving' >>>> Subject: Re: [AccessD] XP-mde on A2003? >>>> >>>> Yep, AFAIK. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> www.ColbyConsulting.com >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit >>>> Soobik >>>> Sent: Saturday, November 11, 2006 1:23 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: [AccessD] XP-mde on A2003? >>>> >>>> Hi everyone, >>>> I have been asked to write an Access db for a friend. >>>> I have Access-XP (2002) on my machine >>>> he has Access 2003 >>>> >>>> can he run an mde from me on his machine? >>>> >>>> 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 >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>>> 11/10/2006 >>>> 2:31 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > 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 12 09:48:37 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 12 Nov 2006 07:48:37 -0800 (PST) Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: <20061112154838.25114.qmail@web88210.mail.re2.yahoo.com> I grabbed all the data from an airport list (which was subdivided by initial character) and I'm sending you off-list the MDB. If anyone else wants the list, pvt me and I will send it to you as well. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access-D Sent: Sunday, November 12, 2006 8:48:07 AM Subject: [AccessD] IATA Airport codes to import into MS Access database Hi All, Is there somewhere a file with IATA Airport codes ready to be imported into MS Access database? I mean Airport codes like these: http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L Thank you. -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Nov 12 10:06:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 12 Nov 2006 08:06:17 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <000d01c705e0$dfac6960$3e3de844@50NM721> Message-ID: <001301c70674$7c960d10$6701a8c0@HAL9005> But I don't think A2K3 will compile and mde from an A2K format mdb. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 11, 2006 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? ...yes, as long as you've saved it in A2K format. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 5:16 PM Subject: Re: [AccessD] XP-mde on A2003? > But can you run a 2003 mde on an A2K2 machine or an A2K machine? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, November 11, 2006 11:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] XP-mde on A2003? > > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 > 2:31 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 2:31 PM From bchacc at san.rr.com Sun Nov 12 10:11:45 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 12 Nov 2006 08:11:45 -0800 Subject: [AccessD] Moving items in a listbox with the mouse In-Reply-To: <20061112123748.7261.qmail@web33101.mail.mud.yahoo.com> Message-ID: <001401c70675$403a95b0$6701a8c0@HAL9005> I've done this but only with a couple of command buttons labeled 'Move Up' and 'Move Down' outside the list box. Worked pretty well, though with some brute force code, IIRC. It was a long time ago but I can try to dig it out if you want to go in that direction. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, November 12, 2006 4:38 AM To: AccessD solving' Subject: [AccessD] Moving items in a listbox with the mouse Does anyone know of any method, code or control that I could use to move order of the items within a list box with a mouse. So if I have three things in a list box CAT DOG BIRD I would like to grab DOG with my mouse and move it up above CAT. Is that possible? Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/530 - Release Date: 11/11/2006 6:53 PM From wdhindman at dejpolsystems.com Sun Nov 12 10:28:34 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 11:28:34 -0500 Subject: [AccessD] IATA Airport codes to import into MS Access database References: <20061112154838.25114.qmail@web88210.mail.re2.yahoo.com> Message-ID: <002901c70677$99b1f500$3e3de844@50NM721> ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 10:48 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database >I grabbed all the data from an airport list (which was subdivided by >initial character) and I'm sending you off-list the MDB. If anyone else >wants the list, pvt me and I will send it to you as well. > > Arthur > > ----- Original Message ---- > From: Shamil Salakhetdinov > To: Access-D > Sent: Sunday, November 12, 2006 8:48:07 AM > Subject: [AccessD] IATA Airport codes to import into MS Access database > > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported > into > MS Access database? > > I mean Airport codes like these: > http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L > > > Thank you. > > -- > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sun Nov 12 10:45:12 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 12 Nov 2006 17:45:12 +0100 Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: Hi William and Shamil Here's an alternative: http://crashpads.com/airport_codes/index.cfm Don't fill in any field, just press the button to retrieve the full list - which can be saved as is to a text file. /gustav >>> wdhindman at dejpolsystems.com 12-11-06 17:28 >>> ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 10:48 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database >I grabbed all the data from an airport list (which was subdivided by >initial character) and I'm sending you off-list the MDB. If anyone else >wants the list, pvt me and I will send it to you as well. > > Arthur > > ----- Original Message ---- > From: Shamil Salakhetdinov > To: Access-D > Sent: Sunday, November 12, 2006 8:48:07 AM > Subject: [AccessD] IATA Airport codes to import into MS Access database > > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported > into > MS Access database? > > I mean Airport codes like these: > http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L > > > Thank you. > > -- > Shamil From wdhindman at dejpolsystems.com Sun Nov 12 12:47:07 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 13:47:07 -0500 Subject: [AccessD] IATA Airport codes to import into MS Access database References: Message-ID: <000301c7068a$f55d62a0$3e3de844@50NM721> ...tks William Hindman ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, November 12, 2006 11:45 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database > Hi William and Shamil > > Here's an alternative: > > http://crashpads.com/airport_codes/index.cfm > > Don't fill in any field, just press the button to retrieve the full list - > which can be saved as is to a text file. > > /gustav > >>>> wdhindman at dejpolsystems.com 12-11-06 17:28 >>> > ...why not post it on dba ...I've got an updated lat/long/post codes with > US > and many international that I'll put up there soon as well ...its a rpita > to > find high quality data lists that really provide what you need > > William Hindman > > ----- Original Message ----- > From: > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 12, 2006 10:48 AM > Subject: Re: [AccessD] IATA Airport codes to import into MS Access > database > > >>I grabbed all the data from an airport list (which was subdivided by >>initial character) and I'm sending you off-list the MDB. If anyone else >>wants the list, pvt me and I will send it to you as well. >> >> Arthur >> >> ----- Original Message ---- >> From: Shamil Salakhetdinov >> To: Access-D >> Sent: Sunday, November 12, 2006 8:48:07 AM >> Subject: [AccessD] IATA Airport codes to import into MS Access database >> >> Hi All, >> >> Is there somewhere a file with IATA Airport codes ready to be imported >> into >> MS Access database? >> >> I mean Airport codes like these: >> http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L >> >> >> Thank you. >> >> -- >> Shamil > -- > 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 12 13:33:44 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 12 Nov 2006 11:33:44 -0800 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <002901c70677$99b1f500$3e3de844@50NM721> References: <20061112154838.25114.qmail@web88210.mail.re2.yahoo.com> <002901c70677$99b1f500$3e3de844@50NM721> Message-ID: <45577718.1030204@shaw.ca> It depends on how accurate you need to be Here is one site that supplies IATA 3 char and IACO 4 char lists of airport codes 30,000 total for 50$ in csv format. Probably a more accurate breakdown It may include military, emergency and dirt strips. These are the backwoods ones you fly over at night, send a radio signal on a pre-set frequency and the runway lights turn on.. http://www.mapping.com/airportcodes.html IATA sell a subscription for $3000 This site states 9,400 large airports http://www.world-airport-codes.com/ Some airports are a little odd. I have flown in here BRR Barra in Outer Hebrides. The runway is a sand beach, landings and take offs depend on the tide There are scheduled flights in here click on satellite map http://www.world-airport-codes.com/united-kingdom/north-bay-630.html William Hindman wrote: >...why not post it on dba ...I've got an updated lat/long/post codes with US >and many international that I'll put up there soon as well ...its a rpita to >find high quality data lists that really provide what you need > >William Hindman > >----- Original Message ----- >From: >To: "Access Developers discussion and problem solving" > >Sent: Sunday, November 12, 2006 10:48 AM >Subject: Re: [AccessD] IATA Airport codes to import into MS Access database > > > > >>I grabbed all the data from an airport list (which was subdivided by >>initial character) and I'm sending you off-list the MDB. If anyone else >>wants the list, pvt me and I will send it to you as well. >> >>Arthur >> >>----- Original Message ---- >>From: Shamil Salakhetdinov >>To: Access-D >>Sent: Sunday, November 12, 2006 8:48:07 AM >>Subject: [AccessD] IATA Airport codes to import into MS Access database >> >>Hi All, >> >>Is there somewhere a file with IATA Airport codes ready to be imported >>into >>MS Access database? >> >>I mean Airport codes like these: >>http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L >> >> >>Thank you. >> >>-- >>Shamil >> >> >> > > > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sun Nov 12 13:42:36 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 12 Nov 2006 13:42:36 -0600 Subject: [AccessD] Requirements Management - What do you do? Message-ID: <000301c70692$b54b6ec0$0200a8c0@danwaters> Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters From prodevmg at yahoo.com Sun Nov 12 14:22:21 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 12 Nov 2006 12:22:21 -0800 (PST) Subject: [AccessD] Moving items in a listbox with the mouse Message-ID: <20061112202221.17832.qmail@web33106.mail.mud.yahoo.com> Thanks. They changed their mind. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Beach Access Software To: Access Developers discussion and problem solving Sent: Sunday, November 12, 2006 10:11:45 AM Subject: Re: [AccessD] Moving items in a listbox with the mouse I've done this but only with a couple of command buttons labeled 'Move Up' and 'Move Down' outside the list box. Worked pretty well, though with some brute force code, IIRC. It was a long time ago but I can try to dig it out if you want to go in that direction. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, November 12, 2006 4:38 AM To: AccessD solving' Subject: [AccessD] Moving items in a listbox with the mouse Does anyone know of any method, code or control that I could use to move order of the items within a list box with a mouse. So if I have three things in a list box CAT DOG BIRD I would like to grab DOG with my mouse and move it up above CAT. Is that possible? Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/530 - Release Date: 11/11/2006 6:53 PM -- 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 12 16:06:54 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Nov 2006 08:06:54 +1000 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <000001c70661$2f8295b0$6401a8c0@nant> References: <000001c70661$2f8295b0$6401a8c0@nant> Message-ID: <45579AFE.19436.9185D37@stuart.lexacorp.com.pg> On 12 Nov 2006 at 16:48, Shamil Salakhetdinov wrote: > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported into > MS Access database? Yes, but it's very expensive. IATA owns the information: http://www.iata.org/ps/publications/9095.htm -- Stuart From lizd1 at charter.net Sun Nov 12 19:53:52 2006 From: lizd1 at charter.net (Liz Doering) Date: Sun, 12 Nov 2006 19:53:52 -0600 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <000301c70692$b54b6ec0$0200a8c0@danwaters> Message-ID: <001001c706c6$92a8dd60$6601a8c0@Lillian> Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Mon Nov 13 00:27:54 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 13 Nov 2006 06:27:54 -0000 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: Message-ID: <000001c706ec$db7142f0$8119fea9@Server> Hi All, Don't know how accurate this link is. I have just returned from Thailand and the airport they are now using for BKK is the new one (Sumarahavi or something like that - sorry about spelling) whereas this link still shows Don Muang. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 12, 2006 4:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IATA Airport codes to import into MS Access database Hi William and Shamil Here's an alternative: http://crashpads.com/airport_codes/index.cfm Don't fill in any field, just press the button to retrieve the full list - which can be saved as is to a text file. /gustav >>> wdhindman at dejpolsystems.com 12-11-06 17:28 >>> ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 10:48 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database >I grabbed all the data from an airport list (which was subdivided by >initial character) and I'm sending you off-list the MDB. If anyone else >wants the list, pvt me and I will send it to you as well. > > Arthur > > ----- Original Message ---- > From: Shamil Salakhetdinov > To: Access-D > Sent: Sunday, November 12, 2006 8:48:07 AM > Subject: [AccessD] IATA Airport codes to import into MS Access database > > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported > into > MS Access database? > > I mean Airport codes like these: > http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L > > > Thank you. > > -- > Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Mon Nov 13 00:43:29 2006 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Sun, 12 Nov 2006 22:43:29 -0800 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <001001c706c6$92a8dd60$6601a8c0@Lillian> Message-ID: <000301c706ef$0836fbc0$6401a8c0@bigmama> I'd like a copy too, if you don't mind. krosenstiel at hotmail dot com Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Sunday, November 12, 2006 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Nov 13 00:59:42 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Nov 2006 16:59:42 +1000 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <000001c706ec$db7142f0$8119fea9@Server> References: , <000001c706ec$db7142f0$8119fea9@Server> Message-ID: <4558A47E.23486.67091F65@stuart.lexacorp.com.pg> On 13 Nov 2006 at 6:27, Max Home wrote: > Hi All, > Don't know how accurate this link is. I have just returned from Thailand > and the airport they are now using for BKK is the new one (Sumarahavi or > something like that - sorry about spelling) whereas this link still shows IATA put out monthly updates, it costs about $3000 a year to subscribe to them :-( From Gustav at cactus.dk Mon Nov 13 04:03:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 13 Nov 2006 11:03:45 +0100 Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: Hi Max I can't tell, but if you only need city and country it should be OK. But the link from Marty seems to be up to date with the full information: http://www.world-airport-codes.com/ For BKK it lists: Suvarnabhumi International /gustav >>> max at sherman.org.uk 13-11-2006 07:27 >>> Hi All, Don't know how accurate this link is. I have just returned from Thailand and the airport they are now using for BKK is the new one (Sumarahavi or something like that - sorry about spelling) whereas this link still shows Don Muang. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 12, 2006 4:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IATA Airport codes to import into MS Access database Hi William and Shamil Here's an alternative: http://crashpads.com/airport_codes/index.cfm Don't fill in any field, just press the button to retrieve the full list - which can be saved as is to a text file. /gustav From comres at rpa.net Mon Nov 13 06:09:27 2006 From: comres at rpa.net (Mark Brown) Date: Mon, 13 Nov 2006 07:09:27 -0500 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <000301c706ef$0836fbc0$6401a8c0@bigmama> Message-ID: <00bb01c7071c$9aa6cd50$7440d90a@marklaptop> I would appreciate a copy as well. Comres at rpa net. Thanks. Mark H Brown Computer Resolutions Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Monday, November 13, 2006 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? I'd like a copy too, if you don't mind. krosenstiel at hotmail dot com Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Sunday, November 12, 2006 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Mon Nov 13 07:08:31 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Mon, 13 Nov 2006 08:08:31 -0500 Subject: [AccessD] Requirements Management - What do you do? Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDF04@ex2k3.corp.tnco-inc.com> Could I also get a copy please? joerojas at gmail.com Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Brown Sent: Monday, November 13, 2006 7:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? I would appreciate a copy as well. Comres at rpa net. Thanks. Mark H Brown Computer Resolutions Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Monday, November 13, 2006 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? I'd like a copy too, if you don't mind. krosenstiel at hotmail dot com Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Sunday, November 12, 2006 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 13 07:14:54 2006 From: artful at rogers.com (artful at rogers.com) Date: Mon, 13 Nov 2006 05:14:54 -0800 (PST) Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: <20061113131455.38611.qmail@web88203.mail.re2.yahoo.com> I'll do it as soon as I figure out how to. I don't see a button for Uploads, just for Downloads. ----- Original Message ---- From: William Hindman To: Access Developers discussion and problem solving Sent: Sunday, November 12, 2006 11:28:34 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman From dwaters at usinternet.com Mon Nov 13 07:58:01 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Nov 2006 07:58:01 -0600 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <18330182.1163383512289.JavaMail.root@sniper28> Message-ID: <001201c7072b$bd50b640$0200a8c0@danwaters> Hi Liz! Yes! I'd definitely like to see that. This sounds very precise. Thanks! Dan Waters ProMation Systems, Inc. (W) 763-780-2496 (M) 763-639-2960 -----Original Message----- Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 13 08:40:29 2006 From: john at winhaven.net (John Bartow) Date: Mon, 13 Nov 2006 08:40:29 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <200611120627.kAC6RRq12802@databaseadvisors.com> Message-ID: <200611131440.kADEeXq30311@databaseadvisors.com> Looks like the key issue I missed here the other night was "XP-mde"! I was testing this with A2k-mdes. Sorry for any confusion that may have caused. From carbonnb at gmail.com Mon Nov 13 09:30:50 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 10:30:50 -0500 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <20061113131455.38611.qmail@web88203.mail.re2.yahoo.com> References: <20061113131455.38611.qmail@web88203.mail.re2.yahoo.com> Message-ID: On 11/13/06, artful at rogers.com wrote: > I'll do it as soon as I figure out how to. I don't see a button for Uploads, just for Downloads. Send an e-mail to Jim Lawrence and let him know that you have a file you want to put up on the site. Jim is the webmaster and can be reached at accessd at shaw.ca or if I've messed up from memory, you can also try webmaster at databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Mon Nov 13 09:50:42 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Nov 2006 15:50:42 +0000 Subject: [AccessD] Which Word? Message-ID: <20061113155047.2B21885CC4@smtp.nildram.co.uk> If I have Word 97 and Word XP on a machine and I use the construct Set oAppWord = GetObject(, "Word.Application") how do I determine which version I get? Having just put XP on this machine I thought changing the Reference to the Word 10 object library instead of Word 8 would do it, but it hasn't. What's the trick? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From carbonnb at gmail.com Mon Nov 13 10:53:43 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 11:53:43 -0500 Subject: [AccessD] Which Word? In-Reply-To: <20061113155047.2B21885CC4@smtp.nildram.co.uk> References: <20061113155047.2B21885CC4@smtp.nildram.co.uk> Message-ID: On 11/13/06, Andy Lacey wrote: > If I have Word 97 and Word XP on a machine and I use the construct > > Set oAppWord = GetObject(, "Word.Application") > > how do I determine which version I get? Having just put XP on this machine I > thought changing the Reference to the Word 10 object library instead of Word > 8 would do it, but it hasn't. What's the trick? If you use Word.Application, you get the default version of Word. To get a specific version, you need to use: Set oAppWord = GetObject(, "Word.Application.8") ' Word 97 Set oAppWord = GetObject(, "Word.Application.9") ' Word 2000 Set oAppWord = GetObject(, "Word.Application.10") ' Word 2002 Same for CreateObject if you are creating the word instance -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Mon Nov 13 11:09:16 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Nov 2006 17:09:16 +0000 Subject: [AccessD] Which Word? Message-ID: <20061113170921.71AAB2BBB67@smtp2.nildram.co.uk> Thanks Bryan. If I wanted to how would I make Word 2002 the default when Word 97 still there? -- 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] Which Word? Date: 13/11/06 16:55 On 11/13/06, Andy Lacey wrote: > If I have Word 97 and Word XP on a machine and I use the construct > > Set oAppWord = GetObject(, "Word.Application") > > how do I determine which version I get? Having just put XP on this machine I > thought changing the Reference to the Word 10 object library instead of Word > 8 would do it, but it hasn't. What's the trick? If you use Word.Application, you get the default version of Word. To get a specific version, you need to use: Set oAppWord = GetObject(, "Word.Application.8") ' Word 97 Set oAppWord = GetObject(, "Word.Application.9") ' Word 2000 Set oAppWord = GetObject(, "Word.Application.10") ' Word 2002 Same for CreateObject if you are creating the word instance -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From carbonnb at gmail.com Mon Nov 13 11:16:42 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 12:16:42 -0500 Subject: [AccessD] Which Word? In-Reply-To: <20061113170921.71AAB2BBB67@smtp2.nildram.co.uk> References: <20061113170921.71AAB2BBB67@smtp2.nildram.co.uk> Message-ID: On 11/13/06, Andy Lacey wrote: > Thanks Bryan. If I wanted to how would I make Word 2002 the default when > Word 97 still there? Ummmm...... Got me on that one. I have no Idea. Which version opens up when you double click a Word doc in Explorer? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Mon Nov 13 13:19:42 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Nov 2006 19:19:42 -0000 Subject: [AccessD] Which Word? In-Reply-To: Message-ID: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> 2002, so that's not it. Odd. Andy > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 13 November 2006 17:17 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Which Word? > > > On 11/13/06, Andy Lacey wrote: > > Thanks Bryan. If I wanted to how would I make Word 2002 the default > > when Word 97 still there? > > Ummmm...... > > Got me on that one. I have no Idea. > > Which version opens up when you double click a Word doc in Explorer? > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn > out, shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Kwilliamson at RTKL.com Mon Nov 13 14:20:38 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 13 Nov 2006 15:20:38 -0500 Subject: [AccessD] query expression help In-Reply-To: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> Message-ID: Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From cfoust at infostatsystems.com Mon Nov 13 14:37:12 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Nov 2006 12:37:12 -0800 Subject: [AccessD] query expression help In-Reply-To: Message-ID: Use InStr(). It returns the starting position of one thread in another. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 13, 2006 12:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] query expression help Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 13 14:33:19 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 13 Nov 2006 14:33:19 -0600 Subject: [AccessD] query expression help Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C206827A@xlivmbx35.aig.com> Using a calculated field expression in the query... Calc Field Name: Iif(Instr([ProfitCenterName],"Architect")>0,"True Value","False Value") This example creates a field called "Calc Field Name" which will wind up with a string value of either "True Value" or "False Value". Of course you can equally easily arrange for IIF() to return numeric values or date values, whatever you need. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 13, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] query expression help Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Mon Nov 13 16:30:16 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 17:30:16 -0500 Subject: [AccessD] Which Word? In-Reply-To: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> References: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> Message-ID: On 11/13/06, Andy Lacey wrote: > 2002, so that's not it. Odd. Quite. I dunno then. I'm out of ideas. Maybe a decompile, compact and recompile will do it without the version in the GetObject. Just a WAG. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Kwilliamson at RTKL.com Mon Nov 13 16:41:18 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 13 Nov 2006 17:41:18 -0500 Subject: [AccessD] query expression help In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C206827A@xlivmbx35.aig.com> Message-ID: Thanks guys!!!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 13, 2006 3:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] query expression help Using a calculated field expression in the query... Calc Field Name: Iif(Instr([ProfitCenterName],"Architect")>0,"True Value","False Value") This example creates a field called "Calc Field Name" which will wind up with a string value of either "True Value" or "False Value". Of course you can equally easily arrange for IIF() to return numeric values or date values, whatever you need. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 13, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] query expression help Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Nov 13 17:27:11 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 13 Nov 2006 17:27:11 -0600 Subject: [AccessD] Which Word? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F9@corp-es01.fleetpride.com> Maybe CreateObject would do the trick instead of GetObject? "If the pathname argument is omitted, GetObject returns a currently active object of the specified type. Use CreateObject when there is no current instance of the object. If an instance of the object is already running, a new instance is started, and an object of the specified type is created. To use the current instance, or to start the application and have it load a file, use the GetObject function." Jim Hale -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Monday, November 13, 2006 9:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Which Word? If I have Word 97 and Word XP on a machine and I use the construct Set oAppWord = GetObject(, "Word.Application") how do I determine which version I get? Having just put XP on this machine I thought changing the Reference to the Word 10 object library instead of Word 8 would do it, but it hasn't. What's the trick? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Mon Nov 13 18:15:32 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Nov 2006 18:15:32 -0600 Subject: [AccessD] XP-mde on A2003? Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B839@MARLOW_MAIN2.marlow.com> Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? thank you Lembit -- 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 13 18:29:57 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Nov 2006 16:29:57 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B839@MARLOW_MAIN2.marlow.com> Message-ID: But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 darrend at nimble.com.au Mon Nov 13 18:41:47 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 14 Nov 2006 11:41:47 +1100 Subject: [AccessD] A2000: Import Needs Message-ID: <004101c70785$ac10dea0$05000100@DENZILLAP> Hi all I have been given large (very large) text files to manipulate I can Import them using the fixed width method and I can even attach them using the get External data wizard - It all works OK But the issue with these files is that one file may contain different data types - all determined by a 3 character code in the first 3 positions in the left most position of each line EG we may have 3000 lines of data that start with "ABC" - Cool - I can create an import spec - Call it the ABC import spec and break up each line into the relevant fields in a table using fixed width - Easy But after the 3000 "ABC" data type lines in my text file - there may be 1200 lines that start with "DEF" as the left most 3 characters and the data in each of the "EFG" type lines need to be 'mapped' at different fixed lengths into different fields So the issue is - has anybody had experience kind of 'merging' several Import Specs but only across 1 file? Or does anyone have any suggestions on handling this? Many thanks in advance Darren From DWUTKA at marlow.com Mon Nov 13 19:12:20 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Nov 2006 19:12:20 -0600 Subject: [AccessD] A2000: Import Needs Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B83A@MARLOW_MAIN2.marlow.com> Just a quick thought, split the file into separate files, and import the separate ones with their own specs. For example: Function RunImports(strPathToFileToImport as string) Dim f as long Dim strTemp as string Dim I as Long dim ABCCollection as collection dim DEFCollection as collection dim EFGCollection as Collection dim strArray() as string set ABCCollection=new Collection set DEFCollection=New Collection set EFGCollection=New Collection f=freefile Open strPathToFileToImport for binary access read as f Strtemp=space(lof(f)) Get f,,strtemp Close f strArray=split(strtemp,vbcrlf) for i=0 to ubound(strArray()) select Case Left(strArray(i)) Case "ABC" ABCCollection.Add strArray(i) Case "DEF" DEFCollection.Add strArray(i) Case "EFG" EFGCollection.Add strArray(i) End select Next i Now you have three collections that have the data you want to import. You simply have to create temp files with them, ie: F=freefile Open "C:\ABCTempFile.txt" for binary access write as f For i=1 to ABCCollection.Count Put f,,ABCCollection(i) & vbcrlf Next i Close f Then run the import, with the right spec: DoCmd.TransferText ..... Delete the temp file Kill "C:\ABCTempFile.txt" Then repeat for the other collections. You could get more complex, and have it all done with one collection, using individual collections, etc. Just depends how much time you want to spend on creating the process. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Monday, November 13, 2006 6:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2000: Import Needs Hi all I have been given large (very large) text files to manipulate I can Import them using the fixed width method and I can even attach them using the get External data wizard - It all works OK But the issue with these files is that one file may contain different data types - all determined by a 3 character code in the first 3 positions in the left most position of each line EG we may have 3000 lines of data that start with "ABC" - Cool - I can create an import spec - Call it the ABC import spec and break up each line into the relevant fields in a table using fixed width - Easy But after the 3000 "ABC" data type lines in my text file - there may be 1200 lines that start with "DEF" as the left most 3 characters and the data in each of the "EFG" type lines need to be 'mapped' at different fixed lengths into different fields So the issue is - has anybody had experience kind of 'merging' several Import Specs but only across 1 file? Or does anyone have any suggestions on handling this? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 13 19:41:10 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 13 Nov 2006 20:41:10 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: Message-ID: <006d01c7078d$f7ac0ee0$657aa8c0@m6805> IIRC He never actually said he needed 2003 specific stuff, only that it needed to run on 2003. Thus do the entire thing in 2000. Make the MDE in 20000. Then run it in 2000, 2002 or 2003 as required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 13, 2006 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 darrend at nimble.com.au Mon Nov 13 19:53:53 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 14 Nov 2006 12:53:53 +1100 Subject: [AccessD] A2000: Import Needs In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B83A@MARLOW_MAIN2.marlow.com> Message-ID: <004601c7078f$be8dcbb0$05000100@DENZILLAP> Hey Drew Many thanks for this - I will give it a go - excellent Way out of my league :-))) See ya Darren ------------------ -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, 14 November 2006 12:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2000: Import Needs Just a quick thought, split the file into separate files, and import the separate ones with their own specs. For example: Function RunImports(strPathToFileToImport as string) Dim f as long Dim strTemp as string Dim I as Long dim ABCCollection as collection dim DEFCollection as collection dim EFGCollection as Collection dim strArray() as string set ABCCollection=new Collection set DEFCollection=New Collection set EFGCollection=New Collection f=freefile Open strPathToFileToImport for binary access read as f Strtemp=space(lof(f)) Get f,,strtemp Close f strArray=split(strtemp,vbcrlf) for i=0 to ubound(strArray()) select Case Left(strArray(i)) Case "ABC" ABCCollection.Add strArray(i) Case "DEF" DEFCollection.Add strArray(i) Case "EFG" EFGCollection.Add strArray(i) End select Next i Now you have three collections that have the data you want to import. You simply have to create temp files with them, ie: F=freefile Open "C:\ABCTempFile.txt" for binary access write as f For i=1 to ABCCollection.Count Put f,,ABCCollection(i) & vbcrlf Next i Close f Then run the import, with the right spec: DoCmd.TransferText ..... Delete the temp file Kill "C:\ABCTempFile.txt" Then repeat for the other collections. You could get more complex, and have it all done with one collection, using individual collections, etc. Just depends how much time you want to spend on creating the process. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Monday, November 13, 2006 6:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2000: Import Needs Hi all I have been given large (very large) text files to manipulate I can Import them using the fixed width method and I can even attach them using the get External data wizard - It all works OK But the issue with these files is that one file may contain different data types - all determined by a 3 character code in the first 3 positions in the left most position of each line EG we may have 3000 lines of data that start with "ABC" - Cool - I can create an import spec - Call it the ABC import spec and break up each line into the relevant fields in a table using fixed width - Easy But after the 3000 "ABC" data type lines in my text file - there may be 1200 lines that start with "DEF" as the left most 3 characters and the data in each of the "EFG" type lines need to be 'mapped' at different fixed lengths into different fields So the issue is - has anybody had experience kind of 'merging' several Import Specs but only across 1 file? Or does anyone have any suggestions on handling this? 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 accessd at shaw.ca Mon Nov 13 21:08:53 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 13 Nov 2006 19:08:53 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B83A@MARLOW_MAIN2.marlow.com> Message-ID: <0J8P008P9A0Q1191@l-daemon> Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards Jim If you have any problems with accessing the site and/or downloading the file send a note to: webmaster at databaseadvisors.com From ssharkins at setel.com Mon Nov 13 21:30:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 13 Nov 2006 22:30:14 -0500 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <0J8P008P9A0Q1191@l-daemon> Message-ID: <003201c7079d$33481390$39b82ad1@SUSANONE> Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards From prodevmg at yahoo.com Mon Nov 13 22:28:31 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 13 Nov 2006 20:28:31 -0800 (PST) Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: <20061114042831.4205.qmail@web33110.mail.mud.yahoo.com> I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From accessd at shaw.ca Mon Nov 13 23:03:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 13 Nov 2006 21:03:37 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <003201c7079d$33481390$39b82ad1@SUSANONE> Message-ID: <0J8P0079ZFBY0IP0@l-daemon> Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- 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 13 23:21:48 2006 From: john at winhaven.net (John Bartow) Date: Mon, 13 Nov 2006 23:21:48 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <200611120627.kAC6RRq12802@databaseadvisors.com> Message-ID: <200611140521.kAE5Lhq21212@databaseadvisors.com> Could someone please try this 5 minute exercise replacing A2k with A2k2 and let me know for sure? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Sunday, November 12, 2006 12:27 AM To test this again, I created a new db db1.mdb created (only) one form with a label that says "TEST" and no module made it the startup form created an mde from db1.mdb - error "you cannot create a Microsoft Access ADE or MDE from a database saved in Microsoft Access 2000 format" converted db1.mdb to a2k3 - db2.mdb created an mde from db2.mdb - db2.mde opened db1.mdb in a2k3 - worked opened db2.mdb with a2k3 - worked opened db2.mde with a2k3 - worked opened db1.mdb in a2k - worked opened db2.mdb with a2k and get error "this database is in an unrecognized format" opened db2.mde with a2k and get error "this database is in an unrecognized format" From Johncliviger at aol.com Tue Nov 14 04:45:19 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Tue, 14 Nov 2006 05:45:19 EST Subject: [AccessD] Offensive Words List Message-ID: Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I?m getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc From jwcolby at colbyconsulting.com Tue Nov 14 05:41:50 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 14 Nov 2006 06:41:50 -0500 Subject: [AccessD] Offensive Words List In-Reply-To: Message-ID: <007901c707e1$e14c52a0$657aa8c0@m6805> LOL. The things people do (and we have to undo). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: Tuesday, November 14, 2006 5:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Offensive Words List Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I'm getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc -- 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 14 05:44:57 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 14 Nov 2006 11:44:57 +0000 Subject: [AccessD] Offensive Words List Message-ID: <20061114114500.BDD712BAE27@smtp2.nildram.co.uk> Hi John My customer's ISP has 'bad word' lists. I've exported them into text files and can send them off-list if you want me to. They'll make you blush though! -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] Offensive Words List Date: 14/11/06 10:46 Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I???m getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc -- 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 Gustav at cactus.dk Tue Nov 14 05:53:13 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Nov 2006 12:53:13 +0100 Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: Hi Lonnie When you delete a record the bookmarks are destroyed. Before you delete, retrieve the ID of the bookmarked record, delete, locate the bookmarked record by its ID, and reestablish the bookmark. /gustav >>> prodevmg at yahoo.com 14-11-2006 05:28:31 >>> I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. From Johncliviger at aol.com Tue Nov 14 06:04:46 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Tue, 14 Nov 2006 07:04:46 EST Subject: [AccessD] Offensive Words List Message-ID: Hi Andy Thanks for the offer. I'll take you on it if I may. I've found a list on this site _http://www.badscience.net/?p=228_ (http://www.badscience.net/?p=228) but its not in a format I can use. regards johnc From andy at minstersystems.co.uk Tue Nov 14 06:12:09 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 14 Nov 2006 12:12:09 +0000 Subject: [AccessD] Offensive Words List Message-ID: <20061114121212.BEBB62B5E2C@smtp2.nildram.co.uk> On their way. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Offensive Words List Date: 14/11/06 12:05 Hi Andy Thanks for the offer. I'll take you on it if I may. I've found a list on this site _http://www.badscience.net/?p=228_ (http://www.badscience.net/?p=228) but its not in a format I can use. regards johnc -- 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 max at sherman.org.uk Tue Nov 14 07:29:01 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 14 Nov 2006 13:29:01 -0000 Subject: [AccessD] Offensive Words List In-Reply-To: <20061114114500.BDD712BAE27@smtp2.nildram.co.uk> Message-ID: <004b01c707f0$da187590$8119fea9@Server> Yes please Andy. I support a charity with on-line merchandise and this may come in handy. Regards Max Please send to max.wanadoo at gmail.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, November 14, 2006 11:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Offensive Words List Hi John My customer's ISP has 'bad word' lists. I've exported them into text files and can send them off-list if you want me to. They'll make you blush though! -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] Offensive Words List Date: 14/11/06 10:46 Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I???m getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc -- 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 artful at rogers.com Tue Nov 14 07:57:56 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 05:57:56 -0800 (PST) Subject: [AccessD] Requirements Development Message-ID: <20061114135756.73846.qmail@web88204.mail.re2.yahoo.com> What a timely arrival, given the thread about writing requirements. http://newsletters.sdmediagroup.com/cgi-bin4/DM/y/h1mC0GGzBY0JSg0ErCM0E1 (You will probably have to register for this, but it's free.) Arthur From artful at rogers.com Tue Nov 14 08:09:49 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 06:09:49 -0800 (PST) Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: <20061114140949.62082.qmail@web88212.mail.re2.yahoo.com> This sounds as if you are creating the bookmark at the wrong moment. Arthur ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Monday, November 13, 2006 11:28:31 PM Subject: [AccessD] Unable to bookmark after record is deleted I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 14 08:11:17 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 06:11:17 -0800 (PST) Subject: [AccessD] ATA airport list for the DBA list Message-ID: <20061114141117.63374.qmail@web88212.mail.re2.yahoo.com> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 14 08:42:21 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Nov 2006 15:42:21 +0100 Subject: [AccessD] ATA airport list for the DBA list Message-ID: Hi Susan My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. From JHewson at karta.com Tue Nov 14 08:47:14 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 14 Nov 2006 08:47:14 -0600 Subject: [AccessD] ATA airport list for the DBA list Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C04ABAE3C@karta-exc-int.Karta.com> It looks fine to me except the Airplane picture is backwards. The plane is taking off to the right and should be taking off to the left. The lettering on the aircraft is backwards. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 14, 2006 8:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. -- 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 14 10:20:56 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Nov 2006 08:20:56 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <006d01c7078d$f7ac0ee0$657aa8c0@m6805> Message-ID: I realize that, but with one machine running XP and one running 2003, there doesn't appear to be an A2K in the mix to create that pesky mde. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 13, 2006 5:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? IIRC He never actually said he needed 2003 specific stuff, only that it needed to run on 2003. Thus do the entire thing in 2000. Make the MDE in 20000. Then run it in 2000, 2002 or 2003 as required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 13, 2006 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 rl_stewart at highstream.net Tue Nov 14 10:32:25 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 14 Nov 2006 10:32:25 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: References: Message-ID: <200611141636.kAEGaAq01765@databaseadvisors.com> Lembit, The simple answer is yes, he can run it. Robert At 10:22 AM 11/14/2006, you wrote: >From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] >Sent: Saturday, November 11, 2006 12:23 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XP-mde on A2003? > >Hi everyone, >I have been asked to write an Access db for a friend. >I have Access-XP (2002) on my machine >he has Access 2003 > >can he run an mde from me on his machine? > >thank you >Lembit From accessd at shaw.ca Tue Nov 14 10:43:39 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Nov 2006 08:43:39 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C04ABAE3C@karta-exc-int.Karta.com> Message-ID: <0J8Q00IBMBQLNHR3@l-daemon> Hi Jim: According to what I read, movement on a graphic should be from left to right as this is sort-of natural to the Unicode language reading people. I was actually hoping that Adobe Photoshop would automatically flip the letters. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Tuesday, November 14, 2006 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ATA airport list for the DBA list It looks fine to me except the Airplane picture is backwards. The plane is taking off to the right and should be taking off to the left. The lettering on the aircraft is backwards. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 14, 2006 8:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Tue Nov 14 11:15:37 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 14 Nov 2006 12:15:37 -0500 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: Message-ID: <002101c70810$87dfd280$f1bc2ad1@SUSANONE> I see one plane. Above it and under the page title, there's a rectangular white box. The only reason I can tell is because it blocks the gray border. Susan H. My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. From bchacc at san.rr.com Tue Nov 14 11:46:51 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 09:46:51 -0800 Subject: [AccessD] FW: Partition Function Message-ID: <007901c70814$de0f20d0$6a01a8c0@HAL9005> Dear List: FYI. From another developer. Rocky _____ From: joe anderson [mailto:jka at alldatacorp.com] Sent: Monday, November 13, 2006 9:55 AM To: Subject: Partition Function Well ... here is a VBA function that I've never seen in 14 years!! Looks like it could be pretty useful!!! It's not even in Getz's book ... at least not in the index at the back! I found it in a cool little book Titled "Fixing Access Annyoances' ... a$20 book that has already paid for itself! By .. Phil Mitchell and Evan Callahan. jka " :-1" " 0: 4" " 95: 99" " 100: " 20 199 10 " : 19" " 20: 29" " 190: 199" " 200: " 100 1010 20 " : 99" " 100: 119" " 1000: 1010" " 1011: " In the table shown above, the third line shows the result when start and stop define a set of numbers that can't be evenly divided by interval. The last range extends to stop (11 numbers) even though interval is 20. If necessary, Partition returns a range with enough leading spaces so that there are the same number of characters to the left and right of the colon as there are characters in stop, plus one. This ensures that if you use Partition with other numbers, the resulting text will be handled properly during any subsequent sort operation. If interval is 1, the range is number:number, regardless of the start and stop arguments. For example, if interval is 1, number is 100 and stop is 1000, Partition returns " 100: 100". If any of the parts is Null , Partition returns a Null. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006 7:34 PM From bchacc at san.rr.com Tue Nov 14 12:12:50 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 10:12:50 -0800 Subject: [AccessD] FW: Partition Function In-Reply-To: <007901c70814$de0f20d0$6a01a8c0@HAL9005> Message-ID: <008101c70818$7f84dec0$6a01a8c0@HAL9005> Well, that didn't forward very well. Here's a link to the MSDN page describing it: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht ml/vafctpartition.asp Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 14, 2006 9:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Partition Function Dear List: FYI. From another developer. Rocky _____ From: joe anderson [mailto:jka at alldatacorp.com] Sent: Monday, November 13, 2006 9:55 AM To: Subject: Partition Function Well ... here is a VBA function that I've never seen in 14 years!! Looks like it could be pretty useful!!! It's not even in Getz's book ... at least not in the index at the back! I found it in a cool little book Titled "Fixing Access Annyoances' ... a$20 book that has already paid for itself! By .. Phil Mitchell and Evan Callahan. jka " :-1" " 0: 4" " 95: 99" " 100: " 20 199 10 " : 19" " 20: 29" " 190: 199" " 200: " 100 1010 20 " : 99" " 100: 119" " 1000: 1010" " 1011: " In the table shown above, the third line shows the result when start and stop define a set of numbers that can't be evenly divided by interval. The last range extends to stop (11 numbers) even though interval is 20. If necessary, Partition returns a range with enough leading spaces so that there are the same number of characters to the left and right of the colon as there are characters in stop, plus one. This ensures that if you use Partition with other numbers, the resulting text will be handled properly during any subsequent sort operation. If interval is 1, the range is number:number, regardless of the start and stop arguments. For example, if interval is 1, number is 100 and stop is 1000, Partition returns " 100: 100". If any of the parts is Null , Partition returns a Null. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006 7:34 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 8:56 PM From lembit.dbamail at t-online.de Tue Nov 14 12:19:29 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Tue, 14 Nov 2006 19:19:29 +0100 Subject: [AccessD] XP-mde on A2003? References: <200611141636.kAEGaAq01765@databaseadvisors.com> Message-ID: <001a01c70819$6d7187f0$1800a8c0@s1800> Thanks everyone for answering. I have made a little A2002 MDE and sent him. will let you all know. Lembit ----- Original Message ----- From: "Robert L. Stewart" To: Cc: Sent: Tuesday, November 14, 2006 5:32 PM Subject: Re: [AccessD] XP-mde on A2003? > Lembit, > > The simple answer is yes, he can run it. > > Robert > > At 10:22 AM 11/14/2006, you wrote: >>From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] >>Sent: Saturday, November 11, 2006 12:23 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] XP-mde on A2003? >> >>Hi everyone, >>I have been asked to write an Access db for a friend. >>I have Access-XP (2002) on my machine >>he has Access 2003 >> >>can he run an mde from me on his machine? >> >>thank you >>Lembit > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 14 12:20:41 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114182042.41237.qmail@web88209.mail.re2.yahoo.com> On the basis of the thread about airport lists, I proposed to Jim Lawrence that we accumulate a bunch of similar lists. As my father said when I joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim has invited me to spearhead the acquisition of said lists, and I have accepted the assignment. So, to all of you listers, three questions: 1. What lists do you possess that you think would be useful to your fellow AccessD/dba-SQL listers? 2. What lists do you lack that you desire? (I couldn't resist the old programmer's joke. There are three types of programmers -- those who can count and those who can't.) Chances are that more than one of you may volunteer to contribute similar or identical lists. The latter is easy to deal with. The former is a little tougher, since it might require UNIONing several lists, but that's ok. I have one list ready to go, which is the list of words corresponding to letters that travel agents use to spell names. I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) I also have another list of cities within North America, and states and provinces to correspond. It is not ready to go, there are some duplicates, but I could prune the dupes. The list consists only of those cities into which the company I was formerly associated with sold products, but it numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good start, and similar lists could easily be UNIONed. That leaves out all the listers uninterested in cities in North America, but listers residing elsewhere might be able to contribute more cities. On this one, there is a difficulty. Within North America, there are states and provinces. In Switzerland, there are cantons. On this subject, I have just done some searches in dictionary.com and come up with some hilarious definitions: City -- an important town Town -- a large village Village -- a small community or group of houses in a rural area, larger than a hamlet and usually smaller than a town, and sometimes (as in parts of the U.S.) incorporated as a municipality. Hamlet -- British. a village without a church of its own, belonging to the parish of another village or town. County (the richest by far) -- 1.the largest administrative division of a U.S. state: Miami, Florida, is in Dade County. 2.one of the chief administrative divisions of a country or state, as in Great Britain and Ireland. 3.one of the larger divisions for purposes of local administration, as in Canada and New Zealand. 4.the territory of a county, esp. its rural areas, as in: "We farmed out in the county before moving to town.". 5.the inhabitants of a county, as in, "It was supposed to be a secret, but you told the whole county.". 6.the domain of a count or earl. All these years I have been under the (clearly false) impression that precise population-numbers defined these terms. Apparently I have wrong, lo these decades. I have just taken a local poll (only 4 people) and the agreement here is that a city is 100,000 people or more; a town is 999,999 people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people or fewer. We four Canadians readily agreed on these numbers, but that might be something we picked up in school that has no relation to the larger world. Arthur From markamatte at hotmail.com Tue Nov 14 12:50:01 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Nov 2006 18:50:01 +0000 Subject: [AccessD] FW: Partition Function Message-ID: Thanks Rocky... I do a lot of age grouping on age of cases. This beats the heck out of the convoluted IIF statements I've been using. Thanks, Mark A. Matte >From: "Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] FW: Partition Function >Date: Tue, 14 Nov 2006 10:12:50 -0800 > >Well, that didn't forward very well. Here's a link to the MSDN page >describing it: > >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht >ml/vafctpartition.asp > > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 14, 2006 9:47 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] FW: Partition Function > >Dear List: > > > >FYI. From another developer. > > > >Rocky > > > > > > _____ > >From: joe anderson [mailto:jka at alldatacorp.com] >Sent: Monday, November 13, 2006 9:55 AM >To: Subject: Partition Function > > > >Well ... here is a VBA function that I've never seen in 14 years!! Looks >like it could be pretty useful!!! It's not even in Getz's book ... at least >not in the index at the back! > > > >I found it in a cool little book Titled "Fixing Access Annyoances' ... a$20 >book that has already paid for itself! By .. Phil Mitchell and Evan >Callahan. > > > >jka > > >" :-1" > >" 0: 4" > >" 95: 99" > >" 100: " > > >20 > >199 > >10 > >" : 19" > >" 20: 29" > >" 190: 199" > >" 200: " > > >100 > >1010 > >20 > >" : 99" > >" 100: 119" > >" 1000: 1010" > >" 1011: " > > > >In the table shown above, the third line shows the result when start and >stop define a set of numbers that can't be evenly divided by interval. The >last range extends to stop (11 numbers) even though interval is 20. > >If necessary, Partition returns a range with enough leading spaces so that >there are the same number of characters to the left and right of the colon >as there are characters in stop, plus one. This ensures that if you use >Partition with other numbers, the resulting text will be handled properly >during any subsequent sort operation. > >If interval is 1, the range is number:number, regardless of the start and >stop arguments. For example, if interval is 1, number is 100 and stop is >1000, Partition returns " 100: 100". > >If any of the parts is Null , Partition >returns >a Null. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006 >7:34 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 >8:56 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline From markamatte at hotmail.com Tue Nov 14 12:57:46 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Nov 2006 18:57:46 +0000 Subject: [AccessD] Useful Lists Message-ID: Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: "AccessD at databaseadvisors. com" , >dba-SQLServer >Subject: [AccessD] Useful Lists >Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) > >On the basis of the thread about airport lists, I proposed to Jim Lawrence >that we accumulate a bunch of similar lists. As my father said when I >joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >has invited me to spearhead the acquisition of said lists, and I have >accepted the assignment. > >So, to all of you listers, three questions: > >1. What lists do you possess that you think would be useful to your fellow >AccessD/dba-SQL listers? >2. What lists do you lack that you desire? > >(I couldn't resist the old programmer's joke. There are three types of >programmers -- those who can count and those who can't.) > >Chances are that more than one of you may volunteer to contribute similar >or identical lists. The latter is easy to deal with. The former is a little >tougher, since it might require UNIONing several lists, but that's ok. > >I have one list ready to go, which is the list of words corresponding to >letters that travel agents use to spell names. I think it is identical to >the similar list from the military, but perhaps not. (In case you don't >know what I mean, Able Baker Charlie etc.) > >I also have another list of cities within North America, and states and >provinces to correspond. It is not ready to go, there are some duplicates, >but I could prune the dupes. The list consists only of those cities into >which the company I was formerly associated with sold products, but it >numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >start, and similar lists could easily be UNIONed. That leaves out all the >listers uninterested in cities in North America, but listers residing >elsewhere might be able to contribute more cities. On this one, there is a >difficulty. Within North America, there are states and provinces. In >Switzerland, there are cantons. > >On this subject, I have just done some searches in dictionary.com and come >up with some hilarious definitions: > >City -- an important town >Town -- a large village >Village -- a small community or group of houses in a rural area, larger >than a >hamlet and usually smaller than a town, and sometimes (as in parts of >the U.S.) incorporated as a municipality. >Hamlet -- British. a village without a church of its own, belonging to the >parish of another village or town. >County (the richest by far) -- >1.the largest administrative division of a U.S. state: Miami, Florida, is >in Dade County. > >2.one of the chief administrative divisions of a country or state, as in >Great Britain and Ireland. > >3.one of the larger divisions for purposes of local administration, as in >Canada and New Zealand. > >4.the territory of a county, esp. its rural areas, as in: "We farmed out in >the county before moving to town.". > >5.the inhabitants of a county, as in, "It was supposed to be a secret, but >you told the whole county.". > >6.the domain of a count or earl. > > >All these years I have been under the (clearly false) impression that >precise population-numbers defined these terms. Apparently I have wrong, lo >these decades. I have just taken a local poll (only 4 people) and the >agreement here is that a city is 100,000 people or more; a town is 999,999 >people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >or fewer. We four Canadians readily agreed on these numbers, but that might >be something we picked up in school that has no relation to the larger >world. > >Arthur > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, music store, museum and more?then map the best route! http://local.live.com?FORM=MGA001 From jwcolby at colbyconsulting.com Tue Nov 14 12:58:53 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 14 Nov 2006 13:58:53 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: Message-ID: <000d01c7081e$ee8eb740$657aa8c0@m6805> Ohhhhhh. Never mind! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 14, 2006 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? I realize that, but with one machine running XP and one running 2003, there doesn't appear to be an A2K in the mix to create that pesky mde. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 13, 2006 5:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? IIRC He never actually said he needed 2003 specific stuff, only that it needed to run on 2003. Thus do the entire thing in 2000. Make the MDE in 20000. Then run it in 2000, 2002 or 2003 as required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 13, 2006 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 14 13:44:58 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 11:44:58 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 1:57:46 PM Subject: Re: [AccessD] Useful Lists Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: "AccessD at databaseadvisors. com" , >dba-SQLServer >Subject: [AccessD] Useful Lists >Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) > >On the basis of the thread about airport lists, I proposed to Jim Lawrence >that we accumulate a bunch of similar lists. As my father said when I >joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >has invited me to spearhead the acquisition of said lists, and I have >accepted the assignment. > >So, to all of you listers, three questions: > >1. What lists do you possess that you think would be useful to your fellow >AccessD/dba-SQL listers? >2. What lists do you lack that you desire? > >(I couldn't resist the old programmer's joke. There are three types of >programmers -- those who can count and those who can't.) > >Chances are that more than one of you may volunteer to contribute similar >or identical lists. The latter is easy to deal with. The former is a little >tougher, since it might require UNIONing several lists, but that's ok. > >I have one list ready to go, which is the list of words corresponding to >letters that travel agents use to spell names. I think it is identical to >the similar list from the military, but perhaps not. (In case you don't >know what I mean, Able Baker Charlie etc.) > >I also have another list of cities within North America, and states and >provinces to correspond. It is not ready to go, there are some duplicates, >but I could prune the dupes. The list consists only of those cities into >which the company I was formerly associated with sold products, but it >numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >start, and similar lists could easily be UNIONed. That leaves out all the >listers uninterested in cities in North America, but listers residing >elsewhere might be able to contribute more cities. On this one, there is a >difficulty. Within North America, there are states and provinces. In >Switzerland, there are cantons. > >On this subject, I have just done some searches in dictionary.com and come >up with some hilarious definitions: > >City -- an important town >Town -- a large village >Village -- a small community or group of houses in a rural area, larger >than a >hamlet and usually smaller than a town, and sometimes (as in parts of >the U.S.) incorporated as a municipality. >Hamlet -- British. a village without a church of its own, belonging to the >parish of another village or town. >County (the richest by far) -- >1.the largest administrative division of a U.S. state: Miami, Florida, is >in Dade County. > >2.one of the chief administrative divisions of a country or state, as in >Great Britain and Ireland. > >3.one of the larger divisions for purposes of local administration, as in >Canada and New Zealand. > >4.the territory of a county, esp. its rural areas, as in: "We farmed out in >the county before moving to town.". > >5.the inhabitants of a county, as in, "It was supposed to be a secret, but >you told the whole county.". > >6.the domain of a count or earl. > > >All these years I have been under the (clearly false) impression that >precise population-numbers defined these terms. Apparently I have wrong, lo >these decades. I have just taken a local poll (only 4 people) and the >agreement here is that a city is 100,000 people or more; a town is 999,999 >people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >or fewer. We four Canadians readily agreed on these numbers, but that might >be something we picked up in school that has no relation to the larger >world. > >Arthur > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, music store, museum and more?then map the best route! http://local.live.com?FORM=MGA001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 14 14:39:51 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 14 Nov 2006 23:39:51 +0300 Subject: [AccessD] Useful Lists In-Reply-To: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> Message-ID: <000401c7082d$08e40420$6401a8c0@nant> <<< I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. >>> Arthur, Russian pilots do use English when they fly abroad. I think you're correct when you're saying than English is a lingua franca for all the pilots who work on international flights. Your list as far as I see is IATA airport codes' list (this is what I was looking for). It's described here - http://en.wikipedia.org/wiki/IATA_airport_code The airport codes from this list are used in Russia and internationally as far as I have seen when I was abroad. There is also ICAO airport codes' list AFAIS (http://en.wikipedia.org/wiki/ICAO_airport_code) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 14, 2006 10:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Lists So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 1:57:46 PM Subject: Re: [AccessD] Useful Lists Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte <<< tail skipped >>> From artful at rogers.com Tue Nov 14 14:46:55 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 12:46:55 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114204655.54503.qmail@web88214.mail.re2.yahoo.com> Glad to read your confirmation. Perhaps I ought to expand this table to include columns for the various coding systems. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 3:39:51 PM Subject: Re: [AccessD] Useful Lists <<< I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. >>> Arthur, Russian pilots do use English when they fly abroad. I think you're correct when you're saying than English is a lingua franca for all the pilots who work on international flights. Your list as far as I see is IATA airport codes' list (this is what I was looking for). It's described here - http://en.wikipedia.org/wiki/IATA_airport_code The airport codes from this list are used in Russia and internationally as far as I have seen when I was abroad. There is also ICAO airport codes' list AFAIS (http://en.wikipedia.org/wiki/ICAO_airport_code) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 14, 2006 10:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Lists So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 1:57:46 PM Subject: Re: [AccessD] Useful Lists Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte <<< tail skipped >>> -- 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 14 15:01:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 07:01:07 +1000 Subject: [AccessD] FW: Partition Function In-Reply-To: <008101c70818$7f84dec0$6a01a8c0@HAL9005> References: <007901c70814$de0f20d0$6a01a8c0@HAL9005>, <008101c70818$7f84dec0$6a01a8c0@HAL9005> Message-ID: <455A2E93.5324.1328D9F7@stuart.lexacorp.com.pg> On 14 Nov 2006 at 10:12, Beach Access Software wrote: > Well, that didn't forward very well. Here's a link to the MSDN page > describing it: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht > ml/vafctpartition.asp Or just look it up the VBA Help in Access. You'll find it under Contents | Functions | M-P | Partition It's well worth browsing through Contents | Functions periodically. There a many useful but little used functions in VBA. -- Stuart From markamatte at hotmail.com Tue Nov 14 15:02:04 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Nov 2006 21:02:04 +0000 Subject: [AccessD] Useful Lists In-Reply-To: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> Message-ID: Arthur, I searched for a list that I could modify/verify easily and ran into a number of interesting things. The US military changed the phonetic alphabet a number of times. So I have put together a spreadsheet with the following that I will send off list: Morse code for letters and numbers. US phonetic Alphabet used in 1913,1927,1938,WWII, and 1957-Present Pronunciation for each of the currently used Feel free to use/modify however necessary. If you have any questions...please let me know. Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Useful Lists >Date: Tue, 14 Nov 2006 11:44:58 -0800 (PST) > >So help! Send me your list. I will rationalize it with the travel agency >list, perhaps using columns to designate the lists. After all, we only have >26 letters. Shamil and various others could of course contribute additional >alphabets. This obviously doesn't make sense in the various dialects of >China, for example. Incidentally, I have heard or read that there are >precisely 100 surnames in China. I find this difficult to believe, but it >was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the >same ideogram, and the differences relate to dialects rather than their >single symbolic reference. > >I have no idea whether this is correct. But it wouldn't strike me as >remarkable if it were. Mind you, the decision about exactly 100 names would >strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. >people, it would be useful to receive your input on this subject. A long >time ago I was in Japan and used a computer that did translations from a >phonetic language to the Japanese characters. I forget the names, but the >basic idea was that one could type in "katana" or "shodan" or "wazashi", >and this would translate into the appropriate ideograms, occasionally >resulting in a listbox of similar words, along with their symbols. This was >a long time ago, and I assume that the software has advanced vastly from >there, but I haven't been back so I don't know. > >Returning to airport codes, I think that the world uses the English list, >and that pilots use English as the lingua franca, but I'm not sure about >that. Listers outside North America, please assist this ignorant Canadian. > >Arthur > >----- Original Message ---- >From: Mark A Matte >To: accessd at databaseadvisors.com >Sent: Tuesday, November 14, 2006 1:57:46 PM >Subject: Re: [AccessD] Useful Lists > >Arthur, > >"I think it is identical to the similar >list from the military, but perhaps not. (In case you don't know what I >mean, >Able Baker Charlie etc.) >" >Refers to the phonetic alphabet. US military version would be "Alpha, >Bravo,Charlie" > >Of all the lists you mentioned...its probably the only one I could >contribute to. I know that different occupations and english speaking >peoples use a different variation of the list. > >I'd be glad to help any way I can. > >Thanks, > >Mark A. Matte > > >From: artful at rogers.com > >Reply-To: Access Developers discussion and problem > >solving > >To: "AccessD at databaseadvisors. com" , > >dba-SQLServer > >Subject: [AccessD] Useful Lists > >Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) > > > >On the basis of the thread about airport lists, I proposed to Jim >Lawrence > >that we accumulate a bunch of similar lists. As my father said when I > >joined the CDN Air Force at 17, "Don't volunteer for anything." O well. >Jim > >has invited me to spearhead the acquisition of said lists, and I have > >accepted the assignment. > > > >So, to all of you listers, three questions: > > > >1. What lists do you possess that you think would be useful to your >fellow > >AccessD/dba-SQL listers? > >2. What lists do you lack that you desire? > > > >(I couldn't resist the old programmer's joke. There are three types of > >programmers -- those who can count and those who can't.) > > > >Chances are that more than one of you may volunteer to contribute similar > >or identical lists. The latter is easy to deal with. The former is a >little > >tougher, since it might require UNIONing several lists, but that's ok. > > > >I have one list ready to go, which is the list of words corresponding to > >letters that travel agents use to spell names. I think it is identical to > >the similar list from the military, but perhaps not. (In case you don't > >know what I mean, Able Baker Charlie etc.) > > > >I also have another list of cities within North America, and states and > >provinces to correspond. It is not ready to go, there are some >duplicates, > >but I could prune the dupes. The list consists only of those cities into > >which the company I was formerly associated with sold products, but it > >numbers about 5,000 cities, give or take 3. Far from exhaustive, but a >good > >start, and similar lists could easily be UNIONed. That leaves out all the > >listers uninterested in cities in North America, but listers residing > >elsewhere might be able to contribute more cities. On this one, there is >a > >difficulty. Within North America, there are states and provinces. In > >Switzerland, there are cantons. > > > >On this subject, I have just done some searches in dictionary.com and >come > >up with some hilarious definitions: > > > >City -- an important town > >Town -- a large village > >Village -- a small community or group of houses in a rural area, larger > >than a > >hamlet and usually smaller than a town, and sometimes (as in parts of > >the U.S.) incorporated as a municipality. > >Hamlet -- British. a village without a church of its own, belonging to >the > >parish of another village or town. > >County (the richest by far) -- > >1.the largest administrative division of a U.S. state: Miami, Florida, is > >in Dade County. > > > >2.one of the chief administrative divisions of a country or state, as in > >Great Britain and Ireland. > > > >3.one of the larger divisions for purposes of local administration, as in > >Canada and New Zealand. > > > >4.the territory of a county, esp. its rural areas, as in: "We farmed out >in > >the county before moving to town.". > > > >5.the inhabitants of a county, as in, "It was supposed to be a secret, >but > >you told the whole county.". > > > >6.the domain of a count or earl. > > > > > >All these years I have been under the (clearly false) impression that > >precise population-numbers defined these terms. Apparently I have wrong, >lo > >these decades. I have just taken a local poll (only 4 people) and the > >agreement here is that a city is 100,000 people or more; a town is >999,999 > >people or fewer; a village is 2,000 people or fewer; a hamlet is 500 >people > >or fewer. We four Canadians readily agreed on these numbers, but that >might > >be something we picked up in school that has no relation to the larger > >world. > > > >Arthur > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Find a local pizza place, music store, museum and more?then map the best >route! http://local.live.com?FORM=MGA001 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From Chester_Kaup at kindermorgan.com Tue Nov 14 15:13:03 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Nov 2006 15:13:03 -0600 Subject: [AccessD] Carry Forward in a query Message-ID: I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From stuart at lexacorp.com.pg Tue Nov 14 15:15:39 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 07:15:39 +1000 Subject: [AccessD] Useful Lists In-Reply-To: <20061114182042.41237.qmail@web88209.mail.re2.yahoo.com> References: <20061114182042.41237.qmail@web88209.mail.re2.yahoo.com> Message-ID: <455A31FB.15816.13362605@stuart.lexacorp.com.pg> On 14 Nov 2006 at 10:20, artful at rogers.com wrote: > All these years I have been under the (clearly false) impression that > precise population-numbers defined these terms. Apparently I have wrong, lo > these decades. I have just taken a local poll (only 4 people) and the > agreement here is that a city is 100,000 people or more; a town is 999,999 > people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people > or fewer. We four Canadians readily agreed on these numbers, but that might > be something we picked up in school that has no relation to the larger > world. > In the UK, a city was originally a town with a cathedral. It is an actual status conferred on an urban area by the monarch. I believe that in the US, individual states define their own cities in legislation. -- Stuart From Lambert.Heenan at AIG.com Tue Nov 14 15:34:21 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 14 Nov 2006 16:34:21 -0500 Subject: [AccessD] FW: Partition Function Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222DFAB@xlivmbx35.aig.com> There's also the Switch function which allows you to group by ranges, like this... Data Range: Switch([SomeDataValue]>8,"a) > 8",[SomeDataValue]>=5,"b) >= 5 and <= 8",[SomeDataValue]>=2,"c) >= 2 and < 5",[SomeDataValue]<2,"d) < 2") In effect Switch is like "convoluted IIF statements", but without the convolutions! :-) Note that the order of the various comparisons in the statement is significant as Switch stops at the first condition that evaluates to True. An advantage over Partition is that you can define the groupings arbitrarily instead of them being equal groups of size "interval". Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 14, 2006 1:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: Partition Function Thanks Rocky... I do a lot of age grouping on age of cases. This beats the heck out of the convoluted IIF statements I've been using. Thanks, Mark A. Matte >From: "Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] FW: Partition Function >Date: Tue, 14 Nov 2006 10:12:50 -0800 > >Well, that didn't forward very well. Here's a link to the MSDN page >describing it: > >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr >98/ht >ml/vafctpartition.asp > > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 14, 2006 9:47 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] FW: Partition Function > >Dear List: > > > >FYI. From another developer. > > > >Rocky > > > > > > _____ > >From: joe anderson [mailto:jka at alldatacorp.com] >Sent: Monday, November 13, 2006 9:55 AM >To: Subject: Partition Function > > > >Well ... here is a VBA function that I've never seen in 14 years!! >Looks like it could be pretty useful!!! It's not even in Getz's book >... at least not in the index at the back! > > > >I found it in a cool little book Titled "Fixing Access Annyoances' ... >a$20 book that has already paid for itself! By .. Phil Mitchell and >Evan Callahan. > > > >jka > > >" :-1" > >" 0: 4" > >" 95: 99" > >" 100: " > > >20 > >199 > >10 > >" : 19" > >" 20: 29" > >" 190: 199" > >" 200: " > > >100 > >1010 > >20 > >" : 99" > >" 100: 119" > >" 1000: 1010" > >" 1011: " > > > >In the table shown above, the third line shows the result when start >and stop define a set of numbers that can't be evenly divided by >interval. The last range extends to stop (11 numbers) even though >interval is 20. > >If necessary, Partition returns a range with enough leading spaces so >that there are the same number of characters to the left and right of >the colon as there are characters in stop, plus one. This ensures that >if you use Partition with other numbers, the resulting text will be >handled properly during any subsequent sort operation. > >If interval is 1, the range is number:number, regardless of the start >and stop arguments. For example, if interval is 1, number is 100 and >stop is 1000, Partition returns " 100: 100". > >If any of the parts is Null , Partition >returns >a Null. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: >11/12/2006 7:34 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: >11/13/2006 8:56 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=h mtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Nov 14 15:59:10 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 14 Nov 2006 15:59:10 -0600 Subject: [AccessD] Carry Forward in a query Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0FE@corp-es01.fleetpride.com> If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From artful at rogers.com Tue Nov 14 16:02:45 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 14:02:45 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> I think that on both points you hit the mark. I came from a suburb of Winnipeg, Manitoba, called St. Vital. There was a time when St. Vital became a city. I think it was population-based but I was a child back then so I could be way wrong. I will research this some more. There is an oddity in Canada, private entities not part of the adjacent town, city or whatever. In Toronto, one is Wychwood Park, a private enclave that is responsible for paying its private garbage-gatherers, snow-shovellers, etc. It is surrounded by Toronto, but is somehow legally not part of Toronto. I can name several other enclaves with this status within Ontario. I don't know whether this status exists anywhere else in Canada, but I can name several places of this distinction in Ontario. Here, these places seem to be 100% white. They may or may not correspond to the gated communities in the USA; in both cases they are inhabited by no one without large funds. Some American on the list might contribute an opinion on gated communities: are the city's police permitted to enter? The fire department? Any non-resident other than a Fedex driver? Any person of color other than the previous designations? Are there any gated communities reserved for blacks or Hispanics, or are they reserved for persons of pallor? Or, alternatively, am I woefully incorrect about this, and the line of demarcation is affluence not color. Just curious. Arthur ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 4:15:39 PM Subject: Re: [AccessD] Useful Lists On 14 Nov 2006 at 10:20, artful at rogers.com wrote: > All these years I have been under the (clearly false) impression that > precise population-numbers defined these terms. Apparently I have wrong, lo > these decades. I have just taken a local poll (only 4 people) and the > agreement here is that a city is 100,000 people or more; a town is 999,999 > people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people > or fewer. We four Canadians readily agreed on these numbers, but that might > be something we picked up in school that has no relation to the larger > world. > In the UK, a city was originally a town with a cathedral. It is an actual status conferred on an urban area by the monarch. I believe that in the US, individual states define their own cities in legislation. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Nov 14 16:04:43 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 14 Nov 2006 16:04:43 -0600 Subject: [AccessD] FW: Partition Function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE100@corp-es01.fleetpride.com> Well I'll be damned. A new play pretty to amuse myself with that I never knew existed. thanks! Jim Hale -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 14, 2006 3:34 PM To: 'Access Developers discussion and problem solving' Cc: 'markamatte at hotmail.com' Subject: Re: [AccessD] FW: Partition Function There's also the Switch function which allows you to group by ranges, like this... Data Range: Switch([SomeDataValue]>8,"a) > 8",[SomeDataValue]>=5,"b) >= 5 and <= 8",[SomeDataValue]>=2,"c) >= 2 and < 5",[SomeDataValue]<2,"d) < 2") In effect Switch is like "convoluted IIF statements", but without the convolutions! :-) Note that the order of the various comparisons in the statement is significant as Switch stops at the first condition that evaluates to True. An advantage over Partition is that you can define the groupings arbitrarily instead of them being equal groups of size "interval". Lambert *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dgibso at uark.edu Tue Nov 14 16:28:23 2006 From: dgibso at uark.edu (David A Gibson) Date: Tue, 14 Nov 2006 16:28:23 -0600 Subject: [AccessD] Useful Lists In-Reply-To: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> References: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> Message-ID: <7.0.1.0.0.20061114162222.01d4a020@uark.edu> My sister lives in a "clothing optional" gated community. :-D Police, fire, and delivery are allowed entry. The guard at the gatehouse just keeps out the curious and unwanted. There are different designations of communities. One near us (NW Arkansas, USA) has been a "village", legally, and run by a council. No mayor, president, chief and so on. They are now going through the growing pains of becoming a "town" with a mayor and council. Elections and all that. I'll see if I can look up some more concrete info but it won't be today as I am headed out. David G. At 04:02 PM 11/14/2006, you wrote: >I think that on both points you hit the mark. I came from a suburb >of Winnipeg, Manitoba, called St. Vital. There was a time when St. >Vital became a city. I think it was population-based but I was a >child back then so I could be way wrong. I will research this some more. > >There is an oddity in Canada, private entities not part of the >adjacent town, city or whatever. In Toronto, one is Wychwood Park, a >private enclave that is responsible for paying its private >garbage-gatherers, snow-shovellers, etc. It is surrounded by >Toronto, but is somehow legally not part of Toronto. I can name >several other enclaves with this status within Ontario. I don't know >whether this status exists anywhere else in Canada, but I can name >several places of this distinction in Ontario. Here, these places >seem to be 100% white. > >They may or may not correspond to the gated communities in the USA; >in both cases they are inhabited by no one without large funds. Some >American on the list might contribute an opinion on gated >communities: are the city's police permitted to enter? The fire >department? Any non-resident other than a Fedex driver? Any person >of color other than the previous designations? Are there any gated >communities reserved for blacks or Hispanics, or are they reserved >for persons of pallor? Or, alternatively, am I woefully incorrect >about this, and the line of demarcation is affluence not color. Just curious. > >Arthur David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From Chester_Kaup at kindermorgan.com Tue Nov 14 16:40:39 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Nov 2006 16:40:39 -0600 Subject: [AccessD] Carry Forward in a query In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0FE@corp-es01.fleetpride.com> Message-ID: Here is what I have now. One table with dates and one table like below. Query SQL as below. This works great. SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; SDate Price 1/1/2005 8.56 1/23/2005 8.73 2/14/2005 8.40 3/1/2005 8.00 3/12/2005 8.45 3/27/2005 8.95 4/7/2005 8.12 4/30/2005 7.95 5/14/2005 8.03 5/27/2005 8.24 6/10/2005 9.03 6/25/2005 9.17 7/3/2005 9.25 7/27/2005 9.40 8/3/2005 9.64 What I cannot figure how to do is make it work if table looks like below. I need output for each Pattern. Pattern SDate Price 1 1/1/2005 8.56 1 1/23/2005 8.73 1 2/14/2005 8.40 1 3/1/2005 8.00 1 3/12/2005 8.45 1 3/27/2005 8.95 1 4/7/2005 8.12 1 4/30/2005 7.95 1 5/14/2005 8.03 1 5/27/2005 8.24 1 6/10/2005 9.03 1 6/25/2005 9.17 1 7/3/2005 9.25 1 7/27/2005 9.40 1 8/3/2005 9.64 2 1/7/2005 8.27 2 1/24/2005 8.71 2 2/13/2005 8.35 2 3/2/2005 8.02 2 3/13/2005 8.44 2 3/28/2005 8.93 2 4/6/2005 8.10 2 4/28/2005 7.98 2 5/15/2005 8.05 2 5/25/2005 8.20 2 6/9/2005 9.00 2 6/20/2005 9.15 2 7/1/2005 9.23 2 7/25/2005 9.35 2 8/4/2005 9.65 2 8/15/2005 9.50 Thanks for any ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 14, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Carry Forward in a query If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Nov 14 17:54:47 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 14 Nov 2006 18:54:47 -0500 Subject: [AccessD] Useful Lists References: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> <7.0.1.0.0.20061114162222.01d4a020@uark.edu> Message-ID: <004501c70848$44ab8f30$3e3de844@50NM721> ...it varies widely by state in the US ...more variety along the eastern seaboard and gulf where various nationalities influenced early conventions ...less variety in the west where the fed had more of a hand in standardizing governmental entities ...here we just had an election where the property owners in an unincorporated area of the county had petitioned the state legislature to recognize us as a separate government entity from that of Palm Beach County ...the county government is effectively run by developers who were doing everything they could, legally and illegally, to break the original property covenants that didn't allow anything less than ten acre homesites in Loxahatchee Groves ...the developers want to buy up the property and put in much higher density housing ...the everglades to our immediate west creates a finite limit on available property and thus developable land is immensely valuable here. ...as for art's question re gated communities, anti-discrimination laws make it virtually impossible to create or maintain a racially pure community here ...such communities are of course limited to those who can afford them and increasingly, that includes larger numbers of non-white ethnicities as they benefit from greater participation and success in our economic system ...in point of fact, if you went looking for racially segregated communities, it would be among the poorest communities that you would find them, not the richest simply because all too often the rule of law doesn't penetrate very far there. William Hindman ----- Original Message ----- From: "David A Gibson" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 14, 2006 5:28 PM Subject: Re: [AccessD] Useful Lists > My sister lives in a "clothing optional" gated community. :-D > > Police, fire, and delivery are allowed entry. The guard at the > gatehouse just keeps out the curious and unwanted. > > There are different designations of communities. One near us (NW > Arkansas, USA) has been a "village", legally, and run by a > council. No mayor, president, chief and so on. They are now going > through the growing pains of becoming a "town" with a mayor and > council. Elections and all that. I'll see if I can look up some > more concrete info but it won't be today as I am headed out. > > David G. > > At 04:02 PM 11/14/2006, you wrote: >>I think that on both points you hit the mark. I came from a suburb >>of Winnipeg, Manitoba, called St. Vital. There was a time when St. >>Vital became a city. I think it was population-based but I was a >>child back then so I could be way wrong. I will research this some more. >> >>There is an oddity in Canada, private entities not part of the >>adjacent town, city or whatever. In Toronto, one is Wychwood Park, a >>private enclave that is responsible for paying its private >>garbage-gatherers, snow-shovellers, etc. It is surrounded by >>Toronto, but is somehow legally not part of Toronto. I can name >>several other enclaves with this status within Ontario. I don't know >>whether this status exists anywhere else in Canada, but I can name >>several places of this distinction in Ontario. Here, these places >>seem to be 100% white. >> >>They may or may not correspond to the gated communities in the USA; >>in both cases they are inhabited by no one without large funds. Some >>American on the list might contribute an opinion on gated >>communities: are the city's police permitted to enter? The fire >>department? Any non-resident other than a Fedex driver? Any person >>of color other than the previous designations? Are there any gated >>communities reserved for blacks or Hispanics, or are they reserved >>for persons of pallor? Or, alternatively, am I woefully incorrect >>about this, and the line of demarcation is affluence not color. Just >>curious. >> >>Arthur > > David A. Gibson > Computer Support Specialist II > University of Arkansas > 232 Silas H. Hunt Hall > 1 University of Arkansas > Fayetteville, Arkansas 72701 > 800-377-8632 > (479) 575-4654 > www.uark.edu > > The University of Arkansas > Nationally Competitive- Student Centered- Research University > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Tue Nov 14 18:13:39 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 16:13:39 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061115001339.90569.qmail@web88201.mail.re2.yahoo.com> Cool response, William! Thanks! ----- Original Message ---- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 6:54:47 PM Subject: Re: [AccessD] Useful Lists ...it varies widely by state in the US ...more variety along the eastern seaboard and gulf where various nationalities influenced early conventions ...less variety in the west where the fed had more of a hand in standardizing governmental entities ...here we just had an election where the property owners in an unincorporated area of the county had petitioned the state legislature to recognize us as a separate government entity from that of Palm Beach County ...the county government is effectively run by developers who were doing everything they could, legally and illegally, to break the original property covenants that didn't allow anything less than ten acre homesites in Loxahatchee Groves ...the developers want to buy up the property and put in much higher density housing ...the everglades to our immediate west creates a finite limit on available property and thus developable land is immensely valuable here. ...as for art's question re gated communities, anti-discrimination laws make it virtually impossible to create or maintain a racially pure community here ...such communities are of course limited to those who can afford them and increasingly, that includes larger numbers of non-white ethnicities as they benefit from greater participation and success in our economic system ...in point of fact, if you went looking for racially segregated communities, it would be among the poorest communities that you would find them, not the richest simply because all too often the rule of law doesn't penetrate very far there. William Hindman ----- Original Message ----- From: "David A Gibson" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 14, 2006 5:28 PM Subject: Re: [AccessD] Useful Lists > My sister lives in a "clothing optional" gated community. :-D > > Police, fire, and delivery are allowed entry. The guard at the > gatehouse just keeps out the curious and unwanted. > > There are different designations of communities. One near us (NW > Arkansas, USA) has been a "village", legally, and run by a > council. No mayor, president, chief and so on. They are now going > through the growing pains of becoming a "town" with a mayor and > council. Elections and all that. I'll see if I can look up some > more concrete info but it won't be today as I am headed out. > > David G. > > At 04:02 PM 11/14/2006, you wrote: >>I think that on both points you hit the mark. I came from a suburb >>of Winnipeg, Manitoba, called St. Vital. There was a time when St. >>Vital became a city. I think it was population-based but I was a >>child back then so I could be way wrong. I will research this some more. >> >>There is an oddity in Canada, private entities not part of the >>adjacent town, city or whatever. In Toronto, one is Wychwood Park, a >>private enclave that is responsible for paying its private >>garbage-gatherers, snow-shovellers, etc. It is surrounded by >>Toronto, but is somehow legally not part of Toronto. I can name >>several other enclaves with this status within Ontario. I don't know >>whether this status exists anywhere else in Canada, but I can name >>several places of this distinction in Ontario. Here, these places >>seem to be 100% white. >> >>They may or may not correspond to the gated communities in the USA; >>in both cases they are inhabited by no one without large funds. Some >>American on the list might contribute an opinion on gated >>communities: are the city's police permitted to enter? The fire >>department? Any non-resident other than a Fedex driver? Any person >>of color other than the previous designations? Are there any gated >>communities reserved for blacks or Hispanics, or are they reserved >>for persons of pallor? Or, alternatively, am I woefully incorrect >>about this, and the line of demarcation is affluence not color. Just >>curious. >> >>Arthur > > David A. Gibson > Computer Support Specialist II > University of Arkansas > 232 Silas H. Hunt Hall > 1 University of Arkansas > Fayetteville, Arkansas 72701 > 800-377-8632 > (479) 575-4654 > www.uark.edu> > > The University of Arkansas > Nationally Competitive- Student Centered- Research University > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 14 18:39:45 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 14 Nov 2006 16:39:45 -0800 (PST) Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: <20061115003945.56810.qmail@web33106.mail.mud.yahoo.com> Gustav, You're the man. That did it for me. Never worked much with bookmarks in this capacity. I am all the smarter now because of you. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 5:53:13 AM Subject: Re: [AccessD] Unable to bookmark after record is deleted Hi Lonnie When you delete a record the bookmarks are destroyed. Before you delete, retrieve the ID of the bookmarked record, delete, locate the bookmarked record by its ID, and reestablish the bookmark. /gustav >>> prodevmg at yahoo.com 14-11-2006 05:28:31 >>> I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. -- 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 14 19:11:54 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 17:11:54 -0800 Subject: [AccessD] Copy a record in a table Message-ID: <010901c70853$0a2ce290$6a01a8c0@HAL9005> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 8:56 PM From stuart at lexacorp.com.pg Tue Nov 14 19:50:06 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 11:50:06 +1000 Subject: [AccessD] Copy a record in a table In-Reply-To: <010901c70853$0a2ce290$6a01a8c0@HAL9005> References: <010901c70853$0a2ce290$6a01a8c0@HAL9005> Message-ID: <455AFEEE.16670.703A6514@stuart.lexacorp.com.pg> On 14 Nov 2006 at 17:11, Beach Access Software wrote: > > Dear List: > > > > Is there a quick or slick or elegant way to copy a record in a table to a > new record in the same table - just duplicating a record INSERT INTO tblTable SELECT tblTable.* FROM tblTable WHERE fldID = IDofRecordToCopy From bchacc at san.rr.com Tue Nov 14 22:08:06 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 20:08:06 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: <455AFEEE.16670.703A6514@stuart.lexacorp.com.pg> Message-ID: <014901c7086b$a7eeb3b0$6a01a8c0@HAL9005> Stuart: I'm using db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM tblJobMaster " _ & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID But I get the cryptic 'Too few parameters. Expected 1'. Can you see what I'm doing wrong? Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 14, 2006 5:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table On 14 Nov 2006 at 17:11, Beach Access Software wrote: > > Dear List: > > > > Is there a quick or slick or elegant way to copy a record in a table to a > new record in the same table - just duplicating a record INSERT INTO tblTable SELECT tblTable.* FROM tblTable WHERE fldID = IDofRecordToCopy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 8:56 PM From stuart at lexacorp.com.pg Tue Nov 14 22:24:24 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 14:24:24 +1000 Subject: [AccessD] Copy a record in a table In-Reply-To: <014901c7086b$a7eeb3b0$6a01a8c0@HAL9005> References: <455AFEEE.16670.703A6514@stuart.lexacorp.com.pg>, <014901c7086b$a7eeb3b0$6a01a8c0@HAL9005> Message-ID: <455B2318.27169.70C7A8E5@stuart.lexacorp.com.pg> On 14 Nov 2006 at 20:08, Beach Access Software wrote: > Stuart: > > I'm using > db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM > tblJobMaster " _ > & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID > > But I get the cryptic 'Too few parameters. Expected 1'. Can you see what > I'm doing wrong? WHile developing, try using strSQL = ..... Docmd.RunSQL strSQL instead of .Execute. You get much more helpful error messages that way. Just a WAG but is fldJobMasterID a PK or constrained to being unique? Creating a new record like this, you are trying to create another record in the table with ALL of the fields the same, including any unique fields,PK or otherwise. (You did ask originally to "duplicate" a record in a table) From martyconnelly at shaw.ca Tue Nov 14 22:48:28 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Nov 2006 20:48:28 -0800 Subject: [AccessD] Useful Lists In-Reply-To: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> References: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> Message-ID: <455A9C1C.4000005@shaw.ca> Rockliffe Park Village was that way in downtown Ottawa until amalgamation in 2001. It was admittance more by class than affluence, although multi-millionaires found a way in. It was mostly Government ministers and ambassadors. I think the population was under 2000. In the 80's no house was under a million. artful at rogers.com wrote: >I think that on both points you hit the mark. I came from a suburb of Winnipeg, Manitoba, called St. Vital. There was a time when St. Vital became a city. I think it was population-based but I was a child back then so I could be way wrong. I will research this some more. > >There is an oddity in Canada, private entities not part of the adjacent town, city or whatever. In Toronto, one is Wychwood Park, a private enclave that is responsible for paying its private garbage-gatherers, snow-shovellers, etc. It is surrounded by Toronto, but is somehow legally not part of Toronto. I can name several other enclaves with this status within Ontario. I don't know whether this status exists anywhere else in Canada, but I can name several places of this distinction in Ontario. Here, these places seem to be 100% white. > >They may or may not correspond to the gated communities in the USA; in both cases they are inhabited by no one without large funds. Some American on the list might contribute an opinion on gated communities: are the city's police permitted to enter? The fire department? Any non-resident other than a Fedex driver? Any person of color other than the previous designations? Are there any gated communities reserved for blacks or Hispanics, or are they reserved for persons of pallor? Or, alternatively, am I woefully incorrect about this, and the line of demarcation is affluence not color. Just curious. > >Arthur > >----- Original Message ---- >From: Stuart McLachlan >To: Access Developers discussion and problem solving >Sent: Tuesday, November 14, 2006 4:15:39 PM >Subject: Re: [AccessD] Useful Lists > >On 14 Nov 2006 at 10:20, artful at rogers.com wrote: > > > >>All these years I have been under the (clearly false) impression that >>precise population-numbers defined these terms. Apparently I have wrong, lo >>these decades. I have just taken a local poll (only 4 people) and the >>agreement here is that a city is 100,000 people or more; a town is 999,999 >>people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >>or fewer. We four Canadians readily agreed on these numbers, but that might >>be something we picked up in school that has no relation to the larger >>world. >> >> >> > >In the UK, a city was originally a town with a cathedral. It is an actual >status conferred on an urban area by the monarch. > >I believe that in the US, individual states define their own cities in >legislation. > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Nov 14 23:08:15 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Nov 2006 21:08:15 -0800 Subject: [AccessD] Useful Lists In-Reply-To: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> References: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> Message-ID: <455AA0BF.7050407@shaw.ca> In addition to lists there are public web services that provide things like those listed below from places like http://www.webservicex.net/WS/default.aspx LloydsRiskCodeService US Address verification Barcode Generator North American Industry Classification System United Nations Standard Products and Services Code Medi Care Supplier FedACH FedWire USA Weather Forecast MortgageIndex SunSetRiseService GeoIPService Stock Quote Currency Convertor Global Weather London Gold And Silver Fixing Real Time Market Data SendSMSWorld OFAC SDN and Blocked Persons Translation Engine ABA Lookup artful at rogers.com wrote: >So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. > >I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. > >Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. > >Arthur > >----- Original Message ---- >From: Mark A Matte >To: accessd at databaseadvisors.com >Sent: Tuesday, November 14, 2006 1:57:46 PM >Subject: Re: [AccessD] Useful Lists > >Arthur, > >"I think it is identical to the similar >list from the military, but perhaps not. (In case you don't know what I >mean, >Able Baker Charlie etc.) >" >Refers to the phonetic alphabet. US military version would be "Alpha, >Bravo,Charlie" > >Of all the lists you mentioned...its probably the only one I could >contribute to. I know that different occupations and english speaking >peoples use a different variation of the list. > >I'd be glad to help any way I can. > >Thanks, > >Mark A. Matte > > > >>From: artful at rogers.com >>Reply-To: Access Developers discussion and problem >>solving >>To: "AccessD at databaseadvisors. com" , >>dba-SQLServer >>Subject: [AccessD] Useful Lists >>Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) >> >>On the basis of the thread about airport lists, I proposed to Jim Lawrence >>that we accumulate a bunch of similar lists. As my father said when I >>joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >>has invited me to spearhead the acquisition of said lists, and I have >>accepted the assignment. >> >>So, to all of you listers, three questions: >> >>1. What lists do you possess that you think would be useful to your fellow >>AccessD/dba-SQL listers? >>2. What lists do you lack that you desire? >> >>(I couldn't resist the old programmer's joke. There are three types of >>programmers -- those who can count and those who can't.) >> >>Chances are that more than one of you may volunteer to contribute similar >>or identical lists. The latter is easy to deal with. The former is a little >>tougher, since it might require UNIONing several lists, but that's ok. >> >>I have one list ready to go, which is the list of words corresponding to >>letters that travel agents use to spell names. I think it is identical to >>the similar list from the military, but perhaps not. (In case you don't >>know what I mean, Able Baker Charlie etc.) >> >>I also have another list of cities within North America, and states and >>provinces to correspond. It is not ready to go, there are some duplicates, >>but I could prune the dupes. The list consists only of those cities into >>which the company I was formerly associated with sold products, but it >>numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >>start, and similar lists could easily be UNIONed. That leaves out all the >>listers uninterested in cities in North America, but listers residing >>elsewhere might be able to contribute more cities. On this one, there is a >>difficulty. Within North America, there are states and provinces. In >>Switzerland, there are cantons. >> >>On this subject, I have just done some searches in dictionary.com and come >>up with some hilarious definitions: >> >>City -- an important town >>Town -- a large village >>Village -- a small community or group of houses in a rural area, larger >>than a >>hamlet and usually smaller than a town, and sometimes (as in parts of >>the U.S.) incorporated as a municipality. >>Hamlet -- British. a village without a church of its own, belonging to the >>parish of another village or town. >>County (the richest by far) -- >>1.the largest administrative division of a U.S. state: Miami, Florida, is >>in Dade County. >> >>2.one of the chief administrative divisions of a country or state, as in >>Great Britain and Ireland. >> >>3.one of the larger divisions for purposes of local administration, as in >>Canada and New Zealand. >> >>4.the territory of a county, esp. its rural areas, as in: "We farmed out in >>the county before moving to town.". >> >>5.the inhabitants of a county, as in, "It was supposed to be a secret, but >>you told the whole county.". >> >>6.the domain of a count or earl. >> >> >>All these years I have been under the (clearly false) impression that >>precise population-numbers defined these terms. Apparently I have wrong, lo >>these decades. I have just taken a local poll (only 4 people) and the >>agreement here is that a city is 100,000 people or more; a town is 999,999 >>people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >>or fewer. We four Canadians readily agreed on these numbers, but that might >>be something we picked up in school that has no relation to the larger >>world. >> >>Arthur >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_________________________________________________________________ >Find a local pizza place, music store, museum and more?then map the best >route! http://local.live.com?FORM=MGA001 > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Tue Nov 14 23:10:56 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 21:10:56 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: <455B2318.27169.70C7A8E5@stuart.lexacorp.com.pg> Message-ID: <016101c70874$6ed01e30$6a01a8c0@HAL9005> Oops. My bad. fldJobMasterID is an the Autonumber PK of tblJobMaster. Won't work then, will it? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 14, 2006 8:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table On 14 Nov 2006 at 20:08, Beach Access Software wrote: > Stuart: > > I'm using > db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM > tblJobMaster " _ > & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID > > But I get the cryptic 'Too few parameters. Expected 1'. Can you see what > I'm doing wrong? WHile developing, try using strSQL = ..... Docmd.RunSQL strSQL instead of .Execute. You get much more helpful error messages that way. Just a WAG but is fldJobMasterID a PK or constrained to being unique? Creating a new record like this, you are trying to create another record in the table with ALL of the fields the same, including any unique fields,PK or otherwise. (You did ask originally to "duplicate" a record in a table) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006 3:58 PM From accessd at shaw.ca Tue Nov 14 23:23:10 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Nov 2006 21:23:10 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <002101c70810$87dfd280$f1bc2ad1@SUSANONE> Message-ID: <0J8R00IQ2AWEIPH0@l-daemon> Hi Susan: I can not seem to get the browsers to produce what you are seeing. Could you display the inconsistency on your monitor, print it to a file and send me the file off-line. In the meantime, what browser are you using? TIA Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 14, 2006 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list I see one plane. Above it and under the page title, there's a rectangular white box. The only reason I can tell is because it blocks the gray border. Susan H. My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 15 00:43:13 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 22:43:13 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061115064313.38029.qmail@web88209.mail.re2.yahoo.com> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 12:08:15 AM Subject: Re: [AccessD] Useful Lists In addition to lists there are public web services that provide things like those listed below from places like http://www.webservicex.net/WS/default.aspx LloydsRiskCodeService US Address verification Barcode Generator North American Industry Classification System United Nations Standard Products and Services Code Medi Care Supplier FedACH FedWire USA Weather Forecast MortgageIndex SunSetRiseService GeoIPService Stock Quote Currency Convertor Global Weather London Gold And Silver Fixing Real Time Market Data SendSMSWorld OFAC SDN and Blocked Persons Translation Engine ABA Lookup artful at rogers.com wrote: >So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. > >I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. > >Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. > >Arthur > >----- Original Message ---- >From: Mark A Matte >To: accessd at databaseadvisors.com >Sent: Tuesday, November 14, 2006 1:57:46 PM >Subject: Re: [AccessD] Useful Lists > >Arthur, > >"I think it is identical to the similar >list from the military, but perhaps not. (In case you don't know what I >mean, >Able Baker Charlie etc.) >" >Refers to the phonetic alphabet. US military version would be "Alpha, >Bravo,Charlie" > >Of all the lists you mentioned...its probably the only one I could >contribute to. I know that different occupations and english speaking >peoples use a different variation of the list. > >I'd be glad to help any way I can. > >Thanks, > >Mark A. Matte > > > >>From: artful at rogers.com >>Reply-To: Access Developers discussion and problem >>solving >>To: "AccessD at databaseadvisors. com" , >>dba-SQLServer >>Subject: [AccessD] Useful Lists >>Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) >> >>On the basis of the thread about airport lists, I proposed to Jim Lawrence >>that we accumulate a bunch of similar lists. As my father said when I >>joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >>has invited me to spearhead the acquisition of said lists, and I have >>accepted the assignment. >> >>So, to all of you listers, three questions: >> >>1. What lists do you possess that you think would be useful to your fellow >>AccessD/dba-SQL listers? >>2. What lists do you lack that you desire? >> >>(I couldn't resist the old programmer's joke. There are three types of >>programmers -- those who can count and those who can't.) >> >>Chances are that more than one of you may volunteer to contribute similar >>or identical lists. The latter is easy to deal with. The former is a little >>tougher, since it might require UNIONing several lists, but that's ok. >> >>I have one list ready to go, which is the list of words corresponding to >>letters that travel agents use to spell names. I think it is identical to >>the similar list from the military, but perhaps not. (In case you don't >>know what I mean, Able Baker Charlie etc.) >> >>I also have another list of cities within North America, and states and >>provinces to correspond. It is not ready to go, there are some duplicates, >>but I could prune the dupes. The list consists only of those cities into >>which the company I was formerly associated with sold products, but it >>numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >>start, and similar lists could easily be UNIONed. That leaves out all the >>listers uninterested in cities in North America, but listers residing >>elsewhere might be able to contribute more cities. On this one, there is a >>difficulty. Within North America, there are states and provinces. In >>Switzerland, there are cantons. >> >>On this subject, I have just done some searches in dictionary.com and come >>up with some hilarious definitions: >> >>City -- an important town >>Town -- a large village >>Village -- a small community or group of houses in a rural area, larger >>than a >>hamlet and usually smaller than a town, and sometimes (as in parts of >>the U.S.) incorporated as a municipality. >>Hamlet -- British. a village without a church of its own, belonging to the >>parish of another village or town. >>County (the richest by far) -- >>1.the largest administrative division of a U.S. state: Miami, Florida, is >>in Dade County. >> >>2.one of the chief administrative divisions of a country or state, as in >>Great Britain and Ireland. >> >>3.one of the larger divisions for purposes of local administration, as in >>Canada and New Zealand. >> >>4.the territory of a county, esp. its rural areas, as in: "We farmed out in >>the county before moving to town.". >> >>5.the inhabitants of a county, as in, "It was supposed to be a secret, but >>you told the whole county.". >> >>6.the domain of a count or earl. >> >> >>All these years I have been under the (clearly false) impression that >>precise population-numbers defined these terms. Apparently I have wrong, lo >>these decades. I have just taken a local poll (only 4 people) and the >>agreement here is that a city is 100,000 people or more; a town is 999,999 >>people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >>or fewer. We four Canadians readily agreed on these numbers, but that might >>be something we picked up in school that has no relation to the larger >>world. >> >>Arthur >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_________________________________________________________________ >Find a local pizza place, music store, museum and more?then map the best >route! http://local.live.com?FORM=MGA001 > > > > -- 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 artful at rogers.com Wed Nov 15 00:46:35 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 22:46:35 -0800 (PST) Subject: [AccessD] ATA airport list for the DBA list Message-ID: <20061115064635.85195.qmail@web88207.mail.re2.yahoo.com> Nor could I. I just tried FF, IE7 and Opera, and I'm failing to see what Susan sees. Of course, this could be due to my age. ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 12:23:10 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I can not seem to get the browsers to produce what you are seeing. Could you display the inconsistency on your monitor, print it to a file and send me the file off-line. In the meantime, what browser are you using? TIA Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 14, 2006 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list I see one plane. Above it and under the page title, there's a rectangular white box. The only reason I can tell is because it blocks the gray border. Susan H. My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 airtelbroadband.in Wed Nov 15 01:32:23 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 15 Nov 2006 13:02:23 +0530 Subject: [AccessD] Copy a record in a table References: <010901c70853$0a2ce290$6a01a8c0@HAL9005> Message-ID: <010e01c70888$cc8e97e0$a20c177d@pcadt> Rocky, Apparently, you are looking for a straightforward method to copy an existing record to new record in the same table, without having to bother with individual field names. It is presumed that the table has autonumber type primary key. Use of an insert statement with wild card for field names looks tempting and deceptively simple. However, it gets ruled out as the action would attempt to create a duplicate value in primary key field. A rough & ready method involves copying of desired record to clipboard and then pasting it on to the new record. This works smoothly, without attracting any error on a/c of attempted duplication of primary key value. Instead, correct autoonumber gets automatically assigned to the newly pasted record, over-ruling the PK value in clipboard. Sample sub-routine named P_CopyRecordToNew(), as given at (A) below, demonstrates this approach. For ready reference, sample sub-routine P_InsertRecordCopy(), as given at (B) below, represents a more formal approach for accomplishing the same task. Once you put these subs in a general module, invoking the one at (B) should be equally convenient as the one at (A). Eventually, you might prefer the one at (B). Best wishes, A.D.Tejpal --------------- A) Copy existing record to new record in same table (Rough & Ready method) ================================== Sub P_CopyRecordToNew(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) DoCmd.OpenTable TableName DoCmd.GoToControl PkName DoCmd.FindRecord PkNum DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.GoToRecord , , acNewRec DoCmd.RunCommand acCmdPaste DoCmd.Close acTable, TableName, acSaveYes End Sub ================================== B) Copy existing record to new record in same table (Formal method) ================================== Sub P_InsertRecordCopy(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) Dim Qst As String, FieldList As String Dim fd As Field Dim db As DAO.Database Set db = DBEngine(0)(0) FieldList = "" For Each fd In db.TableDefs(TableName).Fields If fd.Name <> PkName Then FieldList = FieldList & _ IIf(Len(FieldList) > 0, _ ", ", "") & fd.Name End If Next Qst = "Insert Into " & TableName & " (" & _ FieldList & ") Select " & FieldList & _ " From " & TableName & " Where " & _ PkName & " = " & PkNum & ";" db.Execute Qst, dbFailOnError Set fd = Nothing Set db = Nothing End Sub ================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 06:41 Subject: [AccessD] Copy a record in a table Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From Gustav at cactus.dk Wed Nov 15 04:18:16 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Nov 2006 11:18:16 +0100 Subject: [AccessD] Useful Lists Message-ID: Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur From Gustav at cactus.dk Wed Nov 15 05:02:31 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Nov 2006 12:02:31 +0100 Subject: [AccessD] Copy a record in a table Message-ID: Hi Rocky Crude? How come? DAO is normally the fastest method to add a record to a recordset. Here's a basic function: Public Function CopyRecord( _ ByVal strTable As String, _ ByVal strId As String, _ ByVal lngId As Long) _ As Boolean Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim rstAdd As DAO.Recordset Dim fld As DAO.Field Dim strFld As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") With rstAdd .AddNew For Each fld In rstAdd.Fields With fld strFld = .Name If Not strFld = strId Then .Value = rst.Fields(strFld).Value End If End With Next .Update .Close End With rst.Close Set fld = Nothing Set rstAdd = Nothing Set rst = Nothing Set dbs = Nothing End Function Of course, you will need to refine this for compound indices, other unique indices, OLE fields, default values etc. Also add error handling. /gustav >>> bchacc at san.rr.com 15-11-2006 02:11 >>> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From andy at minstersystems.co.uk Wed Nov 15 05:50:16 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 15 Nov 2006 11:50:16 +0000 Subject: [AccessD] Useful Lists Message-ID: <20061115115021.F331086DFE@smtp.nildram.co.uk> I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 jwcolby at colbyconsulting.com Wed Nov 15 06:35:20 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 07:35:20 -0500 Subject: [AccessD] Useful Lists In-Reply-To: <20061115115021.F331086DFE@smtp.nildram.co.uk> Message-ID: <001501c708b2$84e157f0$e1265b05@m6805> Along with instructions on getting it? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, November 15, 2006 6:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Lists I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 bheid at appdevgrp.com Wed Nov 15 06:41:44 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 15 Nov 2006 07:41:44 -0500 Subject: [AccessD] Copy a record in a table In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6FBB1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35AB5@ADGSERVER> Rocky, It will work, but you will have to name all of the fields except for fldJobMasterID, which will be created with he autonumber. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, November 15, 2006 12:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy a record in a table Oops. My bad. fldJobMasterID is an the Autonumber PK of tblJobMaster. Won't work then, will it? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 14, 2006 8:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table On 14 Nov 2006 at 20:08, Beach Access Software wrote: > Stuart: > > I'm using > db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM > tblJobMaster " _ > & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID > > But I get the cryptic 'Too few parameters. Expected 1'. Can you see what > I'm doing wrong? WHile developing, try using strSQL = ..... Docmd.RunSQL strSQL instead of .Execute. You get much more helpful error messages that way. Just a WAG but is fldJobMasterID a PK or constrained to being unique? Creating a new record like this, you are trying to create another record in the table with ALL of the fields the same, including any unique fields,PK or otherwise. (You did ask originally to "duplicate" a record in a table) From Gustav at cactus.dk Wed Nov 15 06:45:40 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Nov 2006 13:45:40 +0100 Subject: [AccessD] MS Office SharePoint 2007 book on-line Message-ID: Hi all The 236 page pdf book 7 Development Projects for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services Version 3.0 is for download: http://go.microsoft.com/?linkid=5775684 /gustav From prodevmg at yahoo.com Wed Nov 15 08:09:26 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 15 Nov 2006 06:09:26 -0800 (PST) Subject: [AccessD] Control which record shows at top of subform Message-ID: <20061115140926.55903.qmail@web33114.mail.mud.yahoo.com> I have a subform and have buttons that navigate to certain records. Sometimes when the requested record is located it appears in the middle of the subform. I have the subform sized to show a certain amount of records at a time and want the "found" record to be at the top of my list. Is this possible? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________________ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.com From dwaters at usinternet.com Wed Nov 15 08:21:40 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 15 Nov 2006 08:21:40 -0600 Subject: [AccessD] Requirements Development In-Reply-To: <21386214.1163519689078.JavaMail.root@sniper25> Message-ID: <002401c708c1$5eef4d40$0200a8c0@danwaters> Hi Arthur, It turns out that your link is issue #2 of a six-part requirements 'E-Zine' published electronically every 2 months by a company called Ravenflow. It looks like excellent information! Sign up for all six issues here: http://www.ravenflow.com/ You can get issues #1 and #2 here: http://www.nxtbook.com/nxtbooks/cmp/ddj-ravenflow1/ http://www.nxtbook.com/nxtbooks/cmp/ddj-ravenflow2/ Apparently issue #3 isn't released yet. Dan Waters -----Original Message----- Subject: [AccessD] Requirements Development What a timely arrival, given the thread about writing requirements. http://newsletters.sdmediagroup.com/cgi-bin4/DM/y/h1mC0GGzBY0JSg0ErCM0E1 (You will probably have to register for this, but it's free.) Arthur From artful at rogers.com Wed Nov 15 08:27:03 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 15 Nov 2006 06:27:03 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061115142703.9547.qmail@web88209.mail.re2.yahoo.com> That was my point, Andy. Such lists might be better served with lookups to web sites. ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 6:50:16 AM Subject: Re: [AccessD] Useful Lists I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 bchacc at san.rr.com Wed Nov 15 08:36:40 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 15 Nov 2006 06:36:40 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: <010e01c70888$cc8e97e0$a20c177d@pcadt> Message-ID: <002601c708c3$7735adc0$6401a8c0@HAL9005> A.D.: Thanks for those routines. A looks like it will work only if the recordset is bound to the form? And then will copy the current record? Or will it work on any table even if it is not the record source? I'm not familiar with all those commands but I'll look them up in Help. Thanks again fro your response. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 14, 2006 11:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table Rocky, Apparently, you are looking for a straightforward method to copy an existing record to new record in the same table, without having to bother with individual field names. It is presumed that the table has autonumber type primary key. Use of an insert statement with wild card for field names looks tempting and deceptively simple. However, it gets ruled out as the action would attempt to create a duplicate value in primary key field. A rough & ready method involves copying of desired record to clipboard and then pasting it on to the new record. This works smoothly, without attracting any error on a/c of attempted duplication of primary key value. Instead, correct autoonumber gets automatically assigned to the newly pasted record, over-ruling the PK value in clipboard. Sample sub-routine named P_CopyRecordToNew(), as given at (A) below, demonstrates this approach. For ready reference, sample sub-routine P_InsertRecordCopy(), as given at (B) below, represents a more formal approach for accomplishing the same task. Once you put these subs in a general module, invoking the one at (B) should be equally convenient as the one at (A). Eventually, you might prefer the one at (B). Best wishes, A.D.Tejpal --------------- A) Copy existing record to new record in same table (Rough & Ready method) ================================== Sub P_CopyRecordToNew(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) DoCmd.OpenTable TableName DoCmd.GoToControl PkName DoCmd.FindRecord PkNum DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.GoToRecord , , acNewRec DoCmd.RunCommand acCmdPaste DoCmd.Close acTable, TableName, acSaveYes End Sub ================================== B) Copy existing record to new record in same table (Formal method) ================================== Sub P_InsertRecordCopy(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) Dim Qst As String, FieldList As String Dim fd As Field Dim db As DAO.Database Set db = DBEngine(0)(0) FieldList = "" For Each fd In db.TableDefs(TableName).Fields If fd.Name <> PkName Then FieldList = FieldList & _ IIf(Len(FieldList) > 0, _ ", ", "") & fd.Name End If Next Qst = "Insert Into " & TableName & " (" & _ FieldList & ") Select " & FieldList & _ " From " & TableName & " Where " & _ PkName & " = " & PkNum & ";" db.Execute Qst, dbFailOnError Set fd = Nothing Set db = Nothing End Sub ================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 06:41 Subject: [AccessD] Copy a record in a table Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006 3:58 PM From bchacc at san.rr.com Wed Nov 15 08:42:47 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 15 Nov 2006 06:42:47 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: Message-ID: <002701c708c4$5182fe60$6401a8c0@HAL9005> G: I'm a big DAO fan. Do lots of little things with it. So I love the routine. My approach on this one, since there were only five fields in the table was to Dim a variable for each field, put the values in the variables, do an .AddNew, and copy the variables into the new records fields. That's crude! Yours isn't. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 15, 2006 3:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Copy a record in a table Hi Rocky Crude? How come? DAO is normally the fastest method to add a record to a recordset. Here's a basic function: Public Function CopyRecord( _ ByVal strTable As String, _ ByVal strId As String, _ ByVal lngId As Long) _ As Boolean Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim rstAdd As DAO.Recordset Dim fld As DAO.Field Dim strFld As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") With rstAdd .AddNew For Each fld In rstAdd.Fields With fld strFld = .Name If Not strFld = strId Then .Value = rst.Fields(strFld).Value End If End With Next .Update .Close End With rst.Close Set fld = Nothing Set rstAdd = Nothing Set rst = Nothing Set dbs = Nothing End Function Of course, you will need to refine this for compound indices, other unique indices, OLE fields, default values etc. Also add error handling. /gustav >>> bchacc at san.rr.com 15-11-2006 02:11 >>> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006 3:58 PM From ewaldt at gdls.com Wed Nov 15 08:58:53 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 15 Nov 2006 09:58:53 -0500 Subject: [AccessD] Filling in the CrossTab Help Request In-Reply-To: Message-ID: I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From jwcolby at colbyconsulting.com Wed Nov 15 09:19:30 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 10:19:30 -0500 Subject: [AccessD] Control which record shows at top of subform In-Reply-To: <20061115140926.55903.qmail@web33114.mail.mud.yahoo.com> Message-ID: <001e01c708c9$73208bf0$e1265b05@m6805> The short answer is not easily. If somebody here provides a solution I too will be smiling! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, November 15, 2006 9:09 AM To: AccessD solving' Subject: [AccessD] Control which record shows at top of subform I have a subform and have buttons that navigate to certain records. Sometimes when the requested record is located it appears in the middle of the subform. I have the subform sized to show a certain amount of records at a time and want the "found" record to be at the top of my list. Is this possible? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________ ________ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.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 15 09:21:09 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 15 Nov 2006 15:21:09 +0000 Subject: [AccessD] Useful Lists Message-ID: <20061115152113.C2A0B5582F@smtp.nildram.co.uk> Oh yeah I see that now when I reread your post. Sorry Arthur. -- 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] Useful Lists Date: 15/11/06 14:28 That was my point, Andy. Such lists might be better served with lookups to web sites. ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 6:50:16 AM Subject: Re: [AccessD] Useful Lists I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From Lambert.Heenan at AIG.com Wed Nov 15 09:22:42 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 15 Nov 2006 10:22:42 -0500 Subject: [AccessD] Filling in the CrossTab Help Request Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Sure. Open the Crosstab query in design mode. On the property sheet you will find a "Column Headings" property. Just fill this with a list of your columns ... "Qtr 1", "Qtr 2", "Qtr 3", "Qtr 4" ... then you will always have all columns reported, and in the order you specify. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, November 15, 2006 9:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gjgiever at myway.com Wed Nov 15 09:40:31 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 15 Nov 2006 10:40:31 -0500 (EST) Subject: [AccessD] Open a database Message-ID: <20061115154031.23AFF757F9@mprdmxin.myway.com> This is frustrating. All I want to do is open another database from the currently open database. The code is like the help examples: Dim dbMyDB As Database Dim strDBName As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName) But nothing happens. What am I missing? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From reuben at gfconsultants.com Wed Nov 15 09:54:05 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Wed, 15 Nov 2006 10:54:05 -0500 Subject: [AccessD] Control which record shows at top of subform In-Reply-To: <001e01c708c9$73208bf0$e1265b05@m6805> Message-ID: There's a difference between being at the top of the list and being "shown" at the top of the list. I've set up some continuous forms that upon opening highlight the line that corresponds to today's date. It doesn't put that line at the top of the list, but it does "look" like it's the top of the list. I do this by running thru the recordset until I find the record I want and then set the bookmark to that record and refresh the form. If you actually want it at the top could you add a field to the table and use it as a "marker"? When you find what should be the first record set the record to 0 and all the other records in this recordset = 1. Sort ascending and you now have the appropriate record at the top. You could do all this using the recordsetclone. I have never tried the second option - it's just an idea. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Wednesday, November 15, 2006 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Control which record shows at top of subform > > > The short answer is not easily. > > If somebody here provides a solution I too will be smiling! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson > Sent: Wednesday, November 15, 2006 9:09 AM > To: AccessD solving' > Subject: [AccessD] Control which record shows at top of subform > > I have a subform and have buttons that navigate to certain records. > Sometimes when the requested record is located it appears in the middle of > the subform. > > I have the subform sized to show a certain amount of records at a time and > want the "found" record to be at the top of my list. > > Is this possible? > > > > > > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases Visit me at ==> > http://www.prodev.us > > > > __________________________________________________________________ > __________ > ________ > Sponsored Link > > Compare mortgage rates for today. > Get up to 5 free quotes. > Www2.nextag.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Wed Nov 15 09:58:09 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 15 Nov 2006 10:58:09 -0500 Subject: [AccessD] Open a database Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E0B9@xlivmbx35.aig.com> What your code does is create an object (dbMyDB) to point to the external mdb file. You would then be able to manipulate the tables, queries etc. in that file via code. It sounds like you want to actually start up the other database. For that there are various ways. For example... Sub OpenAnotherDb() Dim strDBName As String Dim dbl_D As Double Dim strCommandLine As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" strCommandLine = Quote(SysCmd(acSysCmdAccessDir) & _ "MSACCESS.EXE") & " " & Quote(strDBName ) dbl_D = Shell(strCommandLine, vbNormalFocus) Application.Quit acQuitSaveNone ' closes the *current* database End Sub Function Quote(aString) As String Quote = """" & aString & """" End Function HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 15, 2006 10:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] Open a database This is frustrating. All I want to do is open another database from the currently open database. The code is like the help examples: Dim dbMyDB As Database Dim strDBName As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName) But nothing happens. What am I missing? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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 15 10:00:44 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 15 Nov 2006 08:00:44 -0800 Subject: [AccessD] Open a database In-Reply-To: <20061115154031.23AFF757F9@mprdmxin.myway.com> Message-ID: The code is just a way to open and then manipulate another database from the current one. What is it that you want to happen? If you try to work with dbMyDB after that line, does it throw an error? If not, then it's working. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 15, 2006 7:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] Open a database This is frustrating. All I want to do is open another database from the currently open database. The code is like the help examples: Dim dbMyDB As Database Dim strDBName As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName) But nothing happens. What am I missing? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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 Wed Nov 15 10:15:50 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 15 Nov 2006 10:15:50 -0600 Subject: [AccessD] Filling in the CrossTab Help Request Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE106@corp-es01.fleetpride.com> check out p157 of Getz's ADH. He suggests using an IN clause of the form PIVOT column-headings-field[IN((value1[,value2],...]])] HTH Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Wednesday, November 15, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From rl_stewart at highstream.net Wed Nov 15 10:29:44 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 15 Nov 2006 10:29:44 -0600 Subject: [AccessD] Useful Lists In-Reply-To: References: Message-ID: <200611151630.kAFGU6q12304@databaseadvisors.com> Oh Well, I tried their postal code web service for the USA. Mine is 77418. The area code changed over 5 years ago from 409 to 979. Their service is still returning 409 as the area code. Are they maintaining the data? If not, what use is a bad list of data? I am willing to host the databases in SQL Server for all to connect to for the data. As long as we all behave and keep the list up to date as well as not put junk into them. I have a couple, like the postal code list, some of the ISO standards lists for country codes, SIC and NAICS code, and so on that I can start it with it any one else is interested. I also have some of the TIGER data tables for the USA. Robert At 08:27 AM 11/15/2006, you wrote: >Date: Tue, 14 Nov 2006 21:08:15 -0800 >From: MartyConnelly >Subject: Re: [AccessD] Useful Lists >To: Access Developers discussion and problem solving > >Message-ID: <455AA0BF.7050407 at shaw.ca> >Content-Type: text/plain; charset=windows-1252; format=flowed > >In addition to lists there are public web services that provide things like >those listed below from places like >http://www.webservicex.net/WS/default.aspx From dwaters at usinternet.com Wed Nov 15 10:29:45 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 15 Nov 2006 10:29:45 -0600 Subject: [AccessD] Control which record shows at top of subform In-Reply-To: <21949219.1163605192781.JavaMail.root@sniper5> Message-ID: <003f01c708d3$4388d0f0$0200a8c0@danwaters> Hi Lonnie, Long ago I found code to do this from a site somewhere. I'll post it here. I haven't used it but you may be able to. --------------------------------------------------------------------- Option Compare Database Option Explicit Private Const GWL_STYLE = (-16) ' GetWindow() Constants Private Const GW_HWNDNEXT = 2 Private Const GW_CHILD = 5 ' Scroll Bar Constants Private Const SB_HORZ = 0 Private Const SB_CTL = 2 Private Const SB_VERT = 1 ' ScrollInfo fMask's Private Const SIF_RANGE = &H1 Private Const SIF_PAGE = &H2 Private Const SIF_POS = &H4 Private Const SIF_DISABLENOSCROLL = &H8 Private Const SIF_TRACKPOS = &H10 Private Const SIF_ALL = (SIF_RANGE Or SIF_PAGE Or SIF_POS Or SIF_TRACKPOS) ' Scroll Bar Styles Private Const SBS_HORZ = &H0& Private Const SBS_VERT = &H1& Private Declare Function apiGetScrollInfo Lib "user32" Alias "GetScrollInfo" (ByVal hwnd As Long, ByVal n As Long, lpScrollInfo As SCROLLINFO) As Long Private Declare Function apiGetWindow Lib "user32" Alias "GetWindow" (ByVal hwnd As Long, ByVal wCmd As Long) As Long Private Declare Function apiGetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Type SCROLLINFO cbSize As Long fMask As Long nMin As Long nMax As Long nPage As Long nPos As Long nTrackPos As Long End Type Public Function GetScrollBarPosition(frm As Form) As Long On Error GoTo EH ' Return ScrollBar Thumb position for the Vertical Scrollbar attached to the Form passed to this Function. Dim hWndSB As Long Dim lngRet As Long Dim sinfo As SCROLLINFO '-- Init SCROLLINFO structure sinfo.fMask = SIF_ALL sinfo.cbSize = Len(sinfo) sinfo.nPos = 0 sinfo.nTrackPos = 0 '-- Call function to get handle to '-- ScrollBar control if it is visible hWndSB = IsScrollBar(frm) If hWndSB = -1 Then GetScrollBarPosition = False Exit Function End If '-- Get the window's ScrollBar position lngRet = apiGetScrollInfo(hWndSB, SB_CTL, sinfo) GetScrollBarPosition = sinfo.nPos + 1 Exit Function EH: Application.Echo True End Function Private Function IsScrollBar(frm As Form) As Long On Error GoTo EH Dim hWnd_VSB As Long Dim hwnd As Long '-- Get ScrollBar's hWnd hwnd = frm.hwnd '-- Get first Child Window of the FORM hWnd_VSB = apiGetWindow(hwnd, GW_CHILD) '-- Walk through every sibling window of the Form Do If GetClassName(hWnd_VSB) = "scrollBar" Then If apiGetWindowLong(hWnd_VSB, GWL_STYLE) And SBS_VERT Then IsScrollBar = hWnd_VSB Exit Function End If End If '-- Get the NEXT SIBLING Window hWnd_VSB = apiGetWindow(hWnd_VSB, GW_HWNDNEXT) '-- Start the process from the Top again '-- Really just an error check Loop While hWnd_VSB <> 0 '-- If no vertical ScrollBar control is currently visible for this Form then IsScrollBar = -1 Exit Function EH: Application.Echo True End Function Private Function GetClassName(hwnd As Long) As String On Error GoTo EH Dim strBuffer As String Dim lngLen As Long Const MAX_LEN = 255 strBuffer = Space$(MAX_LEN) lngLen = apiGetClassName(hwnd, strBuffer, MAX_LEN) If lngLen > 0 Then GetClassName = Left$(strBuffer, lngLen) End If Exit Function EH: Application.Echo True End Function ------------------------------------------------------------------------- Dan Waters -----Original Message----- Subject: [AccessD] Control which record shows at top of subform I have a subform and have buttons that navigate to certain records. Sometimes when the requested record is located it appears in the middle of the subform. I have the subform sized to show a certain amount of records at a time and want the "found" record to be at the top of my list. Is this possible? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________ From jwcolby at colbyconsulting.com Wed Nov 15 10:41:36 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 11:41:36 -0500 Subject: [AccessD] Filling in the CrossTab Help Request In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE106@corp-es01.fleetpride.com> Message-ID: <001f01c708d4$eb42eff0$e1265b05@m6805> I do that and it works great. However if the value of or quantity of these values change, the in clause has to be manually edited. Yuk. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 15, 2006 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filling in the CrossTab Help Request check out p157 of Getz's ADH. He suggests using an IN clause of the form PIVOT column-headings-field[IN((value1[,value2],...]])] HTH Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Wednesday, November 15, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 15 11:11:10 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 15 Nov 2006 17:11:10 +0000 Subject: [AccessD] Carry Forward in a query In-Reply-To: Message-ID: Chester, Just out of curiosity...why does it have to be a query and not code?...and in this scenario could call a custom function from the query? Just curious, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Carry Forward in a query >Date: Tue, 14 Nov 2006 16:40:39 -0600 > >Here is what I have now. One table with dates and one table like below. >Query SQL as below. This works great. > >SELECT T_PriceCurrent.SDate, >(Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) >from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) >AS PriceCurrent >FROM T_PriceCurrent; > >SDate Price >1/1/2005 8.56 >1/23/2005 8.73 >2/14/2005 8.40 >3/1/2005 8.00 >3/12/2005 8.45 >3/27/2005 8.95 >4/7/2005 8.12 >4/30/2005 7.95 >5/14/2005 8.03 >5/27/2005 8.24 >6/10/2005 9.03 >6/25/2005 9.17 >7/3/2005 9.25 >7/27/2005 9.40 >8/3/2005 9.64 > >What I cannot figure how to do is make it work if table looks like >below. I need output for each Pattern. >Pattern SDate Price >1 1/1/2005 8.56 >1 1/23/2005 8.73 >1 2/14/2005 8.40 >1 3/1/2005 8.00 >1 3/12/2005 8.45 >1 3/27/2005 8.95 >1 4/7/2005 8.12 >1 4/30/2005 7.95 >1 5/14/2005 8.03 >1 5/27/2005 8.24 >1 6/10/2005 9.03 >1 6/25/2005 9.17 >1 7/3/2005 9.25 >1 7/27/2005 9.40 >1 8/3/2005 9.64 >2 1/7/2005 8.27 >2 1/24/2005 8.71 >2 2/13/2005 8.35 >2 3/2/2005 8.02 >2 3/13/2005 8.44 >2 3/28/2005 8.93 >2 4/6/2005 8.10 >2 4/28/2005 7.98 >2 5/15/2005 8.05 >2 5/25/2005 8.20 >2 6/9/2005 9.00 >2 6/20/2005 9.15 >2 7/1/2005 9.23 >2 7/25/2005 9.35 >2 8/4/2005 9.65 >2 8/15/2005 9.50 > >Thanks for any ideas. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Tuesday, November 14, 2006 3:59 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Carry Forward in a query > >If I understand what you want to do, I have done this with a non >cartesian >join. I create a table with a one field record and one record for each >date. In the query window I place this table and the table with the >record >you want to duplicate WITHOUT ANY JOIN. the resulting data set produces >one >record for each date. HTH >Jim Hale > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Tuesday, November 14, 2006 3:13 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Carry Forward in a query > > >I have a table of data that has a record about every 6 months. I would >like to generate a record for every month using the previous months data >until there is data for the current records month. I can do this in code >but had a coworker ask if it could be done in a query. I am not coming >up with an answer. Your thoughts please. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline From ewaldt at gdls.com Wed Nov 15 11:13:23 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 15 Nov 2006 12:13:23 -0500 Subject: [AccessD] Filling in the CrossTab Help Request In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Message-ID: Yup, just like with months, days of the week, etc. I just couldn't remember how to do it; it had been a long time since I'd needed to do so. Thanks for your help. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 "Heenan, Lambert" 11/15/2006 10:22 AM To "'Access Developers discussion and problem solving'" cc "'ewaldt at gdls.com'" Subject RE: [AccessD] Filling in the CrossTab Help Request Sure. Open the Crosstab query in design mode. On the property sheet you will find a "Column Headings" property. Just fill this with a list of your columns ... "Qtr 1", "Qtr 2", "Qtr 3", "Qtr 4" ... then you will always have all columns reported, and in the order you specify. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, November 15, 2006 9:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From gjgiever at myway.com Wed Nov 15 11:28:08 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 15 Nov 2006 12:28:08 -0500 (EST) Subject: [AccessD] Open a database Message-ID: <20061115172808.453E3757D5@mprdmxin.myway.com> Yes. That was what I needed. I misunderstood what the original code was doing. Thank you. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Wed 11/15, Heenan, Lambert < Lambert.Heenan at aig.com > wrote: From: Heenan, Lambert [mailto: Lambert.Heenan at aig.com] To: accessd at databaseadvisors.com Date: Wed, 15 Nov 2006 10:58:09 -0500 Subject: Re: [AccessD] Open a database What your code does is create an object (dbMyDB) to point to the externalmdb file. You would then be able to manipulate the tables, queries etc. inthat file via code.It sounds like you want to actually start up the other database. For thatthere are various ways. For example...Sub OpenAnotherDb()Dim strDBName As StringDim dbl_D As DoubleDim strCommandLine As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" strCommandLine = Quote(SysCmd(acSysCmdAccessDir) & _ "MSACCESS.EXE") & " " & Quote(strDBName ) dbl_D = Shell(strCommandLine, vbNormalFocus) Application.Quit acQuitSaveNone ' closes the *current* databaseEnd SubFunction Quote(aString) As String Quote = """" & aString & """"End FunctionHTHLambert-----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 15, 2006 10:41 AMTo: accessd at databaseadvisors.comSubject: [AccessD] Open a databaseThis is frustrating. All I want to do is open another database from thecurrently open database. The code is like the help examples:Dim dbMyDB As DatabaseDim strDBName As StringstrDBName = "C:\My Documents\ClientMasterUpdate.mdb"Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName)But nothing happens. What am I missing?Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From Chester_Kaup at kindermorgan.com Wed Nov 15 12:42:36 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Nov 2006 12:42:36 -0600 Subject: [AccessD] Carry Forward in a query In-Reply-To: Message-ID: A fellow employee who does not write code asked if it could be done. I am thinking not or certainly not the best way or practical way to go about doing it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 15, 2006 11:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Carry Forward in a query Chester, Just out of curiosity...why does it have to be a query and not code?...and in this scenario could call a custom function from the query? Just curious, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Carry Forward in a query >Date: Tue, 14 Nov 2006 16:40:39 -0600 > >Here is what I have now. One table with dates and one table like below. >Query SQL as below. This works great. > >SELECT T_PriceCurrent.SDate, >(Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) >from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) >AS PriceCurrent >FROM T_PriceCurrent; > >SDate Price >1/1/2005 8.56 >1/23/2005 8.73 >2/14/2005 8.40 >3/1/2005 8.00 >3/12/2005 8.45 >3/27/2005 8.95 >4/7/2005 8.12 >4/30/2005 7.95 >5/14/2005 8.03 >5/27/2005 8.24 >6/10/2005 9.03 >6/25/2005 9.17 >7/3/2005 9.25 >7/27/2005 9.40 >8/3/2005 9.64 > >What I cannot figure how to do is make it work if table looks like >below. I need output for each Pattern. >Pattern SDate Price >1 1/1/2005 8.56 >1 1/23/2005 8.73 >1 2/14/2005 8.40 >1 3/1/2005 8.00 >1 3/12/2005 8.45 >1 3/27/2005 8.95 >1 4/7/2005 8.12 >1 4/30/2005 7.95 >1 5/14/2005 8.03 >1 5/27/2005 8.24 >1 6/10/2005 9.03 >1 6/25/2005 9.17 >1 7/3/2005 9.25 >1 7/27/2005 9.40 >1 8/3/2005 9.64 >2 1/7/2005 8.27 >2 1/24/2005 8.71 >2 2/13/2005 8.35 >2 3/2/2005 8.02 >2 3/13/2005 8.44 >2 3/28/2005 8.93 >2 4/6/2005 8.10 >2 4/28/2005 7.98 >2 5/15/2005 8.05 >2 5/25/2005 8.20 >2 6/9/2005 9.00 >2 6/20/2005 9.15 >2 7/1/2005 9.23 >2 7/25/2005 9.35 >2 8/4/2005 9.65 >2 8/15/2005 9.50 > >Thanks for any ideas. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Tuesday, November 14, 2006 3:59 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Carry Forward in a query > >If I understand what you want to do, I have done this with a non >cartesian >join. I create a table with a one field record and one record for each >date. In the query window I place this table and the table with the >record >you want to duplicate WITHOUT ANY JOIN. the resulting data set produces >one >record for each date. HTH >Jim Hale > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Tuesday, November 14, 2006 3:13 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Carry Forward in a query > > >I have a table of data that has a record about every 6 months. I would >like to generate a record for every month using the previous months data >until there is data for the current records month. I can do this in code >but had a coworker ask if it could be done in a query. I am not coming >up with an answer. Your thoughts please. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&sour ce=hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Nov 15 13:27:51 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 15 Nov 2006 14:27:51 -0500 Subject: [AccessD] Carry Forward in a query In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6FC82@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35AB9@ADGSERVER> It can in SQL Server according to this article: http://builder.com.com/5100-6388_14-6132748.html?tag=nl.e601 Not sure if it can be done in Access. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 15, 2006 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Carry Forward in a query A fellow employee who does not write code asked if it could be done. I am thinking not or certainly not the best way or practical way to go about doing it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 15, 2006 11:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Carry Forward in a query Chester, Just out of curiosity...why does it have to be a query and not code?...and in this scenario could call a custom function from the query? Just curious, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Carry Forward in a query >Date: Tue, 14 Nov 2006 16:40:39 -0600 > >Here is what I have now. One table with dates and one table like below. >Query SQL as below. This works great. > >SELECT T_PriceCurrent.SDate, >(Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) >from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) >AS PriceCurrent >FROM T_PriceCurrent; > >SDate Price >1/1/2005 8.56 >1/23/2005 8.73 >2/14/2005 8.40 >3/1/2005 8.00 >3/12/2005 8.45 >3/27/2005 8.95 >4/7/2005 8.12 >4/30/2005 7.95 >5/14/2005 8.03 >5/27/2005 8.24 >6/10/2005 9.03 >6/25/2005 9.17 >7/3/2005 9.25 >7/27/2005 9.40 >8/3/2005 9.64 > >What I cannot figure how to do is make it work if table looks like >below. I need output for each Pattern. >Pattern SDate Price >1 1/1/2005 8.56 >1 1/23/2005 8.73 >1 2/14/2005 8.40 >1 3/1/2005 8.00 >1 3/12/2005 8.45 >1 3/27/2005 8.95 >1 4/7/2005 8.12 >1 4/30/2005 7.95 >1 5/14/2005 8.03 >1 5/27/2005 8.24 >1 6/10/2005 9.03 >1 6/25/2005 9.17 >1 7/3/2005 9.25 >1 7/27/2005 9.40 >1 8/3/2005 9.64 >2 1/7/2005 8.27 >2 1/24/2005 8.71 >2 2/13/2005 8.35 >2 3/2/2005 8.02 >2 3/13/2005 8.44 >2 3/28/2005 8.93 >2 4/6/2005 8.10 >2 4/28/2005 7.98 >2 5/15/2005 8.05 >2 5/25/2005 8.20 >2 6/9/2005 9.00 >2 6/20/2005 9.15 >2 7/1/2005 9.23 >2 7/25/2005 9.35 >2 8/4/2005 9.65 >2 8/15/2005 9.50 > >Thanks for any ideas. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Tuesday, November 14, 2006 3:59 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Carry Forward in a query > >If I understand what you want to do, I have done this with a non >cartesian >join. I create a table with a one field record and one record for each >date. In the query window I place this table and the table with the >record >you want to duplicate WITHOUT ANY JOIN. the resulting data set produces >one >record for each date. HTH >Jim Hale > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Tuesday, November 14, 2006 3:13 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Carry Forward in a query > > >I have a table of data that has a record about every 6 months. I would >like to generate a record for every month using the previous months data >until there is data for the current records month. I can do this in code >but had a coworker ask if it could be done in a query. I am not coming >up with an answer. Your thoughts please. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&sour ce=hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 15 13:20:47 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Nov 2006 11:20:47 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <003201c7079d$33481390$39b82ad1@SUSANONE> Message-ID: <0J8S00MU4DOCTEF0@l-daemon> Hi Susan: I finally figured out what the problem is... If the reading area of the Browser is less than 640px then the image shifts. Having a screen surface of 1280px, I was blissfully unaware of any issues. I have now reduced the image to 500px. (Please note: That the DBA web site access log shows no viewers with screen width of 640px, have viewed the site in a couple of years. The smallest shown is a width of 1024px.) I have also removed the insignias from the plane fuselage. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- 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 15 13:46:06 2006 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 15 Nov 2006 20:46:06 +0100 Subject: [AccessD] create cascade combobox Message-ID: <000a01c708ee$b0cd6d40$4001a8c0@qmotionfaa3ad9> Hello Group, i downloaded the create cascade combobox from Candace trip's database. I can't figure out how to store the data from the cascade selection into a headtable. I have a headtable in which some records are from lookup table (sub). I use the subtable to create the cascade comboboxes. How can i store the data in the headtable? Thanks Pedro Janssen From jwcolby at colbyconsulting.com Wed Nov 15 14:03:42 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 15:03:42 -0500 Subject: [AccessD] 3DFTP API Message-ID: <003a01c708f1$26ab4e90$e1265b05@m6805> For anyone using 3DFTP (and I recommend it highly) and need to program to it, I am building a class that encapsulates all of the methods of the API. The API works against some unknown thing (the EXE itself I believe). The result of which is that late binding is not supported, all you can do is dim an object, then Create() the instance of 3DFTP. This means that intellisense is not available. For this and other reasons I am building a class that essentially encapsulates the coding examples (corrected to actually work) from the PDF help file. If you want it the class, let me know (offline). The API is free from their site and the program is dirt cheap. I am working on stuff that has to FTP files up/down and 3dFTP is a very solid tool for this. John W. Colby Colby Consulting www.ColbyConsulting.com From Jdemarco at hudsonhealthplan.org Wed Nov 15 14:07:40 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 15 Nov 2006 15:07:40 -0500 Subject: [AccessD] OT: Moving Web Server Message-ID: <0B8880A20E2CF24280FA60901E108FB0243B@TTNEXCHSVR.hshhp.com> List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY From Jim.Hale at FleetPride.com Wed Nov 15 15:09:15 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 15 Nov 2006 15:09:15 -0600 Subject: [AccessD] ATA airport list for the DBA list Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE111@corp-es01.fleetpride.com> Wow you are sure accomodating. At least no one complained it was a Boeing instead of Airbus ;-) Jim Hale -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, November 15, 2006 1:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I finally figured out what the problem is... If the reading area of the Browser is less than 640px then the image shifts. Having a screen surface of 1280px, I was blissfully unaware of any issues. I have now reduced the image to 500px. (Please note: That the DBA web site access log shows no viewers with screen width of 640px, have viewed the site in a couple of years. The smallest shown is a width of 1024px.) I have also removed the insignias from the plane fuselage. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Wed Nov 15 15:27:03 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 15 Nov 2006 13:27:03 -0800 Subject: [AccessD] Useful Lists In-Reply-To: <200611151630.kAFGU6q12304@databaseadvisors.com> References: <200611151630.kAFGU6q12304@databaseadvisors.com> Message-ID: <455B8627.6040001@shaw.ca> I tried another free web service and got the same result from http://www.xmethods.net So I guess you get what you pay for like a half hour delay on stock and commodity quotes. I have seen bond service quotes handled via soap and they cost $1000 a month. Even Lat Longs of a zip code centroid may not fall within the zip code if a center of gravity calculation method is used on a concave polygon. http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.tilisoft.com/ws/LocInfo/ZipCode.asmx?WSDL Robert L. Stewart wrote: >Oh Well, > >I tried their postal code web service for the USA. >Mine is 77418. The area code changed over 5 years >ago from 409 to 979. Their service is still returning >409 as the area code. > >Are they maintaining the data? If not, what use is >a bad list of data? > >I am willing to host the databases in SQL Server for >all to connect to for the data. As long as we all >behave and keep the list up to date as well as not >put junk into them. I have a couple, like the postal >code list, some of the ISO standards lists for country >codes, SIC and NAICS code, and so on that I can start >it with it any one else is interested. I also have some >of the TIGER data tables for the USA. > >Robert > >At 08:27 AM 11/15/2006, you wrote: > > >>Date: Tue, 14 Nov 2006 21:08:15 -0800 >>From: MartyConnelly >>Subject: Re: [AccessD] Useful Lists >>To: Access Developers discussion and problem solving >> >>Message-ID: <455AA0BF.7050407 at shaw.ca> >>Content-Type: text/plain; charset=windows-1252; format=flowed >> >>In addition to lists there are public web services that provide things like >>those listed below from places like >>http://www.webservicex.net/WS/default.aspx >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From lembit.dbamail at t-online.de Wed Nov 15 15:27:40 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Wed, 15 Nov 2006 22:27:40 +0100 Subject: [AccessD] XP-mde on A2003? References: <200611141636.kAEGaAq01765@databaseadvisors.com> <001a01c70819$6d7187f0$1800a8c0@s1800> Message-ID: <001e01c708fc$e13fbce0$1800a8c0@s1800> it worked Access 2002 - MDE runs under Access 2003 Lembit ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 14, 2006 7:19 PM Subject: Re: [AccessD] XP-mde on A2003? > Thanks everyone for answering. > I have made a little A2002 MDE and sent him. > will let you all know. > > Lembit > > ----- Original Message ----- > From: "Robert L. Stewart" > To: > Cc: > Sent: Tuesday, November 14, 2006 5:32 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> Lembit, >> >> The simple answer is yes, he can run it. >> >> Robert >> >> At 10:22 AM 11/14/2006, you wrote: >>>From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] >>>Sent: Saturday, November 11, 2006 12:23 PM >>>To: Access Developers discussion and problem solving >>>Subject: [AccessD] XP-mde on A2003? >>> >>>Hi everyone, >>>I have been asked to write an Access db for a friend. >>>I have Access-XP (2002) on my machine >>>he has Access 2003 >>> >>>can he run an mde from me on his machine? >>> >>>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 accessd at shaw.ca Wed Nov 15 15:33:17 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Nov 2006 13:33:17 -0800 Subject: [AccessD] OT: Moving Web Server In-Reply-To: <0B8880A20E2CF24280FA60901E108FB0243B@TTNEXCHSVR.hshhp.com> Message-ID: <0J8S00M6YJT6N4A0@l-daemon> Hi Jim: There are some tools out there. When I moved our server it was recommended that we use one of the free (open-source) products. It did not work so I spent a number of hours migrating everything manually. One product you can try is from http://www.adsonline.co.uk/IISExport/. I would suspect that most of the basic items will move without issue but the extended items will need some tweaking and manual intervention. Even if you have to do parts manually it should not take too long. I moved 70 plus clients' design sites in a couple of hours. If you need any help you can contact me OL. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, November 15, 2006 12:08 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Moving Web Server List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY -- 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 15 17:29:29 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 15 Nov 2006 17:29:29 -0600 Subject: [AccessD] OT: Moving Web Server Message-ID: <17724746D360394AA3BFE5B8D40A9C1B014B1666@MARLOW_MAIN2.marlow.com> I had to look into this a few years ago, going from a 2000 server to a 2000 server. Our original Intranet was just a file server, not even using an web server. I built a 'new' intranet on my workstation, and hosted it there for the first several months, as it grew into a function intranet. After it had grown it's own wings, we moved it to it's own server....... at that time (I'd say it was 2002), there were very few utilities to 'move' a webserver from one box to another. That may have changed with 2003. I ended up just doing it manually. That allowed me to also clean up some of the mess from the initial creation, and organize it a little better. One possibility would be to use Frontpage to 'copy' the website (I know FP 2003 can do this, never tried with previous versions.....and I don't know if it will setup all the subwebs or not...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Wednesday, November 15, 2006 2:08 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Moving Web Server List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY -- 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 15 18:29:26 2006 From: john at winhaven.net (John Bartow) Date: Wed, 15 Nov 2006 18:29:26 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <001e01c708fc$e13fbce0$1800a8c0@s1800> Message-ID: <200611160029.kAG0TPq14754@databaseadvisors.com> Lembit, Thanks for the followup. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Wednesday, November 15, 2006 3:28 PM it worked Access 2002 - MDE runs under Access 2003 From john at winhaven.net Wed Nov 15 18:29:26 2006 From: john at winhaven.net (John Bartow) Date: Wed, 15 Nov 2006 18:29:26 -0600 Subject: [AccessD] OT: Moving Web Server In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B014B1666@MARLOW_MAIN2.marlow.com> Message-ID: <200611160029.kAG0TSq14783@databaseadvisors.com> That's a good idea. FP 2k3 can do all the subnets (there's a switch in the settings for that purpose). It would probably need some tweaking but I would think the majority of the work would be accomplished for you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 15, 2006 5:29 PM One possibility would be to use Frontpage to 'copy' the website (I know FP 2003 can do this, never tried with previous versions.....and I don't know if it will setup all the subwebs or not...) From artful at rogers.com Wed Nov 15 19:10:49 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 15 Nov 2006 17:10:49 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061116011049.61581.qmail@web88214.mail.re2.yahoo.com> >> If not, what use is a bad list of data? It might disorient terrorists. From adtp at airtelbroadband.in Wed Nov 15 23:06:06 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 16 Nov 2006 10:36:06 +0530 Subject: [AccessD] Copy a record in a table References: <002601c708c3$7735adc0$6401a8c0@HAL9005> Message-ID: <004901c7093d$063dd8c0$8808177d@pcadt> Rocky, Both the sub-routines work directly upon the table in question. There is no dependence upon any form or its recordset. You have only to supply the name of table, name of primary key field and PK value of target record (desired to be copied). As suggested earlier, the procedure as per (B) should be preferred as it is far more efficient. It does not require opening of the table. Even a recordset is not required to be opened. Note - Sub-routine (A), though not the optimum alternative, had been given merely to demonstrate a direct rough & ready approach as demanded by you. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 20:06 Subject: Re: [AccessD] Copy a record in a table A.D.: Thanks for those routines. A looks like it will work only if the recordset is bound to the form? And then will copy the current record? Or will it work on any table even if it is not the record source? I'm not familiar with all those commands but I'll look them up in Help. Thanks again fro your response. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 14, 2006 11:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table Rocky, Apparently, you are looking for a straightforward method to copy an existing record to new record in the same table, without having to bother with individual field names. It is presumed that the table has autonumber type primary key. Use of an insert statement with wild card for field names looks tempting and deceptively simple. However, it gets ruled out as the action would attempt to create a duplicate value in primary key field. A rough & ready method involves copying of desired record to clipboard and then pasting it on to the new record. This works smoothly, without attracting any error on a/c of attempted duplication of primary key value. Instead, correct autoonumber gets automatically assigned to the newly pasted record, over-ruling the PK value in clipboard. Sample sub-routine named P_CopyRecordToNew(), as given at (A) below, demonstrates this approach. For ready reference, sample sub-routine P_InsertRecordCopy(), as given at (B) below, represents a more formal approach for accomplishing the same task. Once you put these subs in a general module, invoking the one at (B) should be equally convenient as the one at (A). Eventually, you might prefer the one at (B). Best wishes, A.D.Tejpal --------------- A) Copy existing record to new record in same table (Rough & Ready method) ================================== Sub P_CopyRecordToNew(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) DoCmd.OpenTable TableName DoCmd.GoToControl PkName DoCmd.FindRecord PkNum DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.GoToRecord , , acNewRec DoCmd.RunCommand acCmdPaste DoCmd.Close acTable, TableName, acSaveYes End Sub ================================== B) Copy existing record to new record in same table (Formal method) ================================== Sub P_InsertRecordCopy(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) Dim Qst As String, FieldList As String Dim fd As Field Dim db As DAO.Database Set db = DBEngine(0)(0) FieldList = "" For Each fd In db.TableDefs(TableName).Fields If fd.Name <> PkName Then FieldList = FieldList & _ IIf(Len(FieldList) > 0, _ ", ", "") & fd.Name End If Next Qst = "Insert Into " & TableName & " (" & _ FieldList & ") Select " & FieldList & _ " From " & TableName & " Where " & _ PkName & " = " & PkNum & ";" db.Execute Qst, dbFailOnError Set fd = Nothing Set db = Nothing End Sub ================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 06:41 Subject: [AccessD] Copy a record in a table Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From prodevmg at yahoo.com Wed Nov 15 23:15:37 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 15 Nov 2006 21:15:37 -0800 (PST) Subject: [AccessD] Control which record shows at top of subform Message-ID: <20061116051537.51786.qmail@web33108.mail.mud.yahoo.com> Thanks guys. The user now just wants to filter the records that are need to show in the subform instead of trying to navigate to them. This is simpler and much easier. Thank anyway. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Reuben Cummings To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 9:54:05 AM Subject: Re: [AccessD] Control which record shows at top of subform There's a difference between being at the top of the list and being "shown" at the top of the list. I've set up some continuous forms that upon opening highlight the line that corresponds to today's date. It doesn't put that line at the top of the list, but it does "look" like it's the top of the list. I do this by running thru the recordset until I find the record I want and then set the bookmark to that record and refresh the form. If you actually want it at the top could you add a field to the table and use it as a "marker"? When you find what should be the first record set the record to 0 and all the other records in this recordset = 1. Sort ascending and you now have the appropriate record at the top. You could do all this using the recordsetclone. I have never tried the second option - it's just an idea. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Wednesday, November 15, 2006 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Control which record shows at top of subform > > > The short answer is not easily. > > If somebody here provides a solution I too will be smiling! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson > Sent: Wednesday, November 15, 2006 9:09 AM > To: AccessD solving' > Subject: [AccessD] Control which record shows at top of subform > > I have a subform and have buttons that navigate to certain records. > Sometimes when the requested record is located it appears in the middle of > the subform. > > I have the subform sized to show a certain amount of records at a time and > want the "found" record to be at the top of my list. > > Is this possible? > > > > > > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases Visit me at ==> > http://www.prodev.us > > > > __________________________________________________________________ > __________ > ________ > Sponsored Link > > Compare mortgage rates for today. > Get up to 5 free quotes. > Www2.nextag.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Sponsored Link Online degrees - find the right program to advance your career. Www.nextag.com From adtp at airtelbroadband.in Thu Nov 16 00:12:55 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 16 Nov 2006 11:42:55 +0530 Subject: [AccessD] Carry Forward in a query References: Message-ID: <001501c70946$67f30910$430b65cb@pcadt> Chester, It is presumed that table T_PriceIndex too has the field named Pattern, with appropriate entries. In such a case, you could try modified SQL as follows: SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.Pattern = T_PriceCurrent.Pattern And T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.Pattern = T_PriceCurrent.Pattern And T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; Caution: Thi is AirCode - The suggested SQL has not been subjected to actual test. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Kaup, Chester To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 04:10 Subject: Re: [AccessD] Carry Forward in a query Here is what I have now. One table with dates and one table like below. Query SQL as below. This works great. SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; SDate Price 1/1/2005 8.56 1/23/2005 8.73 2/14/2005 8.40 3/1/2005 8.00 3/12/2005 8.45 3/27/2005 8.95 4/7/2005 8.12 4/30/2005 7.95 5/14/2005 8.03 5/27/2005 8.24 6/10/2005 9.03 6/25/2005 9.17 7/3/2005 9.25 7/27/2005 9.40 8/3/2005 9.64 What I cannot figure how to do is make it work if table looks like below. I need output for each Pattern. Pattern SDate Price 1 1/1/2005 8.56 1 1/23/2005 8.73 1 2/14/2005 8.40 1 3/1/2005 8.00 1 3/12/2005 8.45 1 3/27/2005 8.95 1 4/7/2005 8.12 1 4/30/2005 7.95 1 5/14/2005 8.03 1 5/27/2005 8.24 1 6/10/2005 9.03 1 6/25/2005 9.17 1 7/3/2005 9.25 1 7/27/2005 9.40 1 8/3/2005 9.64 2 1/7/2005 8.27 2 1/24/2005 8.71 2 2/13/2005 8.35 2 3/2/2005 8.02 2 3/13/2005 8.44 2 3/28/2005 8.93 2 4/6/2005 8.10 2 4/28/2005 7.98 2 5/15/2005 8.05 2 5/25/2005 8.20 2 6/9/2005 9.00 2 6/20/2005 9.15 2 7/1/2005 9.23 2 7/25/2005 9.35 2 8/4/2005 9.65 2 8/15/2005 9.50 Thanks for any ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 14, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Carry Forward in a query If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup From Gustav at cactus.dk Thu Nov 16 08:18:21 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Nov 2006 15:18:21 +0100 Subject: [AccessD] Copy a record in a table Message-ID: Hi Rocky Thanks. I got the idea that using Clone for opening the second recordset would be faster: - from Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") - to Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = rst.Clone But it isn't; it runs about 5% slower. On my 2.2 GHz machine the function runs in less than 20 ms. /gustav >>> bchacc at san.rr.com 15-11-2006 15:42 >>> G: I'm a big DAO fan. Do lots of little things with it. So I love the routine. My approach on this one, since there were only five fields in the table was to Dim a variable for each field, put the values in the variables, do an .AddNew, and copy the variables into the new records fields. That's crude! Yours isn't. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 15, 2006 3:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Copy a record in a table Hi Rocky Crude? How come? DAO is normally the fastest method to add a record to a recordset. Here's a basic function: Public Function CopyRecord( _ ByVal strTable As String, _ ByVal strId As String, _ ByVal lngId As Long) _ As Boolean Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim rstAdd As DAO.Recordset Dim fld As DAO.Field Dim strFld As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") With rstAdd .AddNew For Each fld In rstAdd.Fields With fld strFld = .Name If Not strFld = strId Then .Value = rst.Fields(strFld).Value End If End With Next .Update .Close End With rst.Close Set fld = Nothing Set rstAdd = Nothing Set rst = Nothing Set dbs = Nothing End Function Of course, you will need to refine this for compound indices, other unique indices, OLE fields, default values etc. Also add error handling. /gustav >>> bchacc at san.rr.com 15-11-2006 02:11 >>> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From Jdemarco at hudsonhealthplan.org Thu Nov 16 08:26:37 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 16 Nov 2006 09:26:37 -0500 Subject: [AccessD] OT: Moving Web Server Message-ID: <0B8880A20E2CF24280FA60901E108FB0245A@TTNEXCHSVR.hshhp.com> Thanks Drew and Jim. I'll look into both of those options. I wonder if Dreamweaver will move sites too (I know we have copies of that here). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 15, 2006 6:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Moving Web Server I had to look into this a few years ago, going from a 2000 server to a 2000 server. Our original Intranet was just a file server, not even using an web server. I built a 'new' intranet on my workstation, and hosted it there for the first several months, as it grew into a function intranet. After it had grown it's own wings, we moved it to it's own server....... at that time (I'd say it was 2002), there were very few utilities to 'move' a webserver from one box to another. That may have changed with 2003. I ended up just doing it manually. That allowed me to also clean up some of the mess from the initial creation, and organize it a little better. One possibility would be to use Frontpage to 'copy' the website (I know FP 2003 can do this, never tried with previous versions.....and I don't know if it will setup all the subwebs or not...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Wednesday, November 15, 2006 2:08 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Moving Web Server List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 09:46:02 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 09:46:02 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <001501c70946$67f30910$430b65cb@pcadt> References: <001501c70946$67f30910$430b65cb@pcadt> Message-ID: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith From cfoust at infostatsystems.com Thu Nov 16 10:30:21 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Nov 2006 08:30:21 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: Remind me what version of Access you're using. ADO is capable to handling xml files, but you need to have a good idea of the structure involved. The line breaks don't really count in an xml file, they're there for human use. Can you look at the file in an xml parser? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 7:46 AM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 16 10:32:41 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 16 Nov 2006 11:32:41 -0500 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <006b01c7099c$d689c610$e1265b05@m6805> Not having followed the original thread... It sounds like a good place for a pair of classes. One class would hold each "snippet" based on the < characters. A parent class would break down the string into these snippets, load them into the snippet classes and hold the snippet classes in a collection. Once the huge string is parsed into snippets, the parent class can process them by iterating the collection of snippets doing whatever was required for each snippet. Once you have processed the snippets, you can write the results out to a table. That is obviously a "big picture". Can you paste a sample of the xml into an email so that I can see it. Sorry, I wasn't following the original discussion. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 10:46 AM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Nov 16 10:36:48 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 16 Nov 2006 19:36:48 +0300 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <000f01c7099d$6970e3f0$6401a8c0@nant> Hello Greg, Have a look at this topic's code samples: http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm It can give you idea how to parse your XML file(s) using MS XML Core Services (installed by default (v.5.x) with MS Office/Access 2003). For other MS Access/Office versions or for the cases when IE is absent on target PC MSXML Core Services should be downloaded from here http://msdn.microsoft.com/XML/XMLDownloads/default.aspx and installed. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 6:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 11:03:50 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 11:03:50 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: References: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <43938.65.118.249.214.1163696630.squirrel@cetus.email.starband.net> Charlotte: I'm using MS Access 2003, but the system where it will be implemented is Access XP. I can look at the XML file using XLMSpy Home and it authenticates to a DTD for validity. However, Access does not recognize it as a valid type because it's attribute-centric XML, not element-centric XML (or so I've been told). When I import it into Access, it just comes up with a bunch of empty tables. When I append to those tables, it just adds another empty row. And I was told that the reason for that is because of the attribute/element issue, which MS talks about in their Tech Support, but doesn't address this type of XML. Greg > Remind me what version of Access you're using. ADO is capable to > handling xml files, but you need to have a good idea of the structure > involved. The line breaks don't really count in an xml file, they're > there for human use. Can you look at the file in an xml parser? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 7:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea was...well..it > sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily import > them as text, separate out what I need and put it into the required > tables. However, since they send it as a single string, it becomes > harder to parse it since there are multiple duplicated 'keys' that I > need to pull from it. And they're not necessarily in the same position > all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, not > columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse that > into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) transform > that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), would > be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 11:08:41 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 11:08:41 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <006b01c7099c$d689c610$e1265b05@m6805> References: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> <006b01c7099c$d689c610$e1265b05@m6805> Message-ID: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would hold > each "snippet" based on the < characters. A parent class would break > down the string into these snippets, load them into the snippet classes > and hold the snippet classes in a collection. Once the huge string is > parsed into snippets, the parent class can process them by iterating the > collection of snippets doing whatever was required for each snippet. > > Once you have processed the snippets, you can write the results out to a > table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea was...well..it > sucked. > If the XML they were sending to me were compatible then I might have > had a > chance...but it's just not feasible. There actually wasn't any way to > define it using a dtd/xls/xlst within my lifetime, so I'm going to have > to use a different approach. > > The files they send as XML are not that large, so I could easily import > them as text, separate out what I need and put it into the required > tables. However, since they send it as a single string, it becomes > harder to parse it since there are multiple duplicated 'keys' that I > need to pull from it. And they're not necessarily in the same position > all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, not > columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse that > into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) transform > that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), would > be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 11:20:55 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 11:20:55 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <000f01c7099d$6970e3f0$6401a8c0@nant> References: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> <000f01c7099d$6970e3f0$6401a8c0@nant> Message-ID: <45248.65.118.249.214.1163697655.squirrel@cetus.email.starband.net> Shamil: Thanks...I'm looking at it now. This will take a little closer examination to see if it will work! Thanks again. Greg > Hello Greg, > > Have a look at this topic's code samples: > > http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm > > It can give you idea how to parse your XML file(s) using MS XML Core > Services (installed by default (v.5.x) with MS Office/Access 2003). > > For other MS Access/Office versions or for the cases when IE is absent > on target PC MSXML Core Services should be downloaded from here > http://msdn.microsoft.com/XML/XMLDownloads/default.aspx and installed. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 6:46 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea was...well..it > sucked. > If the XML they were sending to me were compatible then I might have > had > a chance...but it's just not feasible. There actually wasn't any way to > define it using a dtd/xls/xlst within my lifetime, so I'm going to have > to use a different approach. > > The files they send as XML are not that large, so I could easily import > them as text, separate out what I need and put it into the required > tables. However, since they send it as a single string, it becomes > harder to parse it since there are multiple duplicated 'keys' that I > need to pull from it. And they're not necessarily in the same position > all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, not > columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse that > into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) transform > that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), would > be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 16 11:29:53 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Nov 2006 09:29:53 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <43938.65.118.249.214.1163696630.squirrel@cetus.email.starband.net> Message-ID: Ack! No wonder you're having problems importing. I've never tried that type with Access, only Vb.Net, so I'll leave the rescue to Shamil. LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 9:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? Charlotte: I'm using MS Access 2003, but the system where it will be implemented is Access XP. I can look at the XML file using XLMSpy Home and it authenticates to a DTD for validity. However, Access does not recognize it as a valid type because it's attribute-centric XML, not element-centric XML (or so I've been told). When I import it into Access, it just comes up with a bunch of empty tables. When I append to those tables, it just adds another empty row. And I was told that the reason for that is because of the attribute/element issue, which MS talks about in their Tech Support, but doesn't address this type of XML. Greg > Remind me what version of Access you're using. ADO is capable to > handling xml files, but you need to have a good idea of the structure > involved. The line breaks don't really count in an xml file, they're > there for human use. Can you look at the file in an xml parser? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 7:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 16 11:47:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 16 Nov 2006 12:47:14 -0500 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> Message-ID: <007301c709a7$40a51ea0$e1265b05@m6805> OK, so I assume that you want to get the items, enclosed by < /> where there are two "values" separated by a space? You want all of them? Just specific ones? Are there more than one of the "big items" defined as the entire thing you sent me) in a single file? This looks trivial to parse based on the <> pairs as beginning / ending a field. This assumes that neither of these characters are found in the image data. I am not intimate with XML, but I thought that XML had data . This obviously doesn't. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would > hold each "snippet" based on the < characters. A parent class would > break down the string into these snippets, load them into the snippet > classes and hold the snippet classes in a collection. Once the huge > string is parsed into snippets, the parent class can process them by > iterating the collection of snippets doing whatever was required for each snippet. > > Once you have processed the snippets, you can write the results out to > a table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 16 11:59:46 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Nov 2006 09:59:46 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <007301c709a7$40a51ea0$e1265b05@m6805> Message-ID: More likely something like this, where the attribute readonly, of the element dbtype, has a value of "False": 0 Multiple attributes in the element would be separated by spaces. Each element can have 0 to many attributes and they could conceivably vary from node to node. Ouch! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 16, 2006 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Parsing XML as a string? OK, so I assume that you want to get the items, enclosed by < /> where there are two "values" separated by a space? You want all of them? Just specific ones? Are there more than one of the "big items" defined as the entire thing you sent me) in a single file? This looks trivial to parse based on the <> pairs as beginning / ending a field. This assumes that neither of these characters are found in the image data. I am not intimate with XML, but I thought that XML had data . This obviously doesn't. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would > hold each "snippet" based on the < characters. A parent class would > break down the string into these snippets, load them into the snippet > classes and hold the snippet classes in a collection. Once the huge > string is parsed into snippets, the parent class can process them by > iterating the collection of snippets doing whatever was required for > each snippet. > > Once you have processed the snippets, you can write the results out to > a table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Thu Nov 16 12:56:42 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 16 Nov 2006 13:56:42 -0500 Subject: [AccessD] Parsing XML as a string? Message-ID: <0B8880A20E2CF24280FA60901E108FB0248A@TTNEXCHSVR.hshhp.com> Not to oversimplify (and XSL is not simple) but if this is a file you're going to handle regularly I'd consider writing an XSL transform to put the attributes into nodes that Access will understand. Then your import will be trivial. You've already noted that the file is validated via DTD so we know it'll parse. Great book on subject : "Just XSL" Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, November 16, 2006 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Parsing XML as a string? More likely something like this, where the attribute readonly, of the element dbtype, has a value of "False": 0 Multiple attributes in the element would be separated by spaces. Each element can have 0 to many attributes and they could conceivably vary from node to node. Ouch! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 16, 2006 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Parsing XML as a string? OK, so I assume that you want to get the items, enclosed by < /> where there are two "values" separated by a space? You want all of them? Just specific ones? Are there more than one of the "big items" defined as the entire thing you sent me) in a single file? This looks trivial to parse based on the <> pairs as beginning / ending a field. This assumes that neither of these characters are found in the image data. I am not intimate with XML, but I thought that XML had data . This obviously doesn't. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would > hold each "snippet" based on the < characters. A parent class would > break down the string into these snippets, load them into the snippet > classes and hold the snippet classes in a collection. Once the huge > string is parsed into snippets, the parent class can process them by > iterating the collection of snippets doing whatever was required for > each snippet. > > Once you have processed the snippets, you can write the results out to > a table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 13:18:14 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 13:18:14 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <007301c709a7$40a51ea0$e1265b05@m6805> References: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> <007301c709a7$40a51ea0$e1265b05@m6805> Message-ID: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> John: Yes...I want a lot of the enclosed < /> fields, but I also need them with respect to their description, such as the FEES, of which (in this example) there are 5, each with it's own description "StandardFee", etc. So I'll not only need to get the data, such as the fee, but I have to be able to delineate which fee it is so it can go in the right table field. For all practical purposes, I can ignore anything after the start of the because there's no data past that point. And you are also correct in that this doesn't fit today's standard xml format. I've even asked the people who are sending it to me just WHAT type of xml is it, but not gotten an answer...which makes me believe they don't know either. It works for what they want, so don't mess with it I guess...and, of course, out of 99 counties, mine is the ONLY one using an Access db program to do the Recorder's work (so far... :)). You'll note that some of the Elements (Fee) have two attributes, whereas some of them (Grantor) have many more. So a rule that says only get the two would not work in all cases. Although maybe breaking it down first by the < /> and then looking inside each of those... Greg > OK, so I assume that you want to get the items, enclosed by < /> where > there are two "values" separated by a space? > > You want all of them? > Just specific ones? > Are there more than one of the "big items" defined as the entire thing > you sent me) in a single file? > > This looks trivial to parse based on the <> pairs as beginning / ending > a field. This assumes that neither of these characters are found in the > image data. > > I am not intimate with XML, but I thought that XML had data > . This obviously doesn't. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 12:09 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Parsing XML as a string? > > John: > > I sent you a full copy of the XML file offline. > > Greg > >> Not having followed the original thread... >> >> It sounds like a good place for a pair of classes. One class would >> hold each "snippet" based on the < characters. A parent class would >> break down the string into these snippets, load them into the snippet >> classes and hold the snippet classes in a collection. Once the huge >> string is parsed into snippets, the parent class can process them by >> iterating the collection of snippets doing whatever was required for >> each > snippet. >> >> Once you have processed the snippets, you can write the results out to >> a table. >> >> That is obviously a "big picture". >> >> Can you paste a sample of the xml into an email so that I can see it. >> Sorry, I wasn't following the original discussion. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >> Sent: Thursday, November 16, 2006 10:46 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Parsing XML as a string? >> >> Hi everyone! >> >> Ok...I admit that trying to import that XML file I had directly into >> Access may have SEEMED like a good, "easy", idea...at the time...but >> after looking around and from the comments here, the idea >> was...well..it sucked. >> If the XML they were sending to me were compatible then I might have >> had a chance...but it's just not feasible. There actually wasn't any >> way to define it using a dtd/xls/xlst within my lifetime, so I'm going >> to have to use a different approach. >> >> The files they send as XML are not that large, so I could easily >> import them as text, separate out what I need and put it into the >> required tables. However, since they send it as a single string, it >> becomes harder to parse it since there are multiple duplicated 'keys' >> that I need to pull from it. And they're not necessarily in the same >> position all of the time. >> >> I could import it as a single string into a memo field, but I can't >> figure out how to disect a memo field string like that. >> >> When I import it as text, I could break it down at the "<" characters, >> importing each one into a separate columns, but I need them in rows, >> not columns, to search and find the strings of data I need. >> >> So, in summary, my only two choices (that I can think of) are: >> >> 1. Import the XML as a single string into a memo and somehow parse >> that into the data I need. >> 2. Import the XML as text, separating it on the "<" characters into >> columns, then somehow magically (transpose columns into rows?) >> transform that to usable information. >> >> ANY suggestions, short of retirement (although not a bad idea...), >> would be GREATLY apprecaited! >> >> Thanks! >> >> Greg Smith >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Nov 16 13:39:56 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 16 Nov 2006 22:39:56 +0300 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> Message-ID: <001f01c709b6$fed888d0$6401a8c0@nant> <<< Although maybe breaking it down first by the < /> and then looking inside each of those... >>> Greg, The simplest and the most effective and safe practical approach is to use MSXML's DOM for relatively small XML files and MSXML's SAX API for large XML files. I'd recommend not spending your valuable time trying to parse XML files using custom code - that's not a trivial task for a general case. And because you say that the party which supplies you with this XML file has almost no idea "how they make it" then custom parsing approach looks even more risky... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 10:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: Yes...I want a lot of the enclosed < /> fields, but I also need them with respect to their description, such as the FEES, of which (in this example) there are 5, each with it's own description "StandardFee", etc. So I'll not only need to get the data, such as the fee, but I have to be able to delineate which fee it is so it can go in the right table field. For all practical purposes, I can ignore anything after the start of the because there's no data past that point. And you are also correct in that this doesn't fit today's standard xml format. I've even asked the people who are sending it to me just WHAT type of xml is it, but not gotten an answer...which makes me believe they don't know either. It works for what they want, so don't mess with it I guess...and, of course, out of 99 counties, mine is the ONLY one using an Access db program to do the Recorder's work (so far... :)). You'll note that some of the Elements (Fee) have two attributes, whereas some of them (Grantor) have many more. So a rule that says only get the two would not work in all cases. Although maybe breaking it down first by the < /> and then looking inside each of those... Greg <<< tail skipped >>> From lmrazek at lcm-res.com Thu Nov 16 14:19:41 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 16 Nov 2006 14:19:41 -0600 Subject: [AccessD] Query / Report Objects in Front End ... Max Number? In-Reply-To: <001f01c709b6$fed888d0$6401a8c0@nant> Message-ID: <03a901c709bc$8d33eac0$026fa8c0@stormy> Hi Folks: (using Access XP in FE/BE configuration) I have a database that currently has 40+ query objects and 40+ report objects for running analyses, and I just got a request from the client wanting some additional custom reports. My question is how many report and query objects is too many for the Front End? Could I be inviting corruption in the db if I had too many query and report objects? Thanks, just wanted to get a few other opinions on this matter. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314.432.5886 fx. 314.432.3304 From andy at minstersystems.co.uk Thu Nov 16 15:19:05 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 16 Nov 2006 21:19:05 -0000 Subject: [AccessD] Query / Report Objects in Front End ... Max Number? In-Reply-To: <03a901c709bc$8d33eac0$026fa8c0@stormy> Message-ID: <014601c709c4$d886a050$32990c54@minster33c3r25> I wouldn't worry Larry. I've an app with over 400 reports and well over 1,000 queries. No problem. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Lawrence Mrazek > Sent: 16 November 2006 20:20 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Query / Report Objects in Front End ... Max Number? > > > Hi Folks: > > (using Access XP in FE/BE configuration) > > I have a database that currently has 40+ query objects and > 40+ report objects for running analyses, and I just got a > request from the client wanting some additional custom reports. > > My question is how many report and query objects is too many > for the Front End? Could I be inviting corruption in the db > if I had too many query and report objects? > > Thanks, just wanted to get a few other opinions on this matter. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314.432.5886 > fx. 314.432.3304 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Chester_Kaup at kindermorgan.com Thu Nov 16 15:58:16 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 16 Nov 2006 15:58:16 -0600 Subject: [AccessD] Carry Forward in a query In-Reply-To: <001501c70946$67f30910$430b65cb@pcadt> Message-ID: Thanks! Works great. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, November 16, 2006 12:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Carry Forward in a query Chester, It is presumed that table T_PriceIndex too has the field named Pattern, with appropriate entries. In such a case, you could try modified SQL as follows: SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.Pattern = T_PriceCurrent.Pattern And T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.Pattern = T_PriceCurrent.Pattern And T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; Caution: Thi is AirCode - The suggested SQL has not been subjected to actual test. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Kaup, Chester To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 04:10 Subject: Re: [AccessD] Carry Forward in a query Here is what I have now. One table with dates and one table like below. Query SQL as below. This works great. SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; SDate Price 1/1/2005 8.56 1/23/2005 8.73 2/14/2005 8.40 3/1/2005 8.00 3/12/2005 8.45 3/27/2005 8.95 4/7/2005 8.12 4/30/2005 7.95 5/14/2005 8.03 5/27/2005 8.24 6/10/2005 9.03 6/25/2005 9.17 7/3/2005 9.25 7/27/2005 9.40 8/3/2005 9.64 What I cannot figure how to do is make it work if table looks like below. I need output for each Pattern. Pattern SDate Price 1 1/1/2005 8.56 1 1/23/2005 8.73 1 2/14/2005 8.40 1 3/1/2005 8.00 1 3/12/2005 8.45 1 3/27/2005 8.95 1 4/7/2005 8.12 1 4/30/2005 7.95 1 5/14/2005 8.03 1 5/27/2005 8.24 1 6/10/2005 9.03 1 6/25/2005 9.17 1 7/3/2005 9.25 1 7/27/2005 9.40 1 8/3/2005 9.64 2 1/7/2005 8.27 2 1/24/2005 8.71 2 2/13/2005 8.35 2 3/2/2005 8.02 2 3/13/2005 8.44 2 3/28/2005 8.93 2 4/6/2005 8.10 2 4/28/2005 7.98 2 5/15/2005 8.05 2 5/25/2005 8.20 2 6/9/2005 9.00 2 6/20/2005 9.15 2 7/1/2005 9.23 2 7/25/2005 9.35 2 8/4/2005 9.65 2 8/15/2005 9.50 Thanks for any ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 14, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Carry Forward in a query If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Thu Nov 16 16:49:08 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 16 Nov 2006 16:49:08 -0600 Subject: [AccessD] SPAM-LOW: Re: Query / Report Objects in Front End ... Max Number? In-Reply-To: <014601c709c4$d886a050$32990c54@minster33c3r25> Message-ID: <040301c709d1$6e103800$026fa8c0@stormy> Thanks Andy: That makes me feel better. I can now worry about other stuff regarding this app! Larry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, November 16, 2006 3:19 PM To: 'Access Developers discussion and problem solving' Subject: SPAM-LOW: Re: [AccessD] Query / Report Objects in Front End ... Max Number? I wouldn't worry Larry. I've an app with over 400 reports and well over 1,000 queries. No problem. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence > Mrazek > Sent: 16 November 2006 20:20 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Query / Report Objects in Front End ... Max Number? > > > Hi Folks: > > (using Access XP in FE/BE configuration) > > I have a database that currently has 40+ query objects and > 40+ report objects for running analyses, and I just got a > request from the client wanting some additional custom reports. > > My question is how many report and query objects is too many for the > Front End? Could I be inviting corruption in the db if I had too many > query and report objects? > > Thanks, just wanted to get a few other opinions on this matter. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314.432.5886 > fx. 314.432.3304 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 16 18:47:35 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Nov 2006 16:47:35 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> References: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> <007301c709a7$40a51ea0$e1265b05@m6805> <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> Message-ID: <455D06A7.50501@shaw.ca> Grab a book on XPath syntax; quickest to learn via examples This code grabs the Fee attributes via XPath parsing of the xml dom Sub xpathtest() Dim strxml As String Dim xmldoc As MSXML2.DOMDocument40 Dim nodes As MSXML2.IXMLDOMNodeList Dim node As MSXML2.IXMLDOMNode Dim xmlError As IXMLDOMParseError Dim lngErrCode As Long Set xmldoc = New MSXML2.DOMDocument40 xmldoc.setProperty "SelectionLanguage", "XPath" xmldoc.async = False xmldoc.validateOnParse = False 'xmldoc.resolveExternals = False xmldoc.Load "C:\Access files\xmltests\Pria Path\pria.xml" ' lngErrCode = xmldoc.validate ' Debug.Print lngErrCode If xmldoc.parseError.errorCode <> 0 Then Debug.Print " Reason: " & xmldoc.parseError.reason Set xmlError = xmldoc.parseError reportParseError xmlError End If 'xpath entity name case sensitive 'grab attributes with fee via XPath Set nodes = xmldoc.selectNodes("//_FEE/@*") 'Set nodes = xmldoc.selectNodes("/fee/@*") 'Set nodes = xmldoc.selectNodes("//_FEE") 'look through nodes collection For Each node In nodes Debug.Print node.Text & " - " & node.nodeName Next node 'Debug.Print xmldoc.xml Set nodes = Nothing Set xmldoc = Nothing End Sub Function reportParseError(err As IXMLDOMParseError) Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To err.linepos - 1 s = s & " " Next r = "XML Error loading " & err.url & " * " & err.reason Debug.Print r 'show character postion of error; tired of counting If (err.Line > 0) Then r = "at line " & err.Line & ", character " & err.linepos & vbCrLf & _ err.srcText & vbCrLf & s & "^" End If Debug.Print r End Function "pria.xml" <_RETURN_TO_PARTY> <_VOLUME_PAGE/> <_FEES _TotalAmount="31.00"> <_FEE _Amount="15.00" _Description="StandardFee"/> <_FEE _Amount="3.00" _Description="DocMgmtFee"/> <_FEE _Amount="3.00" _Description="ERecordingFee"/> <_FEE _Amount="10.00" _Description="TransferFee"/> <_FEE _Amount="0.00" _Description="TransferTax"/> <_EXEMPTIONS _Description="Deed fulfilling contract"/> -BLAH - IMAGE FILE - BLAH BLAH == Greg Smith wrote: >John: > >Yes...I want a lot of the enclosed < /> fields, but I also need them with >respect to their description, such as the FEES, of which (in this example) >there are 5, each with it's own description "StandardFee", etc. So I'll >not only need to get the data, such as the fee, but I have to be able to >delineate which fee it is so it can go in the right table field. For all >practical purposes, I can ignore anything after the start of the > because there's no data past that point. > >And you are also correct in that this doesn't fit today's standard xml >format. I've even asked the people who are sending it to me just WHAT >type of xml is it, but not gotten an answer...which makes me believe they >don't know either. It works for what they want, so don't mess with it I >guess...and, of course, out of 99 counties, mine is the ONLY one using an >Access db program to do the Recorder's work (so far... :)). > >You'll note that some of the Elements (Fee) have two attributes, whereas >some of them (Grantor) have many more. So a rule that says only get the >two would not work in all cases. Although maybe breaking it down first by >the < /> and then looking inside each of those... > >Greg > > > > >>OK, so I assume that you want to get the items, enclosed by < /> where >>there are two "values" separated by a space? >> >>You want all of them? >>Just specific ones? >>Are there more than one of the "big items" defined as the entire thing >>you sent me) in a single file? >> >>This looks trivial to parse based on the <> pairs as beginning / ending >>a field. This assumes that neither of these characters are found in the >>image data. >> >>I am not intimate with XML, but I thought that XML had data >>. This obviously doesn't. >> >>John W. Colby >>Colby Consulting >>www.ColbyConsulting.com >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >>Sent: Thursday, November 16, 2006 12:09 PM >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] Parsing XML as a string? >> >>John: >> >>I sent you a full copy of the XML file offline. >> >>Greg >> >> >> >>>Not having followed the original thread... >>> >>>It sounds like a good place for a pair of classes. One class would >>>hold each "snippet" based on the < characters. A parent class would >>>break down the string into these snippets, load them into the snippet >>>classes and hold the snippet classes in a collection. Once the huge >>>string is parsed into snippets, the parent class can process them by >>>iterating the collection of snippets doing whatever was required for >>>each >>> >>> >>snippet. >> >> >>>Once you have processed the snippets, you can write the results out to >>> a table. >>> >>>That is obviously a "big picture". >>> >>>Can you paste a sample of the xml into an email so that I can see it. >>>Sorry, I wasn't following the original discussion. >>> >>>John W. Colby >>>Colby Consulting >>>www.ColbyConsulting.com >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >>>Sent: Thursday, November 16, 2006 10:46 AM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Parsing XML as a string? >>> >>>Hi everyone! >>> >>>Ok...I admit that trying to import that XML file I had directly into >>>Access may have SEEMED like a good, "easy", idea...at the time...but >>>after looking around and from the comments here, the idea >>>was...well..it sucked. >>> If the XML they were sending to me were compatible then I might have >>>had a chance...but it's just not feasible. There actually wasn't any >>>way to define it using a dtd/xls/xlst within my lifetime, so I'm going >>> to have to use a different approach. >>> >>>The files they send as XML are not that large, so I could easily >>>import them as text, separate out what I need and put it into the >>>required tables. However, since they send it as a single string, it >>>becomes harder to parse it since there are multiple duplicated 'keys' >>>that I need to pull from it. And they're not necessarily in the same >>>position all of the time. >>> >>>I could import it as a single string into a memo field, but I can't >>>figure out how to disect a memo field string like that. >>> >>>When I import it as text, I could break it down at the "<" characters, >>> importing each one into a separate columns, but I need them in rows, >>>not columns, to search and find the strings of data I need. >>> >>>So, in summary, my only two choices (that I can think of) are: >>> >>>1. Import the XML as a single string into a memo and somehow parse >>>that into the data I need. >>>2. Import the XML as text, separating it on the "<" characters into >>>columns, then somehow magically (transpose columns into rows?) >>>transform that to usable information. >>> >>>ANY suggestions, short of retirement (although not a bad idea...), >>>would be GREATLY apprecaited! >>> >>>Thanks! >>> >>>Greg Smith >>> >>> >>> > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Nov 17 05:01:41 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Nov 2006 12:01:41 +0100 Subject: [AccessD] Parsing XML as a string? Message-ID: Hi Greg I would listen closely to the advice from Shamil - manually parsing XML is like reinventing the wheel, only much more difficult. If, for some reason, the Microsoft tools don't fit your task, take a look at the free (and very fast) XML parser from Chilkat: http://www.chilkatsoft.com/xml-activex.asp and documentation: http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html /gustav From jwcolby at colbyconsulting.com Fri Nov 17 05:15:28 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 17 Nov 2006 06:15:28 -0500 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> Message-ID: <008501c70a39$b0a33c90$e1265b05@m6805> Greg, Have you found a parser you are happy with? I concur with others that you should use a parser program if you can find one that works with this thing, but if you can't come back and say so. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 2:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: Yes...I want a lot of the enclosed < /> fields, but I also need them with respect to their description, such as the FEES, of which (in this example) there are 5, each with it's own description "StandardFee", etc. So I'll not only need to get the data, such as the fee, but I have to be able to delineate which fee it is so it can go in the right table field. For all practical purposes, I can ignore anything after the start of the because there's no data past that point. And you are also correct in that this doesn't fit today's standard xml format. I've even asked the people who are sending it to me just WHAT type of xml is it, but not gotten an answer...which makes me believe they don't know either. It works for what they want, so don't mess with it I guess...and, of course, out of 99 counties, mine is the ONLY one using an Access db program to do the Recorder's work (so far... :)). You'll note that some of the Elements (Fee) have two attributes, whereas some of them (Grantor) have many more. So a rule that says only get the two would not work in all cases. Although maybe breaking it down first by the < /> and then looking inside each of those... Greg > OK, so I assume that you want to get the items, enclosed by < /> where > there are two "values" separated by a space? > > You want all of them? > Just specific ones? > Are there more than one of the "big items" defined as the entire thing > you sent me) in a single file? > > This looks trivial to parse based on the <> pairs as beginning / > ending a field. This assumes that neither of these characters are > found in the image data. > > I am not intimate with XML, but I thought that XML had > data . This obviously doesn't. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 12:09 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Parsing XML as a string? > > John: > > I sent you a full copy of the XML file offline. > > Greg > >> Not having followed the original thread... >> >> It sounds like a good place for a pair of classes. One class would >> hold each "snippet" based on the < characters. A parent class would >> break down the string into these snippets, load them into the snippet >> classes and hold the snippet classes in a collection. Once the huge >> string is parsed into snippets, the parent class can process them by >> iterating the collection of snippets doing whatever was required for >> each > snippet. >> >> Once you have processed the snippets, you can write the results out >> to a table. >> >> That is obviously a "big picture". >> >> Can you paste a sample of the xml into an email so that I can see it. >> Sorry, I wasn't following the original discussion. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >> Sent: Thursday, November 16, 2006 10:46 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Parsing XML as a string? >> >> Hi everyone! >> >> Ok...I admit that trying to import that XML file I had directly into >> Access may have SEEMED like a good, "easy", idea...at the time...but >> after looking around and from the comments here, the idea >> was...well..it sucked. >> If the XML they were sending to me were compatible then I might have >> had a chance...but it's just not feasible. There actually wasn't any >> way to define it using a dtd/xls/xlst within my lifetime, so I'm >> going to have to use a different approach. >> >> The files they send as XML are not that large, so I could easily >> import them as text, separate out what I need and put it into the >> required tables. However, since they send it as a single string, it >> becomes harder to parse it since there are multiple duplicated 'keys' >> that I need to pull from it. And they're not necessarily in the same >> position all of the time. >> >> I could import it as a single string into a memo field, but I can't >> figure out how to disect a memo field string like that. >> >> When I import it as text, I could break it down at the "<" >> characters, importing each one into a separate columns, but I need >> them in rows, not columns, to search and find the strings of data I need. >> >> So, in summary, my only two choices (that I can think of) are: >> >> 1. Import the XML as a single string into a memo and somehow parse >> that into the data I need. >> 2. Import the XML as text, separating it on the "<" characters into >> columns, then somehow magically (transpose columns into rows?) >> transform that to usable information. >> >> ANY suggestions, short of retirement (although not a bad idea...), >> would be GREATLY apprecaited! >> >> Thanks! >> >> Greg Smith >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Fri Nov 17 06:34:59 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 17 Nov 2006 12:34:59 -0000 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <002701c70a44$cd50d8b0$8119fea9@Server> Hi Gregg, Would this work: Application.ImportXML strPath & strFile & strExtn, acStructureAndData Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 3:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Fri Nov 17 08:14:09 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Fri, 17 Nov 2006 09:14:09 EST Subject: [AccessD] Connecting Access to SQL tables Message-ID: Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc From Kwilliamson at RTKL.com Fri Nov 17 08:25:47 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 17 Nov 2006 09:25:47 -0500 Subject: [AccessD] Connecting Access to SQL tables Message-ID: John, All I can tell you is that I have done this before, with no problems. I had linked tables in my FE, to the SQL database. Worked Great. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: Friday, November 17, 2006 9:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting Access to SQL tables Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Fri Nov 17 08:43:48 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 17 Nov 2006 09:43:48 -0500 Subject: [AccessD] Connecting Access to SQL tables In-Reply-To: Message-ID: <000001c70a56$cb62bf20$2f01a8c0@Kermit> A prudent database developer would NEVER EVER allow users to connect directly to the tables. Everything should be done through stored procedures. Start by reading Rick Dobson's "SQL Server with Access 2000". Here is a link to his website http://www.programmingmsaccess.com/ Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: Friday, November 17, 2006 9:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting Access to SQL tables Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Fri Nov 17 09:08:54 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Fri, 17 Nov 2006 10:08:54 EST Subject: [AccessD] Connecting Access to SQL tables Message-ID: <585.69367af.328f2a86@aol.com> In a message dated 17/11/2006 14:57:38 GMT Standard Time, mikedorism at verizon.net writes: http://www.programmingmsaccess.com/ Hi Doris Thank you for the comments and link. I had a feeling that allowing users direct access to tables was not a good idea. Thanks Doris From artful at rogers.com Fri Nov 17 09:11:28 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 17 Nov 2006 07:11:28 -0800 (PST) Subject: [AccessD] Connecting Access to SQL tables Message-ID: <20061117151128.21031.qmail@web88213.mail.re2.yahoo.com> I have written extensively on this subject, but so have many others. Create an Access ADP project and connect it to your SQL 2000 database. This is a much superior strategy than using ODBC connections from an MDB. Allow no one but yourself (and other db developers if any) direct access to the tables. Instead, create views and/or stored procedures and/or user-defined functions to access the tables. Then think about your app and create some roles corresponding to users and the power they should have (i.e. the lowest level in the hierarchy should probably not have the ability to run a report listing all salaries at all levels). Always think in terms of roles, not users. There is a huge reason for this: you add users to roles, and you can even add roles to roles. I am a big fan of this approach. For example, a sales manager in a pinch may have to do data-entry of sales. So add the SalesManager role to the DataEntry role: then any SalesManager can do both, whereas the DataEntry people cannot. That's a thumbnail sketch of how to approach this. Basic two rules: nobody but developers gets access to database objects such as tables; roles define the permissions within the org, and users are simply added to roles. That keeps it all lean and mean and easily manageable. Arthur ----- Original Message ---- From: "Johncliviger at aol.com" To: accessd at databaseadvisors.com Sent: Friday, November 17, 2006 9:14:09 AM Subject: [AccessD] Connecting Access to SQL tables Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Fri Nov 17 09:24:33 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Fri, 17 Nov 2006 10:24:33 EST Subject: [AccessD] Connecting Access to SQL tables Message-ID: In a message dated 17/11/2006 15:19:23 GMT Standard Time, artful at rogers.com writes: Arthur Cheers Arthur for your comments. Where can I find a more detailed explanation on a web site? johnc From bchacc at san.rr.com Fri Nov 17 11:24:13 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 17 Nov 2006 09:24:13 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <003201c70a6d$33c351e0$6401a8c0@HAL9005> Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM From jwcolby at colbyconsulting.com Fri Nov 17 11:26:03 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 17 Nov 2006 12:26:03 -0500 Subject: [AccessD] Boot off of D: drive Message-ID: <00a301c70a6d$758daa80$e1265b05@m6805> I installed Windows XP onto my server, then discovered I needed a true RAID controller. Once that was installed I had this truly reliable (we hope) raid system. Now I discovered (thanks to certain listmembers who shall remain unnamed) that I really needed to move to Windows Server 2003. Having this high powered raid system, I decided to install (dual boot) Windows 2003 to the D: drive. In and of itself this is not a big issue but it does leave a single (and small - 80gb) non-raid drive sitting at C:, with a full install (unused) of Windows XP Pro. Is it possible to: 1) Get rid of the dual boot so that the system automatically boots into Server 2003. 2) Get rid of the C: drive and slide a raid drive into it's place. 3) and REALLY reaching here, migrate all the software stored on my D: drive onto that C: drive. 4) Have it all work when that is done. ;-) I would be thrilled with 1 and 2, but figured I might as well ask about 3 as well. John W. Colby Colby Consulting www.ColbyConsulting.com From GregSmith at starband.net Fri Nov 17 11:49:28 2006 From: GregSmith at starband.net (Greg Smith) Date: Fri, 17 Nov 2006 11:49:28 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: References: Message-ID: <5436.65.118.249.214.1163785768.squirrel@cetus.email.starband.net> Hi Gustav: Thanks...I will. But I'm having an issue getting back to his site he had in an email yesterday, and I could get to it yesterday, but today it's not working...at least from the three different computers I tried...two in house (behind same firewall) and one from a the local County Court House...all with the same result ... **NEVER MIND** ...it just worked. :) http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm I was also looking at the active-X Chilkat parser you suggested below but I'm not sure how I'm supposed to use it. Thanks again! Greg > Hi Greg > > I would listen closely to the advice from Shamil - manually parsing XML > is like reinventing the wheel, only much more difficult. > > If, for some reason, the Microsoft tools don't fit your task, take a > look at the free (and very fast) XML parser from Chilkat: > > http://www.chilkatsoft.com/xml-activex.asp > > and documentation: > > http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html > > /gustav From Gustav at cactus.dk Fri Nov 17 12:21:24 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Nov 2006 19:21:24 +0100 Subject: [AccessD] Parsing XML as a string? Message-ID: Hi Greg Go to the documentation and pick example code, Visual Basic. I have not worked with it myself so I cannot be of much help other than this, sorry. However, support at Chilkat is very responsive so don't hesitate asking for assistance. /gustav >>> GregSmith at starband.net 17-11-2006 18:49:28 >>> I was also looking at the active-X Chilkat parser you suggested below but I'm not sure how I'm supposed to use it. Thanks again! Greg > Hi Greg > > I would listen closely to the advice from Shamil - manually parsing XML > is like reinventing the wheel, only much more difficult. > > If, for some reason, the Microsoft tools don't fit your task, take a > look at the free (and very fast) XML parser from Chilkat: > > http://www.chilkatsoft.com/xml-activex.asp > > and documentation: > > http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html > > /gustav From rusty.hammond at cpiqpc.com Fri Nov 17 13:16:34 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 17 Nov 2006 13:16:34 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6EF@cpixchng-1.cpiqpc.net> Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From Jim.Hale at FleetPride.com Fri Nov 17 13:20:53 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 17 Nov 2006 13:20:53 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE11B@corp-es01.fleetpride.com> The FMS Visual sourcebook has two classes (CBoyerMoore and CFuzzystringsearch) that may accomplish the objective. Actually, if this solder contacts Luke Chung at FMS he may be able to get exactly the help he needs. Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Fri Nov 17 13:32:09 2006 From: john at winhaven.net (John Bartow) Date: Fri, 17 Nov 2006 13:32:09 -0600 Subject: [AccessD] Simplify String Concatenations with Nulls and Zero Length String Message-ID: <200611171932.kAHJWGq09711@databaseadvisors.com> This tip just came through from FMS in their newsletter. Nothin gnew since I've been using it for near a decade now but I just wanted to get thoughts on it here. Anyone take issue with this method? John B. Tip #49: Simplify String Concatenations with Nulls and Zero Length Strings Provided by: Luke Chung, FMS President The concatenation of string values can be a nuisance when referencing fields with Null values, because you want to avoid having extra spaces where the missing string value should have appeared. A classic example of this is a person's name and their spouse. You want to add the " and Spouse" to the name if the Spouse field is filled. Here's the data: PersonID FirstName LastName Spouse 1 Robert Jones 2 Thomas Smith Jane 3 Jack Thompson Sally 4 William Johnson And the results we want: PersonID Person 1 Robert Jones 2 Thomas and Jane Smith 3 Jack and Sally Thompson 4 William Johnson Zero Length Strings Allowed If the Spouse field allows zero length string values ("") -- its AllowZeroLength property is True, you need to consider both Nulls and "". You should use the NullToZero function NZ, to handle either case: SELECT PersonID, FirstName & IIF(Nz(Spouse)<>"", " & " & Spouse) & " " & LastName AS Person FROM tblPerson The NZ function evaluates the value it is passed. For text fields, it returns "" if it's null or "". For numeric and dates fields, it returns zero if it's null. This makes it easy to handle nulls in either case. Zero Length Strings Not Allowed If the Spouse field does not allow zero length strings, blank values are always null. In this situation, we can avoid using a user-defined/built-in function to test for null. The concatenation of a string value and a null value will return a null value. Thus, you eliminate the extra processing needed: SELECT PersonID, FirstName & (" and " + Spouse) & " " & LastName AS Person FROM tblPerson By using the "+" command to combine the " and " and [Spouse] fields, the result is nothing if the Spouse field is null. This is a difference from using the "&" command which concatenates fields and would leave the " and " if Spouse is null. From DWUTKA at marlow.com Fri Nov 17 13:29:10 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 17 Nov 2006 13:29:10 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <17724746D360394AA3BFE5B8D40A9C1B014B18AF@MARLOW_MAIN2.marlow.com> If the results are displayed on a web page the highlighting would be a snap! Drew -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Nov 17 13:43:38 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 17 Nov 2006 22:43:38 +0300 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <5436.65.118.249.214.1163785768.squirrel@cetus.email.starband.net> Message-ID: <001601c70a80$ae0e68a0$6401a8c0@nant> Greg, Please send me your e-mail address and I will send you this page by e-mail privately. (This page http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm works from here, sorry, if it doesn't work there. That's strange...) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Friday, November 17, 2006 8:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? Hi Gustav: Thanks...I will. But I'm having an issue getting back to his site he had in an email yesterday, and I could get to it yesterday, but today it's not working...at least from the three different computers I tried...two in house (behind same firewall) and one from a the local County Court House...all with the same result ... **NEVER MIND** ...it just worked. :) http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm I was also looking at the active-X Chilkat parser you suggested below but I'm not sure how I'm supposed to use it. Thanks again! Greg > Hi Greg > > I would listen closely to the advice from Shamil - manually parsing XML > is like reinventing the wheel, only much more difficult. > > If, for some reason, the Microsoft tools don't fit your task, take a > look at the free (and very fast) XML parser from Chilkat: > > http://www.chilkatsoft.com/xml-activex.asp > > and documentation: > > http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html > > /gustav -- 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 17 15:14:36 2006 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 17 Nov 2006 22:14:36 +0100 Subject: [AccessD] help with cascade combobox Message-ID: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> Hello Group, i need some help with an cascade combobox, the storage of the data in a table. I have a small example database, who can help me with this? Thanks Pedro Janssen From martyconnelly at shaw.ca Fri Nov 17 16:32:44 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Nov 2006 14:32:44 -0800 Subject: [AccessD] help with cascade combobox In-Reply-To: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> References: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> Message-ID: <455E388C.8030004@shaw.ca> Maybe these examples will help http://www.rogersaccesslibrary.com/TableOfContents3.asp CascadingComboBoxes.mdb ( beginner ) This sample illustrates how to restrict the value of one combo box based on the value of another. CascadingComboInSubform.mdb ( intermediate ) Illustrates how to use Cascading Comboboxes in a continuous subform. Pedro Janssen wrote: >Hello Group, > >i need some help with an cascade combobox, the storage of the data in a table. > >I have a small example database, who can help me with this? > >Thanks Pedro Janssen > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Fri Nov 17 17:56:05 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 18 Nov 2006 00:56:05 +0100 Subject: [AccessD] help with cascade combobox References: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> <455E388C.8030004@shaw.ca> Message-ID: <000401c70aa3$f20e29f0$4001a8c0@qmotionfaa3ad9> Thanks Marty, Making the cascade comboboxes is no problem, but storing the data in a table is the problem. Is there an easier way to do this then the example in the second example that you refered to. Pedro Janssen ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, November 17, 2006 11:32 PM Subject: Re: [AccessD] help with cascade combobox > Maybe these examples will help > http://www.rogersaccesslibrary.com/TableOfContents3.asp > > CascadingComboBoxes.mdb ( beginner ) > This sample illustrates how to restrict the value of one combo box based > on the value of another. > > CascadingComboInSubform.mdb ( intermediate ) > Illustrates how to use Cascading Comboboxes in a continuous subform. > > > Pedro Janssen wrote: > >>Hello Group, >> >>i need some help with an cascade combobox, the storage of the data in a >>table. >> >>I have a small example database, who can help me with this? >> >>Thanks Pedro Janssen >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Nov 17 21:03:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Nov 2006 19:03:58 -0800 Subject: [AccessD] help with cascade combobox In-Reply-To: <000401c70aa3$f20e29f0$4001a8c0@qmotionfaa3ad9> References: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> <455E388C.8030004@shaw.ca> <000401c70aa3$f20e29f0$4001a8c0@qmotionfaa3ad9> Message-ID: <455E781E.5080102@shaw.ca> How about something simple like Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Create a new record in the Employees table. The ' first name is Harry, the last name is Washington, ' and the job title is Trainee. dbs.Execute " INSERT INTO Employees " _ & "(FirstName,LastName, Title) VALUES " _ & "('Harry', 'Washington', 'Trainee');" dbs.Close You could ask a question like this to append records to a table or start with empty table If MsgBox("Do you want to create a new file table (yes: create, no: append)", vbYesNo) = vbYes Then DoCmd.RunSQL "DELETE DISTINCTROW Employees.FirstName FROM Employees;" End If Pedro Janssen wrote: >Thanks Marty, > >Making the cascade comboboxes is no problem, but storing the data in a table >is the problem. >Is there an easier way to do this then the example in the second example >that you refered to. > >Pedro Janssen > > > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 17, 2006 11:32 PM >Subject: Re: [AccessD] help with cascade combobox > > > > >>Maybe these examples will help >>http://www.rogersaccesslibrary.com/TableOfContents3.asp >> >>CascadingComboBoxes.mdb ( beginner ) >>This sample illustrates how to restrict the value of one combo box based >>on the value of another. >> >>CascadingComboInSubform.mdb ( intermediate ) >>Illustrates how to use Cascading Comboboxes in a continuous subform. >> >> >>Pedro Janssen wrote: >> >> >> >>>Hello Group, >>> >>>i need some help with an cascade combobox, the storage of the data in a >>>table. >>> >>>I have a small example database, who can help me with this? >>> >>>Thanks Pedro Janssen >>> >>> >>> >>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >>-- >>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 robert at servicexp.com Sun Nov 19 12:39:15 2006 From: robert at servicexp.com (Robert) Date: Sun, 19 Nov 2006 13:39:15 -0500 Subject: [AccessD] Connection String syntax In-Reply-To: <455E781E.5080102@shaw.ca> Message-ID: <000001c70c0a$0ee5dca0$dcc05005@roberts> What is the correct syntax when opening from within a FE/BE MS Access when user security has been moved to a difference, non system, .mdw? This does not seem to do it.. "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & FEDBName;User Id=administrator; Password=adminpassword" Thanks Robert From Gustav at cactus.dk Sun Nov 19 13:04:35 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Nov 2006 20:04:35 +0100 Subject: [AccessD] Connection String syntax Message-ID: Hi Robert Drew posted this in Sep. 2003 which seems close to what you request: Function fDatabaseConnection(CurrCnn As ADODB.Connection, UserName As String, PassWord As String) Set CurrCnn = New ADODB.Connection With CurrCnn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Jet OLEDB:System database").Value = "T:\AccessDB\ISReq\Marlow1.mdw" .Open "T:\AccessDB\ISReq\ISReqBE.mdb", UserName, PassWord End With End Function To use the function above, here's an example: Dim cnn as ADODB.Connection Dim rs as ADODB.Recordset Dim strSQL as String fDatabaseConnection cnn,"UserName","Password" Set rs=new ADODB.recordset strSQL="Select * From tblData;" rs.open strSQL,cnn,adOpenKeyset,adLockReadOnly if rs.EOF=false then rs.MoveFirst Do until rs.EOF=True 'Do something rs.MoveNext Loop rs.Close Set rs=nothing cnn.Close set cnn=Nothing Just a little sample code. I know this code uses ADO, which is the default in A2k, but in A97, DAO is default. DAO is the native language for Jet databases, but I find that ADO is FAR more flexible. I can write code for connecting to an Access database, and later on, if I change the data source, I just have to modify the connection routine. Drew /gustav >>> robert at servicexp.com 19-11-2006 19:39:15 >>> What is the correct syntax when opening from within a FE/BE MS Access when user security has been moved to a difference, non system, .mdw? This does not seem to do it.. "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & FEDBName;User Id=administrator; Password=adminpassword" Thanks Robert From martyconnelly at shaw.ca Sun Nov 19 13:29:04 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 19 Nov 2006 11:29:04 -0800 Subject: [AccessD] Connection String syntax In-Reply-To: <000001c70c0a$0ee5dca0$dcc05005@roberts> References: <000001c70c0a$0ee5dca0$dcc05005@roberts> Message-ID: <4560B080.2040000@shaw.ca> Carl Prothman has a site that provides ADO connection strings for a wide variety of databases and providers. Even though he has switched over to the dark side. http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet If using a Workgroup (System Database) oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\mydb.mdb;" & _ "Jet OLEDB:System Database=MySystem.mdw", _ "myUsername", "myPassword" Robert wrote: >What is the correct syntax when opening from within a FE/BE MS Access when >user security has been moved to a difference, non system, .mdw? > >This does not seem to do it.. > >"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & >FEDBName;User Id=administrator; Password=adminpassword" > >Thanks > >Robert > > > -- Marty Connelly Victoria, B.C. Canada From ssharkins at setel.com Sun Nov 19 13:38:27 2006 From: ssharkins at setel.com (ssharkins at setel.com) Date: Sun, 19 Nov 2006 14:38:27 -0500 (EST) Subject: [AccessD] Connection String syntax In-Reply-To: <4560B080.2040000@shaw.ca> References: <000001c70c0a$0ee5dca0$dcc05005@roberts> <4560B080.2040000@shaw.ca> Message-ID: <1598.209.42.188.17.1163965107.squirrel@vmail.setel.com> YOu can use Windows to create most connection strings -- I wonder if that technique would apply here too? Susan H. Carl Prothman has a site that provides ADO connection strings for a > wide variety of databases and providers. Even though he has > switched over to the dark side. > > http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet > > If using a Workgroup (System Database) > > oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\mydb.mdb;" & _ > "Jet OLEDB:System Database=MySystem.mdw", _ > "myUsername", "myPassword" > > From mwp.reid at qub.ac.uk Sun Nov 19 14:46:44 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 19 Nov 2006 20:46:44 -0000 Subject: [AccessD] Connection String syntax References: <000001c70c0a$0ee5dca0$dcc05005@roberts> <4560B080.2040000@shaw.ca> <1598.209.42.188.17.1163965107.squirrel@vmail.setel.com> Message-ID: funny I have never been able to get windows to do that. Creating the text file then changing the name and then using that to create the connection. Never works for me. Maritn Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of ssharkins at setel.com Sent: Sun 19/11/2006 19:38 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connection String syntax YOu can use Windows to create most connection strings -- I wonder if that technique would apply here too? Susan H. Carl Prothman has a site that provides ADO connection strings for a > wide variety of databases and providers. Even though he has > switched over to the dark side. > > http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet > > If using a Workgroup (System Database) > > oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\mydb.mdb;" & _ > "Jet OLEDB:System Database=MySystem.mdw", _ > "myUsername", "myPassword" > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Nov 19 15:14:01 2006 From: ssharkins at setel.com (ssharkins at setel.com) Date: Sun, 19 Nov 2006 16:14:01 -0500 (EST) Subject: [AccessD] Connection String syntax In-Reply-To: References: <000001c70c0a$0ee5dca0$dcc05005@roberts> <4560B080.2040000@shaw.ca> <1598.209.42.188.17.1163965107.squirrel@vmail.setel.com> Message-ID: <1673.209.42.184.169.1163970841.squirrel@vmail.setel.com> > funny I have never been able to get windows to do that. Creating the text > file then changing the name and then using that to create the connection. > Never works for me. =======I don't think we're talking about the same thing -- I'll have to look up the article, but seems like you can capture the connection arguments from a Windows property. Susan H. From robert at servicexp.com Sun Nov 19 16:44:30 2006 From: robert at servicexp.com (Robert) Date: Sun, 19 Nov 2006 17:44:30 -0500 Subject: [AccessD] Connection String syntax In-Reply-To: <4560B080.2040000@shaw.ca> Message-ID: <000c01c70c2c$48e6d450$dcc05005@roberts> Thanks A Million ! Happy Holidays!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, November 19, 2006 2:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connection String syntax Carl Prothman has a site that provides ADO connection strings for a wide variety of databases and providers. Even though he has switched over to the dark side. http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJ et If using a Workgroup (System Database) oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\mydb.mdb;" & _ "Jet OLEDB:System Database=MySystem.mdw", _ "myUsername", "myPassword" Robert wrote: >What is the correct syntax when opening from within a FE/BE MS Access >when user security has been moved to a difference, non system, .mdw? > >This does not seem to do it.. > >"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & >FEDBName;User Id=administrator; Password=adminpassword" > >Thanks > >Robert > > > -- 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 bheid at sc.rr.com Sun Nov 19 20:16:05 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Sun, 19 Nov 2006 21:16:05 -0500 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6EF@cpixchng-1.cpiqpc.net> Message-ID: <000601c70c49$d601b310$2d01a8c0@bhxp> Rusty, The only problem with this is IED is at the start of a sentence or is followed by a period, commas, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Friday, November 17, 2006 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq From rusty.hammond at cpiqpc.com Sun Nov 19 21:18:02 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Sun, 19 Nov 2006 21:18:02 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6F8@cpixchng-1.cpiqpc.net> Good point. Hmmm, I wonder if there is a way to do what he wants in Access? -----Original Message----- From: Bobby Heid [mailto:bheid at sc.rr.com] Sent: Sunday, November 19, 2006 8:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rusty, The only problem with this is IED is at the start of a sentence or is followed by a period, commas, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Friday, November 17, 2006 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From dwaters at usinternet.com Sun Nov 19 22:36:57 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 19 Nov 2006 22:36:57 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <7479825.1163989146973.JavaMail.root@sniper44> Message-ID: <001101c70c5d$838ee3a0$0200a8c0@danwaters> How about LIKE "*IED*" ---------- or more generically: LIKE "*" & txtCriteria & "*" instead of LIKE "* IED *" (leave out the spaces) I do this in some queries and it picks things up at the beginning, middle, or end. Dan Waters -----Original Message----- Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rusty, The only problem with this is IED is at the start of a sentence or is followed by a period, commas, etc. Bobby -----Original Message----- Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty -----Original Message----- Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq From dwaters at usinternet.com Sun Nov 19 22:39:26 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 19 Nov 2006 22:39:26 -0600 Subject: [AccessD] Send an Outlook Meeting Invitation Message-ID: <001201c70c5d$dc5924f0$0200a8c0@danwaters> Has anyone used Access to send out an Outlook Meeting Invitation? Or know where I could go to find out how? Thanks! Dan Waters From stuart at lexacorp.com.pg Sun Nov 19 23:58:40 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 20 Nov 2006 15:58:40 +1000 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <001101c70c5d$838ee3a0$0200a8c0@danwaters> References: <7479825.1163989146973.JavaMail.root@sniper44>, <001101c70c5d$838ee3a0$0200a8c0@danwaters> Message-ID: <4561D0B0.25840.8ADDC19C@stuart.lexacorp.com.pg> On 19 Nov 2006 at 22:36, Dan Waters wrote: > How about > > LIKE "*IED*" ---------- or more generically: LIKE "*" & txtCriteria & "*" > > instead of > > LIKE "* IED *" (leave out the spaces) > That will pick up anything from died to antieducational ( and the hundreds of others at http://www.morewords.com/contains-by-length/ied/ ) To find text containing IED as a word by itself you need something similar to LIKE "*[( "]IED[ ).,:;?]*" or LIKE "IED[ ).,:;?]*" or LIKE Chr$(13) & chr$(10) & "IED[ ).,:;?]*" or LIKE "* IED" Actually it would probably be a lot easier to add a reference "Microsoft VBScript Regular Expresssion 5.x" and build a function using a proper Regex to locate text blocks containing the desired targets. From jwcolby at colbyconsulting.com Mon Nov 20 06:01:24 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 07:01:24 -0500 Subject: [AccessD] Create object Message-ID: <001d01c70c9b$9aa61bb0$657aa8c0@m6805> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Nov 20 06:21:48 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Nov 2006 13:21:48 +0100 Subject: [AccessD] Create object Message-ID: Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Nov 20 07:16:24 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 08:16:24 -0500 Subject: [AccessD] Create object In-Reply-To: Message-ID: <002201c70ca6$14eeb080$657aa8c0@m6805> Well basically because this is the smartest bunch of folks I know, and this is a VBA question. It is specifically trying to open 3DFTP but the question would be the same for opening Excel, Word etc. I assume that they would react the same way. I will look at that resource though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Nov 20 07:58:45 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 20 Nov 2006 08:58:45 -0500 Subject: [AccessD] Create object References: <002201c70ca6$14eeb080$657aa8c0@m6805> Message-ID: <00de01c70cab$ffceeac0$0302a8c0@default> Thought ... It may be that since this thing is multi-threaded, you can only create one instance by design. So, you might look at creating one of their vbs plug-ins to pass more connections to it or something ... Michael R. Mattys A MapPoint Developer www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 8:16 AM Subject: Re: [AccessD] Create object > Well basically because this is the smartest bunch of folks I know, and > this > is a VBA question. It is specifically trying to open 3DFTP but the > question > would be the same for opening Excel, Word etc. I assume that they would > react the same way. > > I will look at that resource though. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com From jimdettman at verizon.net Mon Nov 20 08:05:38 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Nov 2006 09:05:38 -0500 Subject: [AccessD] Create object In-Reply-To: <001d01c70c9b$9aa61bb0$657aa8c0@m6805> Message-ID: <015001c70cac$f80c6aa0$8abea8c0@XPS> John, Even though your using CreateObject, it's really up to the automation server if it's capable of multi-instance use. I would do what gustav suggested and give them a call to find out if it is multi-instance capable. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 7:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Nov 20 08:21:15 2006 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 20 Nov 2006 09:21:15 -0500 Subject: [AccessD] Send an Outlook Meeting Invitation In-Reply-To: <001201c70c5d$dc5924f0$0200a8c0@danwaters> Message-ID: <000301c70caf$2d0a5350$2f01a8c0@Kermit> OutlookCode.com is my favorite research place for questions like this. Main website... www.outlookcode.com Sending a meeting request programmatically... http://www.outlookcode.com/codedetail.aspx?id=88 Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 19, 2006 11:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Send an Outlook Meeting Invitation Has anyone used Access to send out an Outlook Meeting Invitation? Or know where I could go to find out how? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 08:22:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 09:22:29 -0500 Subject: [AccessD] Create object In-Reply-To: <00de01c70cab$ffceeac0$0302a8c0@default> Message-ID: <002301c70caf$501b8760$657aa8c0@m6805> Well, that's a good thought, but I can manually click the 3DFTP hotlink and it opens multiple times. Further I can log in to my ftp site with one instance and an insurer's site with another. That would indicate that 3DFTP itself can have multiple instances open at the same time. I am trying to keep this as simple as possible. I have written a class that opens 3DFTP, grabs a pointer and passes through functionality that the API exposes. It would be nice to be able to instantiate my class more than once, downloading data from one site, uploading to another. As we all know, some sites are faster than others. If I do this stuff serially, I potentially waste bandwidth on slow ftp sites that could be used to transfer files in a second instance of 3DFTP. Unfortunately as things sit, if a 3DFTP instance is open, my class grabs a pointer to it. If I instantiate my class a second time, the second instance grabs a pointer to the already open 3DFTP instance and starts manipulating it. Not exactly what I would like to happen. I am writing modules to grab files from insurance companies, unencrypt them and load the data into tables, displaying the loaded data in a tab of a form on the user's Access application. There are multiple insurance companies that I need to do this for. Each has their own ftp site and their own file structure, the data goes into their own table (at least initially) and are possibly displayed on their own tab. Additionally I have to upload data back to the insurance company's FTP site. These downloads / uploads will likely be scheduled for the middle of the night but it would still be useful if I could do them all simultaneously. Because of the differences between the files, the encryption etc., my intention was to have a module / class for each insurer, using my (standardized) 3DFTP class to do the transfer grunt work. AFAIK, one instance of 3DFTP can queue files to transfer up/down, but they all go to the same ftp site. In my case I need to do up/down to multiple ftp sites. It would be disastrous if a second instance of MY CLASS grabbed an existing instance of 3DFTP which was hard at work, took it over, logged in to another site and started transferring data. Or even worse had a queue of files destined for one FTP site suddenly being sent to someone else's FTP site. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, November 20, 2006 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Create object Thought ... It may be that since this thing is multi-threaded, you can only create one instance by design. So, you might look at creating one of their vbs plug-ins to pass more connections to it or something ... Michael R. Mattys A MapPoint Developer www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 8:16 AM Subject: Re: [AccessD] Create object > Well basically because this is the smartest bunch of folks I know, and > this > is a VBA question. It is specifically trying to open 3DFTP but the > question > would be the same for opening Excel, Word etc. I assume that they would > react the same way. > > I will look at that resource though. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 08:26:24 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 09:26:24 -0500 Subject: [AccessD] Create object In-Reply-To: Message-ID: <002401c70caf$dc2682f0$657aa8c0@m6805> I am a little confused Gustav, SiteDesigner is not 3DFTP. I could go with these people if I have to but I have always been very happy with 3D. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 08:36:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 09:36:25 -0500 Subject: [AccessD] Create object In-Reply-To: <002401c70caf$dc2682f0$657aa8c0@m6805> Message-ID: <002d01c70cb1$4207a350$657aa8c0@m6805> Gustav, Never mind, I found that they are referenced in the 3D help. I have emailed them. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object I am a little confused Gustav, SiteDesigner is not 3DFTP. I could go with these people if I have to but I have always been very happy with 3D. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Nov 20 08:48:24 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 20 Nov 2006 09:48:24 -0500 Subject: [AccessD] Create object References: <002301c70caf$501b8760$657aa8c0@m6805> Message-ID: <010e01c70cb2$f7d657c0$0302a8c0@default> I've never used it, but I may have to soon. Is it possible to Shell (the shortcut) and FindWindow, then get the pointer? Michael R. Mattys A MapPoint Developer www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 9:22 AM Subject: Re: [AccessD] Create object > Well, that's a good thought, but I can manually click the 3DFTP hotlink > and > it opens multiple times. Further I can log in to my ftp site with one > instance and an insurer's site with another. That would indicate that > 3DFTP > itself can have multiple instances open at the same time. > > I am trying to keep this as simple as possible. I have written a class > that > opens 3DFTP, grabs a pointer and passes through functionality that the API > exposes. It would be nice to be able to instantiate my class more than > once, > downloading data from one site, uploading to another. As we all know, > some > sites are faster than others. If I do this stuff serially, I potentially > waste bandwidth on slow ftp sites that could be used to transfer files in > a > second instance of 3DFTP. > > Unfortunately as things sit, if a 3DFTP instance is open, my class grabs a > pointer to it. If I instantiate my class a second time, the second > instance > grabs a pointer to the already open 3DFTP instance and starts manipulating > it. Not exactly what I would like to happen. > > I am writing modules to grab files from insurance companies, unencrypt > them > and load the data into tables, displaying the loaded data in a tab of a > form > on the user's Access application. There are multiple insurance companies > that I need to do this for. Each has their own ftp site and their own > file > structure, the data goes into their own table (at least initially) and are > possibly displayed on their own tab. Additionally I have to upload data > back to the insurance company's FTP site. These downloads / uploads will > likely be scheduled for the middle of the night but it would still be > useful > if I could do them all simultaneously. > > Because of the differences between the files, the encryption etc., my > intention was to have a module / class for each insurer, using my > (standardized) 3DFTP class to do the transfer grunt work. > > AFAIK, one instance of 3DFTP can queue files to transfer up/down, but they > all go to the same ftp site. In my case I need to do up/down to multiple > ftp sites. It would be disastrous if a second instance of MY CLASS > grabbed > an existing instance of 3DFTP which was hard at work, took it over, logged > in to another site and started transferring data. Or even worse had a > queue > of files destined for one FTP site suddenly being sent to someone else's > FTP > site. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Monday, November 20, 2006 8:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Create object > > Thought ... > > It may be that since this thing is multi-threaded, you can only create one > instance by design. > > So, you might look at creating one of their vbs plug-ins to pass more > connections to it or something ... > > Michael R. Mattys > A MapPoint Developer > www.mattysconsulting.com > > ----- Original Message ----- > From: "JWColby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 20, 2006 8:16 AM > Subject: Re: [AccessD] Create object > > >> Well basically because this is the smartest bunch of folks I know, and >> this >> is a VBA question. It is specifically trying to open 3DFTP but the >> question >> would be the same for opening Excel, Word etc. I assume that they would >> react the same way. >> >> I will look at that resource though. >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > 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 20 08:45:13 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Nov 2006 15:45:13 +0100 Subject: [AccessD] Create object Message-ID: Hi John Same company: http://www.sitedesigner.com/history.htm /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 15:36:25 >>> Gustav, Never mind, I found that they are referenced in the 3D help. I have emailed them. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object I am a little confused Gustav, SiteDesigner is not 3DFTP. I could go with these people if I have to but I have always been very happy with 3D. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav From dwaters at usinternet.com Mon Nov 20 09:18:49 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 20 Nov 2006 09:18:49 -0600 Subject: [AccessD] Send an Outlook Meeting Invitation In-Reply-To: <8948412.1164032942648.JavaMail.root@sniper47> Message-ID: <001701c70cb7$2e9f78a0$0200a8c0@danwaters> That's Great! I can see why this is your favorite Outlook site! Thank You! Dan Waters -----Original Message----- Subject: Re: [AccessD] Send an Outlook Meeting Invitation OutlookCode.com is my favorite research place for questions like this. Main website... www.outlookcode.com Sending a meeting request programmatically... http://www.outlookcode.com/codedetail.aspx?id=88 Doris Manning Database Administrator Hargrove Inc. -----Original Message----- Subject: [AccessD] Send an Outlook Meeting Invitation Has anyone used Access to send out an Outlook Meeting Invitation? Or know where I could go to find out how? Thanks! Dan Waters From accessd at shaw.ca Mon Nov 20 11:26:20 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Nov 2006 09:26:20 -0800 Subject: [AccessD] Create object In-Reply-To: <001d01c70c9b$9aa61bb0$657aa8c0@m6805> Message-ID: <0J9100CJ0HOZNM43@l-daemon> Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 13:35:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 14:35:45 -0500 Subject: [AccessD] Create object In-Reply-To: <0J9100CJ0HOZNM43@l-daemon> Message-ID: <000601c70cdb$137563e0$657aa8c0@m6805> Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 20 13:50:23 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Nov 2006 11:50:23 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <003201c70a6d$33c351e0$6401a8c0@HAL9005> References: <003201c70a6d$33c351e0$6401a8c0@HAL9005> Message-ID: <456206FF.5030506@shaw.ca> I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. SQL Server 2000 provides a rich text-data retrieval system and an enhanced full-text search service that enables you to perform a linguistic search of character data in tables enabled for full-text search. A linguistic search operates on words and phrases. The linguistic search is not supported for Arabic, but other parts of full-text search are. Creating Full-Text Index To accomplish a full-text search, you must create a full-text index on the specific column you wish to search. To index a column in a table you are viewing, use the Full-Text Indexing Wizard. In the Select Table Columns page, find the column you wish to index and, in the Language for Word Breaker list, select Neutral. Choosing this option enables your index to work with Arabic even though that language is not included in the list of supported languages. In general, use this option when a column contains data in multiple languages or in an unsupported language http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/sql_arabicsupport.asp You could do this with Google Desktop Search Engine via VBA API calls to return xml files of retrieved data ranked by date or relevance. Caveats Security, Need addon's to look deep into text and pdf files beyond 4000 characters. Vista is supposed to have an inbuilt text search engine. Beach Access Software wrote: >Anyone want to tackle this one? Sounds like an interesting project. > > > >Rocky > > > > > > _____ > >From: Access Users Group of San Diego [mailto:admin at augsd.org] >Sent: Friday, November 17, 2006 8:59 AM >To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; >Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon >Foss; Jackie Murphy (E-mail) >Subject: FW: [U] Soldier in Iraq needs Access Help > > > > > >-----Original Message----- >From: Newsom Lester SFC MNFI STARTEFF >[mailto:lester.newsom at iraq.centcom.mil] >Sent: Wednesday, November 01, 2006 9:12 AM >To: admin at augsd.org >Subject: [U] Soldier in Iraq needs Access Help > >Classification: UNCLASSIFIED > >Greetings from Baghdad. > > > >I am not one to ask for help until I have absolutely driven myself to the >edge. It is my hope that you or one of your experts can shed some light on >what I am trying to get Access to do. > > > >There are actually two things, but first an explanation of what the database >does. A team of translators interpret local Iraqi newscasts which are >transcribed and input into the database. These transcriptions are referred >back to on a regular basis via requests to my office by the higher-ups. A >typical request would be along the lines of "Give me the instances over the >past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give >me every article referring to IED's exploding in the past month" > > > >A simple query of course, returns the date range and all articles whereas >the word "Maliki" appears. I am helped by the fact that Maliki does not >appear in the dictionary so I can scan through the articles, deleting those >that are not relevant. I cannot however discern when IED is actually part of >another word. > > > >What I would like to accomplish, is highlighting my text query, much like >Google does in its cached pages. So, those words that I search for are >highlighted, giving me a visual reference. > > > >I have tried constructing a macro to do the action and have also searched >high and low in the Help files and the Internet.. Perhaps this makes perfect >sense to you and you can point me in the right direction. > > > >Thank you in advance for your time. > > > >SFC Lester Newsom > >Baghdad, Iraq > > > > > >Classification: UNCLASSIFIED >If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from >mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information >Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public >Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD >Information for Public Release" apply. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 >3:51 PM > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Nov 20 14:14:09 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 12:14:09 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <456206FF.5030506@shaw.ca> Message-ID: <01b601c70ce0$70929250$6401a8c0@HAL9005> To everyone who responded to this request: Would it be possible for you to contact this guy directly? I could forward all the emails but since I don't really know how to solve this one there's no point in my getting in the middle. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 20, 2006 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. SQL Server 2000 provides a rich text-data retrieval system and an enhanced full-text search service that enables you to perform a linguistic search of character data in tables enabled for full-text search. A linguistic search operates on words and phrases. The linguistic search is not supported for Arabic, but other parts of full-text search are. Creating Full-Text Index To accomplish a full-text search, you must create a full-text index on the specific column you wish to search. To index a column in a table you are viewing, use the Full-Text Indexing Wizard. In the Select Table Columns page, find the column you wish to index and, in the Language for Word Breaker list, select Neutral. Choosing this option enables your index to work with Arabic even though that language is not included in the list of supported languages. In general, use this option when a column contains data in multiple languages or in an unsupported language http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/htm l/sql_arabicsupport.asp You could do this with Google Desktop Search Engine via VBA API calls to return xml files of retrieved data ranked by date or relevance. Caveats Security, Need addon's to look deep into text and pdf files beyond 4000 characters. Vista is supposed to have an inbuilt text search engine. Beach Access Software wrote: >Anyone want to tackle this one? Sounds like an interesting project. > > > >Rocky > > > > > > _____ > >From: Access Users Group of San Diego [mailto:admin at augsd.org] >Sent: Friday, November 17, 2006 8:59 AM >To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; >Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon >Foss; Jackie Murphy (E-mail) >Subject: FW: [U] Soldier in Iraq needs Access Help > > > > > >-----Original Message----- >From: Newsom Lester SFC MNFI STARTEFF >[mailto:lester.newsom at iraq.centcom.mil] >Sent: Wednesday, November 01, 2006 9:12 AM >To: admin at augsd.org >Subject: [U] Soldier in Iraq needs Access Help > >Classification: UNCLASSIFIED > >Greetings from Baghdad. > > > >I am not one to ask for help until I have absolutely driven myself to the >edge. It is my hope that you or one of your experts can shed some light on >what I am trying to get Access to do. > > > >There are actually two things, but first an explanation of what the database >does. A team of translators interpret local Iraqi newscasts which are >transcribed and input into the database. These transcriptions are referred >back to on a regular basis via requests to my office by the higher-ups. A >typical request would be along the lines of "Give me the instances over the >past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give >me every article referring to IED's exploding in the past month" > > > >A simple query of course, returns the date range and all articles whereas >the word "Maliki" appears. I am helped by the fact that Maliki does not >appear in the dictionary so I can scan through the articles, deleting those >that are not relevant. I cannot however discern when IED is actually part of >another word. > > > >What I would like to accomplish, is highlighting my text query, much like >Google does in its cached pages. So, those words that I search for are >highlighted, giving me a visual reference. > > > >I have tried constructing a macro to do the action and have also searched >high and low in the Help files and the Internet.. Perhaps this makes perfect >sense to you and you can point me in the right direction. > > > >Thank you in advance for your time. > > > >SFC Lester Newsom > >Baghdad, Iraq > > > > > >Classification: UNCLASSIFIED >If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from >mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information >Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public >Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD >Information for Public Release" apply. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 >3:51 PM > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 3:04 AM From bheid at sc.rr.com Mon Nov 20 14:46:51 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 20 Nov 2006 15:46:51 -0500 Subject: [AccessD] Create object In-Reply-To: <000601c70cdb$137563e0$657aa8c0@m6805> Message-ID: <000801c70ce5$01fcfe70$465a1d05@bhxp> It's possible that it is really a type of MDI app. Just like when you open up IE several times and one crashes, they all die. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 2:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com From accessd at shaw.ca Mon Nov 20 15:17:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Nov 2006 13:17:08 -0800 Subject: [AccessD] Create object In-Reply-To: <000601c70cdb$137563e0$657aa8c0@m6805> Message-ID: <0J9100GP8SDOJ320@l-daemon> Hi John: I think it is like Excel in which you can open a number of separate sheets but if you quit one they all quit. You can close one though... but in reality it is all the same application... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 setel.com Mon Nov 20 15:32:11 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 16:32:11 -0500 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <456206FF.5030506@shaw.ca> Message-ID: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. ========Are you sure that full-text search is supported by Express? Susan H. From Kwilliamson at RTKL.com Mon Nov 20 15:50:09 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 16:50:09 -0500 Subject: [AccessD] Excel Import Message-ID: Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From ssharkins at setel.com Mon Nov 20 16:08:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 17:08:16 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <000801c70cf0$63ca11a0$9cb82ad1@SUSANONE> Keith, is it importing each cell entry as a single record or are the records pretty much intact? If the latter, what's in rows 99 and beyond? The first thing I'd suggest is that you copy the 98 records into a clean sheet and just get rid of the old one. Susan H. I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? From Donald.A.McGillivray at sprint.com Mon Nov 20 16:00:46 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 20 Nov 2006 16:00:46 -0600 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: Hi, Keith I can't say that I've seen that behavior before, but Access seems to be seeing the entire Excel sheet as the data source when you do the import. Try naming the range (Insert/Name) of the Excel sheet that holds the data. Then specify that named range for import into your table. Named ranges are very useful both within Excel and for this sort of external task. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 20 16:33:05 2006 From: john at winhaven.net (John Bartow) Date: Mon, 20 Nov 2006 16:33:05 -0600 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <200611202233.kAKMX5q01881@databaseadvisors.com> Oh the joy of it, eh? First thing I'd try is selecting all the empty rows and then deleting them. (just in case there's zero length string or something akin to that in all of them. Then try importing again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 3:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 16:43:46 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 17:43:46 -0500 Subject: [AccessD] Create object In-Reply-To: <0J9100GP8SDOJ320@l-daemon> Message-ID: <001501c70cf5$57860430$657aa8c0@m6805> Interesting idea but I just tested it and I can open and close them independently. They truly seem to be separate instances of the program. Of course who really knows. Anytime you open something with: CreateObject("FTP.API") Who knows what is really going on. It certainly LOOKS like Word.Document or Excel.Sheet where FTP.API is some kind of object of FTP that is exposed for manipulation. There are two "objects" that are in the list of things that can be referenced. One is 3dFTP.DLL, described as "3D-FTP Transfer Engine Com Object". However the properties and methods of that don't match the API. It LOOKS like it could be programmed to directly. I referenced it and can see the methods and properties. The other object in the list of referencable objects is called FTP - and is the 3DFTP.EXE. Even though I can set a reference to the EXE I can't dim an object as that, I get an immediate compile error. So what exactly the .API is, or is a property of remains a mystery. WHOA, I found it! If I reference the 3DFTP.exe (as FTP in the reference list), and then dim an object as FTP.API, I get ahold of the API and can see exactly and only the API methods. Unfortunately this still doesn't get me anywhere since I am again not getting a pointer to the EXE but apparently just an object inside of the EXE. And I still can't programmatically cause a new instance of the EXE to open. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: I think it is like Excel in which you can open a number of separate sheets but if you quit one they all quit. You can close one though... but in reality it is all the same application... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 20 16:46:21 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 14:46:21 -0800 Subject: [AccessD] Print report to file Message-ID: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> Dear List: I got a program from this list a few years ago which allowed me to print a report to a file. Each page was a jpg. I could then insert them into a manual. It worked great. But I cannot find it any more. I think it installed like a printer but I can't remember. It was a free download from the net and I believe it was from a Russian author. I searched the archive but no luck. Does this ring a bell with anybody? MTIA Rocky From bill_Patten at earthlink.net Mon Nov 20 16:52:08 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Mon, 20 Nov 2006 14:52:08 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help References: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> Message-ID: <006801c70cf6$823359c0$0202fea9@BPCS> Hi Susan, Yes , the Advanced Services version does. I tested it and though I couldn't find a wizard I was able to get it working with T-SQL. I tested it against a SQL 2000 box and got the same results, returned 41 records in both out of about 350 records and lots of text. Bill ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 1:32 PM Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. ========Are you sure that full-text search is supported by Express? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Mon Nov 20 16:55:51 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 17:55:51 -0500 Subject: [AccessD] Excel Import Message-ID: Record #99 and on, are nothing but blank records. Actually, I did copy this data in from a html screen version of excel...into a blank excel worksheet. Then uploaded that. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import Keith, is it importing each cell entry as a single record or are the records pretty much intact? If the latter, what's in rows 99 and beyond? The first thing I'd suggest is that you copy the 98 records into a clean sheet and just get rid of the old one. Susan H. I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Mon Nov 20 17:01:25 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 18:01:25 -0500 Subject: [AccessD] Excel Import Message-ID: Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 20, 2006 5:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import Hi, Keith I can't say that I've seen that behavior before, but Access seems to be seeing the entire Excel sheet as the data source when you do the import. Try naming the range (Insert/Name) of the Excel sheet that holds the data. Then specify that named range for import into your table. Named ranges are very useful both within Excel and for this sort of external task. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Mon Nov 20 17:01:47 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 18:01:47 -0500 Subject: [AccessD] Excel Import Message-ID: Yeah...tried that a few times. :( Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, November 20, 2006 5:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import Oh the joy of it, eh? First thing I'd try is selecting all the empty rows and then deleting them. (just in case there's zero length string or something akin to that in all of them. Then try importing again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 3:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon Nov 20 17:05:52 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 20 Nov 2006 15:05:52 -0800 Subject: [AccessD] Print report to file In-Reply-To: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> Message-ID: <006401c70cf8$6d504bb0$0200a8c0@murphy3234aaf1> Snagit can do this, but you will have to spend a few bucks. Well worth the money, $39 from TechSmith.com. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 20, 2006 2:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Print report to file Dear List: I got a program from this list a few years ago which allowed me to print a report to a file. Each page was a jpg. I could then insert them into a manual. It worked great. But I cannot find it any more. I think it installed like a printer but I can't remember. It was a free download from the net and I believe it was from a Russian author. I searched the archive but no luck. Does this ring a bell with anybody? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Mon Nov 20 17:12:00 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 18:12:00 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <001e01c70cf9$48e69710$9cb82ad1@SUSANONE> If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) From stuart at lexacorp.com.pg Mon Nov 20 17:57:42 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Nov 2006 09:57:42 +1000 Subject: [AccessD] Print report to file In-Reply-To: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> References: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> Message-ID: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> On 20 Nov 2006 at 14:46, Beach Access Software wrote: > I got a program from this list a few years ago which allowed me to print a > report to a file. Each page was a jpg. I could then insert them into a > manual. It worked great. > > > > But I cannot find it any more. I think it installed like a printer but I > can't remember. It was a free download from the net and I believe it was > from a Russian author. > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate it later. There are a number of commercial apps that do this and let you print to all sorts of graphic formats. They generally run around $40. They include: http://www.dobysoft.com/products/softcopy/index.html http://www.zan1011.com/ http://www.eprintdriver.com/ePrintFilePrinter.html http://www.verypdf.com/artprint/ From Donald.A.McGillivray at sprint.com Mon Nov 20 17:31:00 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 20 Nov 2006 17:31:00 -0600 Subject: [AccessD] Excel Import In-Reply-To: <001e01c70cf9$48e69710$9cb82ad1@SUSANONE> Message-ID: True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) -- 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 20 18:24:52 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 16:24:52 -0800 Subject: [AccessD] Print report to file In-Reply-To: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> Message-ID: <01ea01c70d03$76da4ef0$6401a8c0@HAL9005> Stuart: IIRC, the one I had printed to a few formats including Windows Metafile. I had to do some experimenting to get a format I could use. I think I opened the original output from the program in some picture manipulator and saved it in jpg. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 20, 2006 3:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file On 20 Nov 2006 at 14:46, Beach Access Software wrote: > I got a program from this list a few years ago which allowed me to print a > report to a file. Each page was a jpg. I could then insert them into a > manual. It worked great. > > > > But I cannot find it any more. I think it installed like a printer but I > can't remember. It was a free download from the net and I believe it was > from a Russian author. > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate it later. There are a number of commercial apps that do this and let you print to all sorts of graphic formats. They generally run around $40. They include: http://www.dobysoft.com/products/softcopy/index.html http://www.zan1011.com/ http://www.eprintdriver.com/ePrintFilePrinter.html http://www.verypdf.com/artprint/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 3:04 AM From artful at rogers.com Mon Nov 20 18:24:59 2006 From: artful at rogers.com (artful at rogers.com) Date: Mon, 20 Nov 2006 16:24:59 -0800 (PST) Subject: [AccessD] Create object Message-ID: <20061121002459.2971.qmail@web88214.mail.re2.yahoo.com> Hmm, a clue. I know nothing about this software, but is there a way to open an instance on another computer? Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Monday, November 20, 2006 12:26:20 PM Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim From stuart at lexacorp.com.pg Mon Nov 20 18:47:59 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Nov 2006 10:47:59 +1000 Subject: [AccessD] Print report to file In-Reply-To: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> References: <01cb01c70cf5$b3471750$6401a8c0@HAL9005>, <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> Message-ID: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg> On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > it later. > Found it. PrintToPicture by Gretchko Juriy. It creates BMP,PCX or PNG images of printed pages. His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any more so I've put my copy at http://www.lexacorp.com.pg/printToPicture101.exe From k.williamson5 at verizon.net Mon Nov 20 18:59:34 2006 From: k.williamson5 at verizon.net (Keith Williamson) Date: Mon, 20 Nov 2006 19:59:34 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <001801c70d08$5483ed20$650010ac@KeithHome> Well, guys...don't sweat it too much. I'm having to go through hoops right now, while I wait on our damned MIS person to finally give me an ODBC access to the application database. In the meantime, I am downloading data, and loading it into my own db to work with. Ultimately, I'll have linked tables and won't have to do this anymore. I just found it to be an extremely odd thing to encounter. Never ran into this before....and I've done a LOT of excel imports. {sigh} Thanks for the advice. Regards, Keith -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 20, 2006 6:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 setel.com Mon Nov 20 20:29:10 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 21:29:10 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <000b01c70d14$e0d08f20$18bc2ad1@SUSANONE> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. =======Right -- actually, the inserted row can be anywhere within the range. Susan H. From martyconnelly at shaw.ca Mon Nov 20 20:39:54 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Nov 2006 18:39:54 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> References: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> Message-ID: <456266FA.4050804@shaw.ca> SQL Server 2005 Express Edition with Advanced Services SP1 234 Meg http://msdn.microsoft.com/vstudio/express/sql/download/ Advanced Services contains the following features: SQL Server Management Studio Express, a graphical management tool based on SQL Server Management Studio that makes it easy to manage and administer SQL Server Express databases. Reporting Services, an integrated report creation and design environment to create reports. Full-Text Search, a powerful search engine for searching text-intensive data. However Note this about Vista and MSDE non support In an effort to provide customers with more secure products, Microsoft Windows Server "Longhorn" and Microsoft Windows Vista will only support SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available. Earlier versions of SQL Server, including SQL Server 2000 (all editions including Desktop Engine edition, a.k.a MSDE), SQL Server 7.0, and SQL Server 6.5, will not be supported on Windows Server "Longhorn" or Windows Vista. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx You can use the Export functionality in Access to send data to a number of places, including SQL Server. You should be able to find information on this in the Access help file, but here is the general process: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=295865&SiteID=1 Open your database in Access and choose the Export option. Choose ODBC Database from the Files of Type list. Follow the wizard to create a DSN to your SQL Express instance. Pick the tables and click OK. You will need to enable TCP connections to SQL in order for Access to be able to connect and if the SQL Express server is on a different computer than Access you'll need to open Exceptions in the firewall on the server computer. Instructions on how to do that are at http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx http://blogs.msdn.com/sqlexpress/default.aspx Regards, Mike Wachal SQL Express team FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx Susan Harkins wrote: > >I would probably do this with SQL Server 2005 Express Edition with Advanced >Services.SQL Server 2005 Express Edition with Advanced Services is perfect >for use as a backend to a small, multiuser application that requires more >advanced features such as Web reporting or Full-text Search. >You could do this with the full version of SQL 2000 but now is available in >Express. > >========Are you sure that full-text search is supported by Express? > >Susan H. > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Nov 20 20:49:56 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Nov 2006 18:49:56 -0800 Subject: [AccessD] Create object In-Reply-To: <20061121002459.2971.qmail@web88214.mail.re2.yahoo.com> References: <20061121002459.2971.qmail@web88214.mail.re2.yahoo.com> Message-ID: <45626954.4040201@shaw.ca> I think if you look through the registry it will be either multi or single instance registration artful at rogers.com wrote: >Hmm, a clue. I know nothing about this software, but is there a way to open an instance on another computer? > >Arthur > >----- Original Message ---- >From: Jim Lawrence >To: Access Developers discussion and problem solving >Sent: Monday, November 20, 2006 12:26:20 PM >Subject: Re: [AccessD] Create object > >Hi John: > >The problem would appear to be with 3D-FTP which is designed to only open as >a single instance, per computer.... > >Jim > > > > > > -- Marty Connelly Victoria, B.C. Canada From kp at sdsonline.net Mon Nov 20 22:16:12 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 21 Nov 2006 15:16:12 +1100 Subject: [AccessD] CommonDialog 2000 to 2003 Message-ID: <000a01c70d23$c81934a0$6501a8c0@office> I've been working through converting an A2K app to Access 2003 and most issues are resolved. But I am just wondering whther anyone has a sample of a form with a browse / save dialog for me to see in 2003 - I had that all working in 2000 but it seems to have changed significantly. rgds ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From bchacc at san.rr.com Tue Nov 21 01:25:27 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 23:25:27 -0800 Subject: [AccessD] Print report to file In-Reply-To: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg> Message-ID: <020401c70d3e$381ce660$6401a8c0@HAL9005> Stuart: That's it! That will be a lifesaver. But for some reason the link isn't working. I get a 404 - not found on this server. Can you send it off-line to me? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > it later. > Found it. PrintToPicture by Gretchko Juriy. It creates BMP,PCX or PNG images of printed pages. His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any more so I've put my copy at http://www.lexacorp.com.pg/printToPicture101.exe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 3:04 AM From andy at minstersystems.co.uk Tue Nov 21 02:20:57 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 21 Nov 2006 08:20:57 -0000 Subject: [AccessD] Print report to file In-Reply-To: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg> Message-ID: <00cc01c70d45$f9f3fdd0$54a20c54@minster33c3r25> Stuart the link isn't working, or at least not for me. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: 21 November 2006 00:48 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print report to file > > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that > prints to > > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem > to exist any more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe > > > > > -- > 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 21 03:38:51 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Nov 2006 19:38:51 +1000 Subject: [AccessD] Print report to file In-Reply-To: <020401c70d3e$381ce660$6401a8c0@HAL9005> References: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg>, <020401c70d3e$381ce660$6401a8c0@HAL9005> Message-ID: <4562C92B.19041.B6F9ED3@stuart.lexacorp.com.pg> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 > 3:04 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From jwcolby at colbyconsulting.com Tue Nov 21 04:08:23 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 21 Nov 2006 05:08:23 -0500 Subject: [AccessD] Create object In-Reply-To: <45626954.4040201@shaw.ca> Message-ID: <001f01c70d54$fb1c0540$657aa8c0@m6805> And how do you tell this? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 20, 2006 9:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Create object I think if you look through the registry it will be either multi or single instance registration artful at rogers.com wrote: >Hmm, a clue. I know nothing about this software, but is there a way to open an instance on another computer? > >Arthur > >----- Original Message ---- >From: Jim Lawrence >To: Access Developers discussion and problem solving > >Sent: Monday, November 20, 2006 12:26:20 PM >Subject: Re: [AccessD] Create object > >Hi John: > >The problem would appear to be with 3D-FTP which is designed to only >open as a single instance, per computer.... > >Jim > > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 21 05:28:23 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 12:28:23 +0100 Subject: [AccessD] Excel Import Message-ID: Hi Don Perhaps this about Dynamic Named Ranges: http://databaseadvisors.com/pipermail/accessd/2006-March/042838.html Unfortunately, exactly such a range can _not_ be used as the source when linking or importing. /gustav >>> Donald.A.McGillivray at sprint.com 21-11-2006 00:31:00 >>> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) From Gustav at cactus.dk Tue Nov 21 05:47:10 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 12:47:10 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe From bchacc at san.rr.com Tue Nov 21 09:49:49 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 21 Nov 2006 07:49:49 -0800 Subject: [AccessD] Print report to file In-Reply-To: <4562C92B.19041.B6F9ED3@stuart.lexacorp.com.pg> Message-ID: <001701c70d84$ad7727e0$6401a8c0@HAL9005> Got it, Stuart! Thanks. It's a life saver. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 21, 2006 1:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 > 3:04 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006 9:20 PM From shamil at users.mns.ru Tue Nov 21 09:52:53 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 21 Nov 2006 18:52:53 +0300 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <001201c70d85$1b045a30$6401a8c0@nant> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0 %d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe -- 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 21 10:30:46 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 17:30:46 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Shamil That's it! Thanks Shamil - never heard of that search engine. Great. For anyone else interested in transforming or printing reports directly to picture files, here are the notes for that version: Utility Print To Picture (PTP) is intended for transformation of a printer conclusion of applications Windows to sets of raster graphic documents (pictures). Easier speaking, with the help of utility PTP, any applications Windows can make a seal in a picture, the same way, as on the printer. The basic characteristics of a product: Operation system Windows 2000 or Windows XP or Windows 2003 Server Output format PCX, BMP or PNG Colority Black and White "Paper" form's A4, A5, square 100x100 mm, 120x120 mm, 150x150 mm, envelopes 160x114 mm, 229x114 mm, 229x162 mm Resolution 600,300,200,150,100,75,60,50 dpi Halftoning Supercell or offset cell from 2x2 to 16x16 points Page control Single page per print or multiple pages Cutting mode By picture content; optional In addition the utility allows to establish and delete printers for a seal in a picture. Note that it is freeware. /gustav >>> shamil at users.mns.ru 21-11-2006 16:52:53 >>> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0%d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe From shamil at users.mns.ru Tue Nov 21 12:28:58 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 21 Nov 2006 21:28:58 +0300 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <001401c70d9a$e95fc1c0$6401a8c0@nant> <<< never heard of that search engine. >>> Hi Gustav, I think it appeared before Google, at least I did get it known before Google. The issue is that it's mainly in Cyrillic but if you have windows version with Cyrillic fonts installed like e.g. I do have US/English with Cyrillic then you can just use search textbox of this search engine and you can type English search keywords in it and you can find some useful stuff in English, which isn't visible on Google.... BTW, here is a useful rather good free service to translate web pages including Russian -> English: http://www.online-translator.com/default.asp?lang=en -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 7:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Shamil That's it! Thanks Shamil - never heard of that search engine. Great. For anyone else interested in transforming or printing reports directly to picture files, here are the notes for that version: Utility Print To Picture (PTP) is intended for transformation of a printer conclusion of applications Windows to sets of raster graphic documents (pictures). Easier speaking, with the help of utility PTP, any applications Windows can make a seal in a picture, the same way, as on the printer. The basic characteristics of a product: Operation system Windows 2000 or Windows XP or Windows 2003 Server Output format PCX, BMP or PNG Colority Black and White "Paper" form's A4, A5, square 100x100 mm, 120x120 mm, 150x150 mm, envelopes 160x114 mm, 229x114 mm, 229x162 mm Resolution 600,300,200,150,100,75,60,50 dpi Halftoning Supercell or offset cell from 2x2 to 16x16 points Page control Single page per print or multiple pages Cutting mode By picture content; optional In addition the utility allows to establish and delete printers for a seal in a picture. Note that it is freeware. /gustav >>> shamil at users.mns.ru 21-11-2006 16:52:53 >>> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0 %d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe -- 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 21 13:02:30 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 20:02:30 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Shamil Thanks, that may be of help - though I on another Russian site managed to read "no results" in Russian ... /gustav >>> shamil at users.mns.ru 21-11-2006 19:28:58 >>> <<< never heard of that search engine. >>> Hi Gustav, I think it appeared before Google, at least I did get it known before Google. The issue is that it's mainly in Cyrillic but if you have windows version with Cyrillic fonts installed like e.g. I do have US/English with Cyrillic then you can just use search textbox of this search engine and you can type English search keywords in it and you can find some useful stuff in English, which isn't visible on Google.... BTW, here is a useful rather good free service to translate web pages including Russian -> English: http://www.online-translator.com/default.asp?lang=en -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 7:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Shamil That's it! Thanks Shamil - never heard of that search engine. Great. For anyone else interested in transforming or printing reports directly to picture files, here are the notes for that version: Utility Print To Picture (PTP) is intended for transformation of a printer conclusion of applications Windows to sets of raster graphic documents (pictures). Easier speaking, with the help of utility PTP, any applications Windows can make a seal in a picture, the same way, as on the printer. The basic characteristics of a product: Operation system Windows 2000 or Windows XP or Windows 2003 Server Output format PCX, BMP or PNG Colority Black and White "Paper" form's A4, A5, square 100x100 mm, 120x120 mm, 150x150 mm, envelopes 160x114 mm, 229x114 mm, 229x162 mm Resolution 600,300,200,150,100,75,60,50 dpi Halftoning Supercell or offset cell from 2x2 to 16x16 points Page control Single page per print or multiple pages Cutting mode By picture content; optional In addition the utility allows to establish and delete printers for a seal in a picture. Note that it is freeware. /gustav >>> shamil at users.mns.ru 21-11-2006 16:52:53 >>> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0 %d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav From Gustav at cactus.dk Tue Nov 21 13:06:59 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 20:06:59 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Rocky You better put this life saver of yours in a safe place this time! Or we can expect to have you whining here again in a year or so: http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035448.html /gustav > On 20 Nov 2006 at 23:25, Beach Access Software wrote: > That's it! That will be a lifesaver. > Rocky From accessd at shaw.ca Tue Nov 21 13:13:49 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 21 Nov 2006 11:13:49 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <456266FA.4050804@shaw.ca> Message-ID: <0J9300G0GHCPHXA1@l-daemon> It appears that MS, to that end, has set all their MS SQL products time-sensitive. Any partner copies of MS SQL 2000 that have not been installed within a certain time period will not install. Upon a discussion with a MS rep, though not official, it was described as an attempt to move their partners away from supporting older versions and towards the latest offering. This of course cause some issues with supporting clients who have large investments in an older MS SQL and the developer having to borrow their legal copy so a development site can be created.... legal? I guess the push is not to continue supporting current SQL but to encourage clients to upgrade and developer to retrain. Comments? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 20, 2006 6:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help SQL Server 2005 Express Edition with Advanced Services SP1 234 Meg http://msdn.microsoft.com/vstudio/express/sql/download/ Advanced Services contains the following features: SQL Server Management Studio Express, a graphical management tool based on SQL Server Management Studio that makes it easy to manage and administer SQL Server Express databases. Reporting Services, an integrated report creation and design environment to create reports. Full-Text Search, a powerful search engine for searching text-intensive data. However Note this about Vista and MSDE non support In an effort to provide customers with more secure products, Microsoft Windows Server "Longhorn" and Microsoft Windows Vista will only support SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available. Earlier versions of SQL Server, including SQL Server 2000 (all editions including Desktop Engine edition, a.k.a MSDE), SQL Server 7.0, and SQL Server 6.5, will not be supported on Windows Server "Longhorn" or Windows Vista. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx You can use the Export functionality in Access to send data to a number of places, including SQL Server. You should be able to find information on this in the Access help file, but here is the general process: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=295865&SiteID=1 Open your database in Access and choose the Export option. Choose ODBC Database from the Files of Type list. Follow the wizard to create a DSN to your SQL Express instance. Pick the tables and click OK. You will need to enable TCP connections to SQL in order for Access to be able to connect and if the SQL Express server is on a different computer than Access you'll need to open Exceptions in the firewall on the server computer. Instructions on how to do that are at http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx http://blogs.msdn.com/sqlexpress/default.aspx Regards, Mike Wachal SQL Express team FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx Susan Harkins wrote: > >I would probably do this with SQL Server 2005 Express Edition with Advanced >Services.SQL Server 2005 Express Edition with Advanced Services is perfect >for use as a backend to a small, multiuser application that requires more >advanced features such as Web reporting or Full-text Search. >You could do this with the full version of SQL 2000 but now is available in >Express. > >========Are you sure that full-text search is supported by Express? > >Susan H. > > > -- 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 dejpolsystems.com Tue Nov 21 14:04:43 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 21 Nov 2006 15:04:43 -0500 Subject: [AccessD] Print report to file References: Message-ID: <002b01c70da8$4a031010$3e3de844@50NM721> ...my, my, my ...taking people to the woodshed before supper :) ...problem is, it's often easier to ask here than go searching through huge hard drives on half a dozen different systems ...I know I've done it myself :( ...but sometimes, the Watcher catches you :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, November 21, 2006 2:06 PM Subject: Re: [AccessD] Print report to file > Hi Rocky > > You better put this life saver of yours in a safe place this time! > Or we can expect to have you whining here again in a year or so: > > http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035448.html > > /gustav > > >> On 20 Nov 2006 at 23:25, Beach Access Software wrote: > >> That's it! That will be a lifesaver. >> Rocky > > > > -- > 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 Tue Nov 21 14:06:12 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 21 Nov 2006 20:06:12 -0000 Subject: [AccessD] Hey Shamil References: <001401c70d9a$e95fc1c0$6401a8c0@nant> Message-ID: Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From shamil at users.mns.ru Tue Nov 21 15:09:51 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 00:09:51 +0300 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: Message-ID: <000301c70db1$62d7c9b0$6401a8c0@nant> <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 21, 2006 11:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mwp.reid at qub.ac.uk Tue Nov 21 15:19:52 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 21 Nov 2006 21:19:52 -0000 Subject: [AccessD] OT: RE: Hey Shamil References: <000301c70db1$62d7c9b0$6401a8c0@nant> Message-ID: Shamil I can put you in touch with teh people at my University who deal with overseas students if you woudl like. Maritn Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Shamil Salakhetdinov Sent: Tue 21/11/2006 21:09 To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: RE: Hey Shamil <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 21, 2006 11:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dgibso at uark.edu Tue Nov 21 15:55:31 2006 From: dgibso at uark.edu (David A Gibson) Date: Tue, 21 Nov 2006 15:55:31 -0600 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <000301c70db1$62d7c9b0$6401a8c0@nant> References: <000301c70db1$62d7c9b0$6401a8c0@nant> Message-ID: <7.0.1.0.0.20061121155146.01ef29a0@uark.edu> Shamil, I work for the University of Arkansas in Fayetteville, Arkansas. I used to work with both Domestic and International Admissions but International has since moved toto the Graduate Admissions building. http://www.uark.edu/ua/iao/ This may provide some information for you. David G. At 03:09 PM 11/21/2006, you wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > >>> >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > From JHewson at karta.com Tue Nov 21 16:15:17 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 21 Nov 2006 16:15:17 -0600 Subject: [AccessD] OT: RE: Hey Shamil Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C04ABB12B@karta-exc-int.Karta.com> Shamil, My wife works for St. Mary's University in San Antonio, Texas. This link might be of interest to you. http://www.stmarytx.edu/iss/ Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David A Gibson Sent: Tuesday, November 21, 2006 3:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: RE: Hey Shamil Shamil, I work for the University of Arkansas in Fayetteville, Arkansas. I used to work with both Domestic and International Admissions but International has since moved toto the Graduate Admissions building. http://www.uark.edu/ua/iao/ This may provide some information for you. David G. At 03:09 PM 11/21/2006, you wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > >>> >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > -- 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 21 17:14:07 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Nov 2006 15:14:07 -0800 Subject: [AccessD] Create object In-Reply-To: <001f01c70d54$fb1c0540$657aa8c0@m6805> References: <001f01c70d54$fb1c0540$657aa8c0@m6805> Message-ID: <4563883F.6090706@shaw.ca> Not sure However Depends if it is loaded as a service or a process A service generally defaults to single instance A service is defined by a registry key under HKLM\System\CurrentControlSet\Services, one key per service defined. Obviously there can only be one key called Foo so you can only have one Foo service defined. A process is multi-instance default CuteFTP has a code HKEY_CLASSES_ROOT\Installer\Products\7A8F1B6E2FE2CD747B4DABE7C088D565 Key Name InstanceType regword 0 JWColby wrote: >And how do you tell this? >Mime-Version: 1.0 >Content-Transfer-Encoding: 7bit >Content-Type: text/plain; charset=us-ascii > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, November 20, 2006 9:50 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Create object > >I think if you look through the registry it will be either multi or single >instance registration > >artful at rogers.com wrote: > > > >>Hmm, a clue. I know nothing about this software, but is there a way to open >> >> >an instance on another computer? > > >>Arthur >> >>----- Original Message ---- >>From: Jim Lawrence >>To: Access Developers discussion and problem solving >> >>Sent: Monday, November 20, 2006 12:26:20 PM >>Subject: Re: [AccessD] Create object >> >>Hi John: >> >>The problem would appear to be with 3D-FTP which is designed to only >>open as a single instance, per computer.... >> >>Jim >> >> >> >> >> >> >> >> > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Tue Nov 21 17:32:47 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 21 Nov 2006 15:32:47 -0800 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <010101c70dc5$5a3acd70$6401a8c0@HAL9005> D'oh! Busted... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 11:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Rocky You better put this life saver of yours in a safe place this time! Or we can expect to have you whining here again in a year or so: http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035448.html /gustav > On 20 Nov 2006 at 23:25, Beach Access Software wrote: > That's it! That will be a lifesaver. > Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006 9:20 PM From john at winhaven.net Tue Nov 21 17:43:47 2006 From: john at winhaven.net (John Bartow) Date: Tue, 21 Nov 2006 17:43:47 -0600 Subject: [AccessD] Print report to file In-Reply-To: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> Message-ID: <200611212343.kALNhkq31259@databaseadvisors.com> I've downloaded and installed PrintToPicture101.exe. 101 does work in XP but... I then downloaded and meant to install ptp102.zip (which is an upgrade to 101, both are by Gretchko.) The upgrade suggests you first remove the previous version. The unistall for 101 hangs and does nothing. The installation for 102 does nothing. I'm stuck in no man's land. Just a word of caution. From dwaters at usinternet.com Tue Nov 21 17:48:34 2006 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 21 Nov 2006 17:48:34 -0600 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <33099401.1164143980850.JavaMail.root@sniper58> Message-ID: <003c01c70dc7$8f48bbb0$0200a8c0@danwaters> Hi Shamil! This is the link to the University of Minnesota International Student Admissions page. It may be that the climate in Minneapolis is similar to St. Petersburg. http://www.isss.umn.edu/ In rummaging around the UM site, I found this link: http://www.educationusa.state.gov/ Also, have you ever thought of contacting Microsoft to see if you could work for them in some capacity? It seems to me that with the skill you definitely have, that they could find a way for you to make them some money if they would just give you a little bit of theirs! Really! Best of Luck! Dan Waters -----Original Message----- Subject: [AccessD] OT: RE: Hey Shamil <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From garykjos at gmail.com Tue Nov 21 19:16:06 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 21 Nov 2006 19:16:06 -0600 Subject: [AccessD] Print report to file In-Reply-To: <200611212343.kALNhkq31259@databaseadvisors.com> References: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> <200611212343.kALNhkq31259@databaseadvisors.com> Message-ID: Reinstall 101 maybe? Maybe that one will work good enough? On 11/21/06, John Bartow wrote: > I've downloaded and installed PrintToPicture101.exe. 101 does work in XP > but... > > I then downloaded and meant to install ptp102.zip (which is an upgrade to > 101, both are by Gretchko.) The upgrade suggests you first remove the > previous version. The unistall for 101 hangs and does nothing. The > installation for 102 does nothing. I'm stuck in no man's land. > > Just a word of caution. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From newsgrps at dalyn.co.nz Tue Nov 21 19:16:54 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 14:16:54 +1300 Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> SQL 2000 I have the following query running in Query Analyser: SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName as CustName, dbo.tblCustStatement.StatementDate, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo INNER JOIN dbo.tblCustStatement ON dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceipt.StatNum LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceiptInv.InvNum WHERE -- Remming out this statement works (and removing the AND at the beginning of the next line) (dbo.tblCustStatement.StatementDate >= '2006-11-01' And dbo.tblCustStatement.StatementDate <= '2006-11-30') -- Remming out this statement works AND (dbo.tblCustomers.AccStatus= 'Active') AND (dbo.tblCustStatement.[CurrentMth]+ dbo.tblCustStatement.[OneMonth]+ dbo.tblCustStatement.[TwoMonths]+ dbo.tblCustStatement.[ThreeMonths] + ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) + ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) + ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) AND (dbo.tblCustomers.PayArrange = 0) AND (dbo.tblCustomers.NoOverdueNote = 0) -- Remming out this statement works AND ( CASE WHEN ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' ELSE LEFT(dbo.tblCustomers.CreditStatus,2) END < CAST(DAY(GETDATE()) AS varchar(2))) AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR dbo.tblCustomers.CreditStatus IS NULL) -- Remming out this statement works AND (dbo.tblCustStatement.StatementNumber <> 1) ORDER BY CustName, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementDate When I remark out any 1 of the AND statements noted above in the WHERE clause the results come back in a couple of seconds. However, when I include all AND statement the query runs doesn't return any results (at least not within the first ten minutes!) There doesn't seem to be any pattern to the lines that can be remmed or combinations of remaining lines. The only clue I have is that data from the database from two months ago works fine but there are 750 more records in each table being filtered. Any suggestions as to how I can solve this - it seems to be a data issue but the various combinations of AND statements above doesn't make sense. From martyconnelly at shaw.ca Tue Nov 21 19:31:01 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Nov 2006 17:31:01 -0800 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <000301c70db1$62d7c9b0$6401a8c0@nant> References: <000301c70db1$62d7c9b0$6401a8c0@nant> Message-ID: <4563A855.8070707@shaw.ca> Here is one of interest, they usually try to attract foriegn students with bursaries in their MA program. It attracts job offers from External Affairs department and International Banking firms. Norman Paterson School of International Affairs Carleton University, Ottawa. http://www.carleton.ca/npsia/index.html I coughed when I saw the fees. I had a roommate who went through this program. She made it through by working part time as a bank teller. It didn't interfere with her classes. I also used to go skiing with Norman's granddaughter Ellen Patterson who was also in the program at that time. The fees to her were less than her allowance. Some Candian Universities offer a CO-OP program A split work term - university term where the student gets work experience and enough pay to cover tuition. Something to look for if tuition a problem. Although a 4 year degree takes 5 years to complete. Also you come out with two years work experience. Microsoft grabs a lot of these guys at Waterloo for work terms. http://www.cecs.uwaterloo.ca/students/prospective/ Waterloo is one of the top Math/Engineering schools in Canada. Computer Science is part of the Mathematics Faculty. Located 120 miles west of Toronto. http://www.uwaterloo.ca/ Shamil Salakhetdinov wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > > >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >Sent: Tuesday, November 21, 2006 11:06 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Hey Shamil > >Had a girl from your city on my course today. > >Svetlana Svyatko > >Her brother is a student at the University you worked at in St Petersburg. > >Martin > > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Tue Nov 21 19:34:02 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 21 Nov 2006 17:34:02 -0800 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <014a01c70dd6$4ac8bb20$6401a8c0@HAL9005> You know, I installed 1.02 right over 1.01 without a problem. But the first time it aborted because 1.01 was still running. After I terminated 1.01, the install of 1.02 went just fine. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 21, 2006 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file Reinstall 101 maybe? Maybe that one will work good enough? On 11/21/06, John Bartow wrote: > I've downloaded and installed PrintToPicture101.exe. 101 does work in XP > but... > > I then downloaded and meant to install ptp102.zip (which is an upgrade to > 101, both are by Gretchko.) The upgrade suggests you first remove the > previous version. The unistall for 101 hangs and does nothing. The > installation for 102 does nothing. I'm stuck in no man's land. > > Just a word of caution. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006 9:20 PM From martyconnelly at shaw.ca Tue Nov 21 20:33:11 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Nov 2006 18:33:11 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <4563B6E7.8050602@shaw.ca> How about limiting the returned records with something like Select TOP 10 I forget the exact syntax for SQL 2000 like the LIMIT statement in MySQL or WHERE ROWNUM >11 in Oracle or new function ROW_NUMBER() in SQL 2005 David Emerson wrote: >SQL 2000 > >I have the following query running in Query Analyser: > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName >as CustName, dbo.tblCustStatement.StatementDate, > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > INNER JOIN dbo.tblCustStatement ON >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceipt.StatNum > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceiptInv.InvNum >WHERE > -- Remming out this statement works (and removing the AND at >the beginning of the next line) > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And >dbo.tblCustStatement.StatementDate <= '2006-11-30') > -- Remming out this statement works > AND (dbo.tblCustomers.AccStatus= 'Active') > AND (dbo.tblCustStatement.[CurrentMth]+ >dbo.tblCustStatement.[OneMonth]+ >dbo.tblCustStatement.[TwoMonths]+ >dbo.tblCustStatement.[ThreeMonths] + >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > AND (dbo.tblCustomers.PayArrange = 0) > AND (dbo.tblCustomers.NoOverdueNote = 0) > -- Remming out this statement works > AND ( CASE > WHEN >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > END < CAST(DAY(GETDATE()) AS varchar(2))) > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR >dbo.tblCustomers.CreditStatus IS NULL) > -- Remming out this statement works > AND (dbo.tblCustStatement.StatementNumber <> 1) >ORDER BY CustName, dbo.tblCustomers.AccountNo, >dbo.tblCustStatement.StatementDate > >When I remark out any 1 of the AND statements noted above in the >WHERE clause the results come back in a couple of seconds. >However, when I include all AND statement the query runs doesn't >return any results (at least not within the first ten minutes!) > >There doesn't seem to be any pattern to the lines that can be remmed >or combinations of remaining lines. The only clue I have is that >data from the database from two months ago works fine but there are >750 more records in each table being filtered. > >Any suggestions as to how I can solve this - it seems to be a data >issue but the various combinations of AND statements above doesn't make sense. > > > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Tue Nov 21 20:43:18 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 21 Nov 2006 18:43:18 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> You are forcing table scans everywhere. You must rethink this. Divide the problems into atomic queries and then build up to molecular queries. The ANDs are killing you. Do the OUTER JOINs first, each as an atom, then combine those, then do your query. I suggest that performance will escalate dramatically. hth, Arthur David Emerson wrote: >SQL 2000 > >I have the following query running in Query Analyser: > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName >as CustName, dbo.tblCustStatement.StatementDate, > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > INNER JOIN dbo.tblCustStatement ON >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceipt.StatNum > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceiptInv.InvNum >WHERE > -- Remming out this statement works (and removing the AND at >the beginning of the next line) > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And >dbo.tblCustStatement.StatementDate <= '2006-11-30') > -- Remming out this statement works > AND (dbo.tblCustomers.AccStatus= 'Active') > AND (dbo.tblCustStatement.[CurrentMth]+ >dbo.tblCustStatement.[OneMonth]+ >dbo.tblCustStatement.[TwoMonths]+ >dbo.tblCustStatement.[ThreeMonths] + >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > AND (dbo.tblCustomers.PayArrange = 0) > AND (dbo.tblCustomers.NoOverdueNote = 0) > -- Remming out this statement works > AND ( CASE > WHEN >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > END < CAST(DAY(GETDATE()) AS varchar(2))) > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR >dbo.tblCustomers.CreditStatus IS NULL) > -- Remming out this statement works > AND (dbo.tblCustStatement.StatementNumber <> 1) >ORDER BY CustName, dbo.tblCustomers.AccountNo, >dbo.tblCustStatement.StatementDate > >When I remark out any 1 of the AND statements noted above in the >WHERE clause the results come back in a couple of seconds. >However, when I include all AND statement the query runs doesn't >return any results (at least not within the first ten minutes!) > >There doesn't seem to be any pattern to the lines that can be remmed >or combinations of remaining lines. The only clue I have is that >data from the database from two months ago works fine but there are >750 more records in each table being filtered. > >Any suggestions as to how I can solve this - it seems to be a data >issue but the various combinations of AND statements above doesn't make sense. > > > > -- 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 newsgrps at dalyn.co.nz Tue Nov 21 21:18:31 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:18:31 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> References: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> Message-ID: <20061122031958.TUHI27418.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Arthur, I am not quite sure what you mean. Are you suggesting that I create queries within the query to do the filtering? For example, instead of filtering the dbo.tblCustomers table in the WHERE statement, I should use a query in the FROM statement based on the dbo.tblCustomers table and filter there? David At 22/11/2006, you wrote: >You are forcing table scans everywhere. You must rethink this. >Divide the problems into atomic queries and then build up to >molecular queries. The ANDs are killing you. Do the OUTER JOINs >first, each as an atom, then combine those, then do your query. I >suggest that performance will escalate dramatically. > >hth, >Arthur > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 newsgrps at dalyn.co.nz Tue Nov 21 21:24:50 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:24:50 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <4563B6E7.8050602@shaw.ca> References: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> <4563B6E7.8050602@shaw.ca> Message-ID: <20061122032423.TEMG29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks for the suggestion, however since we want all the records that match the filters I can't see how using TOP will help (unless it is TOP 100)? David At 22/11/2006, you wrote: >How about limiting the returned records with >something like Select TOP 10 >I forget the exact syntax for SQL 2000 > like the LIMIT statement in MySQL or WHERE ROWNUM >11 >in Oracle or new function ROW_NUMBER() in SQL 2005 > > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 newsgrps at dalyn.co.nz Tue Nov 21 21:28:26 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:28:26 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> References: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> Message-ID: <20061122032815.UFBO27418.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Another thing - I have another database which is basically the same structure with over 4 times the number of records in all tables, and that works with the same query no problem. David At 22/11/2006, you wrote: >You are forcing table scans everywhere. You must rethink this. >Divide the problems into atomic queries and then build up to >molecular queries. The ANDs are killing you. Do the OUTER JOINs >first, each as an atom, then combine those, then do your query. I >suggest that performance will escalate dramatically. > >hth, >Arthur > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 artful at rogers.com Tue Nov 21 21:33:28 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 21 Nov 2006 19:33:28 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122033328.33489.qmail@web88205.mail.re2.yahoo.com> Precisely. I call this "Atomic and Molecular Queries." Atomic queries address precisely one table (or view), and molecular queries assemble at least two atomic queries. This gives you a) optimization and b) re-usability. Arthur ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:18:31 PM Subject: Re: [AccessD] Stored Procedure not producing results Thanks Arthur, I am not quite sure what you mean. Are you suggesting that I create queries within the query to do the filtering? For example, instead of filtering the dbo.tblCustomers table in the WHERE statement, I should use a query in the FROM statement based on the dbo.tblCustomers table and filter there? David At 22/11/2006, you wrote: >You are forcing table scans everywhere. You must rethink this. >Divide the problems into atomic queries and then build up to >molecular queries. The ANDs are killing you. Do the OUTER JOINs >first, each as an atom, then combine those, then do your query. I >suggest that performance will escalate dramatically. > >hth, >Arthur > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 artful at rogers.com Tue Nov 21 21:34:30 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 21 Nov 2006 19:34:30 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122033430.98449.qmail@web88209.mail.re2.yahoo.com> Then compare the table definitions and the index definitions. Something is radically amiss if it works here and not there. Arthur ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:28:26 PM Subject: Re: [AccessD] Stored Procedure not producing results Another thing - I have another database which is basically the same structure with over 4 times the number of records in all tables, and that works with the same query no problem. David From newsgrps at dalyn.co.nz Tue Nov 21 21:53:58 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:53:58 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122033430.98449.qmail@web88209.mail.re2.yahoo.com> References: <20061122033430.98449.qmail@web88209.mail.re2.yahoo.com> Message-ID: <20061122035352.VPNA27418.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David At 22/11/2006, artful at rogers.com wrote: >Then compare the table definitions and the index definitions. >Something is radically amiss if it works here and not there. > >Arthur > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving > >Sent: Tuesday, November 21, 2006 10:28:26 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >Another thing - I have another database which is basically the same >structure with over 4 times the number of records in all tables, and >that works with the same query no problem. > >David > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 05:08:27 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 03:08:27 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> If the structures haven't changed, then the data is the villain. But you have a concrete clue to work from. Devise some scope that will include only the data from two months ago and verify your assertion. Then expand the scope to "two months ago plus a day" and run it again. Repeat until failure. This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving ; Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:53:58 PM Subject: Re: [AccessD] Stored Procedure not producing results Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David From jwcolby at colbyconsulting.com Wed Nov 22 05:16:35 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 06:16:35 -0500 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> Message-ID: <001a01c70e27$ae2f3030$647aa8c0@m6805> >This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). Amen! I do that regularly now. It juts makes managing data so much easier when you can see when it was entered. I actually use the date + time so that I can see things like how long an append query takes to run (time of last entry in the "batch minus time of first entry in the "batch"). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results If the structures haven't changed, then the data is the villain. But you have a concrete clue to work from. Devise some scope that will include only the data from two months ago and verify your assertion. Then expand the scope to "two months ago plus a day" and run it again. Repeat until failure. This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving ; Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:53:58 PM Subject: Re: [AccessD] Stored Procedure not producing results Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David -- 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 22 05:53:06 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Nov 2006 12:53:06 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Rocky and John Yes, that's what may be required. Gretchko's own advice is a reboot: 5. Setup the new version of the program it is desirable after removal old version. Before installation it is desirable to reboot a computer. /gustav >>> bchacc at san.rr.com 22-11-2006 02:34:02 >>> You know, I installed 1.02 right over 1.01 without a problem. But the first time it aborted because 1.01 was still running. After I terminated 1.01, the install of 1.02 went just fine. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 21, 2006 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file Reinstall 101 maybe? Maybe that one will work good enough? On 11/21/06, John Bartow wrote: > I've downloaded and installed PrintToPicture101.exe. 101 does work in XP > but... > > I then downloaded and meant to install ptp102.zip (which is an upgrade to > 101, both are by Gretchko.) The upgrade suggests you first remove the > previous version. The unistall for 101 hangs and does nothing. The > installation for 102 does nothing. I'm stuck in no man's land. > > Just a word of caution. From accessd at shaw.ca Wed Nov 22 05:57:28 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Nov 2006 03:57:28 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <0J9400G9ARTCVFL2@l-daemon> Hi David: Just a further comment after conferring with a friend; it was noted that each one of the statements, that were plused together require a complete scan of their respective tables before they can be added. The overhead must be immense. Try using the Rollup or Cube statements, which are highly optimized and should give you a decent speed increase (http://databases.about.com/od/sql/l/aacuberollup.htm) It was also suggested that, if you have control over the database tables designing and this report is needed on a regular bases, a single table consolidating the flag fields would improve performance. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 21, 2006 5:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Stored Procedure not producing results SQL 2000 I have the following query running in Query Analyser: SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName as CustName, dbo.tblCustStatement.StatementDate, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo INNER JOIN dbo.tblCustStatement ON dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceipt.StatNum LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceiptInv.InvNum WHERE -- Remming out this statement works (and removing the AND at the beginning of the next line) (dbo.tblCustStatement.StatementDate >= '2006-11-01' And dbo.tblCustStatement.StatementDate <= '2006-11-30') -- Remming out this statement works AND (dbo.tblCustomers.AccStatus= 'Active') AND (dbo.tblCustStatement.[CurrentMth]+ dbo.tblCustStatement.[OneMonth]+ dbo.tblCustStatement.[TwoMonths]+ dbo.tblCustStatement.[ThreeMonths] + ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) + ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) + ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) AND (dbo.tblCustomers.PayArrange = 0) AND (dbo.tblCustomers.NoOverdueNote = 0) -- Remming out this statement works AND ( CASE WHEN ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' ELSE LEFT(dbo.tblCustomers.CreditStatus,2) END < CAST(DAY(GETDATE()) AS varchar(2))) AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR dbo.tblCustomers.CreditStatus IS NULL) -- Remming out this statement works AND (dbo.tblCustStatement.StatementNumber <> 1) ORDER BY CustName, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementDate When I remark out any 1 of the AND statements noted above in the WHERE clause the results come back in a couple of seconds. However, when I include all AND statement the query runs doesn't return any results (at least not within the first ten minutes!) There doesn't seem to be any pattern to the lines that can be remmed or combinations of remaining lines. The only clue I have is that data from the database from two months ago works fine but there are 750 more records in each table being filtered. Any suggestions as to how I can solve this - it seems to be a data issue but the various combinations of AND statements above doesn't make sense. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 06:14:50 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 04:14:50 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122121451.37330.qmail@web88207.mail.re2.yahoo.com> Right on. That's why I suggested the default GetDate(). There is a whole other subject on this, about which I have written, but I googled it and it didn't come up, so perhaps I wrote it and forgot to sell it to somebody. The gist is this: it's called PITA, which doesn't mean pain in the arse, but rather Point In Time Architecture. Without PITA, the central problem with relational databases is that they don't provide an instant "roll back to August 1" capability. With PITA, they do. It's not all that complicated, but it does require a detailed walk-through so you can understand all the implications, the most critical of which is, "Nothing is ever updated. An updated row is actually replaced, and the updated row's EndDate column is updated to reflect the datetime on which the row was "changed". Thus it becomes possible to issue a query that reflects the state of the database on August 1, 2005. Obviously this increases the size of the db significantly, but in certain environments (such as medical), this is critical -- who was JWC's physician on that date, and what tests were performed, and by which medicos, and so on. So. Today's job is to dig out that PITA article and pitch it to somebody. Arthur ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 6:16:35 AM Subject: Re: [AccessD] Stored Procedure not producing results >This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). Amen! I do that regularly now. It juts makes managing data so much easier when you can see when it was entered. I actually use the date + time so that I can see things like how long an append query takes to run (time of last entry in the "batch minus time of first entry in the "batch"). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results If the structures haven't changed, then the data is the villain. But you have a concrete clue to work from. Devise some scope that will include only the data from two months ago and verify your assertion. Then expand the scope to "two months ago plus a day" and run it again. Repeat until failure. This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving ; Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:53:58 PM Subject: Re: [AccessD] Stored Procedure not producing results Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 07:27:43 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 16:27:43 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122121451.37330.qmail@web88207.mail.re2.yahoo.com> Message-ID: <000601c70e3a$00281f70$6401a8c0@nant> <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results Right on. That's why I suggested the default GetDate(). There is a whole other subject on this, about which I have written, but I googled it and it didn't come up, so perhaps I wrote it and forgot to sell it to somebody. The gist is this: it's called PITA, which doesn't mean pain in the arse, but rather Point In Time Architecture. Without PITA, the central problem with relational databases is that they don't provide an instant "roll back to August 1" capability. With PITA, they do. It's not all that complicated, but it does require a detailed walk-through so you can understand all the implications, the most critical of which is, "Nothing is ever updated. An updated row is actually replaced, and the updated row's EndDate column is updated to reflect the datetime on which the row was "changed". Thus it becomes possible to issue a query that reflects the state of the database on August 1, 2005. Obviously this increases the size of the db significantly, but in certain environments (such as medical), this is critical -- who was JWC's physician on that date, and what tests were performed, and by which medicos, and so on. So. Today's job is to dig out that PITA article and pitch it to somebody. Arthur <<< tail skipped >>> From Gustav at cactus.dk Wed Nov 22 07:41:01 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Nov 2006 14:41:01 +0100 Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav >>> artful at rogers.com 22-11-2006 13:14:50 >>> Right on. That's why I suggested the default GetDate(). There is a whole other subject on this, about which I have written, but I googled it and it didn't come up, so perhaps I wrote it and forgot to sell it to somebody. The gist is this: it's called PITA, which doesn't mean pain in the arse, but rather Point In Time Architecture. Without PITA, the central problem with relational databases is that they don't provide an instant "roll back to August 1" capability. With PITA, they do. It's not all that complicated, but it does require a detailed walk-through so you can understand all the implications, the most critical of which is, "Nothing is ever updated. An updated row is actually replaced, and the updated row's EndDate column is updated to reflect the datetime on which the row was "changed". Thus it becomes possible to issue a query that reflects the state of the database on August 1, 2005. Obviously this increases the size of the db significantly, but in certain environments (such as medical), this is critical -- who was JWC's physician on that date, and what tests were performed, and by which medicos, and so on. So. Today's job is to dig out that PITA article and pitch it to somebody. Arthur From artful at rogers.com Wed Nov 22 08:03:13 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 06:03:13 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil From artful at rogers.com Wed Nov 22 08:10:35 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 06:10:35 -0800 (PST) Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: <20061122141035.57453.qmail@web88213.mail.re2.yahoo.com> My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav From adtp at airtelbroadband.in Wed Nov 22 08:42:07 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 22 Nov 2006 20:12:07 +0530 Subject: [AccessD] Excel Import References: Message-ID: <012601c70e44$6eef73e0$9f0b65cb@pcadt> Updating of data in Access db via import or link from Excel workbook, based upon dynamic named range is demonstrated in my sample db named ExcelToAccess, available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. The process is driven from excel end. Data blocks can be located anywhere on any of the worksheets. Progressive data transfers, involving more than one sheet (a sheet at a time), can be carried out as required. Two alternative styles are covered: (a) Select top left column heading of data block and execute. (b) No need to select any cell. Data block on active sheet will get transferred. A.D.Tejpal --------------- ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tuesday, November 21, 2006 16:58 Subject: Re: [AccessD] Excel Import Hi Don Perhaps this about Dynamic Named Ranges: http://databaseadvisors.com/pipermail/accessd/2006-March/042838.html Unfortunately, exactly such a range can _not_ be used as the source when linking or importing. /gustav >>> Donald.A.McGillivray at sprint.com 21-11-2006 00:31:00 >>> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don From jwcolby at colbyconsulting.com Wed Nov 22 08:49:02 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 09:49:02 -0500 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> Message-ID: <002401c70e45$5bf120d0$647aa8c0@m6805> Yes, but there has to be a limit somewhere. Suppose the physician moved. Do I care what his old address was. It is the same physician. Suppose he gets a new phone number, fax number, etc. I can see where in some cases you would want to preserve every piece of data in particular tables, but in EVERY table? And in your "family doctor" example, why not simply create a doctor table, then a FamilyDoctor table that relates family to doctor. The FamilyDoctor table has a begin / end date. New doctor, new entry in the FamilyDoctor table. The old FamilyDoctor entry remains and provides the history of who the family doctor was at any given date. The m-m FamilyDoctor table is just two pointers (family and doctor) and a begin / end date. MUCH simpler than preserving the entire doctor record whenever any tiny piece of that doctor record changed, not to mention updating a pointer to that doctor record in every family's record when some trivial piece of doctor info changes. Again, I am not arguing with the concept, simply the scope of application of the concept. So IF you agree that you limit the scope to specific tables, how do you determine and automatically apply the concept to specific tables, and not to others? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 08:49:33 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 17:49:33 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> Message-ID: <003b01c70e45$6c84e710$6401a8c0@nant> <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> From artful at rogers.com Wed Nov 22 09:14:18 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 07:14:18 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122151418.26001.qmail@web88206.mail.re2.yahoo.com> It seems that you missed the point, JWC. In a PITA setup, nothing is ever destroyed or overwritten. Thus I can roll back the database (metaphorically) and discover that on January 11, 2004 Dr. JWC had his office at 123 Main Street, but on February 1st of the same year, he moved his offices to 234 Side Street. On the former date, Dr. JWC had x clients, and on the latter date he had y clients. That is the whole point of PITA. You do not apply the concept to some tables and not others, in general. The distinction lies on QCDs (quickly changing dimensions) versus SCDs (slowly changing dimensions). To be safe, you apply the "do not destroy anything" to all tables in the database. For example, Yugloslavia and the former USSR became several countries recently. But we need to be able to look up JWC as of September, 1990 and see the data as it existed then. At that time, Sarajevo was in Yugoslavia. Now it is not. I still need to preserve your 1990 address. Arthur ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:02 AM Subject: Re: [AccessD] Stored Procedure not producing results Yes, but there has to be a limit somewhere. Suppose the physician moved. Do I care what his old address was. It is the same physician. Suppose he gets a new phone number, fax number, etc. I can see where in some cases you would want to preserve every piece of data in particular tables, but in EVERY table? And in your "family doctor" example, why not simply create a doctor table, then a FamilyDoctor table that relates family to doctor. The FamilyDoctor table has a begin / end date. New doctor, new entry in the FamilyDoctor table. The old FamilyDoctor entry remains and provides the history of who the family doctor was at any given date. The m-m FamilyDoctor table is just two pointers (family and doctor) and a begin / end date. MUCH simpler than preserving the entire doctor record whenever any tiny piece of that doctor record changed, not to mention updating a pointer to that doctor record in every family's record when some trivial piece of doctor info changes. Again, I am not arguing with the concept, simply the scope of application of the concept. So IF you agree that you limit the scope to specific tables, how do you determine and automatically apply the concept to specific tables, and not to others? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Nov 22 09:18:40 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 22 Nov 2006 10:18:40 -0500 Subject: [AccessD] Excel Import Message-ID: Thanks!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, November 22, 2006 9:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import Updating of data in Access db via import or link from Excel workbook, based upon dynamic named range is demonstrated in my sample db named ExcelToAccess, available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. The process is driven from excel end. Data blocks can be located anywhere on any of the worksheets. Progressive data transfers, involving more than one sheet (a sheet at a time), can be carried out as required. Two alternative styles are covered: (a) Select top left column heading of data block and execute. (b) No need to select any cell. Data block on active sheet will get transferred. A.D.Tejpal --------------- ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tuesday, November 21, 2006 16:58 Subject: Re: [AccessD] Excel Import Hi Don Perhaps this about Dynamic Named Ranges: http://databaseadvisors.com/pipermail/accessd/2006-March/042838.html Unfortunately, exactly such a range can _not_ be used as the source when linking or importing. /gustav >>> Donald.A.McGillivray at sprint.com 21-11-2006 00:31:00 >>> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 09:18:44 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 07:18:44 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122151845.63792.qmail@web88209.mail.re2.yahoo.com> I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- 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 22 09:45:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Nov 2006 16:45:32 +0100 Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: Hi Arthur and Shamil "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports." >>> > You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? Note that to implement a temporal database in full (I guess we will loose JC here), not two but _four_ time fields must exist: In the literature, two time lines of interest have been mentioned, transaction time and valid time. The valid time line represents when a fact is valid in modelled world (i.e. when it was believed) and the transaction time line represents when a transaction was performed. A bitemporal database is a combination of valid time and transaction time databases where these two time lines are considered to be orthogonal. (Snodgrass & Ahn 1986) Again, accounting can display the beauty of this: Consider writing an invoice; you do this, of course, "today", while the invoice date may be either past, present, or future. Later, selecting on transaction dates will reveal wether this invoice was created or not; selecting on valid date will show wether this invoice was issued or not. You may put it in another perspective: Transaction dates record by themselves an audit trail which allows you to, at any time, to perform a dynamic virtual rollback to any previous time, while the valid date will show you the (approved) state of the data at that time. Specifically, this allows you to correct previous recordings (say, a wrongly typed invoice number of a supplier's invoice), or record a future change of a customer's address and - until he moves - to issue invoices correctly addressed to his present address. /gustav >>> artful at rogers.com 22-11-2006 15:10:35 >>> My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav From cfoust at infostatsystems.com Wed Nov 22 09:53:43 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Nov 2006 07:53:43 -0800 Subject: [AccessD] Temporal database (was: Stored Procedure notproducing results) In-Reply-To: <20061122141035.57453.qmail@web88213.mail.re2.yahoo.com> Message-ID: I'm with you Arthur. The Kimball Group stuff is where I learned about data warehousing, and I have at least 3 of his books. Simple concept once you get your head wrapped around it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Temporal database (was: Stored Procedure notproducing results) My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 10:00:20 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 08:00:20 -0800 (PST) Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: <20061122160020.13994.qmail@web88204.mail.re2.yahoo.com> Quite right, on all counts, Gustav. I stated purposely that I was providing a thumbnail sketch, but I ought to have included these points in said thumbnail. Thanks for the amendments. Arthur ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 10:45:32 AM Subject: Re: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur and Shamil "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports." >>> > You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? Note that to implement a temporal database in full (I guess we will loose JC here), not two but _four_ time fields must exist: In the literature, two time lines of interest have been mentioned, transaction time and valid time. The valid time line represents when a fact is valid in modelled world (i.e. when it was believed) and the transaction time line represents when a transaction was performed. A bitemporal database is a combination of valid time and transaction time databases where these two time lines are considered to be orthogonal. (Snodgrass & Ahn 1986) Again, accounting can display the beauty of this: Consider writing an invoice; you do this, of course, "today", while the invoice date may be either past, present, or future. Later, selecting on transaction dates will reveal wether this invoice was created or not; selecting on valid date will show wether this invoice was issued or not. You may put it in another perspective: Transaction dates record by themselves an audit trail which allows you to, at any time, to perform a dynamic virtual rollback to any previous time, while the valid date will show you the (approved) state of the data at that time. Specifically, this allows you to correct previous recordings (say, a wrongly typed invoice number of a supplier's invoice), or record a future change of a customer's address and - until he moves - to issue invoices correctly addressed to his present address. /gustav From prodevmg at yahoo.com Wed Nov 22 10:40:51 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 22 Nov 2006 08:40:51 -0800 (PST) Subject: [AccessD] Can I mouse over a continuous form's control and display the value? Message-ID: <20061122164051.42401.qmail@web33114.mail.mud.yahoo.com> I have a control on a continuous form. It does not show all the text because of size constraints. I want to mouse over this control and have the value of that control for that record to show in the ControlTextTip property. The control is also a calculated field. Is there any thing any one can think of for me to be able to show that value when I mouse over it? I do not want to select the control either because there is code that will fire in the On Click event. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $420k for $1,399/mo. Calculate new payment! www.LowerMyBills.com/lre From jwcolby at colbyconsulting.com Wed Nov 22 10:41:15 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 11:41:15 -0500 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122151418.26001.qmail@web88206.mail.re2.yahoo.com> Message-ID: <003101c70e55$0787ae50$647aa8c0@m6805> I didn't miss your point, perhaps you missed mine. IF you need to know that, or are ever going to need that data, so be it and use that methodology. For my purposes I have no use for the doctor's past addresses. I do have a use for every bit of his diagnosis data. Thus "apply it to the whole database" makes no sense to me. I really don't care where Sarajevo used to be, I only care about getting my payments to the right place, so I need to know where it is today. If I want to know where Sarajevo used to be I will look it up on old maps. Where was it before it got in your database? You don't know, and you will have to look it up on old maps as well. You're point is nothing ever changes anywhere in the database. My point is that is useless and clumsy in most cases. Nothing ever changes in THIS PARTICULAR TABLE(S) is extremely valuable and worth doing. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results It seems that you missed the point, JWC. In a PITA setup, nothing is ever destroyed or overwritten. Thus I can roll back the database (metaphorically) and discover that on January 11, 2004 Dr. JWC had his office at 123 Main Street, but on February 1st of the same year, he moved his offices to 234 Side Street. On the former date, Dr. JWC had x clients, and on the latter date he had y clients. That is the whole point of PITA. You do not apply the concept to some tables and not others, in general. The distinction lies on QCDs (quickly changing dimensions) versus SCDs (slowly changing dimensions). To be safe, you apply the "do not destroy anything" to all tables in the database. For example, Yugloslavia and the former USSR became several countries recently. But we need to be able to look up JWC as of September, 1990 and see the data as it existed then. At that time, Sarajevo was in Yugoslavia. Now it is not. I still need to preserve your 1990 address. Arthur ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:02 AM Subject: Re: [AccessD] Stored Procedure not producing results Yes, but there has to be a limit somewhere. Suppose the physician moved. Do I care what his old address was. It is the same physician. Suppose he gets a new phone number, fax number, etc. I can see where in some cases you would want to preserve every piece of data in particular tables, but in EVERY table? And in your "family doctor" example, why not simply create a doctor table, then a FamilyDoctor table that relates family to doctor. The FamilyDoctor table has a begin / end date. New doctor, new entry in the FamilyDoctor table. The old FamilyDoctor entry remains and provides the history of who the family doctor was at any given date. The m-m FamilyDoctor table is just two pointers (family and doctor) and a begin / end date. MUCH simpler than preserving the entire doctor record whenever any tiny piece of that doctor record changed, not to mention updating a pointer to that doctor record in every family's record when some trivial piece of doctor info changes. Again, I am not arguing with the concept, simply the scope of application of the concept. So IF you agree that you limit the scope to specific tables, how do you determine and automatically apply the concept to specific tables, and not to others? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Wed Nov 22 10:39:52 2006 From: gwsmith at iowatelecom.net (gwsmith at iowatelecom.net) Date: Wed, 22 Nov 2006 10:39:52 -0600 (CST) Subject: [AccessD] XML ... again ... or still In-Reply-To: <003b01c70e45$6c84e710$6401a8c0@nant> References: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> <003b01c70e45$6c84e710$6401a8c0@nant> Message-ID: <61180.65.118.249.214.1164213592.squirrel@webmail.iowatelecom.net> Shamil: I hate to appear dumber than a post, but I may even be past that. That link you gave me the other day: (http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm) which has several examples of code to use for importing XML...I can't get any of it to work. I'm sure this is probably the right way to go, but, without being able to test it, I can't be sure. I'm certain it's something I'm doing (or not) that is the issue, but I'm clueless as to what it could be. Could you please explain how to use this? Of course, as always, ANYONE can jump in... :) I'm sure it falls under the "Cant see the forest for the trees" issue, but any help would be greatly appreciated!! Thanks! Greg Smith gwsmith at iowatelecom.net From jwcolby at colbyconsulting.com Wed Nov 22 10:46:33 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 11:46:33 -0500 Subject: [AccessD] Temporal database (was: Stored Procedurenot producing results) In-Reply-To: Message-ID: <003201c70e55$c53655f0$647aa8c0@m6805> LOL, you may or may not lose me. I can see applications where this would be invaluable. I just do not see where an entire database from state tables to color tables needs to be temporal. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 22, 2006 10:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Temporal database (was: Stored Procedurenot producing results) Hi Arthur and Shamil "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports." >>> > You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? Note that to implement a temporal database in full (I guess we will loose JC here), not two but _four_ time fields must exist: In the literature, two time lines of interest have been mentioned, transaction time and valid time. The valid time line represents when a fact is valid in modelled world (i.e. when it was believed) and the transaction time line represents when a transaction was performed. A bitemporal database is a combination of valid time and transaction time databases where these two time lines are considered to be orthogonal. (Snodgrass & Ahn 1986) Again, accounting can display the beauty of this: Consider writing an invoice; you do this, of course, "today", while the invoice date may be either past, present, or future. Later, selecting on transaction dates will reveal wether this invoice was created or not; selecting on valid date will show wether this invoice was issued or not. You may put it in another perspective: Transaction dates record by themselves an audit trail which allows you to, at any time, to perform a dynamic virtual rollback to any previous time, while the valid date will show you the (approved) state of the data at that time. Specifically, this allows you to correct previous recordings (say, a wrongly typed invoice number of a supplier's invoice), or record a future change of a customer's address and - until he moves - to issue invoices correctly addressed to his present address. /gustav >>> artful at rogers.com 22-11-2006 15:10:35 >>> My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 11:27:34 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 20:27:34 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122151845.63792.qmail@web88209.mail.re2.yahoo.com> Message-ID: <003701c70e5b$7f70a510$6401a8c0@nant> <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 22 11:34:02 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Nov 2006 11:34:02 -0600 Subject: [AccessD] Can I mouse over a continuous form's control and display the value? In-Reply-To: <32705631.1164214321883.JavaMail.root@sniper55> Message-ID: <001501c70e5c$680cfc10$0200a8c0@danwaters> Would it work to programmatically populate the controltip text property at the same time the field is populated? Perhaps the calculation could be done in code subsequent to an event. I think the controltip text property is limited to 255 characters. Dan Waters -----Original Message----- Subject: [AccessD] Can I mouse over a continuous form's control and displaythe value? I have a control on a continuous form. It does not show all the text because of size constraints. I want to mouse over this control and have the value of that control for that record to show in the ControlTextTip property. The control is also a calculated field. Is there any thing any one can think of for me to be able to show that value when I mouse over it? I do not want to select the control either because there is code that will fire in the On Click event. Thanks. From artful at rogers.com Wed Nov 22 11:37:08 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 09:37:08 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122173708.64444.qmail@web88205.mail.re2.yahoo.com> In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 22 11:52:36 2006 From: john at winhaven.net (John Bartow) Date: Wed, 22 Nov 2006 11:52:36 -0600 Subject: [AccessD] Can I mouse over a continuous form's control anddisplay the value? In-Reply-To: <001501c70e5c$680cfc10$0200a8c0@danwaters> Message-ID: <200611221752.kAMHqdq23549@databaseadvisors.com> I think the issue here is how to get the focus on the correct record so that the mouse over event doesn't display the selected record's text in the ControlTipText display. I think I know what you're after and I don't have an answer for you. I've tried in the past but have quickly given up as the mouse over event fires so frequently that it becomes disturbing. I've gone to including an icon with the magnifying glass which simply opens a zoom box form to display the entire contents of the field. Best of luck to you and please post back if you do find a suitable solution! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 22, 2006 11:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can I mouse over a continuous form's control anddisplay the value? Would it work to programmatically populate the controltip text property at the same time the field is populated? Perhaps the calculation could be done in code subsequent to an event. I think the controltip text property is limited to 255 characters. Dan Waters -----Original Message----- Subject: [AccessD] Can I mouse over a continuous form's control and displaythe value? I have a control on a continuous form. It does not show all the text because of size constraints. I want to mouse over this control and have the value of that control for that record to show in the ControlTextTip property. The control is also a calculated field. Is there any thing any one can think of for me to be able to show that value when I mouse over it? I do not want to select the control either because there is code that will fire in the On Click event. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Nov 22 11:53:49 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 23 Nov 2006 06:53:49 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <0J9400G9ARTCVFL2@l-daemon> References: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> <0J9400G9ARTCVFL2@l-daemon> Message-ID: <20061122180006.CUYN20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Jim, Thanks for the info - both items to consider for future development. However, my issue is no speed (my database with 4 times the amount of data runs in less than 2 seconds). It seems to be either data in the smaller one, or a change in structure. David At 23/11/2006, you wrote: >Hi David: > >Just a further comment after conferring with a friend; it was noted that >each one of the statements, that were plused together require a complete >scan of their respective tables before they can be added. > >The overhead must be immense. Try using the Rollup or Cube statements, which >are highly optimized and should give you a decent speed increase >(http://databases.about.com/od/sql/l/aacuberollup.htm) > >It was also suggested that, if you have control over the database tables >designing and this report is needed on a regular bases, a single table >consolidating the flag fields would improve performance. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Tuesday, November 21, 2006 5:17 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Stored Procedure not producing results > >SQL 2000 > >I have the following query running in Query Analyser: > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName >as CustName, dbo.tblCustStatement.StatementDate, > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > INNER JOIN dbo.tblCustStatement ON >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceipt.StatNum > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceiptInv.InvNum >WHERE > -- Remming out this statement works (and removing the AND at >the beginning of the next line) > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And >dbo.tblCustStatement.StatementDate <= '2006-11-30') > -- Remming out this statement works > AND (dbo.tblCustomers.AccStatus= 'Active') > AND (dbo.tblCustStatement.[CurrentMth]+ >dbo.tblCustStatement.[OneMonth]+ >dbo.tblCustStatement.[TwoMonths]+ >dbo.tblCustStatement.[ThreeMonths] + >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > AND (dbo.tblCustomers.PayArrange = 0) > AND (dbo.tblCustomers.NoOverdueNote = 0) > -- Remming out this statement works > AND ( CASE > WHEN >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > END < CAST(DAY(GETDATE()) AS varchar(2))) > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR >dbo.tblCustomers.CreditStatus IS NULL) > -- Remming out this statement works > AND (dbo.tblCustStatement.StatementNumber <> 1) >ORDER BY CustName, dbo.tblCustomers.AccountNo, >dbo.tblCustStatement.StatementDate > >When I remark out any 1 of the AND statements noted above in the >WHERE clause the results come back in a couple of seconds. >However, when I include all AND statement the query runs doesn't >return any results (at least not within the first ten minutes!) > >There doesn't seem to be any pattern to the lines that can be remmed >or combinations of remaining lines. The only clue I have is that >data from the database from two months ago works fine but there are >750 more records in each table being filtered. > >Any suggestions as to how I can solve this - it seems to be a data >issue but the various combinations of AND statements above doesn't make >sense. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Nov 22 11:56:55 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 23 Nov 2006 06:56:55 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> References: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> Message-ID: <20061122180011.CUZP20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> I tried: 1) Running the query using dates from 2 months ago 2) Deleting all the data so that it was back to where it was two months ago and running the query using dates from 2 months ago. Neither test worked. Maybe it is a structure change. I will try comparing tables to see if there is any differences. David At 23/11/2006, you wrote: >If the structures haven't changed, then the data is the villain. But >you have a concrete clue to work from. Devise some scope that will >include only the data from two months ago and verify your assertion. >Then expand the scope to "two months ago plus a day" and run it >again. Repeat until failure. > >This assumes of course that the scope is expandable so easily. (A >good reason to have a "DateEntered" column in every table, which >defaults to GetDate()). > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving >; Access Developers discussion and >problem solving >Sent: Tuesday, November 21, 2006 10:53:58 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >Worse - my database from two months ago works fine, but the latest >version is the one that is causing the problem. This may indicate a >data problem perhaps? > >David > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From forefront at ig.com.br Wed Nov 22 11:50:51 2006 From: forefront at ig.com.br (forefront) Date: Wed, 22 Nov 2006 14:50:51 -0300 Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design Message-ID: <20061122_175051_037672.forefront@ig.com.br> Dear Mates! I have a really silly question for you: I have re-inatalled Office 2K with all features in disk and in all my databases, Module Design has no menu bar or toolbar. All other objects have them properly visible. Any help... Pleeeeeease :) TIA, -- ************************************************ * Carlos Alberto Alves * * Rio de Janeiro, Brazil * * mailto:forefront at ig.com.br * ************************************************ From shamil at users.mns.ru Wed Nov 22 12:30:40 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 21:30:40 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122173708.64444.qmail@web88205.mail.re2.yahoo.com> Message-ID: <000f01c70e64$50767f10$6401a8c0@nant> <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bill_Patten at earthlink.net Wed Nov 22 12:35:35 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Wed, 22 Nov 2006 10:35:35 -0800 Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design References: <20061122_175051_037672.forefront@ig.com.br> Message-ID: <007d01c70e65$004de860$0202fea9@BPCS> I had a similar problem the other day with my main Access window having no menubar. I was able to double click on a front-end that has it's own menubar. I then right clicked on my menu and selected customize then went to properties, found the menubar selected it and click restore defaults or reset and it worked. If you have any tool or menu's in the module window you should be able to do the same thing. If no menu's then I have no idea. HTH Bill ----- Original Message ----- From: "forefront" To: Sent: Wednesday, November 22, 2006 9:50 AM Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design Dear Mates! I have a really silly question for you: I have re-inatalled Office 2K with all features in disk and in all my databases, Module Design has no menu bar or toolbar. All other objects have them properly visible. Any help... Pleeeeeease :) TIA, -- ************************************************ * Carlos Alberto Alves * * Rio de Janeiro, Brazil * * mailto:forefront at ig.com.br * ************************************************ -------------------------------------------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 13:16:54 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 11:16:54 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122191654.92594.qmail@web88204.mail.re2.yahoo.com> If the data is the same, the only other possibility is a structure change. A proviso, which I am unable to document with specific examples, but I have seen this before. Should any query SELECT * FROM SomeTables, then you modify the table(s) of interest, sometimes it gets derailed. Arthur ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:56:55 PM Subject: Re: [AccessD] Stored Procedure not producing results I tried: 1) Running the query using dates from 2 months ago 2) Deleting all the data so that it was back to where it was two months ago and running the query using dates from 2 months ago. Neither test worked. Maybe it is a structure change. I will try comparing tables to see if there is any differences. David At 23/11/2006, you wrote: >If the structures haven't changed, then the data is the villain. But >you have a concrete clue to work from. Devise some scope that will >include only the data from two months ago and verify your assertion. >Then expand the scope to "two months ago plus a day" and run it >again. Repeat until failure. > >This assumes of course that the scope is expandable so easily. (A >good reason to have a "DateEntered" column in every table, which >defaults to GetDate()). > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving >; Access Developers discussion and >problem solving >Sent: Tuesday, November 21, 2006 10:53:58 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >Worse - my database from two months ago works fine, but the latest >version is the one that is causing the problem. This may indicate a >data problem perhaps? > >David > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 22 13:22:55 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Nov 2006 19:22:55 +0000 Subject: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? Message-ID: I programmatically fill the controltiptext in one of my apps....and I just found an error in my thinking...this doesn't work as I intended on a Continuous Form. The controltiptext will only be correct for the first record...unless you change with each mouse over...but as mentioned will fire at a disturbing rate. I'm not sure what a good solution for this is??? Just my 2?, Mark A. Matte >From: "John Bartow" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Can I mouse over a continuous form's >controlanddisplay the value? >Date: Wed, 22 Nov 2006 11:52:36 -0600 > >I think the issue here is how to get the focus on the correct record so >that >the mouse over event doesn't display the selected record's text in the >ControlTipText display. I think I know what you're after and I don't have >an >answer for you. I've tried in the past but have quickly given up as the >mouse over event fires so frequently that it becomes disturbing. I've gone >to including an icon with the magnifying glass which simply opens a zoom >box >form to display the entire contents of the field. > >Best of luck to you and please post back if you do find a suitable >solution! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >Sent: Wednesday, November 22, 2006 11:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Can I mouse over a continuous form's control >anddisplay the value? > >Would it work to programmatically populate the controltip text property at >the same time the field is populated? Perhaps the calculation could be >done >in code subsequent to an event. I think the controltip text property is >limited to 255 characters. > >Dan Waters > >-----Original Message----- >Subject: [AccessD] Can I mouse over a continuous form's control and >displaythe value? > >I have a control on a continuous form. It does not show all the text >because >of size constraints. I want to mouse over this control and have the value >of >that control for that record to show in the ControlTextTip property. > >The control is also a calculated field. > >Is there any thing any one can think of for me to be able to show that >value >when I mouse over it? > >I do not want to select the control either because there is code that will >fire in the On Click event. >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 _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From shamil at users.mns.ru Wed Nov 22 13:41:04 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 22:41:04 +0300 Subject: [AccessD] XML ... again ... or still In-Reply-To: <61180.65.118.249.214.1164213592.squirrel@webmail.iowatelecom.net> Message-ID: <004201c70e6e$25d18cf0$6401a8c0@nant> Hello Greg, I did send you sample database offline. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gwsmith at iowatelecom.net Sent: Wednesday, November 22, 2006 7:40 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML ... again ... or still Shamil: I hate to appear dumber than a post, but I may even be past that. That link you gave me the other day: (http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm) which has several examples of code to use for importing XML...I can't get any of it to work. I'm sure this is probably the right way to go, but, without being able to test it, I can't be sure. I'm certain it's something I'm doing (or not) that is the issue, but I'm clueless as to what it could be. Could you please explain how to use this? Of course, as always, ANYONE can jump in... :) I'm sure it falls under the "Cant see the forest for the trees" issue, but any help would be greatly appreciated!! Thanks! Greg Smith gwsmith at iowatelecom.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 13:57:06 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 22:57:06 +0300 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <4563A855.8070707@shaw.ca> Message-ID: <004a01c70e70$64d846d0$6401a8c0@nant> Thank you, Marty! I will save this information and pass it to my kids... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, November 22, 2006 4:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: RE: Hey Shamil Here is one of interest, they usually try to attract foriegn students with bursaries in their MA program. It attracts job offers from External Affairs department and International Banking firms. Norman Paterson School of International Affairs Carleton University, Ottawa. http://www.carleton.ca/npsia/index.html I coughed when I saw the fees. I had a roommate who went through this program. She made it through by working part time as a bank teller. It didn't interfere with her classes. I also used to go skiing with Norman's granddaughter Ellen Patterson who was also in the program at that time. The fees to her were less than her allowance. Some Candian Universities offer a CO-OP program A split work term - university term where the student gets work experience and enough pay to cover tuition. Something to look for if tuition a problem. Although a 4 year degree takes 5 years to complete. Also you come out with two years work experience. Microsoft grabs a lot of these guys at Waterloo for work terms. http://www.cecs.uwaterloo.ca/students/prospective/ Waterloo is one of the top Math/Engineering schools in Canada. Computer Science is part of the Mathematics Faculty. Located 120 miles west of Toronto. http://www.uwaterloo.ca/ Shamil Salakhetdinov wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > > >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >Sent: Tuesday, November 21, 2006 11:06 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Hey Shamil > >Had a girl from your city on my course today. > >Svetlana Svyatko > >Her brother is a student at the University you worked at in St Petersburg. > >Martin > > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > > > -- 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 shamil at users.mns.ru Wed Nov 22 13:57:06 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 22:57:06 +0300 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <003c01c70dc7$8f48bbb0$0200a8c0@danwaters> Message-ID: <004e01c70e70$6551e3a0$6401a8c0@nant> Thank you for you information, Dan! <<< have you ever thought of contacting Microsoft >>> Yes, that could work one fine day, we will see... <<< Best of Luck! >>> Thank you! -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 22, 2006 2:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: RE: Hey Shamil Hi Shamil! This is the link to the University of Minnesota International Student Admissions page. It may be that the climate in Minneapolis is similar to St. Petersburg. http://www.isss.umn.edu/ In rummaging around the UM site, I found this link: http://www.educationusa.state.gov/ Also, have you ever thought of contacting Microsoft to see if you could work for them in some capacity? It seems to me that with the skill you definitely have, that they could find a way for you to make them some money if they would just give you a little bit of theirs! Really! Best of Luck! Dan Waters -----Original Message----- Subject: [AccessD] OT: RE: Hey Shamil <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 22 14:55:02 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Nov 2006 12:55:02 -0800 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <004a01c70e70$64d846d0$6401a8c0@nant> References: <004a01c70e70$64d846d0$6401a8c0@nant> Message-ID: <4564B926.6020404@shaw.ca> The real problem maybe International Fees if not a resident, usually double the standard fee rate. This maybe waived at the Universities discretion or covered by one of many bursaries or scholarships. Grad school applications in North America usually have a Jan 31 deadline and under grad May for the fall term. There are ways around this but you will have to ask or grovel a bit;) You would also have to check if visa allows part time student work most do in Canada. I know my kid brother who did two degrees in Law in England & Scotland and had to pay International fees even though he had a UK passport but was a Canadian resident. Well my father coughed up the money. There was an advantage Law in the UK is an under grad degree unlike North America where it is a grad degree requiring 7 years (4 under grad 3 grad) . Articling for the bar in Canada presented a problem as only one province Alberta recognized UK law degrees. Shamil Salakhetdinov wrote: >Thank you, Marty! > >I will save this information and pass it to my kids... > >-- >Shamil > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Wednesday, November 22, 2006 4:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: RE: Hey Shamil > >Here is one of interest, they usually try to attract foriegn students >with bursaries in their MA program. It attracts job offers from >External Affairs department and International Banking firms. > >Norman Paterson School of International Affairs >Carleton University, Ottawa. >http://www.carleton.ca/npsia/index.html > >I coughed when I saw the fees. I had a roommate who went >through this program. She made it through by working part time >as a bank teller. It didn't interfere with her classes. >I also used to go skiing with Norman's granddaughter Ellen >Patterson who was also in the program at that time. The fees to her >were less than her allowance. > >Some Candian Universities offer a CO-OP program >A split work term - university term where the student >gets work experience and enough pay to cover tuition. >Something to look for if tuition a problem. >Although a 4 year degree takes 5 years to complete. >Also you come out with two years work experience. >Microsoft grabs a lot of these guys at Waterloo for work terms. > >http://www.cecs.uwaterloo.ca/students/prospective/ > >Waterloo is one of the top Math/Engineering schools in Canada. >Computer Science is part of the Mathematics Faculty. >Located 120 miles west of Toronto. >http://www.uwaterloo.ca/ > >Shamil Salakhetdinov wrote: > > > >><<< >>Her brother is a student at the University you worked at in St Petersburg. >> >> >>Hello Martin, >> >>My greetings to your student from St.Petersburg! >> >>My son is also a student of this local University where her brother is >>studying - it's a small World... :) >> >>BTW, my son and my daughter are looking for the possible ways to continue >> >> >in > > >>the future their professional higher education somewhere abroad - what are >>the best ways to do that: >> >>- assuming they both speak English rather fluently (my daughter also speaks >>French, German(studying) and some Italian(beginner level); >> >>- I do not expect to make big bucks in the near future to pay for their >>higher education abroad... >> >>I mean there could be some grants there and somebody here in this >> >> >discussion > > >>list may know about such grants and if my kids will be able to win such >>grants then they can go there... >> >>Thank you. >> >>-- >>Shamil >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >>Sent: Tuesday, November 21, 2006 11:06 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Hey Shamil >> >>Had a girl from your city on my course today. >> >>Svetlana Svyatko >> >>Her brother is a student at the University you worked at in St Petersburg. >> >>Martin >> >> >>Martin WP Reid >>Training and Assessment Unit >>Riddle Hall >>Belfast >> >>tel: 02890 974477 >> >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Wed Nov 22 15:33:22 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 22 Nov 2006 13:33:22 -0800 (PST) Subject: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? Message-ID: <20061122213322.65384.qmail@web33112.mail.mud.yahoo.com> Thanks guys. This is one of the best forums that I have queried for answers to my problems. It seems to work on a field that is bound to a table if I load the value of the field in the mouse over event into the ControlTipText. Have not found a solution for a calculated field. Actually it is an expression (IIf([DoneFlag] = True,[Task]) I will keep trying. I may have to move my OnClick code to the DoubleClick event and use the OnClick to through the value in a label at the top of the form or something. Thanks again. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 1:22:55 PM Subject: Re: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? I programmatically fill the controltiptext in one of my apps....and I just found an error in my thinking...this doesn't work as I intended on a Continuous Form. The controltiptext will only be correct for the first record...unless you change with each mouse over...but as mentioned will fire at a disturbing rate. I'm not sure what a good solution for this is??? Just my 2?, Mark A. Matte >From: "John Bartow" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Can I mouse over a continuous form's >controlanddisplay the value? >Date: Wed, 22 Nov 2006 11:52:36 -0600 > >I think the issue here is how to get the focus on the correct record so >that >the mouse over event doesn't display the selected record's text in the >ControlTipText display. I think I know what you're after and I don't have >an >answer for you. I've tried in the past but have quickly given up as the >mouse over event fires so frequently that it becomes disturbing. I've gone >to including an icon with the magnifying glass which simply opens a zoom >box >form to display the entire contents of the field. > >Best of luck to you and please post back if you do find a suitable >solution! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >Sent: Wednesday, November 22, 2006 11:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Can I mouse over a continuous form's control >anddisplay the value? > >Would it work to programmatically populate the controltip text property at >the same time the field is populated? Perhaps the calculation could be >done >in code subsequent to an event. I think the controltip text property is >limited to 255 characters. > >Dan Waters > >-----Original Message----- >Subject: [AccessD] Can I mouse over a continuous form's control and >displaythe value? > >I have a control on a continuous form. It does not show all the text >because >of size constraints. I want to mouse over this control and have the value >of >that control for that record to show in the ControlTextTip property. > >The control is also a calculated field. > >Is there any thing any one can think of for me to be able to show that >value >when I mouse over it? > >I do not want to select the control either because there is code that will >fire in the On Click event. >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 _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Sponsored Link Rates near 39yr lows. $420,000 Loan for $1399/mo. Calcuate new payment. www.LowerMyBills.com/lre From accessd at shaw.ca Wed Nov 22 16:20:19 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Nov 2006 14:20:19 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <000f01c70e64$50767f10$6401a8c0@nant> Message-ID: <0J9500JLQKNDZJ00@l-daemon> This sounds like an excellent idea... I would be delighted to see a system designed using XML for export, with a SOAP wrapper using SMTP to message/queue the data into an OLAP DB. I have heard it described, seem it work but have not been able to get it successfully operating on my servers.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 10:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 16:55:22 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 23 Nov 2006 01:55:22 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <0J9500JLQKNDZJ00@l-daemon> Message-ID: <001f01c70e89$4aedb7f0$6401a8c0@nant> Jim, That should be a relatively simple project I think (if I'm not missing something) - extended procedures are not even needed: - triggers can store inserted/updates/deleted rows into "buffer" tables in another database running on the same SQL Server; - MS Windows service application can scan these "buffer" tables, say, every minute and check are there any new rows or not; - If there are new rows then this service can wrap them into SOAP envelopes and SMTP to the OLAP db server computer... - ... where they can be processed by another MS Windows service application and inserted into OLAP database... If you will use .NET Framework 2.0 then coding using VB.NET/C# promises to be minimal... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, November 23, 2006 1:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results This sounds like an excellent idea... I would be delighted to see a system designed using XML for export, with a SOAP wrapper using SMTP to message/queue the data into an OLAP DB. I have heard it described, seem it work but have not been able to get it successfully operating on my servers.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 10:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 22 18:15:07 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Nov 2006 16:15:07 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <001f01c70e89$4aedb7f0$6401a8c0@nant> Message-ID: <0J9500M7RPYPLQR0@l-daemon> Thanks Shamil... I had not thought of transferring the data to local database but was trying to make a linked DB work (Oracle 10g)... it should. Is there a way to do the processing within MS SQL and not have to use an external development language? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 2:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results Jim, That should be a relatively simple project I think (if I'm not missing something) - extended procedures are not even needed: - triggers can store inserted/updates/deleted rows into "buffer" tables in another database running on the same SQL Server; - MS Windows service application can scan these "buffer" tables, say, every minute and check are there any new rows or not; - If there are new rows then this service can wrap them into SOAP envelopes and SMTP to the OLAP db server computer... - ... where they can be processed by another MS Windows service application and inserted into OLAP database... If you will use .NET Framework 2.0 then coding using VB.NET/C# promises to be minimal... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, November 23, 2006 1:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results This sounds like an excellent idea... I would be delighted to see a system designed using XML for export, with a SOAP wrapper using SMTP to message/queue the data into an OLAP DB. I have heard it described, seem it work but have not been able to get it successfully operating on my servers.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 10:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 23 04:04:07 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Nov 2006 11:04:07 +0100 Subject: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? Message-ID: Hi Lonnie Stephen Lebans has done this for a listbox. It might be possible to evolve the technique to cover continuous forms or datasheet forms as well: http://www.lebans.com/tooltip.htm /gustav >>> prodevmg at yahoo.com 22-11-2006 22:33 >>> Thanks guys. This is one of the best forums that I have queried for answers to my problems. It seems to work on a field that is bound to a table if I load the value of the field in the mouse over event into the ControlTipText. Have not found a solution for a calculated field. Actually it is an expression (IIf([DoneFlag] = True,[Task]) I will keep trying. I may have to move my OnClick code to the DoubleClick event and use the OnClick to through the value in a label at the top of the form or something. Thanks again. From bchacc at san.rr.com Thu Nov 23 10:35:11 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 08:35:11 -0800 Subject: [AccessD] Sending an exe attachment Message-ID: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky From Gustav at cactus.dk Thu Nov 23 10:53:51 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Nov 2006 17:53:51 +0100 Subject: [AccessD] Sending an exe attachment Message-ID: Hi Rocky Yes. No (except for the two methods you describe). /gustav >>> bchacc at san.rr.com 23-11-2006 17:35 >>> Has anyone encountered this problem before and know how to get around it? From dwaters at usinternet.com Thu Nov 23 10:59:46 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 23 Nov 2006 10:59:46 -0600 Subject: [AccessD] Sending an exe attachment In-Reply-To: <28462357.1164300157935.JavaMail.root@sniper53> Message-ID: <001301c70f20$c8735440$0200a8c0@danwaters> Hi Rocky, I have changed the extension (to .pdf) and included good instructions on how to change it back to .exe. That seems to work well enough. I guess you could create an instruction document which you could attach to the email. Another thing I've done is to upload the file to my website. I have a client download page there which has text in bold letters: "Right-click to Save File . . .", which is exactly what you see if you right click a file link on a web page. I haven't had any .mdb files blocked by doing this. I haven't tried with .exe files. Best of Luck! Dan Waters -----Original Message----- Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky From bill_Patten at earthlink.net Thu Nov 23 11:26:11 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Thu, 23 Nov 2006 09:26:11 -0800 Subject: [AccessD] Sending an exe attachment References: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <006701c70f24$78830440$0202fea9@BPCS> Hi Rocky, I couldn't figure out any good solution either. I often rename the file to .ex with instructions to add an e at the end. But even that doesn't work for some county's as the Exchange Server wont allow attachments. I now place the exe file in an FTP site and send user name and password to the users. They type in ftp:// IP address for my site or ftp://ftp-www.earthlink.net in there browser and drag the file to there desktop. Been working well. Might not be a good solution for lots of users though.] Bill ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 8:35 AM Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky -- 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 23 13:06:09 2006 From: john at winhaven.net (John Bartow) Date: Thu, 23 Nov 2006 13:06:09 -0600 Subject: [AccessD] Sending an exe attachment In-Reply-To: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <200611231906.kANJ6Bq30342@databaseadvisors.com> Hi Rocky, I've resorted to the same issues you have or if the other end can do it posting on FTP. The problem is that it depends on the end user's system not ours. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 23, 2006 10:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Nov 23 13:57:40 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 23 Nov 2006 11:57:40 -0800 Subject: [AccessD] Sending an exe attachment In-Reply-To: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <002701c70f39$a1cce220$0200a8c0@murphy3234aaf1> Rocky, This seems to be a universal problem. When outlook started blocking exe files I started changing the file extensions and sending that way to clients, but it is a crude solution. I then found that gmail, which is free, could be used to transfer files, so I set each client up with a gmail account and they could download my files. Now Gmail is blocking executables. I think the best solution would be to put the files on your web site for users or set up an ftp site where they can download. That puts the least demand on the user. Another option if you and your client use Skype, a great free VOIP service, is to send the file via skype while you and the client are on line. Let us know if you find a good solution using email. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 23, 2006 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 23 13:58:18 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 23 Nov 2006 14:58:18 -0500 Subject: [AccessD] Sending an exe attachment References: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <008401c70f39$b8d97500$3e3de844@50NM721> ...have you looked at the Wise/Sagekey forums? ...I use an ftp site to distribute my apps but then I have direct access to each client to train on how to do that easily and efficiently ...but it would seem to me that this is precisely the kind of problem that those using wise/sagekey for distribution would frequently face and thus I'd assume that their forums would have an extensive kb on it. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 11:35 AM Subject: [AccessD] Sending an exe attachment > Dear List: > > > > Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a > setup.exe file so it will be dead simple to install my app - create a > folder, put shortcut on the desktop, etc., etc. > > > > Works great but the problem came on the first time I sent to it a dealer > to > check it out. Outlook blocked the exe attachment. > > > > I resent it zipped, which will work, but it kind of defeats the purpose > because the user would have to know how to unzip and where the unzipped > setup.exe file landed so they could run it. This is past the technical > capability of many users. > > > > I could also change the extension from exe to abc and that would get it > past > the censors but then I would have to instruct the user to change the > extension before running it. > > > > Has anyone encountered this problem before and know how to get around it? > > > > MTIA, > > > > Rocky > > > > -- > 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 23 14:38:42 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Nov 2006 12:38:42 -0800 Subject: [AccessD] Info Access Security In-Reply-To: <006701c70f24$78830440$0202fea9@BPCS> References: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> <006701c70f24$78830440$0202fea9@BPCS> Message-ID: <456606D2.5050702@shaw.ca> Just came across this, might be useful. Okay I found a complete step by step online guide to Access security complete with pictures, screen shots and diagrams. Includes tips on distributing the secured application. http://www.databasedev.co.uk/access_security.html -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Nov 23 15:01:09 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 24 Nov 2006 00:01:09 +0300 Subject: [AccessD] OT: 3 US cities airport codes Message-ID: <001501c70f42$80a2a770$6401a8c0@nant> Hi All, I can't get what IATA airport codes to use for the following cities: Lake Forest, IL, 60045 Olathe, KS, 66062 Walnut, CA, 91789 Could you please help me to solve this issue? Thank you. -- Shamil From pedro at plex.nl Thu Nov 23 15:27:33 2006 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 23 Nov 2006 22:27:33 +0100 Subject: [AccessD] #Name? Message-ID: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> Hello Group, i don't understand why i get: #Name?, in a textbox, when setting control source to: =[Forms]![frmFossielData]![txtEralID].[Column](1) The form, field en column exist. Pedro Janssen From pedro at plex.nl Thu Nov 23 15:32:01 2006 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 23 Nov 2006 22:32:01 +0100 Subject: [AccessD] saving values Message-ID: <001101c70f46$d05f91c0$4001a8c0@qmotionfaa3ad9> Hello Group, i still have troubles saving values from unbound comboxes (cascade) in table fields. What is the best way to do this. Pedro Janssen From bchacc at san.rr.com Thu Nov 23 15:36:01 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 13:36:01 -0800 Subject: [AccessD] Date problem in Bound Form Message-ID: <005201c70f47$5f8ba370$6401a8c0@HAL9005> Dear List: I have a bound form which has as one of its fields fldScheduledStartDate. On the form I allow the user to input a scheduled start date filter - a >= a scheduled start date and a <= a scheduled start date. This works real well in American date format - mm/dd/yyyy - but when I change regional settings to UK it doesn't. Everything on the bound form appears dd/mm/yyyy. The date filter appears dd/mm/yyyy. But it doesn't filter. The filter which is set to limit records with a scheduled start date in November looks like this: fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= #30/11/2006# The two date are copied out of the unbound text boxes on the form just as they appear. The text boxes have their format set to Short Date. Anyone know why the filter is failing to filter? MTIA, Rocky From stuart at lexacorp.com.pg Thu Nov 23 15:53:54 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Nov 2006 07:53:54 +1000 Subject: [AccessD] Date problem in Bound Form In-Reply-To: <005201c70f47$5f8ba370$6401a8c0@HAL9005> References: <005201c70f47$5f8ba370$6401a8c0@HAL9005> Message-ID: <45661872.20153.342C693@stuart.lexacorp.com.pg> Ah, the joys of internationalisation :-) See below On 23 Nov 2006 at 13:36, Beach Access Software wrote: > The filter which is set to limit records with a scheduled start date in > November looks like this: ... > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > Anyone know why the filter is failing to filter? Because SQL and "#"'s require US format. Assuming you are getting the two dates from txtStart and txtEnd, use something like the following, then it doesn't matter what the machine's local date settings are: strFilter = "fldPMScheduleStartDate >= Datevalue('" & txtstart & "') AND fldPMScheduleStartDate <= Datevalue('" & txtend & "')" -- Stuart From wdhindman at dejpolsystems.com Thu Nov 23 15:54:46 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 23 Nov 2006 16:54:46 -0500 Subject: [AccessD] Date problem in Bound Form References: <005201c70f47$5f8ba370$6401a8c0@HAL9005> Message-ID: <002b01c70f49$fe54ad60$3e3de844@50NM721> ...the same field name is used in both filter fields in your example? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 4:36 PM Subject: [AccessD] Date problem in Bound Form > Dear List: > > > > I have a bound form which has as one of its fields fldScheduledStartDate. > On the form I allow the user to input a scheduled start date filter - a >= > a > scheduled start date and a <= a scheduled start date. This works real > well > in American date format - mm/dd/yyyy - but when I change regional settings > to UK it doesn't. Everything on the bound form appears dd/mm/yyyy. The > date filter appears dd/mm/yyyy. But it doesn't filter. > > > > The filter which is set to limit records with a scheduled start date in > November looks like this: > > > > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > > > Anyone know why the filter is failing to filter? > > > > MTIA, > > > > Rocky > > > > -- > 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 23 16:10:23 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Nov 2006 14:10:23 -0800 Subject: [AccessD] OT: 3 US cities airport codes In-Reply-To: <001501c70f42$80a2a770$6401a8c0@nant> References: <001501c70f42$80a2a770$6401a8c0@nant> Message-ID: <45661C4F.6040308@shaw.ca> From http://www.mapping.com/airportcodes.html ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country IXD Olathe KS [New Century Aircenter Airport] USA OJC Olathe KS/Kansas City MO [Johnson County Executive Airport] USA 51K Olathe KS [Cedar Airpark Airport] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country CA63 Walnut Creek CA [John Muir Memorial Hospital] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country ME28 Cumberland ME [Forest Lake] USA MY82 Forest Lake MN [Du Fresne] USA UT18 Salt Lake City UT [U S Forest Service] USA 25D Forest Lake MN [Forest Lake Airport] USA I dunno about Lake Forest Illinois, it is a suburb of Chicago where major fields are Midway and O'Hare But Lake Forest is the headquarters of United Airlines so it could be a private strip or a helipad. Shamil Salakhetdinov wrote: >Hi All, > >I can't get what IATA airport codes to use for the following cities: > >Lake Forest, IL, 60045 >Olathe, KS, 66062 >Walnut, CA, 91789 > >Could you please help me to solve this issue? > >Thank you. > >-- >Shamil > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Nov 23 16:29:37 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 24 Nov 2006 01:29:37 +0300 Subject: [AccessD] OT: 3 US cities airport codes In-Reply-To: <45661C4F.6040308@shaw.ca> Message-ID: <002101c70f4e$dc567db0$6401a8c0@nant> Thank you Marty! -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 24, 2006 1:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: 3 US cities airport codes From http://www.mapping.com/airportcodes.html ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country IXD Olathe KS [New Century Aircenter Airport] USA OJC Olathe KS/Kansas City MO [Johnson County Executive Airport] USA 51K Olathe KS [Cedar Airpark Airport] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country CA63 Walnut Creek CA [John Muir Memorial Hospital] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country ME28 Cumberland ME [Forest Lake] USA MY82 Forest Lake MN [Du Fresne] USA UT18 Salt Lake City UT [U S Forest Service] USA 25D Forest Lake MN [Forest Lake Airport] USA I dunno about Lake Forest Illinois, it is a suburb of Chicago where major fields are Midway and O'Hare But Lake Forest is the headquarters of United Airlines so it could be a private strip or a helipad. Shamil Salakhetdinov wrote: >Hi All, > >I can't get what IATA airport codes to use for the following cities: > >Lake Forest, IL, 60045 >Olathe, KS, 66062 >Walnut, CA, 91789 > >Could you please help me to solve this issue? > >Thank you. > >-- >Shamil > > > > -- 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 bchacc at san.rr.com Thu Nov 23 17:07:04 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 15:07:04 -0800 Subject: [AccessD] saving values In-Reply-To: <001101c70f46$d05f91c0$4001a8c0@qmotionfaa3ad9> Message-ID: <005701c70f54$17d987b0$6401a8c0@HAL9005> I'd use Dao, open the record in question, push the value in, and requery the form. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: 23 November 2006 13:32 To: AccessD Subject: [AccessD] saving values Hello Group, i still have troubles saving values from unbound comboxes (cascade) in table fields. What is the best way to do this. Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From bchacc at san.rr.com Thu Nov 23 17:07:46 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 15:07:46 -0800 Subject: [AccessD] Date problem in Bound Form In-Reply-To: <002b01c70f49$fe54ad60$3e3de844@50NM721> Message-ID: <005801c70f54$30cf25e0$6401a8c0@HAL9005> Yep R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 23 November 2006 13:55 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date problem in Bound Form ...the same field name is used in both filter fields in your example? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 4:36 PM Subject: [AccessD] Date problem in Bound Form > Dear List: > > > > I have a bound form which has as one of its fields fldScheduledStartDate. > On the form I allow the user to input a scheduled start date filter - a >= > a > scheduled start date and a <= a scheduled start date. This works real > well > in American date format - mm/dd/yyyy - but when I change regional settings > to UK it doesn't. Everything on the bound form appears dd/mm/yyyy. The > date filter appears dd/mm/yyyy. But it doesn't filter. > > > > The filter which is set to limit records with a scheduled start date in > November looks like this: > > > > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > > > Anyone know why the filter is failing to filter? > > > > MTIA, > > > > Rocky > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From bchacc at san.rr.com Thu Nov 23 17:11:55 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 15:11:55 -0800 Subject: [AccessD] Date problem in Bound Form In-Reply-To: <45661872.20153.342C693@stuart.lexacorp.com.pg> Message-ID: <005901c70f54$c51f49a0$6401a8c0@HAL9005> That worked!! Thank you, thank you, thaaank you. Now I can go eat a turkey. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 23 November 2006 13:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date problem in Bound Form Ah, the joys of internationalisation :-) See below On 23 Nov 2006 at 13:36, Beach Access Software wrote: > The filter which is set to limit records with a scheduled start date in > November looks like this: ... > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > Anyone know why the filter is failing to filter? Because SQL and "#"'s require US format. Assuming you are getting the two dates from txtStart and txtEnd, use something like the following, then it doesn't matter what the machine's local date settings are: strFilter = "fldPMScheduleStartDate >= Datevalue('" & txtstart & "') AND fldPMScheduleStartDate <= Datevalue('" & txtend & "')" -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From pedro at plex.nl Thu Nov 23 17:34:34 2006 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 24 Nov 2006 00:34:34 +0100 Subject: [AccessD] saving values References: <005701c70f54$17d987b0$6401a8c0@HAL9005> Message-ID: <003301c70f57$ef1a2d30$4001a8c0@qmotionfaa3ad9> Hello Rocky, could you give me an example of that, preferably in a example database. I have tried several things until now but nothing is working perfect. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 12:07 AM Subject: Re: [AccessD] saving values > I'd use Dao, open the record in question, push the value in, and requery > the > form. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: 23 November 2006 13:32 > To: AccessD > Subject: [AccessD] saving values > > Hello Group, > > i still have troubles saving values from unbound comboxes (cascade) in > table > fields. > > What is the best way to do this. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Nov 24 13:12:41 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 24 Nov 2006 11:12:41 -0800 Subject: [AccessD] OT Friday In-Reply-To: <45661C4F.6040308@shaw.ca> Message-ID: <0J9900F6Y1AXD4Y1@l-daemon> OT Friday: Here is an interesting link: http://www.spoj.pl/problems/classical/ Jim From tinanfields at torchlake.com Fri Nov 24 13:42:40 2006 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Nov 2006 14:42:40 -0500 Subject: [AccessD] #Name? In-Reply-To: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> References: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> Message-ID: <45674B30.8080901@torchlake.com> Pedro, Column (0) instead of Column (1) maybe? Tina Pedro Janssen wrote: > Hello Group, > > i don't understand why i get: #Name?, in a textbox, when setting control source to: > > =[Forms]![frmFossielData]![txtEralID].[Column](1) > > The form, field en column exist. > > Pedro Janssen > From bchacc at san.rr.com Fri Nov 24 14:09:39 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 24 Nov 2006 12:09:39 -0800 Subject: [AccessD] saving values In-Reply-To: <003301c70f57$ef1a2d30$4001a8c0@qmotionfaa3ad9> Message-ID: <006101c71004$790c47b0$6401a8c0@HAL9005> Pedro: Just off the top and untested: Dim db as DAO.Database Dim rs as DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable WHERE fldPK = " & lngPrimaryKey) ' Note: You could use any criteria you want in the WHERE clause; doesn't have to be the primary key. rs.Edit rs!fldOne = cboComboBox1 rs!fldTwo = cboComboBox2 rs!fldThree = cboComboBox3 rs.Update rs.Close db.Close set rs = Nothing set db = Nothing Me.Requery (assuming you want the values to show on the bound form. Or here's another approach which I think should work but I haven't tested: Set db = CurrentDb Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & cboComboBox3 & "';" Note that I have assumes that the values are string values and so need to have preceding and following apostrophes. If the values are numeric then they won't need the '. I'm sure someone else looking at this code will make the appropriate corrections. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Thursday, November 23, 2006 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, could you give me an example of that, preferably in a example database. I have tried several things until now but nothing is working perfect. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 12:07 AM Subject: Re: [AccessD] saving values > I'd use Dao, open the record in question, push the value in, and requery > the > form. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: 23 November 2006 13:32 > To: AccessD > Subject: [AccessD] saving values > > Hello Group, > > i still have troubles saving values from unbound comboxes (cascade) in > table > fields. > > What is the best way to do this. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From markamatte at hotmail.com Fri Nov 24 14:15:44 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 24 Nov 2006 20:15:44 +0000 Subject: [AccessD] OT Friday In-Reply-To: <0J9900F6Y1AXD4Y1@l-daemon> Message-ID: Jim, Thats really cool...I just spent the last 30 minutes learning how to to Mayan arithmatic. I know thats not the purpose of the site...but it caught my attention. Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] OT Friday >Date: Fri, 24 Nov 2006 11:12:41 -0800 > >OT Friday: > >Here is an interesting link: http://www.spoj.pl/problems/classical/ > >Jim > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From jwcolby at colbyconsulting.com Sat Nov 25 05:28:52 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 25 Nov 2006 06:28:52 -0500 Subject: [AccessD] Cursor selects everything to the right Message-ID: <000301c71084$e37d5dc0$657aa8c0@m6805> I have seen this before and managed to get rid of it but don't remember how. In a query, the cursor is selecting everything to the right of the cursor, anywhere you place the cursor in query design. Very annoying. Closing the db and re-opening makes it go away. Does anyone know why this happens and how to get rid of it short of close / re-open. I seem to remember it has something to do with the sticky keys stuff but I could be mistaken. John W. Colby Colby Consulting www.ColbyConsulting.com From bchacc at san.rr.com Sat Nov 25 08:08:23 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 25 Nov 2006 06:08:23 -0800 Subject: [AccessD] Checking control property in an external mde database Message-ID: <001501c7109b$2bb0f0a0$6401a8c0@HAL9005> Dear List: Is it possible to check the visible property of a control on a form in another database which is an mde? Would it be necessary to have that database is currently open with that form opened? MTIA Rocky From cjlabs at worldnet.att.net Sat Nov 25 08:28:05 2006 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Sat, 25 Nov 2006 08:28:05 -0600 Subject: [AccessD] Cursor selects everything to the right References: <000301c71084$e37d5dc0$657aa8c0@m6805> Message-ID: <001c01c7109d$ecfb4ab0$0500a8c0@TOSHIBA> I don't know if this is the same thing, but sometimes I apparently hit a key combination that turns on the "EXT" in the tray and the cursor shows similar behavior. Hitting ESC stops it. HTH, Carolyn Johnson ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 5:28 AM Subject: [AccessD] Cursor selects everything to the right >I have seen this before and managed to get rid of it but don't remember >how. > In a query, the cursor is selecting everything to the right of the cursor, > anywhere you place the cursor in query design. Very annoying. > > Closing the db and re-opening makes it go away. Does anyone know why this > happens and how to get rid of it short of close / re-open. I seem to > remember it has something to do with the sticky keys stuff but I could be > mistaken. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pedro at plex.nl Sat Nov 25 14:13:33 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 25 Nov 2006 21:13:33 +0100 Subject: [AccessD] #Name? References: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> <45674B30.8080901@torchlake.com> Message-ID: <001301c710ce$2f309950$4001a8c0@qmotionfaa3ad9> Hello Tina, it couldn't be the column-number, because there were three columns in the rowsource. I think this form was corrupt, because when i imported the fields into a new form, the unbound field gave the exact value, Pedro Janssen ----- Original Message ----- From: "Tina Norris Fields" To: "Access Developers discussion and problem solving" Sent: Friday, November 24, 2006 8:42 PM Subject: Re: [AccessD] #Name? > Pedro, > Column (0) instead of Column (1) maybe? > Tina > > Pedro Janssen wrote: >> Hello Group, >> >> i don't understand why i get: #Name?, in a textbox, when setting control >> source to: >> >> =[Forms]![frmFossielData]![txtEralID].[Column](1) >> >> The form, field en column exist. >> >> Pedro Janssen >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Sat Nov 25 14:36:43 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 25 Nov 2006 21:36:43 +0100 Subject: [AccessD] saving values References: <006101c71004$790c47b0$6401a8c0@HAL9005> Message-ID: <000801c710d1$6d2810a0$4001a8c0@qmotionfaa3ad9> Hello Rocky (and Others), the code is working fine, but only for the first record on the form. When i try to use it on the second record (after closing) it jumps to record one and overwrite's the data there. Trying to put the where statement in it to state that ID = ID, it gives an error on record two that it expects parameter = 1. The code that i use now: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData") rs.Edit rs!Era = cboEra rs!Periode = cboPeriode rs!Epoch = cboEpoch rs!Etage = cboEtage rs!Tijd = cboTijd rs.Update rs.Close db.Close Set rs = Nothing Set db = Nothing Me.Requery End Sub What can i do about this? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 9:09 PM Subject: Re: [AccessD] saving values > Pedro: > > Just off the top and untested: > > Dim db as DAO.Database > Dim rs as DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable > WHERE fldPK = " & lngPrimaryKey) > > ' Note: You could use any criteria you want in the WHERE clause; doesn't > have to be the primary key. > > rs.Edit > rs!fldOne = cboComboBox1 > rs!fldTwo = cboComboBox2 > rs!fldThree = cboComboBox3 > rs.Update > > rs.Close > db.Close > > set rs = Nothing > set db = Nothing > > Me.Requery (assuming you want the values to show on the bound form. > > > Or here's another approach which I think should work but I haven't tested: > > Set db = CurrentDb > Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & > "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & > cboComboBox3 & "';" > > Note that I have assumes that the values are string values and so need to > have preceding and following apostrophes. If the values are numeric then > they won't need the '. > > I'm sure someone else looking at this code will make the appropriate > corrections. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Thursday, November 23, 2006 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > could you give me an example of that, preferably in a example database. > I have tried several things until now but nothing is working perfect. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 12:07 AM > Subject: Re: [AccessD] saving values > > >> I'd use Dao, open the record in question, push the value in, and requery >> the >> form. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: 23 November 2006 13:32 >> To: AccessD >> Subject: [AccessD] saving values >> >> Hello Group, >> >> i still have troubles saving values from unbound comboxes (cascade) in >> table >> fields. >> >> What is the best way to do this. >> >> Pedro Janssen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bill_Patten at earthlink.net Sat Nov 25 15:24:55 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Sat, 25 Nov 2006 13:24:55 -0800 Subject: [AccessD] saving values References: <006101c71004$790c47b0$6401a8c0@HAL9005> <000801c710d1$6d2810a0$4001a8c0@qmotionfaa3ad9> Message-ID: <003701c710d8$27316f40$0202fea9@BPCS> Pedro, I haven't been following the thread, but perhaps you need an rs.addnew instead of rs.edit??? HTH Bill ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Saturday, November 25, 2006 12:36 PM Subject: Re: [AccessD] saving values Hello Rocky (and Others), the code is working fine, but only for the first record on the form. When i try to use it on the second record (after closing) it jumps to record one and overwrite's the data there. Trying to put the where statement in it to state that ID = ID, it gives an error on record two that it expects parameter = 1. The code that i use now: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData") rs.Edit rs!Era = cboEra rs!Periode = cboPeriode rs!Epoch = cboEpoch rs!Etage = cboEtage rs!Tijd = cboTijd rs.Update rs.Close db.Close Set rs = Nothing Set db = Nothing Me.Requery End Sub What can i do about this? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 9:09 PM Subject: Re: [AccessD] saving values > Pedro: > > Just off the top and untested: > > Dim db as DAO.Database > Dim rs as DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable > WHERE fldPK = " & lngPrimaryKey) > > ' Note: You could use any criteria you want in the WHERE clause; doesn't > have to be the primary key. > > rs.Edit > rs!fldOne = cboComboBox1 > rs!fldTwo = cboComboBox2 > rs!fldThree = cboComboBox3 > rs.Update > > rs.Close > db.Close > > set rs = Nothing > set db = Nothing > > Me.Requery (assuming you want the values to show on the bound form. > > > Or here's another approach which I think should work but I haven't tested: > > Set db = CurrentDb > Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & > "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & > cboComboBox3 & "';" > > Note that I have assumes that the values are string values and so need to > have preceding and following apostrophes. If the values are numeric then > they won't need the '. > > I'm sure someone else looking at this code will make the appropriate > corrections. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Thursday, November 23, 2006 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > could you give me an example of that, preferably in a example database. > I have tried several things until now but nothing is working perfect. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 12:07 AM > Subject: Re: [AccessD] saving values > > >> I'd use Dao, open the record in question, push the value in, and requery >> the >> form. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: 23 November 2006 13:32 >> To: AccessD >> Subject: [AccessD] saving values >> >> Hello Group, >> >> i still have troubles saving values from unbound comboxes (cascade) in >> table >> fields. >> >> What is the best way to do this. >> >> Pedro Janssen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 25 15:30:32 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 25 Nov 2006 13:30:32 -0800 Subject: [AccessD] saving values In-Reply-To: <000801c710d1$6d2810a0$4001a8c0@qmotionfaa3ad9> Message-ID: <006f01c710d8$effbdeb0$6401a8c0@HAL9005> Pedro: It looks like you are opening the table with all of the records. So the record pointer of the recor4dset is always pointing to the first record. You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset so you get only the record you want, or 2) after opening the recordset use rs.FindFirst and specify the primary key of the record you want to update. Then the recordset will be positioned at the record you want to update. Be sure to use if rs.NoMatch just in case the FindFirst doesn't find the record. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Saturday, November 25, 2006 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky (and Others), the code is working fine, but only for the first record on the form. When i try to use it on the second record (after closing) it jumps to record one and overwrite's the data there. Trying to put the where statement in it to state that ID = ID, it gives an error on record two that it expects parameter = 1. The code that i use now: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData") rs.Edit rs!Era = cboEra rs!Periode = cboPeriode rs!Epoch = cboEpoch rs!Etage = cboEtage rs!Tijd = cboTijd rs.Update rs.Close db.Close Set rs = Nothing Set db = Nothing Me.Requery End Sub What can i do about this? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 9:09 PM Subject: Re: [AccessD] saving values > Pedro: > > Just off the top and untested: > > Dim db as DAO.Database > Dim rs as DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable > WHERE fldPK = " & lngPrimaryKey) > > ' Note: You could use any criteria you want in the WHERE clause; doesn't > have to be the primary key. > > rs.Edit > rs!fldOne = cboComboBox1 > rs!fldTwo = cboComboBox2 > rs!fldThree = cboComboBox3 > rs.Update > > rs.Close > db.Close > > set rs = Nothing > set db = Nothing > > Me.Requery (assuming you want the values to show on the bound form. > > > Or here's another approach which I think should work but I haven't tested: > > Set db = CurrentDb > Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & > "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & > cboComboBox3 & "';" > > Note that I have assumes that the values are string values and so need to > have preceding and following apostrophes. If the values are numeric then > they won't need the '. > > I'm sure someone else looking at this code will make the appropriate > corrections. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Thursday, November 23, 2006 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > could you give me an example of that, preferably in a example database. > I have tried several things until now but nothing is working perfect. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 12:07 AM > Subject: Re: [AccessD] saving values > > >> I'd use Dao, open the record in question, push the value in, and requery >> the >> form. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: 23 November 2006 13:32 >> To: AccessD >> Subject: [AccessD] saving values >> >> Hello Group, >> >> i still have troubles saving values from unbound comboxes (cascade) in >> table >> fields. >> >> What is the best way to do this. >> >> Pedro Janssen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: 11/24/2006 5:20 PM From dwaters at usinternet.com Sat Nov 25 15:53:42 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 25 Nov 2006 15:53:42 -0600 Subject: [AccessD] #Name? In-Reply-To: <25918643.1164486033513.JavaMail.root@sniper3> Message-ID: <000201c710dc$2cd98190$0200a8c0@danwaters> Pedro, You appear to be referencing a textbox, which does not have a column property. Just reference the textbox without the column property. A textbox only has one column. Dan Waters -----Original Message----- Subject: Re: [AccessD] #Name? Hello Tina, it couldn't be the column-number, because there were three columns in the rowsource. I think this form was corrupt, because when i imported the fields into a new form, the unbound field gave the exact value, Pedro Janssen ----- Original Message ----- Subject: Re: [AccessD] #Name? > Pedro, > Column (0) instead of Column (1) maybe? > Tina > > Pedro Janssen wrote: >> Hello Group, >> >> i don't understand why i get: #Name?, in a textbox, when setting control >> source to: >> >> =[Forms]![frmFossielData]![txtEralID].[Column](1) >> >> The form, field en column exist. >> >> Pedro Janssen >> > -- From pedro at plex.nl Sun Nov 26 04:30:30 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 26 Nov 2006 11:30:30 +0100 Subject: [AccessD] saving values References: <006f01c710d8$effbdeb0$6401a8c0@HAL9005> Message-ID: <000801c71145$e5e2f360$4001a8c0@qmotionfaa3ad9> Hello, how would i point to the first record in the Where clausule with the ID? I am placing values from a unbound form, with no ID in a bound form with an ID (= FossielID). Please give me an idea to do this in the code below? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 10:30 PM Subject: Re: [AccessD] saving values > Pedro: > > It looks like you are opening the table with all of the records. So the > record pointer of the recor4dset is always pointing to the first record. > You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset > so > you get only the record you want, or 2) after opening the recordset use > rs.FindFirst and specify the primary key of the record you want to update. > Then the recordset will be positioned at the record you want to update. > Be > sure to use if rs.NoMatch just in case the FindFirst doesn't find the > record. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Saturday, November 25, 2006 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky (and Others), > > the code is working fine, but only for the first record on the form. > When i try to use it on the second record (after closing) it jumps to > record > > one and overwrite's the data there. > Trying to put the where statement in it to state that ID = ID, it gives an > error on record two that it expects parameter = 1. > > The code that i use now: > > Private Sub Form_Close() > > Dim db As DAO.Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData") > > rs.Edit > rs!Era = cboEra > rs!Periode = cboPeriode > rs!Epoch = cboEpoch > rs!Etage = cboEtage > rs!Tijd = cboTijd > rs.Update > > rs.Close > db.Close > > Set rs = Nothing > Set db = Nothing > > Me.Requery > > End Sub > > What can i do about this? > > Pedro Janssen > > > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 9:09 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just off the top and untested: >> >> Dim db as DAO.Database >> Dim rs as DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >> tblMyTable >> WHERE fldPK = " & lngPrimaryKey) >> >> ' Note: You could use any criteria you want in the WHERE clause; doesn't >> have to be the primary key. >> >> rs.Edit >> rs!fldOne = cboComboBox1 >> rs!fldTwo = cboComboBox2 >> rs!fldThree = cboComboBox3 >> rs.Update >> >> rs.Close >> db.Close >> >> set rs = Nothing >> set db = Nothing >> >> Me.Requery (assuming you want the values to show on the bound form. >> >> >> Or here's another approach which I think should work but I haven't >> tested: >> >> Set db = CurrentDb >> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & >> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & >> cboComboBox3 & "';" >> >> Note that I have assumes that the values are string values and so need to >> have preceding and following apostrophes. If the values are numeric then >> they won't need the '. >> >> I'm sure someone else looking at this code will make the appropriate >> corrections. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Thursday, November 23, 2006 3:35 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> could you give me an example of that, preferably in a example database. >> I have tried several things until now but nothing is working perfect. >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 12:07 AM >> Subject: Re: [AccessD] saving values >> >> >>> I'd use Dao, open the record in question, push the value in, and requery >>> the >>> form. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: 23 November 2006 13:32 >>> To: AccessD >>> Subject: [AccessD] saving values >>> >>> Hello Group, >>> >>> i still have troubles saving values from unbound comboxes (cascade) in >>> table >>> fields. >>> >>> What is the best way to do this. >>> >>> Pedro Janssen >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: > 11/24/2006 > 5:20 PM > > > -- > 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 26 04:50:11 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 26 Nov 2006 02:50:11 -0800 (PST) Subject: [AccessD] saving values Message-ID: <20061126105011.26166.qmail@web88201.mail.re2.yahoo.com> One approach is doing it with a static function, setting the value of said function with a form-event and then getting it from the code. Look in the archives for "static functions" for example code. Arthur ----- Original Message ---- From: Pedro Janssen To: Access Developers discussion and problem solving Sent: Sunday, November 26, 2006 5:30:30 AM Subject: Re: [AccessD] saving values Hello, how would i point to the first record in the Where clausule with the ID? I am placing values from a unbound form, with no ID in a bound form with an ID (= FossielID). Please give me an idea to do this in the code below? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 10:30 PM Subject: Re: [AccessD] saving values > Pedro: > > It looks like you are opening the table with all of the records. So the > record pointer of the recor4dset is always pointing to the first record. > You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset > so > you get only the record you want, or 2) after opening the recordset use > rs.FindFirst and specify the primary key of the record you want to update. > Then the recordset will be positioned at the record you want to update. > Be > sure to use if rs.NoMatch just in case the FindFirst doesn't find the > record. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Saturday, November 25, 2006 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky (and Others), > > the code is working fine, but only for the first record on the form. > When i try to use it on the second record (after closing) it jumps to > record > > one and overwrite's the data there. > Trying to put the where statement in it to state that ID = ID, it gives an > error on record two that it expects parameter = 1. > > The code that i use now: > > Private Sub Form_Close() > > Dim db As DAO.Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData") > > rs.Edit > rs!Era = cboEra > rs!Periode = cboPeriode > rs!Epoch = cboEpoch > rs!Etage = cboEtage > rs!Tijd = cboTijd > rs.Update > > rs.Close > db.Close > > Set rs = Nothing > Set db = Nothing > > Me.Requery > > End Sub > > What can i do about this? > > Pedro Janssen > > > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 9:09 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just off the top and untested: >> >> Dim db as DAO.Database >> Dim rs as DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >> tblMyTable >> WHERE fldPK = " & lngPrimaryKey) >> >> ' Note: You could use any criteria you want in the WHERE clause; doesn't >> have to be the primary key. >> >> rs.Edit >> rs!fldOne = cboComboBox1 >> rs!fldTwo = cboComboBox2 >> rs!fldThree = cboComboBox3 >> rs.Update >> >> rs.Close >> db.Close >> >> set rs = Nothing >> set db = Nothing >> >> Me.Requery (assuming you want the values to show on the bound form. >> >> >> Or here's another approach which I think should work but I haven't >> tested: >> >> Set db = CurrentDb >> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & >> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & >> cboComboBox3 & "';" >> >> Note that I have assumes that the values are string values and so need to >> have preceding and following apostrophes. If the values are numeric then >> they won't need the '. >> >> I'm sure someone else looking at this code will make the appropriate >> corrections. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Thursday, November 23, 2006 3:35 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> could you give me an example of that, preferably in a example database. >> I have tried several things until now but nothing is working perfect. >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 12:07 AM >> Subject: Re: [AccessD] saving values >> >> >>> I'd use Dao, open the record in question, push the value in, and requery >>> the >>> form. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: 23 November 2006 13:32 >>> To: AccessD >>> Subject: [AccessD] saving values >>> >>> Hello Group, >>> >>> i still have troubles saving values from unbound comboxes (cascade) in >>> table >>> fields. >>> >>> What is the best way to do this. >>> >>> Pedro Janssen >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: > 11/24/2006 > 5:20 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Sun Nov 26 05:57:32 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 26 Nov 2006 12:57:32 +0100 Subject: [AccessD] saving values References: <20061126105011.26166.qmail@web88201.mail.re2.yahoo.com> Message-ID: <000e01c71152$0e1b2940$4001a8c0@qmotionfaa3ad9> Hello Arthur, in your first mail (at the archives) you gave this static function, but after a few reply's from others, you agreed to rewrite the template. Have you done this? I can't find it. Could you point me in the right direction with your template and my code below? Thanks Pedro Janssen ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 26, 2006 11:50 AM Subject: Re: [AccessD] saving values > One approach is doing it with a static function, setting the value of said > function with a form-event and then getting it from the code. Look in the > archives for "static functions" for example code. > > Arthur > > ----- Original Message ---- > From: Pedro Janssen > To: Access Developers discussion and problem solving > > Sent: Sunday, November 26, 2006 5:30:30 AM > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Sun Nov 26 15:38:10 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 26 Nov 2006 15:38:10 -0600 Subject: [AccessD] Table Relationships Message-ID: <000d01c711a3$2c4836a0$0200a8c0@danwaters> I currently have some apparently 'ghost' tables in my table relationships view. For example I show tblPeopleMain_1 in addition to tblPeopleMain. There is no actual tblPeopleMain_1, but its ghost redisplays every time I reopen the table relationships window. How do I get rid of this? Thanks! Dan Waters From stuart at lexacorp.com.pg Sun Nov 26 15:51:01 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 27 Nov 2006 07:51:01 +1000 Subject: [AccessD] Table Relationships In-Reply-To: <000d01c711a3$2c4836a0$0200a8c0@danwaters> References: <000d01c711a3$2c4836a0$0200a8c0@danwaters> Message-ID: <456A0C45.22865.12B320D2@stuart.lexacorp.com.pg> On 26 Nov 2006 at 15:38, Dan Waters wrote: > I currently have some apparently 'ghost' tables in my table relationships > view. > > For example I show tblPeopleMain_1 in addition to tblPeopleMain. There is > no actual tblPeopleMain_1, but its ghost redisplays every time I reopen the > table relationships window. That is just a second instance of tblPeopleMain which you have opened in the Relationships Window. Just click on it and hit "Del". -- Stuart From dwaters at usinternet.com Sun Nov 26 18:39:57 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 26 Nov 2006 18:39:57 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <25771870.1164578213478.JavaMail.root@Sniper26> Message-ID: <001601c711bc$90c8a1a0$0200a8c0@danwaters> Hi Stuart, Well - I did that but the duplicate instances were there again after I repaired, compacted & closed the database and reopened it. Is there anything else that might work? Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships On 26 Nov 2006 at 15:38, Dan Waters wrote: > I currently have some apparently 'ghost' tables in my table relationships > view. > > For example I show tblPeopleMain_1 in addition to tblPeopleMain. There is > no actual tblPeopleMain_1, but its ghost redisplays every time I reopen the > table relationships window. That is just a second instance of tblPeopleMain which you have opened in the Relationships Window. Just click on it and hit "Del". -- Stuart From gwsmith at iowatelecom.net Sun Nov 26 18:52:32 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Sun, 26 Nov 2006 18:52:32 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <001601c711bc$90c8a1a0$0200a8c0@danwaters> Message-ID: <001801c711be$54dfa5b0$6401a8c0@dads> Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 26, 2006 6:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Table Relationships Hi Stuart, Well - I did that but the duplicate instances were there again after I repaired, compacted & closed the database and reopened it. Is there anything else that might work? Dan Waters From forefront at ig.com.br Sun Nov 26 19:10:14 2006 From: forefront at ig.com.br (forefront) Date: Sun, 26 Nov 2006 22:10:14 -0300 Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design Message-ID: <20061127_011014_061812.forefront@ig.com.br> Thanks for your answer, but now I know the problem. It is called Windows XP Starter Edition... :( -- ************************************************ * Forefront em Inform?tica e Consultoria Ltda. * * Carlos Alberto Alves * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * Phone Direct: 55-21-9169-1596 * * mailto:forefront at ig.com.br * ************************************************ From bchacc at san.rr.com Sun Nov 26 19:59:32 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 26 Nov 2006 17:59:32 -0800 Subject: [AccessD] saving values In-Reply-To: <000801c71145$e5e2f360$4001a8c0@qmotionfaa3ad9> Message-ID: <007a01c711c7$ae666a20$6401a8c0@HAL9005> Pedro: You need to add the WHERE clause to your set statement: Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) Do you know what the primary key value is of the record you want to update with the values from the unbound text boxes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Sunday, November 26, 2006 2:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello, how would i point to the first record in the Where clausule with the ID? I am placing values from a unbound form, with no ID in a bound form with an ID (= FossielID). Please give me an idea to do this in the code below? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 10:30 PM Subject: Re: [AccessD] saving values > Pedro: > > It looks like you are opening the table with all of the records. So the > record pointer of the recor4dset is always pointing to the first record. > You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset > so > you get only the record you want, or 2) after opening the recordset use > rs.FindFirst and specify the primary key of the record you want to update. > Then the recordset will be positioned at the record you want to update. > Be > sure to use if rs.NoMatch just in case the FindFirst doesn't find the > record. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Saturday, November 25, 2006 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky (and Others), > > the code is working fine, but only for the first record on the form. > When i try to use it on the second record (after closing) it jumps to > record > > one and overwrite's the data there. > Trying to put the where statement in it to state that ID = ID, it gives an > error on record two that it expects parameter = 1. > > The code that i use now: > > Private Sub Form_Close() > > Dim db As DAO.Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData") > > rs.Edit > rs!Era = cboEra > rs!Periode = cboPeriode > rs!Epoch = cboEpoch > rs!Etage = cboEtage > rs!Tijd = cboTijd > rs.Update > > rs.Close > db.Close > > Set rs = Nothing > Set db = Nothing > > Me.Requery > > End Sub > > What can i do about this? > > Pedro Janssen > > > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 9:09 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just off the top and untested: >> >> Dim db as DAO.Database >> Dim rs as DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >> tblMyTable >> WHERE fldPK = " & lngPrimaryKey) >> >> ' Note: You could use any criteria you want in the WHERE clause; doesn't >> have to be the primary key. >> >> rs.Edit >> rs!fldOne = cboComboBox1 >> rs!fldTwo = cboComboBox2 >> rs!fldThree = cboComboBox3 >> rs.Update >> >> rs.Close >> db.Close >> >> set rs = Nothing >> set db = Nothing >> >> Me.Requery (assuming you want the values to show on the bound form. >> >> >> Or here's another approach which I think should work but I haven't >> tested: >> >> Set db = CurrentDb >> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & >> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & >> cboComboBox3 & "';" >> >> Note that I have assumes that the values are string values and so need to >> have preceding and following apostrophes. If the values are numeric then >> they won't need the '. >> >> I'm sure someone else looking at this code will make the appropriate >> corrections. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Thursday, November 23, 2006 3:35 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> could you give me an example of that, preferably in a example database. >> I have tried several things until now but nothing is working perfect. >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 12:07 AM >> Subject: Re: [AccessD] saving values >> >> >>> I'd use Dao, open the record in question, push the value in, and requery >>> the >>> form. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: 23 November 2006 13:32 >>> To: AccessD >>> Subject: [AccessD] saving values >>> >>> Hello Group, >>> >>> i still have troubles saving values from unbound comboxes (cascade) in >>> table >>> fields. >>> >>> What is the best way to do this. >>> >>> Pedro Janssen >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: > 11/24/2006 > 5:20 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: 11/25/2006 10:55 AM From dwaters at usinternet.com Sun Nov 26 20:06:53 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 26 Nov 2006 20:06:53 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <13278171.1164588993796.JavaMail.root@sniper11> Message-ID: <000301c711c8$b5cf46a0$0200a8c0@danwaters> That was it! Thanks Greg - I was getting a little spooked! Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg -----Original Message----- Subject: Re: [AccessD] Table Relationships Hi Stuart, Well - I did that but the duplicate instances were there again after I repaired, compacted & closed the database and reopened it. Is there anything else that might work? Dan Waters From Gustav at cactus.dk Mon Nov 27 02:25:04 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 27 Nov 2006 09:25:04 +0100 Subject: [AccessD] Table Relationships Message-ID: Hi Maybe. It was not a "ghost" table. If you had more than one relation to a table, the second and third are by default named _1, _2 and so on. Now that second relation is lost. /gustav >>> dwaters at usinternet.com 27-11-2006 03:06 >>> That was it! Thanks Greg - I was getting a little spooked! Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg From pedro at plex.nl Mon Nov 27 08:54:37 2006 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 27 Nov 2006 15:54:37 +0100 Subject: [AccessD] saving values References: <007a01c711c7$ae666a20$6401a8c0@HAL9005> Message-ID: <000601c71233$f5d900e0$4001a8c0@qmotionfaa3ad9> Hello Rocky, i included the Where statement, but get an eror when closing the subform with the code: Runtime error 3201, no current record. When clicking debug button, rs!edit is highlited yellow. I used help, but still do not understand it. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 2:59 AM Subject: Re: [AccessD] saving values > Pedro: > > You need to add the WHERE clause to your set statement: > > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) > > Do you know what the primary key value is of the record you want to update > with the values from the unbound text boxes? > > Rocky > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Sunday, November 26, 2006 2:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: > 11/25/2006 > 10:55 AM > > > -- > 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 27 09:04:37 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Nov 2006 09:04:37 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <32464957.1164616329996.JavaMail.root@sniper25> Message-ID: <001401c71235$5b9dbfa0$0200a8c0@danwaters> Thanks Gustav - that's good to know. With what I was looking at, it was truly a duplicate relationship and was not needed. Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Hi Maybe. It was not a "ghost" table. If you had more than one relation to a table, the second and third are by default named _1, _2 and so on. Now that second relation is lost. /gustav >>> dwaters at usinternet.com 27-11-2006 03:06 >>> That was it! Thanks Greg - I was getting a little spooked! Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg From dwaters at usinternet.com Mon Nov 27 09:27:34 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Nov 2006 09:27:34 -0600 Subject: [AccessD] saving values In-Reply-To: <12132737.1164640754292.JavaMail.root@Sniper26> Message-ID: <004301c71238$9057a500$0200a8c0@danwaters> Try rs.edit instead of rs!edit. Dan Waters -----Original Message----- Subject: Re: [AccessD] saving values Hello Rocky, i included the Where statement, but get an eror when closing the subform with the code: Runtime error 3201, no current record. When clicking debug button, rs!edit is highlited yellow. I used help, but still do not understand it. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 2:59 AM Subject: Re: [AccessD] saving values > Pedro: > > You need to add the WHERE clause to your set statement: > > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) > > Do you know what the primary key value is of the record you want to update > with the values from the unbound text boxes? > > Rocky > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Sunday, November 26, 2006 2:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: > 11/25/2006 > 10:55 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 27 09:39:55 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 07:39:55 -0800 Subject: [AccessD] saving values In-Reply-To: <000601c71233$f5d900e0$4001a8c0@qmotionfaa3ad9> Message-ID: <001101c7123a$49d88c00$6401a8c0@HAL9005> Pedro: Just a guess but perhaps using the WHERE clause returns no records because the value for the PK you're using is invalid. After the set rs = statement put If rs.bof=true and rs.eof=true then Msgbox "Holy Moly! There's No Records In Here!!! - " & lngKeyValue Exit sub End if To see if that's the case and what the value is of the key you're apssing. Post the set rs = statement and let's have a look at it. Regards, Rocky If it is then -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 6:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, i included the Where statement, but get an eror when closing the subform with the code: Runtime error 3201, no current record. When clicking debug button, rs!edit is highlited yellow. I used help, but still do not understand it. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 2:59 AM Subject: Re: [AccessD] saving values > Pedro: > > You need to add the WHERE clause to your set statement: > > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) > > Do you know what the primary key value is of the record you want to update > with the values from the unbound text boxes? > > Rocky > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Sunday, November 26, 2006 2:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: > 11/25/2006 > 10:55 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From gwsmith at iowatelecom.net Mon Nov 27 11:40:51 2006 From: gwsmith at iowatelecom.net (gwsmith at iowatelecom.net) Date: Mon, 27 Nov 2006 11:40:51 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <004301c71238$9057a500$0200a8c0@danwaters> References: <12132737.1164640754292.JavaMail.root@Sniper26> <004301c71238$9057a500$0200a8c0@danwaters> Message-ID: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> Shamil: Thanks again for the sample file code, by the way. The first two functions, XmlImportTest1() and XmlImportTest2() both work just fine. However, when I try to test XmlImportTest3() or XmlImportTest4(), I get the following error: Run Time Error '429' Active X Component Can't Create Object and the following line of code is highlighted as the culprit: obj.ImportData CurrentDb, "Shippers", Array _ ("CompanyName", "Phone"), mcstrXml1FullPath2 where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). I have the sneaky feeling I don't have something installed or properly referenced, but I'm not sure what. Any suggestions? Thanks! Greg Smith From bheygood at abestsystems.com Mon Nov 27 13:23:49 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 27 Nov 2006 11:23:49 -0800 Subject: [AccessD] DAO Fiekd Name String/Variable In-Reply-To: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> Message-ID: Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob From Jim.Hale at FleetPride.com Mon Nov 27 13:46:54 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 27 Nov 2006 13:46:54 -0600 Subject: [AccessD] Excel Import Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE125@corp-es01.fleetpride.com> Sorry, I was out for the week. Here is the secret to using dynamic ranges. HTH Jim Hale http://www.ozgrid.com/Excel/DynamicRanges.htm -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Monday, November 20, 2006 5:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From pedro at plex.nl Mon Nov 27 13:50:37 2006 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 27 Nov 2006 20:50:37 +0100 Subject: [AccessD] saving values References: <001101c7123a$49d88c00$6401a8c0@HAL9005> Message-ID: <003d01c7125d$4f725560$4001a8c0@qmotionfaa3ad9> Hello Rocky, the message that is get back is "Holy Moly! There's No Records In Here!!! - 0 That is strange, because in record two the FossielID (Primary Key of the table) value is 2 (auto Number field). Ik could sent you the small test.mdb, maybe you have seen the problem then in a minute? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 4:39 PM Subject: Re: [AccessD] saving values > Pedro: > > Just a guess but perhaps using the WHERE clause returns no records because > the value for the PK you're using is invalid. > > After the set rs = statement put > > If rs.bof=true and rs.eof=true then > Msgbox "Holy Moly! There's No Records In Here!!! - " & > lngKeyValue > Exit sub > End if > > To see if that's the case and what the value is of the key you're apssing. > > Post the set rs = statement and let's have a look at it. > > Regards, > > Rocky > > > If it is then > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 6:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > i included the Where statement, but get an eror when closing the subform > with the code: > Runtime error 3201, no current record. > When clicking debug button, rs!edit is highlited yellow. > > I used help, but still do not understand it. > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 2:59 AM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You need to add the WHERE clause to your set statement: >> >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >> >> Do you know what the primary key value is of the record you want to >> update >> with the values from the unbound text boxes? >> >> Rocky >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Sunday, November 26, 2006 2:31 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello, >> >> how would i point to the first record in the Where clausule with the ID? >> I am placing values from a unbound form, with no ID in a bound form with >> an >> ID (= FossielID). >> >> >> Please give me an idea to do this in the code below? >> >> Pedro Janssen >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 25, 2006 10:30 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> It looks like you are opening the table with all of the records. So the >>> record pointer of the recor4dset is always pointing to the first record. >>> You need to either 1) use a WHERE clause in the Set rs = >>> db.OpenRecordset >>> so >>> you get only the record you want, or 2) after opening the recordset use >>> rs.FindFirst and specify the primary key of the record you want to >>> update. >>> Then the recordset will be positioned at the record you want to update. >>> Be >>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>> record. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Saturday, November 25, 2006 12:37 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky (and Others), >>> >>> the code is working fine, but only for the first record on the form. >>> When i try to use it on the second record (after closing) it jumps to >>> record >>> >>> one and overwrite's the data there. >>> Trying to put the where statement in it to state that ID = ID, it gives >>> an >>> error on record two that it expects parameter = 1. >>> >>> The code that i use now: >>> >>> Private Sub Form_Close() >>> >>> Dim db As DAO.Database >>> Dim rs As DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData") >>> >>> rs.Edit >>> rs!Era = cboEra >>> rs!Periode = cboPeriode >>> rs!Epoch = cboEpoch >>> rs!Etage = cboEtage >>> rs!Tijd = cboTijd >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> Set rs = Nothing >>> Set db = Nothing >>> >>> Me.Requery >>> >>> End Sub >>> >>> What can i do about this? >>> >>> Pedro Janssen >>> >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 9:09 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> Just off the top and untested: >>>> >>>> Dim db as DAO.Database >>>> Dim rs as DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>> tblMyTable >>>> WHERE fldPK = " & lngPrimaryKey) >>>> >>>> ' Note: You could use any criteria you want in the WHERE clause; >>>> doesn't >>>> have to be the primary key. >>>> >>>> rs.Edit >>>> rs!fldOne = cboComboBox1 >>>> rs!fldTwo = cboComboBox2 >>>> rs!fldThree = cboComboBox3 >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> set rs = Nothing >>>> set db = Nothing >>>> >>>> Me.Requery (assuming you want the values to show on the bound form. >>>> >>>> >>>> Or here's another approach which I think should work but I haven't >>>> tested: >>>> >>>> Set db = CurrentDb >>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>>> & >>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>>> & >>>> cboComboBox3 & "';" >>>> >>>> Note that I have assumes that the values are string values and so need >>>> to >>>> have preceding and following apostrophes. If the values are numeric >>>> then >>>> they won't need the '. >>>> >>>> I'm sure someone else looking at this code will make the appropriate >>>> corrections. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Thursday, November 23, 2006 3:35 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky, >>>> >>>> could you give me an example of that, preferably in a example database. >>>> I have tried several things until now but nothing is working perfect. >>>> >>>> Pedro Janssen >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 12:07 AM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> I'd use Dao, open the record in question, push the value in, and >>>>> requery >>>>> the >>>>> form. >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: 23 November 2006 13:32 >>>>> To: AccessD >>>>> Subject: [AccessD] saving values >>>>> >>>>> Hello Group, >>>>> >>>>> i still have troubles saving values from unbound comboxes (cascade) in >>>>> table >>>>> fields. >>>>> >>>>> What is the best way to do this. >>>>> >>>>> Pedro Janssen >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>> 11/24/2006 >>> 5:20 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >> 11/25/2006 >> 10:55 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > 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 27 14:19:55 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 12:19:55 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: Message-ID: <005601c71261$678510d0$6401a8c0@HAL9005> So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From bchacc at san.rr.com Mon Nov 27 14:21:50 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 12:21:50 -0800 Subject: [AccessD] saving values In-Reply-To: <003d01c7125d$4f725560$4001a8c0@qmotionfaa3ad9> Message-ID: <005701c71261$ac5f4180$6401a8c0@HAL9005> Sure, send it over. But perhaps you are using my air code for the search key - lngKeyValue - instead of your primary key value in FossielID? The message tells me that you are using the value 0 in the WHERE clause. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 11:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, the message that is get back is "Holy Moly! There's No Records In Here!!! - 0 That is strange, because in record two the FossielID (Primary Key of the table) value is 2 (auto Number field). Ik could sent you the small test.mdb, maybe you have seen the problem then in a minute? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 4:39 PM Subject: Re: [AccessD] saving values > Pedro: > > Just a guess but perhaps using the WHERE clause returns no records because > the value for the PK you're using is invalid. > > After the set rs = statement put > > If rs.bof=true and rs.eof=true then > Msgbox "Holy Moly! There's No Records In Here!!! - " & > lngKeyValue > Exit sub > End if > > To see if that's the case and what the value is of the key you're apssing. > > Post the set rs = statement and let's have a look at it. > > Regards, > > Rocky > > > If it is then > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 6:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > i included the Where statement, but get an eror when closing the subform > with the code: > Runtime error 3201, no current record. > When clicking debug button, rs!edit is highlited yellow. > > I used help, but still do not understand it. > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 2:59 AM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You need to add the WHERE clause to your set statement: >> >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >> >> Do you know what the primary key value is of the record you want to >> update >> with the values from the unbound text boxes? >> >> Rocky >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Sunday, November 26, 2006 2:31 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello, >> >> how would i point to the first record in the Where clausule with the ID? >> I am placing values from a unbound form, with no ID in a bound form with >> an >> ID (= FossielID). >> >> >> Please give me an idea to do this in the code below? >> >> Pedro Janssen >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 25, 2006 10:30 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> It looks like you are opening the table with all of the records. So the >>> record pointer of the recor4dset is always pointing to the first record. >>> You need to either 1) use a WHERE clause in the Set rs = >>> db.OpenRecordset >>> so >>> you get only the record you want, or 2) after opening the recordset use >>> rs.FindFirst and specify the primary key of the record you want to >>> update. >>> Then the recordset will be positioned at the record you want to update. >>> Be >>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>> record. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Saturday, November 25, 2006 12:37 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky (and Others), >>> >>> the code is working fine, but only for the first record on the form. >>> When i try to use it on the second record (after closing) it jumps to >>> record >>> >>> one and overwrite's the data there. >>> Trying to put the where statement in it to state that ID = ID, it gives >>> an >>> error on record two that it expects parameter = 1. >>> >>> The code that i use now: >>> >>> Private Sub Form_Close() >>> >>> Dim db As DAO.Database >>> Dim rs As DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData") >>> >>> rs.Edit >>> rs!Era = cboEra >>> rs!Periode = cboPeriode >>> rs!Epoch = cboEpoch >>> rs!Etage = cboEtage >>> rs!Tijd = cboTijd >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> Set rs = Nothing >>> Set db = Nothing >>> >>> Me.Requery >>> >>> End Sub >>> >>> What can i do about this? >>> >>> Pedro Janssen >>> >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 9:09 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> Just off the top and untested: >>>> >>>> Dim db as DAO.Database >>>> Dim rs as DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>> tblMyTable >>>> WHERE fldPK = " & lngPrimaryKey) >>>> >>>> ' Note: You could use any criteria you want in the WHERE clause; >>>> doesn't >>>> have to be the primary key. >>>> >>>> rs.Edit >>>> rs!fldOne = cboComboBox1 >>>> rs!fldTwo = cboComboBox2 >>>> rs!fldThree = cboComboBox3 >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> set rs = Nothing >>>> set db = Nothing >>>> >>>> Me.Requery (assuming you want the values to show on the bound form. >>>> >>>> >>>> Or here's another approach which I think should work but I haven't >>>> tested: >>>> >>>> Set db = CurrentDb >>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>>> & >>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>>> & >>>> cboComboBox3 & "';" >>>> >>>> Note that I have assumes that the values are string values and so need >>>> to >>>> have preceding and following apostrophes. If the values are numeric >>>> then >>>> they won't need the '. >>>> >>>> I'm sure someone else looking at this code will make the appropriate >>>> corrections. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Thursday, November 23, 2006 3:35 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky, >>>> >>>> could you give me an example of that, preferably in a example database. >>>> I have tried several things until now but nothing is working perfect. >>>> >>>> Pedro Janssen >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 12:07 AM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> I'd use Dao, open the record in question, push the value in, and >>>>> requery >>>>> the >>>>> form. >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: 23 November 2006 13:32 >>>>> To: AccessD >>>>> Subject: [AccessD] saving values >>>>> >>>>> Hello Group, >>>>> >>>>> i still have troubles saving values from unbound comboxes (cascade) in >>>>> table >>>>> fields. >>>>> >>>>> What is the best way to do this. >>>>> >>>>> Pedro Janssen >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>> 11/24/2006 >>> 5:20 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >> 11/25/2006 >> 10:55 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From shamil at users.mns.ru Mon Nov 27 14:37:26 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 27 Nov 2006 23:37:26 +0300 Subject: [AccessD] [Access-D] XML Import Sample File In-Reply-To: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> Message-ID: <000301c71263$e1763070$6401a8c0@nant> Hello Greg, Try to change reference to MSXML v.4.0 or above.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gwsmith at iowatelecom.net Sent: Monday, November 27, 2006 8:41 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML Import Sample File Shamil: Thanks again for the sample file code, by the way. The first two functions, XmlImportTest1() and XmlImportTest2() both work just fine. However, when I try to test XmlImportTest3() or XmlImportTest4(), I get the following error: Run Time Error '429' Active X Component Can't Create Object and the following line of code is highlighted as the culprit: obj.ImportData CurrentDb, "Shippers", Array _ ("CompanyName", "Phone"), mcstrXml1FullPath2 where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). I have the sneaky feeling I don't have something installed or properly referenced, but I'm not sure what. Any suggestions? Thanks! Greg Smith -- 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 27 15:52:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Nov 2006 13:52:36 -0800 Subject: [AccessD] [Access-D] XML Import Sample File In-Reply-To: <000301c71263$e1763070$6401a8c0@nant> References: <000301c71263$e1763070$6401a8c0@nant> Message-ID: <456B5E24.6@shaw.ca> You might want to grab MSXML 4.0 SP2, mostly security fixes. http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en#Requirements MSXML 3.0 is up to SP 7, this runs with OS below Win2000 There are versions MSXML 5.0 and 6.0 but I only need for advanced XPath standards and XLINQ http://www.microsoft.com/downloads/details.aspx?FamilyID=993c0bcf-3bcf-4009-be21-27e85e1857b1&DisplayLang=en#Requirements Shamil Salakhetdinov wrote: >Hello Greg, > >Try to change reference to MSXML v.4.0 or above.... > >-- >Shamil > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >gwsmith at iowatelecom.net >Sent: Monday, November 27, 2006 8:41 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XML Import Sample File > >Shamil: > >Thanks again for the sample file code, by the way. > >The first two functions, XmlImportTest1() and XmlImportTest2() both work >just fine. However, when I try to test XmlImportTest3() or >XmlImportTest4(), I get the following error: > > Run Time Error '429' > Active X Component Can't Create Object > >and the following line of code is highlighted as the culprit: > > obj.ImportData CurrentDb, "Shippers", Array _ > ("CompanyName", "Phone"), mcstrXml1FullPath2 > >where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). > >I have the sneaky feeling I don't have something installed or properly >referenced, but I'm not sure what. > >Any suggestions? > >Thanks! > >Greg Smith > > > -- Marty Connelly Victoria, B.C. Canada From gwsmith at iowatelecom.net Mon Nov 27 15:53:42 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Mon, 27 Nov 2006 15:53:42 -0600 (CST) Subject: [AccessD] [Access-D] XML Import Sample File In-Reply-To: <000301c71263$e1763070$6401a8c0@nant> References: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> <000301c71263$e1763070$6401a8c0@nant> Message-ID: <21609.65.118.249.214.1164664422.squirrel@webmail.iowatelecom.net> Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > gwsmith at iowatelecom.net > Sent: Monday, November 27, 2006 8:41 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XML Import Sample File > > Shamil: > > Thanks again for the sample file code, by the way. > > The first two functions, XmlImportTest1() and XmlImportTest2() both work > just fine. However, when I try to test XmlImportTest3() or > XmlImportTest4(), I get the following error: > > Run Time Error '429' > Active X Component Can't Create Object > > and the following line of code is highlighted as the culprit: > > obj.ImportData CurrentDb, "Shippers", Array _ > ("CompanyName", "Phone"), mcstrXml1FullPath2 > > where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). > > I have the sneaky feeling I don't have something installed or properly > referenced, but I'm not sure what. > > Any suggestions? > > Thanks! > > Greg Smith > From bheygood at abestsystems.com Mon Nov 27 16:20:14 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 27 Nov 2006 14:20:14 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: <005601c71261$678510d0$6401a8c0@HAL9005> Message-ID: in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- 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 27 16:31:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 14:31:17 -0800 Subject: [AccessD] saving values In-Reply-To: <003d01c7125d$4f725560$4001a8c0@qmotionfaa3ad9> Message-ID: <002301c71273$c1dfd800$6401a8c0@HAL9005> Pedro: You are using my variable name lngKeyValue for the criterion in the WHERE clause to limit the recordset to the one record you are looking for. You should use the value of the field from the combo box, instead. And I'm not clear on what you're trying to store or what the relationship is between the two tables. So I can't be more precise. Tell me again the user process and what you're trying to accomplish. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 11:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, the message that is get back is "Holy Moly! There's No Records In Here!!! - 0 That is strange, because in record two the FossielID (Primary Key of the table) value is 2 (auto Number field). Ik could sent you the small test.mdb, maybe you have seen the problem then in a minute? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 4:39 PM Subject: Re: [AccessD] saving values > Pedro: > > Just a guess but perhaps using the WHERE clause returns no records because > the value for the PK you're using is invalid. > > After the set rs = statement put > > If rs.bof=true and rs.eof=true then > Msgbox "Holy Moly! There's No Records In Here!!! - " & > lngKeyValue > Exit sub > End if > > To see if that's the case and what the value is of the key you're apssing. > > Post the set rs = statement and let's have a look at it. > > Regards, > > Rocky > > > If it is then > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 6:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > i included the Where statement, but get an eror when closing the subform > with the code: > Runtime error 3201, no current record. > When clicking debug button, rs!edit is highlited yellow. > > I used help, but still do not understand it. > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 2:59 AM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You need to add the WHERE clause to your set statement: >> >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >> >> Do you know what the primary key value is of the record you want to >> update >> with the values from the unbound text boxes? >> >> Rocky >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Sunday, November 26, 2006 2:31 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello, >> >> how would i point to the first record in the Where clausule with the ID? >> I am placing values from a unbound form, with no ID in a bound form with >> an >> ID (= FossielID). >> >> >> Please give me an idea to do this in the code below? >> >> Pedro Janssen >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 25, 2006 10:30 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> It looks like you are opening the table with all of the records. So the >>> record pointer of the recor4dset is always pointing to the first record. >>> You need to either 1) use a WHERE clause in the Set rs = >>> db.OpenRecordset >>> so >>> you get only the record you want, or 2) after opening the recordset use >>> rs.FindFirst and specify the primary key of the record you want to >>> update. >>> Then the recordset will be positioned at the record you want to update. >>> Be >>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>> record. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Saturday, November 25, 2006 12:37 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky (and Others), >>> >>> the code is working fine, but only for the first record on the form. >>> When i try to use it on the second record (after closing) it jumps to >>> record >>> >>> one and overwrite's the data there. >>> Trying to put the where statement in it to state that ID = ID, it gives >>> an >>> error on record two that it expects parameter = 1. >>> >>> The code that i use now: >>> >>> Private Sub Form_Close() >>> >>> Dim db As DAO.Database >>> Dim rs As DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData") >>> >>> rs.Edit >>> rs!Era = cboEra >>> rs!Periode = cboPeriode >>> rs!Epoch = cboEpoch >>> rs!Etage = cboEtage >>> rs!Tijd = cboTijd >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> Set rs = Nothing >>> Set db = Nothing >>> >>> Me.Requery >>> >>> End Sub >>> >>> What can i do about this? >>> >>> Pedro Janssen >>> >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 9:09 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> Just off the top and untested: >>>> >>>> Dim db as DAO.Database >>>> Dim rs as DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>> tblMyTable >>>> WHERE fldPK = " & lngPrimaryKey) >>>> >>>> ' Note: You could use any criteria you want in the WHERE clause; >>>> doesn't >>>> have to be the primary key. >>>> >>>> rs.Edit >>>> rs!fldOne = cboComboBox1 >>>> rs!fldTwo = cboComboBox2 >>>> rs!fldThree = cboComboBox3 >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> set rs = Nothing >>>> set db = Nothing >>>> >>>> Me.Requery (assuming you want the values to show on the bound form. >>>> >>>> >>>> Or here's another approach which I think should work but I haven't >>>> tested: >>>> >>>> Set db = CurrentDb >>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>>> & >>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>>> & >>>> cboComboBox3 & "';" >>>> >>>> Note that I have assumes that the values are string values and so need >>>> to >>>> have preceding and following apostrophes. If the values are numeric >>>> then >>>> they won't need the '. >>>> >>>> I'm sure someone else looking at this code will make the appropriate >>>> corrections. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Thursday, November 23, 2006 3:35 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky, >>>> >>>> could you give me an example of that, preferably in a example database. >>>> I have tried several things until now but nothing is working perfect. >>>> >>>> Pedro Janssen >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 12:07 AM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> I'd use Dao, open the record in question, push the value in, and >>>>> requery >>>>> the >>>>> form. >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: 23 November 2006 13:32 >>>>> To: AccessD >>>>> Subject: [AccessD] saving values >>>>> >>>>> Hello Group, >>>>> >>>>> i still have troubles saving values from unbound comboxes (cascade) in >>>>> table >>>>> fields. >>>>> >>>>> What is the best way to do this. >>>>> >>>>> Pedro Janssen >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>> 11/24/2006 >>> 5:20 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >> 11/25/2006 >> 10:55 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From bchacc at san.rr.com Mon Nov 27 16:34:15 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 14:34:15 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: Message-ID: <002401c71274$2bcb2b70$6401a8c0@HAL9005> Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From shamil at users.mns.ru Mon Nov 27 16:40:02 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Nov 2006 01:40:02 +0300 Subject: [AccessD] XML Import Sample File In-Reply-To: <21609.65.118.249.214.1164664422.squirrel@webmail.iowatelecom.net> Message-ID: <000001c71274$fa875d30$6401a8c0@nant> Greg, I did try sample code with MSXML 6.0 and it worked OK. Try to debug/trace this function: My guess the problem is in this function: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader40 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader40 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 12:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Access-D] XML Import Sample File Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > gwsmith at iowatelecom.net > Sent: Monday, November 27, 2006 8:41 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XML Import Sample File > > Shamil: > > Thanks again for the sample file code, by the way. > > The first two functions, XmlImportTest1() and XmlImportTest2() both work > just fine. However, when I try to test XmlImportTest3() or > XmlImportTest4(), I get the following error: > > Run Time Error '429' > Active X Component Can't Create Object > > and the following line of code is highlighted as the culprit: > > obj.ImportData CurrentDb, "Shippers", Array _ > ("CompanyName", "Phone"), mcstrXml1FullPath2 > > where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). > > I have the sneaky feeling I don't have something installed or properly > referenced, but I'm not sure what. > > Any suggestions? > > Thanks! > > Greg Smith > -- 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 27 17:05:23 2006 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 28 Nov 2006 00:05:23 +0100 Subject: [AccessD] saving values References: <002301c71273$c1dfd800$6401a8c0@HAL9005> Message-ID: <001e01c71278$89ab5130$4001a8c0@qmotionfaa3ad9> Hello Rocky, In this testdatabase is just want to make the cascadecombox selection trying to work, for a major Fossil Database. The Main Table in the test is tblFossieldata (fossildata). The form frmFossielData is bound to that table. In this table you see the fields Era, Periode, Epoch, Etage and Tijd. These are Geological Timetable fields. These fields are just textfields The table tblTijdschaal (timescale) I filled with the vlues that i want to use in the tblFossielData, in the fields that i mentioned before. Normally i would do this with a combobox for each, but the list of timescale is very large, so i would simplify that by using a cascadecombo, that is present in frmTijdschaal. When opening a record in frmFossielData, and field Era gets the focus (in the real database there wil be a button click event), the unbound subform gets the focus. By using the cascade, Each field is filtered by the value of the combobox before. When selected the values in the five cascade comboboxes, i want to close the frmTijdschaal en the values of Era.frmTijdschaal must be placed in the field Era of frmFossielData, etc for the other four fields. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 11:31 PM Subject: Re: [AccessD] saving values > Pedro: > > You are using my variable name lngKeyValue for the criterion in the WHERE > clause to limit the recordset to the one record you are looking for. You > should use the value of the field from the combo box, instead. > > And I'm not clear on what you're trying to store or what the relationship > is > between the two tables. So I can't be more precise. > > Tell me again the user process and what you're trying to accomplish. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 11:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > the message that is get back is "Holy Moly! There's No Records In > Here!!! - > > 0 > > That is strange, because in record two the FossielID (Primary Key of the > table) value is 2 (auto Number field). > > Ik could sent you the small test.mdb, > maybe you have seen the problem then in a minute? > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 4:39 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just a guess but perhaps using the WHERE clause returns no records >> because >> the value for the PK you're using is invalid. >> >> After the set rs = statement put >> >> If rs.bof=true and rs.eof=true then >> Msgbox "Holy Moly! There's No Records In Here!!! - " & >> lngKeyValue >> Exit sub >> End if >> >> To see if that's the case and what the value is of the key you're >> apssing. >> >> Post the set rs = statement and let's have a look at it. >> >> Regards, >> >> Rocky >> >> >> If it is then >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 6:55 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> i included the Where statement, but get an eror when closing the subform >> with the code: >> Runtime error 3201, no current record. >> When clicking debug button, rs!edit is highlited yellow. >> >> I used help, but still do not understand it. >> >> Pedro Janssen >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 2:59 AM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> You need to add the WHERE clause to your set statement: >>> >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>> >>> Do you know what the primary key value is of the record you want to >>> update >>> with the values from the unbound text boxes? >>> >>> Rocky >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Sunday, November 26, 2006 2:31 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello, >>> >>> how would i point to the first record in the Where clausule with the ID? >>> I am placing values from a unbound form, with no ID in a bound form with >>> an >>> ID (= FossielID). >>> >>> >>> Please give me an idea to do this in the code below? >>> >>> Pedro Janssen >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 25, 2006 10:30 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> It looks like you are opening the table with all of the records. So >>>> the >>>> record pointer of the recor4dset is always pointing to the first >>>> record. >>>> You need to either 1) use a WHERE clause in the Set rs = >>>> db.OpenRecordset >>>> so >>>> you get only the record you want, or 2) after opening the recordset use >>>> rs.FindFirst and specify the primary key of the record you want to >>>> update. >>>> Then the recordset will be positioned at the record you want to update. >>>> Be >>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>> record. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Saturday, November 25, 2006 12:37 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky (and Others), >>>> >>>> the code is working fine, but only for the first record on the form. >>>> When i try to use it on the second record (after closing) it jumps to >>>> record >>>> >>>> one and overwrite's the data there. >>>> Trying to put the where statement in it to state that ID = ID, it gives >>>> an >>>> error on record two that it expects parameter = 1. >>>> >>>> The code that i use now: >>>> >>>> Private Sub Form_Close() >>>> >>>> Dim db As DAO.Database >>>> Dim rs As DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData") >>>> >>>> rs.Edit >>>> rs!Era = cboEra >>>> rs!Periode = cboPeriode >>>> rs!Epoch = cboEpoch >>>> rs!Etage = cboEtage >>>> rs!Tijd = cboTijd >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> Set rs = Nothing >>>> Set db = Nothing >>>> >>>> Me.Requery >>>> >>>> End Sub >>>> >>>> What can i do about this? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 9:09 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> Just off the top and untested: >>>>> >>>>> Dim db as DAO.Database >>>>> Dim rs as DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>> tblMyTable >>>>> WHERE fldPK = " & lngPrimaryKey) >>>>> >>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>> doesn't >>>>> have to be the primary key. >>>>> >>>>> rs.Edit >>>>> rs!fldOne = cboComboBox1 >>>>> rs!fldTwo = cboComboBox2 >>>>> rs!fldThree = cboComboBox3 >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> set rs = Nothing >>>>> set db = Nothing >>>>> >>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>> >>>>> >>>>> Or here's another approach which I think should work but I haven't >>>>> tested: >>>>> >>>>> Set db = CurrentDb >>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>> cboComboBox1 >>>>> & >>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>> '" >>>>> & >>>>> cboComboBox3 & "';" >>>>> >>>>> Note that I have assumes that the values are string values and so need >>>>> to >>>>> have preceding and following apostrophes. If the values are numeric >>>>> then >>>>> they won't need the '. >>>>> >>>>> I'm sure someone else looking at this code will make the appropriate >>>>> corrections. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky, >>>>> >>>>> could you give me an example of that, preferably in a example >>>>> database. >>>>> I have tried several things until now but nothing is working perfect. >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>> requery >>>>>> the >>>>>> form. >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: 23 November 2006 13:32 >>>>>> To: AccessD >>>>>> Subject: [AccessD] saving values >>>>>> >>>>>> Hello Group, >>>>>> >>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>> in >>>>>> table >>>>>> fields. >>>>>> >>>>>> What is the best way to do this. >>>>>> >>>>>> Pedro Janssen >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>> 11/24/2006 >>>> 5:20 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>> 11/25/2006 >>> 10:55 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > 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 27 17:08:24 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 15:08:24 -0800 Subject: [AccessD] Designing Reports Bogs Down Message-ID: <003001c71278$f11550f0$6401a8c0@HAL9005> Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky From cfoust at infostatsystems.com Mon Nov 27 17:51:50 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Nov 2006 15:51:50 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: What printer is that machine talking to, local or network? And on that machine, do you have background printing turned on? I remember running into this some time ago, but I can't recall the cause or cure, but printing to a local printer and having background printing turned off may help. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 3:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Designing Reports Bogs Down Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Nov 27 17:54:44 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 15:54:44 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: <000001c7127f$69aed300$6401a8c0@HAL9005> Never mind. Found it (I think). The printers window showed the default printer, which was a network printer on another machine, having 1 job in the queue. But nothing in the jobs window. On the machine where this printer is hooked up it showed zero jobs in the queue. Even after rebooting the first machine it still showed one job in the queue. So I deleted and reinstalled the printer. Now when I copy a text box on a report in design mode, spoolsv.exe still shows up in the task list but only briefly. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 3:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Designing Reports Bogs Down Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From martyconnelly at shaw.ca Mon Nov 27 18:00:11 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Nov 2006 16:00:11 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> References: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: <456B7C0B.6050306@shaw.ca> Try turning this off, Track name AutoCorrect Tools >> Options >> General >>.Track name AutoCorrect info should be off. http://support.microsoft.com/?kbid=290181 Also report could be corrupt so use SaveAsText and LoadFromText to save and rebuild report from text file. Beach Access Software wrote: >Dear List: > > > >My Access changed behavior today. When I go onto design mode on a report >(not of forms, though), and designing I do runs as slow as a stuck pig. > > > >So I popped up the task manager and it turns out that every time I move or >copy a control the program spoolsv.exe sucks up 20-50% of the cycles for >5-10 seconds. > > > >I tried repair, but have not tried a complete reinstall. This does not >happen on machine number2. Or 3. Just this, which is (unfortunately) my >primary development box at the moment. > > > >Anyone have a clue as to why this should start happening? > > > >MTIA > > > >Rocky > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Nov 27 18:33:30 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 16:33:30 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <456B7C0B.6050306@shaw.ca> Message-ID: <000001c71284$d47f15f0$6401a8c0@HAL9005> It was already turned off by default (I guess MS finally learned their lesson about this 'feature'). But I think I've traced the problem to a bad remote printer queue. Had to delete and reinstall the printer. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 27, 2006 4:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Designing Reports Bogs Down Try turning this off, Track name AutoCorrect Tools >> Options >> General >>.Track name AutoCorrect info should be off. http://support.microsoft.com/?kbid=290181 Also report could be corrupt so use SaveAsText and LoadFromText to save and rebuild report from text file. Beach Access Software wrote: >Dear List: > > > >My Access changed behavior today. When I go onto design mode on a report >(not of forms, though), and designing I do runs as slow as a stuck pig. > > > >So I popped up the task manager and it turns out that every time I move or >copy a control the program spoolsv.exe sucks up 20-50% of the cycles for >5-10 seconds. > > > >I tried repair, but have not tried a complete reinstall. This does not >happen on machine number2. Or 3. Just this, which is (unfortunately) my >primary development box at the moment. > > > >Anyone have a clue as to why this should start happening? > > > >MTIA > > > >Rocky > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bheid at sc.rr.com Mon Nov 27 18:55:19 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 27 Nov 2006 19:55:19 -0500 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: <000301c71287$e1396b30$2d01a8c0@bhxp> I just noticed this happening to me today also! And all I did was rebuild from source. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 6:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Designing Reports Bogs Down Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky From kp at sdsonline.net Mon Nov 27 19:22:52 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Nov 2006 12:22:52 +1100 Subject: [AccessD] vba bookmarks unreliable Access 2003? Message-ID: <000a01c7128b$badf02c0$6501a8c0@office> Has anyone noticed that when you create bookmarks in the code window in Access 2003 you can't always move from one to another ? Seems to get itself stuck......sometime it works and sometimes no luck. V. annoying.. ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From kp at sdsonline.net Mon Nov 27 19:36:27 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Nov 2006 12:36:27 +1100 Subject: [AccessD] Upgrading from Access 2000 to 2003 Message-ID: <001201c7128d$a00b1cc0$6501a8c0@office> I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti From kp at sdsonline.net Mon Nov 27 20:27:26 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Nov 2006 13:27:26 +1100 Subject: [AccessD] Rich text control as html Message-ID: <001901c71294$bf6c8b10$6501a8c0@office> Can anyone recommend a text box control I could get which would allow me to display it in a form and allow users full format ability (need to change fonts / colour, bold , bullets, paragraph indents etc). I then need to export the contents of the field to an external mdb where it gets read from for the website. The web developer has asked me to use a control which exports in html format so he can read the formatting and display as the users defined it in the mdb. (Access 2003) ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From stuart at lexacorp.com.pg Mon Nov 27 21:41:04 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Nov 2006 13:41:04 +1000 Subject: [AccessD] Rich text control as html In-Reply-To: <001901c71294$bf6c8b10$6501a8c0@office> References: <001901c71294$bf6c8b10$6501a8c0@office> Message-ID: <456C3C70.18365.15A0C525@stuart.lexacorp.com.pg> On 28 Nov 2006 at 13:27, Kath Pelletti wrote: > Can anyone recommend a text box control I could get which would allow > me to display it in a form and allow users full format ability (need > to change fonts / colour, bold , bullets, paragraph indents etc). > > I then need to export the contents of the field to an external mdb > where it gets read from for the website. The web developer has asked > me to use a control which exports in html format so he can read the > formatting and display as the users defined it in the mdb. (Access > 2003) How much do you want to spend? "TX Text Control" , "TE Edit Control" with the "HTML Add-on" and "SpellEditor" are all good but expensive options. http://www.textcontrol.com/ http://www.subsystems.com/ http://www.spelltext.com/aboutspe.htm From adtp at airtelbroadband.in Mon Nov 27 23:49:56 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 28 Nov 2006 11:19:56 +0530 Subject: [AccessD] Checking control property in an external mde database References: <001501c7109b$2bb0f0a0$6401a8c0@HAL9005> Message-ID: <012301c712b1$5eebede0$6d2a177d@pcadt> Rocky, For accessing control's properties, the form has to be open either in design or run time view. In case of mde, design view is ruled out. Function Fn_IsControlVisibleInExternalDb() as given below, will get you the visible status of desired control in external db. Though it involves opening & closing of target form in external db, the process remains invisible to the user. Note - If the target form is in datasheet view, mere checking of visible property does not conclusively establish whether the column in question is displayed or not. For that, ColumnHidden property has to be verified. Interestingly, ColumnHidden property is detectable only at run time (not in design view). Best wishes, A.D.Tejpal ---------------- ===================================== Function Fn_IsControlVisibleInExternalDb( _ ByVal FilePath As String, _ ByVal FormName As String, _ ByVal ControlName As String) As Boolean ' Returns True if the control is visible. ' Otherwise False On Error GoTo ErrTrap Dim acp As Access.Application Fn_IsControlVisibleInExternalDb = False ' Default Set acp = New Access.Application acp.OpenCurrentDatabase FilePath acp.DoCmd.OpenForm FormName If acp.Forms(FormName)(ControlName).Visible _ = True Then Fn_IsControlVisibleInExternalDb = True End If acp.DoCmd.Close acForm, FormName ExitPoint: On Error Resume Next acp.Quit Set acp = Nothing On Error GoTo 0 Exit Function ErrTrap: MsgBox "Err " & Err.Number & " - " & Err.Description Resume ExitPoint End Function ===================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Saturday, November 25, 2006 19:38 Subject: [AccessD] Checking control property in an external mde database Dear List: Is it possible to check the visible property of a control on a form in another database which is an mde? Would it be necessary to have that database is currently open with that form opened? MTIA Rocky From bchacc at san.rr.com Tue Nov 28 00:05:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 22:05:17 -0800 Subject: [AccessD] Checking control property in an external mde database In-Reply-To: <012301c712b1$5eebede0$6d2a177d@pcadt> Message-ID: <001c01c712b3$2e114c40$6401a8c0@HAL9005> A.D.: Thanks for that function. My Chinese distributor wants to be able to make demo systems over there. I want to let them make demos only from the very restricted 35 part version. So if the 35 part limit label is visible in the mde, I will let the program run which creates an encrypted key with a thirty day limit. This will solve the problem. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 27, 2006 9:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking control property in an external mde database Rocky, For accessing control's properties, the form has to be open either in design or run time view. In case of mde, design view is ruled out. Function Fn_IsControlVisibleInExternalDb() as given below, will get you the visible status of desired control in external db. Though it involves opening & closing of target form in external db, the process remains invisible to the user. Note - If the target form is in datasheet view, mere checking of visible property does not conclusively establish whether the column in question is displayed or not. For that, ColumnHidden property has to be verified. Interestingly, ColumnHidden property is detectable only at run time (not in design view). Best wishes, A.D.Tejpal ---------------- ===================================== Function Fn_IsControlVisibleInExternalDb( _ ByVal FilePath As String, _ ByVal FormName As String, _ ByVal ControlName As String) As Boolean ' Returns True if the control is visible. ' Otherwise False On Error GoTo ErrTrap Dim acp As Access.Application Fn_IsControlVisibleInExternalDb = False ' Default Set acp = New Access.Application acp.OpenCurrentDatabase FilePath acp.DoCmd.OpenForm FormName If acp.Forms(FormName)(ControlName).Visible _ = True Then Fn_IsControlVisibleInExternalDb = True End If acp.DoCmd.Close acForm, FormName ExitPoint: On Error Resume Next acp.Quit Set acp = Nothing On Error GoTo 0 Exit Function ErrTrap: MsgBox "Err " & Err.Number & " - " & Err.Description Resume ExitPoint End Function ===================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Saturday, November 25, 2006 19:38 Subject: [AccessD] Checking control property in an external mde database Dear List: Is it possible to check the visible property of a control on a form in another database which is an mde? Would it be necessary to have that database is currently open with that form opened? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bheygood at abestsystems.com Tue Nov 28 00:05:47 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 27 Nov 2006 22:05:47 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: <002401c71274$2bcb2b70$6401a8c0@HAL9005> Message-ID: Hey Rocky, Yeah, but i was truing to use teh !String convention. Oh well workied around it. Looks like i missed teh rain back home. See you soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 2:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Nov 28 00:21:44 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 28 Nov 2006 01:21:44 -0500 Subject: [AccessD] Rich text control as html References: <001901c71294$bf6c8b10$6501a8c0@office> <456C3C70.18365.15A0C525@stuart.lexacorp.com.pg> Message-ID: <002201c712b5$7ab98e70$3e3de844@50NM721> Kath www.lebans.com ...look for his RTF ocx ...its free and works well in all versions A97-A2k3 ...plus he's on the msaccess newsgroups regularly and will answer any problems you might have in your implementation if you post it there ...I use it in several apps to allow user edit and format of text portions of reports that go to their customers ...since the rtf is stored in an mdb table you should be able to export it as html using Access' own export capabilities. William Hindman ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, November 27, 2006 10:41 PM Subject: Re: [AccessD] Rich text control as html > On 28 Nov 2006 at 13:27, Kath Pelletti wrote: > >> Can anyone recommend a text box control I could get which would allow >> me to display it in a form and allow users full format ability (need >> to change fonts / colour, bold , bullets, paragraph indents etc). >> > >> I then need to export the contents of the field to an external mdb >> where it gets read from for the website. The web developer has asked >> me to use a control which exports in html format so he can read the >> formatting and display as the users defined it in the mdb. (Access >> 2003) > > > How much do you want to spend? > > "TX Text Control" , "TE Edit Control" with the "HTML Add-on" and > "SpellEditor" are all good but expensive options. > > http://www.textcontrol.com/ > http://www.subsystems.com/ > http://www.spelltext.com/aboutspe.htm > > > > -- > 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 28 00:49:09 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Nov 2006 16:49:09 +1000 Subject: [AccessD] Rich text control as html In-Reply-To: <002201c712b5$7ab98e70$3e3de844@50NM721> References: <001901c71294$bf6c8b10$6501a8c0@office>, <002201c712b5$7ab98e70$3e3de844@50NM721> Message-ID: <456C6885.23119.164CF691@stuart.lexacorp.com.pg> On 28 Nov 2006 at 1:21, William Hindman wrote: > Kath > > www.lebans.com ...look for his RTF ocx ...its free and works well in all > versions A97-A2k3 ...plus he's on the msaccess newsgroups regularly and will > answer any problems you might have in your implementation if you post it > there ...I use it in several apps to allow user edit and format of text > portions of reports that go to their customers ...since the rtf is stored in > an mdb table you should be able to export it as html using Access' own > export capabilities. Alternatively, once you have the text as RTF, use RTF2HTML from http://www2.bitstream.net/~bradyh/downloads/rtf2htmlrm.html to convert the RFT string to an HTML string and use standard File IO to write the string to a file. From wdhindman at dejpolsystems.com Tue Nov 28 00:58:48 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 28 Nov 2006 01:58:48 -0500 Subject: [AccessD] Checking control property in an external mde database References: <001c01c712b3$2e114c40$6401a8c0@HAL9005> Message-ID: <000501c712ba$a82ce500$3e3de844@50NM721> ...isn't it fairly easy to modify labels on mde forms using 3rd party software? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 1:05 AM Subject: Re: [AccessD] Checking control property in an external mde database > A.D.: > > Thanks for that function. My Chinese distributor wants to be able to make > demo systems over there. I want to let them make demos only from the very > restricted 35 part version. So if the 35 part limit label is visible in > the > mde, I will let the program run which creates an encrypted key with a > thirty > day limit. > > This will solve the problem. > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Monday, November 27, 2006 9:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Checking control property in an external mde > database > > Rocky, > > For accessing control's properties, the form has to be open either in > design or run time view. In case of mde, design view is ruled out. > > Function Fn_IsControlVisibleInExternalDb() as given below, will get you > the visible status of desired control in external db. Though it involves > opening & closing of target form in external db, the process remains > invisible to the user. > > Note - If the target form is in datasheet view, mere checking of > visible > property does not conclusively establish whether the column in question is > displayed or not. For that, ColumnHidden property has to be verified. > Interestingly, ColumnHidden property is detectable only at run time (not > in > design view). > > Best wishes, > A.D.Tejpal > ---------------- > > ===================================== > Function Fn_IsControlVisibleInExternalDb( _ > ByVal FilePath As String, _ > ByVal FormName As String, _ > ByVal ControlName As String) As Boolean > ' Returns True if the control is visible. > ' Otherwise False > On Error GoTo ErrTrap > Dim acp As Access.Application > > Fn_IsControlVisibleInExternalDb = False ' Default > > Set acp = New Access.Application > acp.OpenCurrentDatabase FilePath > > acp.DoCmd.OpenForm FormName > > If acp.Forms(FormName)(ControlName).Visible _ > = True Then > Fn_IsControlVisibleInExternalDb = True > End If > acp.DoCmd.Close acForm, FormName > > ExitPoint: > On Error Resume Next > acp.Quit > Set acp = Nothing > On Error GoTo 0 > Exit Function > > ErrTrap: > MsgBox "Err " & Err.Number & " - " & Err.Description > Resume ExitPoint > End Function > ===================================== > > ----- Original Message ----- > From: Beach Access Software > To: 'Access Developers discussion and problem solving' > Sent: Saturday, November 25, 2006 19:38 > Subject: [AccessD] Checking control property in an external mde database > > > Dear List: > > Is it possible to check the visible property of a control on a form in > another database which is an mde? Would it be necessary to have that > database is currently open with that form opened? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: > 11/27/2006 > 6:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael at ddisolutions.com.au Tue Nov 28 03:46:02 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 28 Nov 2006 20:46:02 +1100 Subject: [AccessD] TableDefs.Append issue Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AD36@ddi-01.DDI.local> Hi all, I'm writing a tool for a client that requested VB6 FE and Access (2003) BE. I need to import some dbf files. What I've done is create a link to the dbf file using DAO.TableDefs.Append Works fine when I step through the code... Take out the breakpoints and I get 'table cannot be found errors' It seems that the tdf doesn't refresh quickly enough, I do call refresh after the append. What to do? cheers Michael M From JRojas at tnco-inc.com Tue Nov 28 07:48:19 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 28 Nov 2006 08:48:19 -0500 Subject: [AccessD] Problem linking to an ODBC table Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDF6E@ex2k3.corp.tnco-inc.com> Hello, I am using Access 2003 to connect to a Progress OpenEdge 10 database via ODBC. Everything is setup correctly but I am having a problem connecting to one particular table. Each time I try to connect to it, I get an error message that says "The size of a field is too long." Any ideas for a possible work around? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From jwcolby at colbyconsulting.com Tue Nov 28 07:48:15 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 08:48:15 -0500 Subject: [AccessD] Outer join speed Message-ID: <002a01c712f3$db344fe0$657aa8c0@m6805> Are outer joins inherently any slower than inner joins? In particular is an outer join slower where the number of records pulled is equal to the number pulled using an inner join? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 28 08:14:07 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 09:14:07 -0500 Subject: [AccessD] Problem linking to an ODBC table In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDF6E@ex2k3.corp.tnco-inc.com> Message-ID: <002f01c712f7$780df070$657aa8c0@m6805> If I had to guess, I would say that one field in the table you are linking to is able to contain more data than Access can handle. Perhaps Access is mapping a field as text when it actually contains more data than a text field can handle (255 characters). Or perhaps there is a field that Access simply does not understand how to map, contains a data type that Access simply cannot handle. I would look at the table itself, inside of OpenEdge and see what kinds of data the table contains. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, November 28, 2006 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Problem linking to an ODBC table Hello, I am using Access 2003 to connect to a Progress OpenEdge 10 database via ODBC. Everything is setup correctly but I am having a problem connecting to one particular table. Each time I try to connect to it, I get an error message that says "The size of a field is too long." Any ideas for a possible work around? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.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 28 08:50:30 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 06:50:30 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: Message-ID: <003701c712fc$8cef4ca0$6401a8c0@HAL9005> Yeah, real gully washer. As you know we had several hundredths of an inch last week - our first in about nine months - and 90 accidents on the freeways. Yesterday we had 9 hundredths of an inch!!! With commensurate loss of life and property. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 10:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable Hey Rocky, Yeah, but i was truing to use teh !String convention. Oh well workied around it. Looks like i missed teh rain back home. See you soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 2:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bchacc at san.rr.com Tue Nov 28 08:51:51 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 06:51:51 -0800 Subject: [AccessD] Checking control property in an external mde database In-Reply-To: <000501c712ba$a82ce500$3e3de844@50NM721> Message-ID: <003801c712fc$bd55e4d0$6401a8c0@HAL9005> I use the best first party software from A.D. Tejpal, Pty. Who you gonna call? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 27, 2006 10:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking control property in an external mde database ...isn't it fairly easy to modify labels on mde forms using 3rd party software? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 1:05 AM Subject: Re: [AccessD] Checking control property in an external mde database > A.D.: > > Thanks for that function. My Chinese distributor wants to be able to make > demo systems over there. I want to let them make demos only from the very > restricted 35 part version. So if the 35 part limit label is visible in > the > mde, I will let the program run which creates an encrypted key with a > thirty > day limit. > > This will solve the problem. > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Monday, November 27, 2006 9:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Checking control property in an external mde > database > > Rocky, > > For accessing control's properties, the form has to be open either in > design or run time view. In case of mde, design view is ruled out. > > Function Fn_IsControlVisibleInExternalDb() as given below, will get you > the visible status of desired control in external db. Though it involves > opening & closing of target form in external db, the process remains > invisible to the user. > > Note - If the target form is in datasheet view, mere checking of > visible > property does not conclusively establish whether the column in question is > displayed or not. For that, ColumnHidden property has to be verified. > Interestingly, ColumnHidden property is detectable only at run time (not > in > design view). > > Best wishes, > A.D.Tejpal > ---------------- > > ===================================== > Function Fn_IsControlVisibleInExternalDb( _ > ByVal FilePath As String, _ > ByVal FormName As String, _ > ByVal ControlName As String) As Boolean > ' Returns True if the control is visible. > ' Otherwise False > On Error GoTo ErrTrap > Dim acp As Access.Application > > Fn_IsControlVisibleInExternalDb = False ' Default > > Set acp = New Access.Application > acp.OpenCurrentDatabase FilePath > > acp.DoCmd.OpenForm FormName > > If acp.Forms(FormName)(ControlName).Visible _ > = True Then > Fn_IsControlVisibleInExternalDb = True > End If > acp.DoCmd.Close acForm, FormName > > ExitPoint: > On Error Resume Next > acp.Quit > Set acp = Nothing > On Error GoTo 0 > Exit Function > > ErrTrap: > MsgBox "Err " & Err.Number & " - " & Err.Description > Resume ExitPoint > End Function > ===================================== > > ----- Original Message ----- > From: Beach Access Software > To: 'Access Developers discussion and problem solving' > Sent: Saturday, November 25, 2006 19:38 > Subject: [AccessD] Checking control property in an external mde database > > > Dear List: > > Is it possible to check the visible property of a control on a form in > another database which is an mde? Would it be necessary to have that > database is currently open with that form opened? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: > 11/27/2006 > 6:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From jwcolby at colbyconsulting.com Tue Nov 28 09:15:18 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 10:15:18 -0500 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: <003701c712fc$8cef4ca0$6401a8c0@HAL9005> Message-ID: <003601c71300$04620950$657aa8c0@m6805> LOL, and even then you get about twice as much per year as they do over the mountains in Yuma. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Yeah, real gully washer. As you know we had several hundredths of an inch last week - our first in about nine months - and 90 accidents on the freeways. Yesterday we had 9 hundredths of an inch!!! With commensurate loss of life and property. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 10:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable Hey Rocky, Yeah, but i was truing to use teh !String convention. Oh well workied around it. Looks like i missed teh rain back home. See you soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 2:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Tue Nov 28 09:40:45 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 07:40:45 -0800 (PST) Subject: [AccessD] Text Box Control Source Problem Message-ID: <515508.89023.qm@web34309.mail.mud.yahoo.com> I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From rusty.hammond at cpiqpc.com Tue Nov 28 09:45:50 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 09:45:50 -0600 Subject: [AccessD] Text Box Control Source Problem Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B71C@cpixchng-1.cpiqpc.net> Chris, Try =Sum([qryIG_Wed]![DBAdminEventTime]) HTH Rusty -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Text Box Control Source Problem I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From gwsmith at iowatelecom.net Tue Nov 28 09:46:42 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 28 Nov 2006 09:46:42 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <000001c71274$fa875d30$6401a8c0@nant> References: <21609.65.118.249.214.1164664422.squirrel@webmail.iowatelecom.net> <000001c71274$fa875d30$6401a8c0@nant> Message-ID: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> Shamil: That is where the issue was. I changed the SAXXMLReader40 to SAXXMLReader60 in both places and now it runs without error. HOWEVER, it does not do anything. The table remains empty...nothing is imported. Samples 1 & 2 both import from the text files, but neither 3 nor 4 import anything. The table, if it has any contents, the contents are deleted and the table stays empty. Maybe SAXXMLReader60 will not work? Thanks! Greg ============================= Greg, I did try sample code with MSXML 6.0 and it worked OK. Try to debug/trace this function: My guess the problem is in this function: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader40 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader40 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 12:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Access-D] XML Import Sample File Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil From cclenright at yahoo.com Tue Nov 28 10:04:04 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 08:04:04 -0800 (PST) Subject: [AccessD] Text Box Control Source Problem In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B71C@cpixchng-1.cpiqpc.net> Message-ID: <20061128160404.47097.qmail@web34301.mail.mud.yahoo.com> Thanks Rusty, but tried that. Exactly the same results except for dot read bang! Chris rusty.hammond at cpiqpc.com wrote: Chris, Try =Sum([qryIG_Wed]![DBAdminEventTime]) HTH Rusty -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Text Box Control Source Problem I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From shamil at users.mns.ru Tue Nov 28 10:18:20 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Nov 2006 19:18:20 +0300 Subject: [AccessD] XML Import Sample File In-Reply-To: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> Message-ID: <001201c71308$d252b410$6401a8c0@nant> Hello Greg, It works well here with MSXML v.6.0 - data are imported: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader60 '30 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader60 '30 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function I have no clear idea why it doesn't work there on you PC. Try to put breakpoints and debug/trace it... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 6:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XML Import Sample File Shamil: That is where the issue was. I changed the SAXXMLReader40 to SAXXMLReader60 in both places and now it runs without error. HOWEVER, it does not do anything. The table remains empty...nothing is imported. Samples 1 & 2 both import from the text files, but neither 3 nor 4 import anything. The table, if it has any contents, the contents are deleted and the table stays empty. Maybe SAXXMLReader60 will not work? Thanks! Greg ============================= Greg, I did try sample code with MSXML 6.0 and it worked OK. Try to debug/trace this function: My guess the problem is in this function: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader40 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader40 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 12:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Access-D] XML Import Sample File Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Nov 28 10:26:21 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 28 Nov 2006 16:26:21 +0000 Subject: [AccessD] Text Box Control Source Problem Message-ID: <20061128162626.3983B2C7629@smtp.nildram.co.uk> I may be missing the point here Chris, in which case I apologise, but wouldn't =DSum("DBAdminEventTime","qryIG_Wed") do it? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] Text Box Control Source Problem Date: 28/11/06 15:42 I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- 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 rusty.hammond at cpiqpc.com Tue Nov 28 10:37:25 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 10:37:25 -0600 Subject: [AccessD] Text Box Control Source Problem Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B71E@cpixchng-1.cpiqpc.net> How about just referencing the field name: =Sum([DBAdminEventTime]) -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 10:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Control Source Problem Thanks Rusty, but tried that. Exactly the same results except for dot read bang! Chris rusty.hammond at cpiqpc.com wrote: Chris, Try =Sum([qryIG_Wed]![DBAdminEventTime]) HTH Rusty -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Text Box Control Source Problem I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From cclenright at yahoo.com Tue Nov 28 10:45:21 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 08:45:21 -0800 (PST) Subject: [AccessD] Text Box Control Source Problem In-Reply-To: <20061128162626.3983B2C7629@smtp.nildram.co.uk> Message-ID: <20061128164521.50889.qmail@web34311.mail.mud.yahoo.com> Andy, You didn't and it did! :-) Many thanks. Go home in twenty minutes and would have worried about it all night. Out of curiosity, why doesn't the other work? Many thanks, Can go to the pub now Chris Andy Lacey wrote: I may be missing the point here Chris, in which case I apologise, but wouldn't =DSum("DBAdminEventTime","qryIG_Wed") do it? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] Text Box Control Source Problem Date: 28/11/06 15:42 I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- 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 --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. From bchacc at san.rr.com Tue Nov 28 10:54:01 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 08:54:01 -0800 Subject: [AccessD] saving values In-Reply-To: <001e01c71278$89ab5130$4001a8c0@qmotionfaa3ad9> Message-ID: <007101c7130d$cebf61e0$6401a8c0@HAL9005> Pedro: Haven't forgotten about you but I'm a little backed up this morning. Stand by... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 3:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, In this testdatabase is just want to make the cascadecombox selection trying to work, for a major Fossil Database. The Main Table in the test is tblFossieldata (fossildata). The form frmFossielData is bound to that table. In this table you see the fields Era, Periode, Epoch, Etage and Tijd. These are Geological Timetable fields. These fields are just textfields The table tblTijdschaal (timescale) I filled with the vlues that i want to use in the tblFossielData, in the fields that i mentioned before. Normally i would do this with a combobox for each, but the list of timescale is very large, so i would simplify that by using a cascadecombo, that is present in frmTijdschaal. When opening a record in frmFossielData, and field Era gets the focus (in the real database there wil be a button click event), the unbound subform gets the focus. By using the cascade, Each field is filtered by the value of the combobox before. When selected the values in the five cascade comboboxes, i want to close the frmTijdschaal en the values of Era.frmTijdschaal must be placed in the field Era of frmFossielData, etc for the other four fields. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 11:31 PM Subject: Re: [AccessD] saving values > Pedro: > > You are using my variable name lngKeyValue for the criterion in the WHERE > clause to limit the recordset to the one record you are looking for. You > should use the value of the field from the combo box, instead. > > And I'm not clear on what you're trying to store or what the relationship > is > between the two tables. So I can't be more precise. > > Tell me again the user process and what you're trying to accomplish. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 11:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > the message that is get back is "Holy Moly! There's No Records In > Here!!! - > > 0 > > That is strange, because in record two the FossielID (Primary Key of the > table) value is 2 (auto Number field). > > Ik could sent you the small test.mdb, > maybe you have seen the problem then in a minute? > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 4:39 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just a guess but perhaps using the WHERE clause returns no records >> because >> the value for the PK you're using is invalid. >> >> After the set rs = statement put >> >> If rs.bof=true and rs.eof=true then >> Msgbox "Holy Moly! There's No Records In Here!!! - " & >> lngKeyValue >> Exit sub >> End if >> >> To see if that's the case and what the value is of the key you're >> apssing. >> >> Post the set rs = statement and let's have a look at it. >> >> Regards, >> >> Rocky >> >> >> If it is then >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 6:55 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> i included the Where statement, but get an eror when closing the subform >> with the code: >> Runtime error 3201, no current record. >> When clicking debug button, rs!edit is highlited yellow. >> >> I used help, but still do not understand it. >> >> Pedro Janssen >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 2:59 AM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> You need to add the WHERE clause to your set statement: >>> >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>> >>> Do you know what the primary key value is of the record you want to >>> update >>> with the values from the unbound text boxes? >>> >>> Rocky >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Sunday, November 26, 2006 2:31 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello, >>> >>> how would i point to the first record in the Where clausule with the ID? >>> I am placing values from a unbound form, with no ID in a bound form with >>> an >>> ID (= FossielID). >>> >>> >>> Please give me an idea to do this in the code below? >>> >>> Pedro Janssen >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 25, 2006 10:30 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> It looks like you are opening the table with all of the records. So >>>> the >>>> record pointer of the recor4dset is always pointing to the first >>>> record. >>>> You need to either 1) use a WHERE clause in the Set rs = >>>> db.OpenRecordset >>>> so >>>> you get only the record you want, or 2) after opening the recordset use >>>> rs.FindFirst and specify the primary key of the record you want to >>>> update. >>>> Then the recordset will be positioned at the record you want to update. >>>> Be >>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>> record. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Saturday, November 25, 2006 12:37 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky (and Others), >>>> >>>> the code is working fine, but only for the first record on the form. >>>> When i try to use it on the second record (after closing) it jumps to >>>> record >>>> >>>> one and overwrite's the data there. >>>> Trying to put the where statement in it to state that ID = ID, it gives >>>> an >>>> error on record two that it expects parameter = 1. >>>> >>>> The code that i use now: >>>> >>>> Private Sub Form_Close() >>>> >>>> Dim db As DAO.Database >>>> Dim rs As DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData") >>>> >>>> rs.Edit >>>> rs!Era = cboEra >>>> rs!Periode = cboPeriode >>>> rs!Epoch = cboEpoch >>>> rs!Etage = cboEtage >>>> rs!Tijd = cboTijd >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> Set rs = Nothing >>>> Set db = Nothing >>>> >>>> Me.Requery >>>> >>>> End Sub >>>> >>>> What can i do about this? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 9:09 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> Just off the top and untested: >>>>> >>>>> Dim db as DAO.Database >>>>> Dim rs as DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>> tblMyTable >>>>> WHERE fldPK = " & lngPrimaryKey) >>>>> >>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>> doesn't >>>>> have to be the primary key. >>>>> >>>>> rs.Edit >>>>> rs!fldOne = cboComboBox1 >>>>> rs!fldTwo = cboComboBox2 >>>>> rs!fldThree = cboComboBox3 >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> set rs = Nothing >>>>> set db = Nothing >>>>> >>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>> >>>>> >>>>> Or here's another approach which I think should work but I haven't >>>>> tested: >>>>> >>>>> Set db = CurrentDb >>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>> cboComboBox1 >>>>> & >>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>> '" >>>>> & >>>>> cboComboBox3 & "';" >>>>> >>>>> Note that I have assumes that the values are string values and so need >>>>> to >>>>> have preceding and following apostrophes. If the values are numeric >>>>> then >>>>> they won't need the '. >>>>> >>>>> I'm sure someone else looking at this code will make the appropriate >>>>> corrections. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky, >>>>> >>>>> could you give me an example of that, preferably in a example >>>>> database. >>>>> I have tried several things until now but nothing is working perfect. >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>> requery >>>>>> the >>>>>> form. >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: 23 November 2006 13:32 >>>>>> To: AccessD >>>>>> Subject: [AccessD] saving values >>>>>> >>>>>> Hello Group, >>>>>> >>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>> in >>>>>> table >>>>>> fields. >>>>>> >>>>>> What is the best way to do this. >>>>>> >>>>>> Pedro Janssen >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>> 11/24/2006 >>>> 5:20 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>> 11/25/2006 >>> 10:55 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From JRojas at tnco-inc.com Tue Nov 28 11:07:31 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 28 Nov 2006 12:07:31 -0500 Subject: [AccessD] Problem linking to an ODBC table Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDF76@ex2k3.corp.tnco-inc.com> Thanks John, I contacted software support and the solution was to use a pass-through query. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, November 28, 2006 9:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Problem linking to an ODBC table If I had to guess, I would say that one field in the table you are linking to is able to contain more data than Access can handle. Perhaps Access is mapping a field as text when it actually contains more data than a text field can handle (255 characters). Or perhaps there is a field that Access simply does not understand how to map, contains a data type that Access simply cannot handle. I would look at the table itself, inside of OpenEdge and see what kinds of data the table contains. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, November 28, 2006 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Problem linking to an ODBC table Hello, I am using Access 2003 to connect to a Progress OpenEdge 10 database via ODBC. Everything is setup correctly but I am having a problem connecting to one particular table. Each time I try to connect to it, I get an error message that says "The size of a field is too long." Any ideas for a possible work around? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Tue Nov 28 11:24:13 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 09:24:13 -0800 (PST) Subject: [AccessD] Text Box Source - Chapter 2 Message-ID: <20061128172413.81140.qmail@web34301.mail.mud.yahoo.com> Thanks Andy for solving the previous problem and Rusty for trying. This I am certain is equaly easy but I am getting something wrong. There are 42 Text Boxes on the Form and 20 employees and they want a separate form for each employee. I do not want to go through every form changing, for example, IG to SW and whilst I have read threads in the past about software that will do this sort of thing, I do not have it. So I thought that if the form was populating the Text Boxes by code On Open I could do a Search and Replace in the module. However, I seem unable to get it right. I tried for example Me.Mon_DBAdminEventTime = Me.[qryIG_Mon]![DBAdminEventTime] and I get DbName can't find the field "?" referred to in your expression except that ? is a continuous line. How do I put qryIG_Mon.DBAdminEventTime into the Source Code? Chris ps Leaving now so won't read replies until tomorrow --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business. From bchacc at san.rr.com Tue Nov 28 12:15:13 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 10:15:13 -0800 Subject: [AccessD] ADO Problem Message-ID: <008501c71319$265e68a0$6401a8c0@HAL9005> Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today?s date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From garykjos at gmail.com Tue Nov 28 12:33:40 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 28 Nov 2006 12:33:40 -0600 Subject: [AccessD] ADO Problem In-Reply-To: <008501c71319$265e68a0$6401a8c0@HAL9005> References: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: Don't know DAO at all but don't you usually have # signs around dates in SQL statements to mean Date Format enclosed. GK On 11/28/06, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today's date. > > I had him check the contents of dtToday and it does indeed have 11/28/2006 > in it. > > Does anyone see what he's doing wrong here? > > > MTIA > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Donald.A.McGillivray at sprint.com Tue Nov 28 12:38:30 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 28 Nov 2006 12:38:30 -0600 Subject: [AccessD] ADO Problem In-Reply-To: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Nov 28 12:48:03 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 10:48:03 -0800 Subject: [AccessD] ADO Problem In-Reply-To: Message-ID: <00a701c7131d$bcbd2440$6401a8c0@HAL9005> I'll have him give it a try. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 28, 2006 10:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Don't know DAO at all but don't you usually have # signs around dates in SQL statements to mean Date Format enclosed. GK On 11/28/06, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today's date. > > I had him check the contents of dtToday and it does indeed have 11/28/2006 > in it. > > Does anyone see what he's doing wrong here? > > > MTIA > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bchacc at san.rr.com Tue Nov 28 13:36:03 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 11:36:03 -0800 Subject: [AccessD] ADO Problem In-Reply-To: Message-ID: <00b901c71324$71176ee0$6401a8c0@HAL9005> Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From gwsmith at iowatelecom.net Tue Nov 28 13:40:19 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 28 Nov 2006 13:40:19 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <001201c71308$d252b410$6401a8c0@nant> References: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> <001201c71308$d252b410$6401a8c0@nant> Message-ID: <27904.65.118.249.214.1164742819.squirrel@webmail.iowatelecom.net> Hi Shamil! Well, it was a DUH on me...I'd forgotten that I'd changed the text files somewhat and it was looking for information that wasn't in there ... once I fixed that, it worked! Thanks! Now I have another question (endless, aren't they?). All of these samples work fine with the XML text files that are "two" levels deep, such as, for the Shippers.xml2.txt file (I truncated the phone number because they were wrapping around): -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- 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 28 13:55:01 2006 From: James at fcidms.com (James Barash) Date: Tue, 28 Nov 2006 14:55:01 -0500 Subject: [AccessD] ADO Problem In-Reply-To: <00b901c71324$71176ee0$6401a8c0@HAL9005> Message-ID: <001201c71327$175be860$800101df@fci.local> Rocky: You probably want something like: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) Values (#" & dtToday & "#)" This will work with an ADODB connection to Access. If you are linking to SQL Server, you should replace the # with ' (Single Quote). Hope this helps. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 2:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Tue Nov 28 14:01:55 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 28 Nov 2006 14:01:55 -0600 Subject: [AccessD] ADO Problem In-Reply-To: <00b901c71324$71176ee0$6401a8c0@HAL9005> Message-ID: Let's assume that the original error was the result of 11/28/2006 being interpreted as "11 divided by 28 divided by 2006". That's near enough to zero to cause the date result of 1/1/1900. The new error suggests that since "#11" is not a number it is being seen as as a column name which is to be divided by 28 and then by 2006. #11 does not exist as a column name, hence the error. Is dtToday dimmed as a date datatype? If not, that might be the problem. HTH Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Nov 28 14:19:59 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 28 Nov 2006 14:19:59 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <001201c71308$d252b410$6401a8c0@nant> References: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> <001201c71308$d252b410$6401a8c0@nant> Message-ID: <31585.65.118.249.214.1164745199.squirrel@webmail.iowatelecom.net> Shamil: Hold the bus...on my last email (which hasn't appeared at this time). Maybe I should TEST more thoroughly before opening my mouth (fingers?). I've done some more testing against the original text file you sent with the samples and it apparently WILL pull the data from whatever level I make it go to in the XML text file. I must've had something wrong in my original test code or file (can't imagine THAT ever happening.... ). I'll run a boatload of other tests on it to see if it will work with the file I expect them to send. Greg ====================== Hello Greg, It works well here with MSXML v.6.0 - data are imported: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader60 '30 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader60 '30 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function I have no clear idea why it doesn't work there on you PC. Try to put breakpoints and debug/trace it... -- Shamil -----Original Message----- From: accessd-bounces@ From accessd at shaw.ca Tue Nov 28 14:24:24 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Nov 2006 12:24:24 -0800 Subject: [AccessD] OT Great reference site In-Reply-To: Message-ID: <0J9G00AMEJA01ZR0@l-daemon> Hi All: Just discovered this site and it has already been able to resolve a system issues. It is a great site of utilities and diagnostic tools. http://www.microsoft.com/technet/sysinternals/default.mspx HTH Jim From martyconnelly at shaw.ca Tue Nov 28 14:31:49 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 28 Nov 2006 12:31:49 -0800 Subject: [AccessD] XML Import Sample File In-Reply-To: <27904.65.118.249.214.1164742819.squirrel@webmail.iowatelecom.net> References: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> <001201c71308$d252b410$6401a8c0@nant> <27904.65.118.249.214.1164742819.squirrel@webmail.iowatelecom.net> Message-ID: <456C9CB5.30107@shaw.ca> Try using XPATH where syntax would be "//SUBMITTING_PARTY/REQUEST/KEY/@*" to move attributes into a collection that can be read. or failing that just parse xmldoc.xml for the attributes in partial xml string. Sub xpathtest() Dim strxml As String Dim xmldoc As MSXML2.DOMDocument40 Dim nodes As MSXML2.IXMLDOMNodeList Dim node As MSXML2.IXMLDOMNode Dim xmlError As IXMLDOMParseError Dim lngErrCode As Long Set xmldoc = New MSXML2.DOMDocument40 xmldoc.setProperty "SelectionLanguage", "XPath" xmldoc.async = False xmldoc.validateOnParse = False 'xmldoc.resolveExternals = False xmldoc.Load "C:\Access files\xmltests\Pria Path\pria.xml" ' lngErrCode = xmldoc.validate ' Debug.Print lngErrCode If xmldoc.parseError.errorCode <> 0 Then Debug.Print " Reason: " & xmldoc.parseError.reason Set xmlError = xmldoc.parseError reportParseError xmlError End If 'xpath entity name case sensitive 'grab attributes with fee via XPath Set nodes = xmldoc.selectNodes("//SUBMITTING_PARTY/REQUEST/KEY/@*") 'look through nodes collection For Each node In nodes Debug.Print node.Text & " - " & node.nodeName Next node Debug.Print xmldoc.xml Set nodes = Nothing Set xmldoc = Nothing End Sub Function reportParseError(err As IXMLDOMParseError) Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To err.linepos - 1 s = s & " " Next r = "XML Error loading " & err.url & " * " & err.reason Debug.Print r 'show character postion of error; tired of counting If (err.Line > 0) Then r = "at line " & err.Line & ", character " & err.linepos & vbCrLf & _ err.srcText & vbCrLf & s & "^" End If Debug.Print r End Function Greg Smith wrote: >Hi Shamil! > >Well, it was a DUH on me...I'd forgotten that I'd changed the text files >somewhat and it was looking for information that wasn't in there ... once >I fixed that, it worked! Thanks! > >Now I have another question (endless, aren't they?). All of these samples >work fine with the XML text files that are "two" levels deep, such as, for >the Shippers.xml2.txt file (I truncated the phone number because they were >wrapping around): > > > > > > > > > > > > > > Message-ID: <011b01c7132f$f8385320$6401a8c0@HAL9005> Seems to confirm that single quotes are needed to delimit the dates. Thanks Martin. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 28, 2006 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky have a look at this http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=741812&SiteID=1 Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Tue 28/11/2006 19:36 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From rusty.hammond at cpiqpc.com Tue Nov 28 15:22:00 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 15:22:00 -0600 Subject: [AccessD] Linked Table to SQL Database Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B720@cpixchng-1.cpiqpc.net> Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From Kwilliamson at RTKL.com Tue Nov 28 15:34:10 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 28 Nov 2006 16:34:10 -0500 Subject: [AccessD] Linked Table to SQL Database In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B720@cpixchng-1.cpiqpc.net> Message-ID: Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 28 15:37:21 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Nov 2006 13:37:21 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <011b01c7132f$f8385320$6401a8c0@HAL9005> Message-ID: ADO generally uses SQL Server syntax (i.e., no ; at the end and single quotes around dates) rather than the Access SQL that DAO handles. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 12:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Seems to confirm that single quotes are needed to delimit the dates. Thanks Martin. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 28, 2006 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky have a look at this http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=741812&SiteID=1 Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Tue 28/11/2006 19:36 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- 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 28 15:43:20 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 29 Nov 2006 07:43:20 +1000 Subject: [AccessD] ADO Problem In-Reply-To: <008501c71319$265e68a0$6401a8c0@HAL9005> References: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: <456CAD78.3567.1CF8BFAE@stuart.lexacorp.com.pg> On 28 Nov 2006 at 10:15, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > ???????????????? "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today?s date. You are building a string which looks like: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT 11/28/2006 What you want is: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT '11/28/2006' so you need to use ... "SELECT '" & dtToday & "'" (note the two single quotes) -- Stuart From martyconnelly at shaw.ca Tue Nov 28 15:49:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 28 Nov 2006 13:49:58 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <011001c7132f$449d5220$6401a8c0@HAL9005> References: <011001c7132f$449d5220$6401a8c0@HAL9005> Message-ID: <456CAF06.7070001@shaw.ca> Try this to see what is happening. Debug.Print "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & "SELECT #" & dtToday & "#;" Beach Access Software wrote: >I'll ask. Thanks. > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don >[IT] >Sent: Tuesday, November 28, 2006 12:02 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] ADO Problem > >Let's assume that the original error was the result of 11/28/2006 being >interpreted as "11 divided by 28 divided by 2006". That's near enough to >zero to cause the date result of 1/1/1900. The new error suggests that >since "#11" is not a number it is being seen as as a column name which is to >be divided by 28 and then by 2006. #11 does not exist as a column name, >hence the error. Is dtToday dimmed as a date datatype? If not, that might >be the problem. > >HTH > >Don > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 28, 2006 11:36 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] ADO Problem > >Using: > >"SELECT #" & dtToday & "#" > >He gets an error message: > >Invalid column name '#11' > >dtToaday does contain 11/28/2006 > >What else could it be? > >MTIA > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don >[IT] >Sent: Tuesday, November 28, 2006 10:39 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] ADO Problem > >Hi, Rocky. > >Just a WAG (I don't know ADO), but how 'bout: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT #" & dtToday & "#;" > >Don > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 28, 2006 10:15 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] ADO Problem > >Dear List: > >A colleague (who thinks I know ADO) writes in to ask why the following: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT " & dtToday & "" > >Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the >date is 1/1/1900 instead of today's date. > >I had him check the contents of dtToday and it does indeed have 11/28/2006 >in it. > >Does anyone see what he's doing wrong here? > > >MTIA > >Rocky > > > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Tue Nov 28 16:00:15 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 28 Nov 2006 14:00:15 -0800 (PST) Subject: [AccessD] ADO Problem Message-ID: <20061128220015.76125.qmail@web88207.mail.re2.yahoo.com> It would appear that dtToday has been declared but not initialized with value other than its default. ----- Original Message ---- From: Beach Access Software To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 1:15:13 PM Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today?s date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Nov 28 16:03:38 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 29 Nov 2006 09:03:38 +1100 Subject: [AccessD] Rich text control as html References: <001901c71294$bf6c8b10$6501a8c0@office>, <002201c712b5$7ab98e70$3e3de844@50NM721> <456C6885.23119.164CF691@stuart.lexacorp.com.pg> Message-ID: <001301c71339$0f87a540$6501a8c0@office> Thanks Stuart / William Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 5:49 PM Subject: Re: [AccessD] Rich text control as html On 28 Nov 2006 at 1:21, William Hindman wrote: > Kath > > www.lebans.com ...look for his RTF ocx ...its free and works well in all > versions A97-A2k3 ...plus he's on the msaccess newsgroups regularly and will > answer any problems you might have in your implementation if you post it > there ...I use it in several apps to allow user edit and format of text > portions of reports that go to their customers ...since the rtf is stored in > an mdb table you should be able to export it as html using Access' own > export capabilities. Alternatively, once you have the text as RTF, use RTF2HTML from http://www2.bitstream.net/~bradyh/downloads/rtf2htmlrm.html to convert the RFT string to an HTML string and use standard File IO to write the string to a file. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 28 16:20:35 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 28 Nov 2006 14:20:35 -0800 (PST) Subject: [AccessD] Linked Table to SQL Database Message-ID: <20061128222035.313.qmail@web88211.mail.re2.yahoo.com> You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Tue Nov 28 16:43:47 2006 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 28 Nov 2006 23:43:47 +0100 Subject: [AccessD] saving values References: <007101c7130d$cebf61e0$6401a8c0@HAL9005> Message-ID: <006401c7133e$aaa468b0$4001a8c0@qmotionfaa3ad9> Hello Rocky, no problem, i am glad you wil have a look at the problem. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 5:54 PM Subject: Re: [AccessD] saving values > Pedro: > > Haven't forgotten about you but I'm a little backed up this morning. > Stand > by... > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 3:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > In this testdatabase is just want to make the cascadecombox selection > trying > > to work, for a major Fossil Database. > The Main Table in the test is tblFossieldata (fossildata). The form > frmFossielData is bound to that table. > In this table you see the fields Era, Periode, Epoch, Etage and Tijd. > These > are Geological Timetable fields. These fields are just textfields > > The table tblTijdschaal (timescale) I filled with the vlues that i want to > use in the tblFossielData, in the fields that i mentioned before. > Normally i would do this with a combobox for each, but the list of > timescale > > is very large, so i would simplify that by using a cascadecombo, that is > present in frmTijdschaal. > > When opening a record in frmFossielData, and field Era gets the focus (in > the real database there wil be a button click event), the unbound subform > gets the focus. > By using the cascade, Each field is filtered by the value of the combobox > before. > When selected the values in the five cascade comboboxes, i want to close > the > > frmTijdschaal en the values of Era.frmTijdschaal must be placed in the > field > > Era of frmFossielData, etc for the other four fields. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 11:31 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You are using my variable name lngKeyValue for the criterion in the WHERE >> clause to limit the recordset to the one record you are looking for. You >> should use the value of the field from the combo box, instead. >> >> And I'm not clear on what you're trying to store or what the relationship >> is >> between the two tables. So I can't be more precise. >> >> Tell me again the user process and what you're trying to accomplish. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 11:51 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> the message that is get back is "Holy Moly! There's No Records In >> Here!!! - >> >> 0 >> >> That is strange, because in record two the FossielID (Primary Key of the >> table) value is 2 (auto Number field). >> >> Ik could sent you the small test.mdb, >> maybe you have seen the problem then in a minute? >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 4:39 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just a guess but perhaps using the WHERE clause returns no records >>> because >>> the value for the PK you're using is invalid. >>> >>> After the set rs = statement put >>> >>> If rs.bof=true and rs.eof=true then >>> Msgbox "Holy Moly! There's No Records In Here!!! - " & >>> lngKeyValue >>> Exit sub >>> End if >>> >>> To see if that's the case and what the value is of the key you're >>> apssing. >>> >>> Post the set rs = statement and let's have a look at it. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> If it is then >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Monday, November 27, 2006 6:55 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> i included the Where statement, but get an eror when closing the subform >>> with the code: >>> Runtime error 3201, no current record. >>> When clicking debug button, rs!edit is highlited yellow. >>> >>> I used help, but still do not understand it. >>> >>> Pedro Janssen >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Monday, November 27, 2006 2:59 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> You need to add the WHERE clause to your set statement: >>>> >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>>> >>>> Do you know what the primary key value is of the record you want to >>>> update >>>> with the values from the unbound text boxes? >>>> >>>> Rocky >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Sunday, November 26, 2006 2:31 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello, >>>> >>>> how would i point to the first record in the Where clausule with the >>>> ID? >>>> I am placing values from a unbound form, with no ID in a bound form >>>> with >>>> an >>>> ID (= FossielID). >>>> >>>> >>>> Please give me an idea to do this in the code below? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Saturday, November 25, 2006 10:30 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> It looks like you are opening the table with all of the records. So >>>>> the >>>>> record pointer of the recor4dset is always pointing to the first >>>>> record. >>>>> You need to either 1) use a WHERE clause in the Set rs = >>>>> db.OpenRecordset >>>>> so >>>>> you get only the record you want, or 2) after opening the recordset >>>>> use >>>>> rs.FindFirst and specify the primary key of the record you want to >>>>> update. >>>>> Then the recordset will be positioned at the record you want to >>>>> update. >>>>> Be >>>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>>> record. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Saturday, November 25, 2006 12:37 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky (and Others), >>>>> >>>>> the code is working fine, but only for the first record on the form. >>>>> When i try to use it on the second record (after closing) it jumps to >>>>> record >>>>> >>>>> one and overwrite's the data there. >>>>> Trying to put the where statement in it to state that ID = ID, it >>>>> gives >>>>> an >>>>> error on record two that it expects parameter = 1. >>>>> >>>>> The code that i use now: >>>>> >>>>> Private Sub Form_Close() >>>>> >>>>> Dim db As DAO.Database >>>>> Dim rs As DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd >>>>> FROM >>>>> tblFossielData") >>>>> >>>>> rs.Edit >>>>> rs!Era = cboEra >>>>> rs!Periode = cboPeriode >>>>> rs!Epoch = cboEpoch >>>>> rs!Etage = cboEtage >>>>> rs!Tijd = cboTijd >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> Set rs = Nothing >>>>> Set db = Nothing >>>>> >>>>> Me.Requery >>>>> >>>>> End Sub >>>>> >>>>> What can i do about this? >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 9:09 PM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> Pedro: >>>>>> >>>>>> Just off the top and untested: >>>>>> >>>>>> Dim db as DAO.Database >>>>>> Dim rs as DAO.Recordset >>>>>> >>>>>> Set db = CurrentDb >>>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>>> tblMyTable >>>>>> WHERE fldPK = " & lngPrimaryKey) >>>>>> >>>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>>> doesn't >>>>>> have to be the primary key. >>>>>> >>>>>> rs.Edit >>>>>> rs!fldOne = cboComboBox1 >>>>>> rs!fldTwo = cboComboBox2 >>>>>> rs!fldThree = cboComboBox3 >>>>>> rs.Update >>>>>> >>>>>> rs.Close >>>>>> db.Close >>>>>> >>>>>> set rs = Nothing >>>>>> set db = Nothing >>>>>> >>>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>>> >>>>>> >>>>>> Or here's another approach which I think should work but I haven't >>>>>> tested: >>>>>> >>>>>> Set db = CurrentDb >>>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>>> cboComboBox1 >>>>>> & >>>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>>> '" >>>>>> & >>>>>> cboComboBox3 & "';" >>>>>> >>>>>> Note that I have assumes that the values are string values and so >>>>>> need >>>>>> to >>>>>> have preceding and following apostrophes. If the values are numeric >>>>>> then >>>>>> they won't need the '. >>>>>> >>>>>> I'm sure someone else looking at this code will make the appropriate >>>>>> corrections. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>>> To: Access Developers discussion and problem solving >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> Hello Rocky, >>>>>> >>>>>> could you give me an example of that, preferably in a example >>>>>> database. >>>>>> I have tried several things until now but nothing is working perfect. >>>>>> >>>>>> Pedro Janssen >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Beach Access Software" >>>>>> To: "'Access Developers discussion and problem solving'" >>>>>> >>>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> >>>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>>> requery >>>>>>> the >>>>>>> form. >>>>>>> >>>>>>> Rocky >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: accessd-bounces at databaseadvisors.com >>>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>>> Janssen >>>>>>> Sent: 23 November 2006 13:32 >>>>>>> To: AccessD >>>>>>> Subject: [AccessD] saving values >>>>>>> >>>>>>> Hello Group, >>>>>>> >>>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>>> in >>>>>>> table >>>>>>> fields. >>>>>>> >>>>>>> What is the best way to do this. >>>>>>> >>>>>>> Pedro Janssen >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>>> -- >>>>>>> No virus found in this incoming message. >>>>>>> Checked by AVG Free Edition. >>>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>>> 22/11/2006 >>>>>>> 17:41 >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>>> 11/24/2006 >>>>> 5:20 PM >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>>> 11/25/2006 >>>> 10:55 AM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >>> 11/26/2006 >>> 11:30 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Tue Nov 28 16:43:40 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 16:43:40 -0600 Subject: [AccessD] Linked Table to SQL Database Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B722@cpixchng-1.cpiqpc.net> Arthur, Interesting approach. I've done some brief reading BOL and I can see where this could speed up a few applications I have here. Thanks! Rusty -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Tuesday, November 28, 2006 4:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table to SQL Database You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From pedro at plex.nl Tue Nov 28 17:10:09 2006 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 29 Nov 2006 00:10:09 +0100 Subject: [AccessD] saving values References: <007101c7130d$cebf61e0$6401a8c0@HAL9005> Message-ID: <000c01c71342$59e52ff0$4001a8c0@qmotionfaa3ad9> Hello Rocky, i have thought about the problem to. On the unbound form i have put a textbos with the controlsource is refered to the ID-field in the Bound form, so ik kan put both in the Where statement, but then the field is requeried after losing the focus (values are filled in), it jumps to record one. I will send you the zipped testdatabase again. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 5:54 PM Subject: Re: [AccessD] saving values > Pedro: > > Haven't forgotten about you but I'm a little backed up this morning. > Stand > by... > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 3:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > In this testdatabase is just want to make the cascadecombox selection > trying > > to work, for a major Fossil Database. > The Main Table in the test is tblFossieldata (fossildata). The form > frmFossielData is bound to that table. > In this table you see the fields Era, Periode, Epoch, Etage and Tijd. > These > are Geological Timetable fields. These fields are just textfields > > The table tblTijdschaal (timescale) I filled with the vlues that i want to > use in the tblFossielData, in the fields that i mentioned before. > Normally i would do this with a combobox for each, but the list of > timescale > > is very large, so i would simplify that by using a cascadecombo, that is > present in frmTijdschaal. > > When opening a record in frmFossielData, and field Era gets the focus (in > the real database there wil be a button click event), the unbound subform > gets the focus. > By using the cascade, Each field is filtered by the value of the combobox > before. > When selected the values in the five cascade comboboxes, i want to close > the > > frmTijdschaal en the values of Era.frmTijdschaal must be placed in the > field > > Era of frmFossielData, etc for the other four fields. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 11:31 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You are using my variable name lngKeyValue for the criterion in the WHERE >> clause to limit the recordset to the one record you are looking for. You >> should use the value of the field from the combo box, instead. >> >> And I'm not clear on what you're trying to store or what the relationship >> is >> between the two tables. So I can't be more precise. >> >> Tell me again the user process and what you're trying to accomplish. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 11:51 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> the message that is get back is "Holy Moly! There's No Records In >> Here!!! - >> >> 0 >> >> That is strange, because in record two the FossielID (Primary Key of the >> table) value is 2 (auto Number field). >> >> Ik could sent you the small test.mdb, >> maybe you have seen the problem then in a minute? >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 4:39 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just a guess but perhaps using the WHERE clause returns no records >>> because >>> the value for the PK you're using is invalid. >>> >>> After the set rs = statement put >>> >>> If rs.bof=true and rs.eof=true then >>> Msgbox "Holy Moly! There's No Records In Here!!! - " & >>> lngKeyValue >>> Exit sub >>> End if >>> >>> To see if that's the case and what the value is of the key you're >>> apssing. >>> >>> Post the set rs = statement and let's have a look at it. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> If it is then >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Monday, November 27, 2006 6:55 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> i included the Where statement, but get an eror when closing the subform >>> with the code: >>> Runtime error 3201, no current record. >>> When clicking debug button, rs!edit is highlited yellow. >>> >>> I used help, but still do not understand it. >>> >>> Pedro Janssen >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Monday, November 27, 2006 2:59 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> You need to add the WHERE clause to your set statement: >>>> >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>>> >>>> Do you know what the primary key value is of the record you want to >>>> update >>>> with the values from the unbound text boxes? >>>> >>>> Rocky >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Sunday, November 26, 2006 2:31 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello, >>>> >>>> how would i point to the first record in the Where clausule with the >>>> ID? >>>> I am placing values from a unbound form, with no ID in a bound form >>>> with >>>> an >>>> ID (= FossielID). >>>> >>>> >>>> Please give me an idea to do this in the code below? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Saturday, November 25, 2006 10:30 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> It looks like you are opening the table with all of the records. So >>>>> the >>>>> record pointer of the recor4dset is always pointing to the first >>>>> record. >>>>> You need to either 1) use a WHERE clause in the Set rs = >>>>> db.OpenRecordset >>>>> so >>>>> you get only the record you want, or 2) after opening the recordset >>>>> use >>>>> rs.FindFirst and specify the primary key of the record you want to >>>>> update. >>>>> Then the recordset will be positioned at the record you want to >>>>> update. >>>>> Be >>>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>>> record. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Saturday, November 25, 2006 12:37 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky (and Others), >>>>> >>>>> the code is working fine, but only for the first record on the form. >>>>> When i try to use it on the second record (after closing) it jumps to >>>>> record >>>>> >>>>> one and overwrite's the data there. >>>>> Trying to put the where statement in it to state that ID = ID, it >>>>> gives >>>>> an >>>>> error on record two that it expects parameter = 1. >>>>> >>>>> The code that i use now: >>>>> >>>>> Private Sub Form_Close() >>>>> >>>>> Dim db As DAO.Database >>>>> Dim rs As DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd >>>>> FROM >>>>> tblFossielData") >>>>> >>>>> rs.Edit >>>>> rs!Era = cboEra >>>>> rs!Periode = cboPeriode >>>>> rs!Epoch = cboEpoch >>>>> rs!Etage = cboEtage >>>>> rs!Tijd = cboTijd >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> Set rs = Nothing >>>>> Set db = Nothing >>>>> >>>>> Me.Requery >>>>> >>>>> End Sub >>>>> >>>>> What can i do about this? >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 9:09 PM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> Pedro: >>>>>> >>>>>> Just off the top and untested: >>>>>> >>>>>> Dim db as DAO.Database >>>>>> Dim rs as DAO.Recordset >>>>>> >>>>>> Set db = CurrentDb >>>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>>> tblMyTable >>>>>> WHERE fldPK = " & lngPrimaryKey) >>>>>> >>>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>>> doesn't >>>>>> have to be the primary key. >>>>>> >>>>>> rs.Edit >>>>>> rs!fldOne = cboComboBox1 >>>>>> rs!fldTwo = cboComboBox2 >>>>>> rs!fldThree = cboComboBox3 >>>>>> rs.Update >>>>>> >>>>>> rs.Close >>>>>> db.Close >>>>>> >>>>>> set rs = Nothing >>>>>> set db = Nothing >>>>>> >>>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>>> >>>>>> >>>>>> Or here's another approach which I think should work but I haven't >>>>>> tested: >>>>>> >>>>>> Set db = CurrentDb >>>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>>> cboComboBox1 >>>>>> & >>>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>>> '" >>>>>> & >>>>>> cboComboBox3 & "';" >>>>>> >>>>>> Note that I have assumes that the values are string values and so >>>>>> need >>>>>> to >>>>>> have preceding and following apostrophes. If the values are numeric >>>>>> then >>>>>> they won't need the '. >>>>>> >>>>>> I'm sure someone else looking at this code will make the appropriate >>>>>> corrections. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>>> To: Access Developers discussion and problem solving >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> Hello Rocky, >>>>>> >>>>>> could you give me an example of that, preferably in a example >>>>>> database. >>>>>> I have tried several things until now but nothing is working perfect. >>>>>> >>>>>> Pedro Janssen >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Beach Access Software" >>>>>> To: "'Access Developers discussion and problem solving'" >>>>>> >>>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> >>>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>>> requery >>>>>>> the >>>>>>> form. >>>>>>> >>>>>>> Rocky >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: accessd-bounces at databaseadvisors.com >>>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>>> Janssen >>>>>>> Sent: 23 November 2006 13:32 >>>>>>> To: AccessD >>>>>>> Subject: [AccessD] saving values >>>>>>> >>>>>>> Hello Group, >>>>>>> >>>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>>> in >>>>>>> table >>>>>>> fields. >>>>>>> >>>>>>> What is the best way to do this. >>>>>>> >>>>>>> Pedro Janssen >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>>> -- >>>>>>> No virus found in this incoming message. >>>>>>> Checked by AVG Free Edition. >>>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>>> 22/11/2006 >>>>>>> 17:41 >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>>> 11/24/2006 >>>>> 5:20 PM >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>>> 11/25/2006 >>>> 10:55 AM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >>> 11/26/2006 >>> 11:30 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Nov 28 17:53:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 18:53:25 -0500 Subject: [AccessD] Linked Table to SQL Database In-Reply-To: <20061128222035.313.qmail@web88211.mail.re2.yahoo.com> Message-ID: <006c01c71348$65b014c0$657aa8c0@m6805> Whoa, that sounds handy. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 28, 2006 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table to SQL Database You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 28 14:03:40 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Nov 2006 23:03:40 +0300 Subject: [AccessD] ADO Problem In-Reply-To: <00b901c71324$71176ee0$6401a8c0@HAL9005> Message-ID: <000801c71328$4c8458f0$6401a8c0@nant> Hello Rocky, Is that MS Access BE, which is used with ADO? - then this should work: conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & CLng(dtToday) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From bchacc at san.rr.com Tue Nov 28 18:19:44 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 16:19:44 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <456CAD78.3567.1CF8BFAE@stuart.lexacorp.com.pg> Message-ID: <013301c7134c$1290f300$6401a8c0@HAL9005> Single quotes did it!!! Thanks everybody for your assistance. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 28, 2006 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem On 28 Nov 2006 at 10:15, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > ???????????????? "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today?s date. You are building a string which looks like: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT 11/28/2006 What you want is: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT '11/28/2006' so you need to use ... "SELECT '" & dtToday & "'" (note the two single quotes) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bheygood at abestsystems.com Tue Nov 28 19:20:34 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 28 Nov 2006 17:20:34 -0800 Subject: [AccessD] Clipboard message In-Reply-To: Message-ID: Hello to the list, I am getting a message when closing a form on which I use the standard copy record code. The message states that I have a large amount of data on the clipboard, do I want to keep it or not. I could care less, but my client would like not to see the message. Is there a way to suppress??? What event to set warnings false??? TIA best Bob From wdhindman at dejpolsystems.com Tue Nov 28 19:40:27 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 28 Nov 2006 20:40:27 -0500 Subject: [AccessD] Checking control property in an external mde database References: <003801c712fc$bd55e4d0$6401a8c0@HAL9005> Message-ID: <007201c71357$59c406d0$3e3de844@50NM721> ...lol ...the intent was to suggest that your method of protecting your product could be bypassed. :) William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 9:51 AM Subject: Re: [AccessD] Checking control property in an external mde database >I use the best first party software from A.D. Tejpal, Pty. Who you gonna > call? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Monday, November 27, 2006 10:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Checking control property in an external mde > database > > ...isn't it fairly easy to modify labels on mde forms using 3rd party > software? > > William Hindman > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, November 28, 2006 1:05 AM > Subject: Re: [AccessD] Checking control property in an external mde > database > > >> A.D.: >> >> Thanks for that function. My Chinese distributor wants to be able to >> make >> demo systems over there. I want to let them make demos only from the very >> restricted 35 part version. So if the 35 part limit label is visible in >> the >> mde, I will let the program run which creates an encrypted key with a >> thirty >> day limit. >> >> This will solve the problem. >> >> Thanks and regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL >> Sent: Monday, November 27, 2006 9:50 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Checking control property in an external mde >> database >> >> Rocky, >> >> For accessing control's properties, the form has to be open either in >> design or run time view. In case of mde, design view is ruled out. >> >> Function Fn_IsControlVisibleInExternalDb() as given below, will get >> you >> the visible status of desired control in external db. Though it involves >> opening & closing of target form in external db, the process remains >> invisible to the user. >> >> Note - If the target form is in datasheet view, mere checking of >> visible >> property does not conclusively establish whether the column in question >> is >> displayed or not. For that, ColumnHidden property has to be verified. >> Interestingly, ColumnHidden property is detectable only at run time (not >> in >> design view). >> >> Best wishes, >> A.D.Tejpal >> ---------------- >> >> ===================================== >> Function Fn_IsControlVisibleInExternalDb( _ >> ByVal FilePath As String, _ >> ByVal FormName As String, _ >> ByVal ControlName As String) As Boolean >> ' Returns True if the control is visible. >> ' Otherwise False >> On Error GoTo ErrTrap >> Dim acp As Access.Application >> >> Fn_IsControlVisibleInExternalDb = False ' Default >> >> Set acp = New Access.Application >> acp.OpenCurrentDatabase FilePath >> >> acp.DoCmd.OpenForm FormName >> >> If acp.Forms(FormName)(ControlName).Visible _ >> = True Then >> Fn_IsControlVisibleInExternalDb = True >> End If >> acp.DoCmd.Close acForm, FormName >> >> ExitPoint: >> On Error Resume Next >> acp.Quit >> Set acp = Nothing >> On Error GoTo 0 >> Exit Function >> >> ErrTrap: >> MsgBox "Err " & Err.Number & " - " & Err.Description >> Resume ExitPoint >> End Function >> ===================================== >> >> ----- Original Message ----- >> From: Beach Access Software >> To: 'Access Developers discussion and problem solving' >> Sent: Saturday, November 25, 2006 19:38 >> Subject: [AccessD] Checking control property in an external mde database >> >> >> Dear List: >> >> Is it possible to check the visible property of a control on a form in >> another database which is an mde? Would it be necessary to have that >> database is currently open with that form opened? >> >> MTIA >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: >> 11/27/2006 >> 6:09 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: > 11/27/2006 > 6:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From developer at ultradnt.com Tue Nov 28 20:10:14 2006 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 28 Nov 2006 21:10:14 -0500 Subject: [AccessD] Upgrading from Access 2000 to 2003 In-Reply-To: <001201c7128d$a00b1cc0$6501a8c0@office> Message-ID: <011101c7135b$85178010$0200a8c0@ULTRADNT> Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Nov 28 20:19:06 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 29 Nov 2006 13:19:06 +1100 Subject: [AccessD] Upgrading from Access 2000 to 2003 References: <011101c7135b$85178010$0200a8c0@ULTRADNT> Message-ID: <002d01c7135c$bfa0bd90$6501a8c0@office> Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Nov 28 22:49:41 2006 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 28 Nov 2006 23:49:41 -0500 Subject: [AccessD] Upgrading from Access 2000 to 2003 In-Reply-To: <002d01c7135c$bfa0bd90$6501a8c0@office> Message-ID: <012901c71371$cbb83df0$0200a8c0@ULTRADNT> Kath - I still can't understand why the form can't find the function, but the vba behind the form can ... Next time this hits, I'll try turning off 'invalid control properties'. Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, November 28, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 airtelbroadband.in Tue Nov 28 23:29:04 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 29 Nov 2006 10:59:04 +0530 Subject: [AccessD] ADO Problem References: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: <001801c71377$77172530$1b1665cb@pcadt> Rocky, You might recall the thread "Date Comparison Problem" initiated by you in march-2006. It elicited the overall consensus that in order to avoid any possible pitfalls on account of various regional settings (that might differ from US date format), any date variable to be concatenated into a VBA string should first be preformatted to "mm/dd/yyyy" format. Accordingly, the following syntax should ideally be adopted: "INSERT INTO tWeeklyUpdateSent " & _ "(DateSent) VALUES (#" & _ Format(dtToday, "mm/dd/yyyy") & "#);" Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 28, 2006 23:45 Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From kp at sdsonline.net Tue Nov 28 23:35:39 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 29 Nov 2006 16:35:39 +1100 Subject: [AccessD] Upgrading from Access 2000 to 2003 References: <012901c71371$cbb83df0$0200a8c0@ULTRADNT> Message-ID: <004f01c71378$35021280$6501a8c0@office> Steve - I'm not quite sure what you mean when you say the vba can but the form can't..... You have a control with =getdefault() which throws an error but you can use the same code in the vba window to force the control to be populated and it works? That's interesting because I had a control with syntax something like this =txtjob.column(1). When I opened the form the text box would be empty but if I clicked into it then the contents would display. I had to add code to the form's load event to set the value to get it to work. (even though it worked in A2K). Sounds like a bug - I don't know that adjusting the level of error checking will help that. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 3:49 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath - I still can't understand why the form can't find the function, but the vba behind the form can ... Next time this hits, I'll try turning off 'invalid control properties'. Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, November 28, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 29 00:32:28 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 22:32:28 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <001801c71377$77172530$1b1665cb@pcadt> Message-ID: <016801c71380$24ab82b0$6401a8c0@HAL9005> A.D.: It seems that the apostrophe solved the problem and that the # didn't work. Do you think it will work in conjunction with Format? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 28, 2006 9:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky, You might recall the thread "Date Comparison Problem" initiated by you in march-2006. It elicited the overall consensus that in order to avoid any possible pitfalls on account of various regional settings (that might differ from US date format), any date variable to be concatenated into a VBA string should first be preformatted to "mm/dd/yyyy" format. Accordingly, the following syntax should ideally be adopted: "INSERT INTO tWeeklyUpdateSent " & _ "(DateSent) VALUES (#" & _ Format(dtToday, "mm/dd/yyyy") & "#);" Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 28, 2006 23:45 Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM From Gustav at cactus.dk Wed Nov 29 02:28:34 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 09:28:34 +0100 Subject: [AccessD] ADO Problem Message-ID: Hi James and Rocky Well, this will only work in a US environment. As A.D states, anyone else will have to format the date value as a US formatted date/time expression or - most SQL engines accept that nowadays - an ISO formatted date/time expression with or without slashes: yyyy-mm-dd hh:nn:ss /gustav >>> James at fcidms.com 28-11-2006 20:55:01 >>> Rocky: You probably want something like: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) Values (#" & dtToday & "#)" This will work with an ADODB connection to Access. If you are linking to SQL Server, you should replace the # with ' (Single Quote). Hope this helps. James Barash From cclenright at yahoo.com Wed Nov 29 05:14:08 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 03:14:08 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <20061129111408.35698.qmail@web34304.mail.mud.yahoo.com> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. From developer at ultradnt.com Wed Nov 29 06:00:23 2006 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 29 Nov 2006 07:00:23 -0500 Subject: [AccessD] Upgrading from Access 2000 to 2003 In-Reply-To: <004f01c71378$35021280$6501a8c0@office> Message-ID: <014001c713ad$f63fe140$0200a8c0@ULTRADNT> Kath: Yes, that's exactly it: >>but you can use the same code in the vba window to force the control to be populated and it works?>> I even also had it happen to the buttons on an Access-generated switchboard. After moving it from 2000 to 2002, the "=HandleButtonClick(1)" in the property sheet caused on-click errors. Moved those expressions to code behind the form, and now the buttons work. Report text boxes, too. Anything that can be set to an expression in a property sheet - I lost a lot of time at first with this, but now my first move is to move the expression to code, and it works. (I've seen this on 2002 & 2003 and on machines with Win 2000 & XP, its not just my PC.) Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, November 29, 2006 12:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - I'm not quite sure what you mean when you say the vba can but the form can't..... You have a control with =getdefault() which throws an error but you can use the same code in the vba window to force the control to be populated and it works? That's interesting because I had a control with syntax something like this =txtjob.column(1). When I opened the form the text box would be empty but if I clicked into it then the contents would display. I had to add code to the form's load event to set the value to get it to work. (even though it worked in A2K). Sounds like a bug - I don't know that adjusting the level of error checking will help that. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 3:49 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath - I still can't understand why the form can't find the function, but the vba behind the form can ... Next time this hits, I'll try turning off 'invalid control properties'. Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, November 28, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 airtelbroadband.in Wed Nov 29 06:22:27 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 29 Nov 2006 17:52:27 +0530 Subject: [AccessD] ADO Problem References: <016801c71380$24ab82b0$6401a8c0@HAL9005> Message-ID: <006201c713b1$38378410$e70265cb@pcadt> Rocky, The syntax suggested in my post was duly tested before dispatch. As pointed out by Gustav, the alternative one, involving direct concatenation, that was successfully tried by you, worked because you must have tested it on a system having regional settings conforming to US date format. For consistent results internationally, it would be safest to adhere to the syntax mentioned in my post. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 12:02 Subject: Re: [AccessD] ADO Problem A.D.: It seems that the apostrophe solved the problem and that the # didn't work. Do you think it will work in conjunction with Format? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 28, 2006 9:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky, You might recall the thread "Date Comparison Problem" initiated by you in march-2006. It elicited the overall consensus that in order to avoid any possible pitfalls on account of various regional settings (that might differ from US date format), any date variable to be concatenated into a VBA string should first be preformatted to "mm/dd/yyyy" format. Accordingly, the following syntax should ideally be adopted: "INSERT INTO tWeeklyUpdateSent " & _ "(DateSent) VALUES (#" & _ Format(dtToday, "mm/dd/yyyy") & "#);" Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 28, 2006 23:45 Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From Kwilliamson at RTKL.com Wed Nov 29 08:13:28 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 29 Nov 2006 09:13:28 -0500 Subject: [AccessD] Linked Table to SQL Database In-Reply-To: <20061128222035.313.qmail@web88211.mail.re2.yahoo.com> Message-ID: Unfortunately, I really don't have access to the original table. I only get an ODBC link to it. I might be able to get a limited "view" to a couple of the really hefty tables, as Rusty recommended. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 28, 2006 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table to SQL Database You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Nov 29 08:17:32 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 29 Nov 2006 09:17:32 -0500 Subject: [AccessD] CSV export Message-ID: Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From garykjos at gmail.com Wed Nov 29 09:43:15 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 29 Nov 2006 09:43:15 -0600 Subject: [AccessD] CSV export In-Reply-To: References: Message-ID: According to the Access 97 help you would use the Output To method of the DoCmd Object. Something like DoCmd.OutputTo acOutputReport, "rptKeithsReport", acFormatTXT, "C:\WORK\KeithsReportOutput.CSV", True I'm thinking you will be getting less than satisfactory results though if my experience exporting reports to Excel format from Access is any indication. I think you would do well to clone the query and introduce the logical stuff the report does to come up with any fields that don't exist in the orginal query. With reports exported directly to Excel I always get lots of extraneous columns. Good luck. GK Here's more info on the Output To; ------------------------------------------------------- The OutputTo method carries out the OutputTo action in Visual Basic. For more information on how the action and its arguments work, see the action topic. Syntax DoCmd.OutputTo objecttype[, objectname][, outputformat][, outputfile][, autostart][, templatefile] The OutputTo method has the following arguments. Argument Description objecttype One of the following intrinsic constants: acOutputForm acOutputModule acOutputQuery acOutputReport acOutputTable objectname A string expression that's the valid name of an object of the type selected by the objecttype argument. If you want to output the active object, specify the object's type for the objecttype argument and leave this argument blank. If you run Visual Basic code containing the OutputTo method in a library database, Microsoft Access looks for the object with this name first in the library database, then in the current database. outputformat One of the following intrinsic constants: acFormatActiveXServer acFormatHTML acFormatIIS acFormatRTF acFormatTXT acFormatXLS If you leave this argument blank, Microsoft Access prompts you for the output format. outputfile A string expression that's the full name, including the path, of the file you want to output the object to. If you leave this argument blank, Microsoft Access prompts you for an output file name. autostart Use True (?1) to start the appropriate Microsoft Windows?based application immediately, with the file specified by the outputfile argument loaded. Use False (0) if you don't want to start the application. This argument is ignored for Microsoft Internet Information Server (.htx, .idc) files and Microsoft ActiveX Server (*.asp) files. If you leave this argument blank, the default (False) is assumed. templatefile A string expression that's the full name, including the path, of the file you want to use as a template for an HTML, HTX, or ASP file. Remarks Modules can be output only in MS-DOS Text format, so if you specify acOutputModule for the objecttype argument, you must specify acFormatTXT for the outputformat argument. Microsoft Internet Information Server and Microsoft ActiveX Server formats are available only for tables, queries, and forms, so if you specify acFormatIIS or acFormatActiveXServer for the outputformat argument, you must specify acOutputTable, acOutputQuery, or acOutputForm for the objecttype argument. You can leave an optional argument blank in the middle of the syntax, but you must include the argument's comma. If you leave a trailing argument blank, don't use a comma following the last argument you specify. -- Gary Kjos garykjos at gmail.com From mmmtbig at bellsouth.net Wed Nov 29 09:45:49 2006 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 29 Nov 2006 10:45:49 -0500 Subject: [AccessD] Email Automation to Outlook problem Message-ID: <00ab01c713cd$7aa95690$6701a8c0@tbig1> I have several Access 2003 apps that use automation to send email through Outlook (on Exchange server). Recently at a client site the Outlook-Exchange server quit sending the email. It is rejecting the email address because it has apostrophes around it, e.g., 'johndoe at aol.com' Until last week it sent the email with apostrophes around it without any hesitation. Does anyone have any insight into what could have caused the problem and/or solutions? TIA, Myke From bchacc at san.rr.com Wed Nov 29 09:58:41 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 29 Nov 2006 07:58:41 -0800 Subject: [AccessD] CSV export In-Reply-To: Message-ID: <004901c713cf$3de05ae0$6401a8c0@HAL9005> Keith: I wouldn't export the report. I'd probably create a temp table to store the values and export to an Excel spreadsheet. You could actually export the formulas this way if you wanted to. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, November 29, 2006 6:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] CSV export Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM From Gustav at cactus.dk Wed Nov 29 10:10:54 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 17:10:54 +0100 Subject: [AccessD] Email Automation to Outlook problem Message-ID: Hi Myke The obvious solution is to adjust your code to stop wrapping the address in apostrophes. If, for some reason, that can't be done, change these to brackets like: /gustav >>> mmmtbig at bellsouth.net 29-11-2006 16:45:49 >>> I have several Access 2003 apps that use automation to send email through Outlook (on Exchange server). Recently at a client site the Outlook-Exchange server quit sending the email. It is rejecting the email address because it has apostrophes around it, e.g., 'johndoe at aol.com' Until last week it sent the email with apostrophes around it without any hesitation. Does anyone have any insight into what could have caused the problem and/or solutions? TIA, Myke From Gustav at cactus.dk Wed Nov 29 10:19:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 17:19:32 +0100 Subject: [AccessD] Single and Double Inverted Commas! Message-ID: Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris From ssharkins at setel.com Wed Nov 29 10:40:32 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 29 Nov 2006 11:40:32 -0500 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: <000101c713d5$16e97970$8bbc2ad1@SUSANONE> Gustav, This is something that Outlook seems to do on its own -- at least on my system. An address that's worked for years will suddenly not send. In the header, I can see the apostrophes. I delete the address, re-enter it, and 9 times out of 10, it goes. No clue... In my case, there's no code involved -- this is all Outlook. Susan H. The obvious solution is to adjust your code to stop wrapping the address in apostrophes. If, for some reason, that can't be done, change these to brackets like: From Gustav at cactus.dk Wed Nov 29 11:09:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 18:09:03 +0100 Subject: [AccessD] Email Automation to Outlook problem Message-ID: Hi Susan and Chris Oh, that's another story - I don't use Outlook - so I cannot help. Could it be an automatic Windows Updating issue? /gustav >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> Gustav, This is something that Outlook seems to do on its own -- at least on my system. An address that's worked for years will suddenly not send. In the header, I can see the apostrophes. I delete the address, re-enter it, and 9 times out of 10, it goes. No clue... In my case, there's no code involved -- this is all Outlook. Susan H. The obvious solution is to adjust your code to stop wrapping the address in apostrophes. If, for some reason, that can't be done, change these to brackets like: From markamatte at hotmail.com Wed Nov 29 14:24:22 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 20:24:22 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: I am actually having a related issue right now. I have a db that imports data every 30 minutes...does an analysis...and emails results using outlook. It worked fine for a year...and now outlook crashes almost everytime with "An unknown Error". If I execute the exact same code from a button instead of a timer, it runs fine...I'm lost at this time. I need a way to send an email without using outlook...I guess? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 18:09:03 +0100 > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >Gustav, > > This is something that Outlook seems to do on its own -- at least on >my system. An address that's worked for years will suddenly not send. In >the >header, I can see the apostrophes. I delete the address, re-enter it, and 9 >times out of 10, it goes. No clue... > > In my case, there's no code involved -- this is all Outlook. > >Susan H. > >The obvious solution is to adjust your code to stop wrapping the address in >apostrophes. >If, for some reason, that can't be done, change these to brackets like: > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From wdhindman at dejpolsystems.com Wed Nov 29 15:12:25 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 29 Nov 2006 16:12:25 -0500 Subject: [AccessD] Email Automation to Outlook problem References: Message-ID: <005b01c713fb$121bcf80$3e3de844@50NM721> ...have you tried a restore point before it started failing ...imnsho Microsoft has returned to issuing updates without thoroughly vetting them ...it seems everytime MS does an update these days, my phone starts ringing :( William Hindman ----- Original Message ----- From: "Mark A Matte" To: Sent: Wednesday, November 29, 2006 3:24 PM Subject: Re: [AccessD] Email Automation to Outlook problem >I am actually having a related issue right now. I have a db that imports > data every 30 minutes...does an analysis...and emails results using > outlook. > It worked fine for a year...and now outlook crashes almost everytime with > "An unknown Error". If I execute the exact same code from a button > instead > of a timer, it runs fine...I'm lost at this time. I need a way to send an > email without using outlook...I guess? > > Thanks, > > Mark A. Matte > >>From: "Gustav Brock" >>Reply-To: Access Developers discussion and problem >>solving >>To: >>Subject: Re: [AccessD] Email Automation to Outlook problem >>Date: Wed, 29 Nov 2006 18:09:03 +0100 >> >>Hi Susan and Chris >> >>Oh, that's another story - I don't use Outlook - so I cannot help. >>Could it be an automatic Windows Updating issue? >> >>/gustav >> >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >>Gustav, >> >> This is something that Outlook seems to do on its own -- at least on >>my system. An address that's worked for years will suddenly not send. In >>the >>header, I can see the apostrophes. I delete the address, re-enter it, and >>9 >>times out of 10, it goes. No clue... >> >> In my case, there's no code involved -- this is all Outlook. >> >>Susan H. >> >>The obvious solution is to adjust your code to stop wrapping the address >>in >>apostrophes. >>If, for some reason, that can't be done, change these to brackets like: >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Talk now to your Hotmail contacts with Windows Live Messenger. > http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview > > -- > 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 29 15:22:31 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 21:22:31 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <005b01c713fb$121bcf80$3e3de844@50NM721> Message-ID: I'll have to give this a try...but if it had any updates...they would have to have been automatic...its an old box running 2K Server...and I haven't run any updates in quite sometime. The weird part for me...is I can run the code from a button...but not a timer event??? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:12:25 -0500 > >...have you tried a restore point before it started failing ...imnsho >Microsoft has returned to issuing updates without thoroughly vetting them >...it seems everytime MS does an update these days, my phone starts ringing >:( > >William Hindman >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, November 29, 2006 3:24 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > > >I am actually having a related issue right now. I have a db that imports > > data every 30 minutes...does an analysis...and emails results using > > outlook. > > It worked fine for a year...and now outlook crashes almost everytime >with > > "An unknown Error". If I execute the exact same code from a button > > instead > > of a timer, it runs fine...I'm lost at this time. I need a way to send >an > > email without using outlook...I guess? > > > > Thanks, > > > > Mark A. Matte > > > >>From: "Gustav Brock" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Email Automation to Outlook problem > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > >> > >>Hi Susan and Chris > >> > >>Oh, that's another story - I don't use Outlook - so I cannot help. > >>Could it be an automatic Windows Updating issue? > >> > >>/gustav > >> > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >>Gustav, > >> > >> This is something that Outlook seems to do on its own -- at least on > >>my system. An address that's worked for years will suddenly not send. In > >>the > >>header, I can see the apostrophes. I delete the address, re-enter it, >and > >>9 > >>times out of 10, it goes. No clue... > >> > >> In my case, there's no code involved -- this is all Outlook. > >> > >>Susan H. > >> > >>The obvious solution is to adjust your code to stop wrapping the address > >>in > >>apostrophes. > >>If, for some reason, that can't be done, change these to brackets like: > >> > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Talk now to your Hotmail contacts with Windows Live Messenger. > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From mmmtbig at bellsouth.net Wed Nov 29 15:23:11 2006 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 29 Nov 2006 16:23:11 -0500 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: <015a01c713fc$964f3c50$6701a8c0@tbig1> I don't seem to be able to get rid of the apostrophes around the email address. Per Susan H.'s recommendation, I added brackets: itm.To = "<" & strEmailAddr & ">" Still shows up in Outlook with apostrophes and no brackets. Maybe this is some spam-fighting patch in Outlook implemented by Microsoft recently. It is causing big trouble for my client (and me). Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 3:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I am actually having a related issue right now. I have a db that imports data every 30 minutes...does an analysis...and emails results using outlook. It worked fine for a year...and now outlook crashes almost everytime with "An unknown Error". If I execute the exact same code from a button instead of a timer, it runs fine...I'm lost at this time. I need a way to send an email without using outlook...I guess? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 18:09:03 +0100 > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >Gustav, > > This is something that Outlook seems to do on its own -- at least on >my system. An address that's worked for years will suddenly not send. >In the header, I can see the apostrophes. I delete the address, >re-enter it, and 9 times out of 10, it goes. No clue... > > In my case, there's no code involved -- this is all Outlook. > >Susan H. > >The obvious solution is to adjust your code to stop wrapping the >address in apostrophes. If, for some reason, that can't be done, change >these to brackets like: > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get .live.com/messenger/overview -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Wed Nov 29 15:39:36 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 13:39:36 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <20061129213936.71003.qmail@web34307.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. From shamil at users.mns.ru Wed Nov 29 15:46:47 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 30 Nov 2006 00:46:47 +0300 Subject: [AccessD] OT: Where can I get good free Code39 barcode's TTF font? Message-ID: <000901c713ff$de9603b0$6501a8c0@nant> Hi All, Could you please advise where to get good TTF fonts for Code 39 barcodes? I see many choices on Internet - do you know which one is the most useful and reliable? Thank you. -- Shamil From markamatte at hotmail.com Wed Nov 29 15:45:29 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 21:45:29 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <015a01c713fc$964f3c50$6701a8c0@tbig1> Message-ID: I was using (before my new issues) the Docmd.SendObject with double quotes: DoCmd.SendObject , , acFormatHTML, "3362535270 at messaging.sprintpcs.com", "1111111111 at messaging.sprintpcs.com", , "Stock", Body, 0 Now it only works when I run the code manually. Anyway...just thought I'd share. Thanks, Mark A. Matte >From: "Myke Myers" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:23:11 -0500 > >I don't seem to be able to get rid of the apostrophes around the email >address. > >Per Susan H.'s recommendation, I added brackets: > itm.To = "<" & strEmailAddr & ">" > >Still shows up in Outlook with apostrophes and no brackets. > >Maybe this is some spam-fighting patch in Outlook implemented by Microsoft >recently. > >It is causing big trouble for my client (and me). > >Myke > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, November 29, 2006 3:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Email Automation to Outlook problem > > >I am actually having a related issue right now. I have a db that imports >data every 30 minutes...does an analysis...and emails results using >outlook. > > It worked fine for a year...and now outlook crashes almost everytime >with >"An unknown Error". If I execute the exact same code from a button instead >of a timer, it runs fine...I'm lost at this time. I need a way to send an >email without using outlook...I guess? > >Thanks, > >Mark A. Matte > > >From: "Gustav Brock" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: Re: [AccessD] Email Automation to Outlook problem > >Date: Wed, 29 Nov 2006 18:09:03 +0100 > > > >Hi Susan and Chris > > > >Oh, that's another story - I don't use Outlook - so I cannot help. > >Could it be an automatic Windows Updating issue? > > > >/gustav > > > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >Gustav, > > > > This is something that Outlook seems to do on its own -- at least on > > >my system. An address that's worked for years will suddenly not send. > >In the header, I can see the apostrophes. I delete the address, > >re-enter it, and 9 times out of 10, it goes. No clue... > > > > In my case, there's no code involved -- this is all Outlook. > > > >Susan H. > > > >The obvious solution is to adjust your code to stop wrapping the > >address in apostrophes. If, for some reason, that can't be done, change > >these to brackets like: > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Talk now to your Hotmail contacts with Windows Live Messenger. >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get >.live.com/messenger/overview > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From dw-murphy at cox.net Wed Nov 29 15:52:54 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 29 Nov 2006 13:52:54 -0800 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> It may be a windows event conflict. I am not sure if the timer is an Access thing or Access running a windows api. I do know that if Outlook happens to be sending or receiving when I try and send an email from Access an error is generated. This may be way out in left field but something to consider. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 1:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I'll have to give this a try...but if it had any updates...they would have to have been automatic...its an old box running 2K Server...and I haven't run any updates in quite sometime. The weird part for me...is I can run the code from a button...but not a timer event??? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:12:25 -0500 > >...have you tried a restore point before it started failing ...imnsho >Microsoft has returned to issuing updates without thoroughly vetting >them ...it seems everytime MS does an update these days, my phone >starts ringing :( > >William Hindman >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, November 29, 2006 3:24 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > > >I am actually having a related issue right now. I have a db that > >imports data every 30 minutes...does an analysis...and emails > >results using outlook. > > It worked fine for a year...and now outlook crashes almost > >everytime >with > > "An unknown Error". If I execute the exact same code from a button > > instead of a timer, it runs fine...I'm lost at this time. I need a > > way to send >an > > email without using outlook...I guess? > > > > Thanks, > > > > Mark A. Matte > > > >>From: "Gustav Brock" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Email Automation to Outlook problem > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > >> > >>Hi Susan and Chris > >> > >>Oh, that's another story - I don't use Outlook - so I cannot help. > >>Could it be an automatic Windows Updating issue? > >> > >>/gustav > >> > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >>Gustav, > >> > >> This is something that Outlook seems to do on its own -- at least > >>on my system. An address that's worked for years will suddenly not > >>send. In the header, I can see the apostrophes. I delete the > >>address, re-enter it, >and > >>9 > >>times out of 10, it goes. No clue... > >> > >> In my case, there's no code involved -- this is all Outlook. > >> > >>Susan H. > >> > >>The obvious solution is to adjust your code to stop wrapping the > >>address in apostrophes. > >>If, for some reason, that can't be done, change these to brackets like: > >> > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Talk now to your Hotmail contacts with Windows Live Messenger. > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http: >//get.live.com/messenger/overview > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From dmcafee at pacbell.net Wed Nov 29 16:03:13 2006 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 29 Nov 2006 14:03:13 -0800 (PST) Subject: [AccessD] OT: Where can I get good free Code39 barcode's TTF font? Message-ID: <20061129220313.42453.qmail@web80812.mail.mud.yahoo.com> I've used this one for a while now. http://www.squaregear.net/fonts/ David ----- Original Message ---- From: Shamil Salakhetdinov To: Access-D Sent: Wednesday, November 29, 2006 1:46:47 PM Subject: [AccessD] OT: Where can I get good free Code39 barcode's TTF font? Hi All, Could you please advise where to get good TTF fonts for Code 39 barcodes? I see many choices on Internet - do you know which one is the most useful and reliable? Thank you. -- Shamil -- 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 29 16:11:06 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 22:11:06 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> Message-ID: Also...like I said...no updates that I know of...but this ran fine for over a year. Thanks, Mark >From: "Doug Murphy" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 13:52:54 -0800 > >It may be a windows event conflict. I am not sure if the timer is an >Access >thing or Access running a windows api. I do know that if Outlook happens >to >be sending or receiving when I try and send an email from Access an error >is >generated. This may be way out in left field but something to consider. > >Doug > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, November 29, 2006 1:23 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Email Automation to Outlook problem > > >I'll have to give this a try...but if it had any updates...they would have >to have been automatic...its an old box running 2K Server...and I haven't >run any updates in quite sometime. The weird part for me...is I can run >the >code from a button...but not a timer event??? > >Thanks, > >Mark A. Matte > > >From: "William Hindman" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Email Automation to Outlook problem > >Date: Wed, 29 Nov 2006 16:12:25 -0500 > > > >...have you tried a restore point before it started failing ...imnsho > >Microsoft has returned to issuing updates without thoroughly vetting > >them ...it seems everytime MS does an update these days, my phone > >starts ringing :( > > > >William Hindman > >----- Original Message ----- > >From: "Mark A Matte" > >To: > >Sent: Wednesday, November 29, 2006 3:24 PM > >Subject: Re: [AccessD] Email Automation to Outlook problem > > > > > > >I am actually having a related issue right now. I have a db that > > >imports data every 30 minutes...does an analysis...and emails > > >results using outlook. > > > It worked fine for a year...and now outlook crashes almost > > >everytime > >with > > > "An unknown Error". If I execute the exact same code from a button > > > instead of a timer, it runs fine...I'm lost at this time. I need a > > > way to send > >an > > > email without using outlook...I guess? > > > > > > Thanks, > > > > > > Mark A. Matte > > > > > >>From: "Gustav Brock" > > >>Reply-To: Access Developers discussion and problem > > >>solving > > >>To: > > >>Subject: Re: [AccessD] Email Automation to Outlook problem > > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > > >> > > >>Hi Susan and Chris > > >> > > >>Oh, that's another story - I don't use Outlook - so I cannot help. > > >>Could it be an automatic Windows Updating issue? > > >> > > >>/gustav > > >> > > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > > >>Gustav, > > >> > > >> This is something that Outlook seems to do on its own -- at least > > >>on my system. An address that's worked for years will suddenly not > > >>send. In the header, I can see the apostrophes. I delete the > > >>address, re-enter it, > >and > > >>9 > > >>times out of 10, it goes. No clue... > > >> > > >> In my case, there's no code involved -- this is all Outlook. > > >> > > >>Susan H. > > >> > > >>The obvious solution is to adjust your code to stop wrapping the > > >>address in apostrophes. > > >>If, for some reason, that can't be done, change these to brackets >like: > > >> > > >> > > >> > > >>-- > > >>AccessD mailing list > > >>AccessD at databaseadvisors.com > > >>http://databaseadvisors.com/mailman/listinfo/accessd > > >>Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > Talk now to your Hotmail contacts with Windows Live Messenger. > > > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http: > >//get.live.com/messenger/overview > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >View Athletes Collections with Live Search >http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get the latest Windows Live Messenger 8.1 Beta version.?Join now. http://ideas.live.com From Lambert.Heenan at AIG.com Wed Nov 29 16:15:04 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 29 Nov 2006 16:15:04 -0600 Subject: [AccessD] Email Automation to Outlook problem Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C29DA7A2@xlivmbx35.aig.com> Hmm. I notice you are directly assigning the email address to the Item.To field. No idea why this might suddenly stop working, but as it happens this is *not* how I address emails. Instead I create an Outlook Mail Item... Set objOutlookMsg = objOutlook.CreateItem(olMailItem) ...and then add an email address to the collection... With objOutlookMsg ' Add the To recipient(s) to the message. .Recipients.Add("Foo at bar.com") ' add an email address to the collection ... and define the recipient type ... .Recipients.Type = olTo ... and lastly the address is verified using the Resolve method - this will verify Exchange Server addresses. ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients If Not objOutlookRecip.Resolve = True Then MsgBox "Address " & objOutlookRecip.Name & " does not exist" objOutlookRecip.Delete End If Next ... End With I have similar code that takes a delimited list of addresses and adds them one by one to the Recipients collection. This "works for me", and has done for years. Currently I'm using it with Outlook XP (2002). HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Wednesday, November 29, 2006 4:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Email Automation to Outlook problem I don't seem to be able to get rid of the apostrophes around the email address. Per Susan H.'s recommendation, I added brackets: itm.To = "<" & strEmailAddr & ">" Still shows up in Outlook with apostrophes and no brackets. Maybe this is some spam-fighting patch in Outlook implemented by Microsoft recently. It is causing big trouble for my client (and me). Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 3:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I am actually having a related issue right now. I have a db that imports data every 30 minutes...does an analysis...and emails results using outlook. It worked fine for a year...and now outlook crashes almost everytime with "An unknown Error". If I execute the exact same code from a button instead of a timer, it runs fine...I'm lost at this time. I need a way to send an email without using outlook...I guess? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 18:09:03 +0100 > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >Gustav, > > This is something that Outlook seems to do on its own -- at least on >my system. An address that's worked for years will suddenly not send. >In the header, I can see the apostrophes. I delete the address, >re-enter it, and 9 times out of 10, it goes. No clue... > > In my case, there's no code involved -- this is all Outlook. > >Susan H. > >The obvious solution is to adjust your code to stop wrapping the >address in apostrophes. If, for some reason, that can't be done, change >these to brackets like: > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get .live.com/messenger/overview -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darrend at nimble.com.au Wed Nov 29 16:17:18 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 30 Nov 2006 09:17:18 +1100 Subject: [AccessD] Single and Double Inverted Commas! In-Reply-To: <20061129111408.35698.qmail@web34304.mail.mud.yahoo.com> Message-ID: <000601c71404$2d985090$631aa53a@DENZILLAP> Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Wed Nov 29 16:30:13 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 14:30:13 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <504913.67568.qm@web34311.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Ah! Thanks Darren, that explains why some simpler attempts are causing problems. Does that mean I can change them in the Form B from Form A before opening Form B? Chris -------Original Message------- From: Darren DICK Date: 29/11/2006 22:19:25 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. From cclenright at yahoo.com Wed Nov 29 16:36:49 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 14:36:49 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <882726.1924.qm@web34314.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Darren, Thanks for sending me the demo. Sadly I am still using Access 2K and can't run it. Chris -------Original Message------- From: Darren DICK Date: 29/11/2006 22:19:25 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From artful at rogers.com Wed Nov 29 18:09:50 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 29 Nov 2006 16:09:50 -0800 (PST) Subject: [AccessD] Email Automation to Outlook problem Message-ID: <20061130000950.63940.qmail@web88208.mail.re2.yahoo.com> LOL. I didn't realize that anyone still did use Outlook. Ok, I stand corrected. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 29, 2006 12:09:03 PM Subject: Re: [AccessD] Email Automation to Outlook problem Hi Susan and Chris Oh, that's another story - I don't use Outlook - so I cannot help. Could it be an automatic Windows Updating issue? /gustav From darrend at nimble.com.au Thu Nov 30 00:30:38 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 30 Nov 2006 17:30:38 +1100 Subject: [AccessD] Single and Double Inverted Commas! In-Reply-To: <882726.1924.qm@web34314.mail.mud.yahoo.com> Message-ID: <001601c71449$277ba050$5e04a53a@DENZILLAP> Howdy New demo sent However in relation to changing controlsources from other forms or via code As far as I know ControlSources (for controls) can't be set other than in design mode - again the list will let me know if I have it wrong though Darren -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Thursday, 30 November 2006 9:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Single and Double Inverted Commas! v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Darren, Thanks for sending me the demo. Sadly I am still using Access 2K and can't run it. Chris -------Original Message------- From: Darren DICK Date: 29/11/2006 22:19:25 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From jwcolby at colbyconsulting.com Thu Nov 30 05:44:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 30 Nov 2006 06:44:45 -0500 Subject: [AccessD] Where to place a filter Message-ID: <004301c71474$efa70210$e1265b05@m6805> I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Thu Nov 30 06:15:16 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Nov 2006 13:15:16 +0100 Subject: [AccessD] Single and Double Inverted Commas! Message-ID: Hi Chris Well, still lazy, so why not: Me.MonTotDBAdmin.ControlSource = Replace("=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')","'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 22:39:36 >>> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris From jwcolby at colbyconsulting.com Thu Nov 30 06:50:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 30 Nov 2006 07:50:57 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <004301c71474$efa70210$e1265b05@m6805> Message-ID: <004d01c7147e$2ede8bc0$e1265b05@m6805> There is more to the story, which leaves me completely confused. In the process of fixing the problem, I had dropped the AgencyID FK from the tblChild table and pulled in the AgencyID PK from tblAgency, and then applied the filter to the AgencyID PK. To do further testing I then pulled in the FK from the tblChild table again and moved the filter back to that FK field and the speed was still 3 seconds! To summarize, I had an extremely slow query. I discovered that if I simply pulled the PK from the tblAgency and applied the filter to that (dropping the FK AgencyID from the tblChild out of the query in the process) the query went from 3 minutes down to 3 seconds. However when I pulled the AgencyID FK back out of the tblChild and reapplied the filter to the FK, the query time remained at 3 seconds. Hmmmm..... It certainly sounds like something about the query was saved in the background, and whatever that something was it was corrupted or something. Changing the query by pulling the PK and applying the filter to that, dropping the FK in the process, perhaps caused something in the background to be corrected. I dunno. I have never seen anything like this before. Sadly it means I cannot necessarily look for speedups in my existing database by moving a filter from an FK to the corresponding PK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Thu Nov 30 08:18:58 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 09:18:58 -0500 Subject: [AccessD] CSV export In-Reply-To: <004901c713cf$3de05ae0$6401a8c0@HAL9005> Message-ID: Thanks, Rocky. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, November 29, 2006 10:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CSV export Keith: I wouldn't export the report. I'd probably create a temp table to store the values and export to an Excel spreadsheet. You could actually export the formulas this way if you wanted to. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, November 29, 2006 6:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] CSV export Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM -- 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 30 08:55:00 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 06:55:00 -0800 Subject: [AccessD] CSV export In-Reply-To: Message-ID: <001b01c7148f$82bb2490$6401a8c0@HAL9005> Keith: I've got a bunch of automation code exporting stuff to Excel if you want a sample. It's not elegant but it works. I've also got code where I had to do a bunch of formatting and other things in a spreadsheet I was creating from Access. I used the macro recorder in Excel and just copied out the code it generated into my module. I can send you some snips of that as well if you need to make a full on spreadsheet instead of just a CSV file that will open in Excel. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 6:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV export Thanks, Rocky. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, November 29, 2006 10:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CSV export Keith: I wouldn't export the report. I'd probably create a temp table to store the values and export to an Excel spreadsheet. You could actually export the formulas this way if you wanted to. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, November 29, 2006 6:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] CSV export Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM From Kwilliamson at RTKL.com Thu Nov 30 09:08:07 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 10:08:07 -0500 Subject: [AccessD] Still on the Reporting Message-ID: Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From bchacc at san.rr.com Thu Nov 30 09:20:56 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 07:20:56 -0800 Subject: [AccessD] Still on the Reporting In-Reply-To: Message-ID: <002c01c71493$2240f960$6401a8c0@HAL9005> Keith: I've also got a module that exports to a comma delimited, CSV file with quotes around the text fields. Can send that off-line if it would help. Why is CSV out of the running now? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM From wdhindman at dejpolsystems.com Thu Nov 30 09:23:40 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 30 Nov 2006 10:23:40 -0500 Subject: [AccessD] Where to place a filter References: <004d01c7147e$2ede8bc0$e1265b05@m6805> Message-ID: <003301c71493$84061e50$3e3de844@50NM721> ...or not ...remember that Access uses the Rushmore query optimization algorithms which build adhoc indices based on the actual data in addition to the indices you've spec'd ...it could be that when you changed the index the first time that you forced a new query optimization that gave a much better result ...and that when you redid the query, Access retained the optimized adhoc indices because the change was actually immaterial ...in other words you had added a lot of data since you first built the query and when you forced it to review its optimization it did so with the additional data considered ...and when you reverted, the optimization held because the speed increase was based on the data rather than the index. ...or something like that :) ...so the real answer is that when you've added a large amount of data into an Access database, you may find that your original queries work much faster if you force them to reoptimize. William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 30, 2006 7:50 AM Subject: Re: [AccessD] Where to place a filter > There is more to the story, which leaves me completely confused. > > In the process of fixing the problem, I had dropped the AgencyID FK from > the > tblChild table and pulled in the AgencyID PK from tblAgency, and then > applied the filter to the AgencyID PK. To do further testing I then > pulled > in the FK from the tblChild table again and moved the filter back to that > FK > field and the speed was still 3 seconds! > > To summarize, I had an extremely slow query. I discovered that if I > simply > pulled the PK from the tblAgency and applied the filter to that (dropping > the FK AgencyID from the tblChild out of the query in the process) the > query > went from 3 minutes down to 3 seconds. However when I pulled the AgencyID > FK back out of the tblChild and reapplied the filter to the FK, the query > time remained at 3 seconds. > > Hmmmm..... > > It certainly sounds like something about the query was saved in the > background, and whatever that something was it was corrupted or something. > Changing the query by pulling the PK and applying the filter to that, > dropping the FK in the process, perhaps caused something in the background > to be corrected. > > I dunno. I have never seen anything like this before. > > Sadly it means I cannot necessarily look for speedups in my existing > database by moving a filter from an FK to the corresponding PK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, November 30, 2006 6:45 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Where to place a filter > > I found an interesting anomaly today. I was troubleshooting why a query > was > two orders of magnitude slower in a query in a new version of a database > vs. > the same query in an older version of the database. To make a long story > short: > > Two tables, Agency / child > > Agency has a PKID > Child has a FK for the agency PKID > Child joined to agency on this PK/FK > > Filter on the FK in child yields a query 3 minutes long Move the filter to > the Agency PKID the time drops to 3 seconds!!! > > I have to assume that the difference lies in the fact that the PK is a > unique index vs. a non-unique index for a FK. > > I have to say that I had never thought about this specific subject and > just > treated an index as an index, but in the future I will examine carefully > applying a filter on an FK as opposed to joining to the required table and > filtering on the PK. > > Any thoughts on the subject? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Kwilliamson at RTKL.com Thu Nov 30 09:38:48 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 10:38:48 -0500 Subject: [AccessD] Still on the Reporting In-Reply-To: <002c01c71493$2240f960$6401a8c0@HAL9005> Message-ID: Thanks, Rocky. Well...it is only out of the running...because I couldn't find any reference online for doing this....that wasn't A) bought; and B) problematic. If you've got something otherwise.....I'd LOVE to put it back into the running. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 30, 2006 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting Keith: I've also got a module that exports to a comma delimited, CSV file with quotes around the text fields. Can send that off-line if it would help. Why is CSV out of the running now? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 30 09:51:25 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 30 Nov 2006 10:51:25 -0500 Subject: [AccessD] Still on the Reporting References: Message-ID: <003d01c71497$64e2a260$3e3de844@50NM721> Keith ...I'd backup a bit and seriously consider redesigning the report to do all its calcs in the source query or subqueries ...that way you can either export the query results directly to csv or create a table to do the export from ...either way, you avoid having to use external software to derive the data you want, get much better data reliability, and probably spend a heck of a lot less time doing it. William Hindman ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Thursday, November 30, 2006 10:08 AM Subject: [AccessD] Still on the Reporting > Man...I forgot what a pain in the A@& getting reports out of Access is. > > > > I asked earlier how to export a report into csv format....doesn't seem > that is likely. I need to ultimately generate a csv format file, to > import into our sql-based application. This is for journal entries. I > have written a couple of reports to generate journal > entries....utilizing the different levels of grouping and summing. A > good bit of the report is taking data, at different groupings, and > calculating percentages to apply to user-entered data (for allocating > overhead to different entities and account numbers.) Since csv is out, > I am resigned to bring the data into excel...and then export to csv > format. > > > > The problem is that, oddly, when I am looking at the data on the report > (on screen) and then hit the "Analyze It with Excel" button....the > columns come over in different order than the report. Plus, one of the > fields is a text field = "00". It keeps coming into Excel as = 0 > (general format.) I can't think of a way to store the values, and > export values and formulas to Excel...as Rocky suggested. > > > > Any help is greatly appreciated. > > > > Regards, > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 30 09:55:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 07:55:17 -0800 Subject: [AccessD] Still on the Reporting In-Reply-To: Message-ID: <004d01c71497$ee829160$6401a8c0@HAL9005> Keith: Here's a simple, brute force method of creating a CSV file with quotes around the strings. But if you need to do the formulas, you'll need to make a spreadsheet. I'll send you a doc with that method in it off line. Rocky Private Sub cmdExport_Click() strSQL = "SELECT tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, " _ & " [fldWorkDetailMonth] & [fldWorkDetailYear] AS [Month] , " _ & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] AS Name, " _ & "Sum(tblWorkDetail.fldWorkDetailHours) AS SumOffldWorkDetailHours, " _ & "Sum(tblWorkDetail.fldWorkDetailTotal) AS SumOffldWorkDetailTotal FROM " _ & "tblEmployer RIGHT JOIN (tblPlan INNER JOIN (tblEmployee INNER JOIN " _ & "tblWorkDetail ON tblEmployee.fldEmployeeID = tblWorkDetail.fldEmployeeID) ON " _ & "tblPlan.fldPlanID = tblWorkDetail.fldPlanID) ON tblEmployer.fldEmployerID = " _ & "tblWorkDetail.fldEmployerID WHERE (((tblPlan.fldPlanName) = '401a') And " _ & "((tblWorkDetail.fldWorkDetailEntryMonth) = " _ & Forms!frm401aMonthlyReport!cboEntryMonth.Column(0) & ") And " _ & "((tblWorkDetail.fldWorkDetailEntryYear) = " _ & Forms!frm401aMonthlyReport!cboEntryYear.Column(0) & ")) GROUP BY " _ & "tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, " _ & "[fldWorkDetailMonth] & [fldWorkDetailYear], " _ & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] " _ & "ORDER BY tblEmployee.fldEmployeeSSN;" Set db = CurrentDb Set rs = db.OpenRecordset(strSQL) If rs.BOF = True And rs.EOF = True Then MsgBox "No Records to Export.", vbExclamation Exit Sub End If txtExportFile = db.Name Do While Right(txtExportFile, 1) <> "\" txtExportFile = Left(txtExportFile, Len(txtExportFile) - 1) Loop txtExportFile = txtExportFile & "401 Text File For " & Me.cboEntryMonth.Column(1) & " " & Me.cboEntryYear.Column(0) & ".txt" On Error Resume Next Kill txtExportFile On Error GoTo 0 Open txtExportFile For Output As #1 Do While Not rs.EOF Print #1, """" & Right("00000" & Trim(str(Nz(rs!fldEmployerLBFCode))), 5) _ & """" & "," & """" & Right("000000000" & Trim(str(rs!fldEmployeeSSN)), 9) _ & """" & "," & """" & rs!Name & """" _ & "," & """" & AlphaMonthYear(rs!Month) & """" & "," _ & rs![SumOffldWorkDetailHours] & "," & rs![SumOffldWorkDetailTotal] rs.MoveNext Loop Close #1 MsgBox "Export Done.", vbExclamation End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Still on the Reporting Thanks, Rocky. Well...it is only out of the running...because I couldn't find any reference online for doing this....that wasn't A) bought; and B) problematic. If you've got something otherwise.....I'd LOVE to put it back into the running. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 30, 2006 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting Keith: I've also got a module that exports to a comma delimited, CSV file with quotes around the text fields. Can send that off-line if it would help. Why is CSV out of the running now? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM From jimdettman at verizon.net Thu Nov 30 10:08:45 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Nov 2006 11:08:45 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <004301c71474$efa70210$e1265b05@m6805> Message-ID: <011d01c71499$d14ec260$8abea8c0@XPS> John, <> A. JET has more options for query optimizations on a unique index. B. When filtering is done, it's a toss up if you should filter on the one or the many side. Table sizes can have a big impact, so best practice is to test both and use the one that is the fastest. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dgibso at uark.edu Thu Nov 30 10:16:14 2006 From: dgibso at uark.edu (David A Gibson) Date: Thu, 30 Nov 2006 10:16:14 -0600 Subject: [AccessD] Still on the Reporting In-Reply-To: <004d01c71497$ee829160$6401a8c0@HAL9005> References: <004d01c71497$ee829160$6401a8c0@HAL9005> Message-ID: <7.0.1.0.0.20061130100558.01e40a38@uark.edu> Been following this topic with interest. I do an XLS export from a Form command button onClick event. DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "qry1234", "Drive:\Dir\subDir\Filename" & ".xls", yes, "" It will overwrite the file each time but you can always append the date by using Filename_" & Format(Date, "mmddyy") & ".xls" Works for me. David G. At 09:55 AM 11/30/2006, you wrote: >Keith: > >Here's a simple, brute force method of creating a CSV file with quotes >around the strings. But if you need to do the formulas, you'll need to make >a spreadsheet. I'll send you a doc with that method in it off line. > >Rocky > >Private Sub cmdExport_Click() > >strSQL = "SELECT tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, >" _ > & " [fldWorkDetailMonth] & [fldWorkDetailYear] AS [Month] , " _ > & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] AS Name, " _ > & "Sum(tblWorkDetail.fldWorkDetailHours) AS SumOffldWorkDetailHours, " _ > & "Sum(tblWorkDetail.fldWorkDetailTotal) AS SumOffldWorkDetailTotal FROM >" _ > & "tblEmployer RIGHT JOIN (tblPlan INNER JOIN (tblEmployee INNER JOIN " >_ > & "tblWorkDetail ON tblEmployee.fldEmployeeID = >tblWorkDetail.fldEmployeeID) ON " _ > & "tblPlan.fldPlanID = tblWorkDetail.fldPlanID) ON >tblEmployer.fldEmployerID = " _ > & "tblWorkDetail.fldEmployerID WHERE (((tblPlan.fldPlanName) = '401a') >And " _ > & "((tblWorkDetail.fldWorkDetailEntryMonth) = " _ > & Forms!frm401aMonthlyReport!cboEntryMonth.Column(0) & ") And " _ > & "((tblWorkDetail.fldWorkDetailEntryYear) = " _ > & Forms!frm401aMonthlyReport!cboEntryYear.Column(0) & ")) GROUP BY " _ > & "tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, " _ > & "[fldWorkDetailMonth] & [fldWorkDetailYear], " _ > & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] " _ > & "ORDER BY tblEmployee.fldEmployeeSSN;" > >Set db = CurrentDb >Set rs = db.OpenRecordset(strSQL) > >If rs.BOF = True And rs.EOF = True Then > MsgBox "No Records to Export.", vbExclamation > Exit Sub >End If > >txtExportFile = db.Name > >Do While Right(txtExportFile, 1) <> "\" > txtExportFile = Left(txtExportFile, Len(txtExportFile) - 1) >Loop >txtExportFile = txtExportFile & "401 Text File For " & >Me.cboEntryMonth.Column(1) & " " & Me.cboEntryYear.Column(0) & ".txt" > >On Error Resume Next >Kill txtExportFile >On Error GoTo 0 > >Open txtExportFile For Output As #1 > >Do While Not rs.EOF > Print #1, """" & Right("00000" & Trim(str(Nz(rs!fldEmployerLBFCode))), >5) _ > & """" & "," & """" & Right("000000000" & >Trim(str(rs!fldEmployeeSSN)), 9) _ > & """" & "," & """" & rs!Name & """" _ > & "," & """" & AlphaMonthYear(rs!Month) & """" & "," _ > & rs![SumOffldWorkDetailHours] & "," & rs![SumOffldWorkDetailTotal] > rs.MoveNext >Loop > >Close #1 > >MsgBox "Export Done.", vbExclamation > >End Sub > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Thursday, November 30, 2006 7:39 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Still on the Reporting > >Thanks, Rocky. > >Well...it is only out of the running...because I couldn't find any >reference online for doing this....that wasn't A) bought; and B) >problematic. If you've got something otherwise.....I'd LOVE to put it >back into the running. > >:) > >Thanks, > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Thursday, November 30, 2006 10:21 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Still on the Reporting > >Keith: > >I've also got a module that exports to a comma delimited, CSV file with >quotes around the text fields. Can send that off-line if it would help. > >Why is CSV out of the running now? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith >Williamson >Sent: Thursday, November 30, 2006 7:08 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Still on the Reporting > >Man...I forgot what a pain in the A@& getting reports out of Access is. > > > >I asked earlier how to export a report into csv format....doesn't seem >that is likely. I need to ultimately generate a csv format file, to >import into our sql-based application. This is for journal entries. I >have written a couple of reports to generate journal >entries....utilizing the different levels of grouping and summing. A >good bit of the report is taking data, at different groupings, and >calculating percentages to apply to user-entered data (for allocating >overhead to different entities and account numbers.) Since csv is out, >I am resigned to bring the data into excel...and then export to csv >format. > > > >The problem is that, oddly, when I am looking at the data on the report >(on screen) and then hit the "Analyze It with Excel" button....the >columns come over in different order than the report. Plus, one of the >fields is a text field = "00". It keeps coming into Excel as = 0 >(general format.) I can't think of a way to store the values, and >export values and formulas to Excel...as Rocky suggested. > > > >Any help is greatly appreciated. > > > >Regards, > > > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: >11/29/2006 >4:15 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 >4:15 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From Jim.Hale at FleetPride.com Thu Nov 30 10:41:19 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 30 Nov 2006 10:41:19 -0600 Subject: [AccessD] Still on the Reporting Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE132@corp-es01.fleetpride.com> I have automated a number of JEs including allocations. Generally I create the queries in Access and export the results directly to an Excel template. Usually I do all the calculations in Access so that Excel is used simply as a platform to upload the JE. I have a sheet in Excel that prepares the JE (makes sure it balances, etc.) and code which generates a csv file from this worksheet, a bat and cmd file and uploads the data to the AS400. If the calculations are too complicated using queries I still send the intermediate data (usually the result of group queries) to Excel and compute the allocations and then upload the result. I can send you the Excel sheet with the code if you are interested. Regards, Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Nov 30 11:00:35 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 30 Nov 2006 11:00:35 -0600 Subject: [AccessD] Still on the Reporting Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE133@corp-es01.fleetpride.com> BTW allocations are another great use of non cartesian joins. First create a groupby query which generates a total (one field one record). Create a query with the detail records which add to the total. Place the two queries in the design grid without any join. The result set will have the total as a field in every record so it is a simple matter to divide the detail by the total to generate a percentage. As I think about it another reason I dump the data to Excel is because allocations inevitably don't balance (usually by pennies) due to rounding. It is a simple matter in Excel to create a formula to handle the rounding. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Thu Nov 30 11:08:52 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Nov 2006 18:08:52 +0100 Subject: [AccessD] Still on the Reporting Message-ID: Hi Keith I think you need to rethink this. Creating reports to export to Excel to export to csv .. doesn't make sense. If you can't extract and build the requested records with one query, use two or more and collect them in a union query - or write to a temp table - which you use as source for the export to csv (if this is the optimum format for the import). Writing a csv in VBA - without the built-in export tool which can cause some troubles - is piece of cake and has been described numerous times here. You can also use a query to write the text file directly with the help of the schema.ini file: http://databaseadvisors.com/mailman/htdig/accessd/2004-October/028800.html /gustav >>> Kwilliamson at RTKL.com 30-11-2006 16:08:07 >>> Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From Kwilliamson at RTKL.com Thu Nov 30 11:16:19 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 12:16:19 -0500 Subject: [AccessD] Still on the Reporting In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE133@corp-es01.fleetpride.com> Message-ID: Good thoughts. Thanks. I suppose this is what I will have to do, as well. I was trying to do something quick and easy. In the end......it is neither. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, November 30, 2006 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting BTW allocations are another great use of non cartesian joins. First create a groupby query which generates a total (one field one record). Create a query with the detail records which add to the total. Place the two queries in the design grid without any join. The result set will have the total as a field in every record so it is a simple matter to divide the detail by the total to generate a percentage. As I think about it another reason I dump the data to Excel is because allocations inevitably don't balance (usually by pennies) due to rounding. It is a simple matter in Excel to create a formula to handle the rounding. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Nov 30 11:21:04 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 30 Nov 2006 11:21:04 -0600 Subject: [AccessD] Still on the Reporting Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE134@corp-es01.fleetpride.com> quick allocations is an oxymoron :-) Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Still on the Reporting Good thoughts. Thanks. I suppose this is what I will have to do, as well. I was trying to do something quick and easy. In the end......it is neither. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, November 30, 2006 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting BTW allocations are another great use of non cartesian joins. First create a groupby query which generates a total (one field one record). Create a query with the detail records which add to the total. Place the two queries in the design grid without any join. The result set will have the total as a field in every record so it is a simple matter to divide the detail by the total to generate a percentage. As I think about it another reason I dump the data to Excel is because allocations inevitably don't balance (usually by pennies) due to rounding. It is a simple matter in Excel to create a formula to handle the rounding. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From markamatte at hotmail.com Thu Nov 30 12:11:57 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 30 Nov 2006 18:11:57 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <20061130000950.63940.qmail@web88208.mail.re2.yahoo.com> Message-ID: The only reason I use it because it was already on the box and easy to automate...but its not working now. All I need to send is a short text message...and be automated...any easy suggestions other than outlook? Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:09:50 -0800 (PST) > >LOL. I didn't realize that anyone still did use Outlook. Ok, I stand >corrected. > > >----- Original Message ---- >From: Gustav Brock >To: accessd at databaseadvisors.com >Sent: Wednesday, November 29, 2006 12:09:03 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From adtp at airtelbroadband.in Thu Nov 30 12:06:06 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 30 Nov 2006 23:36:06 +0530 Subject: [AccessD] Still on the Reporting References: Message-ID: <012101c714aa$6394f210$da0265cb@pcadt> Keith, For ensuring proper alignment & formatting along with appropriate display of group footers, while exporting an access report to excel, my sample db named Reports_AccessToExcelAndWord might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 20:38 Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com From dgibso at uark.edu Thu Nov 30 12:27:11 2006 From: dgibso at uark.edu (David A Gibson) Date: Thu, 30 Nov 2006 12:27:11 -0600 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: References: <20061130000950.63940.qmail@web88208.mail.re2.yahoo.com> Message-ID: <7.0.1.0.0.20061130122159.01e48838@uark.edu> Have used this in the past and it worked well. http://www.geocel.com/devmailer/ DevMailer is a COM (Component Object Model) object designed to send Email via SMTP from any COM / OLE / ActiveX enabled application. Currently DevMailer can be used from the following platforms: * Active Server Pages (Microsoft IIS or Chili!ASP extensions) * Microsoft Visual Basic 4.x/5.x/6.x * Microsoft Word, Access, Excel 95/97 (VBA) * Windows Scripting Host (cscript / wscript) * Perl 5.x for Win32 * Inprise Delphi 4 * Microsoft Visual C++ 4.x/5.x/6.x * Microsoft Visual J++ 1.x/6.0 (Java) $99 for 1 user David G At 12:11 PM 11/30/2006, you wrote: >The only reason I use it because it was already on the box and easy >to automate...but its not working now. All I need to send is a >short text message...and be automated...any easy suggestions other >than outlook? > >Thanks, > >Mark A. Matte From jimdettman at verizon.net Thu Nov 30 14:59:13 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Nov 2006 15:59:13 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <004d01c7147e$2ede8bc0$e1265b05@m6805> Message-ID: <002401c714c2$65393f50$8abea8c0@XPS> John, Through Experts-Exchange, I bumped into something similar, but the opposite of what you've encountered. A query opened in design view and saved while the tables were empty would yield a fast execution, but if the tables were full, a very slow execution would result. Using JET showplan, I found that JET was not choosing an optimal plan when the tables were full. It was performing the joins on the tables in reverse (vs. the fast plan), which caused a sort to be required. If the joins were done the other way, no sort was required and thus a lot of time was saved. Basically it was a bug in the query optimizer. Although "bug" may be too strong of a word; the query optimizer has to draw the line somewhere in the number of different plans it checks or it would never finish. Since there was no way around it, the guy I was helping finally decided on writing a routine to empty the table, perform the query, then fill the table back up. As long as the query was not resaved, the fast execution plan was always used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 7:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where to place a filter There is more to the story, which leaves me completely confused. In the process of fixing the problem, I had dropped the AgencyID FK from the tblChild table and pulled in the AgencyID PK from tblAgency, and then applied the filter to the AgencyID PK. To do further testing I then pulled in the FK from the tblChild table again and moved the filter back to that FK field and the speed was still 3 seconds! To summarize, I had an extremely slow query. I discovered that if I simply pulled the PK from the tblAgency and applied the filter to that (dropping the FK AgencyID from the tblChild out of the query in the process) the query went from 3 minutes down to 3 seconds. However when I pulled the AgencyID FK back out of the tblChild and reapplied the filter to the FK, the query time remained at 3 seconds. Hmmmm..... It certainly sounds like something about the query was saved in the background, and whatever that something was it was corrupted or something. Changing the query by pulling the PK and applying the filter to that, dropping the FK in the process, perhaps caused something in the background to be corrected. I dunno. I have never seen anything like this before. Sadly it means I cannot necessarily look for speedups in my existing database by moving a filter from an FK to the corresponding PK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 30 16:13:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 30 Nov 2006 17:13:45 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <002401c714c2$65393f50$8abea8c0@XPS> Message-ID: <00be01c714cc$ce20f9e0$e1265b05@m6805> LOL, that is one heck of a workaround! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 30, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where to place a filter John, Through Experts-Exchange, I bumped into something similar, but the opposite of what you've encountered. A query opened in design view and saved while the tables were empty would yield a fast execution, but if the tables were full, a very slow execution would result. Using JET showplan, I found that JET was not choosing an optimal plan when the tables were full. It was performing the joins on the tables in reverse (vs. the fast plan), which caused a sort to be required. If the joins were done the other way, no sort was required and thus a lot of time was saved. Basically it was a bug in the query optimizer. Although "bug" may be too strong of a word; the query optimizer has to draw the line somewhere in the number of different plans it checks or it would never finish. Since there was no way around it, the guy I was helping finally decided on writing a routine to empty the table, perform the query, then fill the table back up. As long as the query was not resaved, the fast execution plan was always used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 7:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where to place a filter There is more to the story, which leaves me completely confused. In the process of fixing the problem, I had dropped the AgencyID FK from the tblChild table and pulled in the AgencyID PK from tblAgency, and then applied the filter to the AgencyID PK. To do further testing I then pulled in the FK from the tblChild table again and moved the filter back to that FK field and the speed was still 3 seconds! To summarize, I had an extremely slow query. I discovered that if I simply pulled the PK from the tblAgency and applied the filter to that (dropping the FK AgencyID from the tblChild out of the query in the process) the query went from 3 minutes down to 3 seconds. However when I pulled the AgencyID FK back out of the tblChild and reapplied the filter to the FK, the query time remained at 3 seconds. Hmmmm..... It certainly sounds like something about the query was saved in the background, and whatever that something was it was corrupted or something. Changing the query by pulling the PK and applying the filter to that, dropping the FK in the process, perhaps caused something in the background to be corrected. I dunno. I have never seen anything like this before. Sadly it means I cannot necessarily look for speedups in my existing database by moving a filter from an FK to the corresponding PK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 30 23:10:33 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 21:10:33 -0800 Subject: [AccessD] OT: Splitting a PDF file Message-ID: <013201c71507$07e3ea40$6401a8c0@HAL9005> Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky From darrend at nimble.com.au Thu Nov 30 23:26:03 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 1 Dec 2006 16:26:03 +1100 Subject: [AccessD] OT: Splitting a PDF file In-Reply-To: <013201c71507$07e3ea40$6401a8c0@HAL9005> Message-ID: <004601c71509$33206b00$111b910a@DENZILLAP> Hi Rocky Just a way out suggestion Get PDF995 from PDF995.com (it's a free PDF writer) then 'print' pages 1 - 23 or whatever to the PDF995 'printer' That should create a new 23 page PDF file HTH See ya Darren ------------------ -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, 1 December 2006 4:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Splitting a PDF file Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Wed Nov 1 02:09:20 2006 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 1 Nov 2006 08:09:20 +0000 Subject: [AccessD] Raid controller In-Reply-To: <000601c6fd28$9e622870$657aa8c0@m6805> References: <000601c6fd28$9e622870$657aa8c0@m6805> Message-ID: Hi John, And do you host your motherboard in the case also, or just the disks? In fact, is that even possible to have the main PC (and controller) in one box and the disks in a remote box? You mention that the two power supplies are not included. So, does that mean that you are only using one? Surely you must be near the capacity of the PSU? Anyway, I am sitting in Ireland in admiration of your big disk ;) wishing I had only like that. Mark On 31/10/06, JWColby wrote: > > Mark, > > This is a Lian Li case: > > http://www.newegg.com/product/product.asp?item=N82E16811112108 > > It has dedicated space for 12 3.5" disks down in the bottom of the case as > well as two power supplies (not included). There is also space for SEVEN > 5.25" drives up in the front of the case, forward of the > motherboard. This > case is... shall we say "large". > > I really like the case. > > 8~) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, October 31, 2006 12:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Raid controller > > Hi John, > > What kind of box are you hosting the disks in, seven disks is quite a few, > especially if you have a CD drive or two also. > > Do you have a seperate tower just for disks? or does your existing case > have enough space? > > Congrats on the controller and disks, sounds great, > > > Mark > > > > > On 31/10/06, William Hindman wrote: > > > > ...thanks for the tip JC ...as a matter of fact I was about to look > > into just that for a client :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "JWColby" > > To: "'Access Developers discussion and problem solving'" > > ; "'Discussion of Hardware and Software > > issues'" ; > > > > Sent: Monday, October 30, 2006 9:00 PM > > Subject: [AccessD] Raid controller > > > > > > >I purchased an Areca 1220 SATA 8 disk raid controller, with (7) > > >Seagate > > >10.1 > > > 320 gb hard disks to create a raid system with. One of the disks > > >was damaged and had to be RMAd. I went ahead and created a Raid 5 > > >array > > using > > > the 6 remaining drives. This gave me about 1.0 terra bytes on one > > volume > > > and about 370 gb on another volume, both Raid 5. I just received > > > the > > RMAd > > > drive back, popped it in, added it to the array and told the > > > controller > > to > > > convert to Raid 6 for both volumes. That was early this afternoon, > > > and the controller has finished the conversion of the large array to > > > Raid 6 and > > is > > > about 50% finished converting the smaller array to Raid 6, all > > > consuming ZERO CPU and doing so while I was using the arrays pretty > > > heavily. The controller is also very fast. Raid 5/6 writes are > > > about the speed of > > the > > > individual drives and reads are much faster (~raid 0 speed according > > > to > > > Areca) > > > > > > These disks are about $95 from Newegg and can be purchased with free > > > shipping if you keep your eyes open so that is a real $95 / disk. > > > This particular controller is currently about $500. This made my > > > actual cost about $1200 for 1400gb in a Raid 6 config. > > > > > > Someday I hope that the Seagate 10.1 750 gb drives drop into this > > > price range in which case I will upgrade. ATM those drives are > > > about > > $375-$400 > > > each which makes them out of my range. > > > > > > I am impressed with this Areca controller which is the point of this > > > email. > > > Areca makes controllers that handle various numbers of disks. The > > > controller uses a PCI-X8 connection to the CPU so you must have a > > > PCI-X capable motherboard. > > > > > > If you need more disks, they also have a 12, 16 and 24 disk > > > controller, for more money of course. > > > > > > Nice controller so far! > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Nov 1 06:57:04 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 1 Nov 2006 07:57:04 -0500 Subject: [AccessD] Raid controller In-Reply-To: Message-ID: <002801c6fdb5$3b6f0fc0$657aa8c0@m6805> Mark, The case comes without any power supply, you purchase and install whatever PS you desire. Apparently there are supplies that have a cable between them such that they "hot fail over" in case a PS dies? Or something. I purchased this PS for the system: http://www.newegg.com/Product/Product.asp?Item=N82E16817121012 It is a six hundred watt supply and appears to supply plenty of current for everything. I did have to get splitters to get that many (and more) power connectors for SATA. The PS manufacturers haven't quite caught up to reality yet and still provide most of their connections for the old style IDE drive power. Anyway, yes, the motherboard is in that chassis as well. It is just a normal, if rather oversized chassis. It has 4 120 mm fans included and keeps everything well ventilated. A very nice case. As for the "big disk", it is indeed nice. These 320gb Seagates are cheap, at least here in the states. At $95 each delivered to my door, they are the lowest price / mb around, the issue is getting them all put together into a solidly functioning raid array. I purchased this ASUS motherboard for the system: http://www.newegg.com/Product/Product.asp?Item=N82E16813131011 Which to be honest I am not thrilled with. It works fine but it turns out that the MB manufacturers in general focus on "enthusiasts" which equates to gamers, intent on over clocking. I need other things, like a stable, FAST raid 5 (at least) array. The Raid controller on this MB just doesn't work. I got Raid 5 going and I managed to get it stable, but it was dog slow, down around 5 mbytes / sec write time which is unusable. That is why I went looking for the raid card solution. The Areca is expensive but it is very fast. It has a dedicated Intel processor and about 128 mbytes of ram on the raid card so the card itself handles all of the overhead of generating the Raid striping stuff. It is really too bad it is so expensive, though they are marketing to IT admins with a budget (not me ;-). I would have gone with the 12 or even the 16 disk controller but the extra $450 just wasn't there, and since I didn't have to have it now... The nice thing is that it just worked. I plugged it in, plugged the drives in, booted up, went in the bios and created the drive, waited several hours while it initialized and then it all just worked. And FAST! Writes up around 80 mbytes / sec and reads up around 300 mbytes / sec. This thing is a screamer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, November 01, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raid controller Hi John, And do you host your motherboard in the case also, or just the disks? In fact, is that even possible to have the main PC (and controller) in one box and the disks in a remote box? You mention that the two power supplies are not included. So, does that mean that you are only using one? Surely you must be near the capacity of the PSU? Anyway, I am sitting in Ireland in admiration of your big disk ;) wishing I had only like that. Mark On 31/10/06, JWColby wrote: > > Mark, > > This is a Lian Li case: > > http://www.newegg.com/product/product.asp?item=N82E16811112108 > > It has dedicated space for 12 3.5" disks down in the bottom of the > case as well as two power supplies (not included). There is also > space for SEVEN 5.25" drives up in the front of the case, forward of > the motherboard. This case is... shall we say "large". > > I really like the case. > > 8~) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, October 31, 2006 12:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Raid controller > > Hi John, > > What kind of box are you hosting the disks in, seven disks is quite a > few, especially if you have a CD drive or two also. > > Do you have a seperate tower just for disks? or does your existing > case have enough space? > > Congrats on the controller and disks, sounds great, > > > Mark > > > > > On 31/10/06, William Hindman wrote: > > > > ...thanks for the tip JC ...as a matter of fact I was about to look > > into just that for a client :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "JWColby" > > To: "'Access Developers discussion and problem solving'" > > ; "'Discussion of Hardware and > > Software issues'" ; > > > > Sent: Monday, October 30, 2006 9:00 PM > > Subject: [AccessD] Raid controller > > > > > > >I purchased an Areca 1220 SATA 8 disk raid controller, with (7) > > >Seagate > > >10.1 > > > 320 gb hard disks to create a raid system with. One of the disks > > >was damaged and had to be RMAd. I went ahead and created a Raid 5 > > >array > > using > > > the 6 remaining drives. This gave me about 1.0 terra bytes on one > > volume > > > and about 370 gb on another volume, both Raid 5. I just received > > > the > > RMAd > > > drive back, popped it in, added it to the array and told the > > > controller > > to > > > convert to Raid 6 for both volumes. That was early this > > > afternoon, and the controller has finished the conversion of the > > > large array to Raid 6 and > > is > > > about 50% finished converting the smaller array to Raid 6, all > > > consuming ZERO CPU and doing so while I was using the arrays > > > pretty heavily. The controller is also very fast. Raid 5/6 > > > writes are about the speed of > > the > > > individual drives and reads are much faster (~raid 0 speed > > > according to > > > Areca) > > > > > > These disks are about $95 from Newegg and can be purchased with > > > free shipping if you keep your eyes open so that is a real $95 / disk. > > > This particular controller is currently about $500. This made my > > > actual cost about $1200 for 1400gb in a Raid 6 config. > > > > > > Someday I hope that the Seagate 10.1 750 gb drives drop into this > > > price range in which case I will upgrade. ATM those drives are > > > about > > $375-$400 > > > each which makes them out of my range. > > > > > > I am impressed with this Areca controller which is the point of > > > this email. > > > Areca makes controllers that handle various numbers of disks. The > > > controller uses a PCI-X8 connection to the CPU so you must have a > > > PCI-X capable motherboard. > > > > > > If you need more disks, they also have a 12, 16 and 24 disk > > > controller, for more money of course. > > > > > > Nice controller so far! > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 1 08:46:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 01 Nov 2006 15:46:03 +0100 Subject: [AccessD] Limit Text in Field Message-ID: Hi Arthur Oh, this _is_ a big deal and I'm glad you brought attention to it. An application should be user-friendly. /gustav >>> artful at rogers.com 01-11-2006 05:16 >>> Slick. My only criticism is that it waits for the user to go too far, rather than cautioning the user that he is about to go too far. (I tend toward guiding users to correctness rather than busting them for errors.) Perhaps your code could be modified to write the [length] + " of 255 characters allowed" to the status bar, so the user anticipates the error rather than commits it. Not a big deal. I like your solution. One of my mantras is, "Make the user feel like a dancer." That means preclude error to the best of my ability, and then of course deal with it should it occur. A. ----- Original Message ---- From: John Bartow To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 1:12:03 PM Subject: Re: [AccessD] Limit Text in Field Hi Virginia, FWIW, here's the on change event procedure that I use with a fax form on which the "regarding" line field (Text 255) is not long enough for a huge description but the txtMessage field (Memo) is: Private Sub txtRegarding_Change() 'Comment: prevents user form adding too much text to the regarding line On Error GoTo Form_Open_ERR If Len(Me.txtRegarding.Text) > 255 Then MsgBox "The regarding line can only contain 255 characters, " & _ "please use the message box for longer text." Me.txtRegarding.Text = Left(Me.txtRegarding.Text, 255) End If Form_Open_EXIT: Exit Sub Form_Open_ERR: MsgBox Err.Description Resume Form_Open_EXIT End Sub HTH John B. From Gustav at cactus.dk Wed Nov 1 09:22:27 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 01 Nov 2006 16:22:27 +0100 Subject: [AccessD] checkbox concatenation Message-ID: Hi William Sorry for the incomplete comment. Of course you can do bitmapping in Access VBA, even in SQL, it is just not very fast as you miss a bitmapped index to search on - that's what Cach? (as one example) has. For some inspiration on SQL code, read up the message "Math problem" of 2003-10-15: http://databaseadvisors.com/mailman/htdig/accessd/2003-October/014778.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 21:08 >>> ...oh come on guys! ...first its my dictionary and if I say it grows logarithmically then that's what it does, eh. ...geometrically! ...balderdash, I say ...where is Charlotte when we need her to maintain discipline? :) ...and then both Gustav and Jim do more than hint that good old Access isn't up to bit mapping this :( ...and of course Stuart takes a gratuitous swing at my joins ...see above ...its MY join, eh! ...sheesh ...if this were the old AccessD ...long before daddyhood mellowed the hell out of JC, I'd just have him Colbyize the lot of you! ...and here I am, still as dazed and confused as when I first posted ...early Alzheimer's anyone? ...thanks :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 31, 2006 1:46 PM Subject: Re: [AccessD] checkbox concatenation ...and a further comment: If the table was growing *logarithmically*, William would be delighted! The problem is that it is growing *geometrically*. Reading the Cache doc, a bitmap index may just do the trick, especially as the max number of events is probably not that large. Since this is a sparse array problem, it may also work well with an R-tree (as found in PostgreSQL). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 31, 2006 9:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkbox concatenation Hi William That would require an engine capable of bit-mapped indexing and searching. At least one can do this, InterSystems Cach?: http://www.intersystems.com/cache/ http://www.intersystems.com/cache/technology/components/bitmap/index.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 15:47:51 >>> ...given four tables tblContact pk ContactID fk CompanyId tblCompany pk CompanyID tbEvent pk EventID tblEventReg pkERID fk EventID fk CompanyD fk ContactID ...tblEventRegistration is a join table to show which contacts from which companies attended which events. ...given that thousands of contacts attend each event, tblEventReg is growing logarithmically Q: is it feasible to use a numeric field in the tblContacts to replace tblEventReg by using event checkboxes instead, assigning them a numeric value by show and then mathematically summing them in the numeric field ...thus using one integer to represent every event attended by that contact? ...yes/no? ...pros/cons? William Hindman From Gustav at cactus.dk Wed Nov 1 09:39:16 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 01 Nov 2006 16:39:16 +0100 Subject: [AccessD] Posters from Microsoft Message-ID: Hi all Yes, posters: - Developer Roadmap for the 2007 Microsoft Office System. Download this poster to view a developer roadmap for the 2007 Microsoft Office system programs, tools, services, and servers. - Microsoft Office InfoPath 2007 Managed Object Model Poster. Download this poster and get a deep dive into some of the new and enhanced objects in the InfoPath 2007 managed object model. - Developer Map for SharePoint Products and Technologies Poster. Download this poster and discover the developer roadmap for Microsoft SharePoint Products and Technologies. http://www.microsoft.com/downloads/details.aspx?familyid=771aeb45-9d27-4d1f-acd1-9b950637d64e&displaylang=en#filelist /gustav From jwcolby at colbyconsulting.com Wed Nov 1 09:48:00 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 1 Nov 2006 10:48:00 -0500 Subject: [AccessD] checkbox concatenation In-Reply-To: Message-ID: <002f01c6fdcd$1cdbd5d0$657aa8c0@m6805> LOL. You must forget what daddyhood is like William. Mellowing it is not! Out the door without a parachute I say. Back to your problem, what is the issue, simply the size of the eventreg table? Is it up in the millions of records? Hundreds of millions? It seems unlikely that it really matters as long as it is properly indexed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 01, 2006 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkbox concatenation Hi William Sorry for the incomplete comment. Of course you can do bitmapping in Access VBA, even in SQL, it is just not very fast as you miss a bitmapped index to search on - that's what Cach? (as one example) has. For some inspiration on SQL code, read up the message "Math problem" of 2003-10-15: http://databaseadvisors.com/mailman/htdig/accessd/2003-October/014778.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 21:08 >>> ...oh come on guys! ...first its my dictionary and if I say it grows logarithmically then that's what it does, eh. ...geometrically! ...balderdash, I say ...where is Charlotte when we need her to maintain discipline? :) ...and then both Gustav and Jim do more than hint that good old Access isn't up to bit mapping this :( ...and of course Stuart takes a gratuitous swing at my joins ...see above ...its MY join, eh! ...sheesh ...if this were the old AccessD ...long before daddyhood mellowed the hell out of JC, I'd just have him Colbyize the lot of you! ...and here I am, still as dazed and confused as when I first posted ...early Alzheimer's anyone? ...thanks :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 31, 2006 1:46 PM Subject: Re: [AccessD] checkbox concatenation ...and a further comment: If the table was growing *logarithmically*, William would be delighted! The problem is that it is growing *geometrically*. Reading the Cache doc, a bitmap index may just do the trick, especially as the max number of events is probably not that large. Since this is a sparse array problem, it may also work well with an R-tree (as found in PostgreSQL). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 31, 2006 9:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkbox concatenation Hi William That would require an engine capable of bit-mapped indexing and searching. At least one can do this, InterSystems Cach?: http://www.intersystems.com/cache/ http://www.intersystems.com/cache/technology/components/bitmap/index.html /gustav >>> wdhindman at dejpolsystems.com 31-10-2006 15:47:51 >>> ...given four tables tblContact pk ContactID fk CompanyId tblCompany pk CompanyID tbEvent pk EventID tblEventReg pkERID fk EventID fk CompanyD fk ContactID ...tblEventRegistration is a join table to show which contacts from which companies attended which events. ...given that thousands of contacts attend each event, tblEventReg is growing logarithmically Q: is it feasible to use a numeric field in the tblContacts to replace tblEventReg by using event checkboxes instead, assigning them a numeric value by show and then mathematically summing them in the numeric field ...thus using one integer to represent every event attended by that contact? ...yes/no? ...pros/cons? William Hindman -- 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 1 10:16:48 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Nov 2006 08:16:48 -0800 Subject: [AccessD] Ideas wanted for Office project requirements In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116AC6A@ddi-01.DDI.local> Message-ID: I rebuilt a system somewhat like that a few years back for the US Bureau of Reclamation. They produced a report annually (well, it was SUPPOSED to be annually) by extracting data from a mainframe dumping it into Excel, copying and pasting into a Word doc and then (theoretically) totalling the whole thing up and printing an 80+ page report as mandated by statute. You'd be better off giving the managers a run-time Access app to enter their data, with a button to push to transmit it to a central location. Of course, it would be better if they simply linked to a central back end, but I'm assuming for the moment that isn't feasible. Then you need a single app to import the data and redistribute it into the appropriate tables. Then just create the report in Access or do a merge with Word if you want pretty formatting. You could certainly do it using Office automation, but you would never have the central data store at hand should a report need tweaking, and you would have to find a way to cross-foot and validate any values month by month. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Tuesday, October 31, 2006 6:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ideas wanted for Office project requirements Hi all, Slightly OT. I have a client who wants to automate a report writing process. Currently they have about 30 managers who once a month send either a Excel workbook or Word doc to some lucky person. He/she then extracts the contents of each file and pastes it into a Word doc to be made into a report. I don't do much with Office these days so maybe someone will have an easy solution??? Step 1 My favoured idea so far is to create a Com-addin for Word/Excel that will take selected text/objects and paste them into a blank file, the copy the file to a file share. Step 2 the person who collates the files has another addin that loops through the contents of the share dir and opens and copies the contents into fields/bookmarks(?) in a Word doc. A 3rd component may be needed to sync the whole schmoozle. I wonder how sturdy a process like this would be... All responses welcome (except abuse... lol) cheers Michael M -- 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 1 11:34:05 2006 From: john at winhaven.net (John Bartow) Date: Wed, 1 Nov 2006 11:34:05 -0600 Subject: [AccessD] A2k3 system.mdw In-Reply-To: <021101c6fd0e$16570910$1402a8c0@ScuzzPaq> Message-ID: <008101c6fddb$ee2512b0$1402a8c0@ScuzzPaq> OK then, I guess not. Can someone email me theirs? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, October 31, 2006 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2k3 system.mdw When I open my System.mdw file with A2k3 it asks whether I want to open or convert it. This makes me I think I overwrote my default system.mdw file. I don't use Access's security but I would like to have the correct version on my system. Anyone know an easy way to extract the original form the setup disk? -- 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 1 11:45:52 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Nov 2006 11:45:52 -0600 Subject: [AccessD] A2k3 system.mdw In-Reply-To: <10646833.1162402838723.JavaMail.root@sniper30> Message-ID: <000301c6fddd$93c46800$0200a8c0@danwaters> John, This might be a long shot but you might do a 'Detect and Repair' for Office. It might ask you to install the setup disk. Dan -----Original Message----- Subject: Re: [AccessD] A2k3 system.mdw OK then, I guess not. Can someone email me theirs? -----Original Message----- Subject: [AccessD] A2k3 system.mdw When I open my System.mdw file with A2k3 it asks whether I want to open or convert it. This makes me I think I overwrote my default system.mdw file. I don't use Access's security but I would like to have the correct version on my system. Anyone know an easy way to extract the original form the setup disk? -- From JRojas at tnco-inc.com Wed Nov 1 13:36:52 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 1 Nov 2006 14:36:52 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at the same time Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From gjgiever at myway.com Wed Nov 1 13:45:28 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 1 Nov 2006 14:45:28 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061101194529.06441676B4@mprdmxin.myway.com> Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From askolits at ot.com Wed Nov 1 13:57:28 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 14:57:28 -0500 Subject: [AccessD] Find And Replace In-Reply-To: <20061101194529.06441676B4@mprdmxin.myway.com> Message-ID: <00a101c6fdef$f5de1060$800101df@officexp> Pretty sure he's still in business. He returned an email I sent about 2 months ago. p.s. Great program. I use it practically every day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 01, 2006 2:45 PM To: accessd at databaseadvisors.com Subject: [AccessD] Find And Replace Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- 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 1 14:01:46 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 15:01:46 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at the sametime In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Message-ID: <03d601c6fdf0$92b9b420$6501a8c0@LaptopXP> In the past I have used CHR$(34) for a double quote and CHR$(39) for a single quote. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- 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 1 14:05:20 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 15:05:20 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at the sametime In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Message-ID: <03d901c6fdf1$11c0c6f0$6501a8c0@LaptopXP> Here's an example strText = "1" & chr$(39) & " 5" & chr$(34) In this case strText would return - 1' 5" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- 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 1 14:12:20 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 1 Nov 2006 15:12:20 -0500 Subject: [AccessD] Dealing with single quotes and double quotes at thesametime Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDEC4@ex2k3.corp.tnco-inc.com> Thanks for the reply John, If I were to construct a string using your example: strText = "1" & chr$(39) & " 5" & chr$(34) and then executed a statement of : DoCmd.RunSQL "Update someTable SET fieldname = '" & strText & "' WHERE someField = someValue" Won't this generate an error because the DoCmd.RunSQL will get confused with the mixture of quotes and double quotes? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, November 01, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dealing with single quotes and double quotes at thesametime Here's an example strText = "1" & chr$(39) & " 5" & chr$(34) In this case strText would return - 1' 5" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Nov 1 14:52:26 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Nov 2006 14:52:26 -0600 Subject: [AccessD] Find And Replace Message-ID: If I recall correctly, if was a few days before I got my key emailed to me too (that was a couple of years ago). I might have jogged his elbow with a quick enquiry email. He's a one man band as far as I know, and so may get a bit behind, but it is a great tool, so worth the effort to get it set up. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, November 01, 2006 2:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Find And Replace Pretty sure he's still in business. He returned an email I sent about 2 months ago. p.s. Great program. I use it practically every day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 01, 2006 2:45 PM To: accessd at databaseadvisors.com Subject: [AccessD] Find And Replace Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 1 15:02:13 2006 From: askolits at ot.com (John Skolits) Date: Wed, 1 Nov 2006 16:02:13 -0500 Subject: [AccessD] Dealing with single quotes and double quotes atthesametime In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC4@ex2k3.corp.tnco-inc.com> Message-ID: <03ed01c6fdf9$047fdb90$6501a8c0@LaptopXP> I have to run out so I can' test it, but it should still work. Just try a few different iterations and I'm sure you'll figure it out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dealing with single quotes and double quotes atthesametime Thanks for the reply John, If I were to construct a string using your example: strText = "1" & chr$(39) & " 5" & chr$(34) and then executed a statement of : DoCmd.RunSQL "Update someTable SET fieldname = '" & strText & "' WHERE someField = someValue" Won't this generate an error because the DoCmd.RunSQL will get confused with the mixture of quotes and double quotes? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, November 01, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dealing with single quotes and double quotes at thesametime Here's an example strText = "1" & chr$(39) & " 5" & chr$(34) In this case strText would return - 1' 5" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, November 01, 2006 2:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] Dealing with single quotes and double quotes at the sametime Hello, If I construct a string in VBA that contains the following string: 1' 5" How could I update a field using DoCmd.RunSQL? I know how to handle this if the string only contains a single quote OR a double quote but not if the string contains both. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gjgiever at myway.com Wed Nov 1 15:27:24 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 1 Nov 2006 16:27:24 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061101212724.BDE7B99DFD@mprdmxin.myway.com> Thanks. I shall be patient. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Wed 11/01, Heenan, Lambert < Lambert.Heenan at aig.com > wrote: From: Heenan, Lambert [mailto: Lambert.Heenan at aig.com] To: accessd at databaseadvisors.com Date: Wed, 1 Nov 2006 14:52:26 -0600 Subject: Re: [AccessD] Find And Replace If I recall correctly, if was a few days before I got my key emailed to metoo (that was a couple of years ago). I might have jogged his elbow with aquick enquiry email.He's a one man band as far as I know, and so may get a bit behind, but it isa great tool, so worth the effort to get it set up.Lambert-----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John SkolitsSent: Wednesday, November 01, 2006 2:57 PMTo: 'Access Developers discussion and problem solving'Subject: Re: [AccessD] Find And ReplacePretty sure he's still in business. He returned an email I sent about 2months ago.p.s. Great program. I use it practically every day. -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 01, 2006 2:45 PMTo: accessd at databaseadvisors.comSubject: [AccessD] Find And ReplaceLast week someone here recommended Rick Fisher's Find And Replace. I checkit out, liked it and emailed my registration last Monday morning. Usually,with this kind of transaction, I get a response with a registration numberwithin an hour or so, but it has been more than two days and I have yet tohear from him. Does anyone know if he is still in business? Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From dw-murphy at cox.net Wed Nov 1 15:38:48 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 1 Nov 2006 13:38:48 -0800 Subject: [AccessD] Find And Replace In-Reply-To: <20061101194529.06441676B4@mprdmxin.myway.com> Message-ID: <002301c6fdfe$1d5d4490$0200a8c0@murphy3234aaf1> Gary, I purchased it last week for Access 2003 and got an email response the same day. You might want to check with Rick to make sure he received your info. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 01, 2006 11:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Find And Replace Last week someone here recommended Rick Fisher's Find And Replace. I check it out, liked it and emailed my registration last Monday morning. Usually, with this kind of transaction, I get a response with a registration number within an hour or so, but it has been more than two days and I have yet to hear from him. Does anyone know if he is still in business? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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 1 15:58:52 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Nov 2006 07:58:52 +1000 Subject: [AccessD] Dealing with single quotes and double quotes at the same time In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> References: <758E92433C4F3740B67BE4DD369AF5772EDEC3@ex2k3.corp.tnco-inc.com> Message-ID: <4549189C.13025.12987464@stuart.lexacorp.com.pg> On 1 Nov 2006 at 14:36, Joe Rojas wrote: > Hello, > > If I construct a string in VBA that contains the following string: > 1' 5" > > How could I update a field using DoCmd.RunSQL? > I know how to handle this if the string only contains a single quote OR a > double quote but not if the string contains both. Escape both quotes by doubling them. Following example has extra spaces to show it more clearly, there shouldn't be any spaces between any of the quotes.: strSQL = " Set myfield = ' 1 ' ' 5 " " ' " -- Stuart From stuart at lexacorp.com.pg Wed Nov 1 16:07:59 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 02 Nov 2006 08:07:59 +1000 Subject: [AccessD] Posters from Microsoft In-Reply-To: References: Message-ID: <45491ABF.1678.12A0CE06@stuart.lexacorp.com.pg> On 1 Nov 2006 at 16:39, Gustav Brock wrote: > - Developer Roadmap for the 2007 Microsoft Office System. > Download this poster to view a developer roadmap for the 2007 Microsoft > Office system programs, tools, services, and servers. > Why the f... would they wrap a single 600KB PDF file in a full installer exe? But then I guess that's farily standard for MS - just add totally unnecessary bloat to everything :-( -- Stuart From michael at ddisolutions.com.au Wed Nov 1 16:36:14 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 2 Nov 2006 09:36:14 +1100 Subject: [AccessD] Ideas wanted for Office project requirements Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC70@ddi-01.DDI.local> Thanks Charlotte, They are also looking at Sharepoint as an option. I think they just want to know what options they have. I initially proposed a database solution, we also have a live system that collates various data from multiple sources to create a govt dept annual report. We could have adapted that but they didn't seem interested. I put a nice high price on it so we'll see what happens ;-))) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 2 November 2006 3:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ideas wanted for Office project requirements I rebuilt a system somewhat like that a few years back for the US Bureau of Reclamation. They produced a report annually (well, it was SUPPOSED to be annually) by extracting data from a mainframe dumping it into Excel, copying and pasting into a Word doc and then (theoretically) totalling the whole thing up and printing an 80+ page report as mandated by statute. You'd be better off giving the managers a run-time Access app to enter their data, with a button to push to transmit it to a central location. Of course, it would be better if they simply linked to a central back end, but I'm assuming for the moment that isn't feasible. Then you need a single app to import the data and redistribute it into the appropriate tables. Then just create the report in Access or do a merge with Word if you want pretty formatting. You could certainly do it using Office automation, but you would never have the central data store at hand should a report need tweaking, and you would have to find a way to cross-foot and validate any values month by month. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Tuesday, October 31, 2006 6:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ideas wanted for Office project requirements Hi all, Slightly OT. I have a client who wants to automate a report writing process. Currently they have about 30 managers who once a month send either a Excel workbook or Word doc to some lucky person. He/she then extracts the contents of each file and pastes it into a Word doc to be made into a report. I don't do much with Office these days so maybe someone will have an easy solution??? Step 1 My favoured idea so far is to create a Com-addin for Word/Excel that will take selected text/objects and paste them into a blank file, the copy the file to a file share. Step 2 the person who collates the files has another addin that loops through the contents of the share dir and opens and copies the contents into fields/bookmarks(?) in a Word doc. A 3rd component may be needed to sync the whole schmoozle. I wonder how sturdy a process like this would be... All responses welcome (except abuse... lol) cheers Michael M -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Nov 1 23:05:34 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Nov 2006 00:05:34 -0500 Subject: [AccessD] Ideas wanted for Office project requirements References: <59A61174B1F5B54B97FD4ADDE71E7D0116AC70@ddi-01.DDI.local> Message-ID: <022d01c6fe3c$8796fcf0$3e3de844@50NM721> Michael ...I've done something similar using an RTF ocx from lebans site ...each of the individual reports is actually an rtf formatted text field in a table in the be mdb ...each user only sees the portions they are responsible for ...the final product is a pretty simple report assembling and formatting the individual rtf records. ...the rtf format gives the user most of Word's text formatting abilities while retaining the advantages of a database and Access' capable report writer ...user response has been very positive. William Hindman ----- Original Message ----- From: "Michael Maddison" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 01, 2006 5:36 PM Subject: Re: [AccessD] Ideas wanted for Office project requirements > Thanks Charlotte, > > They are also looking at Sharepoint as an option. > I think they just want to know what options they have. > I initially proposed a database solution, we also have a live system > that collates various data > from multiple sources to create a govt dept annual report. We could > have adapted that but > they didn't seem interested. > > I put a nice high price on it so we'll see what happens ;-))) > > cheers > > Michael M > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, 2 November 2006 3:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > I rebuilt a system somewhat like that a few years back for the US Bureau > of Reclamation. They produced a report annually (well, it was SUPPOSED > to be annually) by extracting data from a mainframe dumping it into > Excel, copying and pasting into a Word doc and then (theoretically) > totalling the whole thing up and printing an 80+ page report as mandated > by statute. You'd be better off giving the managers a run-time Access > app to enter their data, with a button to push to transmit it to a > central location. Of course, it would be better if they simply linked > to a central back end, but I'm assuming for the moment that isn't > feasible. Then you need a single app to import the data and > redistribute it into the appropriate tables. Then just create the > report in Access or do a merge with Word if you want pretty formatting. > > You could certainly do it using Office automation, but you would never > have the central data store at hand should a report need tweaking, and > you would have to find a way to cross-foot and validate any values month > by month. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael > Maddison > Sent: Tuesday, October 31, 2006 6:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Ideas wanted for Office project requirements > > Hi all, > > Slightly OT. > > I have a client who wants to automate a report writing process. > > Currently they have about 30 managers who once a month send either a > Excel workbook or Word doc to some lucky person. He/she then extracts > the contents of each file and pastes it into a Word doc to be made into > a report. > > I don't do much with Office these days so maybe someone will have an > easy solution??? > > Step 1 > My favoured idea so far is to create a Com-addin for Word/Excel that > will take selected text/objects and paste them into a blank file, the > copy the file to a file share. > > Step 2 the person who collates the files has another addin that loops > through the contents of the share dir and opens and copies the contents > into fields/bookmarks(?) in a Word doc. > > A 3rd component may be needed to sync the whole schmoozle. > > > I wonder how sturdy a process like this would be... > > All responses welcome (except abuse... lol) > > cheers > > > > Michael M > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael at ddisolutions.com.au Wed Nov 1 23:36:48 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 2 Nov 2006 16:36:48 +1100 Subject: [AccessD] Ideas wanted for Office project requirements Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC75@ddi-01.DDI.local> Hi William, Unfortunately they insist on embedding charts and Excel data in the final report. I don't think rtf can handle that can it? If it does it would make the process a bit less unwieldy, much easier to move data around rather then a bunch files. cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, 2 November 2006 4:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ideas wanted for Office project requirements Michael ...I've done something similar using an RTF ocx from lebans site ...each of the individual reports is actually an rtf formatted text field in a table in the be mdb ...each user only sees the portions they are responsible for ...the final product is a pretty simple report assembling and formatting the individual rtf records. ...the rtf format gives the user most of Word's text formatting abilities while retaining the advantages of a database and Access' capable report writer ...user response has been very positive. William Hindman ----- Original Message ----- From: "Michael Maddison" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 01, 2006 5:36 PM Subject: Re: [AccessD] Ideas wanted for Office project requirements > Thanks Charlotte, > > They are also looking at Sharepoint as an option. > I think they just want to know what options they have. > I initially proposed a database solution, we also have a live system > that collates various data > from multiple sources to create a govt dept annual report. We could > have adapted that but > they didn't seem interested. > > I put a nice high price on it so we'll see what happens ;-))) > > cheers > > Michael M > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, 2 November 2006 3:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > I rebuilt a system somewhat like that a few years back for the US Bureau > of Reclamation. They produced a report annually (well, it was SUPPOSED > to be annually) by extracting data from a mainframe dumping it into > Excel, copying and pasting into a Word doc and then (theoretically) > totalling the whole thing up and printing an 80+ page report as mandated > by statute. You'd be better off giving the managers a run-time Access > app to enter their data, with a button to push to transmit it to a > central location. Of course, it would be better if they simply linked > to a central back end, but I'm assuming for the moment that isn't > feasible. Then you need a single app to import the data and > redistribute it into the appropriate tables. Then just create the > report in Access or do a merge with Word if you want pretty formatting. > > You could certainly do it using Office automation, but you would never > have the central data store at hand should a report need tweaking, and > you would have to find a way to cross-foot and validate any values month > by month. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael > Maddison > Sent: Tuesday, October 31, 2006 6:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Ideas wanted for Office project requirements > > Hi all, > > Slightly OT. > > I have a client who wants to automate a report writing process. > > Currently they have about 30 managers who once a month send either a > Excel workbook or Word doc to some lucky person. He/she then extracts > the contents of each file and pastes it into a Word doc to be made into > a report. > > I don't do much with Office these days so maybe someone will have an > easy solution??? > > Step 1 > My favoured idea so far is to create a Com-addin for Word/Excel that > will take selected text/objects and paste them into a blank file, the > copy the file to a file share. > > Step 2 the person who collates the files has another addin that loops > through the contents of the share dir and opens and copies the contents > into fields/bookmarks(?) in a Word doc. > > A 3rd component may be needed to sync the whole schmoozle. > > > I wonder how sturdy a process like this would be... > > All responses welcome (except abuse... lol) > > cheers > > > > Michael M > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 2 00:35:51 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Nov 2006 01:35:51 -0500 Subject: [AccessD] Ideas wanted for Office project requirements References: <59A61174B1F5B54B97FD4ADDE71E7D0116AC75@ddi-01.DDI.local> Message-ID: <024901c6fe49$24bfb8d0$3e3de844@50NM721> ...I use subreports to handle very limited charts ...it works within the limitations of the Access report engine ...but if you mean actually embedding them so that they can be edited in Excel then of course Access won't let you do that afaik ...although you can embed urls in the rtf so that a separate edit window could be opened and then update the sub reports. ...I believe you can also import an Excel file into Access and then output it as rtf although I've not done that myself ...if you can convert it to rtf in that way you may well be able to stuff the results into a table field as rtf text data ...might be worth experimenting with ...rtf does support tabs which are roughly equivalent to columns so it at least sounds feasible. ...you may also want to look at what you can do with adobe's PDF writer William Hindman ----- Original Message ----- From: "Michael Maddison" To: "Access Developers discussion and problem solving" Sent: Thursday, November 02, 2006 12:36 AM Subject: Re: [AccessD] Ideas wanted for Office project requirements > Hi William, > > Unfortunately they insist on embedding charts and Excel data in the > final report. > I don't think rtf can handle that can it? > If it does it would make the process a bit less unwieldy, much easier to > move > data around rather then a bunch files. > > cheers > > Michael M > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, 2 November 2006 4:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > Michael > > ...I've done something similar using an RTF ocx from lebans site ...each > of the individual reports is actually an rtf formatted text field in a > table in the be mdb ...each user only sees the portions they are > responsible for ...the final product is a pretty simple report > assembling and formatting the individual rtf records. > > ...the rtf format gives the user most of Word's text formatting > abilities while retaining the advantages of a database and Access' > capable report writer ...user response has been very positive. > > William Hindman > > ----- Original Message ----- > From: "Michael Maddison" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 01, 2006 5:36 PM > Subject: Re: [AccessD] Ideas wanted for Office project requirements > > >> Thanks Charlotte, >> >> They are also looking at Sharepoint as an option. >> I think they just want to know what options they have. >> I initially proposed a database solution, we also have a live system >> that collates various data >> from multiple sources to create a govt dept annual report. We could >> have adapted that but >> they didn't seem interested. >> >> I put a nice high price on it so we'll see what happens ;-))) >> >> cheers >> >> Michael M >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Thursday, 2 November 2006 3:17 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Ideas wanted for Office project requirements >> >> I rebuilt a system somewhat like that a few years back for the US > Bureau >> of Reclamation. They produced a report annually (well, it was > SUPPOSED >> to be annually) by extracting data from a mainframe dumping it into >> Excel, copying and pasting into a Word doc and then (theoretically) >> totalling the whole thing up and printing an 80+ page report as > mandated >> by statute. You'd be better off giving the managers a run-time Access >> app to enter their data, with a button to push to transmit it to a >> central location. Of course, it would be better if they simply linked >> to a central back end, but I'm assuming for the moment that isn't >> feasible. Then you need a single app to import the data and >> redistribute it into the appropriate tables. Then just create the >> report in Access or do a merge with Word if you want pretty > formatting. >> >> You could certainly do it using Office automation, but you would never >> have the central data store at hand should a report need tweaking, and >> you would have to find a way to cross-foot and validate any values > month >> by month. >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael >> Maddison >> Sent: Tuesday, October 31, 2006 6:31 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Ideas wanted for Office project requirements >> >> Hi all, >> >> Slightly OT. >> >> I have a client who wants to automate a report writing process. >> >> Currently they have about 30 managers who once a month send either a >> Excel workbook or Word doc to some lucky person. He/she then extracts >> the contents of each file and pastes it into a Word doc to be made > into >> a report. >> >> I don't do much with Office these days so maybe someone will have an >> easy solution??? >> >> Step 1 >> My favoured idea so far is to create a Com-addin for Word/Excel that >> will take selected text/objects and paste them into a blank file, the >> copy the file to a file share. >> >> Step 2 the person who collates the files has another addin that loops >> through the contents of the share dir and opens and copies the > contents >> into fields/bookmarks(?) in a Word doc. >> >> A 3rd component may be needed to sync the whole schmoozle. >> >> >> I wonder how sturdy a process like this would be... >> >> All responses welcome (except abuse... lol) >> >> cheers >> >> >> >> Michael M >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gjgiever at myway.com Thu Nov 2 06:23:29 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Thu, 2 Nov 2006 07:23:29 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061102122329.E9EB87E45A@mprdmxin.myway.com> Thanks for the info. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Wed 11/01, Doug Murphy < dw-murphy at cox.net > wrote: From: Doug Murphy [mailto: dw-murphy at cox.net] To: accessd at databaseadvisors.com Date: Wed, 1 Nov 2006 13:38:48 -0800 Subject: Re: [AccessD] Find And Replace Gary,I purchased it last week for Access 2003 and got an email response the sameday. You might want to check with Rick to make sure he received your info.Doug -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 01, 2006 11:45 AMTo: accessd at databaseadvisors.comSubject: [AccessD] Find And ReplaceLast week someone here recommended Rick Fisher's Find And Replace. I checkit out, liked it and emailed my registration last Monday morning. Usually,with this kind of transaction, I get a response with a registration numberwithin an hour or so, but it has been more than two days and I have yet tohear from him. Does anyone know if he is still in business? Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com--AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From jwcolby at colbyconsulting.com Thu Nov 2 09:16:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 2 Nov 2006 10:16:06 -0500 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on In-Reply-To: <0J830079Q25MQC10@l-daemon> Message-ID: <005601c6fe91$d27eb4b0$657aa8c0@m6805> Well, nothing ever goes as planned. I own SBS 2003. I started the install which proceeded as smoothly as any of this ever does, which means plenty of "the F6 floppy doesn't work, but it doesn't say that, so spend an hour figuring that out, find the driver on the internet etc.", and "oh I need an active network controller, and what do you mean you have to install a driver disk (right in the middle of the install) to give me that" etc. In the meantime, it gets to some screen where it just informs me that it is installing active directory. >As you are not going, right at the start, into Active Directory (workgroups will work fine), installing Server2003 is as simple as installing XP. So now it appears that I AM installing active directory, whether I need or want it or not. So (from your email) perhaps the install will NOT be as easy as installing XP? I am doing a dual boot, installing SBS2003 to the raid 6 D: drive (might as well use this raid stuff to make the system install more fault tolerant). I just got to a screen where it is asking me what components I want, things like server tools, exchange server, fax service. So what do I need, and will it "just install" or will it ask me questions which I am not prepared to answer? William, you are the one always touting how great SBS is. Any words of wisdom on this? Man I hate this crap! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 01, 2006 10:12 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on Hi John: As you are not going, right at the start, into Active Directory (workgroups will work fine), installing Server2003 is as simple as installing XP.. The whole process tends to be a disk jockey nodding off between switch disk and answering such questions as, "What is your product key" and do you want to install IIS. If I can do it so can you. Server2003 can run multiple instances and processes. It will run applications that will over-load any XP desktop box. It has better isolation so if a program misbehaves it does not bring down the system. I understood you were on the MS partner plan and therefore you should have access to all the servers you can stand. Server 2003 standard or developer is just fine unless you are planning to run virtual and exchange server etc. I have taken the luxury to run Server 2003 as my desktop, one that has never gone down... Well only once and that was my fault... But it is really stable. MS SQL and IIS run as background processes and their impact is hardly noticeable. Sorry if this sounds like a lecture but I am sure your problems can be solved by going this route. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, November 01, 2006 2:52 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on LOL, borderline insanity. I can assure you that I am FULLY insane. Bwaaa haaaa haaaa. I am using SP Pro. SQL Server ran just fine on 2K pro, XP Pro is the 2K Pro base code. Why would it not run on that? I keep hearing that it isn't supposed to, but it does. I can tell you I would be irritated beyond belief if I went to Win 2003 server (which I have but haven't a clue how to install, since this is a desktop machine in the end) and I still had this issue. I actually tried to install 2003 server (in fact I have a disk with the beginnings of the install) and got to questions that implied I was supposed to know what I was doing (and I don't) so how am I supposed to install 2003 so that I can test your theory? I am not a notwork / OS admin, I am a developer. MS themselves push SQL Server lite as a developer tool. If anyone wants to talk me through a 2003 server install I will do that but... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, November 01, 2006 5:19 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on Hi John: I am trying to cover all the bases. The problems initially appears to be with the MS SQL sever setting as they run fairly indendendantly from an OS. If the problem is not in the MS SQL setup, accumulating non responsive results sort of negates the hardware being the issue, then it has to be in the process. If it is absolutely not in the process then it must be in the MS SQL settings. Please tell me you are using server OS as it would be border-line insanity to use a desktop type OS and then I would assure you, without hesitation, that that is the problem. HTH Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, November 01, 2006 12:12 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What is going on Jim, I don't understand what this is doing for me. I have just one data file ATM. I don't know whether that is a good thing or a bad thing. This sounds like the process for creating and then redistributing data amongst multiple files. If you are saying that it is the existence of one huge file that is causing my slowdown, then I can certainly do that. I have to ask if this is as good as it gets with SQL Server. I understand that I am doing stuff with big tables but keerimeny. I started the build of a PKID field on the big table. It tells me that "ansi nulls was not on and it has to rebuild the table" so I do. EM just locks up tight, won't even redraw the screen (blank white) if you switch away and back again. I believe that it is hard at work but folks, this is the age of threads. So I open another instance of EM to work with another table. EM takes several seconds to expand each tree (server, databases, specific database) then when I try to expand the tables, the second instance of EM locks up tight with an hourglass. I mean c'mon. This is 2006, a monster (desktop) system and EM acts as if it is a DOS app from 1986 running on a '286 with 4 megs and swapping memory. The second EM instance has been trying to open the tables icon just to show me what tables are there for 20 minutes now. To say this is discouraging to work with would be an understatement. If this is the best I am going to get I am going to have to look for another database engine to work with. And the most discouraging part is that my dual proc system is cruising along using (average?) well under 25% of the processor while EM is locked up tight. Does SQl Server 2005 fix any of this? Or should I just go look at MySQL or Oracle personal edition. I have to get work done on this database and it is telling me that one job (building a field / index) on one table is all it can handle. And by the looks of it I will be locked out of this database for the next 12 to 24 hours. Hell, ACCESS can do better than this!!! Well, maybe not but SQL Server's rep is taking a beating here. John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 2 09:44:42 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Nov 2006 16:44:42 +0100 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on Message-ID: Hi John I didn't catch your original post, but installing SBS is not "just to do it". Microsoft has training courses in nothing else than this discipline. That said, I'm sure you could handle it following some of the guides around and good advice but at a cost of many hours. However, the install wizard will not know what you want. You have to decide. >From your post it seems like you need only the server OS and SQL Server 2005. That could be established much simpler with "Windows Server 2003 Web Edition" - which is part of your Action Pack - and "SQL Server 2005 Express" which is a free download. For anyone else being tempted by all the fun stuff in SBS, stop for a moment and consider seriously the hard core Web Edition, which really is a piece of cake to install and leaves a totally clean desktop you will love. Also, consider seriously to run this in a virtual machine like the free edition of VMware Virtual Server - which itself runs perfectly on the Web Edition server. For deployment, a license for "Windows Server 2003 Web Edition" is only slightly more than that for WinXP - and no CALs as it is not a file server. /gustav >>> jwcolby at colbyconsulting.com 02-11-2006 16:16:06 >>> Well, nothing ever goes as planned. I own SBS 2003. I started the install which proceeded as smoothly as any of this ever does, which means plenty of "the F6 floppy doesn't work, but it doesn't say that, so spend an hour figuring that out, find the driver on the internet etc.", and "oh I need an active network controller, and what do you mean you have to install a driver disk (right in the middle of the install) to give me that" etc. In the meantime, it gets to some screen where it just informs me that it is installing active directory. >As you are not going, right at the start, into Active Directory (workgroups will work fine), installing Server2003 is as simple as installing XP. So now it appears that I AM installing active directory, whether I need or want it or not. So (from your email) perhaps the install will NOT be as easy as installing XP? I am doing a dual boot, installing SBS2003 to the raid 6 D: drive (might as well use this raid stuff to make the system install more fault tolerant). I just got to a screen where it is asking me what components I want, things like server tools, exchange server, fax service. So what do I need, and will it "just install" or will it ask me questions which I am not prepared to answer? William, you are the one always touting how great SBS is. Any words of wisdom on this? Man I hate this crap! John W. Colby Colby Consulting www.ColbyConsulting.com From wdhindman at dejpolsystems.com Thu Nov 2 10:36:51 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Nov 2006 11:36:51 -0500 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on References: <005601c6fe91$d27eb4b0$657aa8c0@m6805> Message-ID: <001b01c6fe9d$1a380f80$3e3de844@50NM721> ...lol ...listen up JC ...SBS2003 is NOT xp ...you must plan your install and know ahead of time what services you need and how you want to provide them ...that said, it is a whole lot simpler than installing the individual applications and getting them to work together ...and a whole lot cheaper for your client. ...of course, your first step should have been to RTFM :) ...if you have the server resources, just choose every install option ...I'm assuming you have two NICs :) ...but if this is something YOU are planning to use in your office for anything more than learning purposes, its probably enormous overkill. ...if you have two or more people sending faxes using the same modems, fax services will make it easier. ...if you have a group of people who can use shared calendaring, scheduling, contacts, and e-mail, Exchange will make it happen ...but in my office, I use OE because Exchange requires Outlook and it is such a resource hog ...but hey, if you have the resources, its the best groupware going despite Gustav's enamoration with Novell :) ...I belong to a listserve, sbs2k on yahoo groups that is very active and quite similar to AccessD ...and very tolerant of newbies ...a number of mvps hang out there ...despite its name, sbs2k3 is the topic of choice. ...I love SBS and in small offices of 5-25 people it just can't be beat ...stable as a rock once installed and a real pleasure to support because it really doesn't require much :) ...but if you really don't need it, don't install it ...gustav is right about their being simpler alternatives for SOHOs that don't need the array that SBS provides ...and no matter what you want, if its an MS server, you will learn Active Directory ...actually much simpler than it looks at first glance ...most of it happens behind the scenes. William Hindman ----- Original Message ----- From: "JWColby" To: ; "'Access Developers discussion and problem solving'" Sent: Thursday, November 02, 2006 10:16 AM Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on > Well, nothing ever goes as planned. I own SBS 2003. I started the > install > which proceeded as smoothly as any of this ever does, which means plenty > of > "the F6 floppy doesn't work, but it doesn't say that, so spend an hour > figuring that out, find the driver on the internet etc.", and "oh I need > an > active network controller, and what do you mean you have to install a > driver > disk (right in the middle of the install) to give me that" etc. > > In the meantime, it gets to some screen where it just informs me that it > is > installing active directory. > >>As you are not going, right at the start, into Active Directory >>(workgroups > will work fine), installing Server2003 is as simple as installing XP. > > So now it appears that I AM installing active directory, whether I need or > want it or not. So (from your email) perhaps the install will NOT be as > easy as installing XP? > > I am doing a dual boot, installing SBS2003 to the raid 6 D: drive (might > as > well use this raid stuff to make the system install more fault tolerant). > > I just got to a screen where it is asking me what components I want, > things > like server tools, exchange server, fax service. So what do I need, and > will it "just install" or will it ask me questions which I am not prepared > to answer? > > William, you are the one always touting how great SBS is. Any words of > wisdom on this? > > Man I hate this crap! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Wednesday, November 01, 2006 10:12 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > Hi John: > > As you are not going, right at the start, into Active Directory > (workgroups > will work fine), installing Server2003 is as simple as installing XP.. The > whole process tends to be a disk jockey nodding off between switch disk > and > answering such questions as, "What is your product key" and do you want to > install IIS. If I can do it so can you. > > Server2003 can run multiple instances and processes. It will run > applications that will over-load any XP desktop box. It has better > isolation > so if a program misbehaves it does not bring down the system. I understood > you were on the MS partner plan and therefore you should have access to > all > the servers you can stand. Server 2003 standard or developer is just fine > unless you are planning to run virtual and exchange server etc. > > I have taken the luxury to run Server 2003 as my desktop, one that has > never > gone down... Well only once and that was my fault... But it is really > stable. MS SQL and IIS run as background processes and their impact is > hardly noticeable. > > Sorry if this sounds like a lecture but I am sure your problems can be > solved by going this route. > > Jim > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Wednesday, November 01, 2006 2:52 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > LOL, borderline insanity. I can assure you that I am FULLY insane. Bwaaa > haaaa haaaa. I am using SP Pro. SQL Server ran just fine on 2K pro, XP > Pro > is the 2K Pro base code. Why would it not run on that? I keep hearing > that > it isn't supposed to, but it does. I can tell you I would be irritated > beyond belief if I went to Win 2003 server (which I have but haven't a > clue > how to install, since this is a desktop machine in the end) and I still > had > this issue. > > I actually tried to install 2003 server (in fact I have a disk with the > beginnings of the install) and got to questions that implied I was > supposed > to know what I was doing (and I don't) so how am I supposed to install > 2003 > so that I can test your theory? > > I am not a notwork / OS admin, I am a developer. MS themselves push SQL > Server lite as a developer tool. > > If anyone wants to talk me through a 2003 server install I will do that > but... > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Wednesday, November 01, 2006 5:19 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > Hi John: > > I am trying to cover all the bases. The problems initially appears to be > with the MS SQL sever setting as they run fairly indendendantly from an > OS. > If the problem is not in the MS SQL setup, accumulating non responsive > results sort of negates the hardware being the issue, then it has to be in > the process. > > If it is absolutely not in the process then it must be in the MS SQL > settings. > > Please tell me you are using server OS as it would be border-line insanity > to use a desktop type OS and then I would assure you, without hesitation, > that that is the problem. > > HTH > Jim > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Wednesday, November 01, 2006 12:12 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] What is going on > > Jim, > > I don't understand what this is doing for me. I have just one data file > ATM. I don't know whether that is a good thing or a bad thing. This > sounds > like the process for creating and then redistributing data amongst > multiple > files. If you are saying that it is the existence of one huge file that > is > causing my slowdown, then I can certainly do that. > > > > I have to ask if this is as good as it gets with SQL Server. I understand > that I am doing stuff with big tables but keerimeny. I started the build > of > a PKID field on the big table. It tells me that "ansi nulls was not on > and > it has to rebuild the table" so I do. EM just locks up tight, won't even > redraw the screen (blank white) if you switch away and back again. I > believe that it is hard at work but folks, this is the age of threads. > > So I open another instance of EM to work with another table. EM takes > several seconds to expand each tree (server, databases, specific database) > then when I try to expand the tables, the second instance of EM locks up > tight with an hourglass. I mean c'mon. This is 2006, a monster (desktop) > system and EM acts as if it is a DOS app from 1986 running on a '286 with > 4 > megs and swapping memory. The second EM instance has been trying to open > the tables icon just to show me what tables are there for 20 minutes now. > > To say this is discouraging to work with would be an understatement. If > this is the best I am going to get I am going to have to look for another > database engine to work with. > > And the most discouraging part is that my dual proc system is cruising > along > using (average?) well under 25% of the processor while EM is locked up > tight. > > Does SQl Server 2005 fix any of this? Or should I just go look at MySQL > or > Oracle personal edition. I have to get work done on this database and it > is > telling me that one job (building a field / index) on one table is all it > can handle. And by the looks of it I will be locked out of this database > for the next 12 to 24 hours. > > Hell, ACCESS can do better than this!!! Well, maybe not but SQL Server's > rep is taking a beating here. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Thu Nov 2 14:43:23 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Nov 2006 12:43:23 -0800 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <001b01c6fe9d$1a380f80$3e3de844@50NM721> References: <005601c6fe91$d27eb4b0$657aa8c0@m6805> <001b01c6fe9d$1a380f80$3e3de844@50NM721> Message-ID: <454A586B.2000805@shaw.ca> Interesting article from Ken Getz Creating Managed Add-ins for Access 2007 http://msdn2.microsoft.com/en-us/library/aa902693.aspx You can probably do this without installing Visual Studio Tools and just VB 2005 express but it might require filching the Shared Add-in template class and installing with GPAC's instead of a created msi from a wizard. -- Marty Connelly Victoria, B.C. Canada From Donald.A.McGillivray at sprint.com Thu Nov 2 15:21:06 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 2 Nov 2006 15:21:06 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray From martyconnelly at shaw.ca Thu Nov 2 15:34:08 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Nov 2006 13:34:08 -0800 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: References: Message-ID: <454A6450.1000304@shaw.ca> One suggestion: Load the form, subform, combobox and listbox record sources at run-time. http://www.granite.ab.ca/access/performanceforms.htm McGillivray, Don [IT] wrote: >Hello, All > >I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. > >Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. > >I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? > >Any and all comments, critiques, ideas welcome. > >Thanks! > >Don McGillivray > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Nov 2 16:01:14 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 3 Nov 2006 01:01:14 +0300 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <454A586B.2000805@shaw.ca> Message-ID: <000301c6feca$6a2ada40$6401a8c0@nant> Yes, Marty, it should be doable just using VB 2005 Express. <<< installing with GPAC's instead of a created msi from a wizard. >>> Yes, should be doable - but also .NET Framework SDK is needed I think to extract type library from shared add-in's assembly using TlbExp.exe utility, which is delivered in SDK or is tlbexp.exe also delivered in .NET Framework itself?... BTW, did you ever try to use Registration-Free COM (http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William mentioned here some time ago? If that works OK then a Shared/COM Add-in can be probably installed using xcopy given: - its assembly and related files; - its typelib; - its manifest file for RegFree COM (open question here is how(/what is its format) to make it?)... That would be great if it would work this way - it still might need to set several registry entries to "inform" MS Access about presence of com-add-in to load but this should be as easy as running once a .reg file with needed registry entries... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 02, 2006 11:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Creating Managed Add-ins for Access 2007 Interesting article from Ken Getz Creating Managed Add-ins for Access 2007 http://msdn2.microsoft.com/en-us/library/aa902693.aspx You can probably do this without installing Visual Studio Tools and just VB 2005 express but it might require filching the Shared Add-in template class and installing with GPAC's instead of a created msi from a wizard. -- 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 Donald.A.McGillivray at sprint.com Thu Nov 2 16:15:55 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 2 Nov 2006 16:15:55 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Thanks, Marty. I can see how this would reduce db size and speed the saving of the form, but will it speed its loading and response for the user? Seems like whether I'm saving the queries with the form or not, they will still have to load from the million record table to populate the combos, no? In my trials so far, it seems like only the initial use of a combo suffers from the delay (subsequent uses are lickety-split). It just feels like a nuisance to make the user wait for controls on the form if I can speed loading the rowsource by driving it with a more concise table created once at start up. They will still have to wait for that table to populate, but not so much for each control on the form. Maybe I'm misunderstanding how this works, and how the suggested approach addresses the issue? FWIW, the data in this db will be refreshed only about once a quarter, and I suppose I could add a process that they run once upon each refresh that produces the more concise tables for the combo row sources. That would eliminate/reduce even the startup delays. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 02, 2006 1:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes One suggestion: Load the form, subform, combobox and listbox record sources at run-time. http://www.granite.ab.ca/access/performanceforms.htm From martyconnelly at shaw.ca Thu Nov 2 17:37:01 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Nov 2006 15:37:01 -0800 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <000301c6feca$6a2ada40$6401a8c0@nant> References: <000301c6feca$6a2ada40$6401a8c0@nant> Message-ID: <454A811D.9090008@shaw.ca> BTW, did you ever try to use Registration-Free COM (http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William mentioned here some time ago? Yup it works calling a VB.Net wrapped com class dll from Access However the download from the article is missing a comclass.zip It is only 2 or 3 K, you need this to build any new classes. It is installed by Visual Studio but not VB Express. I don't have Visual Studio but found it in a .msi file downloadable from this simlar article by same author below. Just install it in the directory indicated in the article then it will appear in temporary templates in vb.Net IDE. It contains the COM Class template necessary for building new class projects. I suppose you could workaround it with your own GUID's but don't know the pitfuls. Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/vbbestprac.asp You may have a problem in the registering of the dll. Two ways to do this Install the project and open it in VB.Net, then do a Build this will register the dll with the com registry. There are step by step instuctions except for doing the final build in the first article. The build will also create a new tlb file and register the assembly in the GAC and register the dll. There are also standalone routines to do this too. To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. C:\Access files\VBFusion\VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. Then just run your routine. The other way is to use the included install.bat to register the dll It uses regasm and gacutil to remove any previously named dll and reinstall in the registry. Haven't tried this method. See http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_COM2NET.aspx install batch file looks like this regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" Shamil Salakhetdinov wrote: >Yes, Marty, it should be doable just using VB 2005 Express. > ><<< >installing with GPAC's instead of a created msi from a wizard. > > >Yes, should be doable - but also .NET Framework SDK is needed I think to >extract type library from shared add-in's assembly using TlbExp.exe utility, >which is delivered in SDK or is tlbexp.exe also delivered in .NET Framework >itself?... > >BTW, did you ever try to use Registration-Free COM >(http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William >mentioned here some time ago? > >If that works OK then a Shared/COM Add-in can be probably installed using >xcopy given: > >- its assembly and related files; >- its typelib; >- its manifest file for RegFree COM (open question here is how(/what is its >format) to make it?)... > >That would be great if it would work this way - it still might need to set >several registry entries to "inform" MS Access about presence of com-add-in >to load but this should be as easy as running once a .reg file with needed >registry entries... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, November 02, 2006 11:43 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Creating Managed Add-ins for Access 2007 > >Interesting article from Ken Getz >Creating Managed Add-ins for Access 2007 >http://msdn2.microsoft.com/en-us/library/aa902693.aspx > >You can probably do this without installing Visual Studio Tools >and just VB 2005 express but it might require filching >the Shared Add-in template class and installing with GPAC's >instead of a created msi from a wizard. > > > -- Marty Connelly Victoria, B.C. Canada From gjgiever at myway.com Thu Nov 2 18:29:55 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Thu, 2 Nov 2006 19:29:55 -0500 (EST) Subject: [AccessD] Find And Replace Message-ID: <20061103002955.2043E67675@mprdmxin.myway.com> He emailed me today. Apparently his first reply made an unsucessful attempt to travel through the Burmuda Triange. Thanks again for your help. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Thu 11/02, Gary J. Giever < gjgiever at myway.com > wrote: From: Gary J. Giever [mailto: gjgiever at myway.com] To: accessd at databaseadvisors.com Date: Thu, 2 Nov 2006 07:23:29 -0500 (EST) Subject: Re: [AccessD] Find And Replace Thanks for the info.Gary J. Giever, M.A.Applications DeveloperACCMHS --- On Wed 11/01, Doug Murphy < dw-murphy at cox.net > wrote:From: Doug Murphy [mailto: dw-murphy at cox.net]To: accessd at databaseadvisors.comDate: Wed, 1 Nov 2006 13:38:48 -0800Subject: Re: [AccessD] Find And ReplaceGary,I purchased it last week for Access 2003 and got an email response the sameday. You might want to check with Rick to make sure he received your info.Doug -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 01, 2006 11:45 AMTo: accessd at databaseadvisors.comSubject: [AccessD] Find And ReplaceLast week someone here recommended Rick Fisher's Find And Replace. I checkit out, liked it and emailed my registration last Monday morning. Usually,with this kind of transaction, I get a response with a registration numberwithin an hour or so, but it has been more than two days and I have yet tohear from him. Does anyone know if he is still in business? Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com--AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From newsgrps at dalyn.co.nz Thu Nov 2 22:28:11 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 03 Nov 2006 17:28:11 +1300 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) Message-ID: <7.0.1.0.0.20061103171432.01b52d28@dalyn.co.nz> Group, Access XP ADP I have a report that has a single graph on it (Unbound Object Frame: Microsoft Graph Chart). The RowSource property is set to a sproc which has parameters. If I enter the following direct into the RowSource property the report runs fine: EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' However, I want to set the parameters based on values on a form. The help I found on the internet said that the reports OnOpen event was the place to put it so I added: Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthStartMth])) & "', '" & basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndMth])) & "'" When the report is run I get Runtime Error 2455 - You entered an expression that has an invalid reference to the property RowSource. I get the same error if I try in the OnOpen event of the report (this indicates that the property is not even available OnOpen): MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource I know the property exists because the following works it I put it into the report detail OnFormat event: MsgBox Me!graGraph.RowSource I have tried setting the property on the detail OnFormat event but an error comes up saying that you cant set this property after printing has started. Any guidance on what I can try? From andy at minstersystems.co.uk Fri Nov 3 02:09:49 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 3 Nov 2006 08:09:49 -0000 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) In-Reply-To: <7.0.1.0.0.20061103171432.01b52d28@dalyn.co.nz> Message-ID: <00bb01c6ff1f$6f502430$e5ad0c54@minster33c3r25> Hi David I seem to recall having the same issue a long while ago. I was using queries and ended up setting the graph's rowsource to a query but modifying the query's SQL before opening the report. Not being an SQL kind of guy I don't know how that translates when you have Sprocs, or if it can at all, but I'm hoping that gives you a steer. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 03 November 2006 04:28 > To: accessd at databaseadvisors.com > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > Group, > > Access XP ADP > > I have a report that has a single graph on it (Unbound Object Frame: > Microsoft Graph Chart). The RowSource property is set to a sproc > which has parameters. > > If I enter the following direct into the RowSource property the > report runs fine: > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > However, I want to set the parameters based on values on a form. The > help I found on the internet said that the reports OnOpen event was > the place to put it so I added: > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthStartMth])) > & "', '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthEndMth])) > & "'" > > When the report is run I get Runtime Error 2455 - You entered an > expression that has an invalid reference to the property > RowSource. I get the same error if I try in the OnOpen event of the > report (this indicates that the property is not even > available OnOpen): > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > I know the property exists because the following works it I put it > into the report detail OnFormat event: > MsgBox Me!graGraph.RowSource > > I have tried setting the property on the detail OnFormat event but an > error comes up saying that you cant set this property after printing > has started. > > Any guidance on what I can try? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Fri Nov 3 03:06:52 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 3 Nov 2006 01:06:52 -0800 (PST) Subject: [AccessD] Strategies for populating combo boxes Message-ID: <20061103090653.70671.qmail@web88206.mail.re2.yahoo.com> My suggestion would be, Don't populate any of the combos until at least one keystroke has been entered in a given combo. Then populate it. I.e. the user enters "A", then you populate it with only those rows beginning with "A". The user then enters "B"; you repopulate it with those rows beginning with "AB". The user enters "C" and you repopulate the combo beginning with "ABC". This can be very quick. Assuming an Access BE, then the query that populates any given combo would be something like "SELECT ID, Description FROM SomeTable WHERE Description LIKE "ABC*". The way I have handled this in previous apps is to rewrite the source statement, which automatically causes a refill. ----- Original Message ---- From: "McGillivray, Don [IT]" To: Access Developers discussion and problem solving Sent: Thursday, November 2, 2006 4:21:06 PM Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Fri Nov 3 07:33:39 2006 From: askolits at ot.com (John Skolits) Date: Fri, 3 Nov 2006 08:33:39 -0500 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) In-Reply-To: <00bb01c6ff1f$6f502430$e5ad0c54@minster33c3r25> Message-ID: <004901c6ff4c$af6dbdc0$6501a8c0@LaptopXP> A long shot ideas. Use CHR$(39) instead of the single quote. Not sure the syntax is exactly correct or not but here is what I came up with. "EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", " & Chr$(39) & basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t xtGateMthStartMth])) & Chr$(39) & ", " & Chr$(39) & "basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndM th])) " & Chr$(39) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 03, 2006 3:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Rowsource for Graph (Sproc source) Hi David I seem to recall having the same issue a long while ago. I was using queries and ended up setting the graph's rowsource to a query but modifying the query's SQL before opening the report. Not being an SQL kind of guy I don't know how that translates when you have Sprocs, or if it can at all, but I'm hoping that gives you a steer. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 03 November 2006 04:28 > To: accessd at databaseadvisors.com > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > Group, > > Access XP ADP > > I have a report that has a single graph on it (Unbound Object Frame: > Microsoft Graph Chart). The RowSource property is set to a sproc > which has parameters. > > If I enter the following direct into the RowSource property the > report runs fine: > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > However, I want to set the parameters based on values on a form. The > help I found on the internet said that the reports OnOpen event was > the place to put it so I added: > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthStartMth])) > & "', '" & > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > xtGateMthEndMth])) > & "'" > > When the report is run I get Runtime Error 2455 - You entered an > expression that has an invalid reference to the property > RowSource. I get the same error if I try in the OnOpen event of the > report (this indicates that the property is not even > available OnOpen): > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > I know the property exists because the following works it I put it > into the report detail OnFormat event: > MsgBox Me!graGraph.RowSource > > I have tried setting the property on the detail OnFormat event but an > error comes up saying that you cant set this property after printing > has started. > > Any guidance on what I can try? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Nov 3 07:42:05 2006 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 3 Nov 2006 05:42:05 -0800 (PST) Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Message-ID: <20061103134205.28298.qmail@web31607.mail.mud.yahoo.com> Hi Jim, This sounds really nice. Do you happen to have a link to that article? Sander ----- Original Message ---- From: Jim DeMarco To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 5:00:10 PM Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Sander, I read an interestig article a while back that detailed how to use Access as the reporting engine for ASP.NET applications. In short it involves getting input from your user and running the report in Access (installed on server I'd imagine). The report is then exported to XML from Access by your .NET app. Access does a real good job of creating XML/XSL so the reports will look like Access reports. I hope that makes sense (and helps). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Tuesday, October 31, 2006 9:18 AM To: Acces User Group Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi group, does anybody know how difficult it is to open a report in an Access 2003 database using Asp.Net? We're using an intranet and VPN. So that shouldn't be the big issue. Thnx in @vance. Regards, Sander -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gjgiever at myway.com Fri Nov 3 08:12:25 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Fri, 3 Nov 2006 09:12:25 -0500 (EST) Subject: [AccessD] Simple SQL Statement Message-ID: <20061103141225.387BE99F02@mprdmxin.myway.com> I'm setting up a program that must make a copy of a table (dbo_CLIENTMAST)in a different application then make one of the fields in the new table a primary key. Making the copy is easy but changing the field to a primary key is causing me some problems. I've tried various SQL statements but none have worked. This is my last attempt and it seems like it should work but I get the message "Syntax error in CONSTRAINT clause." tblClientMaster is the new table. ALTER TABLE tblClientMaster ADD CONSTRAINT UNIQUE (CCASE_NO); Any help would be much appreciated. Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From Jdemarco at hudsonhealthplan.org Fri Nov 3 08:28:44 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 3 Nov 2006 09:28:44 -0500 Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Message-ID: <08F823FD83787D4BA0B99CA580AD3C740464AB07@TTNEXCHCL2.hshhp.com> It must be your luck day. This was in the May 2003 issue of Smart Access but it looks like M$ posted it in total at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart 03/html/sa03e1.asp I find it a most interesting idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Friday, November 03, 2006 8:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi Jim, This sounds really nice. Do you happen to have a link to that article? Sander ----- Original Message ---- From: Jim DeMarco To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 5:00:10 PM Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Sander, I read an interestig article a while back that detailed how to use Access as the reporting engine for ASP.NET applications. In short it involves getting input from your user and running the report in Access (installed on server I'd imagine). The report is then exported to XML from Access by your .NET app. Access does a real good job of creating XML/XSL so the reports will look like Access reports. I hope that makes sense (and helps). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Tuesday, October 31, 2006 9:18 AM To: Acces User Group Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi group, does anybody know how difficult it is to open a report in an Access 2003 database using Asp.Net? We're using an intranet and VPN. So that shouldn't be the big issue. Thnx in @vance. Regards, Sander -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 3 08:33:55 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 03 Nov 2006 06:33:55 -0800 Subject: [AccessD] Creating Managed Add-ins for Access 2007 In-Reply-To: <454A811D.9090008@shaw.ca> Message-ID: <0J85001TESE3YOG0@l-daemon> Great stuff Marty.... There does seem to be a number of considerations, before using this http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx?loc=& side=true#a ..and it is available at: http://download.microsoft.com/download/2/e/9/2e9bde04-3af1-4814-9f1e-733f732 369a3/RegFreeCOM.exe Just a comment Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 02, 2006 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating Managed Add-ins for Access 2007 BTW, did you ever try to use Registration-Free COM (http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which William mentioned here some time ago? Yup it works calling a VB.Net wrapped com class dll from Access However the download from the article is missing a comclass.zip It is only 2 or 3 K, you need this to build any new classes. It is installed by Visual Studio but not VB Express. I don't have Visual Studio but found it in a .msi file downloadable from this simlar article by same author below. Just install it in the directory indicated in the article then it will appear in temporary templates in vb.Net IDE. It contains the COM Class template necessary for building new class projects. I suppose you could workaround it with your own GUID's but don't know the pitfuls. Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html /vbbestprac.asp You may have a problem in the registering of the dll. Two ways to do this Install the project and open it in VB.Net, then do a Build this will register the dll with the com registry. There are step by step instuctions except for doing the final build in the first article. The build will also create a new tlb file and register the assembly in the GAC and register the dll. There are also standalone routines to do this too. To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. C:\Access files\VBFusion\VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. Then just run your routine. The other way is to use the included install.bat to register the dll It uses regasm and gacutil to remove any previously named dll and reinstall in the registry. Haven't tried this method. See http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx install batch file looks like this regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" Shamil Salakhetdinov wrote: >Yes, Marty, it should be doable just using VB 2005 Express. > ><<< >installing with GPAC's instead of a created msi from a wizard. > > >Yes, should be doable - but also .NET Framework SDK is needed I think >to extract type library from shared add-in's assembly using TlbExp.exe >utility, which is delivered in SDK or is tlbexp.exe also delivered in >.NET Framework itself?... > >BTW, did you ever try to use Registration-Free COM >(http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/), which >William mentioned here some time ago? > >If that works OK then a Shared/COM Add-in can be probably installed >using xcopy given: > >- its assembly and related files; >- its typelib; >- its manifest file for RegFree COM (open question here is how(/what is >its >format) to make it?)... > >That would be great if it would work this way - it still might need to >set several registry entries to "inform" MS Access about presence of >com-add-in to load but this should be as easy as running once a .reg >file with needed registry entries... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Thursday, November 02, 2006 11:43 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Creating Managed Add-ins for Access 2007 > >Interesting article from Ken Getz >Creating Managed Add-ins for Access 2007 >http://msdn2.microsoft.com/en-us/library/aa902693.aspx > >You can probably do this without installing Visual Studio Tools and >just VB 2005 express but it might require filching the Shared Add-in >template class and installing with GPAC's instead of a created msi from >a wizard. > > > -- 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 3 08:42:18 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Nov 2006 15:42:18 +0100 Subject: [AccessD] Simple SQL Statement Message-ID: Hi Gary Try applying a name for the index: ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName UNIQUE (CCASE_NO); or: ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName PRIMARY KEY (CCASE_NO); /gustav >>> gjgiever at myway.com 03-11-2006 15:12:25 >>> I'm setting up a program that must make a copy of a table (dbo_CLIENTMAST)in a different application then make one of the fields in the new table a primary key. Making the copy is easy but changing the field to a primary key is causing me some problems. I've tried various SQL statements but none have worked. This is my last attempt and it seems like it should work but I get the message "Syntax error in CONSTRAINT clause." tblClientMaster is the new table. ALTER TABLE tblClientMaster ADD CONSTRAINT UNIQUE (CCASE_NO); Any help would be much appreciated. Gary J. Giever, M.A. Applications Developer ACCMHS From Gustav at cactus.dk Fri Nov 3 08:59:38 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 03 Nov 2006 15:59:38 +0100 Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Message-ID: Hi Jim Thanks for that link, very useful. You may add that the article, in general, describes how to export a report to editable XML which could be useful in other scenarios. /gustav >>> Jdemarco at hudsonhealthplan.org 03-11-2006 15:28:44 >>> It must be your luck day. This was in the May 2003 issue of Smart Access but it looks like M$ posted it in total at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart03/html/sa03e1.asp I find it a most interesting idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Friday, November 03, 2006 8:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi Jim, This sounds really nice. Do you happen to have a link to that article? Sander ----- Original Message ---- From: Jim DeMarco To: Access Developers discussion and problem solving Sent: Tuesday, October 31, 2006 5:00:10 PM Subject: Re: [AccessD] OT: ASP.Net Opening Access 2003 reports? Sander, I read an interestig article a while back that detailed how to use Access as the reporting engine for ASP.NET applications. In short it involves getting input from your user and running the report in Access (installed on server I'd imagine). The report is then exported to XML from Access by your .NET app. Access does a real good job of creating XML/XSL so the reports will look like Access reports. I hope that makes sense (and helps). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Tuesday, October 31, 2006 9:18 AM To: Acces User Group Subject: [AccessD] OT: ASP.Net Opening Access 2003 reports? Hi group, does anybody know how difficult it is to open a report in an Access 2003 database using Asp.Net? We're using an intranet and VPN. So that shouldn't be the big issue. Thnx in @vance. Regards, Sander From gjgiever at myway.com Fri Nov 3 09:27:32 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Fri, 3 Nov 2006 10:27:32 -0500 (EST) Subject: [AccessD] Simple SQL Statement Message-ID: <20061103152732.67F2967680@mprdmxin.myway.com> YES! That did it. Thank you very much. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Fri 11/03, Gustav Brock < Gustav at cactus.dk > wrote: From: Gustav Brock [mailto: Gustav at cactus.dk] To: accessd at databaseadvisors.com Date: Fri, 03 Nov 2006 15:42:18 +0100 Subject: Re: [AccessD] Simple SQL Statement Hi GaryTry applying a name for the index:ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName UNIQUE (CCASE_NO);or:ALTER TABLE tblClientMaster ADD CONSTRAINT IndexName PRIMARY KEY (CCASE_NO);/gustav>>> gjgiever at myway.com 03-11-2006 15:12:25 >>>I'm setting up a program that must make a copy of a table (dbo_CLIENTMAST)in a different application then make one of the fields in the new table a primary key. Making the copy is easy but changing the field to a primary key is causing me some problems. I've tried various SQL statements but none have worked. This is my last attempt and it seems like it should work but I get the message "Syntax error in CONSTRAINT clause." tblClientMaster is the new table.ALTER TABLE tblClientMaster ADD CONSTRAINT UNIQUE (CCASE_NO);Any help would be much appreciated.Gary J. Giever, M.A.Applications DeveloperACCMHS-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From gregsmith at starband.net Fri Nov 3 10:45:36 2006 From: gregsmith at starband.net (Greg Smith) Date: Fri, 3 Nov 2006 10:45:36 -0600 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) Message-ID: <000001c6ff67$88527ee0$130a000a@DadsDell> (This is a second resend - my first one was html to illustrate the color layout for ease of reading the XML, but it turns out to be too large, so here it is in text only format) Hi everyone! It's been a while, or seems like it anyway! Hope everyone is well. Below is a valid XML file, according to the shown DTD, except for the part inside the elements, which is normally image in b64 code, but unnecessary for this example. I know that Access does not like attribute-centric XML and will not import it (correctly). I know that it DOES like element-centric XML and WILL import that. I think (which can be dangerous) that what I have below is attribute-centric, or some version of it, because, looking at examples from Microsoft of element-centric XML, this does not look like it. However, looking at Microsoft's attribute-centric XML, it doesn't look like that either. Closer, but not like this. What I really need to do is import the data from this file into Access (I'm using 2003). Now, I could just read the file as a text file, and strip out what I want, but that's not terribly efficient and might prove difficult to do when there are duplicated element names or attribute fields. Ideally, I would like to be able to just directly import the xml data, using a schema or some other document that can define this file, or convert it to element-centric XML, for Access to accept. Does anyone know how to do this or done this before or have some pointers I could use to get me started in the right direction? The creators of this beast have NO experience with Access or Access databases so are of no help in this matter. My tax dollars at work. L Thanks in advance!!! Greg Valid XML File for the stated dtd-(watch for wrapping and alignment issues with this type of file and text): <_RETURN_TO_PARTY> <_VOLUME_PAGE/> <_FEES _TotalAmount="31.00"> <_FEE _Amount="15.00" _Description="StandardFee"/> <_FEE _Amount="3.00" _Description="DocMgmtFee"/> <_FEE _Amount="3.00" _Description="ERecordingFee"/> <_FEE _Amount="10.00" _Description="TransferFee"/> <_FEE _Amount="0.00" _Description="TransferTax"/> <_EXEMPTIONS _Description="Deed fulfilling contract"/> -BLAH - IMAGE FILE - BLAH BLAH == From markamatte at hotmail.com Fri Nov 3 10:59:24 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 16:59:24 +0000 Subject: [AccessD] Access to web Message-ID: Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline From newsgrps at dalyn.co.nz Fri Nov 3 13:20:20 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 04 Nov 2006 08:20:20 +1300 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) In-Reply-To: <004901c6ff4c$af6dbdc0$6501a8c0@LaptopXP> References: <00bb01c6ff1f$6f502430$e5ad0c54@minster33c3r25> <004901c6ff4c$af6dbdc0$6501a8c0@LaptopXP> Message-ID: <7.0.1.0.0.20061104081814.01a97868@dalyn.co.nz> Thanks for the suggestion. However the problem seems to be in having the property accessible in the OnOpen event. I get the same error when I try to read the property from there. David At 4/11/2006, you wrote: >A long shot ideas. > >Use CHR$(39) instead of the single quote. >Not sure the syntax is exactly correct or not but here is what I came up >with. > >"EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo >& ", " & Chr$(39) >& basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t >xtGateMthStartMth])) & Chr$(39) & ", " & Chr$(39) & >"basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndM >th])) " & Chr$(39) > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 03, 2006 3:10 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Changing Rowsource for Graph (Sproc source) > >Hi David >I seem to recall having the same issue a long while ago. I was using queries >and ended up setting the graph's rowsource to a query but modifying the >query's SQL before opening the report. Not being an SQL kind of guy I don't >know how that translates when you have Sprocs, or if it can at all, but I'm >hoping that gives you a steer. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 03 November 2006 04:28 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > > > > Group, > > > > Access XP ADP > > > > I have a report that has a single graph on it (Unbound Object Frame: > > Microsoft Graph Chart). The RowSource property is set to a sproc > > which has parameters. > > > > If I enter the following direct into the RowSource property the > > report runs fine: > > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > > > However, I want to set the parameters based on values on a form. The > > help I found on the internet said that the reports OnOpen event was > > the place to put it so I added: > > > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthStartMth])) > > & "', '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthEndMth])) > > & "'" > > > > When the report is run I get Runtime Error 2455 - You entered an > > expression that has an invalid reference to the property > > RowSource. I get the same error if I try in the OnOpen event of the > > report (this indicates that the property is not even > > available OnOpen): > > > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > > > I know the property exists because the following works it I put it > > into the report detail OnFormat event: > > MsgBox Me!graGraph.RowSource > > > > I have tried setting the property on the detail OnFormat event but an > > error comes up saying that you cant set this property after printing > > has started. > > > > Any guidance on what I can try? From cfoust at infostatsystems.com Fri Nov 3 13:23:38 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Nov 2006 11:23:38 -0800 Subject: [AccessD] Access to web In-Reply-To: Message-ID: Look at web design in VS.Net 2005. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, November 03, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=e n-us&hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 3 13:30:46 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 03 Nov 2006 11:30:46 -0800 Subject: [AccessD] Access to web In-Reply-To: Message-ID: <0J8600A8964T0WC0@l-daemon> Hi Mark: Your first option is to decide which language you what to become an expert with...a Web based language. This assume you have a basic or better knowledge with creating web pages. (html, css, JavaScript, xml) The large standards are: Perl(cgi), java, PHP, ASP, ASP.Net and there is python, ruby. All except ASP and ASP.Net are open source but you would probably be most familiar with the structures of these two... ASP Lite and PRO. There is always Access ADP which I am totally unfamiliar with as there has always been rumors of its immediate demise for going on more 5 years now.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, November 03, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us &hmtagline -- 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 3 14:02:13 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 03 Nov 2006 12:02:13 -0800 Subject: [AccessD] Access to web In-Reply-To: References: Message-ID: <454BA045.1070103@shaw.ca> I would look at some of the introductary AJAX sites this comprises css html xml and javascript. or the use of ASP.Net depending on your clients. For security I would make myself familar with SQL Injection attacks and cross site scripting. Mark A Matte wrote: >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > > -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Fri Nov 3 14:08:13 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 20:08:13 +0000 Subject: [AccessD] Access to web In-Reply-To: Message-ID: Thanks Charlotte...just to make sure...we're talking about one of the items listed below?...or do you think I would need a combination of them...thanks, Mark Visual Studio 2005 Professional Edition$799.00 Visual Studio 2005 Tools for Office $799.00 Visual Studio 2005 Standard Edition$299.00 Visual Source Safe 2005$549.00 >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Access to web >Date: Fri, 3 Nov 2006 11:23:38 -0800 > >Look at web design in VS.Net 2005. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With >that in mind...I would like to learn to create secure web based >apps(convert some of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a >free trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=e >n-us&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From markamatte at hotmail.com Fri Nov 3 14:20:08 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 20:20:08 +0000 Subject: [AccessD] Access to web In-Reply-To: <0J8600A8964T0WC0@l-daemon> Message-ID: Marty and Jim, Thanks for the feedback. I have heard of almost everyting mentioned(and will be researching each)..And that is the question I'm trying to answer...which one to pick? I'm still not sure what criteria I should use to pick a language? Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Access to web >Date: Fri, 03 Nov 2006 11:30:46 -0800 > >Hi Mark: > >Your first option is to decide which language you what to become an expert >with...a Web based language. This assume you have a basic or better >knowledge with creating web pages. (html, css, JavaScript, xml) > >The large standards are: Perl(cgi), java, PHP, ASP, ASP.Net and there is >python, ruby. All except ASP and ASP.Net are open source but you would >probably be most familiar with the structures of these two... ASP Lite and >PRO. > >There is always Access ADP which I am totally unfamiliar with as there has >always been rumors of its immediate demise for going on more 5 years >now.... > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert >some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a free >trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us >&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001 From DWUTKA at marlow.com Fri Nov 3 14:24:42 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 14:24:42 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AF9C@MARLOW_MAIN2.marlow.com> Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Thursday, November 02, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From spikee at oatlandspark.org.uk Fri Nov 3 14:49:34 2006 From: spikee at oatlandspark.org.uk (Chris Foote (Spike)) Date: Fri, 3 Nov 2006 20:49:34 -0000 Subject: [AccessD] Access to web In-Reply-To: Message-ID: <200611032049.kA3Knpq22197@databaseadvisors.com> Hi Mark! I've been playing with HTML for about eight years now, and consider myself to be fairly competent. I've also been using Access and VBA for more or less the same period. About 18 months or so ago I decided to take the plunge and convert some of my static sites to use dynamic database-generated pages. As my chosen web hosting company is Linux/Apache based I chose the MySQL/PHP route. I found the "conversion" from Access/VBA to MySQL/PHP very easy. I am not trained as a programmer (I'm an electronics hardware engineer) but many of the skills/techniques/disciplines (most learnt from this list) translated well. Hope this helps! Best regards Chris Foote -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: 03 November 2006 16:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us &hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 3 14:50:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 3 Nov 2006 15:50:29 -0500 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139AF9C@MARLOW_MAIN2.marlow.com> Message-ID: <00ba01c6ff89$b30fd700$657aa8c0@m6805> Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Thursday, November 02, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Fri Nov 3 15:37:17 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 3 Nov 2006 13:37:17 -0800 Subject: [AccessD] Access to web In-Reply-To: Message-ID: <003b01c6ff90$3c03e6e0$0200a8c0@murphy3234aaf1> Check out Visual Web Developer Express on the Microsoft site. It's free and is an extrodinary tool for developing ASP.NET sites. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, November 03, 2006 12:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Thanks Charlotte...just to make sure...we're talking about one of the items listed below?...or do you think I would need a combination of them...thanks, Mark Visual Studio 2005 Professional Edition$799.00 Visual Studio 2005 Tools for Office $799.00 Visual Studio 2005 Standard Edition$299.00 Visual Source Safe 2005$549.00 >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Access to web >Date: Fri, 3 Nov 2006 11:23:38 -0800 > >Look at web design in VS.Net 2005. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With >that in mind...I would like to learn to create secure web based >apps(convert some of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a >free trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale= >e >n-us&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spa ces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us -- 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 3 15:42:47 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 15:42:47 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AFC5@MARLOW_MAIN2.marlow.com> Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Thursday, November 02, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Strategies for populating combo boxes Hello, All I am working on a project where I've been asked to provide an interface that allows users to choose selection criteria from a series of combo boxes and use the results to open one of six reports. This is a fairly simple database - one table with about 20 columns and 1.1 million rows. They have already built the queries and reports; all they want me to do is provide an easy way to specify selection criteria for the reports. Since there is only a single table, building rowsources for the combo boxes requires running summary queries against the various columns for all 1.1 million rows. With 6 to 10 combo boxes on the form, that creates quite a bit of hang time waiting for the combos to populate. I'm considering strategies for reducing the delay, one being to populate a series of temp tables at DB open that can be used to populate the combos. That way the big delay happens only once upon DB start, and the UI should respond more quickly. I also thought of populating a single temp table with two columns - one to identify the combo box in which the values will be used, and the other with the values themselves. I seek guidance from the experts. Are either of these ideas worthy of pursuit? Is there a better way to get there from here? Any and all comments, critiques, ideas welcome. Thanks! Don McGillivray -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Nov 3 16:05:08 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 03 Nov 2006 22:05:08 +0000 Subject: [AccessD] Access to web Message-ID: No that's what I'm talking about...Good old fashion taught myself and it works!!!! Sounds like me...I will definitely research. Thanks, Mark A. Matte >From: "Chris Foote (Spike)" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Access to web >Date: Fri, 3 Nov 2006 20:49:34 -0000 > >Hi Mark! > >I've been playing with HTML for about eight years now, and consider myself >to be fairly competent. I've also been using Access and VBA for more or >less the same period. About 18 months or so ago I decided to take the >plunge >and convert some of my static sites to use dynamic database-generated >pages. >As my chosen web hosting company is Linux/Apache based I chose the >MySQL/PHP >route. > >I found the "conversion" from Access/VBA to MySQL/PHP very easy. I am not >trained as a programmer (I'm an electronics hardware engineer) but many of >the skills/techniques/disciplines (most learnt from this list) translated >well. > >Hope this helps! > >Best regards >Chris Foote > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: 03 November 2006 16:59 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert >some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a free >trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us >&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From jwcolby at colbyconsulting.com Fri Nov 3 16:17:03 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 3 Nov 2006 17:17:03 -0500 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139AFC5@MARLOW_MAIN2.marlow.com> Message-ID: <00c501c6ff95$cb2b4b60$657aa8c0@m6805> Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew From JHewson at karta.com Fri Nov 3 16:22:10 2006 From: JHewson at karta.com (Jim Hewson) Date: Fri, 3 Nov 2006 16:22:10 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C04908B19@karta-exc-int.Karta.com> I ran into the 64k limitation a couple of weeks ago. The combo box and list box are both limited. Had a little over 65K list of names... wouldn't show the last 1K or so. It wasn't very slow, but the users would not have found it except they wanted to find a name starting with Z. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -- 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 3 16:20:57 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 16:20:57 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AFD8@MARLOW_MAIN2.marlow.com> Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -- 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 3 16:21:30 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 16:21:30 -0600 Subject: [AccessD] Access to web Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDD57@MARLOW_MAIN2.marlow.com> ASP. It's free. If you have Windows 2000 or XP, you can install a local webserver to play with it. The 'web server' is identical to what you get on a server, it's just limited by how many people can hit it concurrently. ASP is just a script language. Personally, I use Microsoft Script Editor 10, which comes with Front page. Handy to write both HTML and ASP. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Friday, November 03, 2006 2:20 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access to web Marty and Jim, Thanks for the feedback. I have heard of almost everyting mentioned(and will be researching each)..And that is the question I'm trying to answer...which one to pick? I'm still not sure what criteria I should use to pick a language? Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Access to web >Date: Fri, 03 Nov 2006 11:30:46 -0800 > >Hi Mark: > >Your first option is to decide which language you what to become an expert >with...a Web based language. This assume you have a basic or better >knowledge with creating web pages. (html, css, JavaScript, xml) > >The large standards are: Perl(cgi), java, PHP, ASP, ASP.Net and there is >python, ruby. All except ASP and ASP.Net are open source but you would >probably be most familiar with the structures of these two... ASP Lite and >PRO. > >There is always Access ADP which I am totally unfamiliar with as there has >always been rumors of its immediate demise for going on more 5 years >now.... > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, November 03, 2006 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access to web > >Hello All, > >I would consider myself quite competent in SQL, VBA, and Access. With that >in mind...I would like to learn to create secure web based apps(convert >some >of my old Access dbs to web). > >I need some direction as to what I should start learning/researching to >accomplish this. Any ideas, suggestions, or recommendations would be >greatly appreciated. I'm just not sure where to begin. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Add a Yahoo! contact to Windows Live Messenger for a chance to win a free >trip! >http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-u s >&hmtagline > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Nov 3 17:02:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 3 Nov 2006 18:02:06 -0500 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139AFD8@MARLOW_MAIN2.marlow.com> Message-ID: <00ca01c6ff9c$16677da0$657aa8c0@m6805> LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 3 17:10:39 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 3 Nov 2006 17:10:39 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139AFE8@MARLOW_MAIN2.marlow.com> Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 stuart at lexacorp.com.pg Fri Nov 3 17:28:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Nov 2006 09:28:07 +1000 Subject: [AccessD] Access to web In-Reply-To: References: <0J8600A8964T0WC0@l-daemon>, Message-ID: <454BD087.3169.1D36D481@stuart.lexacorp.com.pg> On 3 Nov 2006 at 20:20, Mark A Matte wrote: > Marty and Jim, > > Thanks for the feedback. I have heard of almost everyting mentioned(and > will be researching each)..And that is the question I'm trying to > answer...which one to pick? > > I'm still not sure what criteria I should use to pick a language? The primary criteria is where this will be sited. If you are usimg an service provider, you are limited to what they support My ISP runs on LAMP - Linux, Apache,mySQL, PHP so I can't use ASP there. If you are setting up your own Intranet on MS servers or have a host that supports MS, you'll find ASP has the lowest learning curve with your background. -- Stuart From martyconnelly at shaw.ca Fri Nov 3 17:45:08 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 03 Nov 2006 15:45:08 -0800 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) In-Reply-To: <000001c6ff67$88527ee0$130a000a@DadsDell> References: <000001c6ff67$88527ee0$130a000a@DadsDell> Message-ID: <454BD484.2020903@shaw.ca> Umm. I won't go on a rant about using DTD's and XML attributes. I guess this a standard that has been developed by a committee over 10 years. I see, they have been discussing switching to the use of xsd schema's for 3 years. When you see a dtd with a self-contained copyright and a disclaimer that indemnifies against everything including global warning, I head for the hills. However here is why attributes should not be used this way http://www.xmlfiles.com/xml/xml_attributes.asp These are some of the problems using attributes: attributes can not contain multiple values (elements can) attributes are not expandable (for future changes) attributes can not describe structures (like child elements can) attributes are more difficult to manipulate by program code attribute values are not easy to test against a DTD If you start using attributes as containers for XML data, you might end up with documents that are both difficult to maintain and to manipulate. What I'm trying to say is that you should use elements to describe your data. Use attributes only to provide information that is not relevant to the reader. Please don't end up like this: Rules always have exceptions. You can assign ID references to elements in my XML documents. These ID references can be used to access XML element in much the same way as the NAME or ID attributes in HTML. A couple of suggestions you might use a product like XMLSPY to do the conversion or a sister product like MAPForce from Altova, this would be a $5-700 investment. I am not sure if it would do all you want. Good product if working daily with XML. http://www.altova.com It would be hard to read this via xmldom, maybe there is code written available via a user group, it would amout to a couple of thousand lines. They may have a an xslt to do the conversion. You could also easily read via dotNet XMLTextReader class Maybe write a VB.Net program to do something like this You would read xml and use a select case to parse your way through. The XMLTextReader doesn't verify against the DTD however. C1ComboBoxList LastMedDate cmbGoal5 Private Shared Function FormatXml(ByVal reader As XmlTextReader, ByVal filename As String) As clsReportElements Dim ReportElement As clsReportElement Dim al As new clsReportElements 'ArrayList(117) Dim lValue as string Dim lBookmark as String Try ReportElement = New clsReportElement While reader.Read() Select Case (reader.NodeType) Case XmlNodeType.Element '''***Other Elements removed for easy reading***** If (reader.Name = "Values") Then dim isValueAdded as Boolean = False if reader.HasAttributes then Do while reader.MoveToNextAttribute () if len(Reader.Value.Trim) > 0 then if Reader.Name = "VALUE" then lValue = Reader.Value End If end if if Reader.Name = "BookMark" then if len(Reader.Value.Trim) > 0 then lBookmark = Reader.Value.ToString isValueAdded = True end if End If Loop End If if isValueAdded = True then ReportElement.AddValue (lValue, lBookmark) end if End If case XmlNodeType.EndElement If (reader.Name = "LookUp") then al.Add(ReportElement) ReportElement = New clsReportElement End If case xmlnodetype.Attribute If (reader.Name = "Values") Then ReportElement.AddValue (0, reader.ReadElementString()) End If End Select End While Return al Catch ex As Exception Console.WriteLine("Operation Failed.") Console.WriteLine("Exception: {0}", ex.ToString()) Finally 'Finished with XmlTextReader If Not reader Is Nothing Then reader.Close() End If End Try End Function Greg Smith wrote: > (This is a second resend - my first one was html to illustrate the color >layout for ease of reading the XML, but it turns out to be too large, so >here it is in text only format) > >Hi everyone! It's been a while, or seems like it anyway! Hope everyone is >well. > >Below is a valid XML file, according to the shown DTD, except for the part >inside the elements, which is normally image in b64 code, but >unnecessary for this example. > >I know that Access does not like attribute-centric XML and will not import >it (correctly). I know that it DOES like element-centric XML and WILL >import that. I think (which can be dangerous) that what I have below is >attribute-centric, or some version of it, because, looking at examples from >Microsoft of element-centric XML, this does not look like it. However, >looking at Microsoft's attribute-centric XML, it doesn't look like that >either. Closer, but not like this. > >What I really need to do is import the data from this file into Access (I'm >using 2003). Now, I could just read the file as a text file, and strip out >what I want, but that's not terribly efficient and might prove difficult to >do when there are duplicated element names or attribute fields. > >Ideally, I would like to be able to just directly import the xml data, using >a schema or some other document that can define this file, or convert it to >element-centric XML, for Access to accept. > >Does anyone know how to do this or done this before or have some pointers I >could use to get me started in the right direction? The creators of this >beast have NO experience with Access or Access databases so are of no help >in this matter. My tax dollars at work. L > >Thanks in advance!!! > >Greg > >Valid XML File for the stated dtd-(watch for wrapping and alignment issues >with this type of file and text): > > >"http://iowalandrecords.org/portal/dtd/CLRIS_PRIA_Request.dtd"> > > > > > > > > > > > > _InstrumentDate="20060831" _CountyOfRecordationName="Scott" >_StateOfRecordationName="IA"> > _NameSuffix="" _UnparsedName="Last First mi" _Capacity="" >_NonPersonEntityIndicator="N"/> > > > <_RETURN_TO_PARTY> > > > > > > > <_VOLUME_PAGE/> > <_FEES _TotalAmount="31.00"> > <_FEE _Amount="15.00" _Description="StandardFee"/> > <_FEE _Amount="3.00" _Description="DocMgmtFee"/> > <_FEE _Amount="3.00" _Description="ERecordingFee"/> > <_FEE _Amount="10.00" _Description="TransferFee"/> > <_FEE _Amount="0.00" _Description="TransferTax"/> > > <_EXEMPTIONS _Description="Deed fulfilling contract"/> > > _ID="4421" _Name="Cert.pdf" _NumberOfPages="1"> > -BLAH - IMAGE FILE - BLAH BLAH == > > > > > > > > > > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Fri Nov 3 18:35:45 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 3 Nov 2006 16:35:45 -0800 (PST) Subject: [AccessD] Access to web Message-ID: <20061104003545.57918.qmail@web88214.mail.re2.yahoo.com> Secure, IMO, means that you abandon Access as a back-end and focus on SQL Server or some other server database (MySQL, Oracle, DB/2, PostGres, Sybase, etc.). The security offered in such a platform is superior to that offered by Access. Typically, you create roles (groups of equivalent users), and then assign users to roles. You also prevent everyone from directly accessing tables, and allow them access to views, stored procedures and UDFs. You build up a hierarchy of roles, additively (i.e. managers can do everything everyone beneath them can do, but also have rights to do additional thngs such as run reports of salaries. For the generic web user you create a role WebUser. For employees, you create several roles corresponding to the hierarchy of responsibility. The CEO has, in theory, access to everything, but in practice I am god, not the CEO, because I don't trust him to play safe. So in a nutshell, if you want to move into web-dev, think SQL Server on the Back End and then choose any Front End that appeals to you (.NET, PHP, Ajax, DreamWeaver, whatever). In all cases the essential thing is to avoid dynamic SQL at all costs, and instead think everything out in stored procedures, views and UDFs. HTH, Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, November 3, 2006 11:59:24 AM Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline -- 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 3 19:24:35 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 03 Nov 2006 17:24:35 -0800 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) In-Reply-To: <000001c6ff67$88527ee0$130a000a@DadsDell> References: <000001c6ff67$88527ee0$130a000a@DadsDell> Message-ID: <454BEBD3.8070305@shaw.ca> Here is another VB.Net variation that might help How Do I...Read XML from an XmlDataDocument? http://samples.gotdotnet.com/quickstart/howto/doc/Xml/StreamXmlDocument.aspx I think by rewriting the FormatXML function you could generate Entity only XML file Greg Smith wrote: > (This is a second resend - my first one was html to illustrate the color >layout for ease of reading the XML, but it turns out to be too large, so >here it is in text only format) > >Hi everyone! It's been a while, or seems like it anyway! Hope everyone is >well. > >Below is a valid XML file, according to the shown DTD, except for the part >inside the elements, which is normally image in b64 code, but >unnecessary for this example. > >I know that Access does not like attribute-centric XML and will not import >it (correctly). I know that it DOES like element-centric XML and WILL >import that. I think (which can be dangerous) that what I have below is >attribute-centric, or some version of it, because, looking at examples from >Microsoft of element-centric XML, this does not look like it. However, >looking at Microsoft's attribute-centric XML, it doesn't look like that >either. Closer, but not like this. > >What I really need to do is import the data from this file into Access (I'm >using 2003). Now, I could just read the file as a text file, and strip out >what I want, but that's not terribly efficient and might prove difficult to >do when there are duplicated element names or attribute fields. > >Ideally, I would like to be able to just directly import the xml data, using >a schema or some other document that can define this file, or convert it to >element-centric XML, for Access to accept. > >Does anyone know how to do this or done this before or have some pointers I >could use to get me started in the right direction? The creators of this >beast have NO experience with Access or Access databases so are of no help >in this matter. My tax dollars at work. L > >Thanks in advance!!! > >Greg > >Valid XML File for the stated dtd-(watch for wrapping and alignment issues >with this type of file and text): > > >"http://iowalandrecords.org/portal/dtd/CLRIS_PRIA_Request.dtd"> > > > > > > > > > > > > _InstrumentDate="20060831" _CountyOfRecordationName="Scott" >_StateOfRecordationName="IA"> > _NameSuffix="" _UnparsedName="Last First mi" _Capacity="" >_NonPersonEntityIndicator="N"/> > > > <_RETURN_TO_PARTY> > > > > > > > <_VOLUME_PAGE/> > <_FEES _TotalAmount="31.00"> > <_FEE _Amount="15.00" _Description="StandardFee"/> > <_FEE _Amount="3.00" _Description="DocMgmtFee"/> > <_FEE _Amount="3.00" _Description="ERecordingFee"/> > <_FEE _Amount="10.00" _Description="TransferFee"/> > <_FEE _Amount="0.00" _Description="TransferTax"/> > > <_EXEMPTIONS _Description="Deed fulfilling contract"/> > > _ID="4421" _Name="Cert.pdf" _NumberOfPages="1"> > -BLAH - IMAGE FILE - BLAH BLAH == > > > > > > > > > > > -- Marty Connelly Victoria, B.C. Canada From robert at servicexp.com Sat Nov 4 09:15:41 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 10:15:41 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <454BEBD3.8070305@shaw.ca> Message-ID: <000401c70024$188831f0$dcc05005@roberts> This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert From accessd at shaw.ca Sat Nov 4 11:19:25 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 04 Nov 2006 09:19:25 -0800 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <000401c70024$188831f0$dcc05005@roberts> Message-ID: <0J8700F1UUPSR050@l-daemon> Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Nov 4 13:33:59 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 14:33:59 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <0J8700F1UUPSR050@l-daemon> Message-ID: <000501c70048$2e0a70f0$dcc05005@roberts> Jim, Thanks, indeed very helpful.. Would you, or have you ever, marked up the item based on it's average cost plus current cost? If so, would the average be limited by a date frame? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 12:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 4 14:51:49 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 4 Nov 2006 15:51:49 -0500 Subject: [AccessD] Building runtimes Message-ID: <000001c70053$0d002f70$657aa8c0@m6805> Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Sat Nov 4 15:16:48 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 4 Nov 2006 15:16:48 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <20630972.1162673963464.JavaMail.root@sniper6> Message-ID: <000301c70056$8b031150$0200a8c0@danwaters> Hi John, One way or another, it costs something to make runtimes. Office 2002 Developer edition cost more, and for 2003 you need Microsoft Office Access 2003 Developer Extensions. I've made runtimes in both XP and 2003, and I believe that using the 2003 Developer Extensions was better. I did get the Extensions CD for free about three years ago by attending the Office 2003 Launch event in Minneapolis. I got more free software at that event that I ever used! Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Sat Nov 4 15:17:09 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Sat, 4 Nov 2006 15:17:09 -0600 Subject: [AccessD] Building runtimes Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C068DE860@natexch.jenkens.com> I forget what the file name is, but there is one file that you need from the developer edition. I had this same issue when I created a runtime version earlier this year and had to get a developer edition in addition to Sage software's runtime builder. The resulting package is huge too. Debbie -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - 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 stuart at lexacorp.com.pg Sat Nov 4 15:34:11 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Nov 2006 07:34:11 +1000 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <000401c70024$188831f0$dcc05005@roberts> References: <454BEBD3.8070305@shaw.ca>, <000401c70024$188831f0$dcc05005@roberts> Message-ID: <454D0753.5510.21F4DA6C@stuart.lexacorp.com.pg> Jim gave you a very good exposition of the vatious ways of establishing markup. Then one part he skipped over was what cost price to use. There are several different ways of determining cost price. Which price is used is determined by why it is being used and/or who is using it. The most common "Cost" prices are: Last/Replacement cost. Gives you an indication of what it is going to cost you to replace your current stock when you use/sell it. Good for planners/managers. Not used very often for determining prices/margins. Simple to implement CurrentCost = NewCost Average Cost. Tells you how much you have paid in total for your current stock and gives a reasonable indication of unit costs to work out margins etc and whether you are making a profit in the business. Commonly used for determining prices/margins. Good for accountants. A bit more complex to implement. ((CurrentStockOnHand * CurrentCost) + (NewStockQty * NewCost)) / (CurrentStockOnHand + NewStockQty) First In First Out (FIFO) Item Cost Tells you exactly what each item of stock cost you. Favoured by anal retentive accountants and auditors. Complicated to implement. You need to keep either a date/qty/cost table for each item or. Every time an item is consumed, you need to check QuantityOnHand or keep track of a pointer into this table to work out when it was purchased and therefore what it cost. Actual Cost. You store the individual cost against each item, not against each item type. It is only useful if you can identify individual items when they are bought/sold. Used for pricing/margins when dealing with low volume/big ticket items and accountable items such as aircraft spares etc. On 4 Nov 2006 at 10:15, Robert wrote: > > > This is probably a stupid question but..... > > When calculating the selling price of an item, say by margin, do you > calculate based on the current received cost, or does one take the average > cost (of previously received items) + the current price and then perform the > calculations? > > Total = AverageCost / (1 - m_dMargin) > > Or say > > Total = RecievedCost / (1 - m_dMargin) > > > Another question.... > > What do you think is the best method of pricing an item in a Service > Oriented business. The business would sell both labor and components.. > > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From accessd at shaw.ca Sat Nov 4 15:37:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 04 Nov 2006 13:37:08 -0800 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <000501c70048$2e0a70f0$dcc05005@roberts> Message-ID: <0J88008UV6NAJM10@l-daemon> Hi Robert: If the item's costs are fairly constant then an average might be an appropriate way to price an item... Mind you if the item is fairly consistent there would seem to be no need for an average.... Just set an reasonable markup and leave it until a major cost change requires a price increase or decrease. If the items cost fluctuates dramatically then the average price maybe be below cost. Unless you are running a cost/price system like a stock exchange or a cost plus seller store (ie, gas-station or grocery store) oscillating selling prices would just confuse a customer. I would tend to just apply a reasonable margin that would buffer the shifting costs until the difference become to slim or too wide and then have the system trigger a recal of the margin. For your averaging system a moving date window would be a reasonable constraint. No I have never designed an application that could marked up an items using an averagering... But I have no idea of what type of business you are designing for. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 11:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Jim, Thanks, indeed very helpful.. Would you, or have you ever, marked up the item based on it's average cost plus current cost? If so, would the average be limited by a date frame? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 12:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Nov 4 15:40:54 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 04 Nov 2006 13:40:54 -0800 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70053$0d002f70$657aa8c0@m6805> References: <000001c70053$0d002f70$657aa8c0@m6805> Message-ID: <454D08E6.3070403@shaw.ca> Unfortunately TANSTAAFL You will need one developers edition for one version of Access P&D Wizard and preferably have only that version on the system, with Office Jet and MDAC updated patches. You may have problems on OS below Win 2000 ie. Access 2003 wont run on them. Unless you want to handle a lot of phone support, I would get the Msi. version of sagekey scripts, it is the cheapest, and will get you around a lot of possible problems on OS installs. Msi doesn't need Wise installer $425 Don't forget to test on a non-Admin account as this maybe where it will be installed. Maybe someone here has a copy, takes about an hour to do. http://www.sagekey.com/access_2000.aspx JWColby wrote: >Does anyone know if it is possible to build a runtime "without cost"? I >have built a database pro bono for Learning Disabilities Association, a >(USA) nationwide non-profit association for parents of children with >learning disabilities. I would like to make it available to all of the >state chapters but when I go look at the Microsoft site, I cannot for the >life of me figure out how to actually get whatever is required to build >runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers >edition for 2K but not since, and am not really sure I can find that. I am >not making any money on this and don't particularly want to spend any money >on this. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From billmorrill at comcast.net Sat Nov 4 16:33:35 2006 From: billmorrill at comcast.net (Bill Morrill) Date: Sat, 4 Nov 2006 15:33:35 -0700 Subject: [AccessD] DAO Code won't Compile Message-ID: Need help on the following DAO code. Using Access 2003 VBA reference set to DAO 3.6 Object Library. When I go to compile the code below the compiler lights up [CALL_TYPE] and stops. CALL_TYPE is a field in the qryCallAttempt but the compiler doesn't seem to understand this. If I comment out THE LINE strCallType = rst.CALL_TYPE then the compile stops at the next line blnUnsuccessful = rst.UNSUCCESSFUL_ATTEMPT - same thing it doesn't see rst.UNSUCCESSFUL_ATTEMPT ? ANOTHER FIELD IN qryCallAttempt. Need some illumination. Thanks, Bill '_________________________________________________________________ DoCmd.Hourglass True 'declare object variables Dim db As DAO.Database Dim rst As DAO.Recordset Set db = CurrentDb Set rst = db.OpenRecordset("qryCallAttempt") 'declare non-object variables to be used in loop Dim intCounter As Integer Dim strCallType As String Dim blnUnsuccessful As Boolean Dim blnDeactivate As Boolean 'initialize variable intCounter = 0 rs.MoveFirst Do While Not rst.EOF 'loop through each record in the query and set Deactivated in the recordset where applicable 'initialize variables rs.Edit strCallType = rst.[CALL_TYPE] blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] blnDeactivate = rst.[DEACTIVATE] If strCallType = "Call 1" And blnUnsuccessful = True And Forms!frmPatientAddUpdate!Program = "NON-SCALE MEMBER" Then intCounter = intCounter + 1 If intCounter = 3 Then 'update current record set blnDeactivate = True Me![DEACTIVATE] = blnDeactivate rst.Update rst.Close DoCmd.Hourglass False Exit Sub End If End If rst.Update rst.MoveNext Loop DoCmd.Hourglass False '_____________________________________________________ From lizd1 at charter.net Sat Nov 4 19:04:10 2006 From: lizd1 at charter.net (Liz Doering) Date: Sat, 4 Nov 2006 19:04:10 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70053$0d002f70$657aa8c0@m6805> Message-ID: <000001c70076$4e1a5d00$6601a8c0@Lillian> I want to think I remember that this was easier with 97. And your users probably wouldn't care, so long as it worked. Don't you have a stash of ancient disks around? Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Nov 4 19:29:26 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 20:29:26 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <454D0753.5510.21F4DA6C@stuart.lexacorp.com.pg> Message-ID: <000001c70079$d620dff0$dcc05005@roberts> Stuart, Thank You Very Much! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, November 04, 2006 4:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pricing Method ? Jim gave you a very good exposition of the vatious ways of establishing markup. Then one part he skipped over was what cost price to use. There are several different ways of determining cost price. Which price is used is determined by why it is being used and/or who is using it. The most common "Cost" prices are: Last/Replacement cost. Gives you an indication of what it is going to cost you to replace your current stock when you use/sell it. Good for planners/managers. Not used very often for determining prices/margins. Simple to implement CurrentCost = NewCost Average Cost. Tells you how much you have paid in total for your current stock and gives a reasonable indication of unit costs to work out margins etc and whether you are making a profit in the business. Commonly used for determining prices/margins. Good for accountants. A bit more complex to implement. ((CurrentStockOnHand * CurrentCost) + (NewStockQty * NewCost)) / (CurrentStockOnHand + NewStockQty) First In First Out (FIFO) Item Cost Tells you exactly what each item of stock cost you. Favoured by anal retentive accountants and auditors. Complicated to implement. You need to keep either a date/qty/cost table for each item or. Every time an item is consumed, you need to check QuantityOnHand or keep track of a pointer into this table to work out when it was purchased and therefore what it cost. Actual Cost. You store the individual cost against each item, not against each item type. It is only useful if you can identify individual items when they are bought/sold. Used for pricing/margins when dealing with low volume/big ticket items and accountable items such as aircraft spares etc. On 4 Nov 2006 at 10:15, Robert wrote: > > > This is probably a stupid question but..... > > When calculating the selling price of an item, say by margin, do you > calculate based on the current received cost, or does one take the > average cost (of previously received items) + the current price and > then perform the calculations? > > Total = AverageCost / (1 - m_dMargin) > > Or say > > Total = RecievedCost / (1 - m_dMargin) > > > Another question.... > > What do you think is the best method of pricing an item in a Service > Oriented business. The business would sell both labor and components.. > > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Nov 4 19:29:42 2006 From: robert at servicexp.com (Robert) Date: Sat, 4 Nov 2006 20:29:42 -0500 Subject: [AccessD] OT: Pricing Method ? In-Reply-To: <0J88008UV6NAJM10@l-daemon> Message-ID: <000101c70079$df783b70$dcc05005@roberts> Jim, Again Thank You Very Much! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 4:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: If the item's costs are fairly constant then an average might be an appropriate way to price an item... Mind you if the item is fairly consistent there would seem to be no need for an average.... Just set an reasonable markup and leave it until a major cost change requires a price increase or decrease. If the items cost fluctuates dramatically then the average price maybe be below cost. Unless you are running a cost/price system like a stock exchange or a cost plus seller store (ie, gas-station or grocery store) oscillating selling prices would just confuse a customer. I would tend to just apply a reasonable margin that would buffer the shifting costs until the difference become to slim or too wide and then have the system trigger a recal of the margin. For your averaging system a moving date window would be a reasonable constraint. No I have never designed an application that could marked up an items using an averagering... But I have no idea of what type of business you are designing for. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 11:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Jim, Thanks, indeed very helpful.. Would you, or have you ever, marked up the item based on it's average cost plus current cost? If so, would the average be limited by a date frame? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 04, 2006 12:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pricing Method ? Hi Robert: There is no right-way. My specialty is POS applications and clients ask for any number of ways to establish the markup on products. 1. An arbitrary amount. Then the margin is assigned. 2. Percentage: As the product increases in prices a flat percentage does not work. Sometimes a client has requested a incremental series of steps or break points when applying percentage margins against products. 3. If the client sells a group of products of a similar value it is easier to just apply a fixed margin. 4. Sometimes if a client has really done their research they can calculate their monthly projected operating cost and then a margin/percentage can be applied to create projected monthly sales. (Bigger companies use this method but most small businesses just wing it.) 5. Some businesses just go with the Manufacture's suggested retail price and then the margins can be all over the map. 6. Many businesses are either full or partial fianc?es and they tend to take the pricing queues from their parent or partner company. ... But can get to charge what ever rate they want on some specialty products. The basic rule-of-thumb is one third principle which recommends 1/3 cost for product purchase plus 1/3 cost of running the business and 1/3 for profit/taxes/extra expenses/growth. This is a long way to say that there is no right way to establish the selling price. It can be a business model that uses high-markup and lower volumes or low margins and higher volumes. Using the method of applying Average Cost would only work if all the products the store sells are of a similar cost. Most businesses tend to use a method similar to your last suggestion. Businesses like to be able to set a default method to establish their base selling price for their product and I would give them a number of algorithms to select from but then they want to go in to the view the calculated retail prices of their product lines and make arbitrary changes. As I see it there is no wrong way but if you are writing an application for a client be assured that they want choices. I hope this helps, does not confuse and has not strayed too far off the subject. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, November 04, 2006 7:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Pricing Method ? This is probably a stupid question but..... When calculating the selling price of an item, say by margin, do you calculate based on the current received cost, or does one take the average cost (of previously received items) + the current price and then perform the calculations? Total = AverageCost / (1 - m_dMargin) Or say Total = RecievedCost / (1 - m_dMargin) Another question.... What do you think is the best method of pricing an item in a Service Oriented business. The business would sell both labor and components.. Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 4 19:42:27 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 4 Nov 2006 19:42:27 -0600 Subject: [AccessD] DAO Code won't Compile In-Reply-To: <28113472.1162679927476.JavaMail.root@Sniper26> Message-ID: <000701c7007b$a73452b0$0200a8c0@danwaters> Bill, You might try changing the name CALL-TYPE to something else. I've found that I can't use the words Level or Note for the names of fields in tables. Also, try removing the underscore from the field name. I think in general, all field names should be a continuous stream of letters and numbers (with a letter as the first character). Doing this removes a possibility for error. Also, when you are in the code editor screen, select Tools|References, then see if there are any references missing. If so, the word MISSING should precede the name of the reference that should be there. Hope this helps, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Morrill Sent: Saturday, November 04, 2006 4:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Code won't Compile Need help on the following DAO code. Using Access 2003 VBA reference set to DAO 3.6 Object Library. When I go to compile the code below the compiler lights up [CALL_TYPE] and stops. CALL_TYPE is a field in the qryCallAttempt but the compiler doesn't seem to understand this. If I comment out THE LINE strCallType = rst.CALL_TYPE then the compile stops at the next line blnUnsuccessful = rst.UNSUCCESSFUL_ATTEMPT - same thing it doesn't see rst.UNSUCCESSFUL_ATTEMPT - ANOTHER FIELD IN qryCallAttempt. Need some illumination. Thanks, Bill '_________________________________________________________________ DoCmd.Hourglass True 'declare object variables Dim db As DAO.Database Dim rst As DAO.Recordset Set db = CurrentDb Set rst = db.OpenRecordset("qryCallAttempt") 'declare non-object variables to be used in loop Dim intCounter As Integer Dim strCallType As String Dim blnUnsuccessful As Boolean Dim blnDeactivate As Boolean 'initialize variable intCounter = 0 rs.MoveFirst Do While Not rst.EOF 'loop through each record in the query and set Deactivated in the recordset where applicable 'initialize variables rs.Edit strCallType = rst.[CALL_TYPE] blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] blnDeactivate = rst.[DEACTIVATE] If strCallType = "Call 1" And blnUnsuccessful = True And Forms!frmPatientAddUpdate!Program = "NON-SCALE MEMBER" Then intCounter = intCounter + 1 If intCounter = 3 Then 'update current record set blnDeactivate = True Me![DEACTIVATE] = blnDeactivate rst.Update rst.Close DoCmd.Hourglass False Exit Sub End If End If rst.Update rst.MoveNext Loop DoCmd.Hourglass False '_____________________________________________________ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 4 19:45:44 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 4 Nov 2006 20:45:44 -0500 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70076$4e1a5d00$6601a8c0@Lillian> Message-ID: <000601c7007c$1c963820$657aa8c0@m6805> Liz, In fact I do own the developer's version of '97. Unfortunately, unless you are very careful, installing a runtime can damage current installs of later versions of Access. That is why the installer companies exist, because they know how to do it right and charge for the knowledge. The install builder of the day just wrote over the top of... I don't own one of the install builders, and they aren't cheap. I am not going to pay that much for this project. I am not giving up on this yet though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Saturday, November 04, 2006 8:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building runtimes I want to think I remember that this was easier with 97. And your users probably wouldn't care, so long as it worked. Don't you have a stash of ancient disks around? Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 04, 2006 2:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building runtimes Does anyone know if it is possible to build a runtime "without cost"? I have built a database pro bono for Learning Disabilities Association, a (USA) nationwide non-profit association for parents of children with learning disabilities. I would like to make it available to all of the state chapters but when I go look at the Microsoft site, I cannot for the life of me figure out how to actually get whatever is required to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers edition for 2K but not since, and am not really sure I can find that. I am not making any money on this and don't particularly want to spend any money on this. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 4 22:42:31 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 4 Nov 2006 23:42:31 -0500 Subject: [AccessD] Dual cores running 100% Message-ID: <000701c70094$d4860060$657aa8c0@m6805> LOL, well I have nirvana. Well... sorta. I am in the process of CASS validating my 65 million record database using Accuzip software, a rather kludgy process which uses FoxPro to validate ~3 million record chunks. I have two instances running on two different files. As you guys probably know by now, my system is now running Windows 2003 SBS, a dual core AMD X2 at 2.8 GHz and 2 gbytes and a raid 6 array with two largish volumes. Running just one instance of Accuzip the system processes about 6 million records / hour. Starting the second instance, leaves the first still processing about 6 million records per hour but the second is processing about 2.4 million records per hour. I find the inequality odd. My experience in the past (using XP Pro) is that it slowed down the first instance and both instances would run at roughly the same speed. Whatever. So basically I get an additional 40+ % processing using the second instance of Accuzip. Boy would it be nice to have a 16x processor array right now, but this is usable. I have to process ~22 files, each file would take ~30 minutes if processed by itself. Once the processing is finished, I delete the undeliverables and pack the FoxPro database, then start the next file importing. Once all 22 files are processed, I then have to re-import them into SQL Server and process them further there. At that point after the import I will have deliverable addresses, I am deleting all undeliverables. Since the exported / reimported records have a PK that matches my original (big) table, I will then have the ability to create a master list of completely valid deliverable ADDRESSES (not necessarily people at those addresses). It appears so far the non-deliverables are running around 14% which means I will end up with 86% of 64 million addresses in the deliverable master address table. This is only the address validation side of the picture. The fun begins when I normalize the big table into a bunch of smaller tables as discussed in an earlier email. I have actually done that for one specific job (a boating database) in order to do matching on a small (50K) database of names of yacht owners that they got from a client. The biggest problem is that in order to match names (or even addresses) you have to compare apples to apples and neither database was in CASSed form, and neither database provided "match codes" do do the comparison on. Much work quickly to make this happen. John W. Colby Colby Consulting www.ColbyConsulting.com From shamil at users.mns.ru Sun Nov 5 02:31:12 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 5 Nov 2006 11:31:12 +0300 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Message-ID: <000e01c700b4$c0d05320$6401a8c0@nant> Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil From stuart at lexacorp.com.pg Sun Nov 5 04:58:56 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Nov 2006 20:58:56 +1000 Subject: [AccessD] DAO Code won't Compile In-Reply-To: References: Message-ID: <454DC3F0.2951.24D59B3F@stuart.lexacorp.com.pg> On 4 Nov 2006 at 15:33, Bill Morrill wrote: > Need help on the following DAO code. ... strCallType = rst.[CALL_TYPE] ... > blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] > blnDeactivate = rst.[DEACTIVATE] . They should all be Bangs, not dots. rst!Call_Type etc. -- Stuart From martyconnelly at shaw.ca Sun Nov 5 11:13:19 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Nov 2006 09:13:19 -0800 Subject: [AccessD] DAO Code won't Compile In-Reply-To: <454DC3F0.2951.24D59B3F@stuart.lexacorp.com.pg> References: <454DC3F0.2951.24D59B3F@stuart.lexacorp.com.pg> Message-ID: <454E1BAF.2060907@shaw.ca> Here is an explanation BangVSDot.zip Explains the difference in usage between the Bang (!) and Dot (.) in DAO. http://rogersaccesslibrary.com/knowledge.html I believed MS started enforcing the documented way of handling this in XP or 2003. They were lax about this previously. This might also explain from Peter Walker http://www.papwalker.com/ref101/me.html Stuart McLachlan wrote: >On 4 Nov 2006 at 15:33, Bill Morrill wrote: > > > >>Need help on the following DAO code. >> >> >... > strCallType = rst.[CALL_TYPE] >... > > >> blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] >> blnDeactivate = rst.[DEACTIVATE] >> >> >. >They should all be Bangs, not dots. > >rst!Call_Type etc. > > > -- Marty Connelly Victoria, B.C. Canada From rl_stewart at highstream.net Sun Nov 5 17:36:49 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Sun, 05 Nov 2006 17:36:49 -0600 Subject: [AccessD] Building runtimes In-Reply-To: References: Message-ID: <200611052340.kA5Nejq28571@databaseadvisors.com> John, Check out techsoup.org for software for non-profits like you are working with. Even though you would be paying for it, the cost would be minimal through their program. I would recommend the 2 year MSDN membership. Then you have everything you need to support them. The hitch is that they have to be a recognized 501C organization. Robert At 12:00 PM 11/5/2006, you wrote: >Date: Sat, 4 Nov 2006 15:51:49 -0500 >From: "JWColby" >Subject: [AccessD] Building runtimes >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000001c70053$0d002f70$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Does anyone know if it is possible to build a runtime "without cost"? I >have built a database pro bono for Learning Disabilities Association, a >(USA) nationwide non-profit association for parents of children with >learning disabilities. I would like to make it available to all of the >state chapters but when I go look at the Microsoft site, I cannot for the >life of me figure out how to actually get whatever is required to build >runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers >edition for 2K but not since, and am not really sure I can find that. I am >not making any money on this and don't particularly want to spend any money >on this. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > From garykjos at gmail.com Mon Nov 6 07:46:10 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 6 Nov 2006 07:46:10 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <000001c70053$0d002f70$657aa8c0@m6805> References: <000001c70053$0d002f70$657aa8c0@m6805> Message-ID: Happy Birthday JC! (yesterday) See, I put it in my PDA and it will now remind me forever and ever. On 11/4/06, JWColby wrote: > Does anyone know if it is possible to build a runtime "without cost"? I > have built a database pro bono for Learning Disabilities Association, a > (USA) nationwide non-profit association for parents of children with > learning disabilities. I would like to make it available to all of the > state chapters but when I go look at the Microsoft site, I cannot for the > life of me figure out how to actually get whatever is required to build > runtimes. I have Office 2000, 2002 (XP) and 2003. I had the developers > edition for 2K but not since, and am not really sure I can find that. I am > not making any money on this and don't particularly want to spend any money > on this. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Mon Nov 6 09:27:51 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 6 Nov 2006 10:27:51 -0500 Subject: [AccessD] Building runtimes In-Reply-To: Message-ID: <001f01c701b8$2041ec70$657aa8c0@m6805> LOL, thanks. It was a good day. My son's half brother and his adoptive family visited from Connecticut, a good time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, November 06, 2006 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building runtimes Happy Birthday JC! (yesterday) See, I put it in my PDA and it will now remind me forever and ever. On 11/4/06, JWColby wrote: > Does anyone know if it is possible to build a runtime "without cost"? > I have built a database pro bono for Learning Disabilities > Association, a > (USA) nationwide non-profit association for parents of children with > learning disabilities. I would like to make it available to all of > the state chapters but when I go look at the Microsoft site, I cannot > for the life of me figure out how to actually get whatever is required > to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the > developers edition for 2K but not since, and am not really sure I can > find that. I am not making any money on this and don't particularly > want to spend any money on this. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Nov 6 10:24:07 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 6 Nov 2006 10:24:07 -0600 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0D0@corp-es01.fleetpride.com> "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From garykjos at gmail.com Mon Nov 6 10:31:08 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 6 Nov 2006 10:31:08 -0600 Subject: [AccessD] Building runtimes In-Reply-To: <001f01c701b8$2041ec70$657aa8c0@m6805> References: <001f01c701b8$2041ec70$657aa8c0@m6805> Message-ID: Cool. Glad to hear you had an enjoyable time with your extended family. GK On 11/6/06, JWColby wrote: > LOL, thanks. It was a good day. My son's half brother and his adoptive > family visited from Connecticut, a good time. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Monday, November 06, 2006 8:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building runtimes > > Happy Birthday JC! > > (yesterday) > > See, I put it in my PDA and it will now remind me forever and ever. > > On 11/4/06, JWColby wrote: > > Does anyone know if it is possible to build a runtime "without cost"? > > I have built a database pro bono for Learning Disabilities > > Association, a > > (USA) nationwide non-profit association for parents of children with > > learning disabilities. I would like to make it available to all of > > the state chapters but when I go look at the Microsoft site, I cannot > > for the life of me figure out how to actually get whatever is required > > to build runtimes. I have Office 2000, 2002 (XP) and 2003. I had the > > developers edition for 2K but not since, and am not really sure I can > > find that. I am not making any money on this and don't particularly > > want to spend any money on this. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Drawbridge.Jack at ic.gc.ca Mon Nov 6 10:30:39 2006 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 6 Nov 2006 11:30:39 -0500 Subject: [AccessD] DAO Code won't Compile In-Reply-To: Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B077531A4@MSG-MB3.icent.ic.gc.ca> Bill, I believe the lines referring to columns in your recordset (ie rst.[CALL_TYPE]) should use the ! Not the . ( ie rst![CALL_TYPE] ) Also, your sample refers to rs and rst which will cause a problem. Believe the rs may be a typo - all should be the same either rs or rst. Hope this helps. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Morrill Sent: Saturday, November 4, 2006 5:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Code won't Compile Need help on the following DAO code. Using Access 2003 VBA reference set to DAO 3.6 Object Library. When I go to compile the code below the compiler lights up [CALL_TYPE] and stops. CALL_TYPE is a field in the qryCallAttempt but the compiler doesn't seem to understand this. If I comment out THE LINE strCallType = rst.CALL_TYPE then the compile stops at the next line blnUnsuccessful = rst.UNSUCCESSFUL_ATTEMPT - same thing it doesn't see rst.UNSUCCESSFUL_ATTEMPT - ANOTHER FIELD IN qryCallAttempt. Need some illumination. Thanks, Bill '_________________________________________________________________ DoCmd.Hourglass True 'declare object variables Dim db As DAO.Database Dim rst As DAO.Recordset Set db = CurrentDb Set rst = db.OpenRecordset("qryCallAttempt") 'declare non-object variables to be used in loop Dim intCounter As Integer Dim strCallType As String Dim blnUnsuccessful As Boolean Dim blnDeactivate As Boolean 'initialize variable intCounter = 0 rs.MoveFirst Do While Not rst.EOF 'loop through each record in the query and set Deactivated in the recordset where applicable 'initialize variables rs.Edit strCallType = rst.[CALL_TYPE] blnUnsuccessful = rst.[UNSUCCESSFUL_ATTEMPT] blnDeactivate = rst.[DEACTIVATE] If strCallType = "Call 1" And blnUnsuccessful = True And Forms!frmPatientAddUpdate!Program = "NON-SCALE MEMBER" Then intCounter = intCounter + 1 If intCounter = 3 Then 'update current record set blnDeactivate = True Me![DEACTIVATE] = blnDeactivate rst.Update rst.Close DoCmd.Hourglass False Exit Sub End If End If rst.Update rst.MoveNext Loop DoCmd.Hourglass False '_____________________________________________________ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Mon Nov 6 11:32:41 2006 From: askolits at ot.com (John Skolits) Date: Mon, 6 Nov 2006 12:32:41 -0500 Subject: [AccessD] Closing an open file In-Reply-To: Message-ID: <006201c701c9$92d93070$7001a8c0@LaptopXP> When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John From jwcolby at colbyconsulting.com Mon Nov 6 12:03:47 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 6 Nov 2006 13:03:47 -0500 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0D0@corp-es01.fleetpride.com> Message-ID: <002f01c701cd$e89b8c20$657aa8c0@m6805> ROTFL. Yep, everyone on this list just IMAGINES that they do real work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Mon Nov 6 12:06:49 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 6 Nov 2006 12:06:49 -0600 Subject: [AccessD] Closing an open file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6A2@cpixchng-1.cpiqpc.net> John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From shamil at users.mns.ru Mon Nov 6 12:15:33 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 6 Nov 2006 21:15:33 +0300 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0D0@corp-es01.fleetpride.com> Message-ID: <000601c701cf$8cd6bd90$6401a8c0@nant> <<< Wow. An entire profession dismissed >>> Hello Jim, And computer science academic researches also :) <<< For fifty years software science researchers have struggled to perfect practical set logics. These efforts so far have been fruitless and futile. >>> And then this passage: <<< Differential state dynamics logics are the native logics of practical reality. The intrinsic order of physical reality is solely state dynamical. The emergent order of practical reality is reducible to complex physical differential dynamics. We conveniently live in a universe where the differential meaning of intrinsic order is necessary and sufficient for all practical purposes. >>> Which I think is beyond me. Could that be they somehow consider "Chaos theory" (http://en.wikipedia.org/wiki/Chaos_theory) as a foundation for the "alternative principled software production approaches" they mention here in optimistic final part of their writing?: <<< These solutions will require alternative principled software production approaches. Such approaches appear to be possible and practical today. They will likely be highly profitable as well. >>> -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 6 12:53:26 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 07 Nov 2006 07:53:26 +1300 Subject: [AccessD] Changing Rowsource for Graph (Sproc source) Message-ID: <7.0.1.0.0.20061107075110.01a54ab0@dalyn.co.nz> Just for the record, I couldn't find a solution using parameters in the report that worked so I ended up creating a temporary table, and running an insert sproc from VBA to fill it with the correct records before opening the report. The report was then based on the temporary table. David At 4/11/2006, you wrote: >A long shot ideas. > >Use CHR$(39) instead of the single quote. >Not sure the syntax is exactly correct or not but here is what I came up >with. > >"EXEC sprptPipeGateForecastMth " & [Forms]![frmPipeWeldForecast]!cboGateIDNo >& ", " & Chr$(39) >& basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t >xtGateMthStartMth])) & Chr$(39) & ", " & Chr$(39) & >"basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![txtGateMthEndM >th])) " & Chr$(39) > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 03, 2006 3:10 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Changing Rowsource for Graph (Sproc source) > >Hi David >I seem to recall having the same issue a long while ago. I was using queries >and ended up setting the graph's rowsource to a query but modifying the >query's SQL before opening the report. Not being an SQL kind of guy I don't >know how that translates when you have Sprocs, or if it can at all, but I'm >hoping that gives you a steer. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 03 November 2006 04:28 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Changing Rowsource for Graph (Sproc source) > > > > > > Group, > > > > Access XP ADP > > > > I have a report that has a single graph on it (Unbound Object Frame: > > Microsoft Graph Chart). The RowSource property is set to a sproc > > which has parameters. > > > > If I enter the following direct into the RowSource property the > > report runs fine: > > EXEC sprptPipeGateForecastMth 1085207198, '2006-11-01', '2007-10-01' > > > > However, I want to set the parameters based on values on a form. The > > help I found on the internet said that the reports OnOpen event was > > the place to put it so I added: > > > > Me!graGraph.RowSource = "EXEC sprptPipeGateForecastMth " & > > [Forms]![frmPipeWeldForecast]!cboGateIDNo & ", '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthStartMth])) > > & "', '" & > > basConvertDate(basFirstMthDay([Forms]![frmPipeWeldForecast]![t > > xtGateMthEndMth])) > > & "'" > > > > When the report is run I get Runtime Error 2455 - You entered an > > expression that has an invalid reference to the property > > RowSource. I get the same error if I try in the OnOpen event of the > > report (this indicates that the property is not even > > available OnOpen): > > > > MsgBox Reports!rptPipeGateForecastMth!graGraph.RowSource > > > > I know the property exists because the following works it I put it > > into the report detail OnFormat event: > > MsgBox Me!graGraph.RowSource > > > > I have tried setting the property on the detail OnFormat event but an > > error comes up saying that you cant set this property after printing > > has started. > > > > Any guidance on what I can try? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Mon Nov 6 13:00:34 2006 From: askolits at ot.com (John Skolits) Date: Mon, 6 Nov 2006 14:00:34 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6A2@cpixchng-1.cpiqpc.net> Message-ID: <007e01c701d5$d9bca830$7001a8c0@LaptopXP> Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Mon Nov 6 13:20:45 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 6 Nov 2006 13:20:45 -0600 Subject: [AccessD] Closing an open file Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6A5@cpixchng-1.cpiqpc.net> Yes, at least for an excel file anyway. I'm assuming ms word works the same way. When the file is read only, a copy gets loaded into excel without the file being held open. It also helps avoid the issue of someone making changes to the report accidentally. If they want to save changes, they can to another filename but the master remains intact. I agree the ability to close an open file would be nice, but for this situation the read-only setting works great. -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 1:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From Lambert.Heenan at AIG.com Mon Nov 6 16:07:17 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 6 Nov 2006 16:07:17 -0600 Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Message-ID: Hmm, Sound like that text ("Differential state dynamics ...") could have come from this wonderful postmodernist critical site http://www.elsewhere.org/pomo Every time you visit the site you'll get a page or two of utter drivel that has a style quite similar to this. Lambert :-) And then this passage: <<< Differential state dynamics logics are the native logics of practical reality. The intrinsic order of physical reality is solely state dynamical. The emergent order of practical reality is reducible to complex physical differential dynamics. We conveniently live in a universe where the differential meaning of intrinsic order is necessary and sufficient for all practical purposes. >>> Which I think is beyond me. Could that be they somehow consider "Chaos theory" (http://en.wikipedia.org/wiki/Chaos_theory) as a foundation for the "alternative principled software production approaches" they mention here in optimistic final part of their writing?: <<< These solutions will require alternative principled software production approaches. Such approaches appear to be possible and practical today. They will likely be highly profitable as well. >>> -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Nov 6 16:17:26 2006 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 6 Nov 2006 17:17:26 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <006201c701c9$92d93070$7001a8c0@LaptopXP> Message-ID: <000401c701f1$576436c0$b414c048@fredxp> If the file has been opened from another computer (i.e. not the one that the file is on), sysinternals.com has tools for identifying and closing the link. What you want is PsTools, which is on their File and Disk list. I've used it in the past for the same purpose. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Monday, November 06, 2006 12:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Mon Nov 6 19:46:14 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 7 Nov 2006 12:46:14 +1100 Subject: [AccessD] OT: Recommended weekend reading :) - Tenincredibly dangerous software ideas Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC8C@ddi-01.DDI.local> My code already embraces "Chaos theory", been doing it for years. Keeps the maintenance programmers on their toes ;-))) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, 7 November 2006 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Tenincredibly dangerous software ideas Hmm, Sound like that text ("Differential state dynamics ...") could have come from this wonderful postmodernist critical site http://www.elsewhere.org/pomo Every time you visit the site you'll get a page or two of utter drivel that has a style quite similar to this. Lambert :-) And then this passage: <<< Differential state dynamics logics are the native logics of practical reality. The intrinsic order of physical reality is solely state dynamical. The emergent order of practical reality is reducible to complex physical differential dynamics. We conveniently live in a universe where the differential meaning of intrinsic order is necessary and sufficient for all practical purposes. >>> Which I think is beyond me. Could that be they somehow consider "Chaos theory" (http://en.wikipedia.org/wiki/Chaos_theory) as a foundation for the "alternative principled software production approaches" they mention here in optimistic final part of their writing?: <<< These solutions will require alternative principled software production approaches. Such approaches appear to be possible and practical today. They will likely be highly profitable as well. >>> -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, November 06, 2006 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas "Today successful software production depends on pattern programming craftwork cleverness. .....Even so, the software industry can't even begin to produce most of the software that its customers really want in this way." Wow. An entire profession dimissed. Kakfa would be proud. Much food for thought here, much of which is probably correct but not very tasty. Interesting read, thanks. Jim Hale -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Sunday, November 05, 2006 2:31 AM To: 'Access-D' Subject: [AccessD] OT: Recommended weekend reading :) - Ten incredibly dangerous software ideas Hi All, I have just got this link http://arxiv.org/ftp/cs/papers/0607/0607022.pdf via google and I have just finished reading the first page of this document. It looks interesting and promising to give new insights of software industry intrinsic troubles. It gives "a systematic critique of the software industry. This critique is accomplished using classical methods in practical design science." This is not an easy stuff to read I must say. Therefore maybe better postpone its reading for Monday or better Tuesday because Monday is not usually an easy day by definition :) Enjoy! -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Mon Nov 6 22:35:34 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 6 Nov 2006 22:35:34 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 shamil at users.mns.ru Tue Nov 7 06:19:36 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 7 Nov 2006 15:19:36 +0300 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: Message-ID: <000f01c70266$fdb89280$6401a8c0@nant> <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- 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 7 08:31:53 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Nov 2006 15:31:53 +0100 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Hi Don and Shamil One method to speed up a callback function is to use a static array as the source. When initializing, check if the array is empty - if not, fill it. Now, whenever the combo or listbox is requeried and that happens very often, the callback function reads from the static array which is very fast. Here's an example: Public Function OrderListPrint( _ ctl As Control, _ ID As Long, _ row As Long, _ col As Long, _ Code As Integer) Static astrPrint(1 To 7) As String Dim varValue As Variant Dim lngCount As Long Select Case Code Case acLBInitialize If Len(astrPrint(1)) = 0 Then ' Fill array. For lngCount = 1 To 7 astrPrint(lngCount) = GetMsg("SaleId90" & lngCount) Next End If varValue = True Case acLBOpen varValue = Timer Case acLBGetRowCount varValue = 7 ' Rows. Case acLBGetColumnCount varValue = 2 ' Columns. Case acLBGetColumnWidth varValue = -1 ' Column width. Case acLBGetValue If col = 0 Then varValue = row + 1 ElseIf col = 1 Then varValue = astrPrint(row + 1) End If Case acLBGetFormat ' Format the data. ' varValue = strFormat Case acLBEnd ' Do something when form with listbox closes or ' listbox is requeried. End Select OrderListPrint = varValue End Function /gustav >>> shamil at users.mns.ru 07-11-2006 13:19:36 >>> <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew From DWUTKA at marlow.com Tue Nov 7 09:15:27 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 09:15:27 -0600 Subject: [AccessD] Access to web Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B186@MARLOW_MAIN2.marlow.com> I've always debated on that one. If the Access .mdb is located on the webserver, but in a non-web location (off the folders/files viewable from the web), I don't see how Access is any more or less secure then a SQL server. Drew -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Friday, November 03, 2006 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access to web Secure, IMO, means that you abandon Access as a back-end and focus on SQL Server or some other server database (MySQL, Oracle, DB/2, PostGres, Sybase, etc.). The security offered in such a platform is superior to that offered by Access. Typically, you create roles (groups of equivalent users), and then assign users to roles. You also prevent everyone from directly accessing tables, and allow them access to views, stored procedures and UDFs. You build up a hierarchy of roles, additively (i.e. managers can do everything everyone beneath them can do, but also have rights to do additional thngs such as run reports of salaries. For the generic web user you create a role WebUser. For employees, you create several roles corresponding to the hierarchy of responsibility. The CEO has, in theory, access to everything, but in practice I am god, not the CEO, because I don't trust him to play safe. So in a nutshell, if you want to move into web-dev, think SQL Server on the Back End and then choose any Front End that appeals to you (.NET, PHP, Ajax, DreamWeaver, whatever). In all cases the essential thing is to avoid dynamic SQL at all costs, and instead think everything out in stored procedures, views and UDFs. HTH, Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, November 3, 2006 11:59:24 AM Subject: Re: [AccessD] Access to web Hello All, I would consider myself quite competent in SQL, VBA, and Access. With that in mind...I would like to learn to create secure web based apps(convert some of my old Access dbs to web). I need some direction as to what I should start learning/researching to accomplish this. Any ideas, suggestions, or recommendations would be greatly appreciated. I'm just not sure where to begin. Thanks, Mark A. Matte _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us &hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 7 09:36:56 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 09:36:56 -0600 Subject: [AccessD] Closing an open file Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B1A5@MARLOW_MAIN2.marlow.com> The only two ways to do this would be to have a program running on all of your client machines, which would close the files at a certain time (or close the files from some type of other prompting (ie, network comms, inactivity, etc.). Or, you will have to have admin rights on a server to force a file closed. How to do it programmatically, not entirely sure, but I would start looking into the Window Server OS resource kits, I'd be surprised if it was something other then a simple shell command (with the right resource kit util) Drew -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Monday, November 06, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file Yes, at least for an excel file anyway. I'm assuming ms word works the same way. When the file is read only, a copy gets loaded into excel without the file being held open. It also helps avoid the issue of someone making changes to the report accidentally. If they want to save changes, they can to another filename but the master remains intact. I agree the ability to close an open file would be nice, but for this situation the read-only setting works great. -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 1:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 7 09:42:06 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 09:42:06 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B1AB@MARLOW_MAIN2.marlow.com> ALL combos/listboxes are doing the same thing as one populated by a callback function. It's just simply how a listbox/combobox 'window' works. All of the calls to a callback function are just simply being handled by an internal callback when one of the other three methods are used (recordsoure, fieldlist, value list). If you are experiencing slowdown in your callback function, you need to look at when your callback function is doing. If you are requerying at ANY point other then the initialization, then there is a problem, because that takes time. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 6:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Tue Nov 7 10:52:27 2006 From: askolits at ot.com (John Skolits) Date: Tue, 7 Nov 2006 11:52:27 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B1A5@MARLOW_MAIN2.marlow.com> Message-ID: <01a001c7028d$1e85adb0$7001a8c0@LaptopXP> Drew, I'm looking at sysinternals.com like Fred Hooper suggested. Still trying to figure out how to use it, especially through VBA. If it doesn't work out, I'll go down your suggested road. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 07, 2006 10:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file The only two ways to do this would be to have a program running on all of your client machines, which would close the files at a certain time (or close the files from some type of other prompting (ie, network comms, inactivity, etc.). Or, you will have to have admin rights on a server to force a file closed. How to do it programmatically, not entirely sure, but I would start looking into the Window Server OS resource kits, I'd be surprised if it was something other then a simple shell command (with the right resource kit util) Drew -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Monday, November 06, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file Yes, at least for an excel file anyway. I'm assuming ms word works the same way. When the file is read only, a copy gets loaded into excel without the file being held open. It also helps avoid the issue of someone making changes to the report accidentally. If they want to save changes, they can to another filename but the master remains intact. I agree the ability to close an open file would be nice, but for this situation the read-only setting works great. -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 1:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hmmm. No, they really don't need to make any changes. That may work. So you're saying, if the file is opened as read only, I Can delete it even if someone has it open? It would still be nice though to figure out a way to close it if it's open anyway. I think that would make things a bit cleaner. -----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 06, 2006 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Closing an open file John, Do they need to make changes to the report? If not I've solved this issue by by setting the report to read only on the network. Something like the following: Function ExportRpt(strRptName as String, strFileAndPath as string) If Dir(strFileAndPath) <> "" Then SetAttr strFileAndPath, vbNormal Kill strFileAndPath End If DoCmd.OutputTo acOutputReport, strRptName, acFormatXLS, strFileAndPath SetAttr strFileAndPath, vbReadOnly End HTH, Rusty -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, November 06, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Closing an open file When running Access, I create reports every night, but inevitably, some user has opened the file off the network and never closed it. I can't remove it with KILL. Any one have code for closing a file that may be open so I can then delete it? John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Nov 7 11:00:59 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Nov 2006 09:00:59 -0800 Subject: [AccessD] Closing an open file In-Reply-To: <006201c701c9$92d93070$7001a8c0@LaptopXP> References: <006201c701c9$92d93070$7001a8c0@LaptopXP> Message-ID: <4550BBCB.9080309@shaw.ca> If you don't care about removing the report, why not just time stamp the report file name, it also gives a unique name. "C:\temp\MyBigReport - " & Format(Now, "yyyymmddhhmmss") & ".rpt" John Skolits wrote: >When running Access, I create reports every night, but inevitably, some user >has opened the file off the network and never closed it. I can't remove it >with KILL. >Any one have code for closing a file that may be open so I can then delete >it? > >John > > > > -- Marty Connelly Victoria, B.C. Canada From askolits at ot.com Tue Nov 7 11:14:54 2006 From: askolits at ot.com (John Skolits) Date: Tue, 7 Nov 2006 12:14:54 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <4550BBCB.9080309@shaw.ca> Message-ID: <01aa01c70290$419a83e0$7001a8c0@LaptopXP> Well, it's a bit complicated. I had to use macros instead of code and did some OutputTo calls. I can't easily change the names. Plus, it may cause some confusion with the illiterate computer users if they start seeing all these reports. I know what you're thinking, but I pushed them way ahead so far in computer literacy but they still have a ways to go. Eventually, I'll be able to do it, but not now. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, November 07, 2006 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Closing an open file If you don't care about removing the report, why not just time stamp the report file name, it also gives a unique name. "C:\temp\MyBigReport - " & Format(Now, "yyyymmddhhmmss") & ".rpt" John Skolits wrote: >When running Access, I create reports every night, but inevitably, some user >has opened the file off the network and never closed it. I can't remove it >with KILL. >Any one have code for closing a file that may be open so I can then delete >it? > >John > > > > -- 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 shamil at users.mns.ru Tue Nov 7 12:29:37 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 7 Nov 2006 21:29:37 +0300 Subject: [AccessD] Strategies for populating combo boxes In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B1AB@MARLOW_MAIN2.marlow.com> Message-ID: <000301c7029a$aec0ab70$6401a8c0@nant> Drew and Gustav, I will try to "cook" a sample where static array caching can't be used and then a combo could result in datasheet form scrolling slowdown... If I will not come with such a sample here in a month (no time currently to trick around it) then the case I mentioned was the case of the bad callback function design. BTW, in MS Access online help is written: "The number of times your user-defined function is called for acLBGetValue and acLBGetFormat to get list entries and to format strings varies depending on the number of entries, the user's scrolling, and other factors." "The user's scrolling" they say - be aware of that when using callback functions - this is what I meant first of all... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 07, 2006 6:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes ALL combos/listboxes are doing the same thing as one populated by a callback function. It's just simply how a listbox/combobox 'window' works. All of the calls to a callback function are just simply being handled by an internal callback when one of the other three methods are used (recordsoure, fieldlist, value list). If you are experiencing slowdown in your callback function, you need to look at when your callback function is doing. If you are requerying at ANY point other then the initialization, then there is a problem, because that takes time. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 6:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gregsmith at starband.net Tue Nov 7 13:21:25 2006 From: gregsmith at starband.net (Greg Smith) Date: Tue, 7 Nov 2006 13:21:25 -0600 Subject: [AccessD] XML Import into Access 2003 (2nd retry w/o html) In-Reply-To: Message-ID: <000001c702a1$eeef5140$130a000a@DadsDell> Thanks for the response and help Marty. Sorry for my slow thanks, but I've also been working with the people who provide the XML file to me to see if they can come up with a transform I could use for importing the data into Access. Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 03, 2006 7:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XML Import into Access 2003 (2nd retry w/o html) Here is another VB.Net variation that might help How Do I...Read XML from an XmlDataDocument? http://samples.gotdotnet.com/quickstart/howto/doc/Xml/StreamXmlDocument.aspx I think by rewriting the FormatXML function you could generate Entity only XML file Greg Smith wrote: > (This is a second resend - my first one was html to illustrate the >color layout for ease of reading the XML, but it turns out to be too >large, so here it is in text only format) > >Hi everyone! It's been a while, or seems like it anyway! Hope >everyone is well... From DWUTKA at marlow.com Tue Nov 7 16:28:18 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Nov 2006 16:28:18 -0600 Subject: [AccessD] Strategies for populating combo boxes Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B2BF@MARLOW_MAIN2.marlow.com> I completely understand how often the callback function is called, however, what I was explaining is that the process is identical to how the other methods work, internally. Take for example the Window APIs and their callbacks. Enum windows will go through all of the windows on your machine, and you can enumerate child windows too. I have a little utility that I wrote (to move windows that have 'lost' their coordinates, and appear off the screen) that enumerates ALL windows on your machine, including child windows. It takes a split second to run, and a lot of the processing time is in building the treeview. Sometimes you have to take the hit with performance though. The advantage of a callback function is that you can present data on the fly, so if you need to process something when it's is asking for values you can, it's just going to be slower then a static array (or a collection, or another method for a data source). Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 12:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew and Gustav, I will try to "cook" a sample where static array caching can't be used and then a combo could result in datasheet form scrolling slowdown... If I will not come with such a sample here in a month (no time currently to trick around it) then the case I mentioned was the case of the bad callback function design. BTW, in MS Access online help is written: "The number of times your user-defined function is called for acLBGetValue and acLBGetFormat to get list entries and to format strings varies depending on the number of entries, the user's scrolling, and other factors." "The user's scrolling" they say - be aware of that when using callback functions - this is what I meant first of all... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 07, 2006 6:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes ALL combos/listboxes are doing the same thing as one populated by a callback function. It's just simply how a listbox/combobox 'window' works. All of the calls to a callback function are just simply being handled by an internal callback when one of the other three methods are used (recordsoure, fieldlist, value list). If you are experiencing slowdown in your callback function, you need to look at when your callback function is doing. If you are requerying at ANY point other then the initialization, then there is a problem, because that takes time. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Tuesday, November 07, 2006 6:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes <<< It seems like an interesting option. >>> Don, Yes, that is an interesting and useful option but be careful with combos having many entries filled by callback functions while using them in datasheet/continuous view forms - AFAIKR such combos are refilled every time they get shown while you're scrolling rows - as a result you get "brain damaged" datasheet forms reacting very slowly while scrolling them: if you, e.g. have a combo, which is filled by callback function in half a second them for a datasheet form with 10 visible rows this combo's filling will take ~5 seconds when you push [PgDn]/[PgUp]... Talking about that from memory - last time I used combos with callback functions in MS Access 97 and I had met this nasty side-effect effect mentioned above. Did they (MS) fix the issue in MS Access 2000/XP/2003/2007? - I doubt they did but I can be wrong and therefore my above remark has to be retested... Temporary tables refilled on demand are usually satisfactory when used as a base of dynamic combos. Of course these temp tables should be kept in dedicated temp databases, which should be automatically compacted once in a while... Temp tables or dynamic on demand SQL used for combos' rowsource when combos get focus of user typed a few chars are not the source of the "brain damaged datasheet" side effect - the easy guess here is that MS Access "knows" (/get cached) all the entries of such combos and therefore it (MS Access) is able to go through all the visible rows and to keep shown/clear combos' values - in the case of callback functions it (MS Access) have to get combos' entries for every combo of every (newly) displayed row.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 07, 2006 7:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strategies for populating combo boxes Wow. I stepped away for a couple of days and find a full blown discussion in my wake. There's only one table and it has about 1.1 million records and 35 columns, only about 10 of which contain data that they want to be able to select from the combos. I settled on a temp table to hold the desired lists. Col 1 has the control's name, col 2 the value. The report selection form sets the rowsource for each combo on open. Takes only a few seconds. I added a routine to populate the temp table upon demand whenever the main table has been refreshed (about once per quarter, I'm told.) So far, there are no more than about 27K rows in the largest combo list. The others are in the tens or hundreds. I'm glad to know of the limit, though. I'll be able to warn of a potential for difficulty there. Drew, thanks for the idea about callback functions. And, JC, thanks for the warnings about comprehending them. I've looked at them before and didn't quite get it. I feel better knowing that even you found them head-twisting. I'll have another go. It seems like an interesting option. Thanks to all for the suggestions! Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Oh, well I only use a callback when it's called for. (pun intended). Most common functions of a callback are just fine for 99% of what you need a combo for. The callback functionality is best for that other 1%. For instance, I wrote a utility that let you print or preview reports in a database. Using a value list runs into trouble if you have too many reports, because it can only be ~2048 characters in length. A callback did the trick. Also in tricky situations, like the one described in this thread, callbacks provide better control of a combo/listbox. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes LOL. And I did and have, but to actually understand it... I was trying to generalize it. To make a callback where one callback could be used for more than one object, with more than one datasource. It got ugly pretty quick. If you have 500 combos in a big app and wanted to use a callback for many of them, it gets painful building a new one for each object. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 5:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Access 97's help file was a pretty easy read to do it, along with a sample function. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Cool! Good to know. And are you sure that combos are limited to 65K? I seem to remember actually running into the 32K limit, but it was awhile ago so don't sue me if I'm wrong. I do know that they slooowed waaaaaay doooowwwwwn at that size. Now you can talk him through a callback function. There's a subject not for the faint of heart (at least to truly understand). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 4:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Combos are limited to 65k. But I just whipped together a quick routine to add a long integer to a collection. In debug mode, without external indication of how fast it was going, I stopped it for after about 20 seconds, and it had millions in the collection already. Populating the display with the collections count property ran over 65k in about a minute. I would say the limit is closer to 2^31. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, November 03, 2006 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strategies for populating combo boxes Drew, I was going to suggest this, however IIRC (and I was going to test this the other day), collections are limited to 2^15 items in the collection (~32 k items). I seem to remember that he has some large tables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, November 03, 2006 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Strategies for populating combo boxes Build a collection, pull the records once to fill the collection, then populate the combos from a Callback function (which would get the data from the collection, vs. the recordset) 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Tue Nov 7 18:55:36 2006 From: fahooper at trapo.com (Fred Hooper) Date: Tue, 7 Nov 2006 19:55:36 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <01a001c7028d$1e85adb0$7001a8c0@LaptopXP> Message-ID: <002901c702d0$99f59490$b414c048@fredxp> Hi John, I'd forgotten how messy it is to use; very flexible but it can be tedious. The general process is (1) Run one of the PsTools to find out who has the file open, (2) place a batch file on the server that the file you want to close is on (actually, you're breaking the link to the open file -- it's still "open" on the user's pc), (3) place a batch file on your pc that will execute the batch file on the server using one of the PsTools, and (4) If you're polite you notify the user that the link has been broken. For most of these steps you should check that they were successful. I used it in a VB program for copying Cognos cubes (for which dropping a direct user is a subset of the issues). I'm sending a copy to you off list as it's too big to attach. Look particularly at the "Copy Locked Cube" section. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, November 07, 2006 11:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Drew, I'm looking at sysinternals.com like Fred Hooper suggested. Still trying to figure out how to use it, especially through VBA. If it doesn't work out, I'll go down your suggested road. John From Gustav at cactus.dk Wed Nov 8 04:34:39 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Nov 2006 11:34:39 +0100 Subject: [AccessD] Strategies for populating combo boxes Message-ID: Hi Shamil Very good. Of course, if the data aren't static a static array (or static collection or static recordset) cannot be used or, at least, it has to be refilled/required somehow when the underlying data changes. A global variable can be used which is set when data change and reset after the array is refilled. To watch how intensely a callback function is called, insert a debug line like this: Public Function OrderListPrint( _ ctl As Control, _ ID As Long, _ row As Long, _ col As Long, _ Code As Integer) Static astrPrint(1 To 7) As String Dim varValue As Variant Dim lngCount As Long Select Case Code Case acLBInitialize ' Global variable can be set to force a refill of array. If Len(astrPrint(1)) = 0 Or pbooRefill = True Then ' Fill array. For lngCount = 1 To 7 astrPrint(lngCount) = GetMsg("SaleId90" & lngCount) Next ' Reset global variable. pbooRefill = False End If varValue = True Case acLBOpen varValue = Timer Case acLBGetRowCount varValue = 7 ' Rows. Case acLBGetColumnCount varValue = 2 ' Columns. Case acLBGetColumnWidth varValue = -1 ' Column width. Case acLBGetValue If col = 0 Then varValue = row + 1 ElseIf col = 1 Then varValue = astrPrint(row + 1) End If Case acLBGetFormat ' Format the data. ' varValue = strFormat Case acLBEnd ' Do something when form with listbox closes or ' listbox is requeried. End Select Debug.Print code, varValue OrderListPrint = varValue End Function /gustav >>> shamil at users.mns.ru 07-11-2006 19:29:37 >>> Drew and Gustav, I will try to "cook" a sample where static array caching can't be used and then a combo could result in datasheet form scrolling slowdown... If I will not come with such a sample here in a month (no time currently to trick around it) then the case I mentioned was the case of the bad callback function design. BTW, in MS Access online help is written: "The number of times your user-defined function is called for acLBGetValue and acLBGetFormat to get list entries and to format strings varies depending on the number of entries, the user's scrolling, and other factors." "The user's scrolling" they say - be aware of that when using callback functions - this is what I meant first of all... -- Shamil From askolits at ot.com Wed Nov 8 06:37:03 2006 From: askolits at ot.com (John Skolits) Date: Wed, 8 Nov 2006 07:37:03 -0500 Subject: [AccessD] Closing an open file In-Reply-To: <002901c702d0$99f59490$b414c048@fredxp> Message-ID: <007001c70332$9b70af50$7001a8c0@LaptopXP> Thanks Fred! I really appreciate it. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Tuesday, November 07, 2006 7:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Hi John, I'd forgotten how messy it is to use; very flexible but it can be tedious. The general process is (1) Run one of the PsTools to find out who has the file open, (2) place a batch file on the server that the file you want to close is on (actually, you're breaking the link to the open file -- it's still "open" on the user's pc), (3) place a batch file on your pc that will execute the batch file on the server using one of the PsTools, and (4) If you're polite you notify the user that the link has been broken. For most of these steps you should check that they were successful. I used it in a VB program for copying Cognos cubes (for which dropping a direct user is a subset of the issues). I'm sending a copy to you off list as it's too big to attach. Look particularly at the "Copy Locked Cube" section. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, November 07, 2006 11:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Closing an open file Drew, I'm looking at sysinternals.com like Fred Hooper suggested. Still trying to figure out how to use it, especially through VBA. If it doesn't work out, I'll go down your suggested road. John -- 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 8 10:01:48 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Nov 2006 17:01:48 +0100 Subject: [AccessD] DBDesigner 4, database design, documentation Message-ID: Hi all Just located the DBDesigner 4 free open source tool for database design with focus on MySQL: http://www.fabforce.net DBDesigner 4 is a visual database design system that integrates database design, modeling, creation and maintenance into a single, seamless environment. It combines professional features and a clear and simple user interface to offer the most efficient way to handle your databases. DBDesigner 4 compares to products like Oracle's Designer?, IBM's Rational Rose?, Computer Associates's ERwin? and theKompany's DataArchitect? but is an Open Source Project available for Microsoft Windows? 2k/XP and Linux KDE/Gnome. It is release on the GPL. It will work with SQL Server, SQLite, Oracle and Access via ODBC as well. It's not targeted at Access developers but may be of use anyway. /gustav From john at winhaven.net Wed Nov 8 14:00:12 2006 From: john at winhaven.net (John Bartow) Date: Wed, 8 Nov 2006 14:00:12 -0600 Subject: [AccessD] A2k3 system.mdw In-Reply-To: <000301c6fddd$93c46800$0200a8c0@danwaters> Message-ID: <200611082000.kA8K0Eq31931@databaseadvisors.com> Dan, BTW good idea, but that didn't work for me. I'm using MSDN subscription install and I can't seem to get it to work correctly. Probably need the exact disk I installed it from or something and that would be a major task to figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 01, 2006 11:46 AM This might be a long shot but you might do a 'Detect and Repair' for Office. It might ask you to install the setup disk. From Kwilliamson at RTKL.com Thu Nov 9 08:32:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 9 Nov 2006 09:32:15 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: Test!! Just testing from my new work. Haven't seen any posting since early yesterday. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From garykjos at gmail.com Thu Nov 9 08:57:53 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 9 Nov 2006 08:57:53 -0600 Subject: [AccessD] test In-Reply-To: References: Message-ID: Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Thu Nov 9 09:12:29 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 9 Nov 2006 10:12:29 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 9 09:23:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 9 Nov 2006 10:23:25 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: <001301c70413$0082cb90$657aa8c0@m6805> LOL, I hope you didn't send that message from the new job. You might be applying for street sweeper. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Nov 9 09:28:17 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 9 Nov 2006 09:28:17 -0600 Subject: [AccessD] test Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0E7@corp-es01.fleetpride.com> Yea, I'm continually reminded by my cohorts that an auditor is the fella whose job is to bayonet the wounded after the battle has already been fought and an accountant is the fella who sweeps up after the elephant has already passed in the parade. :~] Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 09, 2006 9:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From garykjos at gmail.com Thu Nov 9 09:29:34 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 9 Nov 2006 09:29:34 -0600 Subject: [AccessD] test In-Reply-To: <001301c70413$0082cb90$657aa8c0@m6805> References: <001301c70413$0082cb90$657aa8c0@m6805> Message-ID: As Judge Smales says in Caddyshack, "The world needs ditch diggers too!" GK On 11/9/06, JWColby wrote: > LOL, I hope you didn't send that message from the new job. You might be > applying for street sweeper. > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson > Sent: Thursday, November 09, 2006 10:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test > > Thanks, Gary. All is great. Although.....street cleaner might have been a > step up. > > :) > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, November 09, 2006 9:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] test > > Hi Keith. How's the new job? GK > > On 11/9/06, Keith Williamson wrote: > > Test!! Just testing from my new work. Haven't seen any posting since > > early yesterday. > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Thu Nov 9 09:33:55 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 9 Nov 2006 10:33:55 -0500 Subject: [AccessD] test In-Reply-To: <001301c70413$0082cb90$657aa8c0@m6805> Message-ID: To be clear, street cleaner would have been a step up from the OLD job...not the new. :) {wanted to make sure that any prying eyes understood...cause yes...this is from my new job.} :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 09, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] test LOL, I hope you didn't send that message from the new job. You might be applying for street sweeper. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dgibso at uark.edu Thu Nov 9 09:53:59 2006 From: dgibso at uark.edu (David A Gibson) Date: Thu, 09 Nov 2006 09:53:59 -0600 Subject: [AccessD] test In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0E7@corp-es01.fleetprid e.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0E7@corp-es01.fleetpride.com> Message-ID: <7.0.1.0.0.20061109095233.01dbec40@uark.edu> You might also add that a Statistician is someone who lacks the personality to be an Accountant. David G. At 09:28 AM 11/9/2006, you wrote: >Yea, I'm continually reminded by my cohorts that an auditor is the fella >whose job is to bayonet the wounded after the battle has already been fought >and an accountant is the fella who sweeps up after the elephant has already >passed in the parade. :~] >Jim Hale > >-----Original Message----- >From: Keith Williamson [mailto:Kwilliamson at rtkl.com] >Sent: Thursday, November 09, 2006 9:12 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > > >Thanks, Gary. All is great. Although.....street cleaner might have >been a step up. > >:) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >Sent: Thursday, November 09, 2006 9:58 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > >Hi Keith. How's the new job? GK > >On 11/9/06, Keith Williamson wrote: > > Test!! Just testing from my new work. Haven't seen any posting since > > early yesterday. > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >-- >Gary Kjos >garykjos at gmail.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From jwcolby at colbyconsulting.com Thu Nov 9 10:04:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 9 Nov 2006 11:04:57 -0500 Subject: [AccessD] test In-Reply-To: Message-ID: <001f01c70418$ce1753f0$657aa8c0@m6805> ROTFLMAO!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test To be clear, street cleaner would have been a step up from the OLD job...not the new. :) {wanted to make sure that any prying eyes understood...cause yes...this is from my new job.} :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 09, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] test LOL, I hope you didn't send that message from the new job. You might be applying for street sweeper. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 09, 2006 10:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Thanks, Gary. All is great. Although.....street cleaner might have been a step up. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, November 09, 2006 9:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Hi Keith. How's the new job? GK On 11/9/06, Keith Williamson wrote: > Test!! Just testing from my new work. Haven't seen any posting since > early yesterday. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 setel.com Thu Nov 9 12:45:43 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 9 Nov 2006 13:45:43 -0500 Subject: [AccessD] Interesting behavior with Val() Message-ID: <006901c7042f$43c53480$b034fad1@SUSANONE> I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. From ssharkins at setel.com Thu Nov 9 13:05:07 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 9 Nov 2006 14:05:07 -0500 Subject: [AccessD] Nevermind (RE: Interesting behavior with Val()) In-Reply-To: <006901c7042f$43c53480$b034fad1@SUSANONE> Message-ID: <007c01c70431$fa92ecf0$b034fad1@SUSANONE> Sometimes I suffer from serious disconnect... Susan H. I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the From bheid at appdevgrp.com Thu Nov 9 13:06:16 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Nov 2006 14:06:16 -0500 Subject: [AccessD] Interesting behavior with Val() In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6F48B@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35A86@ADGSERVER> Because Val returns 0 and the length of "0" is 1. In the immediate window try: ? val("abc") -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 09, 2006 1:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting behavior with Val() I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. From ssharkins at setel.com Thu Nov 9 13:19:00 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 9 Nov 2006 14:19:00 -0500 Subject: [AccessD] Interesting behavior with Val() In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D35A86@ADGSERVER> Message-ID: <008301c70433$e9aa3e00$b034fad1@SUSANONE> Bobby, I realized that as soon as I sent the question -- sorry. But thank you for responding! ;) I had 0 stuck in the brain, without following the process all the way through. Some days are harder than others. Susan H. Because Val returns 0 and the length of "0" is 1. From Lambert.Heenan at AIG.com Thu Nov 9 13:22:13 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 9 Nov 2006 13:22:13 -0600 Subject: [AccessD] Interesting behavior with Val() Message-ID: Well, while the help file is not explicit on this, the results you are seeing do make sense. Val() is supposed to extract a numeric value from the left end of a string, skipping over any spaces and the recognizing "&O" and "&H" to indicate Octal and Hex numbers. So Val("1abcde") will return 1, but Val("abcd") will return 0 (zero). This is because Val() is declare as returning a double, so the "value" of an all alpha string is treated as zero. And so Len(Val("abcd")) will be 1 not zero. If your intent was to find out if a string *begins* with a numeric value then you could try... If IsNumeric(Left(Trim(strValue),1)) Then ' Got a digit Else ' Does not start with a digit End If Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, November 09, 2006 1:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting behavior with Val() I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Nov 9 15:46:08 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 9 Nov 2006 15:46:08 -0600 Subject: [AccessD] Interesting behavior with Val() Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B51A@MARLOW_MAIN2.marlow.com> Val is returning 0, which has a length of 1. Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Thursday, November 09, 2006 12:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting behavior with Val() I've read Help looking for an explanation for what I'm about to say, but haven't found one. The following expression returns 1 if value has no numeric digits: Len(Val(value)) I expected the expression to return 0. You can test this on the Employees table in Northwind -- there are two records where the Address value is alpha text, with no numeric digits at the beginning of the value. The above expression, against those two values, returns 1. What am I missing? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Thu Nov 9 15:52:07 2006 From: cclenright at yahoo.com (Chris Enright) Date: Thu, 9 Nov 2006 13:52:07 -0800 (PST) Subject: [AccessD] test Message-ID: <20061109215207.80130.qmail@web34304.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Which brings to mind the phrase attributed to Benjamin Disraeli: "There are three kinds of lies: lies, damn lies, and statistics" Chris E -------Original Message------- From: David A Gibson Date: 09/11/2006 15:59:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] test You might also add that a Statistician is someone who lacks the personality to be an Accountant. David G. At 09:28 AM 11/9/2006, you wrote: >Yea, I'm continually reminded by my cohorts that an auditor is the fella >whose job is to bayonet the wounded after the battle has already been fought >and an accountant is the fella who sweeps up after the elephant has already >passed in the parade. :~] >Jim Hale > >-----Original Message----- >From: Keith Williamson [mailto:Kwilliamson at rtkl.com] >Sent: Thursday, November 09, 2006 9:12 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > > >Thanks, Gary. All is great. Although.....street cleaner might have >been a step up. > >:) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos >Sent: Thursday, November 09, 2006 9:58 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] test > >Hi Keith. How's the new job? GK > >On 11/9/06, Keith Williamson wrote: > > Test!! Just testing from my new work. Haven't seen any posting since > > early yesterday. > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >-- >Gary Kjos >garykjos at gmail.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. From cclenright at yahoo.com Thu Nov 9 16:11:43 2006 From: cclenright at yahoo.com (Chris Enright) Date: Thu, 9 Nov 2006 14:11:43 -0800 (PST) Subject: [AccessD] OT: Weird email line Message-ID: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Could someone please explain this strange line? On the few occasions I send an email to AccessD the copy of my message that comes back to me always begins with the line V\:* {behavior:URL (#default#vml);}v\:* { BEHAVIOR: URL (#default#vml)} It never happens any other time. Only with my messages and this list My incoming mail goes to my yahoo address and is then downloaded into Incredimail using YPOPs. What is generating that line? Chris --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business. From robert at servicexp.com Thu Nov 9 17:17:39 2006 From: robert at servicexp.com (Robert) Date: Thu, 9 Nov 2006 18:17:39 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> Message-ID: <000c01c70455$4b84e3c0$dcc05005@roberts> Hello All, I need to create a scheduling calendar, and need multi-resource view capacities. I'm thinking about using Xtreme CalendarPro ActiveX control? Has anyone used this control before? Any better solutions out there? Thanks Robert From dwaters at usinternet.com Thu Nov 9 17:30:17 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 9 Nov 2006 17:30:17 -0600 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <23300175.1163114558183.JavaMail.root@sniper41> Message-ID: <003901c70457$052a90d0$0200a8c0@danwaters> Why not use a Project Management application? Like MS Project (but hopefully cheaper?). These are made specifically for scheduling and managing resources. Dan Waters -----Original Message----- Subject: [AccessD] Xtreme CalendarPro Anyone??? Hello All, I need to create a scheduling calendar, and need multi-resource view capacities. I'm thinking about using Xtreme CalendarPro ActiveX control? Has anyone used this control before? Any better solutions out there? Thanks Robert From michael at ddisolutions.com.au Thu Nov 9 18:43:00 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 10 Nov 2006 11:43:00 +1100 Subject: [AccessD] Xtreme CalendarPro Anyone??? Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AC99@ddi-01.DDI.local> Don't know about better but I think Janus do something like that. www.janusys.com Their grid rules... cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Friday, 10 November 2006 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Xtreme CalendarPro Anyone??? Hello All, I need to create a scheduling calendar, and need multi-resource view capacities. I'm thinking about using Xtreme CalendarPro ActiveX control? Has anyone used this control before? Any better solutions out there? Thanks Robert -- 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 10 06:09:17 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 10 Nov 2006 07:09:17 -0500 Subject: [AccessD] OT: Weird email line In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6F4D7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35A8A@ADGSERVER> I've never seen anything like this in my emails from AccessD. Must be something on your side. My ISP does insert [Spam Suspect] many times into the subject header. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Enright Sent: Thursday, November 09, 2006 5:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Weird email line v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Could someone please explain this strange line? On the few occasions I send an email to AccessD the copy of my message that comes back to me always begins with the line V\:* {behavior:URL (#default#vml);}v\:* { BEHAVIOR: URL (#default#vml)} It never happens any other time. Only with my messages and this list My incoming mail goes to my yahoo address and is then downloaded into Incredimail using YPOPs. What is generating that line? Chris From carbonnb at gmail.com Fri Nov 10 06:35:00 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 10 Nov 2006 07:35:00 -0500 Subject: [AccessD] OT: Weird email line In-Reply-To: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> References: <20061109221143.88825.qmail@web34308.mail.mud.yahoo.com> Message-ID: On 11/9/06, Chris Enright wrote: > v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)} Could someone please explain this strange line? > > On the few occasions I send an email to AccessD the copy of my message that comes back to me always begins with the line > > V\:* {behavior:URL (#default#vml);}v\:* { BEHAVIOR: URL (#default#vml)} > > It never happens any other time. Only with my messages and this list > > My incoming mail goes to my yahoo address and is then downloaded into Incredimail using YPOPs. > > What is generating that line? It's being generated by the HTML mail that you are creating. The list software will strip the HTML part, but that line appears to fall outside of the HTML part of the e-mail. To get rid of the line, create and send e-mail in plain text only. Your friendly neighbourhood Listmaster, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From mikedorism at verizon.net Fri Nov 10 09:06:50 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 10 Nov 2006 10:06:50 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116AC99@ddi-01.DDI.local> Message-ID: <000301c704d9$da0678a0$2f01a8c0@Kermit> Yes it does. I love the whole suite of Janus UI controls and am super happy that they have now put out web versions. Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, November 09, 2006 7:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Don't know about better but I think Janus do something like that. www.janusys.com Their grid rules... cheers Michael M From robert at servicexp.com Fri Nov 10 09:24:58 2006 From: robert at servicexp.com (robert) Date: Fri, 10 Nov 2006 10:24:58 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: <000301c704d9$da0678a0$2f01a8c0@Kermit> Message-ID: Am I missing something, I don't see an ActiveX version of the schedule calendar on their site?? Thanks Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning Sent: Friday, November 10, 2006 10:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Yes it does. I love the whole suite of Janus UI controls and am super happy that they have now put out web versions. Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, November 09, 2006 7:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Don't know about better but I think Janus do something like that. www.janusys.com Their grid rules... cheers Michael M -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Fri Nov 10 10:03:43 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 10 Nov 2006 11:03:43 -0500 Subject: [AccessD] Xtreme CalendarPro Anyone??? In-Reply-To: Message-ID: <000401c704e1$cc279f90$2f01a8c0@Kermit> Sorry. Janus used to sell a version 2.0 of their UI controls that was useable in Visual Studio 2003 as well as Access 2000 and up. It looks like they have discontinued that in favor of the controls that only work in Visual Studio 2005. Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of robert Sent: Friday, November 10, 2006 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Xtreme CalendarPro Anyone??? Am I missing something, I don't see an ActiveX version of the schedule calendar on their site?? Thanks Robert From john at winhaven.net Fri Nov 10 10:51:12 2006 From: john at winhaven.net (John Bartow) Date: Fri, 10 Nov 2006 10:51:12 -0600 Subject: [AccessD] Xerox Freeflow Message-ID: <200611101651.kAAGpHq02596@databaseadvisors.com> Anyone have experience working with or through the installation of the Xerox Freeflow system? From Jim.Hale at FleetPride.com Fri Nov 10 13:45:17 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 10 Nov 2006 13:45:17 -0600 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> It's too quiet for a Friday! WINTER CLASSES FOR MEN AT: THE LEARNING CENTER FOR ADULTS REGISTRATION MUST BE COMPLETED BY Saturday, December 12, 2006 NOTE: DUE TO THE COMPLEXITY AND DIFFICULTY LEVEL OF THEIR CONTENTS, CLASS SIZES WILL BE LIMITED TO 8 PARTICIPANTS MAXIMUM. Class 1 How To Fill Up The Ice Cube Trays --- Step by Step, with Slide Presentation. Meets 4 weeks, Monday and Wednesday for 2 hours beginning at 7:00 PM. Class 2 The Toilet Paper Roll --- Does It Change Itself? Round Table Discussion. Meets 2 weeks, Saturday 12:00 for 2 hours. Class 3 Is It Possible To Urinate Using The Technique Of Lifting The Seat and Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 weeks, Saturday 10:00 PM for 2 hours. Class 4 Fundamental Differences Between The Laundry Hamper and The Floor --- Pictures and Explanatory Graphics. Meets Saturdays at 2:00 PM for 3 weeks. Class 5 After Dinner Dishes --- Can They Levitate and Fly Into The Kitchen Sink? Examples on Video. Meets 4 weeks, Tuesday and Thursday for 2 hours beginning at 7:00 PM Class 6 Loss Of Identity --- Losing The Remote To Your Significant Other. Help Line Support and Support Groups. Meets 4 Weeks, Friday and Sunday 7:00 PM Class 7 Learning How To Find Things --- Starting With Looking In The Right Places And Not Turning The House Upside Down While Screaming. Open Forum . Monday at 8:00 PM, 2 hours. Class 8 Health Watch --- Bringing Her Flowers Is Not Harmful To Your Health. Graphics and Audio Tapes. Three nights; Monday, Wednesday, Friday at 7:00 PM for 2 hours. Class 9 Real Men Ask For Directions When Lost --- Real Life Testimonials. Tuesdays at 6:00 PM Location to be determined. Class 10 Is It Genetically Impossible To Sit Quietly While She Parallel Parks? Driving Simulations. 4 weeks, Saturday's noon, 2 hours. Class 11 Learning to Live --- Basic Differences Between Mother and Wife. Online Classes and role-playing . Tuesdays at 7:00 PM, location to be determined Class 12 How to be the Ideal Shopping Companion Relaxation Exercises, Meditation and Breathing Techniques. Meets 4 weeks, Tuesday and Thursday for 2 hours beginning at 7:00 PM. Class 13 How to Fight Cerebral Atrophy --- Remembering Birthdays, Anniversaries and Other Important Dates and Calling When You're Going To Be Late. Cerebral Shock Therapy Sessions and Full Lobotomies Offered. Three nights; Monday, Wednesday, Friday at 7:00 PM for 2 hours. Class 14 The Stove/Oven --- What It Is and How It Is Used. Live Demonstration. Tuesdays at 6:00 PM, location to be determined. Upon completion of any of the above courses, diplomas will be issued to the survivors. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From mfisch4 at capex.com.ar Fri Nov 10 14:15:39 2006 From: mfisch4 at capex.com.ar (MF) Date: Fri, 10 Nov 2006 17:15:39 -0300 Subject: [AccessD] OT: Friday humor In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetprid e.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> Message-ID: <6.2.3.4.0.20061110171510.03623f30@bsas-mail> New Dictionary Terms Blamestorming: Sitting around in a group discussing why a deadline was missed or a project failed, and who was responsible. Cube Farm: An office filled with cubicles. Prairie Dogging: When someone yells or drops something loudly in a cube farm, and people's heads pop up over the walls to see what's going on. Ego Surfing: Scanning the Net, databases, print media and so on, looking for references to one's own name. Elvis Year: The peak year of something's or someone's popularity. "Barney the Dinosaur's Elvis year was 1993." 404: Someone who's clueless. "Don't bother asking him; he's 404." From the WWW error message "404 Not Found", meaning the requested document couldn't be located. Idea Hamsters: People who always seem to have their idea generators running. Keyboard Plaque: The disgusting buildup of dirt and crud found on computer keyboards. Mouse Potato: The on-line, wired generation's answer to the couch potato. Oh-no-second: That minuscule fraction of time in which you realize that you've just made a big mistake. Perot: To quit unexpectedly, as in "My cellular phone just perot'ed." SITCOM: What yuppies turn into when they have children and one of them stops working to stay home with the kids. Stands for Single Income, Two Children, Oppressive Mortgage. Squirt the Bird: To transmit a signal to a satellite. Starter Marriage: A short-lived first marriage that ends in divorce with no kids, no property and no regrets. Stress Puppy: A person who seems to thrive on being stressed out and whiny. Body Nazis: Hard-core exercise and weight-lifting fanatics who look down on anyone who doesn't work out obsessively. Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. Tourists: People who take training classes just to get a vacation from their jobs. "We had three serious students in the class; the rest were just tourists." Uninstalled: Euphemism for being fired. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Things You Wish You Could Say At Work 1. Ahhh, I see the fuck-up fairy has visited us again. 2. I don't know what your problem is, but I'll bet it's hard to pronounce. 3. How about never? Is never good for you? 4. I see you've set aside this special time to humiliate yourself in public. 5. I'm really easy to get along with once you people learn to worship me. 6. I'll try being nicer if you'll try being smarter. 7. I'm out of my mind, but feel free to leave a message. 8. I don't work here. I'm a consultant. 9. It sounds like English, but I can't understand a word you're saying. 10. I can see your point, but I still think you're full of shit. 11. I like you. You remind me of when I was young and stupid. 12. You are validating my inherent mistrust of strangers. 13. I have plenty of talent and vision. I just don't give a damn. 14. I'm already visualizing the duct tape over your mouth. 15. I will always cherish the initial misconceptions I had about you. 16. Thank you. We're all refreshed and challenged by your unique point of view. 17. The fact that no one understands you doesn't mean you're an artist. 18. Any connection between your reality and mine is purely coincidental. 19. What am I? Flypaper for freaks!? 20. I'm not being rude. You're just insignificant. 21. It's a thankless job, but I've got a lot of Karma to burn off. 22. Yes, I am an agent of Satan, but my duties are largely ceremonial. 23. You sound reasonable ... Time to up the medication. 24. Who me? I just wander from room to room. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Cubans St. Peter came to the Lord and said, "I have to talk to you." We have some Cubans up here who are causing problems. My flute is missing, mojo sauce is all over the place, they are making guayaberas from their robes, they have domino tables in the cafeteria, and they're wearing baseball caps instead of halos. They refuse to stop making Cuban Coffee on the heaven's stairs and some of them are walking around with just one wing." The Lord said, "Cubans are Cubans, Peter. Heaven is home to all my children. If you want to know about real problems, ask the Devil." Peter calls - the Devil answered the phone "Hello? Damn, hold on a minute." The Devil returned to the phone, "O.K., I'm back. What can I do for you?" Peter replied, "I just want to know what kind of problems you're having down there." The Devil again said Hold on, Hold On.... The Devil said "I'm back. Now what was the question?" Peter said "What kind of problems are you having down there?" The Devil said "Man, I don't believe this...Hold on." This time the Devil was gone 15 minutes. The Devil returned and said, "I'm sorry Peter, I can't talk right now. Those damn Cubans have put out the fire and are trying to install air conditioning." ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Here goes Little Tony AGAIN!!!!! A teacher asks her class, "If there are 5 birds sitting on a fence and you shoot one of them, how many will be left?" She calls on little TONY. He replies, "None, they will all fly away with the first gunshot." The teacher replies, "The correct answer is 4, but I like your thinking." Then little TONY says, "I have a question for YOU. There are 3 women sitting on a bench having ice cream: One is delicately licking the sides of the triple scoop of ice cream . The second is gobbling down the top and sucking the cone. The third is biting off the top of the ice cream. Which one is married?" The teacher, blushing a great deal, replied, "Well, I suppose the one that's gobbled down the top and sucked the cone." To which Little TONY replied, "The correct answer is 'the one with the wedding ring on," but I like your thinking." ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON MATH (Part 2) Little TONY retur ns from school and says he got an F in arithmetic. "Why?" asks the father? "The teacher asked 'How much is 2x3,'" I said "6", replies TONY. "But that's right!" says his dad. "Yeah, but then she asked me "How much is 3x2?'" "What's the f...... difference?" asks the father. "That's what I said!" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON ENGLISH Little TONY goes to school, and the teacher says, "Today we are going to learn multi-syllable words, class. Does anybody have an example of a multi-syllable word?" TONY says "Mas-tur-bate." Miss Rogers smiles and says, "Wow, little TONY, that's a mouthful." Little TONY says, "No, Miss Rogers, you're thinking of a blowjob." ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON GRAMMAR Little TONY was sitting in class one day. All of a sudden, he needed to go to the bathroom . He yelled out, "Miss Jones, I need to take a piss!!" The teacher replied, 'Now, TONY, that is NOT the proper word to use in this situation. The correct word you want to use is 'urinate.' Please use the word 'ur-i-nate' in a sentence correctly, and I will allow you to go." Little TONY, thinks for a bit, and then says, "You're an eight, but if you had bigger boobs, you'd be a TEN!" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON GRAMMAR (Part 2) One day, during lessons on proper grammar, the teacher asked for a show of hands from those who could use the word "beautiful" in the same sentence twice. First, she called on little Suzie, who responded with, "My father bought my mother a beautiful dress and she looked beautiful in it." "Very good, Suzie," replied the teacher. She then called on little Michael. "My mommy planned a beautiful banquet and it turned out be autifully." She said, "Excellent, Michael!" Then the teacher reluctantly called on little TONY. "Last night at the dinner table, my sister told my father that she was pregnant, and he said 'Beautiful, just f...... beautiful!'" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ LITTLE TONY ON GETTING OLDER Little TONY was sitting on a park bench munching on one candy bar after another. After the 6th one a man on the bench across from him said, "Son, you know eating all that candy isn't good for you. It will give you acne, rot your teeth, and make you fat." Little TONY replied, "My grandfather lived to be 107 years old." The man asked, "Did your grandfather eat 6 candy bars at a time?" Little TONY answered, "No, he minded his own f....... business. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ From ssharkins at setel.com Fri Nov 10 17:22:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 10 Nov 2006 18:22:16 -0500 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> Message-ID: <001501c7051f$1033e530$e6b82ad1@SUSANONE> Is It Possible To Urinate Using The Technique Of Lifting The Seat and Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 weeks, Saturday 10:00 PM for 2 hours. ========I really don't suggest this -- how else are they gonna mark their territory? Susan H. From ssharkins at setel.com Fri Nov 10 17:22:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 10 Nov 2006 18:22:16 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: <6.2.3.4.0.20061110171510.03623f30@bsas-mail> Message-ID: <001601c7051f$10e92b70$e6b82ad1@SUSANONE> Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. =======Speaking of... I have trouble using my debit card at one Wal-mart store -- just one Wal-mart and no place else, not even other Wal-marts. What's up with that? Susan H. From DWUTKA at marlow.com Fri Nov 10 17:29:07 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Nov 2006 17:29:07 -0600 Subject: [AccessD] OT: Friday humor Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B697@MARLOW_MAIN2.marlow.com> Bad connection to the authorizing agent. Ask the management if other people have problems with their cards. Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Friday, November 10, 2006 5:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday humor Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. =======Speaking of... I have trouble using my debit card at one Wal-mart store -- just one Wal-mart and no place else, not even other Wal-marts. What's up with that? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 10 17:29:34 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Nov 2006 17:29:34 -0600 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B698@MARLOW_MAIN2.marlow.com> LOL. There are ways! Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Friday, November 10, 2006 5:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Where is everybody? Friday humor to wake you up Is It Possible To Urinate Using The Technique Of Lifting The Seat and Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 weeks, Saturday 10:00 PM for 2 hours. ========I really don't suggest this -- how else are they gonna mark their territory? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Fri Nov 10 17:42:06 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 10 Nov 2006 18:42:06 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B697@MARLOW_MAIN2.marlow.com> Message-ID: <001801c70521$d5a812d0$e6b82ad1@SUSANONE> Bill's card always works. After they deny mine, he comes behind me and swipes his and it goes through every time. Susan H. Bad connection to the authorizing agent. Ask the management if other people have problems with their cards. From cfoust at infostatsystems.com Fri Nov 10 17:48:15 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Nov 2006 15:48:15 -0800 Subject: [AccessD] OT: Friday humor In-Reply-To: <001601c7051f$10e92b70$e6b82ad1@SUSANONE> Message-ID: In my case, it's always meant the card was about to give up the ghost and I had found the one reader that realized it early. Get a replacement BEFORE it stops working everywhere. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, November 10, 2006 3:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday humor Swiped Out: An ATM or credit card that has been rendered useless because the magnetic strip is worn away from extensive use. =======Speaking of... I have trouble using my debit card at one Wal-mart store -- just one Wal-mart and no place else, not even other Wal-marts. What's up with that? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Nov 10 18:02:41 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Nov 2006 19:02:41 -0500 Subject: [AccessD] OT: Friday humor References: <001601c7051f$10e92b70$e6b82ad1@SUSANONE> Message-ID: <007301c70524$ca9878a0$3e3de844@50NM721> ...karma? William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 10, 2006 6:22 PM Subject: Re: [AccessD] OT: Friday humor > > > Swiped Out: An ATM or credit card that has been rendered useless because > the > magnetic strip is worn away from extensive use. > > =======Speaking of... I have trouble using my debit card at one Wal-mart > store -- just one Wal-mart and no place else, not even other Wal-marts. > What's up with that? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 10 18:04:02 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Nov 2006 19:04:02 -0500 Subject: [AccessD] OT: Where is everybody? Friday humor to wake you up References: <17724746D360394AA3BFE5B8D40A9C1B0139B698@MARLOW_MAIN2.marlow.com> Message-ID: <007401c70524$e5b51580$3e3de844@50NM721> ...a helping hand is beneficial :) William Hindman ----- Original Message ----- From: To: Sent: Friday, November 10, 2006 6:29 PM Subject: Re: [AccessD] OT: Where is everybody? Friday humor to wake you up > LOL. There are ways! > > Drew > > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at setel.com] > Sent: Friday, November 10, 2006 5:22 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Where is everybody? Friday humor to wake you up > > > Is It Possible To Urinate Using The Technique Of Lifting The Seat and > Avoiding The Floor, Walls and Nearby Bathtub? --- Group Practice. Meets 4 > weeks, Saturday 10:00 PM for 2 hours. > > ========I really don't suggest this -- how else are they gonna mark their > territory? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Fri Nov 10 18:04:27 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Nov 2006 19:04:27 -0500 Subject: [AccessD] OT: Friday humor References: <001801c70521$d5a812d0$e6b82ad1@SUSANONE> Message-ID: <007a01c70524$f4d21a40$3e3de844@50NM721> ...karma :) William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 10, 2006 6:42 PM Subject: Re: [AccessD] OT: Friday humor > Bill's card always works. After they deny mine, he comes behind me and > swipes his and it goes through every time. > > Susan H. > > Bad connection to the authorizing agent. Ask the management if other > people > have problems with their cards. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at setel.com Sat Nov 11 09:25:46 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 11 Nov 2006 10:25:46 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: Message-ID: <001c01c705a5$aa887200$e6b82ad1@SUSANONE> Well, that's interesting. Thing is, the card is brand new. :( But, that doesn't mean it isn't defective -- that could be true. Susan H. In my case, it's always meant the card was about to give up the ghost and I had found the one reader that realized it early. Get a replacement BEFORE it stops working everywhere. From lembit.dbamail at t-online.de Sat Nov 11 12:22:43 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 11 Nov 2006 19:22:43 +0100 Subject: [AccessD] XP-mde on A2003? References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F0@corp-es01.fleetpride.com> <6.2.3.4.0.20061110171510.03623f30@bsas-mail> Message-ID: <005301c705be$6155b340$1800a8c0@s1800> Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? thank you Lembit From jwcolby at colbyconsulting.com Sat Nov 11 13:47:17 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 11 Nov 2006 14:47:17 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <005301c705be$6155b340$1800a8c0@s1800> Message-ID: <000801c705ca$3285a320$d60f390a@m6805> Yep, AFAIK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, November 11, 2006 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? thank you Lembit -- 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 11 16:16:22 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 11 Nov 2006 14:16:22 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <000801c705ca$3285a320$d60f390a@m6805> Message-ID: <001701c705df$0583ad30$6701a8c0@HAL9005> But can you run a 2003 mde on an A2K2 machine or an A2K machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 11, 2006 11:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? Yep, AFAIK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, November 11, 2006 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 2:31 PM From wdhindman at dejpolsystems.com Sat Nov 11 16:29:37 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 11 Nov 2006 17:29:37 -0500 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005> Message-ID: <000d01c705e0$dfac6960$3e3de844@50NM721> ...yes, as long as you've saved it in A2K format. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 5:16 PM Subject: Re: [AccessD] XP-mde on A2003? > But can you run a 2003 mde on an A2K2 machine or an A2K machine? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, November 11, 2006 11:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] XP-mde on A2003? > > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 > 2:31 PM > > > -- > 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 11 19:13:25 2006 From: john at winhaven.net (John Bartow) Date: Sat, 11 Nov 2006 19:13:25 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <000d01c705e0$dfac6960$3e3de844@50NM721> Message-ID: <200611120113.kAC1DQq16748@databaseadvisors.com> A2k3 can't make an A2k mde. You have to have it in A2k3 format to make an mde. I tried opening an A2k3 mde with A2k on a machine with A2k and A2k3 installed and it does not work - unrecognized format. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 11, 2006 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? ...yes, as long as you've saved it in A2K format. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 5:16 PM Subject: Re: [AccessD] XP-mde on A2003? > But can you run a 2003 mde on an A2K2 machine or an A2K machine? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, November 11, 2006 11:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] XP-mde on A2003? > > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 > 2:31 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Nov 11 20:21:08 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 11 Nov 2006 21:21:08 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <001701c705df$0583ad30$6701a8c0@HAL9005> Message-ID: <001301c70601$37a877b0$d60f390a@m6805> No, or rather it depends. If you use an A2K container, and only use constructs that are native to A2K then yes. Maybe. There is an update to VBA after A2K that you will have to deal with. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Saturday, November 11, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? But can you run a 2003 mde on an A2K2 machine or an A2K machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, November 11, 2006 11:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? Yep, AFAIK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, November 11, 2006 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 2:31 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sat Nov 11 20:45:16 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 11 Nov 2006 21:45:16 -0500 Subject: [AccessD] XP-mde on A2003? References: <200611120113.kAC1DQq16748@databaseadvisors.com> Message-ID: <006d01c70604$9670f710$3e3de844@50NM721> John ...have you tried using late binding and ensuring the paths are the same? William Hindman ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 8:13 PM Subject: Re: [AccessD] XP-mde on A2003? > A2k3 can't make an A2k mde. You have to have it in A2k3 format to make an > mde. > > I tried opening an A2k3 mde with A2k on a machine with A2k and A2k3 > installed and it does not work - unrecognized format. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, November 11, 2006 4:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] XP-mde on A2003? > > ...yes, as long as you've saved it in A2K format. > > William Hindman > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 11, 2006 5:16 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Saturday, November 11, 2006 11:47 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] XP-mde on A2003? >> >> Yep, AFAIK. >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >> Sent: Saturday, November 11, 2006 1:23 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] XP-mde on A2003? >> >> Hi everyone, >> I have been asked to write an Access db for a friend. >> I have Access-XP (2002) on my machine >> he has Access 2003 >> >> can he run an mde from me on his machine? >> >> 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 >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >> 11/10/2006 >> 2:31 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Sun Nov 12 00:27:29 2006 From: john at winhaven.net (John Bartow) Date: Sun, 12 Nov 2006 00:27:29 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <006d01c70604$9670f710$3e3de844@50NM721> Message-ID: <200611120627.kAC6RRq12802@databaseadvisors.com> William, To test this again, I created a new db db1.mdb created (only) one form with a label that says "TEST" and no module made it the startup form created an mde from db1.mdb - error "you cannot create a Microsoft Access ADE or MDE from a database saved in Microsoft Access 2000 format" converted db1.mdb to a2k3 - db2.mdb created an mde from db2.mdb - db2.mde opened db1.mdb in a2k3 - worked opened db2.mdb with a2k3 - worked opened db2.mde with a2k3 - worked opened db1.mdb in a2k - worked opened db2.mdb with a2k and get error "this database is in an unrecognized format" opened db2.mde with a2k and get error "this database is in an unrecognized format" I just reinstalled from scratch a couple of weeks ago so I'd be interested to know if you can do this same thing successfully. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 11, 2006 8:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? John ...have you tried using late binding and ensuring the paths are the same? William Hindman From lembit.dbamail at t-online.de Sun Nov 12 04:36:57 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 11:36:57 +0100 Subject: [AccessD] XP-mde on A2003? References: <000801c705ca$3285a320$d60f390a@m6805> Message-ID: <002901c70646$7ab07310$1800a8c0@s1800> thanks, John btw, did you get my uP mails? and do they help? Lembit ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 8:47 PM Subject: Re: [AccessD] XP-mde on A2003? > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 lembit.dbamail at t-online.de Sun Nov 12 04:45:24 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 11:45:24 +0100 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005> <000d01c705e0$dfac6960$3e3de844@50NM721> Message-ID: <003401c70647$a914b620$1800a8c0@s1800> hmm, William, is this an answer to Rocky's question or to mine? you mean I have to build the database in A2000 format and then convert it to mde, and then it will run under A2003? thanks Lembit ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Saturday, November 11, 2006 11:29 PM Subject: Re: [AccessD] XP-mde on A2003? > ...yes, as long as you've saved it in A2K format. > > William Hindman > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 11, 2006 5:16 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Saturday, November 11, 2006 11:47 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] XP-mde on A2003? >> >> Yep, AFAIK. >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >> Sent: Saturday, November 11, 2006 1:23 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] XP-mde on A2003? >> >> Hi everyone, >> I have been asked to write an Access db for a friend. >> I have Access-XP (2002) on my machine >> he has Access 2003 >> >> can he run an mde from me on his machine? >> >> 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 >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >> 11/10/2006 >> 2:31 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sun Nov 12 06:37:48 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 12 Nov 2006 04:37:48 -0800 (PST) Subject: [AccessD] Moving items in a listbox with the mouse Message-ID: <20061112123748.7261.qmail@web33101.mail.mud.yahoo.com> Does anyone know of any method, code or control that I could use to move order of the items within a list box with a mouse. So if I have three things in a list box CAT DOG BIRD I would like to grab DOG with my mouse and move it up above CAT. Is that possible? Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From wdhindman at dejpolsystems.com Sun Nov 12 07:44:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 08:44:52 -0500 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005><000d01c705e0$dfac6960$3e3de844@50NM721> <003401c70647$a914b620$1800a8c0@s1800> Message-ID: <004201c70660$bb5315c0$3e3de844@50NM721> Lembit ...A2K mdes should run fine in A2K3 as long as the paths are the same ...afaik mdes hardcode the path to the executable and the default install puts A2K and A2K3 in different paths. William Hindman ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 5:45 AM Subject: Re: [AccessD] XP-mde on A2003? > hmm, William, is this an answer to Rocky's question or to mine? > you mean I have to build the database in A2000 format and then convert it > to > mde, and then it will run under A2003? > > thanks > Lembit > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 11, 2006 11:29 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> ...yes, as long as you've saved it in A2K format. >> >> William Hindman >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 11, 2006 5:16 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Saturday, November 11, 2006 11:47 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> Yep, AFAIK. >>> >>> >>> John W. Colby >>> Colby Consulting >>> www.ColbyConsulting.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >>> Sent: Saturday, November 11, 2006 1:23 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] XP-mde on A2003? >>> >>> Hi everyone, >>> I have been asked to write an Access db for a friend. >>> I have Access-XP (2002) on my machine >>> he has Access 2003 >>> >>> can he run an mde from me on his machine? >>> >>> 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 >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>> 11/10/2006 >>> 2:31 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Sun Nov 12 07:48:07 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 12 Nov 2006 16:48:07 +0300 Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: <000001c70661$2f8295b0$6401a8c0@nant> Hi All, Is there somewhere a file with IATA Airport codes ready to be imported into MS Access database? I mean Airport codes like these: http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L Thank you. -- Shamil From wdhindman at dejpolsystems.com Sun Nov 12 07:51:55 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 08:51:55 -0500 Subject: [AccessD] Moving items in a listbox with the mouse References: <20061112123748.7261.qmail@web33101.mail.mud.yahoo.com> Message-ID: <004801c70661$b7fe9e20$3e3de844@50NM721> ...if you are working with a full Access install, then www.lebans.com has a list box with drag and drop capability. William Hindman ----- Original Message ----- From: "Lonnie Johnson" To: "AccessD solving'" Sent: Sunday, November 12, 2006 7:37 AM Subject: [AccessD] Moving items in a listbox with the mouse > Does anyone know of any method, code or control that I could use to move > order of the items within a list box with a mouse. > > So if I have three things in a list box > > CAT > DOG > BIRD > > I would like to grab DOG with my mouse and move it up above CAT. > > Is that possible? > > Thanks. > > > > > > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sun Nov 12 07:52:27 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 12 Nov 2006 08:52:27 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <004201c70660$bb5315c0$3e3de844@50NM721> Message-ID: <000301c70661$cad5ebc0$d60f390a@m6805> I think the MDE has to be MADE using A2K, and will then RUN under A2K3 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, November 12, 2006 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? Lembit ...A2K mdes should run fine in A2K3 as long as the paths are the same ...afaik mdes hardcode the path to the executable and the default install puts A2K and A2K3 in different paths. William Hindman ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 5:45 AM Subject: Re: [AccessD] XP-mde on A2003? > hmm, William, is this an answer to Rocky's question or to mine? > you mean I have to build the database in A2000 format and then convert it > to > mde, and then it will run under A2003? > > thanks > Lembit > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 11, 2006 11:29 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> ...yes, as long as you've saved it in A2K format. >> >> William Hindman >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 11, 2006 5:16 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Saturday, November 11, 2006 11:47 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> Yep, AFAIK. >>> >>> >>> John W. Colby >>> Colby Consulting >>> www.ColbyConsulting.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik >>> Sent: Saturday, November 11, 2006 1:23 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] XP-mde on A2003? >>> >>> Hi everyone, >>> I have been asked to write an Access db for a friend. >>> I have Access-XP (2002) on my machine >>> he has Access 2003 >>> >>> can he run an mde from me on his machine? >>> >>> 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 >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>> 11/10/2006 >>> 2:31 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Sun Nov 12 08:50:42 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 15:50:42 +0100 Subject: [AccessD] XP-mde on A2003? References: <001701c705df$0583ad30$6701a8c0@HAL9005><000d01c705e0$dfac6960$3e3de844@50NM721><003401c70647$a914b620$1800a8c0@s1800> <004201c70660$bb5315c0$3e3de844@50NM721> Message-ID: <002001c70669$ed8b2380$1800a8c0@s1800> thank you, William Lembit ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 2:44 PM Subject: Re: [AccessD] XP-mde on A2003? > Lembit > > ...A2K mdes should run fine in A2K3 as long as the paths are the same > ...afaik mdes hardcode the path to the executable and the default install > puts A2K and A2K3 in different paths. > > William Hindman > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 12, 2006 5:45 AM > Subject: Re: [AccessD] XP-mde on A2003? > > >> hmm, William, is this an answer to Rocky's question or to mine? >> you mean I have to build the database in A2000 format and then convert it >> to >> mde, and then it will run under A2003? >> >> thanks >> Lembit >> >> ----- Original Message ----- >> From: "William Hindman" >> To: "Access Developers discussion and problem solving" >> >> Sent: Saturday, November 11, 2006 11:29 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> ...yes, as long as you've saved it in A2K format. >>> >>> William Hindman >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 11, 2006 5:16 PM >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> >>>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>>> Sent: Saturday, November 11, 2006 11:47 AM >>>> To: 'Access Developers discussion and problem solving' >>>> Subject: Re: [AccessD] XP-mde on A2003? >>>> >>>> Yep, AFAIK. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> www.ColbyConsulting.com >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit >>>> Soobik >>>> Sent: Saturday, November 11, 2006 1:23 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: [AccessD] XP-mde on A2003? >>>> >>>> Hi everyone, >>>> I have been asked to write an Access db for a friend. >>>> I have Access-XP (2002) on my machine >>>> he has Access 2003 >>>> >>>> can he run an mde from me on his machine? >>>> >>>> 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 >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>>> 11/10/2006 >>>> 2:31 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Sun Nov 12 08:51:09 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 12 Nov 2006 15:51:09 +0100 Subject: [AccessD] XP-mde on A2003? References: <000301c70661$cad5ebc0$d60f390a@m6805> Message-ID: <002501c70669$fdaee9e0$1800a8c0@s1800> thank you, John, will try it Lembit ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 12, 2006 2:52 PM Subject: Re: [AccessD] XP-mde on A2003? >I think the MDE has to be MADE using A2K, and will then RUN under A2K3 > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Sunday, November 12, 2006 8:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] XP-mde on A2003? > > Lembit > > ...A2K mdes should run fine in A2K3 as long as the paths are the same > ...afaik mdes hardcode the path to the executable and the default install > puts A2K and A2K3 in different paths. > > William Hindman > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 12, 2006 5:45 AM > Subject: Re: [AccessD] XP-mde on A2003? > > >> hmm, William, is this an answer to Rocky's question or to mine? >> you mean I have to build the database in A2000 format and then convert it >> to >> mde, and then it will run under A2003? >> >> thanks >> Lembit >> >> ----- Original Message ----- >> From: "William Hindman" >> To: "Access Developers discussion and problem solving" >> >> Sent: Saturday, November 11, 2006 11:29 PM >> Subject: Re: [AccessD] XP-mde on A2003? >> >> >>> ...yes, as long as you've saved it in A2K format. >>> >>> William Hindman >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 11, 2006 5:16 PM >>> Subject: Re: [AccessD] XP-mde on A2003? >>> >>> >>>> But can you run a 2003 mde on an A2K2 machine or an A2K machine? >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>>> Sent: Saturday, November 11, 2006 11:47 AM >>>> To: 'Access Developers discussion and problem solving' >>>> Subject: Re: [AccessD] XP-mde on A2003? >>>> >>>> Yep, AFAIK. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> www.ColbyConsulting.com >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit >>>> Soobik >>>> Sent: Saturday, November 11, 2006 1:23 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: [AccessD] XP-mde on A2003? >>>> >>>> Hi everyone, >>>> I have been asked to write an Access db for a friend. >>>> I have Access-XP (2002) on my machine >>>> he has Access 2003 >>>> >>>> can he run an mde from me on his machine? >>>> >>>> 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 >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: >>>> 11/10/2006 >>>> 2:31 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > 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 12 09:48:37 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 12 Nov 2006 07:48:37 -0800 (PST) Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: <20061112154838.25114.qmail@web88210.mail.re2.yahoo.com> I grabbed all the data from an airport list (which was subdivided by initial character) and I'm sending you off-list the MDB. If anyone else wants the list, pvt me and I will send it to you as well. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access-D Sent: Sunday, November 12, 2006 8:48:07 AM Subject: [AccessD] IATA Airport codes to import into MS Access database Hi All, Is there somewhere a file with IATA Airport codes ready to be imported into MS Access database? I mean Airport codes like these: http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L Thank you. -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Nov 12 10:06:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 12 Nov 2006 08:06:17 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <000d01c705e0$dfac6960$3e3de844@50NM721> Message-ID: <001301c70674$7c960d10$6701a8c0@HAL9005> But I don't think A2K3 will compile and mde from an A2K format mdb. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 11, 2006 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? ...yes, as long as you've saved it in A2K format. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 11, 2006 5:16 PM Subject: Re: [AccessD] XP-mde on A2003? > But can you run a 2003 mde on an A2K2 machine or an A2K machine? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, November 11, 2006 11:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] XP-mde on A2003? > > Yep, AFAIK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, November 11, 2006 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XP-mde on A2003? > > Hi everyone, > I have been asked to write an Access db for a friend. > I have Access-XP (2002) on my machine > he has Access 2003 > > can he run an mde from me on his machine? > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 > 2:31 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.2/528 - Release Date: 11/10/2006 2:31 PM From bchacc at san.rr.com Sun Nov 12 10:11:45 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 12 Nov 2006 08:11:45 -0800 Subject: [AccessD] Moving items in a listbox with the mouse In-Reply-To: <20061112123748.7261.qmail@web33101.mail.mud.yahoo.com> Message-ID: <001401c70675$403a95b0$6701a8c0@HAL9005> I've done this but only with a couple of command buttons labeled 'Move Up' and 'Move Down' outside the list box. Worked pretty well, though with some brute force code, IIRC. It was a long time ago but I can try to dig it out if you want to go in that direction. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, November 12, 2006 4:38 AM To: AccessD solving' Subject: [AccessD] Moving items in a listbox with the mouse Does anyone know of any method, code or control that I could use to move order of the items within a list box with a mouse. So if I have three things in a list box CAT DOG BIRD I would like to grab DOG with my mouse and move it up above CAT. Is that possible? Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/530 - Release Date: 11/11/2006 6:53 PM From wdhindman at dejpolsystems.com Sun Nov 12 10:28:34 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 11:28:34 -0500 Subject: [AccessD] IATA Airport codes to import into MS Access database References: <20061112154838.25114.qmail@web88210.mail.re2.yahoo.com> Message-ID: <002901c70677$99b1f500$3e3de844@50NM721> ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 10:48 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database >I grabbed all the data from an airport list (which was subdivided by >initial character) and I'm sending you off-list the MDB. If anyone else >wants the list, pvt me and I will send it to you as well. > > Arthur > > ----- Original Message ---- > From: Shamil Salakhetdinov > To: Access-D > Sent: Sunday, November 12, 2006 8:48:07 AM > Subject: [AccessD] IATA Airport codes to import into MS Access database > > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported > into > MS Access database? > > I mean Airport codes like these: > http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L > > > Thank you. > > -- > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sun Nov 12 10:45:12 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 12 Nov 2006 17:45:12 +0100 Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: Hi William and Shamil Here's an alternative: http://crashpads.com/airport_codes/index.cfm Don't fill in any field, just press the button to retrieve the full list - which can be saved as is to a text file. /gustav >>> wdhindman at dejpolsystems.com 12-11-06 17:28 >>> ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 10:48 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database >I grabbed all the data from an airport list (which was subdivided by >initial character) and I'm sending you off-list the MDB. If anyone else >wants the list, pvt me and I will send it to you as well. > > Arthur > > ----- Original Message ---- > From: Shamil Salakhetdinov > To: Access-D > Sent: Sunday, November 12, 2006 8:48:07 AM > Subject: [AccessD] IATA Airport codes to import into MS Access database > > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported > into > MS Access database? > > I mean Airport codes like these: > http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L > > > Thank you. > > -- > Shamil From wdhindman at dejpolsystems.com Sun Nov 12 12:47:07 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 12 Nov 2006 13:47:07 -0500 Subject: [AccessD] IATA Airport codes to import into MS Access database References: Message-ID: <000301c7068a$f55d62a0$3e3de844@50NM721> ...tks William Hindman ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, November 12, 2006 11:45 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database > Hi William and Shamil > > Here's an alternative: > > http://crashpads.com/airport_codes/index.cfm > > Don't fill in any field, just press the button to retrieve the full list - > which can be saved as is to a text file. > > /gustav > >>>> wdhindman at dejpolsystems.com 12-11-06 17:28 >>> > ...why not post it on dba ...I've got an updated lat/long/post codes with > US > and many international that I'll put up there soon as well ...its a rpita > to > find high quality data lists that really provide what you need > > William Hindman > > ----- Original Message ----- > From: > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 12, 2006 10:48 AM > Subject: Re: [AccessD] IATA Airport codes to import into MS Access > database > > >>I grabbed all the data from an airport list (which was subdivided by >>initial character) and I'm sending you off-list the MDB. If anyone else >>wants the list, pvt me and I will send it to you as well. >> >> Arthur >> >> ----- Original Message ---- >> From: Shamil Salakhetdinov >> To: Access-D >> Sent: Sunday, November 12, 2006 8:48:07 AM >> Subject: [AccessD] IATA Airport codes to import into MS Access database >> >> Hi All, >> >> Is there somewhere a file with IATA Airport codes ready to be imported >> into >> MS Access database? >> >> I mean Airport codes like these: >> http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L >> >> >> Thank you. >> >> -- >> Shamil > -- > 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 12 13:33:44 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 12 Nov 2006 11:33:44 -0800 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <002901c70677$99b1f500$3e3de844@50NM721> References: <20061112154838.25114.qmail@web88210.mail.re2.yahoo.com> <002901c70677$99b1f500$3e3de844@50NM721> Message-ID: <45577718.1030204@shaw.ca> It depends on how accurate you need to be Here is one site that supplies IATA 3 char and IACO 4 char lists of airport codes 30,000 total for 50$ in csv format. Probably a more accurate breakdown It may include military, emergency and dirt strips. These are the backwoods ones you fly over at night, send a radio signal on a pre-set frequency and the runway lights turn on.. http://www.mapping.com/airportcodes.html IATA sell a subscription for $3000 This site states 9,400 large airports http://www.world-airport-codes.com/ Some airports are a little odd. I have flown in here BRR Barra in Outer Hebrides. The runway is a sand beach, landings and take offs depend on the tide There are scheduled flights in here click on satellite map http://www.world-airport-codes.com/united-kingdom/north-bay-630.html William Hindman wrote: >...why not post it on dba ...I've got an updated lat/long/post codes with US >and many international that I'll put up there soon as well ...its a rpita to >find high quality data lists that really provide what you need > >William Hindman > >----- Original Message ----- >From: >To: "Access Developers discussion and problem solving" > >Sent: Sunday, November 12, 2006 10:48 AM >Subject: Re: [AccessD] IATA Airport codes to import into MS Access database > > > > >>I grabbed all the data from an airport list (which was subdivided by >>initial character) and I'm sending you off-list the MDB. If anyone else >>wants the list, pvt me and I will send it to you as well. >> >>Arthur >> >>----- Original Message ---- >>From: Shamil Salakhetdinov >>To: Access-D >>Sent: Sunday, November 12, 2006 8:48:07 AM >>Subject: [AccessD] IATA Airport codes to import into MS Access database >> >>Hi All, >> >>Is there somewhere a file with IATA Airport codes ready to be imported >>into >>MS Access database? >> >>I mean Airport codes like these: >>http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L >> >> >>Thank you. >> >>-- >>Shamil >> >> >> > > > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sun Nov 12 13:42:36 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 12 Nov 2006 13:42:36 -0600 Subject: [AccessD] Requirements Management - What do you do? Message-ID: <000301c70692$b54b6ec0$0200a8c0@danwaters> Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters From prodevmg at yahoo.com Sun Nov 12 14:22:21 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 12 Nov 2006 12:22:21 -0800 (PST) Subject: [AccessD] Moving items in a listbox with the mouse Message-ID: <20061112202221.17832.qmail@web33106.mail.mud.yahoo.com> Thanks. They changed their mind. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Beach Access Software To: Access Developers discussion and problem solving Sent: Sunday, November 12, 2006 10:11:45 AM Subject: Re: [AccessD] Moving items in a listbox with the mouse I've done this but only with a couple of command buttons labeled 'Move Up' and 'Move Down' outside the list box. Worked pretty well, though with some brute force code, IIRC. It was a long time ago but I can try to dig it out if you want to go in that direction. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, November 12, 2006 4:38 AM To: AccessD solving' Subject: [AccessD] Moving items in a listbox with the mouse Does anyone know of any method, code or control that I could use to move order of the items within a list box with a mouse. So if I have three things in a list box CAT DOG BIRD I would like to grab DOG with my mouse and move it up above CAT. Is that possible? Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/530 - Release Date: 11/11/2006 6:53 PM -- 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 12 16:06:54 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Nov 2006 08:06:54 +1000 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <000001c70661$2f8295b0$6401a8c0@nant> References: <000001c70661$2f8295b0$6401a8c0@nant> Message-ID: <45579AFE.19436.9185D37@stuart.lexacorp.com.pg> On 12 Nov 2006 at 16:48, Shamil Salakhetdinov wrote: > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported into > MS Access database? Yes, but it's very expensive. IATA owns the information: http://www.iata.org/ps/publications/9095.htm -- Stuart From lizd1 at charter.net Sun Nov 12 19:53:52 2006 From: lizd1 at charter.net (Liz Doering) Date: Sun, 12 Nov 2006 19:53:52 -0600 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <000301c70692$b54b6ec0$0200a8c0@danwaters> Message-ID: <001001c706c6$92a8dd60$6601a8c0@Lillian> Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Mon Nov 13 00:27:54 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 13 Nov 2006 06:27:54 -0000 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: Message-ID: <000001c706ec$db7142f0$8119fea9@Server> Hi All, Don't know how accurate this link is. I have just returned from Thailand and the airport they are now using for BKK is the new one (Sumarahavi or something like that - sorry about spelling) whereas this link still shows Don Muang. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 12, 2006 4:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IATA Airport codes to import into MS Access database Hi William and Shamil Here's an alternative: http://crashpads.com/airport_codes/index.cfm Don't fill in any field, just press the button to retrieve the full list - which can be saved as is to a text file. /gustav >>> wdhindman at dejpolsystems.com 12-11-06 17:28 >>> ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 12, 2006 10:48 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database >I grabbed all the data from an airport list (which was subdivided by >initial character) and I'm sending you off-list the MDB. If anyone else >wants the list, pvt me and I will send it to you as well. > > Arthur > > ----- Original Message ---- > From: Shamil Salakhetdinov > To: Access-D > Sent: Sunday, November 12, 2006 8:48:07 AM > Subject: [AccessD] IATA Airport codes to import into MS Access database > > Hi All, > > Is there somewhere a file with IATA Airport codes ready to be imported > into > MS Access database? > > I mean Airport codes like these: > http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_L > > > Thank you. > > -- > Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Mon Nov 13 00:43:29 2006 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Sun, 12 Nov 2006 22:43:29 -0800 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <001001c706c6$92a8dd60$6601a8c0@Lillian> Message-ID: <000301c706ef$0836fbc0$6401a8c0@bigmama> I'd like a copy too, if you don't mind. krosenstiel at hotmail dot com Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Sunday, November 12, 2006 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Nov 13 00:59:42 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Nov 2006 16:59:42 +1000 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <000001c706ec$db7142f0$8119fea9@Server> References: , <000001c706ec$db7142f0$8119fea9@Server> Message-ID: <4558A47E.23486.67091F65@stuart.lexacorp.com.pg> On 13 Nov 2006 at 6:27, Max Home wrote: > Hi All, > Don't know how accurate this link is. I have just returned from Thailand > and the airport they are now using for BKK is the new one (Sumarahavi or > something like that - sorry about spelling) whereas this link still shows IATA put out monthly updates, it costs about $3000 a year to subscribe to them :-( From Gustav at cactus.dk Mon Nov 13 04:03:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 13 Nov 2006 11:03:45 +0100 Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: Hi Max I can't tell, but if you only need city and country it should be OK. But the link from Marty seems to be up to date with the full information: http://www.world-airport-codes.com/ For BKK it lists: Suvarnabhumi International /gustav >>> max at sherman.org.uk 13-11-2006 07:27 >>> Hi All, Don't know how accurate this link is. I have just returned from Thailand and the airport they are now using for BKK is the new one (Sumarahavi or something like that - sorry about spelling) whereas this link still shows Don Muang. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 12, 2006 4:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IATA Airport codes to import into MS Access database Hi William and Shamil Here's an alternative: http://crashpads.com/airport_codes/index.cfm Don't fill in any field, just press the button to retrieve the full list - which can be saved as is to a text file. /gustav From comres at rpa.net Mon Nov 13 06:09:27 2006 From: comres at rpa.net (Mark Brown) Date: Mon, 13 Nov 2006 07:09:27 -0500 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <000301c706ef$0836fbc0$6401a8c0@bigmama> Message-ID: <00bb01c7071c$9aa6cd50$7440d90a@marklaptop> I would appreciate a copy as well. Comres at rpa net. Thanks. Mark H Brown Computer Resolutions Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Monday, November 13, 2006 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? I'd like a copy too, if you don't mind. krosenstiel at hotmail dot com Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Sunday, November 12, 2006 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Mon Nov 13 07:08:31 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Mon, 13 Nov 2006 08:08:31 -0500 Subject: [AccessD] Requirements Management - What do you do? Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDF04@ex2k3.corp.tnco-inc.com> Could I also get a copy please? joerojas at gmail.com Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Brown Sent: Monday, November 13, 2006 7:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? I would appreciate a copy as well. Comres at rpa net. Thanks. Mark H Brown Computer Resolutions Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Monday, November 13, 2006 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? I'd like a copy too, if you don't mind. krosenstiel at hotmail dot com Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Sunday, November 12, 2006 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 12, 2006 1:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 13 07:14:54 2006 From: artful at rogers.com (artful at rogers.com) Date: Mon, 13 Nov 2006 05:14:54 -0800 (PST) Subject: [AccessD] IATA Airport codes to import into MS Access database Message-ID: <20061113131455.38611.qmail@web88203.mail.re2.yahoo.com> I'll do it as soon as I figure out how to. I don't see a button for Uploads, just for Downloads. ----- Original Message ---- From: William Hindman To: Access Developers discussion and problem solving Sent: Sunday, November 12, 2006 11:28:34 AM Subject: Re: [AccessD] IATA Airport codes to import into MS Access database ...why not post it on dba ...I've got an updated lat/long/post codes with US and many international that I'll put up there soon as well ...its a rpita to find high quality data lists that really provide what you need William Hindman From dwaters at usinternet.com Mon Nov 13 07:58:01 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Nov 2006 07:58:01 -0600 Subject: [AccessD] Requirements Management - What do you do? In-Reply-To: <18330182.1163383512289.JavaMail.root@sniper28> Message-ID: <001201c7072b$bd50b640$0200a8c0@danwaters> Hi Liz! Yes! I'd definitely like to see that. This sounds very precise. Thanks! Dan Waters ProMation Systems, Inc. (W) 763-780-2496 (M) 763-639-2960 -----Original Message----- Subject: Re: [AccessD] Requirements Management - What do you do? Dan, At Symphony, we built a 'cost detail' spreadsheet, showing a concise description of each item to be completed, and a number of hours that item would cost. That way, if the client decided Report A, bid at 5 hours, was not desperately necessary right now, they could specifically exclude it, or save it for later. They got a 'line item veto' over almost everything we had heard them ask for. (Not everything, if they wanted a report grouped by X and collecting X was a new feature, they had to pay for both.) We also built in some text allowing for a 10% overrun in time and cost, without their additional approval, and an assurance that we would confer before going ahead with anything over 10%. They were asked to sign off on the total before ANY work commenced. It was a pretty simple document, easy to read if not easy to put together. I can send a sample off-list if you like. Thanks, Liz -----Original Message----- Subject: [AccessD] Requirements Management - What do you do? Hello to all! I'm getting to a point with a customer where it would really help to do some semi-formal requirements management (good customer - big project). I've done a little web searching and bought a book (Software Requirements by Ellen Gottesdiener - which I do like). Now to get some comments from the experts! I'd like to find out what people on this list do for collecting and managing the requirements on your projects. Spreadsheets? Word docs? Personal software? Professional software? Anything really good or anything really bad? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 13 08:40:29 2006 From: john at winhaven.net (John Bartow) Date: Mon, 13 Nov 2006 08:40:29 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <200611120627.kAC6RRq12802@databaseadvisors.com> Message-ID: <200611131440.kADEeXq30311@databaseadvisors.com> Looks like the key issue I missed here the other night was "XP-mde"! I was testing this with A2k-mdes. Sorry for any confusion that may have caused. From carbonnb at gmail.com Mon Nov 13 09:30:50 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 10:30:50 -0500 Subject: [AccessD] IATA Airport codes to import into MS Access database In-Reply-To: <20061113131455.38611.qmail@web88203.mail.re2.yahoo.com> References: <20061113131455.38611.qmail@web88203.mail.re2.yahoo.com> Message-ID: On 11/13/06, artful at rogers.com wrote: > I'll do it as soon as I figure out how to. I don't see a button for Uploads, just for Downloads. Send an e-mail to Jim Lawrence and let him know that you have a file you want to put up on the site. Jim is the webmaster and can be reached at accessd at shaw.ca or if I've messed up from memory, you can also try webmaster at databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Mon Nov 13 09:50:42 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Nov 2006 15:50:42 +0000 Subject: [AccessD] Which Word? Message-ID: <20061113155047.2B21885CC4@smtp.nildram.co.uk> If I have Word 97 and Word XP on a machine and I use the construct Set oAppWord = GetObject(, "Word.Application") how do I determine which version I get? Having just put XP on this machine I thought changing the Reference to the Word 10 object library instead of Word 8 would do it, but it hasn't. What's the trick? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From carbonnb at gmail.com Mon Nov 13 10:53:43 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 11:53:43 -0500 Subject: [AccessD] Which Word? In-Reply-To: <20061113155047.2B21885CC4@smtp.nildram.co.uk> References: <20061113155047.2B21885CC4@smtp.nildram.co.uk> Message-ID: On 11/13/06, Andy Lacey wrote: > If I have Word 97 and Word XP on a machine and I use the construct > > Set oAppWord = GetObject(, "Word.Application") > > how do I determine which version I get? Having just put XP on this machine I > thought changing the Reference to the Word 10 object library instead of Word > 8 would do it, but it hasn't. What's the trick? If you use Word.Application, you get the default version of Word. To get a specific version, you need to use: Set oAppWord = GetObject(, "Word.Application.8") ' Word 97 Set oAppWord = GetObject(, "Word.Application.9") ' Word 2000 Set oAppWord = GetObject(, "Word.Application.10") ' Word 2002 Same for CreateObject if you are creating the word instance -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Mon Nov 13 11:09:16 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Nov 2006 17:09:16 +0000 Subject: [AccessD] Which Word? Message-ID: <20061113170921.71AAB2BBB67@smtp2.nildram.co.uk> Thanks Bryan. If I wanted to how would I make Word 2002 the default when Word 97 still there? -- 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] Which Word? Date: 13/11/06 16:55 On 11/13/06, Andy Lacey wrote: > If I have Word 97 and Word XP on a machine and I use the construct > > Set oAppWord = GetObject(, "Word.Application") > > how do I determine which version I get? Having just put XP on this machine I > thought changing the Reference to the Word 10 object library instead of Word > 8 would do it, but it hasn't. What's the trick? If you use Word.Application, you get the default version of Word. To get a specific version, you need to use: Set oAppWord = GetObject(, "Word.Application.8") ' Word 97 Set oAppWord = GetObject(, "Word.Application.9") ' Word 2000 Set oAppWord = GetObject(, "Word.Application.10") ' Word 2002 Same for CreateObject if you are creating the word instance -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From carbonnb at gmail.com Mon Nov 13 11:16:42 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 12:16:42 -0500 Subject: [AccessD] Which Word? In-Reply-To: <20061113170921.71AAB2BBB67@smtp2.nildram.co.uk> References: <20061113170921.71AAB2BBB67@smtp2.nildram.co.uk> Message-ID: On 11/13/06, Andy Lacey wrote: > Thanks Bryan. If I wanted to how would I make Word 2002 the default when > Word 97 still there? Ummmm...... Got me on that one. I have no Idea. Which version opens up when you double click a Word doc in Explorer? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Mon Nov 13 13:19:42 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Nov 2006 19:19:42 -0000 Subject: [AccessD] Which Word? In-Reply-To: Message-ID: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> 2002, so that's not it. Odd. Andy > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 13 November 2006 17:17 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Which Word? > > > On 11/13/06, Andy Lacey wrote: > > Thanks Bryan. If I wanted to how would I make Word 2002 the default > > when Word 97 still there? > > Ummmm...... > > Got me on that one. I have no Idea. > > Which version opens up when you double click a Word doc in Explorer? > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn > out, shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Kwilliamson at RTKL.com Mon Nov 13 14:20:38 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 13 Nov 2006 15:20:38 -0500 Subject: [AccessD] query expression help In-Reply-To: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> Message-ID: Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From cfoust at infostatsystems.com Mon Nov 13 14:37:12 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Nov 2006 12:37:12 -0800 Subject: [AccessD] query expression help In-Reply-To: Message-ID: Use InStr(). It returns the starting position of one thread in another. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 13, 2006 12:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] query expression help Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 13 14:33:19 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 13 Nov 2006 14:33:19 -0600 Subject: [AccessD] query expression help Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C206827A@xlivmbx35.aig.com> Using a calculated field expression in the query... Calc Field Name: Iif(Instr([ProfitCenterName],"Architect")>0,"True Value","False Value") This example creates a field called "Calc Field Name" which will wind up with a string value of either "True Value" or "False Value". Of course you can equally easily arrange for IIF() to return numeric values or date values, whatever you need. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 13, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] query expression help Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Mon Nov 13 16:30:16 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Nov 2006 17:30:16 -0500 Subject: [AccessD] Which Word? In-Reply-To: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> References: <000f01c70758$abf560d0$bf3b0c54@minster33c3r25> Message-ID: On 11/13/06, Andy Lacey wrote: > 2002, so that's not it. Odd. Quite. I dunno then. I'm out of ideas. Maybe a decompile, compact and recompile will do it without the version in the GetObject. Just a WAG. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Kwilliamson at RTKL.com Mon Nov 13 16:41:18 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 13 Nov 2006 17:41:18 -0500 Subject: [AccessD] query expression help In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C206827A@xlivmbx35.aig.com> Message-ID: Thanks guys!!!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 13, 2006 3:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] query expression help Using a calculated field expression in the query... Calc Field Name: Iif(Instr([ProfitCenterName],"Architect")>0,"True Value","False Value") This example creates a field called "Calc Field Name" which will wind up with a string value of either "True Value" or "False Value". Of course you can equally easily arrange for IIF() to return numeric values or date values, whatever you need. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 13, 2006 3:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] query expression help Hey guys.... I'm blanking. If I want to create an expression, in a query, that checks another field for specific text....ie: Check field [ProfitCenterName] with value of: Associates Retail Balto.Architecture ....to see if "Architect" is within the text...and if so, return a value of "21"....... How do I do this? I've got a query, I want to check the text within another field....to see if certain text is buried within the value of that field...and if so, populate the expression I am building in the query. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Nov 13 17:27:11 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 13 Nov 2006 17:27:11 -0600 Subject: [AccessD] Which Word? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0F9@corp-es01.fleetpride.com> Maybe CreateObject would do the trick instead of GetObject? "If the pathname argument is omitted, GetObject returns a currently active object of the specified type. Use CreateObject when there is no current instance of the object. If an instance of the object is already running, a new instance is started, and an object of the specified type is created. To use the current instance, or to start the application and have it load a file, use the GetObject function." Jim Hale -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Monday, November 13, 2006 9:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Which Word? If I have Word 97 and Word XP on a machine and I use the construct Set oAppWord = GetObject(, "Word.Application") how do I determine which version I get? Having just put XP on this machine I thought changing the Reference to the Word 10 object library instead of Word 8 would do it, but it hasn't. What's the trick? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Mon Nov 13 18:15:32 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Nov 2006 18:15:32 -0600 Subject: [AccessD] XP-mde on A2003? Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B839@MARLOW_MAIN2.marlow.com> Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? thank you Lembit -- 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 13 18:29:57 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Nov 2006 16:29:57 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B839@MARLOW_MAIN2.marlow.com> Message-ID: But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 darrend at nimble.com.au Mon Nov 13 18:41:47 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 14 Nov 2006 11:41:47 +1100 Subject: [AccessD] A2000: Import Needs Message-ID: <004101c70785$ac10dea0$05000100@DENZILLAP> Hi all I have been given large (very large) text files to manipulate I can Import them using the fixed width method and I can even attach them using the get External data wizard - It all works OK But the issue with these files is that one file may contain different data types - all determined by a 3 character code in the first 3 positions in the left most position of each line EG we may have 3000 lines of data that start with "ABC" - Cool - I can create an import spec - Call it the ABC import spec and break up each line into the relevant fields in a table using fixed width - Easy But after the 3000 "ABC" data type lines in my text file - there may be 1200 lines that start with "DEF" as the left most 3 characters and the data in each of the "EFG" type lines need to be 'mapped' at different fixed lengths into different fields So the issue is - has anybody had experience kind of 'merging' several Import Specs but only across 1 file? Or does anyone have any suggestions on handling this? Many thanks in advance Darren From DWUTKA at marlow.com Mon Nov 13 19:12:20 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Nov 2006 19:12:20 -0600 Subject: [AccessD] A2000: Import Needs Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0139B83A@MARLOW_MAIN2.marlow.com> Just a quick thought, split the file into separate files, and import the separate ones with their own specs. For example: Function RunImports(strPathToFileToImport as string) Dim f as long Dim strTemp as string Dim I as Long dim ABCCollection as collection dim DEFCollection as collection dim EFGCollection as Collection dim strArray() as string set ABCCollection=new Collection set DEFCollection=New Collection set EFGCollection=New Collection f=freefile Open strPathToFileToImport for binary access read as f Strtemp=space(lof(f)) Get f,,strtemp Close f strArray=split(strtemp,vbcrlf) for i=0 to ubound(strArray()) select Case Left(strArray(i)) Case "ABC" ABCCollection.Add strArray(i) Case "DEF" DEFCollection.Add strArray(i) Case "EFG" EFGCollection.Add strArray(i) End select Next i Now you have three collections that have the data you want to import. You simply have to create temp files with them, ie: F=freefile Open "C:\ABCTempFile.txt" for binary access write as f For i=1 to ABCCollection.Count Put f,,ABCCollection(i) & vbcrlf Next i Close f Then run the import, with the right spec: DoCmd.TransferText ..... Delete the temp file Kill "C:\ABCTempFile.txt" Then repeat for the other collections. You could get more complex, and have it all done with one collection, using individual collections, etc. Just depends how much time you want to spend on creating the process. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Monday, November 13, 2006 6:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2000: Import Needs Hi all I have been given large (very large) text files to manipulate I can Import them using the fixed width method and I can even attach them using the get External data wizard - It all works OK But the issue with these files is that one file may contain different data types - all determined by a 3 character code in the first 3 positions in the left most position of each line EG we may have 3000 lines of data that start with "ABC" - Cool - I can create an import spec - Call it the ABC import spec and break up each line into the relevant fields in a table using fixed width - Easy But after the 3000 "ABC" data type lines in my text file - there may be 1200 lines that start with "DEF" as the left most 3 characters and the data in each of the "EFG" type lines need to be 'mapped' at different fixed lengths into different fields So the issue is - has anybody had experience kind of 'merging' several Import Specs but only across 1 file? Or does anyone have any suggestions on handling this? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 13 19:41:10 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 13 Nov 2006 20:41:10 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: Message-ID: <006d01c7078d$f7ac0ee0$657aa8c0@m6805> IIRC He never actually said he needed 2003 specific stuff, only that it needed to run on 2003. Thus do the entire thing in 2000. Make the MDE in 20000. Then run it in 2000, 2002 or 2003 as required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 13, 2006 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 darrend at nimble.com.au Mon Nov 13 19:53:53 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 14 Nov 2006 12:53:53 +1100 Subject: [AccessD] A2000: Import Needs In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B83A@MARLOW_MAIN2.marlow.com> Message-ID: <004601c7078f$be8dcbb0$05000100@DENZILLAP> Hey Drew Many thanks for this - I will give it a go - excellent Way out of my league :-))) See ya Darren ------------------ -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, 14 November 2006 12:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2000: Import Needs Just a quick thought, split the file into separate files, and import the separate ones with their own specs. For example: Function RunImports(strPathToFileToImport as string) Dim f as long Dim strTemp as string Dim I as Long dim ABCCollection as collection dim DEFCollection as collection dim EFGCollection as Collection dim strArray() as string set ABCCollection=new Collection set DEFCollection=New Collection set EFGCollection=New Collection f=freefile Open strPathToFileToImport for binary access read as f Strtemp=space(lof(f)) Get f,,strtemp Close f strArray=split(strtemp,vbcrlf) for i=0 to ubound(strArray()) select Case Left(strArray(i)) Case "ABC" ABCCollection.Add strArray(i) Case "DEF" DEFCollection.Add strArray(i) Case "EFG" EFGCollection.Add strArray(i) End select Next i Now you have three collections that have the data you want to import. You simply have to create temp files with them, ie: F=freefile Open "C:\ABCTempFile.txt" for binary access write as f For i=1 to ABCCollection.Count Put f,,ABCCollection(i) & vbcrlf Next i Close f Then run the import, with the right spec: DoCmd.TransferText ..... Delete the temp file Kill "C:\ABCTempFile.txt" Then repeat for the other collections. You could get more complex, and have it all done with one collection, using individual collections, etc. Just depends how much time you want to spend on creating the process. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Monday, November 13, 2006 6:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2000: Import Needs Hi all I have been given large (very large) text files to manipulate I can Import them using the fixed width method and I can even attach them using the get External data wizard - It all works OK But the issue with these files is that one file may contain different data types - all determined by a 3 character code in the first 3 positions in the left most position of each line EG we may have 3000 lines of data that start with "ABC" - Cool - I can create an import spec - Call it the ABC import spec and break up each line into the relevant fields in a table using fixed width - Easy But after the 3000 "ABC" data type lines in my text file - there may be 1200 lines that start with "DEF" as the left most 3 characters and the data in each of the "EFG" type lines need to be 'mapped' at different fixed lengths into different fields So the issue is - has anybody had experience kind of 'merging' several Import Specs but only across 1 file? Or does anyone have any suggestions on handling this? 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 accessd at shaw.ca Mon Nov 13 21:08:53 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 13 Nov 2006 19:08:53 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0139B83A@MARLOW_MAIN2.marlow.com> Message-ID: <0J8P008P9A0Q1191@l-daemon> Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards Jim If you have any problems with accessing the site and/or downloading the file send a note to: webmaster at databaseadvisors.com From ssharkins at setel.com Mon Nov 13 21:30:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 13 Nov 2006 22:30:14 -0500 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <0J8P008P9A0Q1191@l-daemon> Message-ID: <003201c7079d$33481390$39b82ad1@SUSANONE> Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards From prodevmg at yahoo.com Mon Nov 13 22:28:31 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 13 Nov 2006 20:28:31 -0800 (PST) Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: <20061114042831.4205.qmail@web33110.mail.mud.yahoo.com> I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From accessd at shaw.ca Mon Nov 13 23:03:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 13 Nov 2006 21:03:37 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <003201c7079d$33481390$39b82ad1@SUSANONE> Message-ID: <0J8P0079ZFBY0IP0@l-daemon> Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- 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 13 23:21:48 2006 From: john at winhaven.net (John Bartow) Date: Mon, 13 Nov 2006 23:21:48 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <200611120627.kAC6RRq12802@databaseadvisors.com> Message-ID: <200611140521.kAE5Lhq21212@databaseadvisors.com> Could someone please try this 5 minute exercise replacing A2k with A2k2 and let me know for sure? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Sunday, November 12, 2006 12:27 AM To test this again, I created a new db db1.mdb created (only) one form with a label that says "TEST" and no module made it the startup form created an mde from db1.mdb - error "you cannot create a Microsoft Access ADE or MDE from a database saved in Microsoft Access 2000 format" converted db1.mdb to a2k3 - db2.mdb created an mde from db2.mdb - db2.mde opened db1.mdb in a2k3 - worked opened db2.mdb with a2k3 - worked opened db2.mde with a2k3 - worked opened db1.mdb in a2k - worked opened db2.mdb with a2k and get error "this database is in an unrecognized format" opened db2.mde with a2k and get error "this database is in an unrecognized format" From Johncliviger at aol.com Tue Nov 14 04:45:19 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Tue, 14 Nov 2006 05:45:19 EST Subject: [AccessD] Offensive Words List Message-ID: Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I?m getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc From jwcolby at colbyconsulting.com Tue Nov 14 05:41:50 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 14 Nov 2006 06:41:50 -0500 Subject: [AccessD] Offensive Words List In-Reply-To: Message-ID: <007901c707e1$e14c52a0$657aa8c0@m6805> LOL. The things people do (and we have to undo). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: Tuesday, November 14, 2006 5:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Offensive Words List Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I'm getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc -- 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 14 05:44:57 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 14 Nov 2006 11:44:57 +0000 Subject: [AccessD] Offensive Words List Message-ID: <20061114114500.BDD712BAE27@smtp2.nildram.co.uk> Hi John My customer's ISP has 'bad word' lists. I've exported them into text files and can send them off-list if you want me to. They'll make you blush though! -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] Offensive Words List Date: 14/11/06 10:46 Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I???m getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc -- 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 Gustav at cactus.dk Tue Nov 14 05:53:13 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Nov 2006 12:53:13 +0100 Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: Hi Lonnie When you delete a record the bookmarks are destroyed. Before you delete, retrieve the ID of the bookmarked record, delete, locate the bookmarked record by its ID, and reestablish the bookmark. /gustav >>> prodevmg at yahoo.com 14-11-2006 05:28:31 >>> I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. From Johncliviger at aol.com Tue Nov 14 06:04:46 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Tue, 14 Nov 2006 07:04:46 EST Subject: [AccessD] Offensive Words List Message-ID: Hi Andy Thanks for the offer. I'll take you on it if I may. I've found a list on this site _http://www.badscience.net/?p=228_ (http://www.badscience.net/?p=228) but its not in a format I can use. regards johnc From andy at minstersystems.co.uk Tue Nov 14 06:12:09 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 14 Nov 2006 12:12:09 +0000 Subject: [AccessD] Offensive Words List Message-ID: <20061114121212.BEBB62B5E2C@smtp2.nildram.co.uk> On their way. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Offensive Words List Date: 14/11/06 12:05 Hi Andy Thanks for the offer. I'll take you on it if I may. I've found a list on this site _http://www.badscience.net/?p=228_ (http://www.badscience.net/?p=228) but its not in a format I can use. regards johnc -- 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 max at sherman.org.uk Tue Nov 14 07:29:01 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 14 Nov 2006 13:29:01 -0000 Subject: [AccessD] Offensive Words List In-Reply-To: <20061114114500.BDD712BAE27@smtp2.nildram.co.uk> Message-ID: <004b01c707f0$da187590$8119fea9@Server> Yes please Andy. I support a charity with on-line merchandise and this may come in handy. Regards Max Please send to max.wanadoo at gmail.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, November 14, 2006 11:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Offensive Words List Hi John My customer's ISP has 'bad word' lists. I've exported them into text files and can send them off-list if you want me to. They'll make you blush though! -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] Offensive Words List Date: 14/11/06 10:46 Hi all I'm down loading product enquiry details from a web site and then posting out catalogues via snail mail. However I???m getting offensive names and requests. I Need to filter out these obscenities. Does anyone have a list of proscribed words and what is the approach to this problem? We are using Windows and Access XP. I can't alter the web site so the filtering must be done in Access. TIA johnc -- 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 artful at rogers.com Tue Nov 14 07:57:56 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 05:57:56 -0800 (PST) Subject: [AccessD] Requirements Development Message-ID: <20061114135756.73846.qmail@web88204.mail.re2.yahoo.com> What a timely arrival, given the thread about writing requirements. http://newsletters.sdmediagroup.com/cgi-bin4/DM/y/h1mC0GGzBY0JSg0ErCM0E1 (You will probably have to register for this, but it's free.) Arthur From artful at rogers.com Tue Nov 14 08:09:49 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 06:09:49 -0800 (PST) Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: <20061114140949.62082.qmail@web88212.mail.re2.yahoo.com> This sounds as if you are creating the bookmark at the wrong moment. Arthur ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Monday, November 13, 2006 11:28:31 PM Subject: [AccessD] Unable to bookmark after record is deleted I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 14 08:11:17 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 06:11:17 -0800 (PST) Subject: [AccessD] ATA airport list for the DBA list Message-ID: <20061114141117.63374.qmail@web88212.mail.re2.yahoo.com> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 14 08:42:21 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Nov 2006 15:42:21 +0100 Subject: [AccessD] ATA airport list for the DBA list Message-ID: Hi Susan My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. From JHewson at karta.com Tue Nov 14 08:47:14 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 14 Nov 2006 08:47:14 -0600 Subject: [AccessD] ATA airport list for the DBA list Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C04ABAE3C@karta-exc-int.Karta.com> It looks fine to me except the Airplane picture is backwards. The plane is taking off to the right and should be taking off to the left. The lettering on the aircraft is backwards. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 14, 2006 8:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. -- 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 14 10:20:56 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Nov 2006 08:20:56 -0800 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <006d01c7078d$f7ac0ee0$657aa8c0@m6805> Message-ID: I realize that, but with one machine running XP and one running 2003, there doesn't appear to be an A2K in the mix to create that pesky mde. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 13, 2006 5:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? IIRC He never actually said he needed 2003 specific stuff, only that it needed to run on 2003. Thus do the entire thing in 2000. Make the MDE in 20000. Then run it in 2000, 2002 or 2003 as required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 13, 2006 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 rl_stewart at highstream.net Tue Nov 14 10:32:25 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 14 Nov 2006 10:32:25 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: References: Message-ID: <200611141636.kAEGaAq01765@databaseadvisors.com> Lembit, The simple answer is yes, he can run it. Robert At 10:22 AM 11/14/2006, you wrote: >From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] >Sent: Saturday, November 11, 2006 12:23 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XP-mde on A2003? > >Hi everyone, >I have been asked to write an Access db for a friend. >I have Access-XP (2002) on my machine >he has Access 2003 > >can he run an mde from me on his machine? > >thank you >Lembit From accessd at shaw.ca Tue Nov 14 10:43:39 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Nov 2006 08:43:39 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C04ABAE3C@karta-exc-int.Karta.com> Message-ID: <0J8Q00IBMBQLNHR3@l-daemon> Hi Jim: According to what I read, movement on a graphic should be from left to right as this is sort-of natural to the Unicode language reading people. I was actually hoping that Adobe Photoshop would automatically flip the letters. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Tuesday, November 14, 2006 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ATA airport list for the DBA list It looks fine to me except the Airplane picture is backwards. The plane is taking off to the right and should be taking off to the left. The lettering on the aircraft is backwards. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 14, 2006 8:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 12:03:37 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I have run FF and IE and am not sure what you are seeing... could you send me a picture of the page your computer produces. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Tue Nov 14 11:15:37 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 14 Nov 2006 12:15:37 -0500 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: Message-ID: <002101c70810$87dfd280$f1bc2ad1@SUSANONE> I see one plane. Above it and under the page title, there's a rectangular white box. The only reason I can tell is because it blocks the gray border. Susan H. My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. From bchacc at san.rr.com Tue Nov 14 11:46:51 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 09:46:51 -0800 Subject: [AccessD] FW: Partition Function Message-ID: <007901c70814$de0f20d0$6a01a8c0@HAL9005> Dear List: FYI. From another developer. Rocky _____ From: joe anderson [mailto:jka at alldatacorp.com] Sent: Monday, November 13, 2006 9:55 AM To: Subject: Partition Function Well ... here is a VBA function that I've never seen in 14 years!! Looks like it could be pretty useful!!! It's not even in Getz's book ... at least not in the index at the back! I found it in a cool little book Titled "Fixing Access Annyoances' ... a$20 book that has already paid for itself! By .. Phil Mitchell and Evan Callahan. jka " :-1" " 0: 4" " 95: 99" " 100: " 20 199 10 " : 19" " 20: 29" " 190: 199" " 200: " 100 1010 20 " : 99" " 100: 119" " 1000: 1010" " 1011: " In the table shown above, the third line shows the result when start and stop define a set of numbers that can't be evenly divided by interval. The last range extends to stop (11 numbers) even though interval is 20. If necessary, Partition returns a range with enough leading spaces so that there are the same number of characters to the left and right of the colon as there are characters in stop, plus one. This ensures that if you use Partition with other numbers, the resulting text will be handled properly during any subsequent sort operation. If interval is 1, the range is number:number, regardless of the start and stop arguments. For example, if interval is 1, number is 100 and stop is 1000, Partition returns " 100: 100". If any of the parts is Null , Partition returns a Null. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006 7:34 PM From bchacc at san.rr.com Tue Nov 14 12:12:50 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 10:12:50 -0800 Subject: [AccessD] FW: Partition Function In-Reply-To: <007901c70814$de0f20d0$6a01a8c0@HAL9005> Message-ID: <008101c70818$7f84dec0$6a01a8c0@HAL9005> Well, that didn't forward very well. Here's a link to the MSDN page describing it: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht ml/vafctpartition.asp Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 14, 2006 9:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: Partition Function Dear List: FYI. From another developer. Rocky _____ From: joe anderson [mailto:jka at alldatacorp.com] Sent: Monday, November 13, 2006 9:55 AM To: Subject: Partition Function Well ... here is a VBA function that I've never seen in 14 years!! Looks like it could be pretty useful!!! It's not even in Getz's book ... at least not in the index at the back! I found it in a cool little book Titled "Fixing Access Annyoances' ... a$20 book that has already paid for itself! By .. Phil Mitchell and Evan Callahan. jka " :-1" " 0: 4" " 95: 99" " 100: " 20 199 10 " : 19" " 20: 29" " 190: 199" " 200: " 100 1010 20 " : 99" " 100: 119" " 1000: 1010" " 1011: " In the table shown above, the third line shows the result when start and stop define a set of numbers that can't be evenly divided by interval. The last range extends to stop (11 numbers) even though interval is 20. If necessary, Partition returns a range with enough leading spaces so that there are the same number of characters to the left and right of the colon as there are characters in stop, plus one. This ensures that if you use Partition with other numbers, the resulting text will be handled properly during any subsequent sort operation. If interval is 1, the range is number:number, regardless of the start and stop arguments. For example, if interval is 1, number is 100 and stop is 1000, Partition returns " 100: 100". If any of the parts is Null , Partition returns a Null. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006 7:34 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 8:56 PM From lembit.dbamail at t-online.de Tue Nov 14 12:19:29 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Tue, 14 Nov 2006 19:19:29 +0100 Subject: [AccessD] XP-mde on A2003? References: <200611141636.kAEGaAq01765@databaseadvisors.com> Message-ID: <001a01c70819$6d7187f0$1800a8c0@s1800> Thanks everyone for answering. I have made a little A2002 MDE and sent him. will let you all know. Lembit ----- Original Message ----- From: "Robert L. Stewart" To: Cc: Sent: Tuesday, November 14, 2006 5:32 PM Subject: Re: [AccessD] XP-mde on A2003? > Lembit, > > The simple answer is yes, he can run it. > > Robert > > At 10:22 AM 11/14/2006, you wrote: >>From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] >>Sent: Saturday, November 11, 2006 12:23 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] XP-mde on A2003? >> >>Hi everyone, >>I have been asked to write an Access db for a friend. >>I have Access-XP (2002) on my machine >>he has Access 2003 >> >>can he run an mde from me on his machine? >> >>thank you >>Lembit > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 14 12:20:41 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114182042.41237.qmail@web88209.mail.re2.yahoo.com> On the basis of the thread about airport lists, I proposed to Jim Lawrence that we accumulate a bunch of similar lists. As my father said when I joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim has invited me to spearhead the acquisition of said lists, and I have accepted the assignment. So, to all of you listers, three questions: 1. What lists do you possess that you think would be useful to your fellow AccessD/dba-SQL listers? 2. What lists do you lack that you desire? (I couldn't resist the old programmer's joke. There are three types of programmers -- those who can count and those who can't.) Chances are that more than one of you may volunteer to contribute similar or identical lists. The latter is easy to deal with. The former is a little tougher, since it might require UNIONing several lists, but that's ok. I have one list ready to go, which is the list of words corresponding to letters that travel agents use to spell names. I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) I also have another list of cities within North America, and states and provinces to correspond. It is not ready to go, there are some duplicates, but I could prune the dupes. The list consists only of those cities into which the company I was formerly associated with sold products, but it numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good start, and similar lists could easily be UNIONed. That leaves out all the listers uninterested in cities in North America, but listers residing elsewhere might be able to contribute more cities. On this one, there is a difficulty. Within North America, there are states and provinces. In Switzerland, there are cantons. On this subject, I have just done some searches in dictionary.com and come up with some hilarious definitions: City -- an important town Town -- a large village Village -- a small community or group of houses in a rural area, larger than a hamlet and usually smaller than a town, and sometimes (as in parts of the U.S.) incorporated as a municipality. Hamlet -- British. a village without a church of its own, belonging to the parish of another village or town. County (the richest by far) -- 1.the largest administrative division of a U.S. state: Miami, Florida, is in Dade County. 2.one of the chief administrative divisions of a country or state, as in Great Britain and Ireland. 3.one of the larger divisions for purposes of local administration, as in Canada and New Zealand. 4.the territory of a county, esp. its rural areas, as in: "We farmed out in the county before moving to town.". 5.the inhabitants of a county, as in, "It was supposed to be a secret, but you told the whole county.". 6.the domain of a count or earl. All these years I have been under the (clearly false) impression that precise population-numbers defined these terms. Apparently I have wrong, lo these decades. I have just taken a local poll (only 4 people) and the agreement here is that a city is 100,000 people or more; a town is 999,999 people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people or fewer. We four Canadians readily agreed on these numbers, but that might be something we picked up in school that has no relation to the larger world. Arthur From markamatte at hotmail.com Tue Nov 14 12:50:01 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Nov 2006 18:50:01 +0000 Subject: [AccessD] FW: Partition Function Message-ID: Thanks Rocky... I do a lot of age grouping on age of cases. This beats the heck out of the convoluted IIF statements I've been using. Thanks, Mark A. Matte >From: "Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] FW: Partition Function >Date: Tue, 14 Nov 2006 10:12:50 -0800 > >Well, that didn't forward very well. Here's a link to the MSDN page >describing it: > >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht >ml/vafctpartition.asp > > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 14, 2006 9:47 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] FW: Partition Function > >Dear List: > > > >FYI. From another developer. > > > >Rocky > > > > > > _____ > >From: joe anderson [mailto:jka at alldatacorp.com] >Sent: Monday, November 13, 2006 9:55 AM >To: Subject: Partition Function > > > >Well ... here is a VBA function that I've never seen in 14 years!! Looks >like it could be pretty useful!!! It's not even in Getz's book ... at least >not in the index at the back! > > > >I found it in a cool little book Titled "Fixing Access Annyoances' ... a$20 >book that has already paid for itself! By .. Phil Mitchell and Evan >Callahan. > > > >jka > > >" :-1" > >" 0: 4" > >" 95: 99" > >" 100: " > > >20 > >199 > >10 > >" : 19" > >" 20: 29" > >" 190: 199" > >" 200: " > > >100 > >1010 > >20 > >" : 99" > >" 100: 119" > >" 1000: 1010" > >" 1011: " > > > >In the table shown above, the third line shows the result when start and >stop define a set of numbers that can't be evenly divided by interval. The >last range extends to stop (11 numbers) even though interval is 20. > >If necessary, Partition returns a range with enough leading spaces so that >there are the same number of characters to the left and right of the colon >as there are characters in stop, plus one. This ensures that if you use >Partition with other numbers, the resulting text will be handled properly >during any subsequent sort operation. > >If interval is 1, the range is number:number, regardless of the start and >stop arguments. For example, if interval is 1, number is 100 and stop is >1000, Partition returns " 100: 100". > >If any of the parts is Null , Partition >returns >a Null. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006 >7:34 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 >8:56 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline From markamatte at hotmail.com Tue Nov 14 12:57:46 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Nov 2006 18:57:46 +0000 Subject: [AccessD] Useful Lists Message-ID: Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: "AccessD at databaseadvisors. com" , >dba-SQLServer >Subject: [AccessD] Useful Lists >Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) > >On the basis of the thread about airport lists, I proposed to Jim Lawrence >that we accumulate a bunch of similar lists. As my father said when I >joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >has invited me to spearhead the acquisition of said lists, and I have >accepted the assignment. > >So, to all of you listers, three questions: > >1. What lists do you possess that you think would be useful to your fellow >AccessD/dba-SQL listers? >2. What lists do you lack that you desire? > >(I couldn't resist the old programmer's joke. There are three types of >programmers -- those who can count and those who can't.) > >Chances are that more than one of you may volunteer to contribute similar >or identical lists. The latter is easy to deal with. The former is a little >tougher, since it might require UNIONing several lists, but that's ok. > >I have one list ready to go, which is the list of words corresponding to >letters that travel agents use to spell names. I think it is identical to >the similar list from the military, but perhaps not. (In case you don't >know what I mean, Able Baker Charlie etc.) > >I also have another list of cities within North America, and states and >provinces to correspond. It is not ready to go, there are some duplicates, >but I could prune the dupes. The list consists only of those cities into >which the company I was formerly associated with sold products, but it >numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >start, and similar lists could easily be UNIONed. That leaves out all the >listers uninterested in cities in North America, but listers residing >elsewhere might be able to contribute more cities. On this one, there is a >difficulty. Within North America, there are states and provinces. In >Switzerland, there are cantons. > >On this subject, I have just done some searches in dictionary.com and come >up with some hilarious definitions: > >City -- an important town >Town -- a large village >Village -- a small community or group of houses in a rural area, larger >than a >hamlet and usually smaller than a town, and sometimes (as in parts of >the U.S.) incorporated as a municipality. >Hamlet -- British. a village without a church of its own, belonging to the >parish of another village or town. >County (the richest by far) -- >1.the largest administrative division of a U.S. state: Miami, Florida, is >in Dade County. > >2.one of the chief administrative divisions of a country or state, as in >Great Britain and Ireland. > >3.one of the larger divisions for purposes of local administration, as in >Canada and New Zealand. > >4.the territory of a county, esp. its rural areas, as in: "We farmed out in >the county before moving to town.". > >5.the inhabitants of a county, as in, "It was supposed to be a secret, but >you told the whole county.". > >6.the domain of a count or earl. > > >All these years I have been under the (clearly false) impression that >precise population-numbers defined these terms. Apparently I have wrong, lo >these decades. I have just taken a local poll (only 4 people) and the >agreement here is that a city is 100,000 people or more; a town is 999,999 >people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >or fewer. We four Canadians readily agreed on these numbers, but that might >be something we picked up in school that has no relation to the larger >world. > >Arthur > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, music store, museum and more?then map the best route! http://local.live.com?FORM=MGA001 From jwcolby at colbyconsulting.com Tue Nov 14 12:58:53 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 14 Nov 2006 13:58:53 -0500 Subject: [AccessD] XP-mde on A2003? In-Reply-To: Message-ID: <000d01c7081e$ee8eb740$657aa8c0@m6805> Ohhhhhh. Never mind! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 14, 2006 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? I realize that, but with one machine running XP and one running 2003, there doesn't appear to be an A2K in the mix to create that pesky mde. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 13, 2006 5:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XP-mde on A2003? IIRC He never actually said he needed 2003 specific stuff, only that it needed to run on 2003. Thus do the entire thing in 2000. Make the MDE in 20000. Then run it in 2000, 2002 or 2003 as required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 13, 2006 7:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XP-mde on A2003? But you can't create a 2000 format mde from either XP or 2003, only from 2000. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 13, 2006 4:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XP-mde on A2003? Probably already answered, but just put it in 2000 format, that way it's usable to both versions. Drew -----Original Message----- From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] Sent: Saturday, November 11, 2006 12:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] XP-mde on A2003? Hi everyone, I have been asked to write an Access db for a friend. I have Access-XP (2002) on my machine he has Access 2003 can he run an mde from me on his machine? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 14 13:44:58 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 11:44:58 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 1:57:46 PM Subject: Re: [AccessD] Useful Lists Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: "AccessD at databaseadvisors. com" , >dba-SQLServer >Subject: [AccessD] Useful Lists >Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) > >On the basis of the thread about airport lists, I proposed to Jim Lawrence >that we accumulate a bunch of similar lists. As my father said when I >joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >has invited me to spearhead the acquisition of said lists, and I have >accepted the assignment. > >So, to all of you listers, three questions: > >1. What lists do you possess that you think would be useful to your fellow >AccessD/dba-SQL listers? >2. What lists do you lack that you desire? > >(I couldn't resist the old programmer's joke. There are three types of >programmers -- those who can count and those who can't.) > >Chances are that more than one of you may volunteer to contribute similar >or identical lists. The latter is easy to deal with. The former is a little >tougher, since it might require UNIONing several lists, but that's ok. > >I have one list ready to go, which is the list of words corresponding to >letters that travel agents use to spell names. I think it is identical to >the similar list from the military, but perhaps not. (In case you don't >know what I mean, Able Baker Charlie etc.) > >I also have another list of cities within North America, and states and >provinces to correspond. It is not ready to go, there are some duplicates, >but I could prune the dupes. The list consists only of those cities into >which the company I was formerly associated with sold products, but it >numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >start, and similar lists could easily be UNIONed. That leaves out all the >listers uninterested in cities in North America, but listers residing >elsewhere might be able to contribute more cities. On this one, there is a >difficulty. Within North America, there are states and provinces. In >Switzerland, there are cantons. > >On this subject, I have just done some searches in dictionary.com and come >up with some hilarious definitions: > >City -- an important town >Town -- a large village >Village -- a small community or group of houses in a rural area, larger >than a >hamlet and usually smaller than a town, and sometimes (as in parts of >the U.S.) incorporated as a municipality. >Hamlet -- British. a village without a church of its own, belonging to the >parish of another village or town. >County (the richest by far) -- >1.the largest administrative division of a U.S. state: Miami, Florida, is >in Dade County. > >2.one of the chief administrative divisions of a country or state, as in >Great Britain and Ireland. > >3.one of the larger divisions for purposes of local administration, as in >Canada and New Zealand. > >4.the territory of a county, esp. its rural areas, as in: "We farmed out in >the county before moving to town.". > >5.the inhabitants of a county, as in, "It was supposed to be a secret, but >you told the whole county.". > >6.the domain of a count or earl. > > >All these years I have been under the (clearly false) impression that >precise population-numbers defined these terms. Apparently I have wrong, lo >these decades. I have just taken a local poll (only 4 people) and the >agreement here is that a city is 100,000 people or more; a town is 999,999 >people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >or fewer. We four Canadians readily agreed on these numbers, but that might >be something we picked up in school that has no relation to the larger >world. > >Arthur > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, music store, museum and more?then map the best route! http://local.live.com?FORM=MGA001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 14 14:39:51 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 14 Nov 2006 23:39:51 +0300 Subject: [AccessD] Useful Lists In-Reply-To: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> Message-ID: <000401c7082d$08e40420$6401a8c0@nant> <<< I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. >>> Arthur, Russian pilots do use English when they fly abroad. I think you're correct when you're saying than English is a lingua franca for all the pilots who work on international flights. Your list as far as I see is IATA airport codes' list (this is what I was looking for). It's described here - http://en.wikipedia.org/wiki/IATA_airport_code The airport codes from this list are used in Russia and internationally as far as I have seen when I was abroad. There is also ICAO airport codes' list AFAIS (http://en.wikipedia.org/wiki/ICAO_airport_code) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 14, 2006 10:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Lists So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 1:57:46 PM Subject: Re: [AccessD] Useful Lists Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte <<< tail skipped >>> From artful at rogers.com Tue Nov 14 14:46:55 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 12:46:55 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114204655.54503.qmail@web88214.mail.re2.yahoo.com> Glad to read your confirmation. Perhaps I ought to expand this table to include columns for the various coding systems. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 3:39:51 PM Subject: Re: [AccessD] Useful Lists <<< I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. >>> Arthur, Russian pilots do use English when they fly abroad. I think you're correct when you're saying than English is a lingua franca for all the pilots who work on international flights. Your list as far as I see is IATA airport codes' list (this is what I was looking for). It's described here - http://en.wikipedia.org/wiki/IATA_airport_code The airport codes from this list are used in Russia and internationally as far as I have seen when I was abroad. There is also ICAO airport codes' list AFAIS (http://en.wikipedia.org/wiki/ICAO_airport_code) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 14, 2006 10:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Lists So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 1:57:46 PM Subject: Re: [AccessD] Useful Lists Arthur, "I think it is identical to the similar list from the military, but perhaps not. (In case you don't know what I mean, Able Baker Charlie etc.) " Refers to the phonetic alphabet. US military version would be "Alpha, Bravo,Charlie" Of all the lists you mentioned...its probably the only one I could contribute to. I know that different occupations and english speaking peoples use a different variation of the list. I'd be glad to help any way I can. Thanks, Mark A. Matte <<< tail skipped >>> -- 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 14 15:01:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 07:01:07 +1000 Subject: [AccessD] FW: Partition Function In-Reply-To: <008101c70818$7f84dec0$6a01a8c0@HAL9005> References: <007901c70814$de0f20d0$6a01a8c0@HAL9005>, <008101c70818$7f84dec0$6a01a8c0@HAL9005> Message-ID: <455A2E93.5324.1328D9F7@stuart.lexacorp.com.pg> On 14 Nov 2006 at 10:12, Beach Access Software wrote: > Well, that didn't forward very well. Here's a link to the MSDN page > describing it: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht > ml/vafctpartition.asp Or just look it up the VBA Help in Access. You'll find it under Contents | Functions | M-P | Partition It's well worth browsing through Contents | Functions periodically. There a many useful but little used functions in VBA. -- Stuart From markamatte at hotmail.com Tue Nov 14 15:02:04 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Nov 2006 21:02:04 +0000 Subject: [AccessD] Useful Lists In-Reply-To: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> Message-ID: Arthur, I searched for a list that I could modify/verify easily and ran into a number of interesting things. The US military changed the phonetic alphabet a number of times. So I have put together a spreadsheet with the following that I will send off list: Morse code for letters and numbers. US phonetic Alphabet used in 1913,1927,1938,WWII, and 1957-Present Pronunciation for each of the currently used Feel free to use/modify however necessary. If you have any questions...please let me know. Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Useful Lists >Date: Tue, 14 Nov 2006 11:44:58 -0800 (PST) > >So help! Send me your list. I will rationalize it with the travel agency >list, perhaps using columns to designate the lists. After all, we only have >26 letters. Shamil and various others could of course contribute additional >alphabets. This obviously doesn't make sense in the various dialects of >China, for example. Incidentally, I have heard or read that there are >precisely 100 surnames in China. I find this difficult to believe, but it >was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the >same ideogram, and the differences relate to dialects rather than their >single symbolic reference. > >I have no idea whether this is correct. But it wouldn't strike me as >remarkable if it were. Mind you, the decision about exactly 100 names would >strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. >people, it would be useful to receive your input on this subject. A long >time ago I was in Japan and used a computer that did translations from a >phonetic language to the Japanese characters. I forget the names, but the >basic idea was that one could type in "katana" or "shodan" or "wazashi", >and this would translate into the appropriate ideograms, occasionally >resulting in a listbox of similar words, along with their symbols. This was >a long time ago, and I assume that the software has advanced vastly from >there, but I haven't been back so I don't know. > >Returning to airport codes, I think that the world uses the English list, >and that pilots use English as the lingua franca, but I'm not sure about >that. Listers outside North America, please assist this ignorant Canadian. > >Arthur > >----- Original Message ---- >From: Mark A Matte >To: accessd at databaseadvisors.com >Sent: Tuesday, November 14, 2006 1:57:46 PM >Subject: Re: [AccessD] Useful Lists > >Arthur, > >"I think it is identical to the similar >list from the military, but perhaps not. (In case you don't know what I >mean, >Able Baker Charlie etc.) >" >Refers to the phonetic alphabet. US military version would be "Alpha, >Bravo,Charlie" > >Of all the lists you mentioned...its probably the only one I could >contribute to. I know that different occupations and english speaking >peoples use a different variation of the list. > >I'd be glad to help any way I can. > >Thanks, > >Mark A. Matte > > >From: artful at rogers.com > >Reply-To: Access Developers discussion and problem > >solving > >To: "AccessD at databaseadvisors. com" , > >dba-SQLServer > >Subject: [AccessD] Useful Lists > >Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) > > > >On the basis of the thread about airport lists, I proposed to Jim >Lawrence > >that we accumulate a bunch of similar lists. As my father said when I > >joined the CDN Air Force at 17, "Don't volunteer for anything." O well. >Jim > >has invited me to spearhead the acquisition of said lists, and I have > >accepted the assignment. > > > >So, to all of you listers, three questions: > > > >1. What lists do you possess that you think would be useful to your >fellow > >AccessD/dba-SQL listers? > >2. What lists do you lack that you desire? > > > >(I couldn't resist the old programmer's joke. There are three types of > >programmers -- those who can count and those who can't.) > > > >Chances are that more than one of you may volunteer to contribute similar > >or identical lists. The latter is easy to deal with. The former is a >little > >tougher, since it might require UNIONing several lists, but that's ok. > > > >I have one list ready to go, which is the list of words corresponding to > >letters that travel agents use to spell names. I think it is identical to > >the similar list from the military, but perhaps not. (In case you don't > >know what I mean, Able Baker Charlie etc.) > > > >I also have another list of cities within North America, and states and > >provinces to correspond. It is not ready to go, there are some >duplicates, > >but I could prune the dupes. The list consists only of those cities into > >which the company I was formerly associated with sold products, but it > >numbers about 5,000 cities, give or take 3. Far from exhaustive, but a >good > >start, and similar lists could easily be UNIONed. That leaves out all the > >listers uninterested in cities in North America, but listers residing > >elsewhere might be able to contribute more cities. On this one, there is >a > >difficulty. Within North America, there are states and provinces. In > >Switzerland, there are cantons. > > > >On this subject, I have just done some searches in dictionary.com and >come > >up with some hilarious definitions: > > > >City -- an important town > >Town -- a large village > >Village -- a small community or group of houses in a rural area, larger > >than a > >hamlet and usually smaller than a town, and sometimes (as in parts of > >the U.S.) incorporated as a municipality. > >Hamlet -- British. a village without a church of its own, belonging to >the > >parish of another village or town. > >County (the richest by far) -- > >1.the largest administrative division of a U.S. state: Miami, Florida, is > >in Dade County. > > > >2.one of the chief administrative divisions of a country or state, as in > >Great Britain and Ireland. > > > >3.one of the larger divisions for purposes of local administration, as in > >Canada and New Zealand. > > > >4.the territory of a county, esp. its rural areas, as in: "We farmed out >in > >the county before moving to town.". > > > >5.the inhabitants of a county, as in, "It was supposed to be a secret, >but > >you told the whole county.". > > > >6.the domain of a count or earl. > > > > > >All these years I have been under the (clearly false) impression that > >precise population-numbers defined these terms. Apparently I have wrong, >lo > >these decades. I have just taken a local poll (only 4 people) and the > >agreement here is that a city is 100,000 people or more; a town is >999,999 > >people or fewer; a village is 2,000 people or fewer; a hamlet is 500 >people > >or fewer. We four Canadians readily agreed on these numbers, but that >might > >be something we picked up in school that has no relation to the larger > >world. > > > >Arthur > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Find a local pizza place, music store, museum and more?then map the best >route! http://local.live.com?FORM=MGA001 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From Chester_Kaup at kindermorgan.com Tue Nov 14 15:13:03 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Nov 2006 15:13:03 -0600 Subject: [AccessD] Carry Forward in a query Message-ID: I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From stuart at lexacorp.com.pg Tue Nov 14 15:15:39 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 07:15:39 +1000 Subject: [AccessD] Useful Lists In-Reply-To: <20061114182042.41237.qmail@web88209.mail.re2.yahoo.com> References: <20061114182042.41237.qmail@web88209.mail.re2.yahoo.com> Message-ID: <455A31FB.15816.13362605@stuart.lexacorp.com.pg> On 14 Nov 2006 at 10:20, artful at rogers.com wrote: > All these years I have been under the (clearly false) impression that > precise population-numbers defined these terms. Apparently I have wrong, lo > these decades. I have just taken a local poll (only 4 people) and the > agreement here is that a city is 100,000 people or more; a town is 999,999 > people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people > or fewer. We four Canadians readily agreed on these numbers, but that might > be something we picked up in school that has no relation to the larger > world. > In the UK, a city was originally a town with a cathedral. It is an actual status conferred on an urban area by the monarch. I believe that in the US, individual states define their own cities in legislation. -- Stuart From Lambert.Heenan at AIG.com Tue Nov 14 15:34:21 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 14 Nov 2006 16:34:21 -0500 Subject: [AccessD] FW: Partition Function Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222DFAB@xlivmbx35.aig.com> There's also the Switch function which allows you to group by ranges, like this... Data Range: Switch([SomeDataValue]>8,"a) > 8",[SomeDataValue]>=5,"b) >= 5 and <= 8",[SomeDataValue]>=2,"c) >= 2 and < 5",[SomeDataValue]<2,"d) < 2") In effect Switch is like "convoluted IIF statements", but without the convolutions! :-) Note that the order of the various comparisons in the statement is significant as Switch stops at the first condition that evaluates to True. An advantage over Partition is that you can define the groupings arbitrarily instead of them being equal groups of size "interval". Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, November 14, 2006 1:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: Partition Function Thanks Rocky... I do a lot of age grouping on age of cases. This beats the heck out of the convoluted IIF statements I've been using. Thanks, Mark A. Matte >From: "Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] FW: Partition Function >Date: Tue, 14 Nov 2006 10:12:50 -0800 > >Well, that didn't forward very well. Here's a link to the MSDN page >describing it: > >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr >98/ht >ml/vafctpartition.asp > > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 14, 2006 9:47 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] FW: Partition Function > >Dear List: > > > >FYI. From another developer. > > > >Rocky > > > > > > _____ > >From: joe anderson [mailto:jka at alldatacorp.com] >Sent: Monday, November 13, 2006 9:55 AM >To: Subject: Partition Function > > > >Well ... here is a VBA function that I've never seen in 14 years!! >Looks like it could be pretty useful!!! It's not even in Getz's book >... at least not in the index at the back! > > > >I found it in a cool little book Titled "Fixing Access Annyoances' ... >a$20 book that has already paid for itself! By .. Phil Mitchell and >Evan Callahan. > > > >jka > > >" :-1" > >" 0: 4" > >" 95: 99" > >" 100: " > > >20 > >199 > >10 > >" : 19" > >" 20: 29" > >" 190: 199" > >" 200: " > > >100 > >1010 > >20 > >" : 99" > >" 100: 119" > >" 1000: 1010" > >" 1011: " > > > >In the table shown above, the third line shows the result when start >and stop define a set of numbers that can't be evenly divided by >interval. The last range extends to stop (11 numbers) even though >interval is 20. > >If necessary, Partition returns a range with enough leading spaces so >that there are the same number of characters to the left and right of >the colon as there are characters in stop, plus one. This ensures that >if you use Partition with other numbers, the resulting text will be >handled properly during any subsequent sort operation. > >If interval is 1, the range is number:number, regardless of the start >and stop arguments. For example, if interval is 1, number is 100 and >stop is 1000, Partition returns " 100: 100". > >If any of the parts is Null , Partition >returns >a Null. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: >11/12/2006 7:34 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: >11/13/2006 8:56 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=h mtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Nov 14 15:59:10 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 14 Nov 2006 15:59:10 -0600 Subject: [AccessD] Carry Forward in a query Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0FE@corp-es01.fleetpride.com> If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From artful at rogers.com Tue Nov 14 16:02:45 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 14:02:45 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> I think that on both points you hit the mark. I came from a suburb of Winnipeg, Manitoba, called St. Vital. There was a time when St. Vital became a city. I think it was population-based but I was a child back then so I could be way wrong. I will research this some more. There is an oddity in Canada, private entities not part of the adjacent town, city or whatever. In Toronto, one is Wychwood Park, a private enclave that is responsible for paying its private garbage-gatherers, snow-shovellers, etc. It is surrounded by Toronto, but is somehow legally not part of Toronto. I can name several other enclaves with this status within Ontario. I don't know whether this status exists anywhere else in Canada, but I can name several places of this distinction in Ontario. Here, these places seem to be 100% white. They may or may not correspond to the gated communities in the USA; in both cases they are inhabited by no one without large funds. Some American on the list might contribute an opinion on gated communities: are the city's police permitted to enter? The fire department? Any non-resident other than a Fedex driver? Any person of color other than the previous designations? Are there any gated communities reserved for blacks or Hispanics, or are they reserved for persons of pallor? Or, alternatively, am I woefully incorrect about this, and the line of demarcation is affluence not color. Just curious. Arthur ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 4:15:39 PM Subject: Re: [AccessD] Useful Lists On 14 Nov 2006 at 10:20, artful at rogers.com wrote: > All these years I have been under the (clearly false) impression that > precise population-numbers defined these terms. Apparently I have wrong, lo > these decades. I have just taken a local poll (only 4 people) and the > agreement here is that a city is 100,000 people or more; a town is 999,999 > people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people > or fewer. We four Canadians readily agreed on these numbers, but that might > be something we picked up in school that has no relation to the larger > world. > In the UK, a city was originally a town with a cathedral. It is an actual status conferred on an urban area by the monarch. I believe that in the US, individual states define their own cities in legislation. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Nov 14 16:04:43 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 14 Nov 2006 16:04:43 -0600 Subject: [AccessD] FW: Partition Function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE100@corp-es01.fleetpride.com> Well I'll be damned. A new play pretty to amuse myself with that I never knew existed. thanks! Jim Hale -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 14, 2006 3:34 PM To: 'Access Developers discussion and problem solving' Cc: 'markamatte at hotmail.com' Subject: Re: [AccessD] FW: Partition Function There's also the Switch function which allows you to group by ranges, like this... Data Range: Switch([SomeDataValue]>8,"a) > 8",[SomeDataValue]>=5,"b) >= 5 and <= 8",[SomeDataValue]>=2,"c) >= 2 and < 5",[SomeDataValue]<2,"d) < 2") In effect Switch is like "convoluted IIF statements", but without the convolutions! :-) Note that the order of the various comparisons in the statement is significant as Switch stops at the first condition that evaluates to True. An advantage over Partition is that you can define the groupings arbitrarily instead of them being equal groups of size "interval". Lambert *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dgibso at uark.edu Tue Nov 14 16:28:23 2006 From: dgibso at uark.edu (David A Gibson) Date: Tue, 14 Nov 2006 16:28:23 -0600 Subject: [AccessD] Useful Lists In-Reply-To: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> References: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> Message-ID: <7.0.1.0.0.20061114162222.01d4a020@uark.edu> My sister lives in a "clothing optional" gated community. :-D Police, fire, and delivery are allowed entry. The guard at the gatehouse just keeps out the curious and unwanted. There are different designations of communities. One near us (NW Arkansas, USA) has been a "village", legally, and run by a council. No mayor, president, chief and so on. They are now going through the growing pains of becoming a "town" with a mayor and council. Elections and all that. I'll see if I can look up some more concrete info but it won't be today as I am headed out. David G. At 04:02 PM 11/14/2006, you wrote: >I think that on both points you hit the mark. I came from a suburb >of Winnipeg, Manitoba, called St. Vital. There was a time when St. >Vital became a city. I think it was population-based but I was a >child back then so I could be way wrong. I will research this some more. > >There is an oddity in Canada, private entities not part of the >adjacent town, city or whatever. In Toronto, one is Wychwood Park, a >private enclave that is responsible for paying its private >garbage-gatherers, snow-shovellers, etc. It is surrounded by >Toronto, but is somehow legally not part of Toronto. I can name >several other enclaves with this status within Ontario. I don't know >whether this status exists anywhere else in Canada, but I can name >several places of this distinction in Ontario. Here, these places >seem to be 100% white. > >They may or may not correspond to the gated communities in the USA; >in both cases they are inhabited by no one without large funds. Some >American on the list might contribute an opinion on gated >communities: are the city's police permitted to enter? The fire >department? Any non-resident other than a Fedex driver? Any person >of color other than the previous designations? Are there any gated >communities reserved for blacks or Hispanics, or are they reserved >for persons of pallor? Or, alternatively, am I woefully incorrect >about this, and the line of demarcation is affluence not color. Just curious. > >Arthur David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From Chester_Kaup at kindermorgan.com Tue Nov 14 16:40:39 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Nov 2006 16:40:39 -0600 Subject: [AccessD] Carry Forward in a query In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE0FE@corp-es01.fleetpride.com> Message-ID: Here is what I have now. One table with dates and one table like below. Query SQL as below. This works great. SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; SDate Price 1/1/2005 8.56 1/23/2005 8.73 2/14/2005 8.40 3/1/2005 8.00 3/12/2005 8.45 3/27/2005 8.95 4/7/2005 8.12 4/30/2005 7.95 5/14/2005 8.03 5/27/2005 8.24 6/10/2005 9.03 6/25/2005 9.17 7/3/2005 9.25 7/27/2005 9.40 8/3/2005 9.64 What I cannot figure how to do is make it work if table looks like below. I need output for each Pattern. Pattern SDate Price 1 1/1/2005 8.56 1 1/23/2005 8.73 1 2/14/2005 8.40 1 3/1/2005 8.00 1 3/12/2005 8.45 1 3/27/2005 8.95 1 4/7/2005 8.12 1 4/30/2005 7.95 1 5/14/2005 8.03 1 5/27/2005 8.24 1 6/10/2005 9.03 1 6/25/2005 9.17 1 7/3/2005 9.25 1 7/27/2005 9.40 1 8/3/2005 9.64 2 1/7/2005 8.27 2 1/24/2005 8.71 2 2/13/2005 8.35 2 3/2/2005 8.02 2 3/13/2005 8.44 2 3/28/2005 8.93 2 4/6/2005 8.10 2 4/28/2005 7.98 2 5/15/2005 8.05 2 5/25/2005 8.20 2 6/9/2005 9.00 2 6/20/2005 9.15 2 7/1/2005 9.23 2 7/25/2005 9.35 2 8/4/2005 9.65 2 8/15/2005 9.50 Thanks for any ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 14, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Carry Forward in a query If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Nov 14 17:54:47 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 14 Nov 2006 18:54:47 -0500 Subject: [AccessD] Useful Lists References: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> <7.0.1.0.0.20061114162222.01d4a020@uark.edu> Message-ID: <004501c70848$44ab8f30$3e3de844@50NM721> ...it varies widely by state in the US ...more variety along the eastern seaboard and gulf where various nationalities influenced early conventions ...less variety in the west where the fed had more of a hand in standardizing governmental entities ...here we just had an election where the property owners in an unincorporated area of the county had petitioned the state legislature to recognize us as a separate government entity from that of Palm Beach County ...the county government is effectively run by developers who were doing everything they could, legally and illegally, to break the original property covenants that didn't allow anything less than ten acre homesites in Loxahatchee Groves ...the developers want to buy up the property and put in much higher density housing ...the everglades to our immediate west creates a finite limit on available property and thus developable land is immensely valuable here. ...as for art's question re gated communities, anti-discrimination laws make it virtually impossible to create or maintain a racially pure community here ...such communities are of course limited to those who can afford them and increasingly, that includes larger numbers of non-white ethnicities as they benefit from greater participation and success in our economic system ...in point of fact, if you went looking for racially segregated communities, it would be among the poorest communities that you would find them, not the richest simply because all too often the rule of law doesn't penetrate very far there. William Hindman ----- Original Message ----- From: "David A Gibson" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 14, 2006 5:28 PM Subject: Re: [AccessD] Useful Lists > My sister lives in a "clothing optional" gated community. :-D > > Police, fire, and delivery are allowed entry. The guard at the > gatehouse just keeps out the curious and unwanted. > > There are different designations of communities. One near us (NW > Arkansas, USA) has been a "village", legally, and run by a > council. No mayor, president, chief and so on. They are now going > through the growing pains of becoming a "town" with a mayor and > council. Elections and all that. I'll see if I can look up some > more concrete info but it won't be today as I am headed out. > > David G. > > At 04:02 PM 11/14/2006, you wrote: >>I think that on both points you hit the mark. I came from a suburb >>of Winnipeg, Manitoba, called St. Vital. There was a time when St. >>Vital became a city. I think it was population-based but I was a >>child back then so I could be way wrong. I will research this some more. >> >>There is an oddity in Canada, private entities not part of the >>adjacent town, city or whatever. In Toronto, one is Wychwood Park, a >>private enclave that is responsible for paying its private >>garbage-gatherers, snow-shovellers, etc. It is surrounded by >>Toronto, but is somehow legally not part of Toronto. I can name >>several other enclaves with this status within Ontario. I don't know >>whether this status exists anywhere else in Canada, but I can name >>several places of this distinction in Ontario. Here, these places >>seem to be 100% white. >> >>They may or may not correspond to the gated communities in the USA; >>in both cases they are inhabited by no one without large funds. Some >>American on the list might contribute an opinion on gated >>communities: are the city's police permitted to enter? The fire >>department? Any non-resident other than a Fedex driver? Any person >>of color other than the previous designations? Are there any gated >>communities reserved for blacks or Hispanics, or are they reserved >>for persons of pallor? Or, alternatively, am I woefully incorrect >>about this, and the line of demarcation is affluence not color. Just >>curious. >> >>Arthur > > David A. Gibson > Computer Support Specialist II > University of Arkansas > 232 Silas H. Hunt Hall > 1 University of Arkansas > Fayetteville, Arkansas 72701 > 800-377-8632 > (479) 575-4654 > www.uark.edu > > The University of Arkansas > Nationally Competitive- Student Centered- Research University > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Tue Nov 14 18:13:39 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 16:13:39 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061115001339.90569.qmail@web88201.mail.re2.yahoo.com> Cool response, William! Thanks! ----- Original Message ---- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, November 14, 2006 6:54:47 PM Subject: Re: [AccessD] Useful Lists ...it varies widely by state in the US ...more variety along the eastern seaboard and gulf where various nationalities influenced early conventions ...less variety in the west where the fed had more of a hand in standardizing governmental entities ...here we just had an election where the property owners in an unincorporated area of the county had petitioned the state legislature to recognize us as a separate government entity from that of Palm Beach County ...the county government is effectively run by developers who were doing everything they could, legally and illegally, to break the original property covenants that didn't allow anything less than ten acre homesites in Loxahatchee Groves ...the developers want to buy up the property and put in much higher density housing ...the everglades to our immediate west creates a finite limit on available property and thus developable land is immensely valuable here. ...as for art's question re gated communities, anti-discrimination laws make it virtually impossible to create or maintain a racially pure community here ...such communities are of course limited to those who can afford them and increasingly, that includes larger numbers of non-white ethnicities as they benefit from greater participation and success in our economic system ...in point of fact, if you went looking for racially segregated communities, it would be among the poorest communities that you would find them, not the richest simply because all too often the rule of law doesn't penetrate very far there. William Hindman ----- Original Message ----- From: "David A Gibson" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 14, 2006 5:28 PM Subject: Re: [AccessD] Useful Lists > My sister lives in a "clothing optional" gated community. :-D > > Police, fire, and delivery are allowed entry. The guard at the > gatehouse just keeps out the curious and unwanted. > > There are different designations of communities. One near us (NW > Arkansas, USA) has been a "village", legally, and run by a > council. No mayor, president, chief and so on. They are now going > through the growing pains of becoming a "town" with a mayor and > council. Elections and all that. I'll see if I can look up some > more concrete info but it won't be today as I am headed out. > > David G. > > At 04:02 PM 11/14/2006, you wrote: >>I think that on both points you hit the mark. I came from a suburb >>of Winnipeg, Manitoba, called St. Vital. There was a time when St. >>Vital became a city. I think it was population-based but I was a >>child back then so I could be way wrong. I will research this some more. >> >>There is an oddity in Canada, private entities not part of the >>adjacent town, city or whatever. In Toronto, one is Wychwood Park, a >>private enclave that is responsible for paying its private >>garbage-gatherers, snow-shovellers, etc. It is surrounded by >>Toronto, but is somehow legally not part of Toronto. I can name >>several other enclaves with this status within Ontario. I don't know >>whether this status exists anywhere else in Canada, but I can name >>several places of this distinction in Ontario. Here, these places >>seem to be 100% white. >> >>They may or may not correspond to the gated communities in the USA; >>in both cases they are inhabited by no one without large funds. Some >>American on the list might contribute an opinion on gated >>communities: are the city's police permitted to enter? The fire >>department? Any non-resident other than a Fedex driver? Any person >>of color other than the previous designations? Are there any gated >>communities reserved for blacks or Hispanics, or are they reserved >>for persons of pallor? Or, alternatively, am I woefully incorrect >>about this, and the line of demarcation is affluence not color. Just >>curious. >> >>Arthur > > David A. Gibson > Computer Support Specialist II > University of Arkansas > 232 Silas H. Hunt Hall > 1 University of Arkansas > Fayetteville, Arkansas 72701 > 800-377-8632 > (479) 575-4654 > www.uark.edu> > > The University of Arkansas > Nationally Competitive- Student Centered- Research University > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 14 18:39:45 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 14 Nov 2006 16:39:45 -0800 (PST) Subject: [AccessD] Unable to bookmark after record is deleted Message-ID: <20061115003945.56810.qmail@web33106.mail.mud.yahoo.com> Gustav, You're the man. That did it for me. Never worked much with bookmarks in this capacity. I am all the smarter now because of you. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tuesday, November 14, 2006 5:53:13 AM Subject: Re: [AccessD] Unable to bookmark after record is deleted Hi Lonnie When you delete a record the bookmarks are destroyed. Before you delete, retrieve the ID of the bookmarked record, delete, locate the bookmarked record by its ID, and reestablish the bookmark. /gustav >>> prodevmg at yahoo.com 14-11-2006 05:28:31 >>> I have a process that deletes a record in a recordset of a subform via vba, then requeries the subform object. Then I try to move to another record using the bookmark and I get a message that says there is not current record for the recordset clone of the subform? I know there are records, this only happens when I delete or insert a record into the underlying recordset. -- 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 14 19:11:54 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 17:11:54 -0800 Subject: [AccessD] Copy a record in a table Message-ID: <010901c70853$0a2ce290$6a01a8c0@HAL9005> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 8:56 PM From stuart at lexacorp.com.pg Tue Nov 14 19:50:06 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 11:50:06 +1000 Subject: [AccessD] Copy a record in a table In-Reply-To: <010901c70853$0a2ce290$6a01a8c0@HAL9005> References: <010901c70853$0a2ce290$6a01a8c0@HAL9005> Message-ID: <455AFEEE.16670.703A6514@stuart.lexacorp.com.pg> On 14 Nov 2006 at 17:11, Beach Access Software wrote: > > Dear List: > > > > Is there a quick or slick or elegant way to copy a record in a table to a > new record in the same table - just duplicating a record INSERT INTO tblTable SELECT tblTable.* FROM tblTable WHERE fldID = IDofRecordToCopy From bchacc at san.rr.com Tue Nov 14 22:08:06 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 20:08:06 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: <455AFEEE.16670.703A6514@stuart.lexacorp.com.pg> Message-ID: <014901c7086b$a7eeb3b0$6a01a8c0@HAL9005> Stuart: I'm using db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM tblJobMaster " _ & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID But I get the cryptic 'Too few parameters. Expected 1'. Can you see what I'm doing wrong? Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 14, 2006 5:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table On 14 Nov 2006 at 17:11, Beach Access Software wrote: > > Dear List: > > > > Is there a quick or slick or elegant way to copy a record in a table to a > new record in the same table - just duplicating a record INSERT INTO tblTable SELECT tblTable.* FROM tblTable WHERE fldID = IDofRecordToCopy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/533 - Release Date: 11/13/2006 8:56 PM From stuart at lexacorp.com.pg Tue Nov 14 22:24:24 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Nov 2006 14:24:24 +1000 Subject: [AccessD] Copy a record in a table In-Reply-To: <014901c7086b$a7eeb3b0$6a01a8c0@HAL9005> References: <455AFEEE.16670.703A6514@stuart.lexacorp.com.pg>, <014901c7086b$a7eeb3b0$6a01a8c0@HAL9005> Message-ID: <455B2318.27169.70C7A8E5@stuart.lexacorp.com.pg> On 14 Nov 2006 at 20:08, Beach Access Software wrote: > Stuart: > > I'm using > db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM > tblJobMaster " _ > & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID > > But I get the cryptic 'Too few parameters. Expected 1'. Can you see what > I'm doing wrong? WHile developing, try using strSQL = ..... Docmd.RunSQL strSQL instead of .Execute. You get much more helpful error messages that way. Just a WAG but is fldJobMasterID a PK or constrained to being unique? Creating a new record like this, you are trying to create another record in the table with ALL of the fields the same, including any unique fields,PK or otherwise. (You did ask originally to "duplicate" a record in a table) From martyconnelly at shaw.ca Tue Nov 14 22:48:28 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Nov 2006 20:48:28 -0800 Subject: [AccessD] Useful Lists In-Reply-To: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> References: <20061114220245.81400.qmail@web88214.mail.re2.yahoo.com> Message-ID: <455A9C1C.4000005@shaw.ca> Rockliffe Park Village was that way in downtown Ottawa until amalgamation in 2001. It was admittance more by class than affluence, although multi-millionaires found a way in. It was mostly Government ministers and ambassadors. I think the population was under 2000. In the 80's no house was under a million. artful at rogers.com wrote: >I think that on both points you hit the mark. I came from a suburb of Winnipeg, Manitoba, called St. Vital. There was a time when St. Vital became a city. I think it was population-based but I was a child back then so I could be way wrong. I will research this some more. > >There is an oddity in Canada, private entities not part of the adjacent town, city or whatever. In Toronto, one is Wychwood Park, a private enclave that is responsible for paying its private garbage-gatherers, snow-shovellers, etc. It is surrounded by Toronto, but is somehow legally not part of Toronto. I can name several other enclaves with this status within Ontario. I don't know whether this status exists anywhere else in Canada, but I can name several places of this distinction in Ontario. Here, these places seem to be 100% white. > >They may or may not correspond to the gated communities in the USA; in both cases they are inhabited by no one without large funds. Some American on the list might contribute an opinion on gated communities: are the city's police permitted to enter? The fire department? Any non-resident other than a Fedex driver? Any person of color other than the previous designations? Are there any gated communities reserved for blacks or Hispanics, or are they reserved for persons of pallor? Or, alternatively, am I woefully incorrect about this, and the line of demarcation is affluence not color. Just curious. > >Arthur > >----- Original Message ---- >From: Stuart McLachlan >To: Access Developers discussion and problem solving >Sent: Tuesday, November 14, 2006 4:15:39 PM >Subject: Re: [AccessD] Useful Lists > >On 14 Nov 2006 at 10:20, artful at rogers.com wrote: > > > >>All these years I have been under the (clearly false) impression that >>precise population-numbers defined these terms. Apparently I have wrong, lo >>these decades. I have just taken a local poll (only 4 people) and the >>agreement here is that a city is 100,000 people or more; a town is 999,999 >>people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >>or fewer. We four Canadians readily agreed on these numbers, but that might >>be something we picked up in school that has no relation to the larger >>world. >> >> >> > >In the UK, a city was originally a town with a cathedral. It is an actual >status conferred on an urban area by the monarch. > >I believe that in the US, individual states define their own cities in >legislation. > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Nov 14 23:08:15 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Nov 2006 21:08:15 -0800 Subject: [AccessD] Useful Lists In-Reply-To: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> References: <20061114194458.44797.qmail@web88203.mail.re2.yahoo.com> Message-ID: <455AA0BF.7050407@shaw.ca> In addition to lists there are public web services that provide things like those listed below from places like http://www.webservicex.net/WS/default.aspx LloydsRiskCodeService US Address verification Barcode Generator North American Industry Classification System United Nations Standard Products and Services Code Medi Care Supplier FedACH FedWire USA Weather Forecast MortgageIndex SunSetRiseService GeoIPService Stock Quote Currency Convertor Global Weather London Gold And Silver Fixing Real Time Market Data SendSMSWorld OFAC SDN and Blocked Persons Translation Engine ABA Lookup artful at rogers.com wrote: >So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. > >I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. > >Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. > >Arthur > >----- Original Message ---- >From: Mark A Matte >To: accessd at databaseadvisors.com >Sent: Tuesday, November 14, 2006 1:57:46 PM >Subject: Re: [AccessD] Useful Lists > >Arthur, > >"I think it is identical to the similar >list from the military, but perhaps not. (In case you don't know what I >mean, >Able Baker Charlie etc.) >" >Refers to the phonetic alphabet. US military version would be "Alpha, >Bravo,Charlie" > >Of all the lists you mentioned...its probably the only one I could >contribute to. I know that different occupations and english speaking >peoples use a different variation of the list. > >I'd be glad to help any way I can. > >Thanks, > >Mark A. Matte > > > >>From: artful at rogers.com >>Reply-To: Access Developers discussion and problem >>solving >>To: "AccessD at databaseadvisors. com" , >>dba-SQLServer >>Subject: [AccessD] Useful Lists >>Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) >> >>On the basis of the thread about airport lists, I proposed to Jim Lawrence >>that we accumulate a bunch of similar lists. As my father said when I >>joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >>has invited me to spearhead the acquisition of said lists, and I have >>accepted the assignment. >> >>So, to all of you listers, three questions: >> >>1. What lists do you possess that you think would be useful to your fellow >>AccessD/dba-SQL listers? >>2. What lists do you lack that you desire? >> >>(I couldn't resist the old programmer's joke. There are three types of >>programmers -- those who can count and those who can't.) >> >>Chances are that more than one of you may volunteer to contribute similar >>or identical lists. The latter is easy to deal with. The former is a little >>tougher, since it might require UNIONing several lists, but that's ok. >> >>I have one list ready to go, which is the list of words corresponding to >>letters that travel agents use to spell names. I think it is identical to >>the similar list from the military, but perhaps not. (In case you don't >>know what I mean, Able Baker Charlie etc.) >> >>I also have another list of cities within North America, and states and >>provinces to correspond. It is not ready to go, there are some duplicates, >>but I could prune the dupes. The list consists only of those cities into >>which the company I was formerly associated with sold products, but it >>numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >>start, and similar lists could easily be UNIONed. That leaves out all the >>listers uninterested in cities in North America, but listers residing >>elsewhere might be able to contribute more cities. On this one, there is a >>difficulty. Within North America, there are states and provinces. In >>Switzerland, there are cantons. >> >>On this subject, I have just done some searches in dictionary.com and come >>up with some hilarious definitions: >> >>City -- an important town >>Town -- a large village >>Village -- a small community or group of houses in a rural area, larger >>than a >>hamlet and usually smaller than a town, and sometimes (as in parts of >>the U.S.) incorporated as a municipality. >>Hamlet -- British. a village without a church of its own, belonging to the >>parish of another village or town. >>County (the richest by far) -- >>1.the largest administrative division of a U.S. state: Miami, Florida, is >>in Dade County. >> >>2.one of the chief administrative divisions of a country or state, as in >>Great Britain and Ireland. >> >>3.one of the larger divisions for purposes of local administration, as in >>Canada and New Zealand. >> >>4.the territory of a county, esp. its rural areas, as in: "We farmed out in >>the county before moving to town.". >> >>5.the inhabitants of a county, as in, "It was supposed to be a secret, but >>you told the whole county.". >> >>6.the domain of a count or earl. >> >> >>All these years I have been under the (clearly false) impression that >>precise population-numbers defined these terms. Apparently I have wrong, lo >>these decades. I have just taken a local poll (only 4 people) and the >>agreement here is that a city is 100,000 people or more; a town is 999,999 >>people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >>or fewer. We four Canadians readily agreed on these numbers, but that might >>be something we picked up in school that has no relation to the larger >>world. >> >>Arthur >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_________________________________________________________________ >Find a local pizza place, music store, museum and more?then map the best >route! http://local.live.com?FORM=MGA001 > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Tue Nov 14 23:10:56 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 14 Nov 2006 21:10:56 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: <455B2318.27169.70C7A8E5@stuart.lexacorp.com.pg> Message-ID: <016101c70874$6ed01e30$6a01a8c0@HAL9005> Oops. My bad. fldJobMasterID is an the Autonumber PK of tblJobMaster. Won't work then, will it? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 14, 2006 8:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table On 14 Nov 2006 at 20:08, Beach Access Software wrote: > Stuart: > > I'm using > db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM > tblJobMaster " _ > & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID > > But I get the cryptic 'Too few parameters. Expected 1'. Can you see what > I'm doing wrong? WHile developing, try using strSQL = ..... Docmd.RunSQL strSQL instead of .Execute. You get much more helpful error messages that way. Just a WAG but is fldJobMasterID a PK or constrained to being unique? Creating a new record like this, you are trying to create another record in the table with ALL of the fields the same, including any unique fields,PK or otherwise. (You did ask originally to "duplicate" a record in a table) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006 3:58 PM From accessd at shaw.ca Tue Nov 14 23:23:10 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Nov 2006 21:23:10 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <002101c70810$87dfd280$f1bc2ad1@SUSANONE> Message-ID: <0J8R00IQ2AWEIPH0@l-daemon> Hi Susan: I can not seem to get the browsers to produce what you are seeing. Could you display the inconsistency on your monitor, print it to a file and send me the file off-line. In the meantime, what browser are you using? TIA Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 14, 2006 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list I see one plane. Above it and under the page title, there's a rectangular white box. The only reason I can tell is because it blocks the gray border. Susan H. My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 15 00:43:13 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 22:43:13 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061115064313.38029.qmail@web88209.mail.re2.yahoo.com> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 12:08:15 AM Subject: Re: [AccessD] Useful Lists In addition to lists there are public web services that provide things like those listed below from places like http://www.webservicex.net/WS/default.aspx LloydsRiskCodeService US Address verification Barcode Generator North American Industry Classification System United Nations Standard Products and Services Code Medi Care Supplier FedACH FedWire USA Weather Forecast MortgageIndex SunSetRiseService GeoIPService Stock Quote Currency Convertor Global Weather London Gold And Silver Fixing Real Time Market Data SendSMSWorld OFAC SDN and Blocked Persons Translation Engine ABA Lookup artful at rogers.com wrote: >So help! Send me your list. I will rationalize it with the travel agency list, perhaps using columns to designate the lists. After all, we only have 26 letters. Shamil and various others could of course contribute additional alphabets. This obviously doesn't make sense in the various dialects of China, for example. Incidentally, I have heard or read that there are precisely 100 surnames in China. I find this difficult to believe, but it was explained to me as follows: Chang, Chong, Chuang, etc. all refer to the same ideogram, and the differences relate to dialects rather than their single symbolic reference. > >I have no idea whether this is correct. But it wouldn't strike me as remarkable if it were. Mind you, the decision about exactly 100 names would strike me as remarkable. If we have any Mandarin/Cantonese/Mongolian/etc. people, it would be useful to receive your input on this subject. A long time ago I was in Japan and used a computer that did translations from a phonetic language to the Japanese characters. I forget the names, but the basic idea was that one could type in "katana" or "shodan" or "wazashi", and this would translate into the appropriate ideograms, occasionally resulting in a listbox of similar words, along with their symbols. This was a long time ago, and I assume that the software has advanced vastly from there, but I haven't been back so I don't know. > >Returning to airport codes, I think that the world uses the English list, and that pilots use English as the lingua franca, but I'm not sure about that. Listers outside North America, please assist this ignorant Canadian. > >Arthur > >----- Original Message ---- >From: Mark A Matte >To: accessd at databaseadvisors.com >Sent: Tuesday, November 14, 2006 1:57:46 PM >Subject: Re: [AccessD] Useful Lists > >Arthur, > >"I think it is identical to the similar >list from the military, but perhaps not. (In case you don't know what I >mean, >Able Baker Charlie etc.) >" >Refers to the phonetic alphabet. US military version would be "Alpha, >Bravo,Charlie" > >Of all the lists you mentioned...its probably the only one I could >contribute to. I know that different occupations and english speaking >peoples use a different variation of the list. > >I'd be glad to help any way I can. > >Thanks, > >Mark A. Matte > > > >>From: artful at rogers.com >>Reply-To: Access Developers discussion and problem >>solving >>To: "AccessD at databaseadvisors. com" , >>dba-SQLServer >>Subject: [AccessD] Useful Lists >>Date: Tue, 14 Nov 2006 10:20:41 -0800 (PST) >> >>On the basis of the thread about airport lists, I proposed to Jim Lawrence >>that we accumulate a bunch of similar lists. As my father said when I >>joined the CDN Air Force at 17, "Don't volunteer for anything." O well. Jim >>has invited me to spearhead the acquisition of said lists, and I have >>accepted the assignment. >> >>So, to all of you listers, three questions: >> >>1. What lists do you possess that you think would be useful to your fellow >>AccessD/dba-SQL listers? >>2. What lists do you lack that you desire? >> >>(I couldn't resist the old programmer's joke. There are three types of >>programmers -- those who can count and those who can't.) >> >>Chances are that more than one of you may volunteer to contribute similar >>or identical lists. The latter is easy to deal with. The former is a little >>tougher, since it might require UNIONing several lists, but that's ok. >> >>I have one list ready to go, which is the list of words corresponding to >>letters that travel agents use to spell names. I think it is identical to >>the similar list from the military, but perhaps not. (In case you don't >>know what I mean, Able Baker Charlie etc.) >> >>I also have another list of cities within North America, and states and >>provinces to correspond. It is not ready to go, there are some duplicates, >>but I could prune the dupes. The list consists only of those cities into >>which the company I was formerly associated with sold products, but it >>numbers about 5,000 cities, give or take 3. Far from exhaustive, but a good >>start, and similar lists could easily be UNIONed. That leaves out all the >>listers uninterested in cities in North America, but listers residing >>elsewhere might be able to contribute more cities. On this one, there is a >>difficulty. Within North America, there are states and provinces. In >>Switzerland, there are cantons. >> >>On this subject, I have just done some searches in dictionary.com and come >>up with some hilarious definitions: >> >>City -- an important town >>Town -- a large village >>Village -- a small community or group of houses in a rural area, larger >>than a >>hamlet and usually smaller than a town, and sometimes (as in parts of >>the U.S.) incorporated as a municipality. >>Hamlet -- British. a village without a church of its own, belonging to the >>parish of another village or town. >>County (the richest by far) -- >>1.the largest administrative division of a U.S. state: Miami, Florida, is >>in Dade County. >> >>2.one of the chief administrative divisions of a country or state, as in >>Great Britain and Ireland. >> >>3.one of the larger divisions for purposes of local administration, as in >>Canada and New Zealand. >> >>4.the territory of a county, esp. its rural areas, as in: "We farmed out in >>the county before moving to town.". >> >>5.the inhabitants of a county, as in, "It was supposed to be a secret, but >>you told the whole county.". >> >>6.the domain of a count or earl. >> >> >>All these years I have been under the (clearly false) impression that >>precise population-numbers defined these terms. Apparently I have wrong, lo >>these decades. I have just taken a local poll (only 4 people) and the >>agreement here is that a city is 100,000 people or more; a town is 999,999 >>people or fewer; a village is 2,000 people or fewer; a hamlet is 500 people >>or fewer. We four Canadians readily agreed on these numbers, but that might >>be something we picked up in school that has no relation to the larger >>world. >> >>Arthur >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_________________________________________________________________ >Find a local pizza place, music store, museum and more?then map the best >route! http://local.live.com?FORM=MGA001 > > > > -- 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 artful at rogers.com Wed Nov 15 00:46:35 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 14 Nov 2006 22:46:35 -0800 (PST) Subject: [AccessD] ATA airport list for the DBA list Message-ID: <20061115064635.85195.qmail@web88207.mail.re2.yahoo.com> Nor could I. I just tried FF, IE7 and Opera, and I'm failing to see what Susan sees. Of course, this could be due to my age. ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 12:23:10 AM Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I can not seem to get the browsers to produce what you are seeing. Could you display the inconsistency on your monitor, print it to a file and send me the file off-line. In the meantime, what browser are you using? TIA Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, November 14, 2006 9:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list I see one plane. Above it and under the page title, there's a rectangular white box. The only reason I can tell is because it blocks the gray border. Susan H. My browser mirrors the airplane left-right ... >>> artful at rogers.com 14-11-2006 15:11:17 >>> I'm running FF and not seeing anything weird. Looks just fine, and perhaps fancy, to me. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 airtelbroadband.in Wed Nov 15 01:32:23 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 15 Nov 2006 13:02:23 +0530 Subject: [AccessD] Copy a record in a table References: <010901c70853$0a2ce290$6a01a8c0@HAL9005> Message-ID: <010e01c70888$cc8e97e0$a20c177d@pcadt> Rocky, Apparently, you are looking for a straightforward method to copy an existing record to new record in the same table, without having to bother with individual field names. It is presumed that the table has autonumber type primary key. Use of an insert statement with wild card for field names looks tempting and deceptively simple. However, it gets ruled out as the action would attempt to create a duplicate value in primary key field. A rough & ready method involves copying of desired record to clipboard and then pasting it on to the new record. This works smoothly, without attracting any error on a/c of attempted duplication of primary key value. Instead, correct autoonumber gets automatically assigned to the newly pasted record, over-ruling the PK value in clipboard. Sample sub-routine named P_CopyRecordToNew(), as given at (A) below, demonstrates this approach. For ready reference, sample sub-routine P_InsertRecordCopy(), as given at (B) below, represents a more formal approach for accomplishing the same task. Once you put these subs in a general module, invoking the one at (B) should be equally convenient as the one at (A). Eventually, you might prefer the one at (B). Best wishes, A.D.Tejpal --------------- A) Copy existing record to new record in same table (Rough & Ready method) ================================== Sub P_CopyRecordToNew(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) DoCmd.OpenTable TableName DoCmd.GoToControl PkName DoCmd.FindRecord PkNum DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.GoToRecord , , acNewRec DoCmd.RunCommand acCmdPaste DoCmd.Close acTable, TableName, acSaveYes End Sub ================================== B) Copy existing record to new record in same table (Formal method) ================================== Sub P_InsertRecordCopy(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) Dim Qst As String, FieldList As String Dim fd As Field Dim db As DAO.Database Set db = DBEngine(0)(0) FieldList = "" For Each fd In db.TableDefs(TableName).Fields If fd.Name <> PkName Then FieldList = FieldList & _ IIf(Len(FieldList) > 0, _ ", ", "") & fd.Name End If Next Qst = "Insert Into " & TableName & " (" & _ FieldList & ") Select " & FieldList & _ " From " & TableName & " Where " & _ PkName & " = " & PkNum & ";" db.Execute Qst, dbFailOnError Set fd = Nothing Set db = Nothing End Sub ================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 06:41 Subject: [AccessD] Copy a record in a table Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From Gustav at cactus.dk Wed Nov 15 04:18:16 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Nov 2006 11:18:16 +0100 Subject: [AccessD] Useful Lists Message-ID: Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur From Gustav at cactus.dk Wed Nov 15 05:02:31 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Nov 2006 12:02:31 +0100 Subject: [AccessD] Copy a record in a table Message-ID: Hi Rocky Crude? How come? DAO is normally the fastest method to add a record to a recordset. Here's a basic function: Public Function CopyRecord( _ ByVal strTable As String, _ ByVal strId As String, _ ByVal lngId As Long) _ As Boolean Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim rstAdd As DAO.Recordset Dim fld As DAO.Field Dim strFld As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") With rstAdd .AddNew For Each fld In rstAdd.Fields With fld strFld = .Name If Not strFld = strId Then .Value = rst.Fields(strFld).Value End If End With Next .Update .Close End With rst.Close Set fld = Nothing Set rstAdd = Nothing Set rst = Nothing Set dbs = Nothing End Function Of course, you will need to refine this for compound indices, other unique indices, OLE fields, default values etc. Also add error handling. /gustav >>> bchacc at san.rr.com 15-11-2006 02:11 >>> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From andy at minstersystems.co.uk Wed Nov 15 05:50:16 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 15 Nov 2006 11:50:16 +0000 Subject: [AccessD] Useful Lists Message-ID: <20061115115021.F331086DFE@smtp.nildram.co.uk> I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 jwcolby at colbyconsulting.com Wed Nov 15 06:35:20 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 07:35:20 -0500 Subject: [AccessD] Useful Lists In-Reply-To: <20061115115021.F331086DFE@smtp.nildram.co.uk> Message-ID: <001501c708b2$84e157f0$e1265b05@m6805> Along with instructions on getting it? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, November 15, 2006 6:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Lists I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 bheid at appdevgrp.com Wed Nov 15 06:41:44 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 15 Nov 2006 07:41:44 -0500 Subject: [AccessD] Copy a record in a table In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6FBB1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35AB5@ADGSERVER> Rocky, It will work, but you will have to name all of the fields except for fldJobMasterID, which will be created with he autonumber. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, November 15, 2006 12:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy a record in a table Oops. My bad. fldJobMasterID is an the Autonumber PK of tblJobMaster. Won't work then, will it? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 14, 2006 8:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table On 14 Nov 2006 at 20:08, Beach Access Software wrote: > Stuart: > > I'm using > db.Execute "INSERT INTO tblJobMaster SELECT tblJobMaster.* FROM > tblJobMaster " _ > & "WHERE fldJobMasterID = " & rstJobMasterEquipmentIn!fldJobMasterID > > But I get the cryptic 'Too few parameters. Expected 1'. Can you see what > I'm doing wrong? WHile developing, try using strSQL = ..... Docmd.RunSQL strSQL instead of .Execute. You get much more helpful error messages that way. Just a WAG but is fldJobMasterID a PK or constrained to being unique? Creating a new record like this, you are trying to create another record in the table with ALL of the fields the same, including any unique fields,PK or otherwise. (You did ask originally to "duplicate" a record in a table) From Gustav at cactus.dk Wed Nov 15 06:45:40 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Nov 2006 13:45:40 +0100 Subject: [AccessD] MS Office SharePoint 2007 book on-line Message-ID: Hi all The 236 page pdf book 7 Development Projects for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services Version 3.0 is for download: http://go.microsoft.com/?linkid=5775684 /gustav From prodevmg at yahoo.com Wed Nov 15 08:09:26 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 15 Nov 2006 06:09:26 -0800 (PST) Subject: [AccessD] Control which record shows at top of subform Message-ID: <20061115140926.55903.qmail@web33114.mail.mud.yahoo.com> I have a subform and have buttons that navigate to certain records. Sometimes when the requested record is located it appears in the middle of the subform. I have the subform sized to show a certain amount of records at a time and want the "found" record to be at the top of my list. Is this possible? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________________ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.com From dwaters at usinternet.com Wed Nov 15 08:21:40 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 15 Nov 2006 08:21:40 -0600 Subject: [AccessD] Requirements Development In-Reply-To: <21386214.1163519689078.JavaMail.root@sniper25> Message-ID: <002401c708c1$5eef4d40$0200a8c0@danwaters> Hi Arthur, It turns out that your link is issue #2 of a six-part requirements 'E-Zine' published electronically every 2 months by a company called Ravenflow. It looks like excellent information! Sign up for all six issues here: http://www.ravenflow.com/ You can get issues #1 and #2 here: http://www.nxtbook.com/nxtbooks/cmp/ddj-ravenflow1/ http://www.nxtbook.com/nxtbooks/cmp/ddj-ravenflow2/ Apparently issue #3 isn't released yet. Dan Waters -----Original Message----- Subject: [AccessD] Requirements Development What a timely arrival, given the thread about writing requirements. http://newsletters.sdmediagroup.com/cgi-bin4/DM/y/h1mC0GGzBY0JSg0ErCM0E1 (You will probably have to register for this, but it's free.) Arthur From artful at rogers.com Wed Nov 15 08:27:03 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 15 Nov 2006 06:27:03 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061115142703.9547.qmail@web88209.mail.re2.yahoo.com> That was my point, Andy. Such lists might be better served with lookups to web sites. ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 6:50:16 AM Subject: Re: [AccessD] Useful Lists I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 bchacc at san.rr.com Wed Nov 15 08:36:40 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 15 Nov 2006 06:36:40 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: <010e01c70888$cc8e97e0$a20c177d@pcadt> Message-ID: <002601c708c3$7735adc0$6401a8c0@HAL9005> A.D.: Thanks for those routines. A looks like it will work only if the recordset is bound to the form? And then will copy the current record? Or will it work on any table even if it is not the record source? I'm not familiar with all those commands but I'll look them up in Help. Thanks again fro your response. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 14, 2006 11:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table Rocky, Apparently, you are looking for a straightforward method to copy an existing record to new record in the same table, without having to bother with individual field names. It is presumed that the table has autonumber type primary key. Use of an insert statement with wild card for field names looks tempting and deceptively simple. However, it gets ruled out as the action would attempt to create a duplicate value in primary key field. A rough & ready method involves copying of desired record to clipboard and then pasting it on to the new record. This works smoothly, without attracting any error on a/c of attempted duplication of primary key value. Instead, correct autoonumber gets automatically assigned to the newly pasted record, over-ruling the PK value in clipboard. Sample sub-routine named P_CopyRecordToNew(), as given at (A) below, demonstrates this approach. For ready reference, sample sub-routine P_InsertRecordCopy(), as given at (B) below, represents a more formal approach for accomplishing the same task. Once you put these subs in a general module, invoking the one at (B) should be equally convenient as the one at (A). Eventually, you might prefer the one at (B). Best wishes, A.D.Tejpal --------------- A) Copy existing record to new record in same table (Rough & Ready method) ================================== Sub P_CopyRecordToNew(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) DoCmd.OpenTable TableName DoCmd.GoToControl PkName DoCmd.FindRecord PkNum DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.GoToRecord , , acNewRec DoCmd.RunCommand acCmdPaste DoCmd.Close acTable, TableName, acSaveYes End Sub ================================== B) Copy existing record to new record in same table (Formal method) ================================== Sub P_InsertRecordCopy(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) Dim Qst As String, FieldList As String Dim fd As Field Dim db As DAO.Database Set db = DBEngine(0)(0) FieldList = "" For Each fd In db.TableDefs(TableName).Fields If fd.Name <> PkName Then FieldList = FieldList & _ IIf(Len(FieldList) > 0, _ ", ", "") & fd.Name End If Next Qst = "Insert Into " & TableName & " (" & _ FieldList & ") Select " & FieldList & _ " From " & TableName & " Where " & _ PkName & " = " & PkNum & ";" db.Execute Qst, dbFailOnError Set fd = Nothing Set db = Nothing End Sub ================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 06:41 Subject: [AccessD] Copy a record in a table Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006 3:58 PM From bchacc at san.rr.com Wed Nov 15 08:42:47 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 15 Nov 2006 06:42:47 -0800 Subject: [AccessD] Copy a record in a table In-Reply-To: Message-ID: <002701c708c4$5182fe60$6401a8c0@HAL9005> G: I'm a big DAO fan. Do lots of little things with it. So I love the routine. My approach on this one, since there were only five fields in the table was to Dim a variable for each field, put the values in the variables, do an .AddNew, and copy the variables into the new records fields. That's crude! Yours isn't. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 15, 2006 3:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Copy a record in a table Hi Rocky Crude? How come? DAO is normally the fastest method to add a record to a recordset. Here's a basic function: Public Function CopyRecord( _ ByVal strTable As String, _ ByVal strId As String, _ ByVal lngId As Long) _ As Boolean Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim rstAdd As DAO.Recordset Dim fld As DAO.Field Dim strFld As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") With rstAdd .AddNew For Each fld In rstAdd.Fields With fld strFld = .Name If Not strFld = strId Then .Value = rst.Fields(strFld).Value End If End With Next .Update .Close End With rst.Close Set fld = Nothing Set rstAdd = Nothing Set rst = Nothing Set dbs = Nothing End Function Of course, you will need to refine this for compound indices, other unique indices, OLE fields, default values etc. Also add error handling. /gustav >>> bchacc at san.rr.com 15-11-2006 02:11 >>> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006 3:58 PM From ewaldt at gdls.com Wed Nov 15 08:58:53 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 15 Nov 2006 09:58:53 -0500 Subject: [AccessD] Filling in the CrossTab Help Request In-Reply-To: Message-ID: I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From jwcolby at colbyconsulting.com Wed Nov 15 09:19:30 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 10:19:30 -0500 Subject: [AccessD] Control which record shows at top of subform In-Reply-To: <20061115140926.55903.qmail@web33114.mail.mud.yahoo.com> Message-ID: <001e01c708c9$73208bf0$e1265b05@m6805> The short answer is not easily. If somebody here provides a solution I too will be smiling! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, November 15, 2006 9:09 AM To: AccessD solving' Subject: [AccessD] Control which record shows at top of subform I have a subform and have buttons that navigate to certain records. Sometimes when the requested record is located it appears in the middle of the subform. I have the subform sized to show a certain amount of records at a time and want the "found" record to be at the top of my list. Is this possible? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________ ________ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.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 15 09:21:09 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 15 Nov 2006 15:21:09 +0000 Subject: [AccessD] Useful Lists Message-ID: <20061115152113.C2A0B5582F@smtp.nildram.co.uk> Oh yeah I see that now when I reread your post. Sorry Arthur. -- 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] Useful Lists Date: 15/11/06 14:28 That was my point, Andy. Such lists might be better served with lookups to web sites. ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 6:50:16 AM Subject: Re: [AccessD] Useful Lists I agree but I wonder, with the frequently changing lists, if having found such a list and decided it changes too often you might document where to go for the latest info. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Useful Lists Date: 15/11/06 10:21 Hi Arthur You have a point here - note the previous message from Max about the outdated info for the BKK airport. /gustav >>> artful at rogers.com 15-11-2006 07:43 >>> I will spend some time turning some of these into Access databases. These can easily be ported to any other database such as MS-SQL or Oracle or Sybase, etc. I admit that I have no idea what some of these designations mean (FedACH for example), but I'll look at the site and import what I can. I just glanced at the site, and it raises an interesting question. Perhaps it is pointless to grab rapidly changing lists, since by definition they require frequent refreshment. The list of elements, or planets, or sexes, changes relatively infrequently. Maybe we ought to concentrate on infrequently changing lists and leave the rest to net-lookups? Arthur -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From Lambert.Heenan at AIG.com Wed Nov 15 09:22:42 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 15 Nov 2006 10:22:42 -0500 Subject: [AccessD] Filling in the CrossTab Help Request Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Sure. Open the Crosstab query in design mode. On the property sheet you will find a "Column Headings" property. Just fill this with a list of your columns ... "Qtr 1", "Qtr 2", "Qtr 3", "Qtr 4" ... then you will always have all columns reported, and in the order you specify. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, November 15, 2006 9:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gjgiever at myway.com Wed Nov 15 09:40:31 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 15 Nov 2006 10:40:31 -0500 (EST) Subject: [AccessD] Open a database Message-ID: <20061115154031.23AFF757F9@mprdmxin.myway.com> This is frustrating. All I want to do is open another database from the currently open database. The code is like the help examples: Dim dbMyDB As Database Dim strDBName As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName) But nothing happens. What am I missing? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From reuben at gfconsultants.com Wed Nov 15 09:54:05 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Wed, 15 Nov 2006 10:54:05 -0500 Subject: [AccessD] Control which record shows at top of subform In-Reply-To: <001e01c708c9$73208bf0$e1265b05@m6805> Message-ID: There's a difference between being at the top of the list and being "shown" at the top of the list. I've set up some continuous forms that upon opening highlight the line that corresponds to today's date. It doesn't put that line at the top of the list, but it does "look" like it's the top of the list. I do this by running thru the recordset until I find the record I want and then set the bookmark to that record and refresh the form. If you actually want it at the top could you add a field to the table and use it as a "marker"? When you find what should be the first record set the record to 0 and all the other records in this recordset = 1. Sort ascending and you now have the appropriate record at the top. You could do all this using the recordsetclone. I have never tried the second option - it's just an idea. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Wednesday, November 15, 2006 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Control which record shows at top of subform > > > The short answer is not easily. > > If somebody here provides a solution I too will be smiling! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson > Sent: Wednesday, November 15, 2006 9:09 AM > To: AccessD solving' > Subject: [AccessD] Control which record shows at top of subform > > I have a subform and have buttons that navigate to certain records. > Sometimes when the requested record is located it appears in the middle of > the subform. > > I have the subform sized to show a certain amount of records at a time and > want the "found" record to be at the top of my list. > > Is this possible? > > > > > > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases Visit me at ==> > http://www.prodev.us > > > > __________________________________________________________________ > __________ > ________ > Sponsored Link > > Compare mortgage rates for today. > Get up to 5 free quotes. > Www2.nextag.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Wed Nov 15 09:58:09 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 15 Nov 2006 10:58:09 -0500 Subject: [AccessD] Open a database Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E0B9@xlivmbx35.aig.com> What your code does is create an object (dbMyDB) to point to the external mdb file. You would then be able to manipulate the tables, queries etc. in that file via code. It sounds like you want to actually start up the other database. For that there are various ways. For example... Sub OpenAnotherDb() Dim strDBName As String Dim dbl_D As Double Dim strCommandLine As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" strCommandLine = Quote(SysCmd(acSysCmdAccessDir) & _ "MSACCESS.EXE") & " " & Quote(strDBName ) dbl_D = Shell(strCommandLine, vbNormalFocus) Application.Quit acQuitSaveNone ' closes the *current* database End Sub Function Quote(aString) As String Quote = """" & aString & """" End Function HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 15, 2006 10:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] Open a database This is frustrating. All I want to do is open another database from the currently open database. The code is like the help examples: Dim dbMyDB As Database Dim strDBName As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName) But nothing happens. What am I missing? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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 15 10:00:44 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 15 Nov 2006 08:00:44 -0800 Subject: [AccessD] Open a database In-Reply-To: <20061115154031.23AFF757F9@mprdmxin.myway.com> Message-ID: The code is just a way to open and then manipulate another database from the current one. What is it that you want to happen? If you try to work with dbMyDB after that line, does it throw an error? If not, then it's working. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Wednesday, November 15, 2006 7:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] Open a database This is frustrating. All I want to do is open another database from the currently open database. The code is like the help examples: Dim dbMyDB As Database Dim strDBName As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName) But nothing happens. What am I missing? Gary J. Giever, M.A. Applications Developer ACCMHS _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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 Wed Nov 15 10:15:50 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 15 Nov 2006 10:15:50 -0600 Subject: [AccessD] Filling in the CrossTab Help Request Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE106@corp-es01.fleetpride.com> check out p157 of Getz's ADH. He suggests using an IN clause of the form PIVOT column-headings-field[IN((value1[,value2],...]])] HTH Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Wednesday, November 15, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From rl_stewart at highstream.net Wed Nov 15 10:29:44 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 15 Nov 2006 10:29:44 -0600 Subject: [AccessD] Useful Lists In-Reply-To: References: Message-ID: <200611151630.kAFGU6q12304@databaseadvisors.com> Oh Well, I tried their postal code web service for the USA. Mine is 77418. The area code changed over 5 years ago from 409 to 979. Their service is still returning 409 as the area code. Are they maintaining the data? If not, what use is a bad list of data? I am willing to host the databases in SQL Server for all to connect to for the data. As long as we all behave and keep the list up to date as well as not put junk into them. I have a couple, like the postal code list, some of the ISO standards lists for country codes, SIC and NAICS code, and so on that I can start it with it any one else is interested. I also have some of the TIGER data tables for the USA. Robert At 08:27 AM 11/15/2006, you wrote: >Date: Tue, 14 Nov 2006 21:08:15 -0800 >From: MartyConnelly >Subject: Re: [AccessD] Useful Lists >To: Access Developers discussion and problem solving > >Message-ID: <455AA0BF.7050407 at shaw.ca> >Content-Type: text/plain; charset=windows-1252; format=flowed > >In addition to lists there are public web services that provide things like >those listed below from places like >http://www.webservicex.net/WS/default.aspx From dwaters at usinternet.com Wed Nov 15 10:29:45 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 15 Nov 2006 10:29:45 -0600 Subject: [AccessD] Control which record shows at top of subform In-Reply-To: <21949219.1163605192781.JavaMail.root@sniper5> Message-ID: <003f01c708d3$4388d0f0$0200a8c0@danwaters> Hi Lonnie, Long ago I found code to do this from a site somewhere. I'll post it here. I haven't used it but you may be able to. --------------------------------------------------------------------- Option Compare Database Option Explicit Private Const GWL_STYLE = (-16) ' GetWindow() Constants Private Const GW_HWNDNEXT = 2 Private Const GW_CHILD = 5 ' Scroll Bar Constants Private Const SB_HORZ = 0 Private Const SB_CTL = 2 Private Const SB_VERT = 1 ' ScrollInfo fMask's Private Const SIF_RANGE = &H1 Private Const SIF_PAGE = &H2 Private Const SIF_POS = &H4 Private Const SIF_DISABLENOSCROLL = &H8 Private Const SIF_TRACKPOS = &H10 Private Const SIF_ALL = (SIF_RANGE Or SIF_PAGE Or SIF_POS Or SIF_TRACKPOS) ' Scroll Bar Styles Private Const SBS_HORZ = &H0& Private Const SBS_VERT = &H1& Private Declare Function apiGetScrollInfo Lib "user32" Alias "GetScrollInfo" (ByVal hwnd As Long, ByVal n As Long, lpScrollInfo As SCROLLINFO) As Long Private Declare Function apiGetWindow Lib "user32" Alias "GetWindow" (ByVal hwnd As Long, ByVal wCmd As Long) As Long Private Declare Function apiGetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Type SCROLLINFO cbSize As Long fMask As Long nMin As Long nMax As Long nPage As Long nPos As Long nTrackPos As Long End Type Public Function GetScrollBarPosition(frm As Form) As Long On Error GoTo EH ' Return ScrollBar Thumb position for the Vertical Scrollbar attached to the Form passed to this Function. Dim hWndSB As Long Dim lngRet As Long Dim sinfo As SCROLLINFO '-- Init SCROLLINFO structure sinfo.fMask = SIF_ALL sinfo.cbSize = Len(sinfo) sinfo.nPos = 0 sinfo.nTrackPos = 0 '-- Call function to get handle to '-- ScrollBar control if it is visible hWndSB = IsScrollBar(frm) If hWndSB = -1 Then GetScrollBarPosition = False Exit Function End If '-- Get the window's ScrollBar position lngRet = apiGetScrollInfo(hWndSB, SB_CTL, sinfo) GetScrollBarPosition = sinfo.nPos + 1 Exit Function EH: Application.Echo True End Function Private Function IsScrollBar(frm As Form) As Long On Error GoTo EH Dim hWnd_VSB As Long Dim hwnd As Long '-- Get ScrollBar's hWnd hwnd = frm.hwnd '-- Get first Child Window of the FORM hWnd_VSB = apiGetWindow(hwnd, GW_CHILD) '-- Walk through every sibling window of the Form Do If GetClassName(hWnd_VSB) = "scrollBar" Then If apiGetWindowLong(hWnd_VSB, GWL_STYLE) And SBS_VERT Then IsScrollBar = hWnd_VSB Exit Function End If End If '-- Get the NEXT SIBLING Window hWnd_VSB = apiGetWindow(hWnd_VSB, GW_HWNDNEXT) '-- Start the process from the Top again '-- Really just an error check Loop While hWnd_VSB <> 0 '-- If no vertical ScrollBar control is currently visible for this Form then IsScrollBar = -1 Exit Function EH: Application.Echo True End Function Private Function GetClassName(hwnd As Long) As String On Error GoTo EH Dim strBuffer As String Dim lngLen As Long Const MAX_LEN = 255 strBuffer = Space$(MAX_LEN) lngLen = apiGetClassName(hwnd, strBuffer, MAX_LEN) If lngLen > 0 Then GetClassName = Left$(strBuffer, lngLen) End If Exit Function EH: Application.Echo True End Function ------------------------------------------------------------------------- Dan Waters -----Original Message----- Subject: [AccessD] Control which record shows at top of subform I have a subform and have buttons that navigate to certain records. Sometimes when the requested record is located it appears in the middle of the subform. I have the subform sized to show a certain amount of records at a time and want the "found" record to be at the top of my list. Is this possible? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________ From jwcolby at colbyconsulting.com Wed Nov 15 10:41:36 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 11:41:36 -0500 Subject: [AccessD] Filling in the CrossTab Help Request In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE106@corp-es01.fleetpride.com> Message-ID: <001f01c708d4$eb42eff0$e1265b05@m6805> I do that and it works great. However if the value of or quantity of these values change, the in clause has to be manually edited. Yuk. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 15, 2006 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filling in the CrossTab Help Request check out p157 of Getz's ADH. He suggests using an IN clause of the form PIVOT column-headings-field[IN((value1[,value2],...]])] HTH Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Wednesday, November 15, 2006 8:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 15 11:11:10 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 15 Nov 2006 17:11:10 +0000 Subject: [AccessD] Carry Forward in a query In-Reply-To: Message-ID: Chester, Just out of curiosity...why does it have to be a query and not code?...and in this scenario could call a custom function from the query? Just curious, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Carry Forward in a query >Date: Tue, 14 Nov 2006 16:40:39 -0600 > >Here is what I have now. One table with dates and one table like below. >Query SQL as below. This works great. > >SELECT T_PriceCurrent.SDate, >(Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) >from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) >AS PriceCurrent >FROM T_PriceCurrent; > >SDate Price >1/1/2005 8.56 >1/23/2005 8.73 >2/14/2005 8.40 >3/1/2005 8.00 >3/12/2005 8.45 >3/27/2005 8.95 >4/7/2005 8.12 >4/30/2005 7.95 >5/14/2005 8.03 >5/27/2005 8.24 >6/10/2005 9.03 >6/25/2005 9.17 >7/3/2005 9.25 >7/27/2005 9.40 >8/3/2005 9.64 > >What I cannot figure how to do is make it work if table looks like >below. I need output for each Pattern. >Pattern SDate Price >1 1/1/2005 8.56 >1 1/23/2005 8.73 >1 2/14/2005 8.40 >1 3/1/2005 8.00 >1 3/12/2005 8.45 >1 3/27/2005 8.95 >1 4/7/2005 8.12 >1 4/30/2005 7.95 >1 5/14/2005 8.03 >1 5/27/2005 8.24 >1 6/10/2005 9.03 >1 6/25/2005 9.17 >1 7/3/2005 9.25 >1 7/27/2005 9.40 >1 8/3/2005 9.64 >2 1/7/2005 8.27 >2 1/24/2005 8.71 >2 2/13/2005 8.35 >2 3/2/2005 8.02 >2 3/13/2005 8.44 >2 3/28/2005 8.93 >2 4/6/2005 8.10 >2 4/28/2005 7.98 >2 5/15/2005 8.05 >2 5/25/2005 8.20 >2 6/9/2005 9.00 >2 6/20/2005 9.15 >2 7/1/2005 9.23 >2 7/25/2005 9.35 >2 8/4/2005 9.65 >2 8/15/2005 9.50 > >Thanks for any ideas. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Tuesday, November 14, 2006 3:59 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Carry Forward in a query > >If I understand what you want to do, I have done this with a non >cartesian >join. I create a table with a one field record and one record for each >date. In the query window I place this table and the table with the >record >you want to duplicate WITHOUT ANY JOIN. the resulting data set produces >one >record for each date. HTH >Jim Hale > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Tuesday, November 14, 2006 3:13 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Carry Forward in a query > > >I have a table of data that has a record about every 6 months. I would >like to generate a record for every month using the previous months data >until there is data for the current records month. I can do this in code >but had a coworker ask if it could be done in a query. I am not coming >up with an answer. Your thoughts please. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline From ewaldt at gdls.com Wed Nov 15 11:13:23 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 15 Nov 2006 12:13:23 -0500 Subject: [AccessD] Filling in the CrossTab Help Request In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Message-ID: Yup, just like with months, days of the week, etc. I just couldn't remember how to do it; it had been a long time since I'd needed to do so. Thanks for your help. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 "Heenan, Lambert" 11/15/2006 10:22 AM To "'Access Developers discussion and problem solving'" cc "'ewaldt at gdls.com'" Subject RE: [AccessD] Filling in the CrossTab Help Request Sure. Open the Crosstab query in design mode. On the property sheet you will find a "Column Headings" property. Just fill this with a list of your columns ... "Qtr 1", "Qtr 2", "Qtr 3", "Qtr 4" ... then you will always have all columns reported, and in the order you specify. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, November 15, 2006 9:59 AM To: accessd at databaseadvisors.com Subject: [AccessD] Filling in the CrossTab Help Request I have a table with steps numbering 1 to 24; those numbers are shown as column headers in the crosstab. My crosstab only shows those columns for which there is data, of course. Is there a way to adapt it to show all 24 numbers, even if the columns are empty of data? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From gjgiever at myway.com Wed Nov 15 11:28:08 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 15 Nov 2006 12:28:08 -0500 (EST) Subject: [AccessD] Open a database Message-ID: <20061115172808.453E3757D5@mprdmxin.myway.com> Yes. That was what I needed. I misunderstood what the original code was doing. Thank you. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Wed 11/15, Heenan, Lambert < Lambert.Heenan at aig.com > wrote: From: Heenan, Lambert [mailto: Lambert.Heenan at aig.com] To: accessd at databaseadvisors.com Date: Wed, 15 Nov 2006 10:58:09 -0500 Subject: Re: [AccessD] Open a database What your code does is create an object (dbMyDB) to point to the externalmdb file. You would then be able to manipulate the tables, queries etc. inthat file via code.It sounds like you want to actually start up the other database. For thatthere are various ways. For example...Sub OpenAnotherDb()Dim strDBName As StringDim dbl_D As DoubleDim strCommandLine As String strDBName = "C:\My Documents\ClientMasterUpdate.mdb" strCommandLine = Quote(SysCmd(acSysCmdAccessDir) & _ "MSACCESS.EXE") & " " & Quote(strDBName ) dbl_D = Shell(strCommandLine, vbNormalFocus) Application.Quit acQuitSaveNone ' closes the *current* databaseEnd SubFunction Quote(aString) As String Quote = """" & aString & """"End FunctionHTHLambert-----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Wednesday, November 15, 2006 10:41 AMTo: accessd at databaseadvisors.comSubject: [AccessD] Open a databaseThis is frustrating. All I want to do is open another database from thecurrently open database. The code is like the help examples:Dim dbMyDB As DatabaseDim strDBName As StringstrDBName = "C:\My Documents\ClientMasterUpdate.mdb"Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName)But nothing happens. What am I missing?Gary J. Giever, M.A.Applications DeveloperACCMHS_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From Chester_Kaup at kindermorgan.com Wed Nov 15 12:42:36 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Nov 2006 12:42:36 -0600 Subject: [AccessD] Carry Forward in a query In-Reply-To: Message-ID: A fellow employee who does not write code asked if it could be done. I am thinking not or certainly not the best way or practical way to go about doing it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 15, 2006 11:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Carry Forward in a query Chester, Just out of curiosity...why does it have to be a query and not code?...and in this scenario could call a custom function from the query? Just curious, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Carry Forward in a query >Date: Tue, 14 Nov 2006 16:40:39 -0600 > >Here is what I have now. One table with dates and one table like below. >Query SQL as below. This works great. > >SELECT T_PriceCurrent.SDate, >(Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) >from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) >AS PriceCurrent >FROM T_PriceCurrent; > >SDate Price >1/1/2005 8.56 >1/23/2005 8.73 >2/14/2005 8.40 >3/1/2005 8.00 >3/12/2005 8.45 >3/27/2005 8.95 >4/7/2005 8.12 >4/30/2005 7.95 >5/14/2005 8.03 >5/27/2005 8.24 >6/10/2005 9.03 >6/25/2005 9.17 >7/3/2005 9.25 >7/27/2005 9.40 >8/3/2005 9.64 > >What I cannot figure how to do is make it work if table looks like >below. I need output for each Pattern. >Pattern SDate Price >1 1/1/2005 8.56 >1 1/23/2005 8.73 >1 2/14/2005 8.40 >1 3/1/2005 8.00 >1 3/12/2005 8.45 >1 3/27/2005 8.95 >1 4/7/2005 8.12 >1 4/30/2005 7.95 >1 5/14/2005 8.03 >1 5/27/2005 8.24 >1 6/10/2005 9.03 >1 6/25/2005 9.17 >1 7/3/2005 9.25 >1 7/27/2005 9.40 >1 8/3/2005 9.64 >2 1/7/2005 8.27 >2 1/24/2005 8.71 >2 2/13/2005 8.35 >2 3/2/2005 8.02 >2 3/13/2005 8.44 >2 3/28/2005 8.93 >2 4/6/2005 8.10 >2 4/28/2005 7.98 >2 5/15/2005 8.05 >2 5/25/2005 8.20 >2 6/9/2005 9.00 >2 6/20/2005 9.15 >2 7/1/2005 9.23 >2 7/25/2005 9.35 >2 8/4/2005 9.65 >2 8/15/2005 9.50 > >Thanks for any ideas. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Tuesday, November 14, 2006 3:59 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Carry Forward in a query > >If I understand what you want to do, I have done this with a non >cartesian >join. I create a table with a one field record and one record for each >date. In the query window I place this table and the table with the >record >you want to duplicate WITHOUT ANY JOIN. the resulting data set produces >one >record for each date. HTH >Jim Hale > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Tuesday, November 14, 2006 3:13 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Carry Forward in a query > > >I have a table of data that has a record about every 6 months. I would >like to generate a record for every month using the previous months data >until there is data for the current records month. I can do this in code >but had a coworker ask if it could be done in a query. I am not coming >up with an answer. Your thoughts please. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&sour ce=hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Nov 15 13:27:51 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 15 Nov 2006 14:27:51 -0500 Subject: [AccessD] Carry Forward in a query In-Reply-To: <916187228923D311A6FE00A0CC3FAA30E6FC82@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35AB9@ADGSERVER> It can in SQL Server according to this article: http://builder.com.com/5100-6388_14-6132748.html?tag=nl.e601 Not sure if it can be done in Access. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, November 15, 2006 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Carry Forward in a query A fellow employee who does not write code asked if it could be done. I am thinking not or certainly not the best way or practical way to go about doing it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 15, 2006 11:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Carry Forward in a query Chester, Just out of curiosity...why does it have to be a query and not code?...and in this scenario could call a custom function from the query? Just curious, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Carry Forward in a query >Date: Tue, 14 Nov 2006 16:40:39 -0600 > >Here is what I have now. One table with dates and one table like below. >Query SQL as below. This works great. > >SELECT T_PriceCurrent.SDate, >(Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) >from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) >AS PriceCurrent >FROM T_PriceCurrent; > >SDate Price >1/1/2005 8.56 >1/23/2005 8.73 >2/14/2005 8.40 >3/1/2005 8.00 >3/12/2005 8.45 >3/27/2005 8.95 >4/7/2005 8.12 >4/30/2005 7.95 >5/14/2005 8.03 >5/27/2005 8.24 >6/10/2005 9.03 >6/25/2005 9.17 >7/3/2005 9.25 >7/27/2005 9.40 >8/3/2005 9.64 > >What I cannot figure how to do is make it work if table looks like >below. I need output for each Pattern. >Pattern SDate Price >1 1/1/2005 8.56 >1 1/23/2005 8.73 >1 2/14/2005 8.40 >1 3/1/2005 8.00 >1 3/12/2005 8.45 >1 3/27/2005 8.95 >1 4/7/2005 8.12 >1 4/30/2005 7.95 >1 5/14/2005 8.03 >1 5/27/2005 8.24 >1 6/10/2005 9.03 >1 6/25/2005 9.17 >1 7/3/2005 9.25 >1 7/27/2005 9.40 >1 8/3/2005 9.64 >2 1/7/2005 8.27 >2 1/24/2005 8.71 >2 2/13/2005 8.35 >2 3/2/2005 8.02 >2 3/13/2005 8.44 >2 3/28/2005 8.93 >2 4/6/2005 8.10 >2 4/28/2005 7.98 >2 5/15/2005 8.05 >2 5/25/2005 8.20 >2 6/9/2005 9.00 >2 6/20/2005 9.15 >2 7/1/2005 9.23 >2 7/25/2005 9.35 >2 8/4/2005 9.65 >2 8/15/2005 9.50 > >Thanks for any ideas. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Tuesday, November 14, 2006 3:59 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Carry Forward in a query > >If I understand what you want to do, I have done this with a non >cartesian >join. I create a table with a one field record and one record for each >date. In the query window I place this table and the table with the >record >you want to duplicate WITHOUT ANY JOIN. the resulting data set produces >one >record for each date. HTH >Jim Hale > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Tuesday, November 14, 2006 3:13 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Carry Forward in a query > > >I have a table of data that has a record about every 6 months. I would >like to generate a record for every month using the previous months data >until there is data for the current records month. I can do this in code >but had a coworker ask if it could be done in a query. I am not coming >up with an answer. Your thoughts please. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&sour ce=hmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 15 13:20:47 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Nov 2006 11:20:47 -0800 Subject: [AccessD] ATA airport list for the DBA list In-Reply-To: <003201c7079d$33481390$39b82ad1@SUSANONE> Message-ID: <0J8S00MU4DOCTEF0@l-daemon> Hi Susan: I finally figured out what the problem is... If the reading area of the Browser is less than 640px then the image shifts. Having a screen surface of 1280px, I was blissfully unaware of any issues. I have now reduced the image to 500px. (Please note: That the DBA web site access log shows no viewers with screen width of 640px, have viewed the site in a couple of years. The smallest shown is a width of 1024px.) I have also removed the insignias from the plane fuselage. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- 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 15 13:46:06 2006 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 15 Nov 2006 20:46:06 +0100 Subject: [AccessD] create cascade combobox Message-ID: <000a01c708ee$b0cd6d40$4001a8c0@qmotionfaa3ad9> Hello Group, i downloaded the create cascade combobox from Candace trip's database. I can't figure out how to store the data from the cascade selection into a headtable. I have a headtable in which some records are from lookup table (sub). I use the subtable to create the cascade comboboxes. How can i store the data in the headtable? Thanks Pedro Janssen From jwcolby at colbyconsulting.com Wed Nov 15 14:03:42 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 15 Nov 2006 15:03:42 -0500 Subject: [AccessD] 3DFTP API Message-ID: <003a01c708f1$26ab4e90$e1265b05@m6805> For anyone using 3DFTP (and I recommend it highly) and need to program to it, I am building a class that encapsulates all of the methods of the API. The API works against some unknown thing (the EXE itself I believe). The result of which is that late binding is not supported, all you can do is dim an object, then Create() the instance of 3DFTP. This means that intellisense is not available. For this and other reasons I am building a class that essentially encapsulates the coding examples (corrected to actually work) from the PDF help file. If you want it the class, let me know (offline). The API is free from their site and the program is dirt cheap. I am working on stuff that has to FTP files up/down and 3dFTP is a very solid tool for this. John W. Colby Colby Consulting www.ColbyConsulting.com From Jdemarco at hudsonhealthplan.org Wed Nov 15 14:07:40 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 15 Nov 2006 15:07:40 -0500 Subject: [AccessD] OT: Moving Web Server Message-ID: <0B8880A20E2CF24280FA60901E108FB0243B@TTNEXCHSVR.hshhp.com> List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY From Jim.Hale at FleetPride.com Wed Nov 15 15:09:15 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 15 Nov 2006 15:09:15 -0600 Subject: [AccessD] ATA airport list for the DBA list Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE111@corp-es01.fleetpride.com> Wow you are sure accomodating. At least no one complained it was a Boeing instead of Airbus ;-) Jim Hale -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, November 15, 2006 1:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Hi Susan: I finally figured out what the problem is... If the reading area of the Browser is less than 640px then the image shifts. Having a screen surface of 1280px, I was blissfully unaware of any issues. I have now reduced the image to 500px. (Please note: That the DBA web site access log shows no viewers with screen width of 640px, have viewed the site in a couple of years. The smallest shown is a width of 1024px.) I have also removed the insignias from the plane fuselage. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 13, 2006 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ATA airport list for the DBA list Thanks Jim, but what's the big white overlay block just above the airplane? Is something supposed to be there? Susan H. Hi All: Please find on the front page of the DBA web site (http://www.databaseadvisors.com) access to the ATA airport list as provided by Art Fuller... Thank you very much Arthur. Regards -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Wed Nov 15 15:27:03 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 15 Nov 2006 13:27:03 -0800 Subject: [AccessD] Useful Lists In-Reply-To: <200611151630.kAFGU6q12304@databaseadvisors.com> References: <200611151630.kAFGU6q12304@databaseadvisors.com> Message-ID: <455B8627.6040001@shaw.ca> I tried another free web service and got the same result from http://www.xmethods.net So I guess you get what you pay for like a half hour delay on stock and commodity quotes. I have seen bond service quotes handled via soap and they cost $1000 a month. Even Lat Longs of a zip code centroid may not fall within the zip code if a center of gravity calculation method is used on a concave polygon. http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.tilisoft.com/ws/LocInfo/ZipCode.asmx?WSDL Robert L. Stewart wrote: >Oh Well, > >I tried their postal code web service for the USA. >Mine is 77418. The area code changed over 5 years >ago from 409 to 979. Their service is still returning >409 as the area code. > >Are they maintaining the data? If not, what use is >a bad list of data? > >I am willing to host the databases in SQL Server for >all to connect to for the data. As long as we all >behave and keep the list up to date as well as not >put junk into them. I have a couple, like the postal >code list, some of the ISO standards lists for country >codes, SIC and NAICS code, and so on that I can start >it with it any one else is interested. I also have some >of the TIGER data tables for the USA. > >Robert > >At 08:27 AM 11/15/2006, you wrote: > > >>Date: Tue, 14 Nov 2006 21:08:15 -0800 >>From: MartyConnelly >>Subject: Re: [AccessD] Useful Lists >>To: Access Developers discussion and problem solving >> >>Message-ID: <455AA0BF.7050407 at shaw.ca> >>Content-Type: text/plain; charset=windows-1252; format=flowed >> >>In addition to lists there are public web services that provide things like >>those listed below from places like >>http://www.webservicex.net/WS/default.aspx >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From lembit.dbamail at t-online.de Wed Nov 15 15:27:40 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Wed, 15 Nov 2006 22:27:40 +0100 Subject: [AccessD] XP-mde on A2003? References: <200611141636.kAEGaAq01765@databaseadvisors.com> <001a01c70819$6d7187f0$1800a8c0@s1800> Message-ID: <001e01c708fc$e13fbce0$1800a8c0@s1800> it worked Access 2002 - MDE runs under Access 2003 Lembit ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 14, 2006 7:19 PM Subject: Re: [AccessD] XP-mde on A2003? > Thanks everyone for answering. > I have made a little A2002 MDE and sent him. > will let you all know. > > Lembit > > ----- Original Message ----- > From: "Robert L. Stewart" > To: > Cc: > Sent: Tuesday, November 14, 2006 5:32 PM > Subject: Re: [AccessD] XP-mde on A2003? > > >> Lembit, >> >> The simple answer is yes, he can run it. >> >> Robert >> >> At 10:22 AM 11/14/2006, you wrote: >>>From: Lembit Soobik [mailto:lembit.dbamail at t-online.de] >>>Sent: Saturday, November 11, 2006 12:23 PM >>>To: Access Developers discussion and problem solving >>>Subject: [AccessD] XP-mde on A2003? >>> >>>Hi everyone, >>>I have been asked to write an Access db for a friend. >>>I have Access-XP (2002) on my machine >>>he has Access 2003 >>> >>>can he run an mde from me on his machine? >>> >>>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 accessd at shaw.ca Wed Nov 15 15:33:17 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Nov 2006 13:33:17 -0800 Subject: [AccessD] OT: Moving Web Server In-Reply-To: <0B8880A20E2CF24280FA60901E108FB0243B@TTNEXCHSVR.hshhp.com> Message-ID: <0J8S00M6YJT6N4A0@l-daemon> Hi Jim: There are some tools out there. When I moved our server it was recommended that we use one of the free (open-source) products. It did not work so I spent a number of hours migrating everything manually. One product you can try is from http://www.adsonline.co.uk/IISExport/. I would suspect that most of the basic items will move without issue but the extended items will need some tweaking and manual intervention. Even if you have to do parts manually it should not take too long. I moved 70 plus clients' design sites in a couple of hours. If you need any help you can contact me OL. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, November 15, 2006 12:08 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Moving Web Server List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY -- 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 15 17:29:29 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 15 Nov 2006 17:29:29 -0600 Subject: [AccessD] OT: Moving Web Server Message-ID: <17724746D360394AA3BFE5B8D40A9C1B014B1666@MARLOW_MAIN2.marlow.com> I had to look into this a few years ago, going from a 2000 server to a 2000 server. Our original Intranet was just a file server, not even using an web server. I built a 'new' intranet on my workstation, and hosted it there for the first several months, as it grew into a function intranet. After it had grown it's own wings, we moved it to it's own server....... at that time (I'd say it was 2002), there were very few utilities to 'move' a webserver from one box to another. That may have changed with 2003. I ended up just doing it manually. That allowed me to also clean up some of the mess from the initial creation, and organize it a little better. One possibility would be to use Frontpage to 'copy' the website (I know FP 2003 can do this, never tried with previous versions.....and I don't know if it will setup all the subwebs or not...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Wednesday, November 15, 2006 2:08 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Moving Web Server List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY -- 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 15 18:29:26 2006 From: john at winhaven.net (John Bartow) Date: Wed, 15 Nov 2006 18:29:26 -0600 Subject: [AccessD] XP-mde on A2003? In-Reply-To: <001e01c708fc$e13fbce0$1800a8c0@s1800> Message-ID: <200611160029.kAG0TPq14754@databaseadvisors.com> Lembit, Thanks for the followup. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Wednesday, November 15, 2006 3:28 PM it worked Access 2002 - MDE runs under Access 2003 From john at winhaven.net Wed Nov 15 18:29:26 2006 From: john at winhaven.net (John Bartow) Date: Wed, 15 Nov 2006 18:29:26 -0600 Subject: [AccessD] OT: Moving Web Server In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B014B1666@MARLOW_MAIN2.marlow.com> Message-ID: <200611160029.kAG0TSq14783@databaseadvisors.com> That's a good idea. FP 2k3 can do all the subnets (there's a switch in the settings for that purpose). It would probably need some tweaking but I would think the majority of the work would be accomplished for you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 15, 2006 5:29 PM One possibility would be to use Frontpage to 'copy' the website (I know FP 2003 can do this, never tried with previous versions.....and I don't know if it will setup all the subwebs or not...) From artful at rogers.com Wed Nov 15 19:10:49 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 15 Nov 2006 17:10:49 -0800 (PST) Subject: [AccessD] Useful Lists Message-ID: <20061116011049.61581.qmail@web88214.mail.re2.yahoo.com> >> If not, what use is a bad list of data? It might disorient terrorists. From adtp at airtelbroadband.in Wed Nov 15 23:06:06 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 16 Nov 2006 10:36:06 +0530 Subject: [AccessD] Copy a record in a table References: <002601c708c3$7735adc0$6401a8c0@HAL9005> Message-ID: <004901c7093d$063dd8c0$8808177d@pcadt> Rocky, Both the sub-routines work directly upon the table in question. There is no dependence upon any form or its recordset. You have only to supply the name of table, name of primary key field and PK value of target record (desired to be copied). As suggested earlier, the procedure as per (B) should be preferred as it is far more efficient. It does not require opening of the table. Even a recordset is not required to be opened. Note - Sub-routine (A), though not the optimum alternative, had been given merely to demonstrate a direct rough & ready approach as demanded by you. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 20:06 Subject: Re: [AccessD] Copy a record in a table A.D.: Thanks for those routines. A looks like it will work only if the recordset is bound to the form? And then will copy the current record? Or will it work on any table even if it is not the record source? I'm not familiar with all those commands but I'll look them up in Help. Thanks again fro your response. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 14, 2006 11:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy a record in a table Rocky, Apparently, you are looking for a straightforward method to copy an existing record to new record in the same table, without having to bother with individual field names. It is presumed that the table has autonumber type primary key. Use of an insert statement with wild card for field names looks tempting and deceptively simple. However, it gets ruled out as the action would attempt to create a duplicate value in primary key field. A rough & ready method involves copying of desired record to clipboard and then pasting it on to the new record. This works smoothly, without attracting any error on a/c of attempted duplication of primary key value. Instead, correct autoonumber gets automatically assigned to the newly pasted record, over-ruling the PK value in clipboard. Sample sub-routine named P_CopyRecordToNew(), as given at (A) below, demonstrates this approach. For ready reference, sample sub-routine P_InsertRecordCopy(), as given at (B) below, represents a more formal approach for accomplishing the same task. Once you put these subs in a general module, invoking the one at (B) should be equally convenient as the one at (A). Eventually, you might prefer the one at (B). Best wishes, A.D.Tejpal --------------- A) Copy existing record to new record in same table (Rough & Ready method) ================================== Sub P_CopyRecordToNew(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) DoCmd.OpenTable TableName DoCmd.GoToControl PkName DoCmd.FindRecord PkNum DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.GoToRecord , , acNewRec DoCmd.RunCommand acCmdPaste DoCmd.Close acTable, TableName, acSaveYes End Sub ================================== B) Copy existing record to new record in same table (Formal method) ================================== Sub P_InsertRecordCopy(ByVal TableName _ As String, ByVal PkName As String, _ ByVal PkNum As Long) Dim Qst As String, FieldList As String Dim fd As Field Dim db As DAO.Database Set db = DBEngine(0)(0) FieldList = "" For Each fd In db.TableDefs(TableName).Fields If fd.Name <> PkName Then FieldList = FieldList & _ IIf(Len(FieldList) > 0, _ ", ", "") & fd.Name End If Next Qst = "Insert Into " & TableName & " (" & _ FieldList & ") Select " & FieldList & _ " From " & TableName & " Where " & _ PkName & " = " & PkNum & ";" db.Execute Qst, dbFailOnError Set fd = Nothing Set db = Nothing End Sub ================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 15, 2006 06:41 Subject: [AccessD] Copy a record in a table Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From prodevmg at yahoo.com Wed Nov 15 23:15:37 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 15 Nov 2006 21:15:37 -0800 (PST) Subject: [AccessD] Control which record shows at top of subform Message-ID: <20061116051537.51786.qmail@web33108.mail.mud.yahoo.com> Thanks guys. The user now just wants to filter the records that are need to show in the subform instead of trying to navigate to them. This is simpler and much easier. Thank anyway. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Reuben Cummings To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 9:54:05 AM Subject: Re: [AccessD] Control which record shows at top of subform There's a difference between being at the top of the list and being "shown" at the top of the list. I've set up some continuous forms that upon opening highlight the line that corresponds to today's date. It doesn't put that line at the top of the list, but it does "look" like it's the top of the list. I do this by running thru the recordset until I find the record I want and then set the bookmark to that record and refresh the form. If you actually want it at the top could you add a field to the table and use it as a "marker"? When you find what should be the first record set the record to 0 and all the other records in this recordset = 1. Sort ascending and you now have the appropriate record at the top. You could do all this using the recordsetclone. I have never tried the second option - it's just an idea. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Wednesday, November 15, 2006 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Control which record shows at top of subform > > > The short answer is not easily. > > If somebody here provides a solution I too will be smiling! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson > Sent: Wednesday, November 15, 2006 9:09 AM > To: AccessD solving' > Subject: [AccessD] Control which record shows at top of subform > > I have a subform and have buttons that navigate to certain records. > Sometimes when the requested record is located it appears in the middle of > the subform. > > I have the subform sized to show a certain amount of records at a time and > want the "found" record to be at the top of my list. > > Is this possible? > > > > > > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases Visit me at ==> > http://www.prodev.us > > > > __________________________________________________________________ > __________ > ________ > Sponsored Link > > Compare mortgage rates for today. > Get up to 5 free quotes. > Www2.nextag.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Sponsored Link Online degrees - find the right program to advance your career. Www.nextag.com From adtp at airtelbroadband.in Thu Nov 16 00:12:55 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 16 Nov 2006 11:42:55 +0530 Subject: [AccessD] Carry Forward in a query References: Message-ID: <001501c70946$67f30910$430b65cb@pcadt> Chester, It is presumed that table T_PriceIndex too has the field named Pattern, with appropriate entries. In such a case, you could try modified SQL as follows: SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.Pattern = T_PriceCurrent.Pattern And T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.Pattern = T_PriceCurrent.Pattern And T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; Caution: Thi is AirCode - The suggested SQL has not been subjected to actual test. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Kaup, Chester To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 04:10 Subject: Re: [AccessD] Carry Forward in a query Here is what I have now. One table with dates and one table like below. Query SQL as below. This works great. SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; SDate Price 1/1/2005 8.56 1/23/2005 8.73 2/14/2005 8.40 3/1/2005 8.00 3/12/2005 8.45 3/27/2005 8.95 4/7/2005 8.12 4/30/2005 7.95 5/14/2005 8.03 5/27/2005 8.24 6/10/2005 9.03 6/25/2005 9.17 7/3/2005 9.25 7/27/2005 9.40 8/3/2005 9.64 What I cannot figure how to do is make it work if table looks like below. I need output for each Pattern. Pattern SDate Price 1 1/1/2005 8.56 1 1/23/2005 8.73 1 2/14/2005 8.40 1 3/1/2005 8.00 1 3/12/2005 8.45 1 3/27/2005 8.95 1 4/7/2005 8.12 1 4/30/2005 7.95 1 5/14/2005 8.03 1 5/27/2005 8.24 1 6/10/2005 9.03 1 6/25/2005 9.17 1 7/3/2005 9.25 1 7/27/2005 9.40 1 8/3/2005 9.64 2 1/7/2005 8.27 2 1/24/2005 8.71 2 2/13/2005 8.35 2 3/2/2005 8.02 2 3/13/2005 8.44 2 3/28/2005 8.93 2 4/6/2005 8.10 2 4/28/2005 7.98 2 5/15/2005 8.05 2 5/25/2005 8.20 2 6/9/2005 9.00 2 6/20/2005 9.15 2 7/1/2005 9.23 2 7/25/2005 9.35 2 8/4/2005 9.65 2 8/15/2005 9.50 Thanks for any ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 14, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Carry Forward in a query If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup From Gustav at cactus.dk Thu Nov 16 08:18:21 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Nov 2006 15:18:21 +0100 Subject: [AccessD] Copy a record in a table Message-ID: Hi Rocky Thanks. I got the idea that using Clone for opening the second recordset would be faster: - from Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") - to Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = rst.Clone But it isn't; it runs about 5% slower. On my 2.2 GHz machine the function runs in less than 20 ms. /gustav >>> bchacc at san.rr.com 15-11-2006 15:42 >>> G: I'm a big DAO fan. Do lots of little things with it. So I love the routine. My approach on this one, since there were only five fields in the table was to Dim a variable for each field, put the values in the variables, do an .AddNew, and copy the variables into the new records fields. That's crude! Yours isn't. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 15, 2006 3:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Copy a record in a table Hi Rocky Crude? How come? DAO is normally the fastest method to add a record to a recordset. Here's a basic function: Public Function CopyRecord( _ ByVal strTable As String, _ ByVal strId As String, _ ByVal lngId As Long) _ As Boolean Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim rstAdd As DAO.Recordset Dim fld As DAO.Field Dim strFld As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("Select * From " & strTable & " Where " & strId & "=" & lngId & ";") Set rstAdd = dbs.OpenRecordset("Select Top 1 * From " & strTable & ";") With rstAdd .AddNew For Each fld In rstAdd.Fields With fld strFld = .Name If Not strFld = strId Then .Value = rst.Fields(strFld).Value End If End With Next .Update .Close End With rst.Close Set fld = Nothing Set rstAdd = Nothing Set rst = Nothing Set dbs = Nothing End Function Of course, you will need to refine this for compound indices, other unique indices, OLE fields, default values etc. Also add error handling. /gustav >>> bchacc at san.rr.com 15-11-2006 02:11 >>> Dear List: Is there a quick or slick or elegant way to copy a record in a table to a new record in the same table - just duplicating a record I've done it using DAO and cycling through the fields and creating the new record and adding it but that seems awfully crude. MTIA Rocky From Jdemarco at hudsonhealthplan.org Thu Nov 16 08:26:37 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 16 Nov 2006 09:26:37 -0500 Subject: [AccessD] OT: Moving Web Server Message-ID: <0B8880A20E2CF24280FA60901E108FB0245A@TTNEXCHSVR.hshhp.com> Thanks Drew and Jim. I'll look into both of those options. I wonder if Dreamweaver will move sites too (I know we have copies of that here). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 15, 2006 6:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Moving Web Server I had to look into this a few years ago, going from a 2000 server to a 2000 server. Our original Intranet was just a file server, not even using an web server. I built a 'new' intranet on my workstation, and hosted it there for the first several months, as it grew into a function intranet. After it had grown it's own wings, we moved it to it's own server....... at that time (I'd say it was 2002), there were very few utilities to 'move' a webserver from one box to another. That may have changed with 2003. I ended up just doing it manually. That allowed me to also clean up some of the mess from the initial creation, and organize it a little better. One possibility would be to use Frontpage to 'copy' the website (I know FP 2003 can do this, never tried with previous versions.....and I don't know if it will setup all the subwebs or not...) Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Wednesday, November 15, 2006 2:08 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Moving Web Server List, Sorry for the OT but our tech staff is forcing a move of our Intranet server to a new server machine ASAP. Current server Windows 2000, new machine Windows 2003 Server. Having never lived through a move of this type I'd like to ask you all: How do we move all of our IIS settings (virtual folders, etc.) to the new machine? Are there tools or scripts that we can use to do this? We've got a number of ASP classic as well as some .NET applications on the current box that I'm concerned about reconfiguring. Has anyone done this? I'd love to hear about what planning I'm going to need to do in advance and what issues you may have had to overcome. TIA, Jim DeMarco Director of Application Development Hudson Health Plan Tarrytown, NY -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 09:46:02 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 09:46:02 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <001501c70946$67f30910$430b65cb@pcadt> References: <001501c70946$67f30910$430b65cb@pcadt> Message-ID: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith From cfoust at infostatsystems.com Thu Nov 16 10:30:21 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Nov 2006 08:30:21 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: Remind me what version of Access you're using. ADO is capable to handling xml files, but you need to have a good idea of the structure involved. The line breaks don't really count in an xml file, they're there for human use. Can you look at the file in an xml parser? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 7:46 AM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 16 10:32:41 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 16 Nov 2006 11:32:41 -0500 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <006b01c7099c$d689c610$e1265b05@m6805> Not having followed the original thread... It sounds like a good place for a pair of classes. One class would hold each "snippet" based on the < characters. A parent class would break down the string into these snippets, load them into the snippet classes and hold the snippet classes in a collection. Once the huge string is parsed into snippets, the parent class can process them by iterating the collection of snippets doing whatever was required for each snippet. Once you have processed the snippets, you can write the results out to a table. That is obviously a "big picture". Can you paste a sample of the xml into an email so that I can see it. Sorry, I wasn't following the original discussion. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 10:46 AM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Nov 16 10:36:48 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 16 Nov 2006 19:36:48 +0300 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <000f01c7099d$6970e3f0$6401a8c0@nant> Hello Greg, Have a look at this topic's code samples: http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm It can give you idea how to parse your XML file(s) using MS XML Core Services (installed by default (v.5.x) with MS Office/Access 2003). For other MS Access/Office versions or for the cases when IE is absent on target PC MSXML Core Services should be downloaded from here http://msdn.microsoft.com/XML/XMLDownloads/default.aspx and installed. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 6:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 11:03:50 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 11:03:50 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: References: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <43938.65.118.249.214.1163696630.squirrel@cetus.email.starband.net> Charlotte: I'm using MS Access 2003, but the system where it will be implemented is Access XP. I can look at the XML file using XLMSpy Home and it authenticates to a DTD for validity. However, Access does not recognize it as a valid type because it's attribute-centric XML, not element-centric XML (or so I've been told). When I import it into Access, it just comes up with a bunch of empty tables. When I append to those tables, it just adds another empty row. And I was told that the reason for that is because of the attribute/element issue, which MS talks about in their Tech Support, but doesn't address this type of XML. Greg > Remind me what version of Access you're using. ADO is capable to > handling xml files, but you need to have a good idea of the structure > involved. The line breaks don't really count in an xml file, they're > there for human use. Can you look at the file in an xml parser? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 7:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea was...well..it > sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily import > them as text, separate out what I need and put it into the required > tables. However, since they send it as a single string, it becomes > harder to parse it since there are multiple duplicated 'keys' that I > need to pull from it. And they're not necessarily in the same position > all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, not > columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse that > into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) transform > that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), would > be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 11:08:41 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 11:08:41 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <006b01c7099c$d689c610$e1265b05@m6805> References: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> <006b01c7099c$d689c610$e1265b05@m6805> Message-ID: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would hold > each "snippet" based on the < characters. A parent class would break > down the string into these snippets, load them into the snippet classes > and hold the snippet classes in a collection. Once the huge string is > parsed into snippets, the parent class can process them by iterating the > collection of snippets doing whatever was required for each snippet. > > Once you have processed the snippets, you can write the results out to a > table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea was...well..it > sucked. > If the XML they were sending to me were compatible then I might have > had a > chance...but it's just not feasible. There actually wasn't any way to > define it using a dtd/xls/xlst within my lifetime, so I'm going to have > to use a different approach. > > The files they send as XML are not that large, so I could easily import > them as text, separate out what I need and put it into the required > tables. However, since they send it as a single string, it becomes > harder to parse it since there are multiple duplicated 'keys' that I > need to pull from it. And they're not necessarily in the same position > all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, not > columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse that > into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) transform > that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), would > be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 11:20:55 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 11:20:55 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <000f01c7099d$6970e3f0$6401a8c0@nant> References: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> <000f01c7099d$6970e3f0$6401a8c0@nant> Message-ID: <45248.65.118.249.214.1163697655.squirrel@cetus.email.starband.net> Shamil: Thanks...I'm looking at it now. This will take a little closer examination to see if it will work! Thanks again. Greg > Hello Greg, > > Have a look at this topic's code samples: > > http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm > > It can give you idea how to parse your XML file(s) using MS XML Core > Services (installed by default (v.5.x) with MS Office/Access 2003). > > For other MS Access/Office versions or for the cases when IE is absent > on target PC MSXML Core Services should be downloaded from here > http://msdn.microsoft.com/XML/XMLDownloads/default.aspx and installed. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 6:46 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea was...well..it > sucked. > If the XML they were sending to me were compatible then I might have > had > a chance...but it's just not feasible. There actually wasn't any way to > define it using a dtd/xls/xlst within my lifetime, so I'm going to have > to use a different approach. > > The files they send as XML are not that large, so I could easily import > them as text, separate out what I need and put it into the required > tables. However, since they send it as a single string, it becomes > harder to parse it since there are multiple duplicated 'keys' that I > need to pull from it. And they're not necessarily in the same position > all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, not > columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse that > into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) transform > that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), would > be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 16 11:29:53 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Nov 2006 09:29:53 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <43938.65.118.249.214.1163696630.squirrel@cetus.email.starband.net> Message-ID: Ack! No wonder you're having problems importing. I've never tried that type with Access, only Vb.Net, so I'll leave the rescue to Shamil. LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 9:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? Charlotte: I'm using MS Access 2003, but the system where it will be implemented is Access XP. I can look at the XML file using XLMSpy Home and it authenticates to a DTD for validity. However, Access does not recognize it as a valid type because it's attribute-centric XML, not element-centric XML (or so I've been told). When I import it into Access, it just comes up with a bunch of empty tables. When I append to those tables, it just adds another empty row. And I was told that the reason for that is because of the attribute/element issue, which MS talks about in their Tech Support, but doesn't address this type of XML. Greg > Remind me what version of Access you're using. ADO is capable to > handling xml files, but you need to have a good idea of the structure > involved. The line breaks don't really count in an xml file, they're > there for human use. Can you look at the file in an xml parser? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 7:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 16 11:47:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 16 Nov 2006 12:47:14 -0500 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> Message-ID: <007301c709a7$40a51ea0$e1265b05@m6805> OK, so I assume that you want to get the items, enclosed by < /> where there are two "values" separated by a space? You want all of them? Just specific ones? Are there more than one of the "big items" defined as the entire thing you sent me) in a single file? This looks trivial to parse based on the <> pairs as beginning / ending a field. This assumes that neither of these characters are found in the image data. I am not intimate with XML, but I thought that XML had data . This obviously doesn't. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would > hold each "snippet" based on the < characters. A parent class would > break down the string into these snippets, load them into the snippet > classes and hold the snippet classes in a collection. Once the huge > string is parsed into snippets, the parent class can process them by > iterating the collection of snippets doing whatever was required for each snippet. > > Once you have processed the snippets, you can write the results out to > a table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 16 11:59:46 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Nov 2006 09:59:46 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <007301c709a7$40a51ea0$e1265b05@m6805> Message-ID: More likely something like this, where the attribute readonly, of the element dbtype, has a value of "False": 0 Multiple attributes in the element would be separated by spaces. Each element can have 0 to many attributes and they could conceivably vary from node to node. Ouch! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 16, 2006 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Parsing XML as a string? OK, so I assume that you want to get the items, enclosed by < /> where there are two "values" separated by a space? You want all of them? Just specific ones? Are there more than one of the "big items" defined as the entire thing you sent me) in a single file? This looks trivial to parse based on the <> pairs as beginning / ending a field. This assumes that neither of these characters are found in the image data. I am not intimate with XML, but I thought that XML had data . This obviously doesn't. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would > hold each "snippet" based on the < characters. A parent class would > break down the string into these snippets, load them into the snippet > classes and hold the snippet classes in a collection. Once the huge > string is parsed into snippets, the parent class can process them by > iterating the collection of snippets doing whatever was required for > each snippet. > > Once you have processed the snippets, you can write the results out to > a table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Thu Nov 16 12:56:42 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 16 Nov 2006 13:56:42 -0500 Subject: [AccessD] Parsing XML as a string? Message-ID: <0B8880A20E2CF24280FA60901E108FB0248A@TTNEXCHSVR.hshhp.com> Not to oversimplify (and XSL is not simple) but if this is a file you're going to handle regularly I'd consider writing an XSL transform to put the attributes into nodes that Access will understand. Then your import will be trivial. You've already noted that the file is validated via DTD so we know it'll parse. Great book on subject : "Just XSL" Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, November 16, 2006 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Parsing XML as a string? More likely something like this, where the attribute readonly, of the element dbtype, has a value of "False": 0 Multiple attributes in the element would be separated by spaces. Each element can have 0 to many attributes and they could conceivably vary from node to node. Ouch! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 16, 2006 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Parsing XML as a string? OK, so I assume that you want to get the items, enclosed by < /> where there are two "values" separated by a space? You want all of them? Just specific ones? Are there more than one of the "big items" defined as the entire thing you sent me) in a single file? This looks trivial to parse based on the <> pairs as beginning / ending a field. This assumes that neither of these characters are found in the image data. I am not intimate with XML, but I thought that XML had data . This obviously doesn't. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: I sent you a full copy of the XML file offline. Greg > Not having followed the original thread... > > It sounds like a good place for a pair of classes. One class would > hold each "snippet" based on the < characters. A parent class would > break down the string into these snippets, load them into the snippet > classes and hold the snippet classes in a collection. Once the huge > string is parsed into snippets, the parent class can process them by > iterating the collection of snippets doing whatever was required for > each snippet. > > Once you have processed the snippets, you can write the results out to > a table. > > That is obviously a "big picture". > > Can you paste a sample of the xml into an email so that I can see it. > Sorry, I wasn't following the original discussion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 10:46 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Parsing XML as a string? > > Hi everyone! > > Ok...I admit that trying to import that XML file I had directly into > Access may have SEEMED like a good, "easy", idea...at the time...but > after looking around and from the comments here, the idea > was...well..it sucked. > If the XML they were sending to me were compatible then I might have > had a chance...but it's just not feasible. There actually wasn't any > way to define it using a dtd/xls/xlst within my lifetime, so I'm going > to have to use a different approach. > > The files they send as XML are not that large, so I could easily > import them as text, separate out what I need and put it into the > required tables. However, since they send it as a single string, it > becomes harder to parse it since there are multiple duplicated 'keys' > that I need to pull from it. And they're not necessarily in the same > position all of the time. > > I could import it as a single string into a memo field, but I can't > figure out how to disect a memo field string like that. > > When I import it as text, I could break it down at the "<" characters, > importing each one into a separate columns, but I need them in rows, > not columns, to search and find the strings of data I need. > > So, in summary, my only two choices (that I can think of) are: > > 1. Import the XML as a single string into a memo and somehow parse > that into the data I need. > 2. Import the XML as text, separating it on the "<" characters into > columns, then somehow magically (transpose columns into rows?) > transform that to usable information. > > ANY suggestions, short of retirement (although not a bad idea...), > would be GREATLY apprecaited! > > Thanks! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Nov 16 13:18:14 2006 From: GregSmith at starband.net (Greg Smith) Date: Thu, 16 Nov 2006 13:18:14 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: <007301c709a7$40a51ea0$e1265b05@m6805> References: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> <007301c709a7$40a51ea0$e1265b05@m6805> Message-ID: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> John: Yes...I want a lot of the enclosed < /> fields, but I also need them with respect to their description, such as the FEES, of which (in this example) there are 5, each with it's own description "StandardFee", etc. So I'll not only need to get the data, such as the fee, but I have to be able to delineate which fee it is so it can go in the right table field. For all practical purposes, I can ignore anything after the start of the because there's no data past that point. And you are also correct in that this doesn't fit today's standard xml format. I've even asked the people who are sending it to me just WHAT type of xml is it, but not gotten an answer...which makes me believe they don't know either. It works for what they want, so don't mess with it I guess...and, of course, out of 99 counties, mine is the ONLY one using an Access db program to do the Recorder's work (so far... :)). You'll note that some of the Elements (Fee) have two attributes, whereas some of them (Grantor) have many more. So a rule that says only get the two would not work in all cases. Although maybe breaking it down first by the < /> and then looking inside each of those... Greg > OK, so I assume that you want to get the items, enclosed by < /> where > there are two "values" separated by a space? > > You want all of them? > Just specific ones? > Are there more than one of the "big items" defined as the entire thing > you sent me) in a single file? > > This looks trivial to parse based on the <> pairs as beginning / ending > a field. This assumes that neither of these characters are found in the > image data. > > I am not intimate with XML, but I thought that XML had data > . This obviously doesn't. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 12:09 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Parsing XML as a string? > > John: > > I sent you a full copy of the XML file offline. > > Greg > >> Not having followed the original thread... >> >> It sounds like a good place for a pair of classes. One class would >> hold each "snippet" based on the < characters. A parent class would >> break down the string into these snippets, load them into the snippet >> classes and hold the snippet classes in a collection. Once the huge >> string is parsed into snippets, the parent class can process them by >> iterating the collection of snippets doing whatever was required for >> each > snippet. >> >> Once you have processed the snippets, you can write the results out to >> a table. >> >> That is obviously a "big picture". >> >> Can you paste a sample of the xml into an email so that I can see it. >> Sorry, I wasn't following the original discussion. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >> Sent: Thursday, November 16, 2006 10:46 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Parsing XML as a string? >> >> Hi everyone! >> >> Ok...I admit that trying to import that XML file I had directly into >> Access may have SEEMED like a good, "easy", idea...at the time...but >> after looking around and from the comments here, the idea >> was...well..it sucked. >> If the XML they were sending to me were compatible then I might have >> had a chance...but it's just not feasible. There actually wasn't any >> way to define it using a dtd/xls/xlst within my lifetime, so I'm going >> to have to use a different approach. >> >> The files they send as XML are not that large, so I could easily >> import them as text, separate out what I need and put it into the >> required tables. However, since they send it as a single string, it >> becomes harder to parse it since there are multiple duplicated 'keys' >> that I need to pull from it. And they're not necessarily in the same >> position all of the time. >> >> I could import it as a single string into a memo field, but I can't >> figure out how to disect a memo field string like that. >> >> When I import it as text, I could break it down at the "<" characters, >> importing each one into a separate columns, but I need them in rows, >> not columns, to search and find the strings of data I need. >> >> So, in summary, my only two choices (that I can think of) are: >> >> 1. Import the XML as a single string into a memo and somehow parse >> that into the data I need. >> 2. Import the XML as text, separating it on the "<" characters into >> columns, then somehow magically (transpose columns into rows?) >> transform that to usable information. >> >> ANY suggestions, short of retirement (although not a bad idea...), >> would be GREATLY apprecaited! >> >> Thanks! >> >> Greg Smith >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Nov 16 13:39:56 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 16 Nov 2006 22:39:56 +0300 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> Message-ID: <001f01c709b6$fed888d0$6401a8c0@nant> <<< Although maybe breaking it down first by the < /> and then looking inside each of those... >>> Greg, The simplest and the most effective and safe practical approach is to use MSXML's DOM for relatively small XML files and MSXML's SAX API for large XML files. I'd recommend not spending your valuable time trying to parse XML files using custom code - that's not a trivial task for a general case. And because you say that the party which supplies you with this XML file has almost no idea "how they make it" then custom parsing approach looks even more risky... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 10:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: Yes...I want a lot of the enclosed < /> fields, but I also need them with respect to their description, such as the FEES, of which (in this example) there are 5, each with it's own description "StandardFee", etc. So I'll not only need to get the data, such as the fee, but I have to be able to delineate which fee it is so it can go in the right table field. For all practical purposes, I can ignore anything after the start of the because there's no data past that point. And you are also correct in that this doesn't fit today's standard xml format. I've even asked the people who are sending it to me just WHAT type of xml is it, but not gotten an answer...which makes me believe they don't know either. It works for what they want, so don't mess with it I guess...and, of course, out of 99 counties, mine is the ONLY one using an Access db program to do the Recorder's work (so far... :)). You'll note that some of the Elements (Fee) have two attributes, whereas some of them (Grantor) have many more. So a rule that says only get the two would not work in all cases. Although maybe breaking it down first by the < /> and then looking inside each of those... Greg <<< tail skipped >>> From lmrazek at lcm-res.com Thu Nov 16 14:19:41 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 16 Nov 2006 14:19:41 -0600 Subject: [AccessD] Query / Report Objects in Front End ... Max Number? In-Reply-To: <001f01c709b6$fed888d0$6401a8c0@nant> Message-ID: <03a901c709bc$8d33eac0$026fa8c0@stormy> Hi Folks: (using Access XP in FE/BE configuration) I have a database that currently has 40+ query objects and 40+ report objects for running analyses, and I just got a request from the client wanting some additional custom reports. My question is how many report and query objects is too many for the Front End? Could I be inviting corruption in the db if I had too many query and report objects? Thanks, just wanted to get a few other opinions on this matter. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314.432.5886 fx. 314.432.3304 From andy at minstersystems.co.uk Thu Nov 16 15:19:05 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 16 Nov 2006 21:19:05 -0000 Subject: [AccessD] Query / Report Objects in Front End ... Max Number? In-Reply-To: <03a901c709bc$8d33eac0$026fa8c0@stormy> Message-ID: <014601c709c4$d886a050$32990c54@minster33c3r25> I wouldn't worry Larry. I've an app with over 400 reports and well over 1,000 queries. No problem. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Lawrence Mrazek > Sent: 16 November 2006 20:20 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Query / Report Objects in Front End ... Max Number? > > > Hi Folks: > > (using Access XP in FE/BE configuration) > > I have a database that currently has 40+ query objects and > 40+ report objects for running analyses, and I just got a > request from the client wanting some additional custom reports. > > My question is how many report and query objects is too many > for the Front End? Could I be inviting corruption in the db > if I had too many query and report objects? > > Thanks, just wanted to get a few other opinions on this matter. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314.432.5886 > fx. 314.432.3304 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Chester_Kaup at kindermorgan.com Thu Nov 16 15:58:16 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 16 Nov 2006 15:58:16 -0600 Subject: [AccessD] Carry Forward in a query In-Reply-To: <001501c70946$67f30910$430b65cb@pcadt> Message-ID: Thanks! Works great. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, November 16, 2006 12:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Carry Forward in a query Chester, It is presumed that table T_PriceIndex too has the field named Pattern, with appropriate entries. In such a case, you could try modified SQL as follows: SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.Pattern = T_PriceCurrent.Pattern And T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.Pattern = T_PriceCurrent.Pattern And T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; Caution: Thi is AirCode - The suggested SQL has not been subjected to actual test. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Kaup, Chester To: Access Developers discussion and problem solving Sent: Wednesday, November 15, 2006 04:10 Subject: Re: [AccessD] Carry Forward in a query Here is what I have now. One table with dates and one table like below. Query SQL as below. This works great. SELECT T_PriceCurrent.SDate, (Select Price from T_PriceIndex as T1 where T1.SDate=(Select Max(SDate) from T_PriceIndex AS T2 where T2.SDate<=T_PriceCurrent.SDate)) AS PriceCurrent FROM T_PriceCurrent; SDate Price 1/1/2005 8.56 1/23/2005 8.73 2/14/2005 8.40 3/1/2005 8.00 3/12/2005 8.45 3/27/2005 8.95 4/7/2005 8.12 4/30/2005 7.95 5/14/2005 8.03 5/27/2005 8.24 6/10/2005 9.03 6/25/2005 9.17 7/3/2005 9.25 7/27/2005 9.40 8/3/2005 9.64 What I cannot figure how to do is make it work if table looks like below. I need output for each Pattern. Pattern SDate Price 1 1/1/2005 8.56 1 1/23/2005 8.73 1 2/14/2005 8.40 1 3/1/2005 8.00 1 3/12/2005 8.45 1 3/27/2005 8.95 1 4/7/2005 8.12 1 4/30/2005 7.95 1 5/14/2005 8.03 1 5/27/2005 8.24 1 6/10/2005 9.03 1 6/25/2005 9.17 1 7/3/2005 9.25 1 7/27/2005 9.40 1 8/3/2005 9.64 2 1/7/2005 8.27 2 1/24/2005 8.71 2 2/13/2005 8.35 2 3/2/2005 8.02 2 3/13/2005 8.44 2 3/28/2005 8.93 2 4/6/2005 8.10 2 4/28/2005 7.98 2 5/15/2005 8.05 2 5/25/2005 8.20 2 6/9/2005 9.00 2 6/20/2005 9.15 2 7/1/2005 9.23 2 7/25/2005 9.35 2 8/4/2005 9.65 2 8/15/2005 9.50 Thanks for any ideas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 14, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Carry Forward in a query If I understand what you want to do, I have done this with a non cartesian join. I create a table with a one field record and one record for each date. In the query window I place this table and the table with the record you want to duplicate WITHOUT ANY JOIN. the resulting data set produces one record for each date. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Tuesday, November 14, 2006 3:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Carry Forward in a query I have a table of data that has a record about every 6 months. I would like to generate a record for every month using the previous months data until there is data for the current records month. I can do this in code but had a coworker ask if it could be done in a query. I am not coming up with an answer. Your thoughts please. Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Thu Nov 16 16:49:08 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 16 Nov 2006 16:49:08 -0600 Subject: [AccessD] SPAM-LOW: Re: Query / Report Objects in Front End ... Max Number? In-Reply-To: <014601c709c4$d886a050$32990c54@minster33c3r25> Message-ID: <040301c709d1$6e103800$026fa8c0@stormy> Thanks Andy: That makes me feel better. I can now worry about other stuff regarding this app! Larry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, November 16, 2006 3:19 PM To: 'Access Developers discussion and problem solving' Subject: SPAM-LOW: Re: [AccessD] Query / Report Objects in Front End ... Max Number? I wouldn't worry Larry. I've an app with over 400 reports and well over 1,000 queries. No problem. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence > Mrazek > Sent: 16 November 2006 20:20 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Query / Report Objects in Front End ... Max Number? > > > Hi Folks: > > (using Access XP in FE/BE configuration) > > I have a database that currently has 40+ query objects and > 40+ report objects for running analyses, and I just got a > request from the client wanting some additional custom reports. > > My question is how many report and query objects is too many for the > Front End? Could I be inviting corruption in the db if I had too many > query and report objects? > > Thanks, just wanted to get a few other opinions on this matter. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314.432.5886 > fx. 314.432.3304 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 16 18:47:35 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Nov 2006 16:47:35 -0800 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> References: <44328.65.118.249.214.1163696921.squirrel@cetus.email.starband.net> <007301c709a7$40a51ea0$e1265b05@m6805> <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> Message-ID: <455D06A7.50501@shaw.ca> Grab a book on XPath syntax; quickest to learn via examples This code grabs the Fee attributes via XPath parsing of the xml dom Sub xpathtest() Dim strxml As String Dim xmldoc As MSXML2.DOMDocument40 Dim nodes As MSXML2.IXMLDOMNodeList Dim node As MSXML2.IXMLDOMNode Dim xmlError As IXMLDOMParseError Dim lngErrCode As Long Set xmldoc = New MSXML2.DOMDocument40 xmldoc.setProperty "SelectionLanguage", "XPath" xmldoc.async = False xmldoc.validateOnParse = False 'xmldoc.resolveExternals = False xmldoc.Load "C:\Access files\xmltests\Pria Path\pria.xml" ' lngErrCode = xmldoc.validate ' Debug.Print lngErrCode If xmldoc.parseError.errorCode <> 0 Then Debug.Print " Reason: " & xmldoc.parseError.reason Set xmlError = xmldoc.parseError reportParseError xmlError End If 'xpath entity name case sensitive 'grab attributes with fee via XPath Set nodes = xmldoc.selectNodes("//_FEE/@*") 'Set nodes = xmldoc.selectNodes("/fee/@*") 'Set nodes = xmldoc.selectNodes("//_FEE") 'look through nodes collection For Each node In nodes Debug.Print node.Text & " - " & node.nodeName Next node 'Debug.Print xmldoc.xml Set nodes = Nothing Set xmldoc = Nothing End Sub Function reportParseError(err As IXMLDOMParseError) Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To err.linepos - 1 s = s & " " Next r = "XML Error loading " & err.url & " * " & err.reason Debug.Print r 'show character postion of error; tired of counting If (err.Line > 0) Then r = "at line " & err.Line & ", character " & err.linepos & vbCrLf & _ err.srcText & vbCrLf & s & "^" End If Debug.Print r End Function "pria.xml" <_RETURN_TO_PARTY> <_VOLUME_PAGE/> <_FEES _TotalAmount="31.00"> <_FEE _Amount="15.00" _Description="StandardFee"/> <_FEE _Amount="3.00" _Description="DocMgmtFee"/> <_FEE _Amount="3.00" _Description="ERecordingFee"/> <_FEE _Amount="10.00" _Description="TransferFee"/> <_FEE _Amount="0.00" _Description="TransferTax"/> <_EXEMPTIONS _Description="Deed fulfilling contract"/> -BLAH - IMAGE FILE - BLAH BLAH == Greg Smith wrote: >John: > >Yes...I want a lot of the enclosed < /> fields, but I also need them with >respect to their description, such as the FEES, of which (in this example) >there are 5, each with it's own description "StandardFee", etc. So I'll >not only need to get the data, such as the fee, but I have to be able to >delineate which fee it is so it can go in the right table field. For all >practical purposes, I can ignore anything after the start of the > because there's no data past that point. > >And you are also correct in that this doesn't fit today's standard xml >format. I've even asked the people who are sending it to me just WHAT >type of xml is it, but not gotten an answer...which makes me believe they >don't know either. It works for what they want, so don't mess with it I >guess...and, of course, out of 99 counties, mine is the ONLY one using an >Access db program to do the Recorder's work (so far... :)). > >You'll note that some of the Elements (Fee) have two attributes, whereas >some of them (Grantor) have many more. So a rule that says only get the >two would not work in all cases. Although maybe breaking it down first by >the < /> and then looking inside each of those... > >Greg > > > > >>OK, so I assume that you want to get the items, enclosed by < /> where >>there are two "values" separated by a space? >> >>You want all of them? >>Just specific ones? >>Are there more than one of the "big items" defined as the entire thing >>you sent me) in a single file? >> >>This looks trivial to parse based on the <> pairs as beginning / ending >>a field. This assumes that neither of these characters are found in the >>image data. >> >>I am not intimate with XML, but I thought that XML had data >>. This obviously doesn't. >> >>John W. Colby >>Colby Consulting >>www.ColbyConsulting.com >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >>Sent: Thursday, November 16, 2006 12:09 PM >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] Parsing XML as a string? >> >>John: >> >>I sent you a full copy of the XML file offline. >> >>Greg >> >> >> >>>Not having followed the original thread... >>> >>>It sounds like a good place for a pair of classes. One class would >>>hold each "snippet" based on the < characters. A parent class would >>>break down the string into these snippets, load them into the snippet >>>classes and hold the snippet classes in a collection. Once the huge >>>string is parsed into snippets, the parent class can process them by >>>iterating the collection of snippets doing whatever was required for >>>each >>> >>> >>snippet. >> >> >>>Once you have processed the snippets, you can write the results out to >>> a table. >>> >>>That is obviously a "big picture". >>> >>>Can you paste a sample of the xml into an email so that I can see it. >>>Sorry, I wasn't following the original discussion. >>> >>>John W. Colby >>>Colby Consulting >>>www.ColbyConsulting.com >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >>>Sent: Thursday, November 16, 2006 10:46 AM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Parsing XML as a string? >>> >>>Hi everyone! >>> >>>Ok...I admit that trying to import that XML file I had directly into >>>Access may have SEEMED like a good, "easy", idea...at the time...but >>>after looking around and from the comments here, the idea >>>was...well..it sucked. >>> If the XML they were sending to me were compatible then I might have >>>had a chance...but it's just not feasible. There actually wasn't any >>>way to define it using a dtd/xls/xlst within my lifetime, so I'm going >>> to have to use a different approach. >>> >>>The files they send as XML are not that large, so I could easily >>>import them as text, separate out what I need and put it into the >>>required tables. However, since they send it as a single string, it >>>becomes harder to parse it since there are multiple duplicated 'keys' >>>that I need to pull from it. And they're not necessarily in the same >>>position all of the time. >>> >>>I could import it as a single string into a memo field, but I can't >>>figure out how to disect a memo field string like that. >>> >>>When I import it as text, I could break it down at the "<" characters, >>> importing each one into a separate columns, but I need them in rows, >>>not columns, to search and find the strings of data I need. >>> >>>So, in summary, my only two choices (that I can think of) are: >>> >>>1. Import the XML as a single string into a memo and somehow parse >>>that into the data I need. >>>2. Import the XML as text, separating it on the "<" characters into >>>columns, then somehow magically (transpose columns into rows?) >>>transform that to usable information. >>> >>>ANY suggestions, short of retirement (although not a bad idea...), >>>would be GREATLY apprecaited! >>> >>>Thanks! >>> >>>Greg Smith >>> >>> >>> > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Nov 17 05:01:41 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Nov 2006 12:01:41 +0100 Subject: [AccessD] Parsing XML as a string? Message-ID: Hi Greg I would listen closely to the advice from Shamil - manually parsing XML is like reinventing the wheel, only much more difficult. If, for some reason, the Microsoft tools don't fit your task, take a look at the free (and very fast) XML parser from Chilkat: http://www.chilkatsoft.com/xml-activex.asp and documentation: http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html /gustav From jwcolby at colbyconsulting.com Fri Nov 17 05:15:28 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 17 Nov 2006 06:15:28 -0500 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <54609.65.118.249.214.1163704694.squirrel@cetus.email.starband.net> Message-ID: <008501c70a39$b0a33c90$e1265b05@m6805> Greg, Have you found a parser you are happy with? I concur with others that you should use a parser program if you can find one that works with this thing, but if you can't come back and say so. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 2:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? John: Yes...I want a lot of the enclosed < /> fields, but I also need them with respect to their description, such as the FEES, of which (in this example) there are 5, each with it's own description "StandardFee", etc. So I'll not only need to get the data, such as the fee, but I have to be able to delineate which fee it is so it can go in the right table field. For all practical purposes, I can ignore anything after the start of the because there's no data past that point. And you are also correct in that this doesn't fit today's standard xml format. I've even asked the people who are sending it to me just WHAT type of xml is it, but not gotten an answer...which makes me believe they don't know either. It works for what they want, so don't mess with it I guess...and, of course, out of 99 counties, mine is the ONLY one using an Access db program to do the Recorder's work (so far... :)). You'll note that some of the Elements (Fee) have two attributes, whereas some of them (Grantor) have many more. So a rule that says only get the two would not work in all cases. Although maybe breaking it down first by the < /> and then looking inside each of those... Greg > OK, so I assume that you want to get the items, enclosed by < /> where > there are two "values" separated by a space? > > You want all of them? > Just specific ones? > Are there more than one of the "big items" defined as the entire thing > you sent me) in a single file? > > This looks trivial to parse based on the <> pairs as beginning / > ending a field. This assumes that neither of these characters are > found in the image data. > > I am not intimate with XML, but I thought that XML had > data . This obviously doesn't. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Thursday, November 16, 2006 12:09 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Parsing XML as a string? > > John: > > I sent you a full copy of the XML file offline. > > Greg > >> Not having followed the original thread... >> >> It sounds like a good place for a pair of classes. One class would >> hold each "snippet" based on the < characters. A parent class would >> break down the string into these snippets, load them into the snippet >> classes and hold the snippet classes in a collection. Once the huge >> string is parsed into snippets, the parent class can process them by >> iterating the collection of snippets doing whatever was required for >> each > snippet. >> >> Once you have processed the snippets, you can write the results out >> to a table. >> >> That is obviously a "big picture". >> >> Can you paste a sample of the xml into an email so that I can see it. >> Sorry, I wasn't following the original discussion. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith >> Sent: Thursday, November 16, 2006 10:46 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Parsing XML as a string? >> >> Hi everyone! >> >> Ok...I admit that trying to import that XML file I had directly into >> Access may have SEEMED like a good, "easy", idea...at the time...but >> after looking around and from the comments here, the idea >> was...well..it sucked. >> If the XML they were sending to me were compatible then I might have >> had a chance...but it's just not feasible. There actually wasn't any >> way to define it using a dtd/xls/xlst within my lifetime, so I'm >> going to have to use a different approach. >> >> The files they send as XML are not that large, so I could easily >> import them as text, separate out what I need and put it into the >> required tables. However, since they send it as a single string, it >> becomes harder to parse it since there are multiple duplicated 'keys' >> that I need to pull from it. And they're not necessarily in the same >> position all of the time. >> >> I could import it as a single string into a memo field, but I can't >> figure out how to disect a memo field string like that. >> >> When I import it as text, I could break it down at the "<" >> characters, importing each one into a separate columns, but I need >> them in rows, not columns, to search and find the strings of data I need. >> >> So, in summary, my only two choices (that I can think of) are: >> >> 1. Import the XML as a single string into a memo and somehow parse >> that into the data I need. >> 2. Import the XML as text, separating it on the "<" characters into >> columns, then somehow magically (transpose columns into rows?) >> transform that to usable information. >> >> ANY suggestions, short of retirement (although not a bad idea...), >> would be GREATLY apprecaited! >> >> Thanks! >> >> Greg Smith >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Fri Nov 17 06:34:59 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 17 Nov 2006 12:34:59 -0000 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <37260.65.118.249.214.1163691962.squirrel@cetus.email.starband.net> Message-ID: <002701c70a44$cd50d8b0$8119fea9@Server> Hi Gregg, Would this work: Application.ImportXML strPath & strFile & strExtn, acStructureAndData Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, November 16, 2006 3:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Parsing XML as a string? Hi everyone! Ok...I admit that trying to import that XML file I had directly into Access may have SEEMED like a good, "easy", idea...at the time...but after looking around and from the comments here, the idea was...well..it sucked. If the XML they were sending to me were compatible then I might have had a chance...but it's just not feasible. There actually wasn't any way to define it using a dtd/xls/xlst within my lifetime, so I'm going to have to use a different approach. The files they send as XML are not that large, so I could easily import them as text, separate out what I need and put it into the required tables. However, since they send it as a single string, it becomes harder to parse it since there are multiple duplicated 'keys' that I need to pull from it. And they're not necessarily in the same position all of the time. I could import it as a single string into a memo field, but I can't figure out how to disect a memo field string like that. When I import it as text, I could break it down at the "<" characters, importing each one into a separate columns, but I need them in rows, not columns, to search and find the strings of data I need. So, in summary, my only two choices (that I can think of) are: 1. Import the XML as a single string into a memo and somehow parse that into the data I need. 2. Import the XML as text, separating it on the "<" characters into columns, then somehow magically (transpose columns into rows?) transform that to usable information. ANY suggestions, short of retirement (although not a bad idea...), would be GREATLY apprecaited! Thanks! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Fri Nov 17 08:14:09 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Fri, 17 Nov 2006 09:14:09 EST Subject: [AccessD] Connecting Access to SQL tables Message-ID: Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc From Kwilliamson at RTKL.com Fri Nov 17 08:25:47 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 17 Nov 2006 09:25:47 -0500 Subject: [AccessD] Connecting Access to SQL tables Message-ID: John, All I can tell you is that I have done this before, with no problems. I had linked tables in my FE, to the SQL database. Worked Great. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: Friday, November 17, 2006 9:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting Access to SQL tables Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Fri Nov 17 08:43:48 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 17 Nov 2006 09:43:48 -0500 Subject: [AccessD] Connecting Access to SQL tables In-Reply-To: Message-ID: <000001c70a56$cb62bf20$2f01a8c0@Kermit> A prudent database developer would NEVER EVER allow users to connect directly to the tables. Everything should be done through stored procedures. Start by reading Rick Dobson's "SQL Server with Access 2000". Here is a link to his website http://www.programmingmsaccess.com/ Doris Manning -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: Friday, November 17, 2006 9:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting Access to SQL tables Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Fri Nov 17 09:08:54 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Fri, 17 Nov 2006 10:08:54 EST Subject: [AccessD] Connecting Access to SQL tables Message-ID: <585.69367af.328f2a86@aol.com> In a message dated 17/11/2006 14:57:38 GMT Standard Time, mikedorism at verizon.net writes: http://www.programmingmsaccess.com/ Hi Doris Thank you for the comments and link. I had a feeling that allowing users direct access to tables was not a good idea. Thanks Doris From artful at rogers.com Fri Nov 17 09:11:28 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 17 Nov 2006 07:11:28 -0800 (PST) Subject: [AccessD] Connecting Access to SQL tables Message-ID: <20061117151128.21031.qmail@web88213.mail.re2.yahoo.com> I have written extensively on this subject, but so have many others. Create an Access ADP project and connect it to your SQL 2000 database. This is a much superior strategy than using ODBC connections from an MDB. Allow no one but yourself (and other db developers if any) direct access to the tables. Instead, create views and/or stored procedures and/or user-defined functions to access the tables. Then think about your app and create some roles corresponding to users and the power they should have (i.e. the lowest level in the hierarchy should probably not have the ability to run a report listing all salaries at all levels). Always think in terms of roles, not users. There is a huge reason for this: you add users to roles, and you can even add roles to roles. I am a big fan of this approach. For example, a sales manager in a pinch may have to do data-entry of sales. So add the SalesManager role to the DataEntry role: then any SalesManager can do both, whereas the DataEntry people cannot. That's a thumbnail sketch of how to approach this. Basic two rules: nobody but developers gets access to database objects such as tables; roles define the permissions within the org, and users are simply added to roles. That keeps it all lean and mean and easily manageable. Arthur ----- Original Message ---- From: "Johncliviger at aol.com" To: accessd at databaseadvisors.com Sent: Friday, November 17, 2006 9:14:09 AM Subject: [AccessD] Connecting Access to SQL tables Salutations I am proposing to connect Access FE to SQL 2000 tables which is simple but is it wise? With say 40/50 users using an Access runtime FE should a prudent database developer be connecting directly to tables. What should be the strategy in multi-user environment where data is being entered and modified?? There must be some documentation around on this subject comments and links will be thankfully recieved. TIA johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Fri Nov 17 09:24:33 2006 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Fri, 17 Nov 2006 10:24:33 EST Subject: [AccessD] Connecting Access to SQL tables Message-ID: In a message dated 17/11/2006 15:19:23 GMT Standard Time, artful at rogers.com writes: Arthur Cheers Arthur for your comments. Where can I find a more detailed explanation on a web site? johnc From bchacc at san.rr.com Fri Nov 17 11:24:13 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 17 Nov 2006 09:24:13 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <003201c70a6d$33c351e0$6401a8c0@HAL9005> Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM From jwcolby at colbyconsulting.com Fri Nov 17 11:26:03 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 17 Nov 2006 12:26:03 -0500 Subject: [AccessD] Boot off of D: drive Message-ID: <00a301c70a6d$758daa80$e1265b05@m6805> I installed Windows XP onto my server, then discovered I needed a true RAID controller. Once that was installed I had this truly reliable (we hope) raid system. Now I discovered (thanks to certain listmembers who shall remain unnamed) that I really needed to move to Windows Server 2003. Having this high powered raid system, I decided to install (dual boot) Windows 2003 to the D: drive. In and of itself this is not a big issue but it does leave a single (and small - 80gb) non-raid drive sitting at C:, with a full install (unused) of Windows XP Pro. Is it possible to: 1) Get rid of the dual boot so that the system automatically boots into Server 2003. 2) Get rid of the C: drive and slide a raid drive into it's place. 3) and REALLY reaching here, migrate all the software stored on my D: drive onto that C: drive. 4) Have it all work when that is done. ;-) I would be thrilled with 1 and 2, but figured I might as well ask about 3 as well. John W. Colby Colby Consulting www.ColbyConsulting.com From GregSmith at starband.net Fri Nov 17 11:49:28 2006 From: GregSmith at starband.net (Greg Smith) Date: Fri, 17 Nov 2006 11:49:28 -0600 (CST) Subject: [AccessD] Parsing XML as a string? In-Reply-To: References: Message-ID: <5436.65.118.249.214.1163785768.squirrel@cetus.email.starband.net> Hi Gustav: Thanks...I will. But I'm having an issue getting back to his site he had in an email yesterday, and I could get to it yesterday, but today it's not working...at least from the three different computers I tried...two in house (behind same firewall) and one from a the local County Court House...all with the same result ... **NEVER MIND** ...it just worked. :) http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm I was also looking at the active-X Chilkat parser you suggested below but I'm not sure how I'm supposed to use it. Thanks again! Greg > Hi Greg > > I would listen closely to the advice from Shamil - manually parsing XML > is like reinventing the wheel, only much more difficult. > > If, for some reason, the Microsoft tools don't fit your task, take a > look at the free (and very fast) XML parser from Chilkat: > > http://www.chilkatsoft.com/xml-activex.asp > > and documentation: > > http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html > > /gustav From Gustav at cactus.dk Fri Nov 17 12:21:24 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 17 Nov 2006 19:21:24 +0100 Subject: [AccessD] Parsing XML as a string? Message-ID: Hi Greg Go to the documentation and pick example code, Visual Basic. I have not worked with it myself so I cannot be of much help other than this, sorry. However, support at Chilkat is very responsive so don't hesitate asking for assistance. /gustav >>> GregSmith at starband.net 17-11-2006 18:49:28 >>> I was also looking at the active-X Chilkat parser you suggested below but I'm not sure how I'm supposed to use it. Thanks again! Greg > Hi Greg > > I would listen closely to the advice from Shamil - manually parsing XML > is like reinventing the wheel, only much more difficult. > > If, for some reason, the Microsoft tools don't fit your task, take a > look at the free (and very fast) XML parser from Chilkat: > > http://www.chilkatsoft.com/xml-activex.asp > > and documentation: > > http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html > > /gustav From rusty.hammond at cpiqpc.com Fri Nov 17 13:16:34 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 17 Nov 2006 13:16:34 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6EF@cpixchng-1.cpiqpc.net> Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From Jim.Hale at FleetPride.com Fri Nov 17 13:20:53 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 17 Nov 2006 13:20:53 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE11B@corp-es01.fleetpride.com> The FMS Visual sourcebook has two classes (CBoyerMoore and CFuzzystringsearch) that may accomplish the objective. Actually, if this solder contacts Luke Chung at FMS he may be able to get exactly the help he needs. Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Fri Nov 17 13:32:09 2006 From: john at winhaven.net (John Bartow) Date: Fri, 17 Nov 2006 13:32:09 -0600 Subject: [AccessD] Simplify String Concatenations with Nulls and Zero Length String Message-ID: <200611171932.kAHJWGq09711@databaseadvisors.com> This tip just came through from FMS in their newsletter. Nothin gnew since I've been using it for near a decade now but I just wanted to get thoughts on it here. Anyone take issue with this method? John B. Tip #49: Simplify String Concatenations with Nulls and Zero Length Strings Provided by: Luke Chung, FMS President The concatenation of string values can be a nuisance when referencing fields with Null values, because you want to avoid having extra spaces where the missing string value should have appeared. A classic example of this is a person's name and their spouse. You want to add the " and Spouse" to the name if the Spouse field is filled. Here's the data: PersonID FirstName LastName Spouse 1 Robert Jones 2 Thomas Smith Jane 3 Jack Thompson Sally 4 William Johnson And the results we want: PersonID Person 1 Robert Jones 2 Thomas and Jane Smith 3 Jack and Sally Thompson 4 William Johnson Zero Length Strings Allowed If the Spouse field allows zero length string values ("") -- its AllowZeroLength property is True, you need to consider both Nulls and "". You should use the NullToZero function NZ, to handle either case: SELECT PersonID, FirstName & IIF(Nz(Spouse)<>"", " & " & Spouse) & " " & LastName AS Person FROM tblPerson The NZ function evaluates the value it is passed. For text fields, it returns "" if it's null or "". For numeric and dates fields, it returns zero if it's null. This makes it easy to handle nulls in either case. Zero Length Strings Not Allowed If the Spouse field does not allow zero length strings, blank values are always null. In this situation, we can avoid using a user-defined/built-in function to test for null. The concatenation of a string value and a null value will return a null value. Thus, you eliminate the extra processing needed: SELECT PersonID, FirstName & (" and " + Spouse) & " " & LastName AS Person FROM tblPerson By using the "+" command to combine the " and " and [Spouse] fields, the result is nothing if the Spouse field is null. This is a difference from using the "&" command which concatenates fields and would leave the " and " if Spouse is null. From DWUTKA at marlow.com Fri Nov 17 13:29:10 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 17 Nov 2006 13:29:10 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <17724746D360394AA3BFE5B8D40A9C1B014B18AF@MARLOW_MAIN2.marlow.com> If the results are displayed on a web page the highlighting would be a snap! Drew -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq Classification: UNCLASSIFIED If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD Information for Public Release" apply. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 3:51 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Nov 17 13:43:38 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 17 Nov 2006 22:43:38 +0300 Subject: [AccessD] Parsing XML as a string? In-Reply-To: <5436.65.118.249.214.1163785768.squirrel@cetus.email.starband.net> Message-ID: <001601c70a80$ae0e68a0$6401a8c0@nant> Greg, Please send me your e-mail address and I will send you this page by e-mail privately. (This page http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm works from here, sorry, if it doesn't work there. That's strange...) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Friday, November 17, 2006 8:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Parsing XML as a string? Hi Gustav: Thanks...I will. But I'm having an issue getting back to his site he had in an email yesterday, and I could get to it yesterday, but today it's not working...at least from the three different computers I tried...two in house (behind same firewall) and one from a the local County Court House...all with the same result ... **NEVER MIND** ...it just worked. :) http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm I was also looking at the active-X Chilkat parser you suggested below but I'm not sure how I'm supposed to use it. Thanks again! Greg > Hi Greg > > I would listen closely to the advice from Shamil - manually parsing XML > is like reinventing the wheel, only much more difficult. > > If, for some reason, the Microsoft tools don't fit your task, take a > look at the free (and very fast) XML parser from Chilkat: > > http://www.chilkatsoft.com/xml-activex.asp > > and documentation: > > http://www.chilkatsoft.com/refdoc/xChilkatXmlRef.html > > /gustav -- 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 17 15:14:36 2006 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 17 Nov 2006 22:14:36 +0100 Subject: [AccessD] help with cascade combobox Message-ID: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> Hello Group, i need some help with an cascade combobox, the storage of the data in a table. I have a small example database, who can help me with this? Thanks Pedro Janssen From martyconnelly at shaw.ca Fri Nov 17 16:32:44 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Nov 2006 14:32:44 -0800 Subject: [AccessD] help with cascade combobox In-Reply-To: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> References: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> Message-ID: <455E388C.8030004@shaw.ca> Maybe these examples will help http://www.rogersaccesslibrary.com/TableOfContents3.asp CascadingComboBoxes.mdb ( beginner ) This sample illustrates how to restrict the value of one combo box based on the value of another. CascadingComboInSubform.mdb ( intermediate ) Illustrates how to use Cascading Comboboxes in a continuous subform. Pedro Janssen wrote: >Hello Group, > >i need some help with an cascade combobox, the storage of the data in a table. > >I have a small example database, who can help me with this? > >Thanks Pedro Janssen > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Fri Nov 17 17:56:05 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 18 Nov 2006 00:56:05 +0100 Subject: [AccessD] help with cascade combobox References: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> <455E388C.8030004@shaw.ca> Message-ID: <000401c70aa3$f20e29f0$4001a8c0@qmotionfaa3ad9> Thanks Marty, Making the cascade comboboxes is no problem, but storing the data in a table is the problem. Is there an easier way to do this then the example in the second example that you refered to. Pedro Janssen ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, November 17, 2006 11:32 PM Subject: Re: [AccessD] help with cascade combobox > Maybe these examples will help > http://www.rogersaccesslibrary.com/TableOfContents3.asp > > CascadingComboBoxes.mdb ( beginner ) > This sample illustrates how to restrict the value of one combo box based > on the value of another. > > CascadingComboInSubform.mdb ( intermediate ) > Illustrates how to use Cascading Comboboxes in a continuous subform. > > > Pedro Janssen wrote: > >>Hello Group, >> >>i need some help with an cascade combobox, the storage of the data in a >>table. >> >>I have a small example database, who can help me with this? >> >>Thanks Pedro Janssen >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Nov 17 21:03:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Nov 2006 19:03:58 -0800 Subject: [AccessD] help with cascade combobox In-Reply-To: <000401c70aa3$f20e29f0$4001a8c0@qmotionfaa3ad9> References: <002b01c70a8d$62a9cc30$4001a8c0@qmotionfaa3ad9> <455E388C.8030004@shaw.ca> <000401c70aa3$f20e29f0$4001a8c0@qmotionfaa3ad9> Message-ID: <455E781E.5080102@shaw.ca> How about something simple like Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Create a new record in the Employees table. The ' first name is Harry, the last name is Washington, ' and the job title is Trainee. dbs.Execute " INSERT INTO Employees " _ & "(FirstName,LastName, Title) VALUES " _ & "('Harry', 'Washington', 'Trainee');" dbs.Close You could ask a question like this to append records to a table or start with empty table If MsgBox("Do you want to create a new file table (yes: create, no: append)", vbYesNo) = vbYes Then DoCmd.RunSQL "DELETE DISTINCTROW Employees.FirstName FROM Employees;" End If Pedro Janssen wrote: >Thanks Marty, > >Making the cascade comboboxes is no problem, but storing the data in a table >is the problem. >Is there an easier way to do this then the example in the second example >that you refered to. > >Pedro Janssen > > > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 17, 2006 11:32 PM >Subject: Re: [AccessD] help with cascade combobox > > > > >>Maybe these examples will help >>http://www.rogersaccesslibrary.com/TableOfContents3.asp >> >>CascadingComboBoxes.mdb ( beginner ) >>This sample illustrates how to restrict the value of one combo box based >>on the value of another. >> >>CascadingComboInSubform.mdb ( intermediate ) >>Illustrates how to use Cascading Comboboxes in a continuous subform. >> >> >>Pedro Janssen wrote: >> >> >> >>>Hello Group, >>> >>>i need some help with an cascade combobox, the storage of the data in a >>>table. >>> >>>I have a small example database, who can help me with this? >>> >>>Thanks Pedro Janssen >>> >>> >>> >>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >>-- >>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 robert at servicexp.com Sun Nov 19 12:39:15 2006 From: robert at servicexp.com (Robert) Date: Sun, 19 Nov 2006 13:39:15 -0500 Subject: [AccessD] Connection String syntax In-Reply-To: <455E781E.5080102@shaw.ca> Message-ID: <000001c70c0a$0ee5dca0$dcc05005@roberts> What is the correct syntax when opening from within a FE/BE MS Access when user security has been moved to a difference, non system, .mdw? This does not seem to do it.. "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & FEDBName;User Id=administrator; Password=adminpassword" Thanks Robert From Gustav at cactus.dk Sun Nov 19 13:04:35 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Nov 2006 20:04:35 +0100 Subject: [AccessD] Connection String syntax Message-ID: Hi Robert Drew posted this in Sep. 2003 which seems close to what you request: Function fDatabaseConnection(CurrCnn As ADODB.Connection, UserName As String, PassWord As String) Set CurrCnn = New ADODB.Connection With CurrCnn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Jet OLEDB:System database").Value = "T:\AccessDB\ISReq\Marlow1.mdw" .Open "T:\AccessDB\ISReq\ISReqBE.mdb", UserName, PassWord End With End Function To use the function above, here's an example: Dim cnn as ADODB.Connection Dim rs as ADODB.Recordset Dim strSQL as String fDatabaseConnection cnn,"UserName","Password" Set rs=new ADODB.recordset strSQL="Select * From tblData;" rs.open strSQL,cnn,adOpenKeyset,adLockReadOnly if rs.EOF=false then rs.MoveFirst Do until rs.EOF=True 'Do something rs.MoveNext Loop rs.Close Set rs=nothing cnn.Close set cnn=Nothing Just a little sample code. I know this code uses ADO, which is the default in A2k, but in A97, DAO is default. DAO is the native language for Jet databases, but I find that ADO is FAR more flexible. I can write code for connecting to an Access database, and later on, if I change the data source, I just have to modify the connection routine. Drew /gustav >>> robert at servicexp.com 19-11-2006 19:39:15 >>> What is the correct syntax when opening from within a FE/BE MS Access when user security has been moved to a difference, non system, .mdw? This does not seem to do it.. "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & FEDBName;User Id=administrator; Password=adminpassword" Thanks Robert From martyconnelly at shaw.ca Sun Nov 19 13:29:04 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 19 Nov 2006 11:29:04 -0800 Subject: [AccessD] Connection String syntax In-Reply-To: <000001c70c0a$0ee5dca0$dcc05005@roberts> References: <000001c70c0a$0ee5dca0$dcc05005@roberts> Message-ID: <4560B080.2040000@shaw.ca> Carl Prothman has a site that provides ADO connection strings for a wide variety of databases and providers. Even though he has switched over to the dark side. http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet If using a Workgroup (System Database) oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\mydb.mdb;" & _ "Jet OLEDB:System Database=MySystem.mdw", _ "myUsername", "myPassword" Robert wrote: >What is the correct syntax when opening from within a FE/BE MS Access when >user security has been moved to a difference, non system, .mdw? > >This does not seem to do it.. > >"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & >FEDBName;User Id=administrator; Password=adminpassword" > >Thanks > >Robert > > > -- Marty Connelly Victoria, B.C. Canada From ssharkins at setel.com Sun Nov 19 13:38:27 2006 From: ssharkins at setel.com (ssharkins at setel.com) Date: Sun, 19 Nov 2006 14:38:27 -0500 (EST) Subject: [AccessD] Connection String syntax In-Reply-To: <4560B080.2040000@shaw.ca> References: <000001c70c0a$0ee5dca0$dcc05005@roberts> <4560B080.2040000@shaw.ca> Message-ID: <1598.209.42.188.17.1163965107.squirrel@vmail.setel.com> YOu can use Windows to create most connection strings -- I wonder if that technique would apply here too? Susan H. Carl Prothman has a site that provides ADO connection strings for a > wide variety of databases and providers. Even though he has > switched over to the dark side. > > http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet > > If using a Workgroup (System Database) > > oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\mydb.mdb;" & _ > "Jet OLEDB:System Database=MySystem.mdw", _ > "myUsername", "myPassword" > > From mwp.reid at qub.ac.uk Sun Nov 19 14:46:44 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 19 Nov 2006 20:46:44 -0000 Subject: [AccessD] Connection String syntax References: <000001c70c0a$0ee5dca0$dcc05005@roberts> <4560B080.2040000@shaw.ca> <1598.209.42.188.17.1163965107.squirrel@vmail.setel.com> Message-ID: funny I have never been able to get windows to do that. Creating the text file then changing the name and then using that to create the connection. Never works for me. Maritn Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of ssharkins at setel.com Sent: Sun 19/11/2006 19:38 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connection String syntax YOu can use Windows to create most connection strings -- I wonder if that technique would apply here too? Susan H. Carl Prothman has a site that provides ADO connection strings for a > wide variety of databases and providers. Even though he has > switched over to the dark side. > > http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet > > If using a Workgroup (System Database) > > oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\mydb.mdb;" & _ > "Jet OLEDB:System Database=MySystem.mdw", _ > "myUsername", "myPassword" > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Nov 19 15:14:01 2006 From: ssharkins at setel.com (ssharkins at setel.com) Date: Sun, 19 Nov 2006 16:14:01 -0500 (EST) Subject: [AccessD] Connection String syntax In-Reply-To: References: <000001c70c0a$0ee5dca0$dcc05005@roberts> <4560B080.2040000@shaw.ca> <1598.209.42.188.17.1163965107.squirrel@vmail.setel.com> Message-ID: <1673.209.42.184.169.1163970841.squirrel@vmail.setel.com> > funny I have never been able to get windows to do that. Creating the text > file then changing the name and then using that to create the connection. > Never works for me. =======I don't think we're talking about the same thing -- I'll have to look up the article, but seems like you can capture the connection arguments from a Windows property. Susan H. From robert at servicexp.com Sun Nov 19 16:44:30 2006 From: robert at servicexp.com (Robert) Date: Sun, 19 Nov 2006 17:44:30 -0500 Subject: [AccessD] Connection String syntax In-Reply-To: <4560B080.2040000@shaw.ca> Message-ID: <000c01c70c2c$48e6d450$dcc05005@roberts> Thanks A Million ! Happy Holidays!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, November 19, 2006 2:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connection String syntax Carl Prothman has a site that provides ADO connection strings for a wide variety of databases and providers. Even though he has switched over to the dark side. http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJ et If using a Workgroup (System Database) oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\mydb.mdb;" & _ "Jet OLEDB:System Database=MySystem.mdw", _ "myUsername", "myPassword" Robert wrote: >What is the correct syntax when opening from within a FE/BE MS Access >when user security has been moved to a difference, non system, .mdw? > >This does not seem to do it.. > >"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=CurrentProject.Path & >FEDBName;User Id=administrator; Password=adminpassword" > >Thanks > >Robert > > > -- 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 bheid at sc.rr.com Sun Nov 19 20:16:05 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Sun, 19 Nov 2006 21:16:05 -0500 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6EF@cpixchng-1.cpiqpc.net> Message-ID: <000601c70c49$d601b310$2d01a8c0@bhxp> Rusty, The only problem with this is IED is at the start of a sentence or is followed by a period, commas, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Friday, November 17, 2006 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, November 17, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky _____ From: Access Users Group of San Diego [mailto:admin at augsd.org] Sent: Friday, November 17, 2006 8:59 AM To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon Foss; Jackie Murphy (E-mail) Subject: FW: [U] Soldier in Iraq needs Access Help -----Original Message----- From: Newsom Lester SFC MNFI STARTEFF [mailto:lester.newsom at iraq.centcom.mil] Sent: Wednesday, November 01, 2006 9:12 AM To: admin at augsd.org Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq From rusty.hammond at cpiqpc.com Sun Nov 19 21:18:02 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Sun, 19 Nov 2006 21:18:02 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B6F8@cpixchng-1.cpiqpc.net> Good point. Hmmm, I wonder if there is a way to do what he wants in Access? -----Original Message----- From: Bobby Heid [mailto:bheid at sc.rr.com] Sent: Sunday, November 19, 2006 8:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rusty, The only problem with this is IED is at the start of a sentence or is followed by a period, commas, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Friday, November 17, 2006 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From dwaters at usinternet.com Sun Nov 19 22:36:57 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 19 Nov 2006 22:36:57 -0600 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <7479825.1163989146973.JavaMail.root@sniper44> Message-ID: <001101c70c5d$838ee3a0$0200a8c0@danwaters> How about LIKE "*IED*" ---------- or more generically: LIKE "*" & txtCriteria & "*" instead of LIKE "* IED *" (leave out the spaces) I do this in some queries and it picks things up at the beginning, middle, or end. Dan Waters -----Original Message----- Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rusty, The only problem with this is IED is at the start of a sentence or is followed by a period, commas, etc. Bobby -----Original Message----- Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help Rocky, These ideas aren't what he's asking for but they might help him speed up his search a little bit. To help his search he could in a query put Like "* IED *" in the criteria of his query. That should only return those records where IED is surrounded by spaces on either side thus not being part of another word. Another option, which isn't as nice as the Google search he refers to, is to flag each article that has an instance of IED via an update query, export those flagged records out to a word document via a report, then run Find and Replace in Word and use the "Highlight All Items Found In" option. I know this option is found in Word 2003 and not in 97. I don't about the versions in between. HTH, Rusty -----Original Message----- Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help Anyone want to tackle this one? Sounds like an interesting project. Rocky Subject: [U] Soldier in Iraq needs Access Help Classification: UNCLASSIFIED Greetings from Baghdad. I am not one to ask for help until I have absolutely driven myself to the edge. It is my hope that you or one of your experts can shed some light on what I am trying to get Access to do. There are actually two things, but first an explanation of what the database does. A team of translators interpret local Iraqi newscasts which are transcribed and input into the database. These transcriptions are referred back to on a regular basis via requests to my office by the higher-ups. A typical request would be along the lines of "Give me the instances over the past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give me every article referring to IED's exploding in the past month" A simple query of course, returns the date range and all articles whereas the word "Maliki" appears. I am helped by the fact that Maliki does not appear in the dictionary so I can scan through the articles, deleting those that are not relevant. I cannot however discern when IED is actually part of another word. What I would like to accomplish, is highlighting my text query, much like Google does in its cached pages. So, those words that I search for are highlighted, giving me a visual reference. I have tried constructing a macro to do the action and have also searched high and low in the Help files and the Internet.. Perhaps this makes perfect sense to you and you can point me in the right direction. Thank you in advance for your time. SFC Lester Newsom Baghdad, Iraq From dwaters at usinternet.com Sun Nov 19 22:39:26 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 19 Nov 2006 22:39:26 -0600 Subject: [AccessD] Send an Outlook Meeting Invitation Message-ID: <001201c70c5d$dc5924f0$0200a8c0@danwaters> Has anyone used Access to send out an Outlook Meeting Invitation? Or know where I could go to find out how? Thanks! Dan Waters From stuart at lexacorp.com.pg Sun Nov 19 23:58:40 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 20 Nov 2006 15:58:40 +1000 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <001101c70c5d$838ee3a0$0200a8c0@danwaters> References: <7479825.1163989146973.JavaMail.root@sniper44>, <001101c70c5d$838ee3a0$0200a8c0@danwaters> Message-ID: <4561D0B0.25840.8ADDC19C@stuart.lexacorp.com.pg> On 19 Nov 2006 at 22:36, Dan Waters wrote: > How about > > LIKE "*IED*" ---------- or more generically: LIKE "*" & txtCriteria & "*" > > instead of > > LIKE "* IED *" (leave out the spaces) > That will pick up anything from died to antieducational ( and the hundreds of others at http://www.morewords.com/contains-by-length/ied/ ) To find text containing IED as a word by itself you need something similar to LIKE "*[( "]IED[ ).,:;?]*" or LIKE "IED[ ).,:;?]*" or LIKE Chr$(13) & chr$(10) & "IED[ ).,:;?]*" or LIKE "* IED" Actually it would probably be a lot easier to add a reference "Microsoft VBScript Regular Expresssion 5.x" and build a function using a proper Regex to locate text blocks containing the desired targets. From jwcolby at colbyconsulting.com Mon Nov 20 06:01:24 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 07:01:24 -0500 Subject: [AccessD] Create object Message-ID: <001d01c70c9b$9aa61bb0$657aa8c0@m6805> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Nov 20 06:21:48 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Nov 2006 13:21:48 +0100 Subject: [AccessD] Create object Message-ID: Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Nov 20 07:16:24 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 08:16:24 -0500 Subject: [AccessD] Create object In-Reply-To: Message-ID: <002201c70ca6$14eeb080$657aa8c0@m6805> Well basically because this is the smartest bunch of folks I know, and this is a VBA question. It is specifically trying to open 3DFTP but the question would be the same for opening Excel, Word etc. I assume that they would react the same way. I will look at that resource though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Nov 20 07:58:45 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 20 Nov 2006 08:58:45 -0500 Subject: [AccessD] Create object References: <002201c70ca6$14eeb080$657aa8c0@m6805> Message-ID: <00de01c70cab$ffceeac0$0302a8c0@default> Thought ... It may be that since this thing is multi-threaded, you can only create one instance by design. So, you might look at creating one of their vbs plug-ins to pass more connections to it or something ... Michael R. Mattys A MapPoint Developer www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 8:16 AM Subject: Re: [AccessD] Create object > Well basically because this is the smartest bunch of folks I know, and > this > is a VBA question. It is specifically trying to open 3DFTP but the > question > would be the same for opening Excel, Word etc. I assume that they would > react the same way. > > I will look at that resource though. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com From jimdettman at verizon.net Mon Nov 20 08:05:38 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 20 Nov 2006 09:05:38 -0500 Subject: [AccessD] Create object In-Reply-To: <001d01c70c9b$9aa61bb0$657aa8c0@m6805> Message-ID: <015001c70cac$f80c6aa0$8abea8c0@XPS> John, Even though your using CreateObject, it's really up to the automation server if it's capable of multi-instance use. I would do what gustav suggested and give them a call to find out if it is multi-instance capable. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 7:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Nov 20 08:21:15 2006 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 20 Nov 2006 09:21:15 -0500 Subject: [AccessD] Send an Outlook Meeting Invitation In-Reply-To: <001201c70c5d$dc5924f0$0200a8c0@danwaters> Message-ID: <000301c70caf$2d0a5350$2f01a8c0@Kermit> OutlookCode.com is my favorite research place for questions like this. Main website... www.outlookcode.com Sending a meeting request programmatically... http://www.outlookcode.com/codedetail.aspx?id=88 Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 19, 2006 11:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Send an Outlook Meeting Invitation Has anyone used Access to send out an Outlook Meeting Invitation? Or know where I could go to find out how? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 08:22:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 09:22:29 -0500 Subject: [AccessD] Create object In-Reply-To: <00de01c70cab$ffceeac0$0302a8c0@default> Message-ID: <002301c70caf$501b8760$657aa8c0@m6805> Well, that's a good thought, but I can manually click the 3DFTP hotlink and it opens multiple times. Further I can log in to my ftp site with one instance and an insurer's site with another. That would indicate that 3DFTP itself can have multiple instances open at the same time. I am trying to keep this as simple as possible. I have written a class that opens 3DFTP, grabs a pointer and passes through functionality that the API exposes. It would be nice to be able to instantiate my class more than once, downloading data from one site, uploading to another. As we all know, some sites are faster than others. If I do this stuff serially, I potentially waste bandwidth on slow ftp sites that could be used to transfer files in a second instance of 3DFTP. Unfortunately as things sit, if a 3DFTP instance is open, my class grabs a pointer to it. If I instantiate my class a second time, the second instance grabs a pointer to the already open 3DFTP instance and starts manipulating it. Not exactly what I would like to happen. I am writing modules to grab files from insurance companies, unencrypt them and load the data into tables, displaying the loaded data in a tab of a form on the user's Access application. There are multiple insurance companies that I need to do this for. Each has their own ftp site and their own file structure, the data goes into their own table (at least initially) and are possibly displayed on their own tab. Additionally I have to upload data back to the insurance company's FTP site. These downloads / uploads will likely be scheduled for the middle of the night but it would still be useful if I could do them all simultaneously. Because of the differences between the files, the encryption etc., my intention was to have a module / class for each insurer, using my (standardized) 3DFTP class to do the transfer grunt work. AFAIK, one instance of 3DFTP can queue files to transfer up/down, but they all go to the same ftp site. In my case I need to do up/down to multiple ftp sites. It would be disastrous if a second instance of MY CLASS grabbed an existing instance of 3DFTP which was hard at work, took it over, logged in to another site and started transferring data. Or even worse had a queue of files destined for one FTP site suddenly being sent to someone else's FTP site. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, November 20, 2006 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Create object Thought ... It may be that since this thing is multi-threaded, you can only create one instance by design. So, you might look at creating one of their vbs plug-ins to pass more connections to it or something ... Michael R. Mattys A MapPoint Developer www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 8:16 AM Subject: Re: [AccessD] Create object > Well basically because this is the smartest bunch of folks I know, and > this > is a VBA question. It is specifically trying to open 3DFTP but the > question > would be the same for opening Excel, Word etc. I assume that they would > react the same way. > > I will look at that resource though. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 08:26:24 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 09:26:24 -0500 Subject: [AccessD] Create object In-Reply-To: Message-ID: <002401c70caf$dc2682f0$657aa8c0@m6805> I am a little confused Gustav, SiteDesigner is not 3DFTP. I could go with these people if I have to but I have always been very happy with 3D. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 08:36:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 09:36:25 -0500 Subject: [AccessD] Create object In-Reply-To: <002401c70caf$dc2682f0$657aa8c0@m6805> Message-ID: <002d01c70cb1$4207a350$657aa8c0@m6805> Gustav, Never mind, I found that they are referenced in the 3D help. I have emailed them. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object I am a little confused Gustav, SiteDesigner is not 3DFTP. I could go with these people if I have to but I have always been very happy with 3D. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 13:01:24 >>> I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("ftp.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what ftp.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Nov 20 08:48:24 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 20 Nov 2006 09:48:24 -0500 Subject: [AccessD] Create object References: <002301c70caf$501b8760$657aa8c0@m6805> Message-ID: <010e01c70cb2$f7d657c0$0302a8c0@default> I've never used it, but I may have to soon. Is it possible to Shell (the shortcut) and FindWindow, then get the pointer? Michael R. Mattys A MapPoint Developer www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 9:22 AM Subject: Re: [AccessD] Create object > Well, that's a good thought, but I can manually click the 3DFTP hotlink > and > it opens multiple times. Further I can log in to my ftp site with one > instance and an insurer's site with another. That would indicate that > 3DFTP > itself can have multiple instances open at the same time. > > I am trying to keep this as simple as possible. I have written a class > that > opens 3DFTP, grabs a pointer and passes through functionality that the API > exposes. It would be nice to be able to instantiate my class more than > once, > downloading data from one site, uploading to another. As we all know, > some > sites are faster than others. If I do this stuff serially, I potentially > waste bandwidth on slow ftp sites that could be used to transfer files in > a > second instance of 3DFTP. > > Unfortunately as things sit, if a 3DFTP instance is open, my class grabs a > pointer to it. If I instantiate my class a second time, the second > instance > grabs a pointer to the already open 3DFTP instance and starts manipulating > it. Not exactly what I would like to happen. > > I am writing modules to grab files from insurance companies, unencrypt > them > and load the data into tables, displaying the loaded data in a tab of a > form > on the user's Access application. There are multiple insurance companies > that I need to do this for. Each has their own ftp site and their own > file > structure, the data goes into their own table (at least initially) and are > possibly displayed on their own tab. Additionally I have to upload data > back to the insurance company's FTP site. These downloads / uploads will > likely be scheduled for the middle of the night but it would still be > useful > if I could do them all simultaneously. > > Because of the differences between the files, the encryption etc., my > intention was to have a module / class for each insurer, using my > (standardized) 3DFTP class to do the transfer grunt work. > > AFAIK, one instance of 3DFTP can queue files to transfer up/down, but they > all go to the same ftp site. In my case I need to do up/down to multiple > ftp sites. It would be disastrous if a second instance of MY CLASS > grabbed > an existing instance of 3DFTP which was hard at work, took it over, logged > in to another site and started transferring data. Or even worse had a > queue > of files destined for one FTP site suddenly being sent to someone else's > FTP > site. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Monday, November 20, 2006 8:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Create object > > Thought ... > > It may be that since this thing is multi-threaded, you can only create one > instance by design. > > So, you might look at creating one of their vbs plug-ins to pass more > connections to it or something ... > > Michael R. Mattys > A MapPoint Developer > www.mattysconsulting.com > > ----- Original Message ----- > From: "JWColby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 20, 2006 8:16 AM > Subject: Re: [AccessD] Create object > > >> Well basically because this is the smartest bunch of folks I know, and >> this >> is a VBA question. It is specifically trying to open 3DFTP but the >> question >> would be the same for opening Excel, Word etc. I assume that they would >> react the same way. >> >> I will look at that resource though. >> >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > 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 20 08:45:13 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Nov 2006 15:45:13 +0100 Subject: [AccessD] Create object Message-ID: Hi John Same company: http://www.sitedesigner.com/history.htm /gustav >>> jwcolby at colbyconsulting.com 20-11-2006 15:36:25 >>> Gustav, Never mind, I found that they are referenced in the 3D help. I have emailed them. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 9:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object I am a little confused Gustav, SiteDesigner is not 3DFTP. I could go with these people if I have to but I have always been very happy with 3D. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, November 20, 2006 7:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create object Hi John I have no solution for you, but why not address support at support at sitedesigner.com /gustav From dwaters at usinternet.com Mon Nov 20 09:18:49 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 20 Nov 2006 09:18:49 -0600 Subject: [AccessD] Send an Outlook Meeting Invitation In-Reply-To: <8948412.1164032942648.JavaMail.root@sniper47> Message-ID: <001701c70cb7$2e9f78a0$0200a8c0@danwaters> That's Great! I can see why this is your favorite Outlook site! Thank You! Dan Waters -----Original Message----- Subject: Re: [AccessD] Send an Outlook Meeting Invitation OutlookCode.com is my favorite research place for questions like this. Main website... www.outlookcode.com Sending a meeting request programmatically... http://www.outlookcode.com/codedetail.aspx?id=88 Doris Manning Database Administrator Hargrove Inc. -----Original Message----- Subject: [AccessD] Send an Outlook Meeting Invitation Has anyone used Access to send out an Outlook Meeting Invitation? Or know where I could go to find out how? Thanks! Dan Waters From accessd at shaw.ca Mon Nov 20 11:26:20 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Nov 2006 09:26:20 -0800 Subject: [AccessD] Create object In-Reply-To: <001d01c70c9b$9aa61bb0$657aa8c0@m6805> Message-ID: <0J9100CJ0HOZNM43@l-daemon> Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 13:35:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 14:35:45 -0500 Subject: [AccessD] Create object In-Reply-To: <0J9100CJ0HOZNM43@l-daemon> Message-ID: <000601c70cdb$137563e0$657aa8c0@m6805> Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 20 13:50:23 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Nov 2006 11:50:23 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <003201c70a6d$33c351e0$6401a8c0@HAL9005> References: <003201c70a6d$33c351e0$6401a8c0@HAL9005> Message-ID: <456206FF.5030506@shaw.ca> I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. SQL Server 2000 provides a rich text-data retrieval system and an enhanced full-text search service that enables you to perform a linguistic search of character data in tables enabled for full-text search. A linguistic search operates on words and phrases. The linguistic search is not supported for Arabic, but other parts of full-text search are. Creating Full-Text Index To accomplish a full-text search, you must create a full-text index on the specific column you wish to search. To index a column in a table you are viewing, use the Full-Text Indexing Wizard. In the Select Table Columns page, find the column you wish to index and, in the Language for Word Breaker list, select Neutral. Choosing this option enables your index to work with Arabic even though that language is not included in the list of supported languages. In general, use this option when a column contains data in multiple languages or in an unsupported language http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/sql_arabicsupport.asp You could do this with Google Desktop Search Engine via VBA API calls to return xml files of retrieved data ranked by date or relevance. Caveats Security, Need addon's to look deep into text and pdf files beyond 4000 characters. Vista is supposed to have an inbuilt text search engine. Beach Access Software wrote: >Anyone want to tackle this one? Sounds like an interesting project. > > > >Rocky > > > > > > _____ > >From: Access Users Group of San Diego [mailto:admin at augsd.org] >Sent: Friday, November 17, 2006 8:59 AM >To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; >Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon >Foss; Jackie Murphy (E-mail) >Subject: FW: [U] Soldier in Iraq needs Access Help > > > > > >-----Original Message----- >From: Newsom Lester SFC MNFI STARTEFF >[mailto:lester.newsom at iraq.centcom.mil] >Sent: Wednesday, November 01, 2006 9:12 AM >To: admin at augsd.org >Subject: [U] Soldier in Iraq needs Access Help > >Classification: UNCLASSIFIED > >Greetings from Baghdad. > > > >I am not one to ask for help until I have absolutely driven myself to the >edge. It is my hope that you or one of your experts can shed some light on >what I am trying to get Access to do. > > > >There are actually two things, but first an explanation of what the database >does. A team of translators interpret local Iraqi newscasts which are >transcribed and input into the database. These transcriptions are referred >back to on a regular basis via requests to my office by the higher-ups. A >typical request would be along the lines of "Give me the instances over the >past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give >me every article referring to IED's exploding in the past month" > > > >A simple query of course, returns the date range and all articles whereas >the word "Maliki" appears. I am helped by the fact that Maliki does not >appear in the dictionary so I can scan through the articles, deleting those >that are not relevant. I cannot however discern when IED is actually part of >another word. > > > >What I would like to accomplish, is highlighting my text query, much like >Google does in its cached pages. So, those words that I search for are >highlighted, giving me a visual reference. > > > >I have tried constructing a macro to do the action and have also searched >high and low in the Help files and the Internet.. Perhaps this makes perfect >sense to you and you can point me in the right direction. > > > >Thank you in advance for your time. > > > >SFC Lester Newsom > >Baghdad, Iraq > > > > > >Classification: UNCLASSIFIED >If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from >mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information >Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public >Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD >Information for Public Release" apply. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 >3:51 PM > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Nov 20 14:14:09 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 12:14:09 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <456206FF.5030506@shaw.ca> Message-ID: <01b601c70ce0$70929250$6401a8c0@HAL9005> To everyone who responded to this request: Would it be possible for you to contact this guy directly? I could forward all the emails but since I don't really know how to solve this one there's no point in my getting in the middle. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 20, 2006 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. SQL Server 2000 provides a rich text-data retrieval system and an enhanced full-text search service that enables you to perform a linguistic search of character data in tables enabled for full-text search. A linguistic search operates on words and phrases. The linguistic search is not supported for Arabic, but other parts of full-text search are. Creating Full-Text Index To accomplish a full-text search, you must create a full-text index on the specific column you wish to search. To index a column in a table you are viewing, use the Full-Text Indexing Wizard. In the Select Table Columns page, find the column you wish to index and, in the Language for Word Breaker list, select Neutral. Choosing this option enables your index to work with Arabic even though that language is not included in the list of supported languages. In general, use this option when a column contains data in multiple languages or in an unsupported language http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/htm l/sql_arabicsupport.asp You could do this with Google Desktop Search Engine via VBA API calls to return xml files of retrieved data ranked by date or relevance. Caveats Security, Need addon's to look deep into text and pdf files beyond 4000 characters. Vista is supposed to have an inbuilt text search engine. Beach Access Software wrote: >Anyone want to tackle this one? Sounds like an interesting project. > > > >Rocky > > > > > > _____ > >From: Access Users Group of San Diego [mailto:admin at augsd.org] >Sent: Friday, November 17, 2006 8:59 AM >To: Wayne Warren-Angelucci; Rocky Smolin; Mark J. Krisburg; Joe Anderson; >Dixon Foss; Barry Hynum (E-mail); Mike Dwyer; Ed Lance; Doug Murphy; Dixon >Foss; Jackie Murphy (E-mail) >Subject: FW: [U] Soldier in Iraq needs Access Help > > > > > >-----Original Message----- >From: Newsom Lester SFC MNFI STARTEFF >[mailto:lester.newsom at iraq.centcom.mil] >Sent: Wednesday, November 01, 2006 9:12 AM >To: admin at augsd.org >Subject: [U] Soldier in Iraq needs Access Help > >Classification: UNCLASSIFIED > >Greetings from Baghdad. > > > >I am not one to ask for help until I have absolutely driven myself to the >edge. It is my hope that you or one of your experts can shed some light on >what I am trying to get Access to do. > > > >There are actually two things, but first an explanation of what the database >does. A team of translators interpret local Iraqi newscasts which are >transcribed and input into the database. These transcriptions are referred >back to on a regular basis via requests to my office by the higher-ups. A >typical request would be along the lines of "Give me the instances over the >past two weeks Prime Minister Maliki has said he likes the U.S." or, "Give >me every article referring to IED's exploding in the past month" > > > >A simple query of course, returns the date range and all articles whereas >the word "Maliki" appears. I am helped by the fact that Maliki does not >appear in the dictionary so I can scan through the articles, deleting those >that are not relevant. I cannot however discern when IED is actually part of >another word. > > > >What I would like to accomplish, is highlighting my text query, much like >Google does in its cached pages. So, those words that I search for are >highlighted, giving me a visual reference. > > > >I have tried constructing a macro to do the action and have also searched >high and low in the Help files and the Internet.. Perhaps this makes perfect >sense to you and you can point me in the right direction. > > > >Thank you in advance for your time. > > > >SFC Lester Newsom > >Baghdad, Iraq > > > > > >Classification: UNCLASSIFIED >If this e-mail is marked FOR OFFICIAL USE ONLY it may be exempt from >mandatory disclosure under FOIA. DoD 5400.7R, "DoD Freedom of Information >Act Program", DoD Directive 5230.9, "Clearance of DoD Information for Public >Release", and DoD Instruction 5230.29, "Security and Policy Review of DoD >Information for Public Release" apply. > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.14.6/536 - Release Date: 11/16/2006 >3:51 PM > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 3:04 AM From bheid at sc.rr.com Mon Nov 20 14:46:51 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 20 Nov 2006 15:46:51 -0500 Subject: [AccessD] Create object In-Reply-To: <000601c70cdb$137563e0$657aa8c0@m6805> Message-ID: <000801c70ce5$01fcfe70$465a1d05@bhxp> It's possible that it is really a type of MDI app. Just like when you open up IE several times and one crashes, they all die. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 2:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com From accessd at shaw.ca Mon Nov 20 15:17:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Nov 2006 13:17:08 -0800 Subject: [AccessD] Create object In-Reply-To: <000601c70cdb$137563e0$657aa8c0@m6805> Message-ID: <0J9100GP8SDOJ320@l-daemon> Hi John: I think it is like Excel in which you can open a number of separate sheets but if you quit one they all quit. You can close one though... but in reality it is all the same application... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 setel.com Mon Nov 20 15:32:11 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 16:32:11 -0500 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <456206FF.5030506@shaw.ca> Message-ID: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. ========Are you sure that full-text search is supported by Express? Susan H. From Kwilliamson at RTKL.com Mon Nov 20 15:50:09 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 16:50:09 -0500 Subject: [AccessD] Excel Import Message-ID: Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From ssharkins at setel.com Mon Nov 20 16:08:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 17:08:16 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <000801c70cf0$63ca11a0$9cb82ad1@SUSANONE> Keith, is it importing each cell entry as a single record or are the records pretty much intact? If the latter, what's in rows 99 and beyond? The first thing I'd suggest is that you copy the 98 records into a clean sheet and just get rid of the old one. Susan H. I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? From Donald.A.McGillivray at sprint.com Mon Nov 20 16:00:46 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 20 Nov 2006 16:00:46 -0600 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: Hi, Keith I can't say that I've seen that behavior before, but Access seems to be seeing the entire Excel sheet as the data source when you do the import. Try naming the range (Insert/Name) of the Excel sheet that holds the data. Then specify that named range for import into your table. Named ranges are very useful both within Excel and for this sort of external task. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 20 16:33:05 2006 From: john at winhaven.net (John Bartow) Date: Mon, 20 Nov 2006 16:33:05 -0600 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <200611202233.kAKMX5q01881@databaseadvisors.com> Oh the joy of it, eh? First thing I'd try is selecting all the empty rows and then deleting them. (just in case there's zero length string or something akin to that in all of them. Then try importing again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 3:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Nov 20 16:43:46 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 20 Nov 2006 17:43:46 -0500 Subject: [AccessD] Create object In-Reply-To: <0J9100GP8SDOJ320@l-daemon> Message-ID: <001501c70cf5$57860430$657aa8c0@m6805> Interesting idea but I just tested it and I can open and close them independently. They truly seem to be separate instances of the program. Of course who really knows. Anytime you open something with: CreateObject("FTP.API") Who knows what is really going on. It certainly LOOKS like Word.Document or Excel.Sheet where FTP.API is some kind of object of FTP that is exposed for manipulation. There are two "objects" that are in the list of things that can be referenced. One is 3dFTP.DLL, described as "3D-FTP Transfer Engine Com Object". However the properties and methods of that don't match the API. It LOOKS like it could be programmed to directly. I referenced it and can see the methods and properties. The other object in the list of referencable objects is called FTP - and is the 3DFTP.EXE. Even though I can set a reference to the EXE I can't dim an object as that, I get an immediate compile error. So what exactly the .API is, or is a property of remains a mystery. WHOA, I found it! If I reference the 3DFTP.exe (as FTP in the reference list), and then dim an object as FTP.API, I get ahold of the API and can see exactly and only the API methods. Unfortunately this still doesn't get me anywhere since I am again not getting a pointer to the EXE but apparently just an object inside of the EXE. And I still can't programmatically cause a new instance of the EXE to open. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 4:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: I think it is like Excel in which you can open a number of separate sheets but if you quit one they all quit. You can close one though... but in reality it is all the same application... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Well... I can open multiple instances manually. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, November 20, 2006 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, November 20, 2006 4:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Create object I am trying to open multiple instances of 3DFTP and assign each instance to a different class instance inside of Access. When I use the syntax: ' 'In class header ' Private mFtpXObj As Object ' FtpXObj ' 'In init function ' 'Start 3D-FTP loading, if not already running Set mFtpXObj = CreateObject("FTP.API") The first class instance correctly opens 3DFTP but the second class instance does not, it simply gets a pointer to the already opened 3DFTP instance. AFAIK I can't use the NEW() syntax since I don't have early binding, IOW I don't have a clue what FTP.API actually is and therefore can't reference it in Access. According to the help file, CreateObject is supposed to open a new instance of the object anyway so I really should be able to do this. Any thoughts? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 20 16:46:21 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 14:46:21 -0800 Subject: [AccessD] Print report to file Message-ID: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> Dear List: I got a program from this list a few years ago which allowed me to print a report to a file. Each page was a jpg. I could then insert them into a manual. It worked great. But I cannot find it any more. I think it installed like a printer but I can't remember. It was a free download from the net and I believe it was from a Russian author. I searched the archive but no luck. Does this ring a bell with anybody? MTIA Rocky From bill_Patten at earthlink.net Mon Nov 20 16:52:08 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Mon, 20 Nov 2006 14:52:08 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help References: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> Message-ID: <006801c70cf6$823359c0$0202fea9@BPCS> Hi Susan, Yes , the Advanced Services version does. I tested it and though I couldn't find a wizard I was able to get it working with T-SQL. I tested it against a SQL 2000 box and got the same results, returned 41 records in both out of about 350 records and lots of text. Bill ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 20, 2006 1:32 PM Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help I would probably do this with SQL Server 2005 Express Edition with Advanced Services.SQL Server 2005 Express Edition with Advanced Services is perfect for use as a backend to a small, multiuser application that requires more advanced features such as Web reporting or Full-text Search. You could do this with the full version of SQL 2000 but now is available in Express. ========Are you sure that full-text search is supported by Express? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Mon Nov 20 16:55:51 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 17:55:51 -0500 Subject: [AccessD] Excel Import Message-ID: Record #99 and on, are nothing but blank records. Actually, I did copy this data in from a html screen version of excel...into a blank excel worksheet. Then uploaded that. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import Keith, is it importing each cell entry as a single record or are the records pretty much intact? If the latter, what's in rows 99 and beyond? The first thing I'd suggest is that you copy the 98 records into a clean sheet and just get rid of the old one. Susan H. I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Mon Nov 20 17:01:25 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 18:01:25 -0500 Subject: [AccessD] Excel Import Message-ID: Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 20, 2006 5:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import Hi, Keith I can't say that I've seen that behavior before, but Access seems to be seeing the entire Excel sheet as the data source when you do the import. Try naming the range (Insert/Name) of the Excel sheet that holds the data. Then specify that named range for import into your table. Named ranges are very useful both within Excel and for this sort of external task. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Mon Nov 20 17:01:47 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 20 Nov 2006 18:01:47 -0500 Subject: [AccessD] Excel Import Message-ID: Yeah...tried that a few times. :( Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, November 20, 2006 5:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import Oh the joy of it, eh? First thing I'd try is selecting all the empty rows and then deleting them. (just in case there's zero length string or something akin to that in all of them. Then try importing again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, November 20, 2006 3:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Import Hey Guys, I am trying to do an Excel import, into a new table. There are 98 lines of data in my Excel file. However, when I do my import....no matter what I do, it imports 64,963 records. I have gone to the excel file and deleted every blank line, after my data. But it still imports the same number of records. Why would it import all the empty fields?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon Nov 20 17:05:52 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 20 Nov 2006 15:05:52 -0800 Subject: [AccessD] Print report to file In-Reply-To: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> Message-ID: <006401c70cf8$6d504bb0$0200a8c0@murphy3234aaf1> Snagit can do this, but you will have to spend a few bucks. Well worth the money, $39 from TechSmith.com. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 20, 2006 2:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Print report to file Dear List: I got a program from this list a few years ago which allowed me to print a report to a file. Each page was a jpg. I could then insert them into a manual. It worked great. But I cannot find it any more. I think it installed like a printer but I can't remember. It was a free download from the net and I believe it was from a Russian author. I searched the archive but no luck. Does this ring a bell with anybody? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Mon Nov 20 17:12:00 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 18:12:00 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <001e01c70cf9$48e69710$9cb82ad1@SUSANONE> If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) From stuart at lexacorp.com.pg Mon Nov 20 17:57:42 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Nov 2006 09:57:42 +1000 Subject: [AccessD] Print report to file In-Reply-To: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> References: <01cb01c70cf5$b3471750$6401a8c0@HAL9005> Message-ID: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> On 20 Nov 2006 at 14:46, Beach Access Software wrote: > I got a program from this list a few years ago which allowed me to print a > report to a file. Each page was a jpg. I could then insert them into a > manual. It worked great. > > > > But I cannot find it any more. I think it installed like a printer but I > can't remember. It was a free download from the net and I believe it was > from a Russian author. > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate it later. There are a number of commercial apps that do this and let you print to all sorts of graphic formats. They generally run around $40. They include: http://www.dobysoft.com/products/softcopy/index.html http://www.zan1011.com/ http://www.eprintdriver.com/ePrintFilePrinter.html http://www.verypdf.com/artprint/ From Donald.A.McGillivray at sprint.com Mon Nov 20 17:31:00 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 20 Nov 2006 17:31:00 -0600 Subject: [AccessD] Excel Import In-Reply-To: <001e01c70cf9$48e69710$9cb82ad1@SUSANONE> Message-ID: True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) -- 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 20 18:24:52 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 16:24:52 -0800 Subject: [AccessD] Print report to file In-Reply-To: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> Message-ID: <01ea01c70d03$76da4ef0$6401a8c0@HAL9005> Stuart: IIRC, the one I had printed to a few formats including Windows Metafile. I had to do some experimenting to get a format I could use. I think I opened the original output from the program in some picture manipulator and saved it in jpg. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 20, 2006 3:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file On 20 Nov 2006 at 14:46, Beach Access Software wrote: > I got a program from this list a few years ago which allowed me to print a > report to a file. Each page was a jpg. I could then insert them into a > manual. It worked great. > > > > But I cannot find it any more. I think it installed like a printer but I > can't remember. It was a free download from the net and I believe it was > from a Russian author. > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate it later. There are a number of commercial apps that do this and let you print to all sorts of graphic formats. They generally run around $40. They include: http://www.dobysoft.com/products/softcopy/index.html http://www.zan1011.com/ http://www.eprintdriver.com/ePrintFilePrinter.html http://www.verypdf.com/artprint/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 3:04 AM From artful at rogers.com Mon Nov 20 18:24:59 2006 From: artful at rogers.com (artful at rogers.com) Date: Mon, 20 Nov 2006 16:24:59 -0800 (PST) Subject: [AccessD] Create object Message-ID: <20061121002459.2971.qmail@web88214.mail.re2.yahoo.com> Hmm, a clue. I know nothing about this software, but is there a way to open an instance on another computer? Arthur ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Monday, November 20, 2006 12:26:20 PM Subject: Re: [AccessD] Create object Hi John: The problem would appear to be with 3D-FTP which is designed to only open as a single instance, per computer.... Jim From stuart at lexacorp.com.pg Mon Nov 20 18:47:59 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Nov 2006 10:47:59 +1000 Subject: [AccessD] Print report to file In-Reply-To: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> References: <01cb01c70cf5$b3471750$6401a8c0@HAL9005>, <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> Message-ID: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg> On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > it later. > Found it. PrintToPicture by Gretchko Juriy. It creates BMP,PCX or PNG images of printed pages. His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any more so I've put my copy at http://www.lexacorp.com.pg/printToPicture101.exe From k.williamson5 at verizon.net Mon Nov 20 18:59:34 2006 From: k.williamson5 at verizon.net (Keith Williamson) Date: Mon, 20 Nov 2006 19:59:34 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <001801c70d08$5483ed20$650010ac@KeithHome> Well, guys...don't sweat it too much. I'm having to go through hoops right now, while I wait on our damned MIS person to finally give me an ODBC access to the application database. In the meantime, I am downloading data, and loading it into my own db to work with. Ultimately, I'll have linked tables and won't have to do this anymore. I just found it to be an extremely odd thing to encounter. Never ran into this before....and I've done a LOT of excel imports. {sigh} Thanks for the advice. Regards, Keith -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Monday, November 20, 2006 6:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 setel.com Mon Nov 20 20:29:10 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 20 Nov 2006 21:29:10 -0500 Subject: [AccessD] Excel Import In-Reply-To: Message-ID: <000b01c70d14$e0d08f20$18bc2ad1@SUSANONE> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. =======Right -- actually, the inserted row can be anywhere within the range. Susan H. From martyconnelly at shaw.ca Mon Nov 20 20:39:54 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Nov 2006 18:39:54 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> References: <000e01c70ceb$58dd3b50$bab62ad1@SUSANONE> Message-ID: <456266FA.4050804@shaw.ca> SQL Server 2005 Express Edition with Advanced Services SP1 234 Meg http://msdn.microsoft.com/vstudio/express/sql/download/ Advanced Services contains the following features: SQL Server Management Studio Express, a graphical management tool based on SQL Server Management Studio that makes it easy to manage and administer SQL Server Express databases. Reporting Services, an integrated report creation and design environment to create reports. Full-Text Search, a powerful search engine for searching text-intensive data. However Note this about Vista and MSDE non support In an effort to provide customers with more secure products, Microsoft Windows Server "Longhorn" and Microsoft Windows Vista will only support SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available. Earlier versions of SQL Server, including SQL Server 2000 (all editions including Desktop Engine edition, a.k.a MSDE), SQL Server 7.0, and SQL Server 6.5, will not be supported on Windows Server "Longhorn" or Windows Vista. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx You can use the Export functionality in Access to send data to a number of places, including SQL Server. You should be able to find information on this in the Access help file, but here is the general process: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=295865&SiteID=1 Open your database in Access and choose the Export option. Choose ODBC Database from the Files of Type list. Follow the wizard to create a DSN to your SQL Express instance. Pick the tables and click OK. You will need to enable TCP connections to SQL in order for Access to be able to connect and if the SQL Express server is on a different computer than Access you'll need to open Exceptions in the firewall on the server computer. Instructions on how to do that are at http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx http://blogs.msdn.com/sqlexpress/default.aspx Regards, Mike Wachal SQL Express team FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx Susan Harkins wrote: > >I would probably do this with SQL Server 2005 Express Edition with Advanced >Services.SQL Server 2005 Express Edition with Advanced Services is perfect >for use as a backend to a small, multiuser application that requires more >advanced features such as Web reporting or Full-text Search. >You could do this with the full version of SQL 2000 but now is available in >Express. > >========Are you sure that full-text search is supported by Express? > >Susan H. > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Nov 20 20:49:56 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Nov 2006 18:49:56 -0800 Subject: [AccessD] Create object In-Reply-To: <20061121002459.2971.qmail@web88214.mail.re2.yahoo.com> References: <20061121002459.2971.qmail@web88214.mail.re2.yahoo.com> Message-ID: <45626954.4040201@shaw.ca> I think if you look through the registry it will be either multi or single instance registration artful at rogers.com wrote: >Hmm, a clue. I know nothing about this software, but is there a way to open an instance on another computer? > >Arthur > >----- Original Message ---- >From: Jim Lawrence >To: Access Developers discussion and problem solving >Sent: Monday, November 20, 2006 12:26:20 PM >Subject: Re: [AccessD] Create object > >Hi John: > >The problem would appear to be with 3D-FTP which is designed to only open as >a single instance, per computer.... > >Jim > > > > > > -- Marty Connelly Victoria, B.C. Canada From kp at sdsonline.net Mon Nov 20 22:16:12 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 21 Nov 2006 15:16:12 +1100 Subject: [AccessD] CommonDialog 2000 to 2003 Message-ID: <000a01c70d23$c81934a0$6501a8c0@office> I've been working through converting an A2K app to Access 2003 and most issues are resolved. But I am just wondering whther anyone has a sample of a form with a browse / save dialog for me to see in 2003 - I had that all working in 2000 but it seems to have changed significantly. rgds ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From bchacc at san.rr.com Tue Nov 21 01:25:27 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 20 Nov 2006 23:25:27 -0800 Subject: [AccessD] Print report to file In-Reply-To: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg> Message-ID: <020401c70d3e$381ce660$6401a8c0@HAL9005> Stuart: That's it! That will be a lifesaver. But for some reason the link isn't working. I get a 404 - not found on this server. Can you send it off-line to me? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > it later. > Found it. PrintToPicture by Gretchko Juriy. It creates BMP,PCX or PNG images of printed pages. His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any more so I've put my copy at http://www.lexacorp.com.pg/printToPicture101.exe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 3:04 AM From andy at minstersystems.co.uk Tue Nov 21 02:20:57 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 21 Nov 2006 08:20:57 -0000 Subject: [AccessD] Print report to file In-Reply-To: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg> Message-ID: <00cc01c70d45$f9f3fdd0$54a20c54@minster33c3r25> Stuart the link isn't working, or at least not for me. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: 21 November 2006 00:48 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print report to file > > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that > prints to > > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem > to exist any more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe > > > > > -- > 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 21 03:38:51 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Nov 2006 19:38:51 +1000 Subject: [AccessD] Print report to file In-Reply-To: <020401c70d3e$381ce660$6401a8c0@HAL9005> References: <4562D95F.870.8EE7AFA5@stuart.lexacorp.com.pg>, <020401c70d3e$381ce660$6401a8c0@HAL9005> Message-ID: <4562C92B.19041.B6F9ED3@stuart.lexacorp.com.pg> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 > 3:04 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From jwcolby at colbyconsulting.com Tue Nov 21 04:08:23 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 21 Nov 2006 05:08:23 -0500 Subject: [AccessD] Create object In-Reply-To: <45626954.4040201@shaw.ca> Message-ID: <001f01c70d54$fb1c0540$657aa8c0@m6805> And how do you tell this? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 20, 2006 9:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Create object I think if you look through the registry it will be either multi or single instance registration artful at rogers.com wrote: >Hmm, a clue. I know nothing about this software, but is there a way to open an instance on another computer? > >Arthur > >----- Original Message ---- >From: Jim Lawrence >To: Access Developers discussion and problem solving > >Sent: Monday, November 20, 2006 12:26:20 PM >Subject: Re: [AccessD] Create object > >Hi John: > >The problem would appear to be with 3D-FTP which is designed to only >open as a single instance, per computer.... > >Jim > > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 21 05:28:23 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 12:28:23 +0100 Subject: [AccessD] Excel Import Message-ID: Hi Don Perhaps this about Dynamic Named Ranges: http://databaseadvisors.com/pipermail/accessd/2006-March/042838.html Unfortunately, exactly such a range can _not_ be used as the source when linking or importing. /gustav >>> Donald.A.McGillivray at sprint.com 21-11-2006 00:31:00 >>> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) From Gustav at cactus.dk Tue Nov 21 05:47:10 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 12:47:10 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe From bchacc at san.rr.com Tue Nov 21 09:49:49 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 21 Nov 2006 07:49:49 -0800 Subject: [AccessD] Print report to file In-Reply-To: <4562C92B.19041.B6F9ED3@stuart.lexacorp.com.pg> Message-ID: <001701c70d84$ad7727e0$6401a8c0@HAL9005> Got it, Stuart! Thanks. It's a life saver. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 21, 2006 1:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.9/540 - Release Date: 11/20/2006 > 3:04 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006 9:20 PM From shamil at users.mns.ru Tue Nov 21 09:52:53 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 21 Nov 2006 18:52:53 +0300 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <001201c70d85$1b045a30$6401a8c0@nant> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0 %d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to > TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe -- 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 21 10:30:46 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 17:30:46 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Shamil That's it! Thanks Shamil - never heard of that search engine. Great. For anyone else interested in transforming or printing reports directly to picture files, here are the notes for that version: Utility Print To Picture (PTP) is intended for transformation of a printer conclusion of applications Windows to sets of raster graphic documents (pictures). Easier speaking, with the help of utility PTP, any applications Windows can make a seal in a picture, the same way, as on the printer. The basic characteristics of a product: Operation system Windows 2000 or Windows XP or Windows 2003 Server Output format PCX, BMP or PNG Colority Black and White "Paper" form's A4, A5, square 100x100 mm, 120x120 mm, 150x150 mm, envelopes 160x114 mm, 229x114 mm, 229x162 mm Resolution 600,300,200,150,100,75,60,50 dpi Halftoning Supercell or offset cell from 2x2 to 16x16 points Page control Single page per print or multiple pages Cutting mode By picture content; optional In addition the utility allows to establish and delete printers for a seal in a picture. Note that it is freeware. /gustav >>> shamil at users.mns.ru 21-11-2006 16:52:53 >>> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0%d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe From shamil at users.mns.ru Tue Nov 21 12:28:58 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 21 Nov 2006 21:28:58 +0300 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <001401c70d9a$e95fc1c0$6401a8c0@nant> <<< never heard of that search engine. >>> Hi Gustav, I think it appeared before Google, at least I did get it known before Google. The issue is that it's mainly in Cyrillic but if you have windows version with Cyrillic fonts installed like e.g. I do have US/English with Cyrillic then you can just use search textbox of this search engine and you can type English search keywords in it and you can find some useful stuff in English, which isn't visible on Google.... BTW, here is a useful rather good free service to translate web pages including Russian -> English: http://www.online-translator.com/default.asp?lang=en -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 7:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Shamil That's it! Thanks Shamil - never heard of that search engine. Great. For anyone else interested in transforming or printing reports directly to picture files, here are the notes for that version: Utility Print To Picture (PTP) is intended for transformation of a printer conclusion of applications Windows to sets of raster graphic documents (pictures). Easier speaking, with the help of utility PTP, any applications Windows can make a seal in a picture, the same way, as on the printer. The basic characteristics of a product: Operation system Windows 2000 or Windows XP or Windows 2003 Server Output format PCX, BMP or PNG Colority Black and White "Paper" form's A4, A5, square 100x100 mm, 120x120 mm, 150x150 mm, envelopes 160x114 mm, 229x114 mm, 229x162 mm Resolution 600,300,200,150,100,75,60,50 dpi Halftoning Supercell or offset cell from 2x2 to 16x16 points Page control Single page per print or multiple pages Cutting mode By picture content; optional In addition the utility allows to establish and delete printers for a seal in a picture. Note that it is freeware. /gustav >>> shamil at users.mns.ru 21-11-2006 16:52:53 >>> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0 %d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav >>> stuart at lexacorp.com.pg 21-11-2006 10:38:51 >>> Sorry, wrong URL. I forgot to type the directory :-( http://www.lexacorp.com.pg/soft/printToPicture101.exe On 20 Nov 2006 at 23:25, Beach Access Software wrote: > Stuart: > > That's it! That will be a lifesaver. > > But for some reason the link isn't working. I get a 404 - not found on this > server. > > Can you send it off-line to me? > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, November 20, 2006 4:48 PM To: Access Developers discussion and > problem solving Subject: Re: [AccessD] Print report to file > > On 21 Nov 2006 at 9:57, Stuart McLachlan wrote: > > > > I've got an old freeware one floating around somewhere that prints to TIFF, but it's not on this machine. I'll see if it I can locate > > it later. > > > > Found it. PrintToPicture by Gretchko Juriy. > > It creates BMP,PCX or PNG images of printed pages. > > His web page at http://progrex.narod.ru/ptp.html doesn't seem to exist any > more so I've put my copy at > http://www.lexacorp.com.pg/printToPicture101.exe -- 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 21 13:02:30 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 20:02:30 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Shamil Thanks, that may be of help - though I on another Russian site managed to read "no results" in Russian ... /gustav >>> shamil at users.mns.ru 21-11-2006 19:28:58 >>> <<< never heard of that search engine. >>> Hi Gustav, I think it appeared before Google, at least I did get it known before Google. The issue is that it's mainly in Cyrillic but if you have windows version with Cyrillic fonts installed like e.g. I do have US/English with Cyrillic then you can just use search textbox of this search engine and you can type English search keywords in it and you can find some useful stuff in English, which isn't visible on Google.... BTW, here is a useful rather good free service to translate web pages including Russian -> English: http://www.online-translator.com/default.asp?lang=en -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 7:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Shamil That's it! Thanks Shamil - never heard of that search engine. Great. For anyone else interested in transforming or printing reports directly to picture files, here are the notes for that version: Utility Print To Picture (PTP) is intended for transformation of a printer conclusion of applications Windows to sets of raster graphic documents (pictures). Easier speaking, with the help of utility PTP, any applications Windows can make a seal in a picture, the same way, as on the printer. The basic characteristics of a product: Operation system Windows 2000 or Windows XP or Windows 2003 Server Output format PCX, BMP or PNG Colority Black and White "Paper" form's A4, A5, square 100x100 mm, 120x120 mm, 150x150 mm, envelopes 160x114 mm, 229x114 mm, 229x162 mm Resolution 600,300,200,150,100,75,60,50 dpi Halftoning Supercell or offset cell from 2x2 to 16x16 points Page control Single page per print or multiple pages Cutting mode By picture content; optional In addition the utility allows to establish and delete printers for a seal in a picture. Note that it is freeware. /gustav >>> shamil at users.mns.ru 21-11-2006 16:52:53 >>> Gustav, This seems to be a live link to this program but I'm note sure is that the same version you used or not: Watch line wraps: http://ip114-110.cpe.tktor.ru:8000/files/CD-R-%eb%cf%cd%d0%d8%c0%d4%c5%d2%f0 %d2%c5%d3%d3-12-2004/SOFT/soft_grafics/ptp102/ It can be found via www.yandex.com (Russian Internet search engine) using ptp102.zip as search criteria. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 2:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Stuart and Rocky There was a ptp102.zip as well. However, I've lost it, and a Russian site: http://softok.org/multimedia/oth/3026dload.html where it should be for download is offline. If anyone has the file, please drop me a message. /gustav From Gustav at cactus.dk Tue Nov 21 13:06:59 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Nov 2006 20:06:59 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Rocky You better put this life saver of yours in a safe place this time! Or we can expect to have you whining here again in a year or so: http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035448.html /gustav > On 20 Nov 2006 at 23:25, Beach Access Software wrote: > That's it! That will be a lifesaver. > Rocky From accessd at shaw.ca Tue Nov 21 13:13:49 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 21 Nov 2006 11:13:49 -0800 Subject: [AccessD] FW: [U] Soldier in Iraq needs Access Help In-Reply-To: <456266FA.4050804@shaw.ca> Message-ID: <0J9300G0GHCPHXA1@l-daemon> It appears that MS, to that end, has set all their MS SQL products time-sensitive. Any partner copies of MS SQL 2000 that have not been installed within a certain time period will not install. Upon a discussion with a MS rep, though not official, it was described as an attempt to move their partners away from supporting older versions and towards the latest offering. This of course cause some issues with supporting clients who have large investments in an older MS SQL and the developer having to borrow their legal copy so a development site can be created.... legal? I guess the push is not to continue supporting current SQL but to encourage clients to upgrade and developer to retrain. Comments? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 20, 2006 6:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: [U] Soldier in Iraq needs Access Help SQL Server 2005 Express Edition with Advanced Services SP1 234 Meg http://msdn.microsoft.com/vstudio/express/sql/download/ Advanced Services contains the following features: SQL Server Management Studio Express, a graphical management tool based on SQL Server Management Studio that makes it easy to manage and administer SQL Server Express databases. Reporting Services, an integrated report creation and design environment to create reports. Full-Text Search, a powerful search engine for searching text-intensive data. However Note this about Vista and MSDE non support In an effort to provide customers with more secure products, Microsoft Windows Server "Longhorn" and Microsoft Windows Vista will only support SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available. Earlier versions of SQL Server, including SQL Server 2000 (all editions including Desktop Engine edition, a.k.a MSDE), SQL Server 7.0, and SQL Server 6.5, will not be supported on Windows Server "Longhorn" or Windows Vista. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx You can use the Export functionality in Access to send data to a number of places, including SQL Server. You should be able to find information on this in the Access help file, but here is the general process: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=295865&SiteID=1 Open your database in Access and choose the Export option. Choose ODBC Database from the Files of Type list. Follow the wizard to create a DSN to your SQL Express instance. Pick the tables and click OK. You will need to enable TCP connections to SQL in order for Access to be able to connect and if the SQL Express server is on a different computer than Access you'll need to open Exceptions in the firewall on the server computer. Instructions on how to do that are at http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx http://blogs.msdn.com/sqlexpress/default.aspx Regards, Mike Wachal SQL Express team FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx Susan Harkins wrote: > >I would probably do this with SQL Server 2005 Express Edition with Advanced >Services.SQL Server 2005 Express Edition with Advanced Services is perfect >for use as a backend to a small, multiuser application that requires more >advanced features such as Web reporting or Full-text Search. >You could do this with the full version of SQL 2000 but now is available in >Express. > >========Are you sure that full-text search is supported by Express? > >Susan H. > > > -- 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 dejpolsystems.com Tue Nov 21 14:04:43 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 21 Nov 2006 15:04:43 -0500 Subject: [AccessD] Print report to file References: Message-ID: <002b01c70da8$4a031010$3e3de844@50NM721> ...my, my, my ...taking people to the woodshed before supper :) ...problem is, it's often easier to ask here than go searching through huge hard drives on half a dozen different systems ...I know I've done it myself :( ...but sometimes, the Watcher catches you :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, November 21, 2006 2:06 PM Subject: Re: [AccessD] Print report to file > Hi Rocky > > You better put this life saver of yours in a safe place this time! > Or we can expect to have you whining here again in a year or so: > > http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035448.html > > /gustav > > >> On 20 Nov 2006 at 23:25, Beach Access Software wrote: > >> That's it! That will be a lifesaver. >> Rocky > > > > -- > 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 Tue Nov 21 14:06:12 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 21 Nov 2006 20:06:12 -0000 Subject: [AccessD] Hey Shamil References: <001401c70d9a$e95fc1c0$6401a8c0@nant> Message-ID: Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From shamil at users.mns.ru Tue Nov 21 15:09:51 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 00:09:51 +0300 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: Message-ID: <000301c70db1$62d7c9b0$6401a8c0@nant> <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 21, 2006 11:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mwp.reid at qub.ac.uk Tue Nov 21 15:19:52 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 21 Nov 2006 21:19:52 -0000 Subject: [AccessD] OT: RE: Hey Shamil References: <000301c70db1$62d7c9b0$6401a8c0@nant> Message-ID: Shamil I can put you in touch with teh people at my University who deal with overseas students if you woudl like. Maritn Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Shamil Salakhetdinov Sent: Tue 21/11/2006 21:09 To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: RE: Hey Shamil <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 21, 2006 11:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dgibso at uark.edu Tue Nov 21 15:55:31 2006 From: dgibso at uark.edu (David A Gibson) Date: Tue, 21 Nov 2006 15:55:31 -0600 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <000301c70db1$62d7c9b0$6401a8c0@nant> References: <000301c70db1$62d7c9b0$6401a8c0@nant> Message-ID: <7.0.1.0.0.20061121155146.01ef29a0@uark.edu> Shamil, I work for the University of Arkansas in Fayetteville, Arkansas. I used to work with both Domestic and International Admissions but International has since moved toto the Graduate Admissions building. http://www.uark.edu/ua/iao/ This may provide some information for you. David G. At 03:09 PM 11/21/2006, you wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > >>> >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > From JHewson at karta.com Tue Nov 21 16:15:17 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 21 Nov 2006 16:15:17 -0600 Subject: [AccessD] OT: RE: Hey Shamil Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C04ABB12B@karta-exc-int.Karta.com> Shamil, My wife works for St. Mary's University in San Antonio, Texas. This link might be of interest to you. http://www.stmarytx.edu/iss/ Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David A Gibson Sent: Tuesday, November 21, 2006 3:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: RE: Hey Shamil Shamil, I work for the University of Arkansas in Fayetteville, Arkansas. I used to work with both Domestic and International Admissions but International has since moved toto the Graduate Admissions building. http://www.uark.edu/ua/iao/ This may provide some information for you. David G. At 03:09 PM 11/21/2006, you wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > >>> >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > -- 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 21 17:14:07 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Nov 2006 15:14:07 -0800 Subject: [AccessD] Create object In-Reply-To: <001f01c70d54$fb1c0540$657aa8c0@m6805> References: <001f01c70d54$fb1c0540$657aa8c0@m6805> Message-ID: <4563883F.6090706@shaw.ca> Not sure However Depends if it is loaded as a service or a process A service generally defaults to single instance A service is defined by a registry key under HKLM\System\CurrentControlSet\Services, one key per service defined. Obviously there can only be one key called Foo so you can only have one Foo service defined. A process is multi-instance default CuteFTP has a code HKEY_CLASSES_ROOT\Installer\Products\7A8F1B6E2FE2CD747B4DABE7C088D565 Key Name InstanceType regword 0 JWColby wrote: >And how do you tell this? >Mime-Version: 1.0 >Content-Transfer-Encoding: 7bit >Content-Type: text/plain; charset=us-ascii > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, November 20, 2006 9:50 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Create object > >I think if you look through the registry it will be either multi or single >instance registration > >artful at rogers.com wrote: > > > >>Hmm, a clue. I know nothing about this software, but is there a way to open >> >> >an instance on another computer? > > >>Arthur >> >>----- Original Message ---- >>From: Jim Lawrence >>To: Access Developers discussion and problem solving >> >>Sent: Monday, November 20, 2006 12:26:20 PM >>Subject: Re: [AccessD] Create object >> >>Hi John: >> >>The problem would appear to be with 3D-FTP which is designed to only >>open as a single instance, per computer.... >> >>Jim >> >> >> >> >> >> >> >> > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Tue Nov 21 17:32:47 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 21 Nov 2006 15:32:47 -0800 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <010101c70dc5$5a3acd70$6401a8c0@HAL9005> D'oh! Busted... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 21, 2006 11:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Print report to file Hi Rocky You better put this life saver of yours in a safe place this time! Or we can expect to have you whining here again in a year or so: http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035448.html /gustav > On 20 Nov 2006 at 23:25, Beach Access Software wrote: > That's it! That will be a lifesaver. > Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006 9:20 PM From john at winhaven.net Tue Nov 21 17:43:47 2006 From: john at winhaven.net (John Bartow) Date: Tue, 21 Nov 2006 17:43:47 -0600 Subject: [AccessD] Print report to file In-Reply-To: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> Message-ID: <200611212343.kALNhkq31259@databaseadvisors.com> I've downloaded and installed PrintToPicture101.exe. 101 does work in XP but... I then downloaded and meant to install ptp102.zip (which is an upgrade to 101, both are by Gretchko.) The upgrade suggests you first remove the previous version. The unistall for 101 hangs and does nothing. The installation for 102 does nothing. I'm stuck in no man's land. Just a word of caution. From dwaters at usinternet.com Tue Nov 21 17:48:34 2006 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 21 Nov 2006 17:48:34 -0600 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <33099401.1164143980850.JavaMail.root@sniper58> Message-ID: <003c01c70dc7$8f48bbb0$0200a8c0@danwaters> Hi Shamil! This is the link to the University of Minnesota International Student Admissions page. It may be that the climate in Minneapolis is similar to St. Petersburg. http://www.isss.umn.edu/ In rummaging around the UM site, I found this link: http://www.educationusa.state.gov/ Also, have you ever thought of contacting Microsoft to see if you could work for them in some capacity? It seems to me that with the skill you definitely have, that they could find a way for you to make them some money if they would just give you a little bit of theirs! Really! Best of Luck! Dan Waters -----Original Message----- Subject: [AccessD] OT: RE: Hey Shamil <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From garykjos at gmail.com Tue Nov 21 19:16:06 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 21 Nov 2006 19:16:06 -0600 Subject: [AccessD] Print report to file In-Reply-To: <200611212343.kALNhkq31259@databaseadvisors.com> References: <4562CD96.28960.8EB9A65D@stuart.lexacorp.com.pg> <200611212343.kALNhkq31259@databaseadvisors.com> Message-ID: Reinstall 101 maybe? Maybe that one will work good enough? On 11/21/06, John Bartow wrote: > I've downloaded and installed PrintToPicture101.exe. 101 does work in XP > but... > > I then downloaded and meant to install ptp102.zip (which is an upgrade to > 101, both are by Gretchko.) The upgrade suggests you first remove the > previous version. The unistall for 101 hangs and does nothing. The > installation for 102 does nothing. I'm stuck in no man's land. > > Just a word of caution. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From newsgrps at dalyn.co.nz Tue Nov 21 19:16:54 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 14:16:54 +1300 Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> SQL 2000 I have the following query running in Query Analyser: SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName as CustName, dbo.tblCustStatement.StatementDate, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo INNER JOIN dbo.tblCustStatement ON dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceipt.StatNum LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceiptInv.InvNum WHERE -- Remming out this statement works (and removing the AND at the beginning of the next line) (dbo.tblCustStatement.StatementDate >= '2006-11-01' And dbo.tblCustStatement.StatementDate <= '2006-11-30') -- Remming out this statement works AND (dbo.tblCustomers.AccStatus= 'Active') AND (dbo.tblCustStatement.[CurrentMth]+ dbo.tblCustStatement.[OneMonth]+ dbo.tblCustStatement.[TwoMonths]+ dbo.tblCustStatement.[ThreeMonths] + ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) + ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) + ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) AND (dbo.tblCustomers.PayArrange = 0) AND (dbo.tblCustomers.NoOverdueNote = 0) -- Remming out this statement works AND ( CASE WHEN ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' ELSE LEFT(dbo.tblCustomers.CreditStatus,2) END < CAST(DAY(GETDATE()) AS varchar(2))) AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR dbo.tblCustomers.CreditStatus IS NULL) -- Remming out this statement works AND (dbo.tblCustStatement.StatementNumber <> 1) ORDER BY CustName, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementDate When I remark out any 1 of the AND statements noted above in the WHERE clause the results come back in a couple of seconds. However, when I include all AND statement the query runs doesn't return any results (at least not within the first ten minutes!) There doesn't seem to be any pattern to the lines that can be remmed or combinations of remaining lines. The only clue I have is that data from the database from two months ago works fine but there are 750 more records in each table being filtered. Any suggestions as to how I can solve this - it seems to be a data issue but the various combinations of AND statements above doesn't make sense. From martyconnelly at shaw.ca Tue Nov 21 19:31:01 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Nov 2006 17:31:01 -0800 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <000301c70db1$62d7c9b0$6401a8c0@nant> References: <000301c70db1$62d7c9b0$6401a8c0@nant> Message-ID: <4563A855.8070707@shaw.ca> Here is one of interest, they usually try to attract foriegn students with bursaries in their MA program. It attracts job offers from External Affairs department and International Banking firms. Norman Paterson School of International Affairs Carleton University, Ottawa. http://www.carleton.ca/npsia/index.html I coughed when I saw the fees. I had a roommate who went through this program. She made it through by working part time as a bank teller. It didn't interfere with her classes. I also used to go skiing with Norman's granddaughter Ellen Patterson who was also in the program at that time. The fees to her were less than her allowance. Some Candian Universities offer a CO-OP program A split work term - university term where the student gets work experience and enough pay to cover tuition. Something to look for if tuition a problem. Although a 4 year degree takes 5 years to complete. Also you come out with two years work experience. Microsoft grabs a lot of these guys at Waterloo for work terms. http://www.cecs.uwaterloo.ca/students/prospective/ Waterloo is one of the top Math/Engineering schools in Canada. Computer Science is part of the Mathematics Faculty. Located 120 miles west of Toronto. http://www.uwaterloo.ca/ Shamil Salakhetdinov wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > > >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >Sent: Tuesday, November 21, 2006 11:06 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Hey Shamil > >Had a girl from your city on my course today. > >Svetlana Svyatko > >Her brother is a student at the University you worked at in St Petersburg. > >Martin > > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Tue Nov 21 19:34:02 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 21 Nov 2006 17:34:02 -0800 Subject: [AccessD] Print report to file In-Reply-To: Message-ID: <014a01c70dd6$4ac8bb20$6401a8c0@HAL9005> You know, I installed 1.02 right over 1.01 without a problem. But the first time it aborted because 1.01 was still running. After I terminated 1.01, the install of 1.02 went just fine. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 21, 2006 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file Reinstall 101 maybe? Maybe that one will work good enough? On 11/21/06, John Bartow wrote: > I've downloaded and installed PrintToPicture101.exe. 101 does work in XP > but... > > I then downloaded and meant to install ptp102.zip (which is an upgrade to > 101, both are by Gretchko.) The upgrade suggests you first remove the > previous version. The unistall for 101 hangs and does nothing. The > installation for 102 does nothing. I'm stuck in no man's land. > > Just a word of caution. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006 9:20 PM From martyconnelly at shaw.ca Tue Nov 21 20:33:11 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Nov 2006 18:33:11 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <4563B6E7.8050602@shaw.ca> How about limiting the returned records with something like Select TOP 10 I forget the exact syntax for SQL 2000 like the LIMIT statement in MySQL or WHERE ROWNUM >11 in Oracle or new function ROW_NUMBER() in SQL 2005 David Emerson wrote: >SQL 2000 > >I have the following query running in Query Analyser: > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName >as CustName, dbo.tblCustStatement.StatementDate, > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > INNER JOIN dbo.tblCustStatement ON >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceipt.StatNum > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceiptInv.InvNum >WHERE > -- Remming out this statement works (and removing the AND at >the beginning of the next line) > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And >dbo.tblCustStatement.StatementDate <= '2006-11-30') > -- Remming out this statement works > AND (dbo.tblCustomers.AccStatus= 'Active') > AND (dbo.tblCustStatement.[CurrentMth]+ >dbo.tblCustStatement.[OneMonth]+ >dbo.tblCustStatement.[TwoMonths]+ >dbo.tblCustStatement.[ThreeMonths] + >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > AND (dbo.tblCustomers.PayArrange = 0) > AND (dbo.tblCustomers.NoOverdueNote = 0) > -- Remming out this statement works > AND ( CASE > WHEN >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > END < CAST(DAY(GETDATE()) AS varchar(2))) > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR >dbo.tblCustomers.CreditStatus IS NULL) > -- Remming out this statement works > AND (dbo.tblCustStatement.StatementNumber <> 1) >ORDER BY CustName, dbo.tblCustomers.AccountNo, >dbo.tblCustStatement.StatementDate > >When I remark out any 1 of the AND statements noted above in the >WHERE clause the results come back in a couple of seconds. >However, when I include all AND statement the query runs doesn't >return any results (at least not within the first ten minutes!) > >There doesn't seem to be any pattern to the lines that can be remmed >or combinations of remaining lines. The only clue I have is that >data from the database from two months ago works fine but there are >750 more records in each table being filtered. > >Any suggestions as to how I can solve this - it seems to be a data >issue but the various combinations of AND statements above doesn't make sense. > > > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Tue Nov 21 20:43:18 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 21 Nov 2006 18:43:18 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> You are forcing table scans everywhere. You must rethink this. Divide the problems into atomic queries and then build up to molecular queries. The ANDs are killing you. Do the OUTER JOINs first, each as an atom, then combine those, then do your query. I suggest that performance will escalate dramatically. hth, Arthur David Emerson wrote: >SQL 2000 > >I have the following query running in Query Analyser: > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName >as CustName, dbo.tblCustStatement.StatementDate, > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > INNER JOIN dbo.tblCustStatement ON >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceipt.StatNum > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceiptInv.InvNum >WHERE > -- Remming out this statement works (and removing the AND at >the beginning of the next line) > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And >dbo.tblCustStatement.StatementDate <= '2006-11-30') > -- Remming out this statement works > AND (dbo.tblCustomers.AccStatus= 'Active') > AND (dbo.tblCustStatement.[CurrentMth]+ >dbo.tblCustStatement.[OneMonth]+ >dbo.tblCustStatement.[TwoMonths]+ >dbo.tblCustStatement.[ThreeMonths] + >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > AND (dbo.tblCustomers.PayArrange = 0) > AND (dbo.tblCustomers.NoOverdueNote = 0) > -- Remming out this statement works > AND ( CASE > WHEN >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > END < CAST(DAY(GETDATE()) AS varchar(2))) > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR >dbo.tblCustomers.CreditStatus IS NULL) > -- Remming out this statement works > AND (dbo.tblCustStatement.StatementNumber <> 1) >ORDER BY CustName, dbo.tblCustomers.AccountNo, >dbo.tblCustStatement.StatementDate > >When I remark out any 1 of the AND statements noted above in the >WHERE clause the results come back in a couple of seconds. >However, when I include all AND statement the query runs doesn't >return any results (at least not within the first ten minutes!) > >There doesn't seem to be any pattern to the lines that can be remmed >or combinations of remaining lines. The only clue I have is that >data from the database from two months ago works fine but there are >750 more records in each table being filtered. > >Any suggestions as to how I can solve this - it seems to be a data >issue but the various combinations of AND statements above doesn't make sense. > > > > -- 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 newsgrps at dalyn.co.nz Tue Nov 21 21:18:31 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:18:31 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> References: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> Message-ID: <20061122031958.TUHI27418.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Arthur, I am not quite sure what you mean. Are you suggesting that I create queries within the query to do the filtering? For example, instead of filtering the dbo.tblCustomers table in the WHERE statement, I should use a query in the FROM statement based on the dbo.tblCustomers table and filter there? David At 22/11/2006, you wrote: >You are forcing table scans everywhere. You must rethink this. >Divide the problems into atomic queries and then build up to >molecular queries. The ANDs are killing you. Do the OUTER JOINs >first, each as an atom, then combine those, then do your query. I >suggest that performance will escalate dramatically. > >hth, >Arthur > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 newsgrps at dalyn.co.nz Tue Nov 21 21:24:50 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:24:50 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <4563B6E7.8050602@shaw.ca> References: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> <4563B6E7.8050602@shaw.ca> Message-ID: <20061122032423.TEMG29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks for the suggestion, however since we want all the records that match the filters I can't see how using TOP will help (unless it is TOP 100)? David At 22/11/2006, you wrote: >How about limiting the returned records with >something like Select TOP 10 >I forget the exact syntax for SQL 2000 > like the LIMIT statement in MySQL or WHERE ROWNUM >11 >in Oracle or new function ROW_NUMBER() in SQL 2005 > > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 newsgrps at dalyn.co.nz Tue Nov 21 21:28:26 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:28:26 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> References: <20061122024318.35961.qmail@web88206.mail.re2.yahoo.com> Message-ID: <20061122032815.UFBO27418.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Another thing - I have another database which is basically the same structure with over 4 times the number of records in all tables, and that works with the same query no problem. David At 22/11/2006, you wrote: >You are forcing table scans everywhere. You must rethink this. >Divide the problems into atomic queries and then build up to >molecular queries. The ANDs are killing you. Do the OUTER JOINs >first, each as an atom, then combine those, then do your query. I >suggest that performance will escalate dramatically. > >hth, >Arthur > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 artful at rogers.com Tue Nov 21 21:33:28 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 21 Nov 2006 19:33:28 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122033328.33489.qmail@web88205.mail.re2.yahoo.com> Precisely. I call this "Atomic and Molecular Queries." Atomic queries address precisely one table (or view), and molecular queries assemble at least two atomic queries. This gives you a) optimization and b) re-usability. Arthur ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:18:31 PM Subject: Re: [AccessD] Stored Procedure not producing results Thanks Arthur, I am not quite sure what you mean. Are you suggesting that I create queries within the query to do the filtering? For example, instead of filtering the dbo.tblCustomers table in the WHERE statement, I should use a query in the FROM statement based on the dbo.tblCustomers table and filter there? David At 22/11/2006, you wrote: >You are forcing table scans everywhere. You must rethink this. >Divide the problems into atomic queries and then build up to >molecular queries. The ANDs are killing you. Do the OUTER JOINs >first, each as an atom, then combine those, then do your query. I >suggest that performance will escalate dramatically. > >hth, >Arthur > >David Emerson wrote: > > >SQL 2000 > > > >I have the following query running in Query Analyser: > > > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName > >as CustName, dbo.tblCustStatement.StatementDate, > > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber > >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON > >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > > INNER JOIN dbo.tblCustStatement ON > >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceipt.StatNum > > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON > >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > > AND dbo.tblCustStatement.StatementNumber = > >dbo.vwAgedDebtorReceiptInv.InvNum > >WHERE > > -- Remming out this statement works (and removing the AND at > >the beginning of the next line) > > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And > >dbo.tblCustStatement.StatementDate <= '2006-11-30') > > -- Remming out this statement works > > AND (dbo.tblCustomers.AccStatus= 'Active') > > AND (dbo.tblCustStatement.[CurrentMth]+ > >dbo.tblCustStatement.[OneMonth]+ > >dbo.tblCustStatement.[TwoMonths]+ > >dbo.tblCustStatement.[ThreeMonths] + > >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) > >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ > >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) > >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > > AND (dbo.tblCustomers.PayArrange = 0) > > AND (dbo.tblCustomers.NoOverdueNote = 0) > > -- Remming out this statement works > > AND ( CASE > > WHEN > >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > > END < CAST(DAY(GETDATE()) AS varchar(2))) > > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR > >dbo.tblCustomers.CreditStatus IS NULL) > > -- Remming out this statement works > > AND (dbo.tblCustStatement.StatementNumber <> 1) > >ORDER BY CustName, dbo.tblCustomers.AccountNo, > >dbo.tblCustStatement.StatementDate > > > >When I remark out any 1 of the AND statements noted above in the > >WHERE clause the results come back in a couple of seconds. > >However, when I include all AND statement the query runs doesn't > >return any results (at least not within the first ten minutes!) > > > >There doesn't seem to be any pattern to the lines that can be remmed > >or combinations of remaining lines. The only clue I have is that > >data from the database from two months ago works fine but there are > >750 more records in each table being filtered. > > > >Any suggestions as to how I can solve this - it seems to be a data > >issue but the various combinations of AND statements above doesn't > make sense. > > > > > > > > > >-- >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 artful at rogers.com Tue Nov 21 21:34:30 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 21 Nov 2006 19:34:30 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122033430.98449.qmail@web88209.mail.re2.yahoo.com> Then compare the table definitions and the index definitions. Something is radically amiss if it works here and not there. Arthur ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:28:26 PM Subject: Re: [AccessD] Stored Procedure not producing results Another thing - I have another database which is basically the same structure with over 4 times the number of records in all tables, and that works with the same query no problem. David From newsgrps at dalyn.co.nz Tue Nov 21 21:53:58 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Nov 2006 16:53:58 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122033430.98449.qmail@web88209.mail.re2.yahoo.com> References: <20061122033430.98449.qmail@web88209.mail.re2.yahoo.com> Message-ID: <20061122035352.VPNA27418.fep05.xtra.co.nz@Dalyn.dalyn.co.nz> Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David At 22/11/2006, artful at rogers.com wrote: >Then compare the table definitions and the index definitions. >Something is radically amiss if it works here and not there. > >Arthur > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving > >Sent: Tuesday, November 21, 2006 10:28:26 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >Another thing - I have another database which is basically the same >structure with over 4 times the number of records in all tables, and >that works with the same query no problem. > >David > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 05:08:27 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 03:08:27 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> If the structures haven't changed, then the data is the villain. But you have a concrete clue to work from. Devise some scope that will include only the data from two months ago and verify your assertion. Then expand the scope to "two months ago plus a day" and run it again. Repeat until failure. This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving ; Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:53:58 PM Subject: Re: [AccessD] Stored Procedure not producing results Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David From jwcolby at colbyconsulting.com Wed Nov 22 05:16:35 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 06:16:35 -0500 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> Message-ID: <001a01c70e27$ae2f3030$647aa8c0@m6805> >This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). Amen! I do that regularly now. It juts makes managing data so much easier when you can see when it was entered. I actually use the date + time so that I can see things like how long an append query takes to run (time of last entry in the "batch minus time of first entry in the "batch"). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results If the structures haven't changed, then the data is the villain. But you have a concrete clue to work from. Devise some scope that will include only the data from two months ago and verify your assertion. Then expand the scope to "two months ago plus a day" and run it again. Repeat until failure. This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving ; Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:53:58 PM Subject: Re: [AccessD] Stored Procedure not producing results Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David -- 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 22 05:53:06 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Nov 2006 12:53:06 +0100 Subject: [AccessD] Print report to file Message-ID: Hi Rocky and John Yes, that's what may be required. Gretchko's own advice is a reboot: 5. Setup the new version of the program it is desirable after removal old version. Before installation it is desirable to reboot a computer. /gustav >>> bchacc at san.rr.com 22-11-2006 02:34:02 >>> You know, I installed 1.02 right over 1.01 without a problem. But the first time it aborted because 1.01 was still running. After I terminated 1.01, the install of 1.02 went just fine. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 21, 2006 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print report to file Reinstall 101 maybe? Maybe that one will work good enough? On 11/21/06, John Bartow wrote: > I've downloaded and installed PrintToPicture101.exe. 101 does work in XP > but... > > I then downloaded and meant to install ptp102.zip (which is an upgrade to > 101, both are by Gretchko.) The upgrade suggests you first remove the > previous version. The unistall for 101 hangs and does nothing. The > installation for 102 does nothing. I'm stuck in no man's land. > > Just a word of caution. From accessd at shaw.ca Wed Nov 22 05:57:28 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Nov 2006 03:57:28 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <0J9400G9ARTCVFL2@l-daemon> Hi David: Just a further comment after conferring with a friend; it was noted that each one of the statements, that were plused together require a complete scan of their respective tables before they can be added. The overhead must be immense. Try using the Rollup or Cube statements, which are highly optimized and should give you a decent speed increase (http://databases.about.com/od/sql/l/aacuberollup.htm) It was also suggested that, if you have control over the database tables designing and this report is needed on a regular bases, a single table consolidating the flag fields would improve performance. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 21, 2006 5:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Stored Procedure not producing results SQL 2000 I have the following query running in Query Analyser: SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName as CustName, dbo.tblCustStatement.StatementDate, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo INNER JOIN dbo.tblCustStatement ON dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceipt.StatNum LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo AND dbo.tblCustStatement.StatementNumber = dbo.vwAgedDebtorReceiptInv.InvNum WHERE -- Remming out this statement works (and removing the AND at the beginning of the next line) (dbo.tblCustStatement.StatementDate >= '2006-11-01' And dbo.tblCustStatement.StatementDate <= '2006-11-30') -- Remming out this statement works AND (dbo.tblCustomers.AccStatus= 'Active') AND (dbo.tblCustStatement.[CurrentMth]+ dbo.tblCustStatement.[OneMonth]+ dbo.tblCustStatement.[TwoMonths]+ dbo.tblCustStatement.[ThreeMonths] + ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) + ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) + ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) AND (dbo.tblCustomers.PayArrange = 0) AND (dbo.tblCustomers.NoOverdueNote = 0) -- Remming out this statement works AND ( CASE WHEN ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' ELSE LEFT(dbo.tblCustomers.CreditStatus,2) END < CAST(DAY(GETDATE()) AS varchar(2))) AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR dbo.tblCustomers.CreditStatus IS NULL) -- Remming out this statement works AND (dbo.tblCustStatement.StatementNumber <> 1) ORDER BY CustName, dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementDate When I remark out any 1 of the AND statements noted above in the WHERE clause the results come back in a couple of seconds. However, when I include all AND statement the query runs doesn't return any results (at least not within the first ten minutes!) There doesn't seem to be any pattern to the lines that can be remmed or combinations of remaining lines. The only clue I have is that data from the database from two months ago works fine but there are 750 more records in each table being filtered. Any suggestions as to how I can solve this - it seems to be a data issue but the various combinations of AND statements above doesn't make sense. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 06:14:50 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 04:14:50 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122121451.37330.qmail@web88207.mail.re2.yahoo.com> Right on. That's why I suggested the default GetDate(). There is a whole other subject on this, about which I have written, but I googled it and it didn't come up, so perhaps I wrote it and forgot to sell it to somebody. The gist is this: it's called PITA, which doesn't mean pain in the arse, but rather Point In Time Architecture. Without PITA, the central problem with relational databases is that they don't provide an instant "roll back to August 1" capability. With PITA, they do. It's not all that complicated, but it does require a detailed walk-through so you can understand all the implications, the most critical of which is, "Nothing is ever updated. An updated row is actually replaced, and the updated row's EndDate column is updated to reflect the datetime on which the row was "changed". Thus it becomes possible to issue a query that reflects the state of the database on August 1, 2005. Obviously this increases the size of the db significantly, but in certain environments (such as medical), this is critical -- who was JWC's physician on that date, and what tests were performed, and by which medicos, and so on. So. Today's job is to dig out that PITA article and pitch it to somebody. Arthur ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 6:16:35 AM Subject: Re: [AccessD] Stored Procedure not producing results >This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). Amen! I do that regularly now. It juts makes managing data so much easier when you can see when it was entered. I actually use the date + time so that I can see things like how long an append query takes to run (time of last entry in the "batch minus time of first entry in the "batch"). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results If the structures haven't changed, then the data is the villain. But you have a concrete clue to work from. Devise some scope that will include only the data from two months ago and verify your assertion. Then expand the scope to "two months ago plus a day" and run it again. Repeat until failure. This assumes of course that the scope is expandable so easily. (A good reason to have a "DateEntered" column in every table, which defaults to GetDate()). ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving ; Access Developers discussion and problem solving Sent: Tuesday, November 21, 2006 10:53:58 PM Subject: Re: [AccessD] Stored Procedure not producing results Worse - my database from two months ago works fine, but the latest version is the one that is causing the problem. This may indicate a data problem perhaps? David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 07:27:43 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 16:27:43 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122121451.37330.qmail@web88207.mail.re2.yahoo.com> Message-ID: <000601c70e3a$00281f70$6401a8c0@nant> <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results Right on. That's why I suggested the default GetDate(). There is a whole other subject on this, about which I have written, but I googled it and it didn't come up, so perhaps I wrote it and forgot to sell it to somebody. The gist is this: it's called PITA, which doesn't mean pain in the arse, but rather Point In Time Architecture. Without PITA, the central problem with relational databases is that they don't provide an instant "roll back to August 1" capability. With PITA, they do. It's not all that complicated, but it does require a detailed walk-through so you can understand all the implications, the most critical of which is, "Nothing is ever updated. An updated row is actually replaced, and the updated row's EndDate column is updated to reflect the datetime on which the row was "changed". Thus it becomes possible to issue a query that reflects the state of the database on August 1, 2005. Obviously this increases the size of the db significantly, but in certain environments (such as medical), this is critical -- who was JWC's physician on that date, and what tests were performed, and by which medicos, and so on. So. Today's job is to dig out that PITA article and pitch it to somebody. Arthur <<< tail skipped >>> From Gustav at cactus.dk Wed Nov 22 07:41:01 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Nov 2006 14:41:01 +0100 Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav >>> artful at rogers.com 22-11-2006 13:14:50 >>> Right on. That's why I suggested the default GetDate(). There is a whole other subject on this, about which I have written, but I googled it and it didn't come up, so perhaps I wrote it and forgot to sell it to somebody. The gist is this: it's called PITA, which doesn't mean pain in the arse, but rather Point In Time Architecture. Without PITA, the central problem with relational databases is that they don't provide an instant "roll back to August 1" capability. With PITA, they do. It's not all that complicated, but it does require a detailed walk-through so you can understand all the implications, the most critical of which is, "Nothing is ever updated. An updated row is actually replaced, and the updated row's EndDate column is updated to reflect the datetime on which the row was "changed". Thus it becomes possible to issue a query that reflects the state of the database on August 1, 2005. Obviously this increases the size of the db significantly, but in certain environments (such as medical), this is critical -- who was JWC's physician on that date, and what tests were performed, and by which medicos, and so on. So. Today's job is to dig out that PITA article and pitch it to somebody. Arthur From artful at rogers.com Wed Nov 22 08:03:13 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 06:03:13 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil From artful at rogers.com Wed Nov 22 08:10:35 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 06:10:35 -0800 (PST) Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: <20061122141035.57453.qmail@web88213.mail.re2.yahoo.com> My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav From adtp at airtelbroadband.in Wed Nov 22 08:42:07 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 22 Nov 2006 20:12:07 +0530 Subject: [AccessD] Excel Import References: Message-ID: <012601c70e44$6eef73e0$9f0b65cb@pcadt> Updating of data in Access db via import or link from Excel workbook, based upon dynamic named range is demonstrated in my sample db named ExcelToAccess, available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. The process is driven from excel end. Data blocks can be located anywhere on any of the worksheets. Progressive data transfers, involving more than one sheet (a sheet at a time), can be carried out as required. Two alternative styles are covered: (a) Select top left column heading of data block and execute. (b) No need to select any cell. Data block on active sheet will get transferred. A.D.Tejpal --------------- ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tuesday, November 21, 2006 16:58 Subject: Re: [AccessD] Excel Import Hi Don Perhaps this about Dynamic Named Ranges: http://databaseadvisors.com/pipermail/accessd/2006-March/042838.html Unfortunately, exactly such a range can _not_ be used as the source when linking or importing. /gustav >>> Donald.A.McGillivray at sprint.com 21-11-2006 00:31:00 >>> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don From jwcolby at colbyconsulting.com Wed Nov 22 08:49:02 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 09:49:02 -0500 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> Message-ID: <002401c70e45$5bf120d0$647aa8c0@m6805> Yes, but there has to be a limit somewhere. Suppose the physician moved. Do I care what his old address was. It is the same physician. Suppose he gets a new phone number, fax number, etc. I can see where in some cases you would want to preserve every piece of data in particular tables, but in EVERY table? And in your "family doctor" example, why not simply create a doctor table, then a FamilyDoctor table that relates family to doctor. The FamilyDoctor table has a begin / end date. New doctor, new entry in the FamilyDoctor table. The old FamilyDoctor entry remains and provides the history of who the family doctor was at any given date. The m-m FamilyDoctor table is just two pointers (family and doctor) and a begin / end date. MUCH simpler than preserving the entire doctor record whenever any tiny piece of that doctor record changed, not to mention updating a pointer to that doctor record in every family's record when some trivial piece of doctor info changes. Again, I am not arguing with the concept, simply the scope of application of the concept. So IF you agree that you limit the scope to specific tables, how do you determine and automatically apply the concept to specific tables, and not to others? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 08:49:33 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 17:49:33 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> Message-ID: <003b01c70e45$6c84e710$6401a8c0@nant> <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> From artful at rogers.com Wed Nov 22 09:14:18 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 07:14:18 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122151418.26001.qmail@web88206.mail.re2.yahoo.com> It seems that you missed the point, JWC. In a PITA setup, nothing is ever destroyed or overwritten. Thus I can roll back the database (metaphorically) and discover that on January 11, 2004 Dr. JWC had his office at 123 Main Street, but on February 1st of the same year, he moved his offices to 234 Side Street. On the former date, Dr. JWC had x clients, and on the latter date he had y clients. That is the whole point of PITA. You do not apply the concept to some tables and not others, in general. The distinction lies on QCDs (quickly changing dimensions) versus SCDs (slowly changing dimensions). To be safe, you apply the "do not destroy anything" to all tables in the database. For example, Yugloslavia and the former USSR became several countries recently. But we need to be able to look up JWC as of September, 1990 and see the data as it existed then. At that time, Sarajevo was in Yugoslavia. Now it is not. I still need to preserve your 1990 address. Arthur ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:02 AM Subject: Re: [AccessD] Stored Procedure not producing results Yes, but there has to be a limit somewhere. Suppose the physician moved. Do I care what his old address was. It is the same physician. Suppose he gets a new phone number, fax number, etc. I can see where in some cases you would want to preserve every piece of data in particular tables, but in EVERY table? And in your "family doctor" example, why not simply create a doctor table, then a FamilyDoctor table that relates family to doctor. The FamilyDoctor table has a begin / end date. New doctor, new entry in the FamilyDoctor table. The old FamilyDoctor entry remains and provides the history of who the family doctor was at any given date. The m-m FamilyDoctor table is just two pointers (family and doctor) and a begin / end date. MUCH simpler than preserving the entire doctor record whenever any tiny piece of that doctor record changed, not to mention updating a pointer to that doctor record in every family's record when some trivial piece of doctor info changes. Again, I am not arguing with the concept, simply the scope of application of the concept. So IF you agree that you limit the scope to specific tables, how do you determine and automatically apply the concept to specific tables, and not to others? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Nov 22 09:18:40 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 22 Nov 2006 10:18:40 -0500 Subject: [AccessD] Excel Import Message-ID: Thanks!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, November 22, 2006 9:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import Updating of data in Access db via import or link from Excel workbook, based upon dynamic named range is demonstrated in my sample db named ExcelToAccess, available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. The process is driven from excel end. Data blocks can be located anywhere on any of the worksheets. Progressive data transfers, involving more than one sheet (a sheet at a time), can be carried out as required. Two alternative styles are covered: (a) Select top left column heading of data block and execute. (b) No need to select any cell. Data block on active sheet will get transferred. A.D.Tejpal --------------- ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Tuesday, November 21, 2006 16:58 Subject: Re: [AccessD] Excel Import Hi Don Perhaps this about Dynamic Named Ranges: http://databaseadvisors.com/pipermail/accessd/2006-March/042838.html Unfortunately, exactly such a range can _not_ be used as the source when linking or importing. /gustav >>> Donald.A.McGillivray at sprint.com 21-11-2006 00:31:00 >>> True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 09:18:44 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 07:18:44 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122151845.63792.qmail@web88209.mail.re2.yahoo.com> I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- 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 22 09:45:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Nov 2006 16:45:32 +0100 Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: Hi Arthur and Shamil "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports." >>> > You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? Note that to implement a temporal database in full (I guess we will loose JC here), not two but _four_ time fields must exist: In the literature, two time lines of interest have been mentioned, transaction time and valid time. The valid time line represents when a fact is valid in modelled world (i.e. when it was believed) and the transaction time line represents when a transaction was performed. A bitemporal database is a combination of valid time and transaction time databases where these two time lines are considered to be orthogonal. (Snodgrass & Ahn 1986) Again, accounting can display the beauty of this: Consider writing an invoice; you do this, of course, "today", while the invoice date may be either past, present, or future. Later, selecting on transaction dates will reveal wether this invoice was created or not; selecting on valid date will show wether this invoice was issued or not. You may put it in another perspective: Transaction dates record by themselves an audit trail which allows you to, at any time, to perform a dynamic virtual rollback to any previous time, while the valid date will show you the (approved) state of the data at that time. Specifically, this allows you to correct previous recordings (say, a wrongly typed invoice number of a supplier's invoice), or record a future change of a customer's address and - until he moves - to issue invoices correctly addressed to his present address. /gustav >>> artful at rogers.com 22-11-2006 15:10:35 >>> My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav From cfoust at infostatsystems.com Wed Nov 22 09:53:43 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Nov 2006 07:53:43 -0800 Subject: [AccessD] Temporal database (was: Stored Procedure notproducing results) In-Reply-To: <20061122141035.57453.qmail@web88213.mail.re2.yahoo.com> Message-ID: I'm with you Arthur. The Kimball Group stuff is where I learned about data warehousing, and I have at least 3 of his books. Simple concept once you get your head wrapped around it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Temporal database (was: Stored Procedure notproducing results) My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 10:00:20 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 08:00:20 -0800 (PST) Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Message-ID: <20061122160020.13994.qmail@web88204.mail.re2.yahoo.com> Quite right, on all counts, Gustav. I stated purposely that I was providing a thumbnail sketch, but I ought to have included these points in said thumbnail. Thanks for the amendments. Arthur ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 10:45:32 AM Subject: Re: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur and Shamil "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports." >>> > You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? Note that to implement a temporal database in full (I guess we will loose JC here), not two but _four_ time fields must exist: In the literature, two time lines of interest have been mentioned, transaction time and valid time. The valid time line represents when a fact is valid in modelled world (i.e. when it was believed) and the transaction time line represents when a transaction was performed. A bitemporal database is a combination of valid time and transaction time databases where these two time lines are considered to be orthogonal. (Snodgrass & Ahn 1986) Again, accounting can display the beauty of this: Consider writing an invoice; you do this, of course, "today", while the invoice date may be either past, present, or future. Later, selecting on transaction dates will reveal wether this invoice was created or not; selecting on valid date will show wether this invoice was issued or not. You may put it in another perspective: Transaction dates record by themselves an audit trail which allows you to, at any time, to perform a dynamic virtual rollback to any previous time, while the valid date will show you the (approved) state of the data at that time. Specifically, this allows you to correct previous recordings (say, a wrongly typed invoice number of a supplier's invoice), or record a future change of a customer's address and - until he moves - to issue invoices correctly addressed to his present address. /gustav From prodevmg at yahoo.com Wed Nov 22 10:40:51 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 22 Nov 2006 08:40:51 -0800 (PST) Subject: [AccessD] Can I mouse over a continuous form's control and display the value? Message-ID: <20061122164051.42401.qmail@web33114.mail.mud.yahoo.com> I have a control on a continuous form. It does not show all the text because of size constraints. I want to mouse over this control and have the value of that control for that record to show in the ControlTextTip property. The control is also a calculated field. Is there any thing any one can think of for me to be able to show that value when I mouse over it? I do not want to select the control either because there is code that will fire in the On Click event. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $420k for $1,399/mo. Calculate new payment! www.LowerMyBills.com/lre From jwcolby at colbyconsulting.com Wed Nov 22 10:41:15 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 11:41:15 -0500 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122151418.26001.qmail@web88206.mail.re2.yahoo.com> Message-ID: <003101c70e55$0787ae50$647aa8c0@m6805> I didn't miss your point, perhaps you missed mine. IF you need to know that, or are ever going to need that data, so be it and use that methodology. For my purposes I have no use for the doctor's past addresses. I do have a use for every bit of his diagnosis data. Thus "apply it to the whole database" makes no sense to me. I really don't care where Sarajevo used to be, I only care about getting my payments to the right place, so I need to know where it is today. If I want to know where Sarajevo used to be I will look it up on old maps. Where was it before it got in your database? You don't know, and you will have to look it up on old maps as well. You're point is nothing ever changes anywhere in the database. My point is that is useless and clumsy in most cases. Nothing ever changes in THIS PARTICULAR TABLE(S) is extremely valuable and worth doing. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results It seems that you missed the point, JWC. In a PITA setup, nothing is ever destroyed or overwritten. Thus I can roll back the database (metaphorically) and discover that on January 11, 2004 Dr. JWC had his office at 123 Main Street, but on February 1st of the same year, he moved his offices to 234 Side Street. On the former date, Dr. JWC had x clients, and on the latter date he had y clients. That is the whole point of PITA. You do not apply the concept to some tables and not others, in general. The distinction lies on QCDs (quickly changing dimensions) versus SCDs (slowly changing dimensions). To be safe, you apply the "do not destroy anything" to all tables in the database. For example, Yugloslavia and the former USSR became several countries recently. But we need to be able to look up JWC as of September, 1990 and see the data as it existed then. At that time, Sarajevo was in Yugoslavia. Now it is not. I still need to preserve your 1990 address. Arthur ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:02 AM Subject: Re: [AccessD] Stored Procedure not producing results Yes, but there has to be a limit somewhere. Suppose the physician moved. Do I care what his old address was. It is the same physician. Suppose he gets a new phone number, fax number, etc. I can see where in some cases you would want to preserve every piece of data in particular tables, but in EVERY table? And in your "family doctor" example, why not simply create a doctor table, then a FamilyDoctor table that relates family to doctor. The FamilyDoctor table has a begin / end date. New doctor, new entry in the FamilyDoctor table. The old FamilyDoctor entry remains and provides the history of who the family doctor was at any given date. The m-m FamilyDoctor table is just two pointers (family and doctor) and a begin / end date. MUCH simpler than preserving the entire doctor record whenever any tiny piece of that doctor record changed, not to mention updating a pointer to that doctor record in every family's record when some trivial piece of doctor info changes. Again, I am not arguing with the concept, simply the scope of application of the concept. So IF you agree that you limit the scope to specific tables, how do you determine and automatically apply the concept to specific tables, and not to others? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 9:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 8:27:43 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< So. Today's job is to dig out that PITA article and pitch it to somebody. >>> Arthur, I must say I did "muse" on similar to your PITA ("Point in Time Architecture") subject somewhere in year 1992 or 1993, that time in FIDO groups and in Russian... Am I wrong - wasn't that feature of versioned database data somehow limited but built-in way implemented in Borland Interbase? And in MS SQL Server it can be relatively inexpensive way implemented/simulated using triggers - correct? -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Wed Nov 22 10:39:52 2006 From: gwsmith at iowatelecom.net (gwsmith at iowatelecom.net) Date: Wed, 22 Nov 2006 10:39:52 -0600 (CST) Subject: [AccessD] XML ... again ... or still In-Reply-To: <003b01c70e45$6c84e710$6401a8c0@nant> References: <20061122140314.81269.qmail@web88214.mail.re2.yahoo.com> <003b01c70e45$6c84e710$6401a8c0@nant> Message-ID: <61180.65.118.249.214.1164213592.squirrel@webmail.iowatelecom.net> Shamil: I hate to appear dumber than a post, but I may even be past that. That link you gave me the other day: (http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm) which has several examples of code to use for importing XML...I can't get any of it to work. I'm sure this is probably the right way to go, but, without being able to test it, I can't be sure. I'm certain it's something I'm doing (or not) that is the issue, but I'm clueless as to what it could be. Could you please explain how to use this? Of course, as always, ANYONE can jump in... :) I'm sure it falls under the "Cant see the forest for the trees" issue, but any help would be greatly appreciated!! Thanks! Greg Smith gwsmith at iowatelecom.net From jwcolby at colbyconsulting.com Wed Nov 22 10:46:33 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 22 Nov 2006 11:46:33 -0500 Subject: [AccessD] Temporal database (was: Stored Procedurenot producing results) In-Reply-To: Message-ID: <003201c70e55$c53655f0$647aa8c0@m6805> LOL, you may or may not lose me. I can see applications where this would be invaluable. I just do not see where an entire database from state tables to color tables needs to be temporal. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, November 22, 2006 10:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Temporal database (was: Stored Procedurenot producing results) Hi Arthur and Shamil "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports." >>> > You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? Note that to implement a temporal database in full (I guess we will loose JC here), not two but _four_ time fields must exist: In the literature, two time lines of interest have been mentioned, transaction time and valid time. The valid time line represents when a fact is valid in modelled world (i.e. when it was believed) and the transaction time line represents when a transaction was performed. A bitemporal database is a combination of valid time and transaction time databases where these two time lines are considered to be orthogonal. (Snodgrass & Ahn 1986) Again, accounting can display the beauty of this: Consider writing an invoice; you do this, of course, "today", while the invoice date may be either past, present, or future. Later, selecting on transaction dates will reveal wether this invoice was created or not; selecting on valid date will show wether this invoice was issued or not. You may put it in another perspective: Transaction dates record by themselves an audit trail which allows you to, at any time, to perform a dynamic virtual rollback to any previous time, while the valid date will show you the (approved) state of the data at that time. Specifically, this allows you to correct previous recordings (say, a wrongly typed invoice number of a supplier's invoice), or record a future change of a customer's address and - until he moves - to issue invoices correctly addressed to his present address. /gustav >>> artful at rogers.com 22-11-2006 15:10:35 >>> My personal fave in this category is the Kimball Group. Specifically, for MS SQL, I recommend "The Microsoft Data Warehouse Toolkit" by Joy Mundy and Warren Thornthwaite. There is extensive discussion therein about SCDs (slowly changing dimensions). I will check out your sources, too. A. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 8:41:01 AM Subject: [AccessD] Temporal database (was: Stored Procedure not producing results) Hi Arthur I don't recall you have written about PITA here, but what you describe is generally known as a temporal database. This is well-known and has been dealt with by some great capacities in the database world, Michael Boehlen, Christian Jensen, Richard Snodgrass and Andreas Steiner. http://www.cs.arizona.edu/people/rts/timecenter/timecenter.html A brief explanation and introduction can be found here: http://www.timeconsult.com/TemporalData/TemporalData.html Note the link to TimeDB, a Java implementing of "A Bitemporal Relational DBMS" for Oracle 10g Also, look up my previous post(ings) on these: http://databaseadvisors.com/pipermail/accessd/2005-May/034503.html http://databaseadvisors.com/pipermail/accessd/2005-May/034455.html This is a very exciting area. For some applications it won't even require that much more data storage (accounting). A simplified approach is a write-only database (which means write and read but neither delete nor update) which both Cach? and MySQL offers. Now, wouldn't it be nice if only TSQL2 could be implemented in Access: http://www.cs.arizona.edu/people/rts/tsql2.html /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 11:27:34 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 20:27:34 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122151845.63792.qmail@web88209.mail.re2.yahoo.com> Message-ID: <003701c70e5b$7f70a510$6401a8c0@nant> <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 22 11:34:02 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Nov 2006 11:34:02 -0600 Subject: [AccessD] Can I mouse over a continuous form's control and display the value? In-Reply-To: <32705631.1164214321883.JavaMail.root@sniper55> Message-ID: <001501c70e5c$680cfc10$0200a8c0@danwaters> Would it work to programmatically populate the controltip text property at the same time the field is populated? Perhaps the calculation could be done in code subsequent to an event. I think the controltip text property is limited to 255 characters. Dan Waters -----Original Message----- Subject: [AccessD] Can I mouse over a continuous form's control and displaythe value? I have a control on a continuous form. It does not show all the text because of size constraints. I want to mouse over this control and have the value of that control for that record to show in the ControlTextTip property. The control is also a calculated field. Is there any thing any one can think of for me to be able to show that value when I mouse over it? I do not want to select the control either because there is code that will fire in the On Click event. Thanks. From artful at rogers.com Wed Nov 22 11:37:08 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 09:37:08 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122173708.64444.qmail@web88205.mail.re2.yahoo.com> In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 22 11:52:36 2006 From: john at winhaven.net (John Bartow) Date: Wed, 22 Nov 2006 11:52:36 -0600 Subject: [AccessD] Can I mouse over a continuous form's control anddisplay the value? In-Reply-To: <001501c70e5c$680cfc10$0200a8c0@danwaters> Message-ID: <200611221752.kAMHqdq23549@databaseadvisors.com> I think the issue here is how to get the focus on the correct record so that the mouse over event doesn't display the selected record's text in the ControlTipText display. I think I know what you're after and I don't have an answer for you. I've tried in the past but have quickly given up as the mouse over event fires so frequently that it becomes disturbing. I've gone to including an icon with the magnifying glass which simply opens a zoom box form to display the entire contents of the field. Best of luck to you and please post back if you do find a suitable solution! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 22, 2006 11:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can I mouse over a continuous form's control anddisplay the value? Would it work to programmatically populate the controltip text property at the same time the field is populated? Perhaps the calculation could be done in code subsequent to an event. I think the controltip text property is limited to 255 characters. Dan Waters -----Original Message----- Subject: [AccessD] Can I mouse over a continuous form's control and displaythe value? I have a control on a continuous form. It does not show all the text because of size constraints. I want to mouse over this control and have the value of that control for that record to show in the ControlTextTip property. The control is also a calculated field. Is there any thing any one can think of for me to be able to show that value when I mouse over it? I do not want to select the control either because there is code that will fire in the On Click event. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Nov 22 11:53:49 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 23 Nov 2006 06:53:49 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <0J9400G9ARTCVFL2@l-daemon> References: <20061122011633.TNVW20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> <0J9400G9ARTCVFL2@l-daemon> Message-ID: <20061122180006.CUYN20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Jim, Thanks for the info - both items to consider for future development. However, my issue is no speed (my database with 4 times the amount of data runs in less than 2 seconds). It seems to be either data in the smaller one, or a change in structure. David At 23/11/2006, you wrote: >Hi David: > >Just a further comment after conferring with a friend; it was noted that >each one of the statements, that were plused together require a complete >scan of their respective tables before they can be added. > >The overhead must be immense. Try using the Rollup or Cube statements, which >are highly optimized and should give you a decent speed increase >(http://databases.about.com/od/sql/l/aacuberollup.htm) > >It was also suggested that, if you have control over the database tables >designing and this report is needed on a regular bases, a single table >consolidating the flag fields would improve performance. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Tuesday, November 21, 2006 5:17 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Stored Procedure not producing results > >SQL 2000 > >I have the following query running in Query Analyser: > >SELECT dbo.tblCustStatement.StatementID, dbo.tblCustomers.TradingName >as CustName, dbo.tblCustStatement.StatementDate, > dbo.tblCustomers.AccountNo, dbo.tblCustStatement.StatementNumber >FROM dbo.tblCustomers INNER JOIN dbo.tblCustICP ON >dbo.tblCustomers.CustomerID = dbo.tblCustICP.CustIDNo > INNER JOIN dbo.tblCustStatement ON >dbo.tblCustomers.CustomerID = dbo.tblCustStatement.CustIDNo > LEFT OUTER JOIN dbo.vwAgedDebtorReceipt ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceipt.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceipt.StatNum > LEFT OUTER JOIN dbo.vwAgedDebtorReceiptInv ON >dbo.tblCustStatement.CustIDNo = dbo.vwAgedDebtorReceiptInv.CustIDNo > AND dbo.tblCustStatement.StatementNumber = >dbo.vwAgedDebtorReceiptInv.InvNum >WHERE > -- Remming out this statement works (and removing the AND at >the beginning of the next line) > (dbo.tblCustStatement.StatementDate >= '2006-11-01' And >dbo.tblCustStatement.StatementDate <= '2006-11-30') > -- Remming out this statement works > AND (dbo.tblCustomers.AccStatus= 'Active') > AND (dbo.tblCustStatement.[CurrentMth]+ >dbo.tblCustStatement.[OneMonth]+ >dbo.tblCustStatement.[TwoMonths]+ >dbo.tblCustStatement.[ThreeMonths] + >ISNULL(dbo.vwAgedDebtorReceipt.NetReceipts,0) >+ ISNULL(dbo.vwAgedDebtorReceipt.GJCredit,0)+ >ISNULL(dbo.vwAgedDebtorReceiptInv.NetReceiptsInv,0) >+ ISNULL(dbo.vwAgedDebtorReceiptInv.GJCreditInv,0) > 20) > AND (dbo.tblCustomers.PayArrange = 0) > AND (dbo.tblCustomers.NoOverdueNote = 0) > -- Remming out this statement works > AND ( CASE > WHEN >ISNUMERIC(LEFT(dbo.tblCustomers.CreditStatus,2)) = 0 THEN '00' > ELSE LEFT(dbo.tblCustomers.CreditStatus,2) > END < CAST(DAY(GETDATE()) AS varchar(2))) > AND (dbo.tblCustomers.CreditStatus NOT LIKE 'Last%' OR >dbo.tblCustomers.CreditStatus IS NULL) > -- Remming out this statement works > AND (dbo.tblCustStatement.StatementNumber <> 1) >ORDER BY CustName, dbo.tblCustomers.AccountNo, >dbo.tblCustStatement.StatementDate > >When I remark out any 1 of the AND statements noted above in the >WHERE clause the results come back in a couple of seconds. >However, when I include all AND statement the query runs doesn't >return any results (at least not within the first ten minutes!) > >There doesn't seem to be any pattern to the lines that can be remmed >or combinations of remaining lines. The only clue I have is that >data from the database from two months ago works fine but there are >750 more records in each table being filtered. > >Any suggestions as to how I can solve this - it seems to be a data >issue but the various combinations of AND statements above doesn't make >sense. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Nov 22 11:56:55 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 23 Nov 2006 06:56:55 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> References: <20061122110827.11706.qmail@web88207.mail.re2.yahoo.com> Message-ID: <20061122180011.CUZP20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> I tried: 1) Running the query using dates from 2 months ago 2) Deleting all the data so that it was back to where it was two months ago and running the query using dates from 2 months ago. Neither test worked. Maybe it is a structure change. I will try comparing tables to see if there is any differences. David At 23/11/2006, you wrote: >If the structures haven't changed, then the data is the villain. But >you have a concrete clue to work from. Devise some scope that will >include only the data from two months ago and verify your assertion. >Then expand the scope to "two months ago plus a day" and run it >again. Repeat until failure. > >This assumes of course that the scope is expandable so easily. (A >good reason to have a "DateEntered" column in every table, which >defaults to GetDate()). > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving >; Access Developers discussion and >problem solving >Sent: Tuesday, November 21, 2006 10:53:58 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >Worse - my database from two months ago works fine, but the latest >version is the one that is causing the problem. This may indicate a >data problem perhaps? > >David > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From forefront at ig.com.br Wed Nov 22 11:50:51 2006 From: forefront at ig.com.br (forefront) Date: Wed, 22 Nov 2006 14:50:51 -0300 Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design Message-ID: <20061122_175051_037672.forefront@ig.com.br> Dear Mates! I have a really silly question for you: I have re-inatalled Office 2K with all features in disk and in all my databases, Module Design has no menu bar or toolbar. All other objects have them properly visible. Any help... Pleeeeeease :) TIA, -- ************************************************ * Carlos Alberto Alves * * Rio de Janeiro, Brazil * * mailto:forefront at ig.com.br * ************************************************ From shamil at users.mns.ru Wed Nov 22 12:30:40 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 21:30:40 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122173708.64444.qmail@web88205.mail.re2.yahoo.com> Message-ID: <000f01c70e64$50767f10$6401a8c0@nant> <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bill_Patten at earthlink.net Wed Nov 22 12:35:35 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Wed, 22 Nov 2006 10:35:35 -0800 Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design References: <20061122_175051_037672.forefront@ig.com.br> Message-ID: <007d01c70e65$004de860$0202fea9@BPCS> I had a similar problem the other day with my main Access window having no menubar. I was able to double click on a front-end that has it's own menubar. I then right clicked on my menu and selected customize then went to properties, found the menubar selected it and click restore defaults or reset and it worked. If you have any tool or menu's in the module window you should be able to do the same thing. If no menu's then I have no idea. HTH Bill ----- Original Message ----- From: "forefront" To: Sent: Wednesday, November 22, 2006 9:50 AM Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design Dear Mates! I have a really silly question for you: I have re-inatalled Office 2K with all features in disk and in all my databases, Module Design has no menu bar or toolbar. All other objects have them properly visible. Any help... Pleeeeeease :) TIA, -- ************************************************ * Carlos Alberto Alves * * Rio de Janeiro, Brazil * * mailto:forefront at ig.com.br * ************************************************ -------------------------------------------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 22 13:16:54 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 22 Nov 2006 11:16:54 -0800 (PST) Subject: [AccessD] Stored Procedure not producing results Message-ID: <20061122191654.92594.qmail@web88204.mail.re2.yahoo.com> If the data is the same, the only other possibility is a structure change. A proviso, which I am unable to document with specific examples, but I have seen this before. Should any query SELECT * FROM SomeTables, then you modify the table(s) of interest, sometimes it gets derailed. Arthur ----- Original Message ---- From: David Emerson To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:56:55 PM Subject: Re: [AccessD] Stored Procedure not producing results I tried: 1) Running the query using dates from 2 months ago 2) Deleting all the data so that it was back to where it was two months ago and running the query using dates from 2 months ago. Neither test worked. Maybe it is a structure change. I will try comparing tables to see if there is any differences. David At 23/11/2006, you wrote: >If the structures haven't changed, then the data is the villain. But >you have a concrete clue to work from. Devise some scope that will >include only the data from two months ago and verify your assertion. >Then expand the scope to "two months ago plus a day" and run it >again. Repeat until failure. > >This assumes of course that the scope is expandable so easily. (A >good reason to have a "DateEntered" column in every table, which >defaults to GetDate()). > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving >; Access Developers discussion and >problem solving >Sent: Tuesday, November 21, 2006 10:53:58 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >Worse - my database from two months ago works fine, but the latest >version is the one that is causing the problem. This may indicate a >data problem perhaps? > >David > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Nov 22 13:22:55 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Nov 2006 19:22:55 +0000 Subject: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? Message-ID: I programmatically fill the controltiptext in one of my apps....and I just found an error in my thinking...this doesn't work as I intended on a Continuous Form. The controltiptext will only be correct for the first record...unless you change with each mouse over...but as mentioned will fire at a disturbing rate. I'm not sure what a good solution for this is??? Just my 2?, Mark A. Matte >From: "John Bartow" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Can I mouse over a continuous form's >controlanddisplay the value? >Date: Wed, 22 Nov 2006 11:52:36 -0600 > >I think the issue here is how to get the focus on the correct record so >that >the mouse over event doesn't display the selected record's text in the >ControlTipText display. I think I know what you're after and I don't have >an >answer for you. I've tried in the past but have quickly given up as the >mouse over event fires so frequently that it becomes disturbing. I've gone >to including an icon with the magnifying glass which simply opens a zoom >box >form to display the entire contents of the field. > >Best of luck to you and please post back if you do find a suitable >solution! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >Sent: Wednesday, November 22, 2006 11:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Can I mouse over a continuous form's control >anddisplay the value? > >Would it work to programmatically populate the controltip text property at >the same time the field is populated? Perhaps the calculation could be >done >in code subsequent to an event. I think the controltip text property is >limited to 255 characters. > >Dan Waters > >-----Original Message----- >Subject: [AccessD] Can I mouse over a continuous form's control and >displaythe value? > >I have a control on a continuous form. It does not show all the text >because >of size constraints. I want to mouse over this control and have the value >of >that control for that record to show in the ControlTextTip property. > >The control is also a calculated field. > >Is there any thing any one can think of for me to be able to show that >value >when I mouse over it? > >I do not want to select the control either because there is code that will >fire in the On Click event. >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 _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From shamil at users.mns.ru Wed Nov 22 13:41:04 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 22:41:04 +0300 Subject: [AccessD] XML ... again ... or still In-Reply-To: <61180.65.118.249.214.1164213592.squirrel@webmail.iowatelecom.net> Message-ID: <004201c70e6e$25d18cf0$6401a8c0@nant> Hello Greg, I did send you sample database offline. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gwsmith at iowatelecom.net Sent: Wednesday, November 22, 2006 7:40 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML ... again ... or still Shamil: I hate to appear dumber than a post, but I may even be past that. That link you gave me the other day: (http://smsconsulting.spb.ru/shamil_s/topics/xmltests.htm) which has several examples of code to use for importing XML...I can't get any of it to work. I'm sure this is probably the right way to go, but, without being able to test it, I can't be sure. I'm certain it's something I'm doing (or not) that is the issue, but I'm clueless as to what it could be. Could you please explain how to use this? Of course, as always, ANYONE can jump in... :) I'm sure it falls under the "Cant see the forest for the trees" issue, but any help would be greatly appreciated!! Thanks! Greg Smith gwsmith at iowatelecom.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 13:57:06 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 22:57:06 +0300 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <4563A855.8070707@shaw.ca> Message-ID: <004a01c70e70$64d846d0$6401a8c0@nant> Thank you, Marty! I will save this information and pass it to my kids... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, November 22, 2006 4:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: RE: Hey Shamil Here is one of interest, they usually try to attract foriegn students with bursaries in their MA program. It attracts job offers from External Affairs department and International Banking firms. Norman Paterson School of International Affairs Carleton University, Ottawa. http://www.carleton.ca/npsia/index.html I coughed when I saw the fees. I had a roommate who went through this program. She made it through by working part time as a bank teller. It didn't interfere with her classes. I also used to go skiing with Norman's granddaughter Ellen Patterson who was also in the program at that time. The fees to her were less than her allowance. Some Candian Universities offer a CO-OP program A split work term - university term where the student gets work experience and enough pay to cover tuition. Something to look for if tuition a problem. Although a 4 year degree takes 5 years to complete. Also you come out with two years work experience. Microsoft grabs a lot of these guys at Waterloo for work terms. http://www.cecs.uwaterloo.ca/students/prospective/ Waterloo is one of the top Math/Engineering schools in Canada. Computer Science is part of the Mathematics Faculty. Located 120 miles west of Toronto. http://www.uwaterloo.ca/ Shamil Salakhetdinov wrote: ><<< >Her brother is a student at the University you worked at in St Petersburg. > > >Hello Martin, > >My greetings to your student from St.Petersburg! > >My son is also a student of this local University where her brother is >studying - it's a small World... :) > >BTW, my son and my daughter are looking for the possible ways to continue in >the future their professional higher education somewhere abroad - what are >the best ways to do that: > >- assuming they both speak English rather fluently (my daughter also speaks >French, German(studying) and some Italian(beginner level); > >- I do not expect to make big bucks in the near future to pay for their >higher education abroad... > >I mean there could be some grants there and somebody here in this discussion >list may know about such grants and if my kids will be able to win such >grants then they can go there... > >Thank you. > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >Sent: Tuesday, November 21, 2006 11:06 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Hey Shamil > >Had a girl from your city on my course today. > >Svetlana Svyatko > >Her brother is a student at the University you worked at in St Petersburg. > >Martin > > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > > > -- 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 shamil at users.mns.ru Wed Nov 22 13:57:06 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 22 Nov 2006 22:57:06 +0300 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <003c01c70dc7$8f48bbb0$0200a8c0@danwaters> Message-ID: <004e01c70e70$6551e3a0$6401a8c0@nant> Thank you for you information, Dan! <<< have you ever thought of contacting Microsoft >>> Yes, that could work one fine day, we will see... <<< Best of Luck! >>> Thank you! -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 22, 2006 2:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: RE: Hey Shamil Hi Shamil! This is the link to the University of Minnesota International Student Admissions page. It may be that the climate in Minneapolis is similar to St. Petersburg. http://www.isss.umn.edu/ In rummaging around the UM site, I found this link: http://www.educationusa.state.gov/ Also, have you ever thought of contacting Microsoft to see if you could work for them in some capacity? It seems to me that with the skill you definitely have, that they could find a way for you to make them some money if they would just give you a little bit of theirs! Really! Best of Luck! Dan Waters -----Original Message----- Subject: [AccessD] OT: RE: Hey Shamil <<< Her brother is a student at the University you worked at in St Petersburg. >>> Hello Martin, My greetings to your student from St.Petersburg! My son is also a student of this local University where her brother is studying - it's a small World... :) BTW, my son and my daughter are looking for the possible ways to continue in the future their professional higher education somewhere abroad - what are the best ways to do that: - assuming they both speak English rather fluently (my daughter also speaks French, German(studying) and some Italian(beginner level); - I do not expect to make big bucks in the near future to pay for their higher education abroad... I mean there could be some grants there and somebody here in this discussion list may know about such grants and if my kids will be able to win such grants then they can go there... Thank you. -- Shamil -----Original Message----- Subject: [AccessD] Hey Shamil Had a girl from your city on my course today. Svetlana Svyatko Her brother is a student at the University you worked at in St Petersburg. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 22 14:55:02 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Nov 2006 12:55:02 -0800 Subject: [AccessD] OT: RE: Hey Shamil In-Reply-To: <004a01c70e70$64d846d0$6401a8c0@nant> References: <004a01c70e70$64d846d0$6401a8c0@nant> Message-ID: <4564B926.6020404@shaw.ca> The real problem maybe International Fees if not a resident, usually double the standard fee rate. This maybe waived at the Universities discretion or covered by one of many bursaries or scholarships. Grad school applications in North America usually have a Jan 31 deadline and under grad May for the fall term. There are ways around this but you will have to ask or grovel a bit;) You would also have to check if visa allows part time student work most do in Canada. I know my kid brother who did two degrees in Law in England & Scotland and had to pay International fees even though he had a UK passport but was a Canadian resident. Well my father coughed up the money. There was an advantage Law in the UK is an under grad degree unlike North America where it is a grad degree requiring 7 years (4 under grad 3 grad) . Articling for the bar in Canada presented a problem as only one province Alberta recognized UK law degrees. Shamil Salakhetdinov wrote: >Thank you, Marty! > >I will save this information and pass it to my kids... > >-- >Shamil > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Wednesday, November 22, 2006 4:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: RE: Hey Shamil > >Here is one of interest, they usually try to attract foriegn students >with bursaries in their MA program. It attracts job offers from >External Affairs department and International Banking firms. > >Norman Paterson School of International Affairs >Carleton University, Ottawa. >http://www.carleton.ca/npsia/index.html > >I coughed when I saw the fees. I had a roommate who went >through this program. She made it through by working part time >as a bank teller. It didn't interfere with her classes. >I also used to go skiing with Norman's granddaughter Ellen >Patterson who was also in the program at that time. The fees to her >were less than her allowance. > >Some Candian Universities offer a CO-OP program >A split work term - university term where the student >gets work experience and enough pay to cover tuition. >Something to look for if tuition a problem. >Although a 4 year degree takes 5 years to complete. >Also you come out with two years work experience. >Microsoft grabs a lot of these guys at Waterloo for work terms. > >http://www.cecs.uwaterloo.ca/students/prospective/ > >Waterloo is one of the top Math/Engineering schools in Canada. >Computer Science is part of the Mathematics Faculty. >Located 120 miles west of Toronto. >http://www.uwaterloo.ca/ > >Shamil Salakhetdinov wrote: > > > >><<< >>Her brother is a student at the University you worked at in St Petersburg. >> >> >>Hello Martin, >> >>My greetings to your student from St.Petersburg! >> >>My son is also a student of this local University where her brother is >>studying - it's a small World... :) >> >>BTW, my son and my daughter are looking for the possible ways to continue >> >> >in > > >>the future their professional higher education somewhere abroad - what are >>the best ways to do that: >> >>- assuming they both speak English rather fluently (my daughter also speaks >>French, German(studying) and some Italian(beginner level); >> >>- I do not expect to make big bucks in the near future to pay for their >>higher education abroad... >> >>I mean there could be some grants there and somebody here in this >> >> >discussion > > >>list may know about such grants and if my kids will be able to win such >>grants then they can go there... >> >>Thank you. >> >>-- >>Shamil >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >>Sent: Tuesday, November 21, 2006 11:06 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Hey Shamil >> >>Had a girl from your city on my course today. >> >>Svetlana Svyatko >> >>Her brother is a student at the University you worked at in St Petersburg. >> >>Martin >> >> >>Martin WP Reid >>Training and Assessment Unit >>Riddle Hall >>Belfast >> >>tel: 02890 974477 >> >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Wed Nov 22 15:33:22 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 22 Nov 2006 13:33:22 -0800 (PST) Subject: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? Message-ID: <20061122213322.65384.qmail@web33112.mail.mud.yahoo.com> Thanks guys. This is one of the best forums that I have queried for answers to my problems. It seems to work on a field that is bound to a table if I load the value of the field in the mouse over event into the ControlTipText. Have not found a solution for a calculated field. Actually it is an expression (IIf([DoneFlag] = True,[Task]) I will keep trying. I may have to move my OnClick code to the DoubleClick event and use the OnClick to through the value in a label at the top of the form or something. Thanks again. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Wednesday, November 22, 2006 1:22:55 PM Subject: Re: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? I programmatically fill the controltiptext in one of my apps....and I just found an error in my thinking...this doesn't work as I intended on a Continuous Form. The controltiptext will only be correct for the first record...unless you change with each mouse over...but as mentioned will fire at a disturbing rate. I'm not sure what a good solution for this is??? Just my 2?, Mark A. Matte >From: "John Bartow" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Can I mouse over a continuous form's >controlanddisplay the value? >Date: Wed, 22 Nov 2006 11:52:36 -0600 > >I think the issue here is how to get the focus on the correct record so >that >the mouse over event doesn't display the selected record's text in the >ControlTipText display. I think I know what you're after and I don't have >an >answer for you. I've tried in the past but have quickly given up as the >mouse over event fires so frequently that it becomes disturbing. I've gone >to including an icon with the magnifying glass which simply opens a zoom >box >form to display the entire contents of the field. > >Best of luck to you and please post back if you do find a suitable >solution! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >Sent: Wednesday, November 22, 2006 11:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Can I mouse over a continuous form's control >anddisplay the value? > >Would it work to programmatically populate the controltip text property at >the same time the field is populated? Perhaps the calculation could be >done >in code subsequent to an event. I think the controltip text property is >limited to 255 characters. > >Dan Waters > >-----Original Message----- >Subject: [AccessD] Can I mouse over a continuous form's control and >displaythe value? > >I have a control on a continuous form. It does not show all the text >because >of size constraints. I want to mouse over this control and have the value >of >that control for that record to show in the ControlTextTip property. > >The control is also a calculated field. > >Is there any thing any one can think of for me to be able to show that >value >when I mouse over it? > >I do not want to select the control either because there is code that will >fire in the On Click event. >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 _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Sponsored Link Rates near 39yr lows. $420,000 Loan for $1399/mo. Calcuate new payment. www.LowerMyBills.com/lre From accessd at shaw.ca Wed Nov 22 16:20:19 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Nov 2006 14:20:19 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <000f01c70e64$50767f10$6401a8c0@nant> Message-ID: <0J9500JLQKNDZJ00@l-daemon> This sounds like an excellent idea... I would be delighted to see a system designed using XML for export, with a SOAP wrapper using SMTP to message/queue the data into an OLAP DB. I have heard it described, seem it work but have not been able to get it successfully operating on my servers.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 10:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 22 16:55:22 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 23 Nov 2006 01:55:22 +0300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <0J9500JLQKNDZJ00@l-daemon> Message-ID: <001f01c70e89$4aedb7f0$6401a8c0@nant> Jim, That should be a relatively simple project I think (if I'm not missing something) - extended procedures are not even needed: - triggers can store inserted/updates/deleted rows into "buffer" tables in another database running on the same SQL Server; - MS Windows service application can scan these "buffer" tables, say, every minute and check are there any new rows or not; - If there are new rows then this service can wrap them into SOAP envelopes and SMTP to the OLAP db server computer... - ... where they can be processed by another MS Windows service application and inserted into OLAP database... If you will use .NET Framework 2.0 then coding using VB.NET/C# promises to be minimal... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, November 23, 2006 1:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results This sounds like an excellent idea... I would be delighted to see a system designed using XML for export, with a SOAP wrapper using SMTP to message/queue the data into an OLAP DB. I have heard it described, seem it work but have not been able to get it successfully operating on my servers.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 10:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 22 18:15:07 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Nov 2006 16:15:07 -0800 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <001f01c70e89$4aedb7f0$6401a8c0@nant> Message-ID: <0J9500M7RPYPLQR0@l-daemon> Thanks Shamil... I had not thought of transferring the data to local database but was trying to make a linked DB work (Oracle 10g)... it should. Is there a way to do the processing within MS SQL and not have to use an external development language? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 2:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results Jim, That should be a relatively simple project I think (if I'm not missing something) - extended procedures are not even needed: - triggers can store inserted/updates/deleted rows into "buffer" tables in another database running on the same SQL Server; - MS Windows service application can scan these "buffer" tables, say, every minute and check are there any new rows or not; - If there are new rows then this service can wrap them into SOAP envelopes and SMTP to the OLAP db server computer... - ... where they can be processed by another MS Windows service application and inserted into OLAP database... If you will use .NET Framework 2.0 then coding using VB.NET/C# promises to be minimal... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, November 23, 2006 1:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results This sounds like an excellent idea... I would be delighted to see a system designed using XML for export, with a SOAP wrapper using SMTP to message/queue the data into an OLAP DB. I have heard it described, seem it work but have not been able to get it successfully operating on my servers.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 22, 2006 10:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Stored Procedure not producing results <<< This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. >>> So, you do use triggers? <<< To further complicate things, there was a firewall separating 3 of the databases from the other 5. >>> OK. How about, e.g., using Extended Stored Procedures called from triggers, which write inserted/updated/deleted rows in text(bcp-like) or XML formats, which are then queued by service MS Windows application to Mail Server, which then sends them to OLAP server(s), where they are processed? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 8:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results In my recent project involving PITA, there were 8 live databases, each growing by an estimated 1 TB per year. To further complicate things, there was a firewall separating 3 of the databases from the other 5. There was not even a remote possibility that the OLAP db could reside on the same server as the OLTP part. This in turn posed problems, since RI doesn't work across db boundaries (in MS-SQL). We got around this by duplicating some lookup tables -- not that I'm suggesting that this is the best solution, but merely the one that was selected. This caused some fancy trigger-footwork (inserts, updates, etc.) across db and server boundaries. Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 12:27:34 PM Subject: Re: [AccessD] Stored Procedure not producing results <<< And I am "extremely" flattered that you noticed. >>> OK :) <<< and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. >>> Well, OLAP PITA database keeping data for only the current working day, week or month can be always installed on the same server where its "parent" OLTP database is installed. Then replication can be used to replicate OLAP PITA database wherever it's needed to be replicated => to the main OLAP database(s). Will that work OK? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 6:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I agree with you on the usefulness of triggers, but there are problems (surmountable). Consider a database (or collection of databases) whose size grows by a TB per year. This is going to be a huge problem, literally. Chances are that you won't be able to support the OLTP and OLAP instances on a single server, unless you have a SAN and very fancy hardware. This is going to cause RI problems (on MS-SQL at least; Oracle has table-spaces and can easily work around this issue), and also trigger complexities (fire a trigger on instance X and have it do something to instance Y which resides on another server in another city). It can be done, but it is non-trivial. And I am "extremely" flattered that you noticed. ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Wednesday, November 22, 2006 9:49:33 AM Subject: Re: [AccessD] Stored Procedure not producing results <<< As anyone who has followed my threads must know by now, I tend toward extremism. >>> That's so true Arthur! :) (Just kidding of course) <<< That said, I suggest that you design PITA in, just in case it later becomes needed. >>> Arthur, these days I'm "biased" toward simple designs and MS SQL triggers and a parallel OLAP database could be such relatively simple extendable (plugged/unplugged anytime) solution. I mean I'd just use such triggers to "replicate" deleted/inserted/updated rows into parallel OLAP database with tables' structure as you describe i.e. with BeginData and EndDate added. (And I'd do that only for the tables' customers wanted to have your PITA enabled with.) Then all PITA enabled forms/reports/SPs/... will use this parallel OLAP database together with actual OLTP one if needed... Do I miss some more effective solutions of this practical task? As you wrote harddisk memory is cheap these days - I agree with that of course - that's also a point, which makes rather simple solution with "parallel versioned data OLAP database" inexpensive... <<< "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. >>> You mean "virtual rollback" of course? IOW a "point in time aware" view/SP/UDF? -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Wednesday, November 22, 2006 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stored Procedure not producing results I have no way to verify whether you mused on this subject or not, but since you asked, I will provide a thumbnail sketch: 0. You could do it with triggers, but that would not be my first choice. 1. every table will contain two columns called BeginDate and EndDate. 2. any inserted row will have a NOT NULL value in BeginDate, not necessarily equivalent to today (otherwise you couldn't insert a row that takes effect on January 1, 2007). 3. any row without an EndDate is assumed to be effective now. 4. any update to an existing row copies its data to a new row, fills in the EndDate column on the existing row with GetDate(), and supplies GetDate() as the BeginDate on the new row. 5. Any "deleted" row is not actually deleted. Rather, it is preserved, but its EndDate column is updpated to GetDate(). That's a quick thumbnail sketch of PITA. I may have left out a quirk or two in the sketch, but that's the basic idea. Nothing is destroyed. Everything is kept, and its time-span is demarcated by its BeginDate and EndDate columns. Taking a practical example, I just switched doctors yesterday. This involves several operations. 1. The "family physician" has changed, but do not destroy the previous data. Therefore insert a new row whose BeginDate is yesterday, and update the previous row, changing its EndDate to yesterday. 2. Agree that all previous medical data concerning me shall be forwarded to the new physician. (Called Consent, in the medical lingo.) 3. Step two can be further refined, as in "release data about conditions x, y and z, but not t, u and v" to my new physician. At the end of the day, for various important reasons, not the least of which is litigation, we must be able to determine the state of your particular record(s) in the database as of January 1, 2004. Who was your physician? What rights did she have to your prior data? What tests were performed upon you, and on what dates, and with what results and with what follow-ups? I chose this example a) because I have been there and written that, and b) because it illustrates the problem vividly. We could easily substitute lawyers for the physicians, or dentists, or any professional, including ourselves, software developers. Consider a project as a metaphorical person in the above. In 2001, the practitioner list comprised Fuller, Colby and Salakhetdinov. In 2002, it comprised Hindman, Carbonell, Colby and Lawrence. In the medical schema, one could easily have several practitioners, one for heart, one for ENT (ear, nose, throat), one for gynecology, etc. And the same holds true for a software client -- she employs an accounting expert, a CRM expert, an Excel macro wizard, an Access expert, and so on. That was a bit of a sidetrack, but remains on point, I think. The point being, "We need to be able to roll back the database to any given PIT without actually having to do a restore. We just want to specify a date (Jan 1 2004) and without changing a single line of code, run the reports. That is the point of PITA. It must be designed in from the outset. Not every app needs PITA, but it becomes very difficult to add it after the fact. As anyone who has followed my threads must know by now, I tend toward extremism. That said, I suggest that you design PITA in, just in case it later becomes needed. In that case, you look like a genius. And if the requirement never emerges, you wasted some very cheap disk space. Arthur <<< tail skipped>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 23 04:04:07 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Nov 2006 11:04:07 +0100 Subject: [AccessD] Can I mouse over a continuous form's controlanddisplay the value? Message-ID: Hi Lonnie Stephen Lebans has done this for a listbox. It might be possible to evolve the technique to cover continuous forms or datasheet forms as well: http://www.lebans.com/tooltip.htm /gustav >>> prodevmg at yahoo.com 22-11-2006 22:33 >>> Thanks guys. This is one of the best forums that I have queried for answers to my problems. It seems to work on a field that is bound to a table if I load the value of the field in the mouse over event into the ControlTipText. Have not found a solution for a calculated field. Actually it is an expression (IIf([DoneFlag] = True,[Task]) I will keep trying. I may have to move my OnClick code to the DoubleClick event and use the OnClick to through the value in a label at the top of the form or something. Thanks again. From bchacc at san.rr.com Thu Nov 23 10:35:11 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 08:35:11 -0800 Subject: [AccessD] Sending an exe attachment Message-ID: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky From Gustav at cactus.dk Thu Nov 23 10:53:51 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Nov 2006 17:53:51 +0100 Subject: [AccessD] Sending an exe attachment Message-ID: Hi Rocky Yes. No (except for the two methods you describe). /gustav >>> bchacc at san.rr.com 23-11-2006 17:35 >>> Has anyone encountered this problem before and know how to get around it? From dwaters at usinternet.com Thu Nov 23 10:59:46 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 23 Nov 2006 10:59:46 -0600 Subject: [AccessD] Sending an exe attachment In-Reply-To: <28462357.1164300157935.JavaMail.root@sniper53> Message-ID: <001301c70f20$c8735440$0200a8c0@danwaters> Hi Rocky, I have changed the extension (to .pdf) and included good instructions on how to change it back to .exe. That seems to work well enough. I guess you could create an instruction document which you could attach to the email. Another thing I've done is to upload the file to my website. I have a client download page there which has text in bold letters: "Right-click to Save File . . .", which is exactly what you see if you right click a file link on a web page. I haven't had any .mdb files blocked by doing this. I haven't tried with .exe files. Best of Luck! Dan Waters -----Original Message----- Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky From bill_Patten at earthlink.net Thu Nov 23 11:26:11 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Thu, 23 Nov 2006 09:26:11 -0800 Subject: [AccessD] Sending an exe attachment References: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <006701c70f24$78830440$0202fea9@BPCS> Hi Rocky, I couldn't figure out any good solution either. I often rename the file to .ex with instructions to add an e at the end. But even that doesn't work for some county's as the Exchange Server wont allow attachments. I now place the exe file in an FTP site and send user name and password to the users. They type in ftp:// IP address for my site or ftp://ftp-www.earthlink.net in there browser and drag the file to there desktop. Been working well. Might not be a good solution for lots of users though.] Bill ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 8:35 AM Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky -- 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 23 13:06:09 2006 From: john at winhaven.net (John Bartow) Date: Thu, 23 Nov 2006 13:06:09 -0600 Subject: [AccessD] Sending an exe attachment In-Reply-To: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <200611231906.kANJ6Bq30342@databaseadvisors.com> Hi Rocky, I've resorted to the same issues you have or if the other end can do it posting on FTP. The problem is that it depends on the end user's system not ours. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 23, 2006 10:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Nov 23 13:57:40 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 23 Nov 2006 11:57:40 -0800 Subject: [AccessD] Sending an exe attachment In-Reply-To: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <002701c70f39$a1cce220$0200a8c0@murphy3234aaf1> Rocky, This seems to be a universal problem. When outlook started blocking exe files I started changing the file extensions and sending that way to clients, but it is a crude solution. I then found that gmail, which is free, could be used to transfer files, so I set each client up with a gmail account and they could download my files. Now Gmail is blocking executables. I think the best solution would be to put the files on your web site for users or set up an ftp site where they can download. That puts the least demand on the user. Another option if you and your client use Skype, a great free VOIP service, is to send the file via skype while you and the client are on line. Let us know if you find a good solution using email. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 23, 2006 8:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sending an exe attachment Dear List: Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a setup.exe file so it will be dead simple to install my app - create a folder, put shortcut on the desktop, etc., etc. Works great but the problem came on the first time I sent to it a dealer to check it out. Outlook blocked the exe attachment. I resent it zipped, which will work, but it kind of defeats the purpose because the user would have to know how to unzip and where the unzipped setup.exe file landed so they could run it. This is past the technical capability of many users. I could also change the extension from exe to abc and that would get it past the censors but then I would have to instruct the user to change the extension before running it. Has anyone encountered this problem before and know how to get around it? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 23 13:58:18 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 23 Nov 2006 14:58:18 -0500 Subject: [AccessD] Sending an exe attachment References: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> Message-ID: <008401c70f39$b8d97500$3e3de844@50NM721> ...have you looked at the Wise/Sagekey forums? ...I use an ftp site to distribute my apps but then I have direct access to each client to train on how to do that easily and efficiently ...but it would seem to me that this is precisely the kind of problem that those using wise/sagekey for distribution would frequently face and thus I'd assume that their forums would have an extensive kb on it. William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 11:35 AM Subject: [AccessD] Sending an exe attachment > Dear List: > > > > Sorry for the somewhat OT. I am using Wise/Sagekey combo to make a > setup.exe file so it will be dead simple to install my app - create a > folder, put shortcut on the desktop, etc., etc. > > > > Works great but the problem came on the first time I sent to it a dealer > to > check it out. Outlook blocked the exe attachment. > > > > I resent it zipped, which will work, but it kind of defeats the purpose > because the user would have to know how to unzip and where the unzipped > setup.exe file landed so they could run it. This is past the technical > capability of many users. > > > > I could also change the extension from exe to abc and that would get it > past > the censors but then I would have to instruct the user to change the > extension before running it. > > > > Has anyone encountered this problem before and know how to get around it? > > > > MTIA, > > > > Rocky > > > > -- > 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 23 14:38:42 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Nov 2006 12:38:42 -0800 Subject: [AccessD] Info Access Security In-Reply-To: <006701c70f24$78830440$0202fea9@BPCS> References: <000501c70f1d$58c93cc0$6401a8c0@HAL9005> <006701c70f24$78830440$0202fea9@BPCS> Message-ID: <456606D2.5050702@shaw.ca> Just came across this, might be useful. Okay I found a complete step by step online guide to Access security complete with pictures, screen shots and diagrams. Includes tips on distributing the secured application. http://www.databasedev.co.uk/access_security.html -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Nov 23 15:01:09 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 24 Nov 2006 00:01:09 +0300 Subject: [AccessD] OT: 3 US cities airport codes Message-ID: <001501c70f42$80a2a770$6401a8c0@nant> Hi All, I can't get what IATA airport codes to use for the following cities: Lake Forest, IL, 60045 Olathe, KS, 66062 Walnut, CA, 91789 Could you please help me to solve this issue? Thank you. -- Shamil From pedro at plex.nl Thu Nov 23 15:27:33 2006 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 23 Nov 2006 22:27:33 +0100 Subject: [AccessD] #Name? Message-ID: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> Hello Group, i don't understand why i get: #Name?, in a textbox, when setting control source to: =[Forms]![frmFossielData]![txtEralID].[Column](1) The form, field en column exist. Pedro Janssen From pedro at plex.nl Thu Nov 23 15:32:01 2006 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 23 Nov 2006 22:32:01 +0100 Subject: [AccessD] saving values Message-ID: <001101c70f46$d05f91c0$4001a8c0@qmotionfaa3ad9> Hello Group, i still have troubles saving values from unbound comboxes (cascade) in table fields. What is the best way to do this. Pedro Janssen From bchacc at san.rr.com Thu Nov 23 15:36:01 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 13:36:01 -0800 Subject: [AccessD] Date problem in Bound Form Message-ID: <005201c70f47$5f8ba370$6401a8c0@HAL9005> Dear List: I have a bound form which has as one of its fields fldScheduledStartDate. On the form I allow the user to input a scheduled start date filter - a >= a scheduled start date and a <= a scheduled start date. This works real well in American date format - mm/dd/yyyy - but when I change regional settings to UK it doesn't. Everything on the bound form appears dd/mm/yyyy. The date filter appears dd/mm/yyyy. But it doesn't filter. The filter which is set to limit records with a scheduled start date in November looks like this: fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= #30/11/2006# The two date are copied out of the unbound text boxes on the form just as they appear. The text boxes have their format set to Short Date. Anyone know why the filter is failing to filter? MTIA, Rocky From stuart at lexacorp.com.pg Thu Nov 23 15:53:54 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Nov 2006 07:53:54 +1000 Subject: [AccessD] Date problem in Bound Form In-Reply-To: <005201c70f47$5f8ba370$6401a8c0@HAL9005> References: <005201c70f47$5f8ba370$6401a8c0@HAL9005> Message-ID: <45661872.20153.342C693@stuart.lexacorp.com.pg> Ah, the joys of internationalisation :-) See below On 23 Nov 2006 at 13:36, Beach Access Software wrote: > The filter which is set to limit records with a scheduled start date in > November looks like this: ... > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > Anyone know why the filter is failing to filter? Because SQL and "#"'s require US format. Assuming you are getting the two dates from txtStart and txtEnd, use something like the following, then it doesn't matter what the machine's local date settings are: strFilter = "fldPMScheduleStartDate >= Datevalue('" & txtstart & "') AND fldPMScheduleStartDate <= Datevalue('" & txtend & "')" -- Stuart From wdhindman at dejpolsystems.com Thu Nov 23 15:54:46 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 23 Nov 2006 16:54:46 -0500 Subject: [AccessD] Date problem in Bound Form References: <005201c70f47$5f8ba370$6401a8c0@HAL9005> Message-ID: <002b01c70f49$fe54ad60$3e3de844@50NM721> ...the same field name is used in both filter fields in your example? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 4:36 PM Subject: [AccessD] Date problem in Bound Form > Dear List: > > > > I have a bound form which has as one of its fields fldScheduledStartDate. > On the form I allow the user to input a scheduled start date filter - a >= > a > scheduled start date and a <= a scheduled start date. This works real > well > in American date format - mm/dd/yyyy - but when I change regional settings > to UK it doesn't. Everything on the bound form appears dd/mm/yyyy. The > date filter appears dd/mm/yyyy. But it doesn't filter. > > > > The filter which is set to limit records with a scheduled start date in > November looks like this: > > > > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > > > Anyone know why the filter is failing to filter? > > > > MTIA, > > > > Rocky > > > > -- > 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 23 16:10:23 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Nov 2006 14:10:23 -0800 Subject: [AccessD] OT: 3 US cities airport codes In-Reply-To: <001501c70f42$80a2a770$6401a8c0@nant> References: <001501c70f42$80a2a770$6401a8c0@nant> Message-ID: <45661C4F.6040308@shaw.ca> From http://www.mapping.com/airportcodes.html ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country IXD Olathe KS [New Century Aircenter Airport] USA OJC Olathe KS/Kansas City MO [Johnson County Executive Airport] USA 51K Olathe KS [Cedar Airpark Airport] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country CA63 Walnut Creek CA [John Muir Memorial Hospital] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country ME28 Cumberland ME [Forest Lake] USA MY82 Forest Lake MN [Du Fresne] USA UT18 Salt Lake City UT [U S Forest Service] USA 25D Forest Lake MN [Forest Lake Airport] USA I dunno about Lake Forest Illinois, it is a suburb of Chicago where major fields are Midway and O'Hare But Lake Forest is the headquarters of United Airlines so it could be a private strip or a helipad. Shamil Salakhetdinov wrote: >Hi All, > >I can't get what IATA airport codes to use for the following cities: > >Lake Forest, IL, 60045 >Olathe, KS, 66062 >Walnut, CA, 91789 > >Could you please help me to solve this issue? > >Thank you. > >-- >Shamil > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Nov 23 16:29:37 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 24 Nov 2006 01:29:37 +0300 Subject: [AccessD] OT: 3 US cities airport codes In-Reply-To: <45661C4F.6040308@shaw.ca> Message-ID: <002101c70f4e$dc567db0$6401a8c0@nant> Thank you Marty! -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 24, 2006 1:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: 3 US cities airport codes From http://www.mapping.com/airportcodes.html ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country IXD Olathe KS [New Century Aircenter Airport] USA OJC Olathe KS/Kansas City MO [Johnson County Executive Airport] USA 51K Olathe KS [Cedar Airpark Airport] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country CA63 Walnut Creek CA [John Muir Memorial Hospital] USA ICAO Code FAA or IATA Code Town or CIty State or Province Airport Name Country ME28 Cumberland ME [Forest Lake] USA MY82 Forest Lake MN [Du Fresne] USA UT18 Salt Lake City UT [U S Forest Service] USA 25D Forest Lake MN [Forest Lake Airport] USA I dunno about Lake Forest Illinois, it is a suburb of Chicago where major fields are Midway and O'Hare But Lake Forest is the headquarters of United Airlines so it could be a private strip or a helipad. Shamil Salakhetdinov wrote: >Hi All, > >I can't get what IATA airport codes to use for the following cities: > >Lake Forest, IL, 60045 >Olathe, KS, 66062 >Walnut, CA, 91789 > >Could you please help me to solve this issue? > >Thank you. > >-- >Shamil > > > > -- 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 bchacc at san.rr.com Thu Nov 23 17:07:04 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 15:07:04 -0800 Subject: [AccessD] saving values In-Reply-To: <001101c70f46$d05f91c0$4001a8c0@qmotionfaa3ad9> Message-ID: <005701c70f54$17d987b0$6401a8c0@HAL9005> I'd use Dao, open the record in question, push the value in, and requery the form. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: 23 November 2006 13:32 To: AccessD Subject: [AccessD] saving values Hello Group, i still have troubles saving values from unbound comboxes (cascade) in table fields. What is the best way to do this. Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From bchacc at san.rr.com Thu Nov 23 17:07:46 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 15:07:46 -0800 Subject: [AccessD] Date problem in Bound Form In-Reply-To: <002b01c70f49$fe54ad60$3e3de844@50NM721> Message-ID: <005801c70f54$30cf25e0$6401a8c0@HAL9005> Yep R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 23 November 2006 13:55 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date problem in Bound Form ...the same field name is used in both filter fields in your example? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 23, 2006 4:36 PM Subject: [AccessD] Date problem in Bound Form > Dear List: > > > > I have a bound form which has as one of its fields fldScheduledStartDate. > On the form I allow the user to input a scheduled start date filter - a >= > a > scheduled start date and a <= a scheduled start date. This works real > well > in American date format - mm/dd/yyyy - but when I change regional settings > to UK it doesn't. Everything on the bound form appears dd/mm/yyyy. The > date filter appears dd/mm/yyyy. But it doesn't filter. > > > > The filter which is set to limit records with a scheduled start date in > November looks like this: > > > > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > > > Anyone know why the filter is failing to filter? > > > > MTIA, > > > > Rocky > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From bchacc at san.rr.com Thu Nov 23 17:11:55 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 23 Nov 2006 15:11:55 -0800 Subject: [AccessD] Date problem in Bound Form In-Reply-To: <45661872.20153.342C693@stuart.lexacorp.com.pg> Message-ID: <005901c70f54$c51f49a0$6401a8c0@HAL9005> That worked!! Thank you, thank you, thaaank you. Now I can go eat a turkey. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 23 November 2006 13:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date problem in Bound Form Ah, the joys of internationalisation :-) See below On 23 Nov 2006 at 13:36, Beach Access Software wrote: > The filter which is set to limit records with a scheduled start date in > November looks like this: ... > fldPMScheduleStartDate >= #01/11/2006# AND fldPMScheduleStartDate <= > #30/11/2006# > > The two date are copied out of the unbound text boxes on the form just as > they appear. The text boxes have their format set to Short Date. > > Anyone know why the filter is failing to filter? Because SQL and "#"'s require US format. Assuming you are getting the two dates from txtStart and txtEnd, use something like the following, then it doesn't matter what the machine's local date settings are: strFilter = "fldPMScheduleStartDate >= Datevalue('" & txtstart & "') AND fldPMScheduleStartDate <= Datevalue('" & txtend & "')" -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From pedro at plex.nl Thu Nov 23 17:34:34 2006 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 24 Nov 2006 00:34:34 +0100 Subject: [AccessD] saving values References: <005701c70f54$17d987b0$6401a8c0@HAL9005> Message-ID: <003301c70f57$ef1a2d30$4001a8c0@qmotionfaa3ad9> Hello Rocky, could you give me an example of that, preferably in a example database. I have tried several things until now but nothing is working perfect. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 12:07 AM Subject: Re: [AccessD] saving values > I'd use Dao, open the record in question, push the value in, and requery > the > form. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: 23 November 2006 13:32 > To: AccessD > Subject: [AccessD] saving values > > Hello Group, > > i still have troubles saving values from unbound comboxes (cascade) in > table > fields. > > What is the best way to do this. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Nov 24 13:12:41 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 24 Nov 2006 11:12:41 -0800 Subject: [AccessD] OT Friday In-Reply-To: <45661C4F.6040308@shaw.ca> Message-ID: <0J9900F6Y1AXD4Y1@l-daemon> OT Friday: Here is an interesting link: http://www.spoj.pl/problems/classical/ Jim From tinanfields at torchlake.com Fri Nov 24 13:42:40 2006 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 24 Nov 2006 14:42:40 -0500 Subject: [AccessD] #Name? In-Reply-To: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> References: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> Message-ID: <45674B30.8080901@torchlake.com> Pedro, Column (0) instead of Column (1) maybe? Tina Pedro Janssen wrote: > Hello Group, > > i don't understand why i get: #Name?, in a textbox, when setting control source to: > > =[Forms]![frmFossielData]![txtEralID].[Column](1) > > The form, field en column exist. > > Pedro Janssen > From bchacc at san.rr.com Fri Nov 24 14:09:39 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 24 Nov 2006 12:09:39 -0800 Subject: [AccessD] saving values In-Reply-To: <003301c70f57$ef1a2d30$4001a8c0@qmotionfaa3ad9> Message-ID: <006101c71004$790c47b0$6401a8c0@HAL9005> Pedro: Just off the top and untested: Dim db as DAO.Database Dim rs as DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable WHERE fldPK = " & lngPrimaryKey) ' Note: You could use any criteria you want in the WHERE clause; doesn't have to be the primary key. rs.Edit rs!fldOne = cboComboBox1 rs!fldTwo = cboComboBox2 rs!fldThree = cboComboBox3 rs.Update rs.Close db.Close set rs = Nothing set db = Nothing Me.Requery (assuming you want the values to show on the bound form. Or here's another approach which I think should work but I haven't tested: Set db = CurrentDb Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & cboComboBox3 & "';" Note that I have assumes that the values are string values and so need to have preceding and following apostrophes. If the values are numeric then they won't need the '. I'm sure someone else looking at this code will make the appropriate corrections. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Thursday, November 23, 2006 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, could you give me an example of that, preferably in a example database. I have tried several things until now but nothing is working perfect. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 12:07 AM Subject: Re: [AccessD] saving values > I'd use Dao, open the record in question, push the value in, and requery > the > form. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: 23 November 2006 13:32 > To: AccessD > Subject: [AccessD] saving values > > Hello Group, > > i still have troubles saving values from unbound comboxes (cascade) in > table > fields. > > What is the best way to do this. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: 22/11/2006 17:41 From markamatte at hotmail.com Fri Nov 24 14:15:44 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 24 Nov 2006 20:15:44 +0000 Subject: [AccessD] OT Friday In-Reply-To: <0J9900F6Y1AXD4Y1@l-daemon> Message-ID: Jim, Thats really cool...I just spent the last 30 minutes learning how to to Mayan arithmatic. I know thats not the purpose of the site...but it caught my attention. Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] OT Friday >Date: Fri, 24 Nov 2006 11:12:41 -0800 > >OT Friday: > >Here is an interesting link: http://www.spoj.pl/problems/classical/ > >Jim > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From jwcolby at colbyconsulting.com Sat Nov 25 05:28:52 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 25 Nov 2006 06:28:52 -0500 Subject: [AccessD] Cursor selects everything to the right Message-ID: <000301c71084$e37d5dc0$657aa8c0@m6805> I have seen this before and managed to get rid of it but don't remember how. In a query, the cursor is selecting everything to the right of the cursor, anywhere you place the cursor in query design. Very annoying. Closing the db and re-opening makes it go away. Does anyone know why this happens and how to get rid of it short of close / re-open. I seem to remember it has something to do with the sticky keys stuff but I could be mistaken. John W. Colby Colby Consulting www.ColbyConsulting.com From bchacc at san.rr.com Sat Nov 25 08:08:23 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 25 Nov 2006 06:08:23 -0800 Subject: [AccessD] Checking control property in an external mde database Message-ID: <001501c7109b$2bb0f0a0$6401a8c0@HAL9005> Dear List: Is it possible to check the visible property of a control on a form in another database which is an mde? Would it be necessary to have that database is currently open with that form opened? MTIA Rocky From cjlabs at worldnet.att.net Sat Nov 25 08:28:05 2006 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Sat, 25 Nov 2006 08:28:05 -0600 Subject: [AccessD] Cursor selects everything to the right References: <000301c71084$e37d5dc0$657aa8c0@m6805> Message-ID: <001c01c7109d$ecfb4ab0$0500a8c0@TOSHIBA> I don't know if this is the same thing, but sometimes I apparently hit a key combination that turns on the "EXT" in the tray and the cursor shows similar behavior. Hitting ESC stops it. HTH, Carolyn Johnson ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 5:28 AM Subject: [AccessD] Cursor selects everything to the right >I have seen this before and managed to get rid of it but don't remember >how. > In a query, the cursor is selecting everything to the right of the cursor, > anywhere you place the cursor in query design. Very annoying. > > Closing the db and re-opening makes it go away. Does anyone know why this > happens and how to get rid of it short of close / re-open. I seem to > remember it has something to do with the sticky keys stuff but I could be > mistaken. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pedro at plex.nl Sat Nov 25 14:13:33 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 25 Nov 2006 21:13:33 +0100 Subject: [AccessD] #Name? References: <000a01c70f46$303203e0$4001a8c0@qmotionfaa3ad9> <45674B30.8080901@torchlake.com> Message-ID: <001301c710ce$2f309950$4001a8c0@qmotionfaa3ad9> Hello Tina, it couldn't be the column-number, because there were three columns in the rowsource. I think this form was corrupt, because when i imported the fields into a new form, the unbound field gave the exact value, Pedro Janssen ----- Original Message ----- From: "Tina Norris Fields" To: "Access Developers discussion and problem solving" Sent: Friday, November 24, 2006 8:42 PM Subject: Re: [AccessD] #Name? > Pedro, > Column (0) instead of Column (1) maybe? > Tina > > Pedro Janssen wrote: >> Hello Group, >> >> i don't understand why i get: #Name?, in a textbox, when setting control >> source to: >> >> =[Forms]![frmFossielData]![txtEralID].[Column](1) >> >> The form, field en column exist. >> >> Pedro Janssen >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Sat Nov 25 14:36:43 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 25 Nov 2006 21:36:43 +0100 Subject: [AccessD] saving values References: <006101c71004$790c47b0$6401a8c0@HAL9005> Message-ID: <000801c710d1$6d2810a0$4001a8c0@qmotionfaa3ad9> Hello Rocky (and Others), the code is working fine, but only for the first record on the form. When i try to use it on the second record (after closing) it jumps to record one and overwrite's the data there. Trying to put the where statement in it to state that ID = ID, it gives an error on record two that it expects parameter = 1. The code that i use now: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData") rs.Edit rs!Era = cboEra rs!Periode = cboPeriode rs!Epoch = cboEpoch rs!Etage = cboEtage rs!Tijd = cboTijd rs.Update rs.Close db.Close Set rs = Nothing Set db = Nothing Me.Requery End Sub What can i do about this? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 9:09 PM Subject: Re: [AccessD] saving values > Pedro: > > Just off the top and untested: > > Dim db as DAO.Database > Dim rs as DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable > WHERE fldPK = " & lngPrimaryKey) > > ' Note: You could use any criteria you want in the WHERE clause; doesn't > have to be the primary key. > > rs.Edit > rs!fldOne = cboComboBox1 > rs!fldTwo = cboComboBox2 > rs!fldThree = cboComboBox3 > rs.Update > > rs.Close > db.Close > > set rs = Nothing > set db = Nothing > > Me.Requery (assuming you want the values to show on the bound form. > > > Or here's another approach which I think should work but I haven't tested: > > Set db = CurrentDb > Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & > "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & > cboComboBox3 & "';" > > Note that I have assumes that the values are string values and so need to > have preceding and following apostrophes. If the values are numeric then > they won't need the '. > > I'm sure someone else looking at this code will make the appropriate > corrections. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Thursday, November 23, 2006 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > could you give me an example of that, preferably in a example database. > I have tried several things until now but nothing is working perfect. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 12:07 AM > Subject: Re: [AccessD] saving values > > >> I'd use Dao, open the record in question, push the value in, and requery >> the >> form. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: 23 November 2006 13:32 >> To: AccessD >> Subject: [AccessD] saving values >> >> Hello Group, >> >> i still have troubles saving values from unbound comboxes (cascade) in >> table >> fields. >> >> What is the best way to do this. >> >> Pedro Janssen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bill_Patten at earthlink.net Sat Nov 25 15:24:55 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Sat, 25 Nov 2006 13:24:55 -0800 Subject: [AccessD] saving values References: <006101c71004$790c47b0$6401a8c0@HAL9005> <000801c710d1$6d2810a0$4001a8c0@qmotionfaa3ad9> Message-ID: <003701c710d8$27316f40$0202fea9@BPCS> Pedro, I haven't been following the thread, but perhaps you need an rs.addnew instead of rs.edit??? HTH Bill ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Saturday, November 25, 2006 12:36 PM Subject: Re: [AccessD] saving values Hello Rocky (and Others), the code is working fine, but only for the first record on the form. When i try to use it on the second record (after closing) it jumps to record one and overwrite's the data there. Trying to put the where statement in it to state that ID = ID, it gives an error on record two that it expects parameter = 1. The code that i use now: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData") rs.Edit rs!Era = cboEra rs!Periode = cboPeriode rs!Epoch = cboEpoch rs!Etage = cboEtage rs!Tijd = cboTijd rs.Update rs.Close db.Close Set rs = Nothing Set db = Nothing Me.Requery End Sub What can i do about this? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 9:09 PM Subject: Re: [AccessD] saving values > Pedro: > > Just off the top and untested: > > Dim db as DAO.Database > Dim rs as DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable > WHERE fldPK = " & lngPrimaryKey) > > ' Note: You could use any criteria you want in the WHERE clause; doesn't > have to be the primary key. > > rs.Edit > rs!fldOne = cboComboBox1 > rs!fldTwo = cboComboBox2 > rs!fldThree = cboComboBox3 > rs.Update > > rs.Close > db.Close > > set rs = Nothing > set db = Nothing > > Me.Requery (assuming you want the values to show on the bound form. > > > Or here's another approach which I think should work but I haven't tested: > > Set db = CurrentDb > Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & > "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & > cboComboBox3 & "';" > > Note that I have assumes that the values are string values and so need to > have preceding and following apostrophes. If the values are numeric then > they won't need the '. > > I'm sure someone else looking at this code will make the appropriate > corrections. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Thursday, November 23, 2006 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > could you give me an example of that, preferably in a example database. > I have tried several things until now but nothing is working perfect. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 12:07 AM > Subject: Re: [AccessD] saving values > > >> I'd use Dao, open the record in question, push the value in, and requery >> the >> form. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: 23 November 2006 13:32 >> To: AccessD >> Subject: [AccessD] saving values >> >> Hello Group, >> >> i still have troubles saving values from unbound comboxes (cascade) in >> table >> fields. >> >> What is the best way to do this. >> >> Pedro Janssen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 25 15:30:32 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 25 Nov 2006 13:30:32 -0800 Subject: [AccessD] saving values In-Reply-To: <000801c710d1$6d2810a0$4001a8c0@qmotionfaa3ad9> Message-ID: <006f01c710d8$effbdeb0$6401a8c0@HAL9005> Pedro: It looks like you are opening the table with all of the records. So the record pointer of the recor4dset is always pointing to the first record. You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset so you get only the record you want, or 2) after opening the recordset use rs.FindFirst and specify the primary key of the record you want to update. Then the recordset will be positioned at the record you want to update. Be sure to use if rs.NoMatch just in case the FindFirst doesn't find the record. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Saturday, November 25, 2006 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky (and Others), the code is working fine, but only for the first record on the form. When i try to use it on the second record (after closing) it jumps to record one and overwrite's the data there. Trying to put the where statement in it to state that ID = ID, it gives an error on record two that it expects parameter = 1. The code that i use now: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData") rs.Edit rs!Era = cboEra rs!Periode = cboPeriode rs!Epoch = cboEpoch rs!Etage = cboEtage rs!Tijd = cboTijd rs.Update rs.Close db.Close Set rs = Nothing Set db = Nothing Me.Requery End Sub What can i do about this? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 24, 2006 9:09 PM Subject: Re: [AccessD] saving values > Pedro: > > Just off the top and untested: > > Dim db as DAO.Database > Dim rs as DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM tblMyTable > WHERE fldPK = " & lngPrimaryKey) > > ' Note: You could use any criteria you want in the WHERE clause; doesn't > have to be the primary key. > > rs.Edit > rs!fldOne = cboComboBox1 > rs!fldTwo = cboComboBox2 > rs!fldThree = cboComboBox3 > rs.Update > > rs.Close > db.Close > > set rs = Nothing > set db = Nothing > > Me.Requery (assuming you want the values to show on the bound form. > > > Or here's another approach which I think should work but I haven't tested: > > Set db = CurrentDb > Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & > "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & > cboComboBox3 & "';" > > Note that I have assumes that the values are string values and so need to > have preceding and following apostrophes. If the values are numeric then > they won't need the '. > > I'm sure someone else looking at this code will make the appropriate > corrections. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Thursday, November 23, 2006 3:35 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > could you give me an example of that, preferably in a example database. > I have tried several things until now but nothing is working perfect. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 12:07 AM > Subject: Re: [AccessD] saving values > > >> I'd use Dao, open the record in question, push the value in, and requery >> the >> form. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: 23 November 2006 13:32 >> To: AccessD >> Subject: [AccessD] saving values >> >> Hello Group, >> >> i still have troubles saving values from unbound comboxes (cascade) in >> table >> fields. >> >> What is the best way to do this. >> >> Pedro Janssen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: > 22/11/2006 > 17:41 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: 11/24/2006 5:20 PM From dwaters at usinternet.com Sat Nov 25 15:53:42 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 25 Nov 2006 15:53:42 -0600 Subject: [AccessD] #Name? In-Reply-To: <25918643.1164486033513.JavaMail.root@sniper3> Message-ID: <000201c710dc$2cd98190$0200a8c0@danwaters> Pedro, You appear to be referencing a textbox, which does not have a column property. Just reference the textbox without the column property. A textbox only has one column. Dan Waters -----Original Message----- Subject: Re: [AccessD] #Name? Hello Tina, it couldn't be the column-number, because there were three columns in the rowsource. I think this form was corrupt, because when i imported the fields into a new form, the unbound field gave the exact value, Pedro Janssen ----- Original Message ----- Subject: Re: [AccessD] #Name? > Pedro, > Column (0) instead of Column (1) maybe? > Tina > > Pedro Janssen wrote: >> Hello Group, >> >> i don't understand why i get: #Name?, in a textbox, when setting control >> source to: >> >> =[Forms]![frmFossielData]![txtEralID].[Column](1) >> >> The form, field en column exist. >> >> Pedro Janssen >> > -- From pedro at plex.nl Sun Nov 26 04:30:30 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 26 Nov 2006 11:30:30 +0100 Subject: [AccessD] saving values References: <006f01c710d8$effbdeb0$6401a8c0@HAL9005> Message-ID: <000801c71145$e5e2f360$4001a8c0@qmotionfaa3ad9> Hello, how would i point to the first record in the Where clausule with the ID? I am placing values from a unbound form, with no ID in a bound form with an ID (= FossielID). Please give me an idea to do this in the code below? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 10:30 PM Subject: Re: [AccessD] saving values > Pedro: > > It looks like you are opening the table with all of the records. So the > record pointer of the recor4dset is always pointing to the first record. > You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset > so > you get only the record you want, or 2) after opening the recordset use > rs.FindFirst and specify the primary key of the record you want to update. > Then the recordset will be positioned at the record you want to update. > Be > sure to use if rs.NoMatch just in case the FindFirst doesn't find the > record. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Saturday, November 25, 2006 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky (and Others), > > the code is working fine, but only for the first record on the form. > When i try to use it on the second record (after closing) it jumps to > record > > one and overwrite's the data there. > Trying to put the where statement in it to state that ID = ID, it gives an > error on record two that it expects parameter = 1. > > The code that i use now: > > Private Sub Form_Close() > > Dim db As DAO.Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData") > > rs.Edit > rs!Era = cboEra > rs!Periode = cboPeriode > rs!Epoch = cboEpoch > rs!Etage = cboEtage > rs!Tijd = cboTijd > rs.Update > > rs.Close > db.Close > > Set rs = Nothing > Set db = Nothing > > Me.Requery > > End Sub > > What can i do about this? > > Pedro Janssen > > > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 9:09 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just off the top and untested: >> >> Dim db as DAO.Database >> Dim rs as DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >> tblMyTable >> WHERE fldPK = " & lngPrimaryKey) >> >> ' Note: You could use any criteria you want in the WHERE clause; doesn't >> have to be the primary key. >> >> rs.Edit >> rs!fldOne = cboComboBox1 >> rs!fldTwo = cboComboBox2 >> rs!fldThree = cboComboBox3 >> rs.Update >> >> rs.Close >> db.Close >> >> set rs = Nothing >> set db = Nothing >> >> Me.Requery (assuming you want the values to show on the bound form. >> >> >> Or here's another approach which I think should work but I haven't >> tested: >> >> Set db = CurrentDb >> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & >> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & >> cboComboBox3 & "';" >> >> Note that I have assumes that the values are string values and so need to >> have preceding and following apostrophes. If the values are numeric then >> they won't need the '. >> >> I'm sure someone else looking at this code will make the appropriate >> corrections. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Thursday, November 23, 2006 3:35 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> could you give me an example of that, preferably in a example database. >> I have tried several things until now but nothing is working perfect. >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 12:07 AM >> Subject: Re: [AccessD] saving values >> >> >>> I'd use Dao, open the record in question, push the value in, and requery >>> the >>> form. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: 23 November 2006 13:32 >>> To: AccessD >>> Subject: [AccessD] saving values >>> >>> Hello Group, >>> >>> i still have troubles saving values from unbound comboxes (cascade) in >>> table >>> fields. >>> >>> What is the best way to do this. >>> >>> Pedro Janssen >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: > 11/24/2006 > 5:20 PM > > > -- > 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 26 04:50:11 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 26 Nov 2006 02:50:11 -0800 (PST) Subject: [AccessD] saving values Message-ID: <20061126105011.26166.qmail@web88201.mail.re2.yahoo.com> One approach is doing it with a static function, setting the value of said function with a form-event and then getting it from the code. Look in the archives for "static functions" for example code. Arthur ----- Original Message ---- From: Pedro Janssen To: Access Developers discussion and problem solving Sent: Sunday, November 26, 2006 5:30:30 AM Subject: Re: [AccessD] saving values Hello, how would i point to the first record in the Where clausule with the ID? I am placing values from a unbound form, with no ID in a bound form with an ID (= FossielID). Please give me an idea to do this in the code below? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 10:30 PM Subject: Re: [AccessD] saving values > Pedro: > > It looks like you are opening the table with all of the records. So the > record pointer of the recor4dset is always pointing to the first record. > You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset > so > you get only the record you want, or 2) after opening the recordset use > rs.FindFirst and specify the primary key of the record you want to update. > Then the recordset will be positioned at the record you want to update. > Be > sure to use if rs.NoMatch just in case the FindFirst doesn't find the > record. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Saturday, November 25, 2006 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky (and Others), > > the code is working fine, but only for the first record on the form. > When i try to use it on the second record (after closing) it jumps to > record > > one and overwrite's the data there. > Trying to put the where statement in it to state that ID = ID, it gives an > error on record two that it expects parameter = 1. > > The code that i use now: > > Private Sub Form_Close() > > Dim db As DAO.Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData") > > rs.Edit > rs!Era = cboEra > rs!Periode = cboPeriode > rs!Epoch = cboEpoch > rs!Etage = cboEtage > rs!Tijd = cboTijd > rs.Update > > rs.Close > db.Close > > Set rs = Nothing > Set db = Nothing > > Me.Requery > > End Sub > > What can i do about this? > > Pedro Janssen > > > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 9:09 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just off the top and untested: >> >> Dim db as DAO.Database >> Dim rs as DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >> tblMyTable >> WHERE fldPK = " & lngPrimaryKey) >> >> ' Note: You could use any criteria you want in the WHERE clause; doesn't >> have to be the primary key. >> >> rs.Edit >> rs!fldOne = cboComboBox1 >> rs!fldTwo = cboComboBox2 >> rs!fldThree = cboComboBox3 >> rs.Update >> >> rs.Close >> db.Close >> >> set rs = Nothing >> set db = Nothing >> >> Me.Requery (assuming you want the values to show on the bound form. >> >> >> Or here's another approach which I think should work but I haven't >> tested: >> >> Set db = CurrentDb >> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & >> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & >> cboComboBox3 & "';" >> >> Note that I have assumes that the values are string values and so need to >> have preceding and following apostrophes. If the values are numeric then >> they won't need the '. >> >> I'm sure someone else looking at this code will make the appropriate >> corrections. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Thursday, November 23, 2006 3:35 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> could you give me an example of that, preferably in a example database. >> I have tried several things until now but nothing is working perfect. >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 12:07 AM >> Subject: Re: [AccessD] saving values >> >> >>> I'd use Dao, open the record in question, push the value in, and requery >>> the >>> form. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: 23 November 2006 13:32 >>> To: AccessD >>> Subject: [AccessD] saving values >>> >>> Hello Group, >>> >>> i still have troubles saving values from unbound comboxes (cascade) in >>> table >>> fields. >>> >>> What is the best way to do this. >>> >>> Pedro Janssen >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: > 11/24/2006 > 5:20 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Sun Nov 26 05:57:32 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 26 Nov 2006 12:57:32 +0100 Subject: [AccessD] saving values References: <20061126105011.26166.qmail@web88201.mail.re2.yahoo.com> Message-ID: <000e01c71152$0e1b2940$4001a8c0@qmotionfaa3ad9> Hello Arthur, in your first mail (at the archives) you gave this static function, but after a few reply's from others, you agreed to rewrite the template. Have you done this? I can't find it. Could you point me in the right direction with your template and my code below? Thanks Pedro Janssen ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Sunday, November 26, 2006 11:50 AM Subject: Re: [AccessD] saving values > One approach is doing it with a static function, setting the value of said > function with a form-event and then getting it from the code. Look in the > archives for "static functions" for example code. > > Arthur > > ----- Original Message ---- > From: Pedro Janssen > To: Access Developers discussion and problem solving > > Sent: Sunday, November 26, 2006 5:30:30 AM > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Sun Nov 26 15:38:10 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 26 Nov 2006 15:38:10 -0600 Subject: [AccessD] Table Relationships Message-ID: <000d01c711a3$2c4836a0$0200a8c0@danwaters> I currently have some apparently 'ghost' tables in my table relationships view. For example I show tblPeopleMain_1 in addition to tblPeopleMain. There is no actual tblPeopleMain_1, but its ghost redisplays every time I reopen the table relationships window. How do I get rid of this? Thanks! Dan Waters From stuart at lexacorp.com.pg Sun Nov 26 15:51:01 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 27 Nov 2006 07:51:01 +1000 Subject: [AccessD] Table Relationships In-Reply-To: <000d01c711a3$2c4836a0$0200a8c0@danwaters> References: <000d01c711a3$2c4836a0$0200a8c0@danwaters> Message-ID: <456A0C45.22865.12B320D2@stuart.lexacorp.com.pg> On 26 Nov 2006 at 15:38, Dan Waters wrote: > I currently have some apparently 'ghost' tables in my table relationships > view. > > For example I show tblPeopleMain_1 in addition to tblPeopleMain. There is > no actual tblPeopleMain_1, but its ghost redisplays every time I reopen the > table relationships window. That is just a second instance of tblPeopleMain which you have opened in the Relationships Window. Just click on it and hit "Del". -- Stuart From dwaters at usinternet.com Sun Nov 26 18:39:57 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 26 Nov 2006 18:39:57 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <25771870.1164578213478.JavaMail.root@Sniper26> Message-ID: <001601c711bc$90c8a1a0$0200a8c0@danwaters> Hi Stuart, Well - I did that but the duplicate instances were there again after I repaired, compacted & closed the database and reopened it. Is there anything else that might work? Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships On 26 Nov 2006 at 15:38, Dan Waters wrote: > I currently have some apparently 'ghost' tables in my table relationships > view. > > For example I show tblPeopleMain_1 in addition to tblPeopleMain. There is > no actual tblPeopleMain_1, but its ghost redisplays every time I reopen the > table relationships window. That is just a second instance of tblPeopleMain which you have opened in the Relationships Window. Just click on it and hit "Del". -- Stuart From gwsmith at iowatelecom.net Sun Nov 26 18:52:32 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Sun, 26 Nov 2006 18:52:32 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <001601c711bc$90c8a1a0$0200a8c0@danwaters> Message-ID: <001801c711be$54dfa5b0$6401a8c0@dads> Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, November 26, 2006 6:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Table Relationships Hi Stuart, Well - I did that but the duplicate instances were there again after I repaired, compacted & closed the database and reopened it. Is there anything else that might work? Dan Waters From forefront at ig.com.br Sun Nov 26 19:10:14 2006 From: forefront at ig.com.br (forefront) Date: Sun, 26 Nov 2006 22:10:14 -0300 Subject: [AccessD] A2K - Disappearing menu and toolbar in Module Design Message-ID: <20061127_011014_061812.forefront@ig.com.br> Thanks for your answer, but now I know the problem. It is called Windows XP Starter Edition... :( -- ************************************************ * Forefront em Inform?tica e Consultoria Ltda. * * Carlos Alberto Alves * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * Phone Direct: 55-21-9169-1596 * * mailto:forefront at ig.com.br * ************************************************ From bchacc at san.rr.com Sun Nov 26 19:59:32 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 26 Nov 2006 17:59:32 -0800 Subject: [AccessD] saving values In-Reply-To: <000801c71145$e5e2f360$4001a8c0@qmotionfaa3ad9> Message-ID: <007a01c711c7$ae666a20$6401a8c0@HAL9005> Pedro: You need to add the WHERE clause to your set statement: Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) Do you know what the primary key value is of the record you want to update with the values from the unbound text boxes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Sunday, November 26, 2006 2:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello, how would i point to the first record in the Where clausule with the ID? I am placing values from a unbound form, with no ID in a bound form with an ID (= FossielID). Please give me an idea to do this in the code below? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 25, 2006 10:30 PM Subject: Re: [AccessD] saving values > Pedro: > > It looks like you are opening the table with all of the records. So the > record pointer of the recor4dset is always pointing to the first record. > You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset > so > you get only the record you want, or 2) after opening the recordset use > rs.FindFirst and specify the primary key of the record you want to update. > Then the recordset will be positioned at the record you want to update. > Be > sure to use if rs.NoMatch just in case the FindFirst doesn't find the > record. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Saturday, November 25, 2006 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky (and Others), > > the code is working fine, but only for the first record on the form. > When i try to use it on the second record (after closing) it jumps to > record > > one and overwrite's the data there. > Trying to put the where statement in it to state that ID = ID, it gives an > error on record two that it expects parameter = 1. > > The code that i use now: > > Private Sub Form_Close() > > Dim db As DAO.Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData") > > rs.Edit > rs!Era = cboEra > rs!Periode = cboPeriode > rs!Epoch = cboEpoch > rs!Etage = cboEtage > rs!Tijd = cboTijd > rs.Update > > rs.Close > db.Close > > Set rs = Nothing > Set db = Nothing > > Me.Requery > > End Sub > > What can i do about this? > > Pedro Janssen > > > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, November 24, 2006 9:09 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just off the top and untested: >> >> Dim db as DAO.Database >> Dim rs as DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >> tblMyTable >> WHERE fldPK = " & lngPrimaryKey) >> >> ' Note: You could use any criteria you want in the WHERE clause; doesn't >> have to be the primary key. >> >> rs.Edit >> rs!fldOne = cboComboBox1 >> rs!fldTwo = cboComboBox2 >> rs!fldThree = cboComboBox3 >> rs.Update >> >> rs.Close >> db.Close >> >> set rs = Nothing >> set db = Nothing >> >> Me.Requery (assuming you want the values to show on the bound form. >> >> >> Or here's another approach which I think should work but I haven't >> tested: >> >> Set db = CurrentDb >> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 & >> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" & >> cboComboBox3 & "';" >> >> Note that I have assumes that the values are string values and so need to >> have preceding and following apostrophes. If the values are numeric then >> they won't need the '. >> >> I'm sure someone else looking at this code will make the appropriate >> corrections. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Thursday, November 23, 2006 3:35 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> could you give me an example of that, preferably in a example database. >> I have tried several things until now but nothing is working perfect. >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 12:07 AM >> Subject: Re: [AccessD] saving values >> >> >>> I'd use Dao, open the record in question, push the value in, and requery >>> the >>> form. >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: 23 November 2006 13:32 >>> To: AccessD >>> Subject: [AccessD] saving values >>> >>> Hello Group, >>> >>> i still have troubles saving values from unbound comboxes (cascade) in >>> table >>> fields. >>> >>> What is the best way to do this. >>> >>> Pedro Janssen >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >> 22/11/2006 >> 17:41 >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: > 11/24/2006 > 5:20 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: 11/25/2006 10:55 AM From dwaters at usinternet.com Sun Nov 26 20:06:53 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 26 Nov 2006 20:06:53 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <13278171.1164588993796.JavaMail.root@sniper11> Message-ID: <000301c711c8$b5cf46a0$0200a8c0@danwaters> That was it! Thanks Greg - I was getting a little spooked! Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg -----Original Message----- Subject: Re: [AccessD] Table Relationships Hi Stuart, Well - I did that but the duplicate instances were there again after I repaired, compacted & closed the database and reopened it. Is there anything else that might work? Dan Waters From Gustav at cactus.dk Mon Nov 27 02:25:04 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 27 Nov 2006 09:25:04 +0100 Subject: [AccessD] Table Relationships Message-ID: Hi Maybe. It was not a "ghost" table. If you had more than one relation to a table, the second and third are by default named _1, _2 and so on. Now that second relation is lost. /gustav >>> dwaters at usinternet.com 27-11-2006 03:06 >>> That was it! Thanks Greg - I was getting a little spooked! Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg From pedro at plex.nl Mon Nov 27 08:54:37 2006 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 27 Nov 2006 15:54:37 +0100 Subject: [AccessD] saving values References: <007a01c711c7$ae666a20$6401a8c0@HAL9005> Message-ID: <000601c71233$f5d900e0$4001a8c0@qmotionfaa3ad9> Hello Rocky, i included the Where statement, but get an eror when closing the subform with the code: Runtime error 3201, no current record. When clicking debug button, rs!edit is highlited yellow. I used help, but still do not understand it. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 2:59 AM Subject: Re: [AccessD] saving values > Pedro: > > You need to add the WHERE clause to your set statement: > > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) > > Do you know what the primary key value is of the record you want to update > with the values from the unbound text boxes? > > Rocky > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Sunday, November 26, 2006 2:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: > 11/25/2006 > 10:55 AM > > > -- > 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 27 09:04:37 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Nov 2006 09:04:37 -0600 Subject: [AccessD] Table Relationships In-Reply-To: <32464957.1164616329996.JavaMail.root@sniper25> Message-ID: <001401c71235$5b9dbfa0$0200a8c0@danwaters> Thanks Gustav - that's good to know. With what I was looking at, it was truly a duplicate relationship and was not needed. Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Hi Maybe. It was not a "ghost" table. If you had more than one relation to a table, the second and third are by default named _1, _2 and so on. Now that second relation is lost. /gustav >>> dwaters at usinternet.com 27-11-2006 03:06 >>> That was it! Thanks Greg - I was getting a little spooked! Dan Waters -----Original Message----- Subject: Re: [AccessD] Table Relationships Dan: Does the 'ghost' table have a relationship (or an apparent one)? If so, you may have to delete it first, then delete the ghost table, and then save the relationships. That's always gotten rid of the ones I occasionally get. Greg From dwaters at usinternet.com Mon Nov 27 09:27:34 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Nov 2006 09:27:34 -0600 Subject: [AccessD] saving values In-Reply-To: <12132737.1164640754292.JavaMail.root@Sniper26> Message-ID: <004301c71238$9057a500$0200a8c0@danwaters> Try rs.edit instead of rs!edit. Dan Waters -----Original Message----- Subject: Re: [AccessD] saving values Hello Rocky, i included the Where statement, but get an eror when closing the subform with the code: Runtime error 3201, no current record. When clicking debug button, rs!edit is highlited yellow. I used help, but still do not understand it. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 2:59 AM Subject: Re: [AccessD] saving values > Pedro: > > You need to add the WHERE clause to your set statement: > > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) > > Do you know what the primary key value is of the record you want to update > with the values from the unbound text boxes? > > Rocky > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Sunday, November 26, 2006 2:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: > 11/25/2006 > 10:55 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 27 09:39:55 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 07:39:55 -0800 Subject: [AccessD] saving values In-Reply-To: <000601c71233$f5d900e0$4001a8c0@qmotionfaa3ad9> Message-ID: <001101c7123a$49d88c00$6401a8c0@HAL9005> Pedro: Just a guess but perhaps using the WHERE clause returns no records because the value for the PK you're using is invalid. After the set rs = statement put If rs.bof=true and rs.eof=true then Msgbox "Holy Moly! There's No Records In Here!!! - " & lngKeyValue Exit sub End if To see if that's the case and what the value is of the key you're apssing. Post the set rs = statement and let's have a look at it. Regards, Rocky If it is then -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 6:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, i included the Where statement, but get an eror when closing the subform with the code: Runtime error 3201, no current record. When clicking debug button, rs!edit is highlited yellow. I used help, but still do not understand it. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 2:59 AM Subject: Re: [AccessD] saving values > Pedro: > > You need to add the WHERE clause to your set statement: > > Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM > tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) > > Do you know what the primary key value is of the record you want to update > with the values from the unbound text boxes? > > Rocky > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Sunday, November 26, 2006 2:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello, > > how would i point to the first record in the Where clausule with the ID? > I am placing values from a unbound form, with no ID in a bound form with > an > ID (= FossielID). > > > Please give me an idea to do this in the code below? > > Pedro Janssen > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 25, 2006 10:30 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> It looks like you are opening the table with all of the records. So the >> record pointer of the recor4dset is always pointing to the first record. >> You need to either 1) use a WHERE clause in the Set rs = db.OpenRecordset >> so >> you get only the record you want, or 2) after opening the recordset use >> rs.FindFirst and specify the primary key of the record you want to >> update. >> Then the recordset will be positioned at the record you want to update. >> Be >> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >> record. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Saturday, November 25, 2006 12:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky (and Others), >> >> the code is working fine, but only for the first record on the form. >> When i try to use it on the second record (after closing) it jumps to >> record >> >> one and overwrite's the data there. >> Trying to put the where statement in it to state that ID = ID, it gives >> an >> error on record two that it expects parameter = 1. >> >> The code that i use now: >> >> Private Sub Form_Close() >> >> Dim db As DAO.Database >> Dim rs As DAO.Recordset >> >> Set db = CurrentDb >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData") >> >> rs.Edit >> rs!Era = cboEra >> rs!Periode = cboPeriode >> rs!Epoch = cboEpoch >> rs!Etage = cboEtage >> rs!Tijd = cboTijd >> rs.Update >> >> rs.Close >> db.Close >> >> Set rs = Nothing >> Set db = Nothing >> >> Me.Requery >> >> End Sub >> >> What can i do about this? >> >> Pedro Janssen >> >> >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Friday, November 24, 2006 9:09 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just off the top and untested: >>> >>> Dim db as DAO.Database >>> Dim rs as DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>> tblMyTable >>> WHERE fldPK = " & lngPrimaryKey) >>> >>> ' Note: You could use any criteria you want in the WHERE clause; doesn't >>> have to be the primary key. >>> >>> rs.Edit >>> rs!fldOne = cboComboBox1 >>> rs!fldTwo = cboComboBox2 >>> rs!fldThree = cboComboBox3 >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> set rs = Nothing >>> set db = Nothing >>> >>> Me.Requery (assuming you want the values to show on the bound form. >>> >>> >>> Or here's another approach which I think should work but I haven't >>> tested: >>> >>> Set db = CurrentDb >>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>> & >>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>> & >>> cboComboBox3 & "';" >>> >>> Note that I have assumes that the values are string values and so need >>> to >>> have preceding and following apostrophes. If the values are numeric >>> then >>> they won't need the '. >>> >>> I'm sure someone else looking at this code will make the appropriate >>> corrections. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Thursday, November 23, 2006 3:35 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> could you give me an example of that, preferably in a example database. >>> I have tried several things until now but nothing is working perfect. >>> >>> Pedro Janssen >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 12:07 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> I'd use Dao, open the record in question, push the value in, and >>>> requery >>>> the >>>> form. >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: 23 November 2006 13:32 >>>> To: AccessD >>>> Subject: [AccessD] saving values >>>> >>>> Hello Group, >>>> >>>> i still have troubles saving values from unbound comboxes (cascade) in >>>> table >>>> fields. >>>> >>>> What is the best way to do this. >>>> >>>> Pedro Janssen >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>> 22/11/2006 >>> 17:41 >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >> 11/24/2006 >> 5:20 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: > 11/25/2006 > 10:55 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From gwsmith at iowatelecom.net Mon Nov 27 11:40:51 2006 From: gwsmith at iowatelecom.net (gwsmith at iowatelecom.net) Date: Mon, 27 Nov 2006 11:40:51 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <004301c71238$9057a500$0200a8c0@danwaters> References: <12132737.1164640754292.JavaMail.root@Sniper26> <004301c71238$9057a500$0200a8c0@danwaters> Message-ID: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> Shamil: Thanks again for the sample file code, by the way. The first two functions, XmlImportTest1() and XmlImportTest2() both work just fine. However, when I try to test XmlImportTest3() or XmlImportTest4(), I get the following error: Run Time Error '429' Active X Component Can't Create Object and the following line of code is highlighted as the culprit: obj.ImportData CurrentDb, "Shippers", Array _ ("CompanyName", "Phone"), mcstrXml1FullPath2 where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). I have the sneaky feeling I don't have something installed or properly referenced, but I'm not sure what. Any suggestions? Thanks! Greg Smith From bheygood at abestsystems.com Mon Nov 27 13:23:49 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 27 Nov 2006 11:23:49 -0800 Subject: [AccessD] DAO Fiekd Name String/Variable In-Reply-To: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> Message-ID: Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob From Jim.Hale at FleetPride.com Mon Nov 27 13:46:54 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 27 Nov 2006 13:46:54 -0600 Subject: [AccessD] Excel Import Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE125@corp-es01.fleetpride.com> Sorry, I was out for the week. Here is the secret to using dynamic ranges. HTH Jim Hale http://www.ozgrid.com/Excel/DynamicRanges.htm -----Original Message----- From: McGillivray, Don [IT] [mailto:Donald.A.McGillivray at sprint.com] Sent: Monday, November 20, 2006 5:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Import True, but the inserted rows need to be ABOVE the last row in the existing range in order for this to work, no? Not such a big deal if you're adding a row or two, but when adding large blocks of data, it can be a pain to insert exactly (or slightly more than) the number or rows you want before adding the data. You definitely don't want to insert fewer than you will need. I seem to remember somebody (Gustav?) posting some code a few months back that managed the dynamic expansion of a named range in Excel. Don't remember how it worked, or anything else about it, but it looked like a useful thing for situations like this. Does that ring a bell with anybody else? Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, November 20, 2006 3:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel Import If you insert a new row at the bottom of the range, you don't have to redefine the range -- Excel does it for you automatically. You could come up with a macro that does the work for you. I swear, I wrote about that, but I'd never find it now. But, here's how it would go -- you'd enter a record, press Ctrl+I or some other keyboard hot key combination to imitate a macro that would insert a new row at the bottom of the range and position your cursor at the first cell in the new row -- that way, Excel is constantly extending the range. Susan H. Thanks. This worked. Although, for an ongoing process...I can just see me forgetting to re-define my range...and not uploading all the proper data. :( For now, however...this worked. :) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From pedro at plex.nl Mon Nov 27 13:50:37 2006 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 27 Nov 2006 20:50:37 +0100 Subject: [AccessD] saving values References: <001101c7123a$49d88c00$6401a8c0@HAL9005> Message-ID: <003d01c7125d$4f725560$4001a8c0@qmotionfaa3ad9> Hello Rocky, the message that is get back is "Holy Moly! There's No Records In Here!!! - 0 That is strange, because in record two the FossielID (Primary Key of the table) value is 2 (auto Number field). Ik could sent you the small test.mdb, maybe you have seen the problem then in a minute? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 4:39 PM Subject: Re: [AccessD] saving values > Pedro: > > Just a guess but perhaps using the WHERE clause returns no records because > the value for the PK you're using is invalid. > > After the set rs = statement put > > If rs.bof=true and rs.eof=true then > Msgbox "Holy Moly! There's No Records In Here!!! - " & > lngKeyValue > Exit sub > End if > > To see if that's the case and what the value is of the key you're apssing. > > Post the set rs = statement and let's have a look at it. > > Regards, > > Rocky > > > If it is then > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 6:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > i included the Where statement, but get an eror when closing the subform > with the code: > Runtime error 3201, no current record. > When clicking debug button, rs!edit is highlited yellow. > > I used help, but still do not understand it. > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 2:59 AM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You need to add the WHERE clause to your set statement: >> >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >> >> Do you know what the primary key value is of the record you want to >> update >> with the values from the unbound text boxes? >> >> Rocky >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Sunday, November 26, 2006 2:31 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello, >> >> how would i point to the first record in the Where clausule with the ID? >> I am placing values from a unbound form, with no ID in a bound form with >> an >> ID (= FossielID). >> >> >> Please give me an idea to do this in the code below? >> >> Pedro Janssen >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 25, 2006 10:30 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> It looks like you are opening the table with all of the records. So the >>> record pointer of the recor4dset is always pointing to the first record. >>> You need to either 1) use a WHERE clause in the Set rs = >>> db.OpenRecordset >>> so >>> you get only the record you want, or 2) after opening the recordset use >>> rs.FindFirst and specify the primary key of the record you want to >>> update. >>> Then the recordset will be positioned at the record you want to update. >>> Be >>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>> record. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Saturday, November 25, 2006 12:37 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky (and Others), >>> >>> the code is working fine, but only for the first record on the form. >>> When i try to use it on the second record (after closing) it jumps to >>> record >>> >>> one and overwrite's the data there. >>> Trying to put the where statement in it to state that ID = ID, it gives >>> an >>> error on record two that it expects parameter = 1. >>> >>> The code that i use now: >>> >>> Private Sub Form_Close() >>> >>> Dim db As DAO.Database >>> Dim rs As DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData") >>> >>> rs.Edit >>> rs!Era = cboEra >>> rs!Periode = cboPeriode >>> rs!Epoch = cboEpoch >>> rs!Etage = cboEtage >>> rs!Tijd = cboTijd >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> Set rs = Nothing >>> Set db = Nothing >>> >>> Me.Requery >>> >>> End Sub >>> >>> What can i do about this? >>> >>> Pedro Janssen >>> >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 9:09 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> Just off the top and untested: >>>> >>>> Dim db as DAO.Database >>>> Dim rs as DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>> tblMyTable >>>> WHERE fldPK = " & lngPrimaryKey) >>>> >>>> ' Note: You could use any criteria you want in the WHERE clause; >>>> doesn't >>>> have to be the primary key. >>>> >>>> rs.Edit >>>> rs!fldOne = cboComboBox1 >>>> rs!fldTwo = cboComboBox2 >>>> rs!fldThree = cboComboBox3 >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> set rs = Nothing >>>> set db = Nothing >>>> >>>> Me.Requery (assuming you want the values to show on the bound form. >>>> >>>> >>>> Or here's another approach which I think should work but I haven't >>>> tested: >>>> >>>> Set db = CurrentDb >>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>>> & >>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>>> & >>>> cboComboBox3 & "';" >>>> >>>> Note that I have assumes that the values are string values and so need >>>> to >>>> have preceding and following apostrophes. If the values are numeric >>>> then >>>> they won't need the '. >>>> >>>> I'm sure someone else looking at this code will make the appropriate >>>> corrections. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Thursday, November 23, 2006 3:35 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky, >>>> >>>> could you give me an example of that, preferably in a example database. >>>> I have tried several things until now but nothing is working perfect. >>>> >>>> Pedro Janssen >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 12:07 AM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> I'd use Dao, open the record in question, push the value in, and >>>>> requery >>>>> the >>>>> form. >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: 23 November 2006 13:32 >>>>> To: AccessD >>>>> Subject: [AccessD] saving values >>>>> >>>>> Hello Group, >>>>> >>>>> i still have troubles saving values from unbound comboxes (cascade) in >>>>> table >>>>> fields. >>>>> >>>>> What is the best way to do this. >>>>> >>>>> Pedro Janssen >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>> 11/24/2006 >>> 5:20 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >> 11/25/2006 >> 10:55 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > 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 27 14:19:55 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 12:19:55 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: Message-ID: <005601c71261$678510d0$6401a8c0@HAL9005> So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From bchacc at san.rr.com Mon Nov 27 14:21:50 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 12:21:50 -0800 Subject: [AccessD] saving values In-Reply-To: <003d01c7125d$4f725560$4001a8c0@qmotionfaa3ad9> Message-ID: <005701c71261$ac5f4180$6401a8c0@HAL9005> Sure, send it over. But perhaps you are using my air code for the search key - lngKeyValue - instead of your primary key value in FossielID? The message tells me that you are using the value 0 in the WHERE clause. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 11:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, the message that is get back is "Holy Moly! There's No Records In Here!!! - 0 That is strange, because in record two the FossielID (Primary Key of the table) value is 2 (auto Number field). Ik could sent you the small test.mdb, maybe you have seen the problem then in a minute? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 4:39 PM Subject: Re: [AccessD] saving values > Pedro: > > Just a guess but perhaps using the WHERE clause returns no records because > the value for the PK you're using is invalid. > > After the set rs = statement put > > If rs.bof=true and rs.eof=true then > Msgbox "Holy Moly! There's No Records In Here!!! - " & > lngKeyValue > Exit sub > End if > > To see if that's the case and what the value is of the key you're apssing. > > Post the set rs = statement and let's have a look at it. > > Regards, > > Rocky > > > If it is then > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 6:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > i included the Where statement, but get an eror when closing the subform > with the code: > Runtime error 3201, no current record. > When clicking debug button, rs!edit is highlited yellow. > > I used help, but still do not understand it. > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 2:59 AM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You need to add the WHERE clause to your set statement: >> >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >> >> Do you know what the primary key value is of the record you want to >> update >> with the values from the unbound text boxes? >> >> Rocky >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Sunday, November 26, 2006 2:31 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello, >> >> how would i point to the first record in the Where clausule with the ID? >> I am placing values from a unbound form, with no ID in a bound form with >> an >> ID (= FossielID). >> >> >> Please give me an idea to do this in the code below? >> >> Pedro Janssen >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 25, 2006 10:30 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> It looks like you are opening the table with all of the records. So the >>> record pointer of the recor4dset is always pointing to the first record. >>> You need to either 1) use a WHERE clause in the Set rs = >>> db.OpenRecordset >>> so >>> you get only the record you want, or 2) after opening the recordset use >>> rs.FindFirst and specify the primary key of the record you want to >>> update. >>> Then the recordset will be positioned at the record you want to update. >>> Be >>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>> record. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Saturday, November 25, 2006 12:37 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky (and Others), >>> >>> the code is working fine, but only for the first record on the form. >>> When i try to use it on the second record (after closing) it jumps to >>> record >>> >>> one and overwrite's the data there. >>> Trying to put the where statement in it to state that ID = ID, it gives >>> an >>> error on record two that it expects parameter = 1. >>> >>> The code that i use now: >>> >>> Private Sub Form_Close() >>> >>> Dim db As DAO.Database >>> Dim rs As DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData") >>> >>> rs.Edit >>> rs!Era = cboEra >>> rs!Periode = cboPeriode >>> rs!Epoch = cboEpoch >>> rs!Etage = cboEtage >>> rs!Tijd = cboTijd >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> Set rs = Nothing >>> Set db = Nothing >>> >>> Me.Requery >>> >>> End Sub >>> >>> What can i do about this? >>> >>> Pedro Janssen >>> >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 9:09 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> Just off the top and untested: >>>> >>>> Dim db as DAO.Database >>>> Dim rs as DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>> tblMyTable >>>> WHERE fldPK = " & lngPrimaryKey) >>>> >>>> ' Note: You could use any criteria you want in the WHERE clause; >>>> doesn't >>>> have to be the primary key. >>>> >>>> rs.Edit >>>> rs!fldOne = cboComboBox1 >>>> rs!fldTwo = cboComboBox2 >>>> rs!fldThree = cboComboBox3 >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> set rs = Nothing >>>> set db = Nothing >>>> >>>> Me.Requery (assuming you want the values to show on the bound form. >>>> >>>> >>>> Or here's another approach which I think should work but I haven't >>>> tested: >>>> >>>> Set db = CurrentDb >>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>>> & >>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>>> & >>>> cboComboBox3 & "';" >>>> >>>> Note that I have assumes that the values are string values and so need >>>> to >>>> have preceding and following apostrophes. If the values are numeric >>>> then >>>> they won't need the '. >>>> >>>> I'm sure someone else looking at this code will make the appropriate >>>> corrections. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Thursday, November 23, 2006 3:35 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky, >>>> >>>> could you give me an example of that, preferably in a example database. >>>> I have tried several things until now but nothing is working perfect. >>>> >>>> Pedro Janssen >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 12:07 AM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> I'd use Dao, open the record in question, push the value in, and >>>>> requery >>>>> the >>>>> form. >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: 23 November 2006 13:32 >>>>> To: AccessD >>>>> Subject: [AccessD] saving values >>>>> >>>>> Hello Group, >>>>> >>>>> i still have troubles saving values from unbound comboxes (cascade) in >>>>> table >>>>> fields. >>>>> >>>>> What is the best way to do this. >>>>> >>>>> Pedro Janssen >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>> 11/24/2006 >>> 5:20 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >> 11/25/2006 >> 10:55 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From shamil at users.mns.ru Mon Nov 27 14:37:26 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 27 Nov 2006 23:37:26 +0300 Subject: [AccessD] [Access-D] XML Import Sample File In-Reply-To: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> Message-ID: <000301c71263$e1763070$6401a8c0@nant> Hello Greg, Try to change reference to MSXML v.4.0 or above.... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gwsmith at iowatelecom.net Sent: Monday, November 27, 2006 8:41 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML Import Sample File Shamil: Thanks again for the sample file code, by the way. The first two functions, XmlImportTest1() and XmlImportTest2() both work just fine. However, when I try to test XmlImportTest3() or XmlImportTest4(), I get the following error: Run Time Error '429' Active X Component Can't Create Object and the following line of code is highlighted as the culprit: obj.ImportData CurrentDb, "Shippers", Array _ ("CompanyName", "Phone"), mcstrXml1FullPath2 where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). I have the sneaky feeling I don't have something installed or properly referenced, but I'm not sure what. Any suggestions? Thanks! Greg Smith -- 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 27 15:52:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Nov 2006 13:52:36 -0800 Subject: [AccessD] [Access-D] XML Import Sample File In-Reply-To: <000301c71263$e1763070$6401a8c0@nant> References: <000301c71263$e1763070$6401a8c0@nant> Message-ID: <456B5E24.6@shaw.ca> You might want to grab MSXML 4.0 SP2, mostly security fixes. http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en#Requirements MSXML 3.0 is up to SP 7, this runs with OS below Win2000 There are versions MSXML 5.0 and 6.0 but I only need for advanced XPath standards and XLINQ http://www.microsoft.com/downloads/details.aspx?FamilyID=993c0bcf-3bcf-4009-be21-27e85e1857b1&DisplayLang=en#Requirements Shamil Salakhetdinov wrote: >Hello Greg, > >Try to change reference to MSXML v.4.0 or above.... > >-- >Shamil > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >gwsmith at iowatelecom.net >Sent: Monday, November 27, 2006 8:41 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XML Import Sample File > >Shamil: > >Thanks again for the sample file code, by the way. > >The first two functions, XmlImportTest1() and XmlImportTest2() both work >just fine. However, when I try to test XmlImportTest3() or >XmlImportTest4(), I get the following error: > > Run Time Error '429' > Active X Component Can't Create Object > >and the following line of code is highlighted as the culprit: > > obj.ImportData CurrentDb, "Shippers", Array _ > ("CompanyName", "Phone"), mcstrXml1FullPath2 > >where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). > >I have the sneaky feeling I don't have something installed or properly >referenced, but I'm not sure what. > >Any suggestions? > >Thanks! > >Greg Smith > > > -- Marty Connelly Victoria, B.C. Canada From gwsmith at iowatelecom.net Mon Nov 27 15:53:42 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Mon, 27 Nov 2006 15:53:42 -0600 (CST) Subject: [AccessD] [Access-D] XML Import Sample File In-Reply-To: <000301c71263$e1763070$6401a8c0@nant> References: <1520.65.118.249.214.1164649251.squirrel@webmail.iowatelecom.net> <000301c71263$e1763070$6401a8c0@nant> Message-ID: <21609.65.118.249.214.1164664422.squirrel@webmail.iowatelecom.net> Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > gwsmith at iowatelecom.net > Sent: Monday, November 27, 2006 8:41 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XML Import Sample File > > Shamil: > > Thanks again for the sample file code, by the way. > > The first two functions, XmlImportTest1() and XmlImportTest2() both work > just fine. However, when I try to test XmlImportTest3() or > XmlImportTest4(), I get the following error: > > Run Time Error '429' > Active X Component Can't Create Object > > and the following line of code is highlighted as the culprit: > > obj.ImportData CurrentDb, "Shippers", Array _ > ("CompanyName", "Phone"), mcstrXml1FullPath2 > > where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). > > I have the sneaky feeling I don't have something installed or properly > referenced, but I'm not sure what. > > Any suggestions? > > Thanks! > > Greg Smith > From bheygood at abestsystems.com Mon Nov 27 16:20:14 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 27 Nov 2006 14:20:14 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: <005601c71261$678510d0$6401a8c0@HAL9005> Message-ID: in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- 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 27 16:31:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 14:31:17 -0800 Subject: [AccessD] saving values In-Reply-To: <003d01c7125d$4f725560$4001a8c0@qmotionfaa3ad9> Message-ID: <002301c71273$c1dfd800$6401a8c0@HAL9005> Pedro: You are using my variable name lngKeyValue for the criterion in the WHERE clause to limit the recordset to the one record you are looking for. You should use the value of the field from the combo box, instead. And I'm not clear on what you're trying to store or what the relationship is between the two tables. So I can't be more precise. Tell me again the user process and what you're trying to accomplish. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 11:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, the message that is get back is "Holy Moly! There's No Records In Here!!! - 0 That is strange, because in record two the FossielID (Primary Key of the table) value is 2 (auto Number field). Ik could sent you the small test.mdb, maybe you have seen the problem then in a minute? Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 4:39 PM Subject: Re: [AccessD] saving values > Pedro: > > Just a guess but perhaps using the WHERE clause returns no records because > the value for the PK you're using is invalid. > > After the set rs = statement put > > If rs.bof=true and rs.eof=true then > Msgbox "Holy Moly! There's No Records In Here!!! - " & > lngKeyValue > Exit sub > End if > > To see if that's the case and what the value is of the key you're apssing. > > Post the set rs = statement and let's have a look at it. > > Regards, > > Rocky > > > If it is then > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 6:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > i included the Where statement, but get an eror when closing the subform > with the code: > Runtime error 3201, no current record. > When clicking debug button, rs!edit is highlited yellow. > > I used help, but still do not understand it. > > Pedro Janssen > > > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 2:59 AM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You need to add the WHERE clause to your set statement: >> >> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >> >> Do you know what the primary key value is of the record you want to >> update >> with the values from the unbound text boxes? >> >> Rocky >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Sunday, November 26, 2006 2:31 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello, >> >> how would i point to the first record in the Where clausule with the ID? >> I am placing values from a unbound form, with no ID in a bound form with >> an >> ID (= FossielID). >> >> >> Please give me an idea to do this in the code below? >> >> Pedro Janssen >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Saturday, November 25, 2006 10:30 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> It looks like you are opening the table with all of the records. So the >>> record pointer of the recor4dset is always pointing to the first record. >>> You need to either 1) use a WHERE clause in the Set rs = >>> db.OpenRecordset >>> so >>> you get only the record you want, or 2) after opening the recordset use >>> rs.FindFirst and specify the primary key of the record you want to >>> update. >>> Then the recordset will be positioned at the record you want to update. >>> Be >>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>> record. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Saturday, November 25, 2006 12:37 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky (and Others), >>> >>> the code is working fine, but only for the first record on the form. >>> When i try to use it on the second record (after closing) it jumps to >>> record >>> >>> one and overwrite's the data there. >>> Trying to put the where statement in it to state that ID = ID, it gives >>> an >>> error on record two that it expects parameter = 1. >>> >>> The code that i use now: >>> >>> Private Sub Form_Close() >>> >>> Dim db As DAO.Database >>> Dim rs As DAO.Recordset >>> >>> Set db = CurrentDb >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData") >>> >>> rs.Edit >>> rs!Era = cboEra >>> rs!Periode = cboPeriode >>> rs!Epoch = cboEpoch >>> rs!Etage = cboEtage >>> rs!Tijd = cboTijd >>> rs.Update >>> >>> rs.Close >>> db.Close >>> >>> Set rs = Nothing >>> Set db = Nothing >>> >>> Me.Requery >>> >>> End Sub >>> >>> What can i do about this? >>> >>> Pedro Janssen >>> >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Friday, November 24, 2006 9:09 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> Just off the top and untested: >>>> >>>> Dim db as DAO.Database >>>> Dim rs as DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>> tblMyTable >>>> WHERE fldPK = " & lngPrimaryKey) >>>> >>>> ' Note: You could use any criteria you want in the WHERE clause; >>>> doesn't >>>> have to be the primary key. >>>> >>>> rs.Edit >>>> rs!fldOne = cboComboBox1 >>>> rs!fldTwo = cboComboBox2 >>>> rs!fldThree = cboComboBox3 >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> set rs = Nothing >>>> set db = Nothing >>>> >>>> Me.Requery (assuming you want the values to show on the bound form. >>>> >>>> >>>> Or here's another approach which I think should work but I haven't >>>> tested: >>>> >>>> Set db = CurrentDb >>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & cboComboBox1 >>>> & >>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = '" >>>> & >>>> cboComboBox3 & "';" >>>> >>>> Note that I have assumes that the values are string values and so need >>>> to >>>> have preceding and following apostrophes. If the values are numeric >>>> then >>>> they won't need the '. >>>> >>>> I'm sure someone else looking at this code will make the appropriate >>>> corrections. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Thursday, November 23, 2006 3:35 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky, >>>> >>>> could you give me an example of that, preferably in a example database. >>>> I have tried several things until now but nothing is working perfect. >>>> >>>> Pedro Janssen >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 12:07 AM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> I'd use Dao, open the record in question, push the value in, and >>>>> requery >>>>> the >>>>> form. >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: 23 November 2006 13:32 >>>>> To: AccessD >>>>> Subject: [AccessD] saving values >>>>> >>>>> Hello Group, >>>>> >>>>> i still have troubles saving values from unbound comboxes (cascade) in >>>>> table >>>>> fields. >>>>> >>>>> What is the best way to do this. >>>>> >>>>> Pedro Janssen >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>> 22/11/2006 >>>> 17:41 >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>> 11/24/2006 >>> 5:20 PM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >> 11/25/2006 >> 10:55 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From bchacc at san.rr.com Mon Nov 27 16:34:15 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 14:34:15 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: Message-ID: <002401c71274$2bcb2b70$6401a8c0@HAL9005> Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From shamil at users.mns.ru Mon Nov 27 16:40:02 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Nov 2006 01:40:02 +0300 Subject: [AccessD] XML Import Sample File In-Reply-To: <21609.65.118.249.214.1164664422.squirrel@webmail.iowatelecom.net> Message-ID: <000001c71274$fa875d30$6401a8c0@nant> Greg, I did try sample code with MSXML 6.0 and it worked OK. Try to debug/trace this function: My guess the problem is in this function: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader40 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader40 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 12:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Access-D] XML Import Sample File Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > gwsmith at iowatelecom.net > Sent: Monday, November 27, 2006 8:41 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] XML Import Sample File > > Shamil: > > Thanks again for the sample file code, by the way. > > The first two functions, XmlImportTest1() and XmlImportTest2() both work > just fine. However, when I try to test XmlImportTest3() or > XmlImportTest4(), I get the following error: > > Run Time Error '429' > Active X Component Can't Create Object > > and the following line of code is highlighted as the culprit: > > obj.ImportData CurrentDb, "Shippers", Array _ > ("CompanyName", "Phone"), mcstrXml1FullPath2 > > where ...FullPath1 is for ...Test3() and ...FullPath2 is for ...Test4(). > > I have the sneaky feeling I don't have something installed or properly > referenced, but I'm not sure what. > > Any suggestions? > > Thanks! > > Greg Smith > -- 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 27 17:05:23 2006 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 28 Nov 2006 00:05:23 +0100 Subject: [AccessD] saving values References: <002301c71273$c1dfd800$6401a8c0@HAL9005> Message-ID: <001e01c71278$89ab5130$4001a8c0@qmotionfaa3ad9> Hello Rocky, In this testdatabase is just want to make the cascadecombox selection trying to work, for a major Fossil Database. The Main Table in the test is tblFossieldata (fossildata). The form frmFossielData is bound to that table. In this table you see the fields Era, Periode, Epoch, Etage and Tijd. These are Geological Timetable fields. These fields are just textfields The table tblTijdschaal (timescale) I filled with the vlues that i want to use in the tblFossielData, in the fields that i mentioned before. Normally i would do this with a combobox for each, but the list of timescale is very large, so i would simplify that by using a cascadecombo, that is present in frmTijdschaal. When opening a record in frmFossielData, and field Era gets the focus (in the real database there wil be a button click event), the unbound subform gets the focus. By using the cascade, Each field is filtered by the value of the combobox before. When selected the values in the five cascade comboboxes, i want to close the frmTijdschaal en the values of Era.frmTijdschaal must be placed in the field Era of frmFossielData, etc for the other four fields. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 11:31 PM Subject: Re: [AccessD] saving values > Pedro: > > You are using my variable name lngKeyValue for the criterion in the WHERE > clause to limit the recordset to the one record you are looking for. You > should use the value of the field from the combo box, instead. > > And I'm not clear on what you're trying to store or what the relationship > is > between the two tables. So I can't be more precise. > > Tell me again the user process and what you're trying to accomplish. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 11:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > the message that is get back is "Holy Moly! There's No Records In > Here!!! - > > 0 > > That is strange, because in record two the FossielID (Primary Key of the > table) value is 2 (auto Number field). > > Ik could sent you the small test.mdb, > maybe you have seen the problem then in a minute? > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 4:39 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just a guess but perhaps using the WHERE clause returns no records >> because >> the value for the PK you're using is invalid. >> >> After the set rs = statement put >> >> If rs.bof=true and rs.eof=true then >> Msgbox "Holy Moly! There's No Records In Here!!! - " & >> lngKeyValue >> Exit sub >> End if >> >> To see if that's the case and what the value is of the key you're >> apssing. >> >> Post the set rs = statement and let's have a look at it. >> >> Regards, >> >> Rocky >> >> >> If it is then >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 6:55 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> i included the Where statement, but get an eror when closing the subform >> with the code: >> Runtime error 3201, no current record. >> When clicking debug button, rs!edit is highlited yellow. >> >> I used help, but still do not understand it. >> >> Pedro Janssen >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 2:59 AM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> You need to add the WHERE clause to your set statement: >>> >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>> >>> Do you know what the primary key value is of the record you want to >>> update >>> with the values from the unbound text boxes? >>> >>> Rocky >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Sunday, November 26, 2006 2:31 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello, >>> >>> how would i point to the first record in the Where clausule with the ID? >>> I am placing values from a unbound form, with no ID in a bound form with >>> an >>> ID (= FossielID). >>> >>> >>> Please give me an idea to do this in the code below? >>> >>> Pedro Janssen >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 25, 2006 10:30 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> It looks like you are opening the table with all of the records. So >>>> the >>>> record pointer of the recor4dset is always pointing to the first >>>> record. >>>> You need to either 1) use a WHERE clause in the Set rs = >>>> db.OpenRecordset >>>> so >>>> you get only the record you want, or 2) after opening the recordset use >>>> rs.FindFirst and specify the primary key of the record you want to >>>> update. >>>> Then the recordset will be positioned at the record you want to update. >>>> Be >>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>> record. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Saturday, November 25, 2006 12:37 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky (and Others), >>>> >>>> the code is working fine, but only for the first record on the form. >>>> When i try to use it on the second record (after closing) it jumps to >>>> record >>>> >>>> one and overwrite's the data there. >>>> Trying to put the where statement in it to state that ID = ID, it gives >>>> an >>>> error on record two that it expects parameter = 1. >>>> >>>> The code that i use now: >>>> >>>> Private Sub Form_Close() >>>> >>>> Dim db As DAO.Database >>>> Dim rs As DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData") >>>> >>>> rs.Edit >>>> rs!Era = cboEra >>>> rs!Periode = cboPeriode >>>> rs!Epoch = cboEpoch >>>> rs!Etage = cboEtage >>>> rs!Tijd = cboTijd >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> Set rs = Nothing >>>> Set db = Nothing >>>> >>>> Me.Requery >>>> >>>> End Sub >>>> >>>> What can i do about this? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 9:09 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> Just off the top and untested: >>>>> >>>>> Dim db as DAO.Database >>>>> Dim rs as DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>> tblMyTable >>>>> WHERE fldPK = " & lngPrimaryKey) >>>>> >>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>> doesn't >>>>> have to be the primary key. >>>>> >>>>> rs.Edit >>>>> rs!fldOne = cboComboBox1 >>>>> rs!fldTwo = cboComboBox2 >>>>> rs!fldThree = cboComboBox3 >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> set rs = Nothing >>>>> set db = Nothing >>>>> >>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>> >>>>> >>>>> Or here's another approach which I think should work but I haven't >>>>> tested: >>>>> >>>>> Set db = CurrentDb >>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>> cboComboBox1 >>>>> & >>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>> '" >>>>> & >>>>> cboComboBox3 & "';" >>>>> >>>>> Note that I have assumes that the values are string values and so need >>>>> to >>>>> have preceding and following apostrophes. If the values are numeric >>>>> then >>>>> they won't need the '. >>>>> >>>>> I'm sure someone else looking at this code will make the appropriate >>>>> corrections. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky, >>>>> >>>>> could you give me an example of that, preferably in a example >>>>> database. >>>>> I have tried several things until now but nothing is working perfect. >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>> requery >>>>>> the >>>>>> form. >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: 23 November 2006 13:32 >>>>>> To: AccessD >>>>>> Subject: [AccessD] saving values >>>>>> >>>>>> Hello Group, >>>>>> >>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>> in >>>>>> table >>>>>> fields. >>>>>> >>>>>> What is the best way to do this. >>>>>> >>>>>> Pedro Janssen >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>> 11/24/2006 >>>> 5:20 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>> 11/25/2006 >>> 10:55 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > 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 27 17:08:24 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 15:08:24 -0800 Subject: [AccessD] Designing Reports Bogs Down Message-ID: <003001c71278$f11550f0$6401a8c0@HAL9005> Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky From cfoust at infostatsystems.com Mon Nov 27 17:51:50 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Nov 2006 15:51:50 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: What printer is that machine talking to, local or network? And on that machine, do you have background printing turned on? I remember running into this some time ago, but I can't recall the cause or cure, but printing to a local printer and having background printing turned off may help. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 3:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Designing Reports Bogs Down Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Nov 27 17:54:44 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 15:54:44 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: <000001c7127f$69aed300$6401a8c0@HAL9005> Never mind. Found it (I think). The printers window showed the default printer, which was a network printer on another machine, having 1 job in the queue. But nothing in the jobs window. On the machine where this printer is hooked up it showed zero jobs in the queue. Even after rebooting the first machine it still showed one job in the queue. So I deleted and reinstalled the printer. Now when I copy a text box on a report in design mode, spoolsv.exe still shows up in the task list but only briefly. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 3:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Designing Reports Bogs Down Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From martyconnelly at shaw.ca Mon Nov 27 18:00:11 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Nov 2006 16:00:11 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> References: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: <456B7C0B.6050306@shaw.ca> Try turning this off, Track name AutoCorrect Tools >> Options >> General >>.Track name AutoCorrect info should be off. http://support.microsoft.com/?kbid=290181 Also report could be corrupt so use SaveAsText and LoadFromText to save and rebuild report from text file. Beach Access Software wrote: >Dear List: > > > >My Access changed behavior today. When I go onto design mode on a report >(not of forms, though), and designing I do runs as slow as a stuck pig. > > > >So I popped up the task manager and it turns out that every time I move or >copy a control the program spoolsv.exe sucks up 20-50% of the cycles for >5-10 seconds. > > > >I tried repair, but have not tried a complete reinstall. This does not >happen on machine number2. Or 3. Just this, which is (unfortunately) my >primary development box at the moment. > > > >Anyone have a clue as to why this should start happening? > > > >MTIA > > > >Rocky > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Nov 27 18:33:30 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 16:33:30 -0800 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <456B7C0B.6050306@shaw.ca> Message-ID: <000001c71284$d47f15f0$6401a8c0@HAL9005> It was already turned off by default (I guess MS finally learned their lesson about this 'feature'). But I think I've traced the problem to a bad remote printer queue. Had to delete and reinstall the printer. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, November 27, 2006 4:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Designing Reports Bogs Down Try turning this off, Track name AutoCorrect Tools >> Options >> General >>.Track name AutoCorrect info should be off. http://support.microsoft.com/?kbid=290181 Also report could be corrupt so use SaveAsText and LoadFromText to save and rebuild report from text file. Beach Access Software wrote: >Dear List: > > > >My Access changed behavior today. When I go onto design mode on a report >(not of forms, though), and designing I do runs as slow as a stuck pig. > > > >So I popped up the task manager and it turns out that every time I move or >copy a control the program spoolsv.exe sucks up 20-50% of the cycles for >5-10 seconds. > > > >I tried repair, but have not tried a complete reinstall. This does not >happen on machine number2. Or 3. Just this, which is (unfortunately) my >primary development box at the moment. > > > >Anyone have a clue as to why this should start happening? > > > >MTIA > > > >Rocky > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bheid at sc.rr.com Mon Nov 27 18:55:19 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 27 Nov 2006 19:55:19 -0500 Subject: [AccessD] Designing Reports Bogs Down In-Reply-To: <003001c71278$f11550f0$6401a8c0@HAL9005> Message-ID: <000301c71287$e1396b30$2d01a8c0@bhxp> I just noticed this happening to me today also! And all I did was rebuild from source. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 6:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Designing Reports Bogs Down Dear List: My Access changed behavior today. When I go onto design mode on a report (not of forms, though), and designing I do runs as slow as a stuck pig. So I popped up the task manager and it turns out that every time I move or copy a control the program spoolsv.exe sucks up 20-50% of the cycles for 5-10 seconds. I tried repair, but have not tried a complete reinstall. This does not happen on machine number2. Or 3. Just this, which is (unfortunately) my primary development box at the moment. Anyone have a clue as to why this should start happening? MTIA Rocky From kp at sdsonline.net Mon Nov 27 19:22:52 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Nov 2006 12:22:52 +1100 Subject: [AccessD] vba bookmarks unreliable Access 2003? Message-ID: <000a01c7128b$badf02c0$6501a8c0@office> Has anyone noticed that when you create bookmarks in the code window in Access 2003 you can't always move from one to another ? Seems to get itself stuck......sometime it works and sometimes no luck. V. annoying.. ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From kp at sdsonline.net Mon Nov 27 19:36:27 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Nov 2006 12:36:27 +1100 Subject: [AccessD] Upgrading from Access 2000 to 2003 Message-ID: <001201c7128d$a00b1cc0$6501a8c0@office> I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti From kp at sdsonline.net Mon Nov 27 20:27:26 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Nov 2006 13:27:26 +1100 Subject: [AccessD] Rich text control as html Message-ID: <001901c71294$bf6c8b10$6501a8c0@office> Can anyone recommend a text box control I could get which would allow me to display it in a form and allow users full format ability (need to change fonts / colour, bold , bullets, paragraph indents etc). I then need to export the contents of the field to an external mdb where it gets read from for the website. The web developer has asked me to use a control which exports in html format so he can read the formatting and display as the users defined it in the mdb. (Access 2003) ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From stuart at lexacorp.com.pg Mon Nov 27 21:41:04 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Nov 2006 13:41:04 +1000 Subject: [AccessD] Rich text control as html In-Reply-To: <001901c71294$bf6c8b10$6501a8c0@office> References: <001901c71294$bf6c8b10$6501a8c0@office> Message-ID: <456C3C70.18365.15A0C525@stuart.lexacorp.com.pg> On 28 Nov 2006 at 13:27, Kath Pelletti wrote: > Can anyone recommend a text box control I could get which would allow > me to display it in a form and allow users full format ability (need > to change fonts / colour, bold , bullets, paragraph indents etc). > > I then need to export the contents of the field to an external mdb > where it gets read from for the website. The web developer has asked > me to use a control which exports in html format so he can read the > formatting and display as the users defined it in the mdb. (Access > 2003) How much do you want to spend? "TX Text Control" , "TE Edit Control" with the "HTML Add-on" and "SpellEditor" are all good but expensive options. http://www.textcontrol.com/ http://www.subsystems.com/ http://www.spelltext.com/aboutspe.htm From adtp at airtelbroadband.in Mon Nov 27 23:49:56 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 28 Nov 2006 11:19:56 +0530 Subject: [AccessD] Checking control property in an external mde database References: <001501c7109b$2bb0f0a0$6401a8c0@HAL9005> Message-ID: <012301c712b1$5eebede0$6d2a177d@pcadt> Rocky, For accessing control's properties, the form has to be open either in design or run time view. In case of mde, design view is ruled out. Function Fn_IsControlVisibleInExternalDb() as given below, will get you the visible status of desired control in external db. Though it involves opening & closing of target form in external db, the process remains invisible to the user. Note - If the target form is in datasheet view, mere checking of visible property does not conclusively establish whether the column in question is displayed or not. For that, ColumnHidden property has to be verified. Interestingly, ColumnHidden property is detectable only at run time (not in design view). Best wishes, A.D.Tejpal ---------------- ===================================== Function Fn_IsControlVisibleInExternalDb( _ ByVal FilePath As String, _ ByVal FormName As String, _ ByVal ControlName As String) As Boolean ' Returns True if the control is visible. ' Otherwise False On Error GoTo ErrTrap Dim acp As Access.Application Fn_IsControlVisibleInExternalDb = False ' Default Set acp = New Access.Application acp.OpenCurrentDatabase FilePath acp.DoCmd.OpenForm FormName If acp.Forms(FormName)(ControlName).Visible _ = True Then Fn_IsControlVisibleInExternalDb = True End If acp.DoCmd.Close acForm, FormName ExitPoint: On Error Resume Next acp.Quit Set acp = Nothing On Error GoTo 0 Exit Function ErrTrap: MsgBox "Err " & Err.Number & " - " & Err.Description Resume ExitPoint End Function ===================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Saturday, November 25, 2006 19:38 Subject: [AccessD] Checking control property in an external mde database Dear List: Is it possible to check the visible property of a control on a form in another database which is an mde? Would it be necessary to have that database is currently open with that form opened? MTIA Rocky From bchacc at san.rr.com Tue Nov 28 00:05:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 27 Nov 2006 22:05:17 -0800 Subject: [AccessD] Checking control property in an external mde database In-Reply-To: <012301c712b1$5eebede0$6d2a177d@pcadt> Message-ID: <001c01c712b3$2e114c40$6401a8c0@HAL9005> A.D.: Thanks for that function. My Chinese distributor wants to be able to make demo systems over there. I want to let them make demos only from the very restricted 35 part version. So if the 35 part limit label is visible in the mde, I will let the program run which creates an encrypted key with a thirty day limit. This will solve the problem. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, November 27, 2006 9:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking control property in an external mde database Rocky, For accessing control's properties, the form has to be open either in design or run time view. In case of mde, design view is ruled out. Function Fn_IsControlVisibleInExternalDb() as given below, will get you the visible status of desired control in external db. Though it involves opening & closing of target form in external db, the process remains invisible to the user. Note - If the target form is in datasheet view, mere checking of visible property does not conclusively establish whether the column in question is displayed or not. For that, ColumnHidden property has to be verified. Interestingly, ColumnHidden property is detectable only at run time (not in design view). Best wishes, A.D.Tejpal ---------------- ===================================== Function Fn_IsControlVisibleInExternalDb( _ ByVal FilePath As String, _ ByVal FormName As String, _ ByVal ControlName As String) As Boolean ' Returns True if the control is visible. ' Otherwise False On Error GoTo ErrTrap Dim acp As Access.Application Fn_IsControlVisibleInExternalDb = False ' Default Set acp = New Access.Application acp.OpenCurrentDatabase FilePath acp.DoCmd.OpenForm FormName If acp.Forms(FormName)(ControlName).Visible _ = True Then Fn_IsControlVisibleInExternalDb = True End If acp.DoCmd.Close acForm, FormName ExitPoint: On Error Resume Next acp.Quit Set acp = Nothing On Error GoTo 0 Exit Function ErrTrap: MsgBox "Err " & Err.Number & " - " & Err.Description Resume ExitPoint End Function ===================================== ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Saturday, November 25, 2006 19:38 Subject: [AccessD] Checking control property in an external mde database Dear List: Is it possible to check the visible property of a control on a form in another database which is an mde? Would it be necessary to have that database is currently open with that form opened? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bheygood at abestsystems.com Tue Nov 28 00:05:47 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 27 Nov 2006 22:05:47 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: <002401c71274$2bcb2b70$6401a8c0@HAL9005> Message-ID: Hey Rocky, Yeah, but i was truing to use teh !String convention. Oh well workied around it. Looks like i missed teh rain back home. See you soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 2:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Nov 28 00:21:44 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 28 Nov 2006 01:21:44 -0500 Subject: [AccessD] Rich text control as html References: <001901c71294$bf6c8b10$6501a8c0@office> <456C3C70.18365.15A0C525@stuart.lexacorp.com.pg> Message-ID: <002201c712b5$7ab98e70$3e3de844@50NM721> Kath www.lebans.com ...look for his RTF ocx ...its free and works well in all versions A97-A2k3 ...plus he's on the msaccess newsgroups regularly and will answer any problems you might have in your implementation if you post it there ...I use it in several apps to allow user edit and format of text portions of reports that go to their customers ...since the rtf is stored in an mdb table you should be able to export it as html using Access' own export capabilities. William Hindman ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, November 27, 2006 10:41 PM Subject: Re: [AccessD] Rich text control as html > On 28 Nov 2006 at 13:27, Kath Pelletti wrote: > >> Can anyone recommend a text box control I could get which would allow >> me to display it in a form and allow users full format ability (need >> to change fonts / colour, bold , bullets, paragraph indents etc). >> > >> I then need to export the contents of the field to an external mdb >> where it gets read from for the website. The web developer has asked >> me to use a control which exports in html format so he can read the >> formatting and display as the users defined it in the mdb. (Access >> 2003) > > > How much do you want to spend? > > "TX Text Control" , "TE Edit Control" with the "HTML Add-on" and > "SpellEditor" are all good but expensive options. > > http://www.textcontrol.com/ > http://www.subsystems.com/ > http://www.spelltext.com/aboutspe.htm > > > > -- > 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 28 00:49:09 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Nov 2006 16:49:09 +1000 Subject: [AccessD] Rich text control as html In-Reply-To: <002201c712b5$7ab98e70$3e3de844@50NM721> References: <001901c71294$bf6c8b10$6501a8c0@office>, <002201c712b5$7ab98e70$3e3de844@50NM721> Message-ID: <456C6885.23119.164CF691@stuart.lexacorp.com.pg> On 28 Nov 2006 at 1:21, William Hindman wrote: > Kath > > www.lebans.com ...look for his RTF ocx ...its free and works well in all > versions A97-A2k3 ...plus he's on the msaccess newsgroups regularly and will > answer any problems you might have in your implementation if you post it > there ...I use it in several apps to allow user edit and format of text > portions of reports that go to their customers ...since the rtf is stored in > an mdb table you should be able to export it as html using Access' own > export capabilities. Alternatively, once you have the text as RTF, use RTF2HTML from http://www2.bitstream.net/~bradyh/downloads/rtf2htmlrm.html to convert the RFT string to an HTML string and use standard File IO to write the string to a file. From wdhindman at dejpolsystems.com Tue Nov 28 00:58:48 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 28 Nov 2006 01:58:48 -0500 Subject: [AccessD] Checking control property in an external mde database References: <001c01c712b3$2e114c40$6401a8c0@HAL9005> Message-ID: <000501c712ba$a82ce500$3e3de844@50NM721> ...isn't it fairly easy to modify labels on mde forms using 3rd party software? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 1:05 AM Subject: Re: [AccessD] Checking control property in an external mde database > A.D.: > > Thanks for that function. My Chinese distributor wants to be able to make > demo systems over there. I want to let them make demos only from the very > restricted 35 part version. So if the 35 part limit label is visible in > the > mde, I will let the program run which creates an encrypted key with a > thirty > day limit. > > This will solve the problem. > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Monday, November 27, 2006 9:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Checking control property in an external mde > database > > Rocky, > > For accessing control's properties, the form has to be open either in > design or run time view. In case of mde, design view is ruled out. > > Function Fn_IsControlVisibleInExternalDb() as given below, will get you > the visible status of desired control in external db. Though it involves > opening & closing of target form in external db, the process remains > invisible to the user. > > Note - If the target form is in datasheet view, mere checking of > visible > property does not conclusively establish whether the column in question is > displayed or not. For that, ColumnHidden property has to be verified. > Interestingly, ColumnHidden property is detectable only at run time (not > in > design view). > > Best wishes, > A.D.Tejpal > ---------------- > > ===================================== > Function Fn_IsControlVisibleInExternalDb( _ > ByVal FilePath As String, _ > ByVal FormName As String, _ > ByVal ControlName As String) As Boolean > ' Returns True if the control is visible. > ' Otherwise False > On Error GoTo ErrTrap > Dim acp As Access.Application > > Fn_IsControlVisibleInExternalDb = False ' Default > > Set acp = New Access.Application > acp.OpenCurrentDatabase FilePath > > acp.DoCmd.OpenForm FormName > > If acp.Forms(FormName)(ControlName).Visible _ > = True Then > Fn_IsControlVisibleInExternalDb = True > End If > acp.DoCmd.Close acForm, FormName > > ExitPoint: > On Error Resume Next > acp.Quit > Set acp = Nothing > On Error GoTo 0 > Exit Function > > ErrTrap: > MsgBox "Err " & Err.Number & " - " & Err.Description > Resume ExitPoint > End Function > ===================================== > > ----- Original Message ----- > From: Beach Access Software > To: 'Access Developers discussion and problem solving' > Sent: Saturday, November 25, 2006 19:38 > Subject: [AccessD] Checking control property in an external mde database > > > Dear List: > > Is it possible to check the visible property of a control on a form in > another database which is an mde? Would it be necessary to have that > database is currently open with that form opened? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: > 11/27/2006 > 6:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael at ddisolutions.com.au Tue Nov 28 03:46:02 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 28 Nov 2006 20:46:02 +1100 Subject: [AccessD] TableDefs.Append issue Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116AD36@ddi-01.DDI.local> Hi all, I'm writing a tool for a client that requested VB6 FE and Access (2003) BE. I need to import some dbf files. What I've done is create a link to the dbf file using DAO.TableDefs.Append Works fine when I step through the code... Take out the breakpoints and I get 'table cannot be found errors' It seems that the tdf doesn't refresh quickly enough, I do call refresh after the append. What to do? cheers Michael M From JRojas at tnco-inc.com Tue Nov 28 07:48:19 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 28 Nov 2006 08:48:19 -0500 Subject: [AccessD] Problem linking to an ODBC table Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDF6E@ex2k3.corp.tnco-inc.com> Hello, I am using Access 2003 to connect to a Progress OpenEdge 10 database via ODBC. Everything is setup correctly but I am having a problem connecting to one particular table. Each time I try to connect to it, I get an error message that says "The size of a field is too long." Any ideas for a possible work around? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From jwcolby at colbyconsulting.com Tue Nov 28 07:48:15 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 08:48:15 -0500 Subject: [AccessD] Outer join speed Message-ID: <002a01c712f3$db344fe0$657aa8c0@m6805> Are outer joins inherently any slower than inner joins? In particular is an outer join slower where the number of records pulled is equal to the number pulled using an inner join? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Nov 28 08:14:07 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 09:14:07 -0500 Subject: [AccessD] Problem linking to an ODBC table In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDF6E@ex2k3.corp.tnco-inc.com> Message-ID: <002f01c712f7$780df070$657aa8c0@m6805> If I had to guess, I would say that one field in the table you are linking to is able to contain more data than Access can handle. Perhaps Access is mapping a field as text when it actually contains more data than a text field can handle (255 characters). Or perhaps there is a field that Access simply does not understand how to map, contains a data type that Access simply cannot handle. I would look at the table itself, inside of OpenEdge and see what kinds of data the table contains. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, November 28, 2006 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Problem linking to an ODBC table Hello, I am using Access 2003 to connect to a Progress OpenEdge 10 database via ODBC. Everything is setup correctly but I am having a problem connecting to one particular table. Each time I try to connect to it, I get an error message that says "The size of a field is too long." Any ideas for a possible work around? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.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 28 08:50:30 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 06:50:30 -0800 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: Message-ID: <003701c712fc$8cef4ca0$6401a8c0@HAL9005> Yeah, real gully washer. As you know we had several hundredths of an inch last week - our first in about nine months - and 90 accidents on the freeways. Yesterday we had 9 hundredths of an inch!!! With commensurate loss of life and property. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 10:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable Hey Rocky, Yeah, but i was truing to use teh !String convention. Oh well workied around it. Looks like i missed teh rain back home. See you soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 2:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bchacc at san.rr.com Tue Nov 28 08:51:51 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 06:51:51 -0800 Subject: [AccessD] Checking control property in an external mde database In-Reply-To: <000501c712ba$a82ce500$3e3de844@50NM721> Message-ID: <003801c712fc$bd55e4d0$6401a8c0@HAL9005> I use the best first party software from A.D. Tejpal, Pty. Who you gonna call? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 27, 2006 10:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking control property in an external mde database ...isn't it fairly easy to modify labels on mde forms using 3rd party software? William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 1:05 AM Subject: Re: [AccessD] Checking control property in an external mde database > A.D.: > > Thanks for that function. My Chinese distributor wants to be able to make > demo systems over there. I want to let them make demos only from the very > restricted 35 part version. So if the 35 part limit label is visible in > the > mde, I will let the program run which creates an encrypted key with a > thirty > day limit. > > This will solve the problem. > > Thanks and regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Monday, November 27, 2006 9:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Checking control property in an external mde > database > > Rocky, > > For accessing control's properties, the form has to be open either in > design or run time view. In case of mde, design view is ruled out. > > Function Fn_IsControlVisibleInExternalDb() as given below, will get you > the visible status of desired control in external db. Though it involves > opening & closing of target form in external db, the process remains > invisible to the user. > > Note - If the target form is in datasheet view, mere checking of > visible > property does not conclusively establish whether the column in question is > displayed or not. For that, ColumnHidden property has to be verified. > Interestingly, ColumnHidden property is detectable only at run time (not > in > design view). > > Best wishes, > A.D.Tejpal > ---------------- > > ===================================== > Function Fn_IsControlVisibleInExternalDb( _ > ByVal FilePath As String, _ > ByVal FormName As String, _ > ByVal ControlName As String) As Boolean > ' Returns True if the control is visible. > ' Otherwise False > On Error GoTo ErrTrap > Dim acp As Access.Application > > Fn_IsControlVisibleInExternalDb = False ' Default > > Set acp = New Access.Application > acp.OpenCurrentDatabase FilePath > > acp.DoCmd.OpenForm FormName > > If acp.Forms(FormName)(ControlName).Visible _ > = True Then > Fn_IsControlVisibleInExternalDb = True > End If > acp.DoCmd.Close acForm, FormName > > ExitPoint: > On Error Resume Next > acp.Quit > Set acp = Nothing > On Error GoTo 0 > Exit Function > > ErrTrap: > MsgBox "Err " & Err.Number & " - " & Err.Description > Resume ExitPoint > End Function > ===================================== > > ----- Original Message ----- > From: Beach Access Software > To: 'Access Developers discussion and problem solving' > Sent: Saturday, November 25, 2006 19:38 > Subject: [AccessD] Checking control property in an external mde database > > > Dear List: > > Is it possible to check the visible property of a control on a form in > another database which is an mde? Would it be necessary to have that > database is currently open with that form opened? > > MTIA > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: > 11/27/2006 > 6:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From jwcolby at colbyconsulting.com Tue Nov 28 09:15:18 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 10:15:18 -0500 Subject: [AccessD] DAO Field Name String/Variable In-Reply-To: <003701c712fc$8cef4ca0$6401a8c0@HAL9005> Message-ID: <003601c71300$04620950$657aa8c0@m6805> LOL, and even then you get about twice as much per year as they do over the mountains in Yuma. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Yeah, real gully washer. As you know we had several hundredths of an inch last week - our first in about nine months - and 90 accidents on the freeways. Yesterday we had 9 hundredths of an inch!!! With commensurate loss of life and property. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 10:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable Hey Rocky, Yeah, but i was truing to use teh !String convention. Oh well workied around it. Looks like i missed teh rain back home. See you soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 2:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable Bob: Right off the top of my head, I think, after you get the field name from the first recordset into a string variable like strFieldName, then in the second recordset you'd want to use rs2(strFieldName) to get reference the value from that field of the record that recordset rs2 is currently pointing to. Clear as mud? Call me if you want to - 858-259-4334. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Field Name String/Variable in my example the field names are in table 1. Sorry i'm Vegas working on a laptop..... Will visit soon. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Beach Access Software Sent: Monday, November 27, 2006 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DAO Field Name String/Variable So table one contains the field names of table 2? Rocky P.S. Swing by my office with your laptop and I'll do it for you on the spot (yes I have an ulterior motive). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, November 27, 2006 11:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] DAO Fiekd Name String/Variable Hello to the list, I woild like to: 1. get a value from one table as a string 2. lookup the value of a field in a second table where the field name = the value of field in table 1 Using !s if possible. TIA best Bob -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Tue Nov 28 09:40:45 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 07:40:45 -0800 (PST) Subject: [AccessD] Text Box Control Source Problem Message-ID: <515508.89023.qm@web34309.mail.mud.yahoo.com> I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From rusty.hammond at cpiqpc.com Tue Nov 28 09:45:50 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 09:45:50 -0600 Subject: [AccessD] Text Box Control Source Problem Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B71C@cpixchng-1.cpiqpc.net> Chris, Try =Sum([qryIG_Wed]![DBAdminEventTime]) HTH Rusty -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Text Box Control Source Problem I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From gwsmith at iowatelecom.net Tue Nov 28 09:46:42 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 28 Nov 2006 09:46:42 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <000001c71274$fa875d30$6401a8c0@nant> References: <21609.65.118.249.214.1164664422.squirrel@webmail.iowatelecom.net> <000001c71274$fa875d30$6401a8c0@nant> Message-ID: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> Shamil: That is where the issue was. I changed the SAXXMLReader40 to SAXXMLReader60 in both places and now it runs without error. HOWEVER, it does not do anything. The table remains empty...nothing is imported. Samples 1 & 2 both import from the text files, but neither 3 nor 4 import anything. The table, if it has any contents, the contents are deleted and the table stays empty. Maybe SAXXMLReader60 will not work? Thanks! Greg ============================= Greg, I did try sample code with MSXML 6.0 and it worked OK. Try to debug/trace this function: My guess the problem is in this function: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader40 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader40 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 12:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Access-D] XML Import Sample File Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil From cclenright at yahoo.com Tue Nov 28 10:04:04 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 08:04:04 -0800 (PST) Subject: [AccessD] Text Box Control Source Problem In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B71C@cpixchng-1.cpiqpc.net> Message-ID: <20061128160404.47097.qmail@web34301.mail.mud.yahoo.com> Thanks Rusty, but tried that. Exactly the same results except for dot read bang! Chris rusty.hammond at cpiqpc.com wrote: Chris, Try =Sum([qryIG_Wed]![DBAdminEventTime]) HTH Rusty -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Text Box Control Source Problem I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From shamil at users.mns.ru Tue Nov 28 10:18:20 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Nov 2006 19:18:20 +0300 Subject: [AccessD] XML Import Sample File In-Reply-To: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> Message-ID: <001201c71308$d252b410$6401a8c0@nant> Hello Greg, It works well here with MSXML v.6.0 - data are imported: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader60 '30 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader60 '30 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function I have no clear idea why it doesn't work there on you PC. Try to put breakpoints and debug/trace it... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 6:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XML Import Sample File Shamil: That is where the issue was. I changed the SAXXMLReader40 to SAXXMLReader60 in both places and now it runs without error. HOWEVER, it does not do anything. The table remains empty...nothing is imported. Samples 1 & 2 both import from the text files, but neither 3 nor 4 import anything. The table, if it has any contents, the contents are deleted and the table stays empty. Maybe SAXXMLReader60 will not work? Thanks! Greg ============================= Greg, I did try sample code with MSXML 6.0 and it worked OK. Try to debug/trace this function: My guess the problem is in this function: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader40 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader40 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, November 28, 2006 12:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Access-D] XML Import Sample File Hi Shamil: I'm currently set at MSXML 6 (MSXML6.dll). Greg > Hello Greg, > > Try to change reference to MSXML v.4.0 or above.... > > -- > Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Nov 28 10:26:21 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 28 Nov 2006 16:26:21 +0000 Subject: [AccessD] Text Box Control Source Problem Message-ID: <20061128162626.3983B2C7629@smtp.nildram.co.uk> I may be missing the point here Chris, in which case I apologise, but wouldn't =DSum("DBAdminEventTime","qryIG_Wed") do it? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] Text Box Control Source Problem Date: 28/11/06 15:42 I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- 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 rusty.hammond at cpiqpc.com Tue Nov 28 10:37:25 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 10:37:25 -0600 Subject: [AccessD] Text Box Control Source Problem Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B71E@cpixchng-1.cpiqpc.net> How about just referencing the field name: =Sum([DBAdminEventTime]) -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 10:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Control Source Problem Thanks Rusty, but tried that. Exactly the same results except for dot read bang! Chris rusty.hammond at cpiqpc.com wrote: Chris, Try =Sum([qryIG_Wed]![DBAdminEventTime]) HTH Rusty -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Tuesday, November 28, 2006 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Text Box Control Source Problem I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From cclenright at yahoo.com Tue Nov 28 10:45:21 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 08:45:21 -0800 (PST) Subject: [AccessD] Text Box Control Source Problem In-Reply-To: <20061128162626.3983B2C7629@smtp.nildram.co.uk> Message-ID: <20061128164521.50889.qmail@web34311.mail.mud.yahoo.com> Andy, You didn't and it did! :-) Many thanks. Go home in twenty minutes and would have worried about it all night. Out of curiosity, why doesn't the other work? Many thanks, Can go to the pub now Chris Andy Lacey wrote: I may be missing the point here Chris, in which case I apologise, but wouldn't =DSum("DBAdminEventTime","qryIG_Wed") do it? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] Text Box Control Source Problem Date: 28/11/06 15:42 I am doing a small job on Access 2K and having strange happenings! I have a series of Text Boxes in the Form Footer which should add up minutes spent by employees on different tasks. However they are all showing #Error If I enter into the Control Source of one Text Box: =Sum([qryIG_Wed].[DBAdminEventTime]) and try to save it, it changes to =Sum(qryIG_Wed.DBAdminEventTime) If I enter =Sum(qryIG_Wed.DBAdminEventTime) and press Enter, it changes to =Sum([qryIG_Wed].[DBAdminEventTime]) If I View the Form I have #Error, however if I have the Properties Box open in View Mode and enter =Sum(qryIG_Wed.DBAdminEventTime) it converts it to =Sum([qryIG_Wed].[DBAdminEventTime]) and the correct figure is shown in the Text Box. I have spent 4 hours on this problem and it is driving me crazy! I have tried importing everything into a new database. Compacted and repaired. In fact everything I can think of short of using a hammer on the computer. (within the next hour). I am sure I am missing something very easy. Someone help me please Chris --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -- 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 --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. From bchacc at san.rr.com Tue Nov 28 10:54:01 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 08:54:01 -0800 Subject: [AccessD] saving values In-Reply-To: <001e01c71278$89ab5130$4001a8c0@qmotionfaa3ad9> Message-ID: <007101c7130d$cebf61e0$6401a8c0@HAL9005> Pedro: Haven't forgotten about you but I'm a little backed up this morning. Stand by... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, November 27, 2006 3:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] saving values Hello Rocky, In this testdatabase is just want to make the cascadecombox selection trying to work, for a major Fossil Database. The Main Table in the test is tblFossieldata (fossildata). The form frmFossielData is bound to that table. In this table you see the fields Era, Periode, Epoch, Etage and Tijd. These are Geological Timetable fields. These fields are just textfields The table tblTijdschaal (timescale) I filled with the vlues that i want to use in the tblFossielData, in the fields that i mentioned before. Normally i would do this with a combobox for each, but the list of timescale is very large, so i would simplify that by using a cascadecombo, that is present in frmTijdschaal. When opening a record in frmFossielData, and field Era gets the focus (in the real database there wil be a button click event), the unbound subform gets the focus. By using the cascade, Each field is filtered by the value of the combobox before. When selected the values in the five cascade comboboxes, i want to close the frmTijdschaal en the values of Era.frmTijdschaal must be placed in the field Era of frmFossielData, etc for the other four fields. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 27, 2006 11:31 PM Subject: Re: [AccessD] saving values > Pedro: > > You are using my variable name lngKeyValue for the criterion in the WHERE > clause to limit the recordset to the one record you are looking for. You > should use the value of the field from the combo box, instead. > > And I'm not clear on what you're trying to store or what the relationship > is > between the two tables. So I can't be more precise. > > Tell me again the user process and what you're trying to accomplish. > > Regards, > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 11:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > the message that is get back is "Holy Moly! There's No Records In > Here!!! - > > 0 > > That is strange, because in record two the FossielID (Primary Key of the > table) value is 2 (auto Number field). > > Ik could sent you the small test.mdb, > maybe you have seen the problem then in a minute? > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 4:39 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> Just a guess but perhaps using the WHERE clause returns no records >> because >> the value for the PK you're using is invalid. >> >> After the set rs = statement put >> >> If rs.bof=true and rs.eof=true then >> Msgbox "Holy Moly! There's No Records In Here!!! - " & >> lngKeyValue >> Exit sub >> End if >> >> To see if that's the case and what the value is of the key you're >> apssing. >> >> Post the set rs = statement and let's have a look at it. >> >> Regards, >> >> Rocky >> >> >> If it is then >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 6:55 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> i included the Where statement, but get an eror when closing the subform >> with the code: >> Runtime error 3201, no current record. >> When clicking debug button, rs!edit is highlited yellow. >> >> I used help, but still do not understand it. >> >> Pedro Janssen >> >> >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 2:59 AM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> You need to add the WHERE clause to your set statement: >>> >>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>> >>> Do you know what the primary key value is of the record you want to >>> update >>> with the values from the unbound text boxes? >>> >>> Rocky >>> >>> >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Sunday, November 26, 2006 2:31 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello, >>> >>> how would i point to the first record in the Where clausule with the ID? >>> I am placing values from a unbound form, with no ID in a bound form with >>> an >>> ID (= FossielID). >>> >>> >>> Please give me an idea to do this in the code below? >>> >>> Pedro Janssen >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Saturday, November 25, 2006 10:30 PM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> It looks like you are opening the table with all of the records. So >>>> the >>>> record pointer of the recor4dset is always pointing to the first >>>> record. >>>> You need to either 1) use a WHERE clause in the Set rs = >>>> db.OpenRecordset >>>> so >>>> you get only the record you want, or 2) after opening the recordset use >>>> rs.FindFirst and specify the primary key of the record you want to >>>> update. >>>> Then the recordset will be positioned at the record you want to update. >>>> Be >>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>> record. >>>> >>>> Regards, >>>> >>>> Rocky >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Saturday, November 25, 2006 12:37 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello Rocky (and Others), >>>> >>>> the code is working fine, but only for the first record on the form. >>>> When i try to use it on the second record (after closing) it jumps to >>>> record >>>> >>>> one and overwrite's the data there. >>>> Trying to put the where statement in it to state that ID = ID, it gives >>>> an >>>> error on record two that it expects parameter = 1. >>>> >>>> The code that i use now: >>>> >>>> Private Sub Form_Close() >>>> >>>> Dim db As DAO.Database >>>> Dim rs As DAO.Recordset >>>> >>>> Set db = CurrentDb >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData") >>>> >>>> rs.Edit >>>> rs!Era = cboEra >>>> rs!Periode = cboPeriode >>>> rs!Epoch = cboEpoch >>>> rs!Etage = cboEtage >>>> rs!Tijd = cboTijd >>>> rs.Update >>>> >>>> rs.Close >>>> db.Close >>>> >>>> Set rs = Nothing >>>> Set db = Nothing >>>> >>>> Me.Requery >>>> >>>> End Sub >>>> >>>> What can i do about this? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Friday, November 24, 2006 9:09 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> Just off the top and untested: >>>>> >>>>> Dim db as DAO.Database >>>>> Dim rs as DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>> tblMyTable >>>>> WHERE fldPK = " & lngPrimaryKey) >>>>> >>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>> doesn't >>>>> have to be the primary key. >>>>> >>>>> rs.Edit >>>>> rs!fldOne = cboComboBox1 >>>>> rs!fldTwo = cboComboBox2 >>>>> rs!fldThree = cboComboBox3 >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> set rs = Nothing >>>>> set db = Nothing >>>>> >>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>> >>>>> >>>>> Or here's another approach which I think should work but I haven't >>>>> tested: >>>>> >>>>> Set db = CurrentDb >>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>> cboComboBox1 >>>>> & >>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>> '" >>>>> & >>>>> cboComboBox3 & "';" >>>>> >>>>> Note that I have assumes that the values are string values and so need >>>>> to >>>>> have preceding and following apostrophes. If the values are numeric >>>>> then >>>>> they won't need the '. >>>>> >>>>> I'm sure someone else looking at this code will make the appropriate >>>>> corrections. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky, >>>>> >>>>> could you give me an example of that, preferably in a example >>>>> database. >>>>> I have tried several things until now but nothing is working perfect. >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>> requery >>>>>> the >>>>>> form. >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: 23 November 2006 13:32 >>>>>> To: AccessD >>>>>> Subject: [AccessD] saving values >>>>>> >>>>>> Hello Group, >>>>>> >>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>> in >>>>>> table >>>>>> fields. >>>>>> >>>>>> What is the best way to do this. >>>>>> >>>>>> Pedro Janssen >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>> 22/11/2006 >>>>> 17:41 >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>> 11/24/2006 >>>> 5:20 PM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>> 11/25/2006 >>> 10:55 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 11:30 AM From JRojas at tnco-inc.com Tue Nov 28 11:07:31 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 28 Nov 2006 12:07:31 -0500 Subject: [AccessD] Problem linking to an ODBC table Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDF76@ex2k3.corp.tnco-inc.com> Thanks John, I contacted software support and the solution was to use a pass-through query. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, November 28, 2006 9:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Problem linking to an ODBC table If I had to guess, I would say that one field in the table you are linking to is able to contain more data than Access can handle. Perhaps Access is mapping a field as text when it actually contains more data than a text field can handle (255 characters). Or perhaps there is a field that Access simply does not understand how to map, contains a data type that Access simply cannot handle. I would look at the table itself, inside of OpenEdge and see what kinds of data the table contains. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, November 28, 2006 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Problem linking to an ODBC table Hello, I am using Access 2003 to connect to a Progress OpenEdge 10 database via ODBC. Everything is setup correctly but I am having a problem connecting to one particular table. Each time I try to connect to it, I get an error message that says "The size of a field is too long." Any ideas for a possible work around? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Tue Nov 28 11:24:13 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 28 Nov 2006 09:24:13 -0800 (PST) Subject: [AccessD] Text Box Source - Chapter 2 Message-ID: <20061128172413.81140.qmail@web34301.mail.mud.yahoo.com> Thanks Andy for solving the previous problem and Rusty for trying. This I am certain is equaly easy but I am getting something wrong. There are 42 Text Boxes on the Form and 20 employees and they want a separate form for each employee. I do not want to go through every form changing, for example, IG to SW and whilst I have read threads in the past about software that will do this sort of thing, I do not have it. So I thought that if the form was populating the Text Boxes by code On Open I could do a Search and Replace in the module. However, I seem unable to get it right. I tried for example Me.Mon_DBAdminEventTime = Me.[qryIG_Mon]![DBAdminEventTime] and I get DbName can't find the field "?" referred to in your expression except that ? is a continuous line. How do I put qryIG_Mon.DBAdminEventTime into the Source Code? Chris ps Leaving now so won't read replies until tomorrow --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business. From bchacc at san.rr.com Tue Nov 28 12:15:13 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 10:15:13 -0800 Subject: [AccessD] ADO Problem Message-ID: <008501c71319$265e68a0$6401a8c0@HAL9005> Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today?s date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From garykjos at gmail.com Tue Nov 28 12:33:40 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 28 Nov 2006 12:33:40 -0600 Subject: [AccessD] ADO Problem In-Reply-To: <008501c71319$265e68a0$6401a8c0@HAL9005> References: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: Don't know DAO at all but don't you usually have # signs around dates in SQL statements to mean Date Format enclosed. GK On 11/28/06, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today's date. > > I had him check the contents of dtToday and it does indeed have 11/28/2006 > in it. > > Does anyone see what he's doing wrong here? > > > MTIA > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Donald.A.McGillivray at sprint.com Tue Nov 28 12:38:30 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 28 Nov 2006 12:38:30 -0600 Subject: [AccessD] ADO Problem In-Reply-To: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Nov 28 12:48:03 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 10:48:03 -0800 Subject: [AccessD] ADO Problem In-Reply-To: Message-ID: <00a701c7131d$bcbd2440$6401a8c0@HAL9005> I'll have him give it a try. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 28, 2006 10:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Don't know DAO at all but don't you usually have # signs around dates in SQL statements to mean Date Format enclosed. GK On 11/28/06, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today's date. > > I had him check the contents of dtToday and it does indeed have 11/28/2006 > in it. > > Does anyone see what he's doing wrong here? > > > MTIA > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bchacc at san.rr.com Tue Nov 28 13:36:03 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 11:36:03 -0800 Subject: [AccessD] ADO Problem In-Reply-To: Message-ID: <00b901c71324$71176ee0$6401a8c0@HAL9005> Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From gwsmith at iowatelecom.net Tue Nov 28 13:40:19 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 28 Nov 2006 13:40:19 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <001201c71308$d252b410$6401a8c0@nant> References: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> <001201c71308$d252b410$6401a8c0@nant> Message-ID: <27904.65.118.249.214.1164742819.squirrel@webmail.iowatelecom.net> Hi Shamil! Well, it was a DUH on me...I'd forgotten that I'd changed the text files somewhat and it was looking for information that wasn't in there ... once I fixed that, it worked! Thanks! Now I have another question (endless, aren't they?). All of these samples work fine with the XML text files that are "two" levels deep, such as, for the Shippers.xml2.txt file (I truncated the phone number because they were wrapping around): -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- 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 28 13:55:01 2006 From: James at fcidms.com (James Barash) Date: Tue, 28 Nov 2006 14:55:01 -0500 Subject: [AccessD] ADO Problem In-Reply-To: <00b901c71324$71176ee0$6401a8c0@HAL9005> Message-ID: <001201c71327$175be860$800101df@fci.local> Rocky: You probably want something like: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) Values (#" & dtToday & "#)" This will work with an ADODB connection to Access. If you are linking to SQL Server, you should replace the # with ' (Single Quote). Hope this helps. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 2:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Tue Nov 28 14:01:55 2006 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 28 Nov 2006 14:01:55 -0600 Subject: [AccessD] ADO Problem In-Reply-To: <00b901c71324$71176ee0$6401a8c0@HAL9005> Message-ID: Let's assume that the original error was the result of 11/28/2006 being interpreted as "11 divided by 28 divided by 2006". That's near enough to zero to cause the date result of 1/1/1900. The new error suggests that since "#11" is not a number it is being seen as as a column name which is to be divided by 28 and then by 2006. #11 does not exist as a column name, hence the error. Is dtToday dimmed as a date datatype? If not, that might be the problem. HTH Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Nov 28 14:19:59 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 28 Nov 2006 14:19:59 -0600 (CST) Subject: [AccessD] XML Import Sample File In-Reply-To: <001201c71308$d252b410$6401a8c0@nant> References: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> <001201c71308$d252b410$6401a8c0@nant> Message-ID: <31585.65.118.249.214.1164745199.squirrel@webmail.iowatelecom.net> Shamil: Hold the bus...on my last email (which hasn't appeared at this time). Maybe I should TEST more thoroughly before opening my mouth (fingers?). I've done some more testing against the original text file you sent with the samples and it apparently WILL pull the data from whatever level I make it go to in the XML text file. I must've had something wrong in my original test code or file (can't imagine THAT ever happening.... ). I'll run a boatload of other tests on it to see if it will work with the file I expect them to send. Greg ====================== Hello Greg, It works well here with MSXML v.6.0 - data are imported: Public Function Parse(ByVal vstrURL As String, ByVal vstrTableName As String, ByVal vavarFields As Variant) Dim reader As SAXXMLReader60 '30 mavarFields = vavarFields mstrTableName = vstrTableName mintFieldIndex = -1 mintFieldsCount = 0 Set reader = New SAXXMLReader60 '30 Set reader.contentHandler = Me Set reader.errorHandler = Me reader.parseURL vstrURL End Function I have no clear idea why it doesn't work there on you PC. Try to put breakpoints and debug/trace it... -- Shamil -----Original Message----- From: accessd-bounces@ From accessd at shaw.ca Tue Nov 28 14:24:24 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Nov 2006 12:24:24 -0800 Subject: [AccessD] OT Great reference site In-Reply-To: Message-ID: <0J9G00AMEJA01ZR0@l-daemon> Hi All: Just discovered this site and it has already been able to resolve a system issues. It is a great site of utilities and diagnostic tools. http://www.microsoft.com/technet/sysinternals/default.mspx HTH Jim From martyconnelly at shaw.ca Tue Nov 28 14:31:49 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 28 Nov 2006 12:31:49 -0800 Subject: [AccessD] XML Import Sample File In-Reply-To: <27904.65.118.249.214.1164742819.squirrel@webmail.iowatelecom.net> References: <7848.65.118.249.214.1164728802.squirrel@webmail.iowatelecom.net> <001201c71308$d252b410$6401a8c0@nant> <27904.65.118.249.214.1164742819.squirrel@webmail.iowatelecom.net> Message-ID: <456C9CB5.30107@shaw.ca> Try using XPATH where syntax would be "//SUBMITTING_PARTY/REQUEST/KEY/@*" to move attributes into a collection that can be read. or failing that just parse xmldoc.xml for the attributes in partial xml string. Sub xpathtest() Dim strxml As String Dim xmldoc As MSXML2.DOMDocument40 Dim nodes As MSXML2.IXMLDOMNodeList Dim node As MSXML2.IXMLDOMNode Dim xmlError As IXMLDOMParseError Dim lngErrCode As Long Set xmldoc = New MSXML2.DOMDocument40 xmldoc.setProperty "SelectionLanguage", "XPath" xmldoc.async = False xmldoc.validateOnParse = False 'xmldoc.resolveExternals = False xmldoc.Load "C:\Access files\xmltests\Pria Path\pria.xml" ' lngErrCode = xmldoc.validate ' Debug.Print lngErrCode If xmldoc.parseError.errorCode <> 0 Then Debug.Print " Reason: " & xmldoc.parseError.reason Set xmlError = xmldoc.parseError reportParseError xmlError End If 'xpath entity name case sensitive 'grab attributes with fee via XPath Set nodes = xmldoc.selectNodes("//SUBMITTING_PARTY/REQUEST/KEY/@*") 'look through nodes collection For Each node In nodes Debug.Print node.Text & " - " & node.nodeName Next node Debug.Print xmldoc.xml Set nodes = Nothing Set xmldoc = Nothing End Sub Function reportParseError(err As IXMLDOMParseError) Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To err.linepos - 1 s = s & " " Next r = "XML Error loading " & err.url & " * " & err.reason Debug.Print r 'show character postion of error; tired of counting If (err.Line > 0) Then r = "at line " & err.Line & ", character " & err.linepos & vbCrLf & _ err.srcText & vbCrLf & s & "^" End If Debug.Print r End Function Greg Smith wrote: >Hi Shamil! > >Well, it was a DUH on me...I'd forgotten that I'd changed the text files >somewhat and it was looking for information that wasn't in there ... once >I fixed that, it worked! Thanks! > >Now I have another question (endless, aren't they?). All of these samples >work fine with the XML text files that are "two" levels deep, such as, for >the Shippers.xml2.txt file (I truncated the phone number because they were >wrapping around): > > > > > > > > > > > > > > Message-ID: <011b01c7132f$f8385320$6401a8c0@HAL9005> Seems to confirm that single quotes are needed to delimit the dates. Thanks Martin. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 28, 2006 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky have a look at this http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=741812&SiteID=1 Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Tue 28/11/2006 19:36 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From rusty.hammond at cpiqpc.com Tue Nov 28 15:22:00 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 15:22:00 -0600 Subject: [AccessD] Linked Table to SQL Database Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B720@cpixchng-1.cpiqpc.net> Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From Kwilliamson at RTKL.com Tue Nov 28 15:34:10 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 28 Nov 2006 16:34:10 -0500 Subject: [AccessD] Linked Table to SQL Database In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B720@cpixchng-1.cpiqpc.net> Message-ID: Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 28 15:37:21 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Nov 2006 13:37:21 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <011b01c7132f$f8385320$6401a8c0@HAL9005> Message-ID: ADO generally uses SQL Server syntax (i.e., no ; at the end and single quotes around dates) rather than the Access SQL that DAO handles. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 12:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Seems to confirm that single quotes are needed to delimit the dates. Thanks Martin. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, November 28, 2006 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky have a look at this http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=741812&SiteID=1 Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Tue 28/11/2006 19:36 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM -- 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 28 15:43:20 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 29 Nov 2006 07:43:20 +1000 Subject: [AccessD] ADO Problem In-Reply-To: <008501c71319$265e68a0$6401a8c0@HAL9005> References: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: <456CAD78.3567.1CF8BFAE@stuart.lexacorp.com.pg> On 28 Nov 2006 at 10:15, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > ???????????????? "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today?s date. You are building a string which looks like: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT 11/28/2006 What you want is: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT '11/28/2006' so you need to use ... "SELECT '" & dtToday & "'" (note the two single quotes) -- Stuart From martyconnelly at shaw.ca Tue Nov 28 15:49:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 28 Nov 2006 13:49:58 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <011001c7132f$449d5220$6401a8c0@HAL9005> References: <011001c7132f$449d5220$6401a8c0@HAL9005> Message-ID: <456CAF06.7070001@shaw.ca> Try this to see what is happening. Debug.Print "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & "SELECT #" & dtToday & "#;" Beach Access Software wrote: >I'll ask. Thanks. > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don >[IT] >Sent: Tuesday, November 28, 2006 12:02 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] ADO Problem > >Let's assume that the original error was the result of 11/28/2006 being >interpreted as "11 divided by 28 divided by 2006". That's near enough to >zero to cause the date result of 1/1/1900. The new error suggests that >since "#11" is not a number it is being seen as as a column name which is to >be divided by 28 and then by 2006. #11 does not exist as a column name, >hence the error. Is dtToday dimmed as a date datatype? If not, that might >be the problem. > >HTH > >Don > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 28, 2006 11:36 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] ADO Problem > >Using: > >"SELECT #" & dtToday & "#" > >He gets an error message: > >Invalid column name '#11' > >dtToaday does contain 11/28/2006 > >What else could it be? > >MTIA > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don >[IT] >Sent: Tuesday, November 28, 2006 10:39 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] ADO Problem > >Hi, Rocky. > >Just a WAG (I don't know ADO), but how 'bout: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT #" & dtToday & "#;" > >Don > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Tuesday, November 28, 2006 10:15 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] ADO Problem > >Dear List: > >A colleague (who thinks I know ADO) writes in to ask why the following: > > Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > "SELECT " & dtToday & "" > >Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the >date is 1/1/1900 instead of today's date. > >I had him check the contents of dtToday and it does indeed have 11/28/2006 >in it. > >Does anyone see what he's doing wrong here? > > >MTIA > >Rocky > > > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Tue Nov 28 16:00:15 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 28 Nov 2006 14:00:15 -0800 (PST) Subject: [AccessD] ADO Problem Message-ID: <20061128220015.76125.qmail@web88207.mail.re2.yahoo.com> It would appear that dtToday has been declared but not initialized with value other than its default. ----- Original Message ---- From: Beach Access Software To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 1:15:13 PM Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today?s date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Nov 28 16:03:38 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 29 Nov 2006 09:03:38 +1100 Subject: [AccessD] Rich text control as html References: <001901c71294$bf6c8b10$6501a8c0@office>, <002201c712b5$7ab98e70$3e3de844@50NM721> <456C6885.23119.164CF691@stuart.lexacorp.com.pg> Message-ID: <001301c71339$0f87a540$6501a8c0@office> Thanks Stuart / William Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 5:49 PM Subject: Re: [AccessD] Rich text control as html On 28 Nov 2006 at 1:21, William Hindman wrote: > Kath > > www.lebans.com ...look for his RTF ocx ...its free and works well in all > versions A97-A2k3 ...plus he's on the msaccess newsgroups regularly and will > answer any problems you might have in your implementation if you post it > there ...I use it in several apps to allow user edit and format of text > portions of reports that go to their customers ...since the rtf is stored in > an mdb table you should be able to export it as html using Access' own > export capabilities. Alternatively, once you have the text as RTF, use RTF2HTML from http://www2.bitstream.net/~bradyh/downloads/rtf2htmlrm.html to convert the RFT string to an HTML string and use standard File IO to write the string to a file. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Nov 28 16:20:35 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 28 Nov 2006 14:20:35 -0800 (PST) Subject: [AccessD] Linked Table to SQL Database Message-ID: <20061128222035.313.qmail@web88211.mail.re2.yahoo.com> You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Tue Nov 28 16:43:47 2006 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 28 Nov 2006 23:43:47 +0100 Subject: [AccessD] saving values References: <007101c7130d$cebf61e0$6401a8c0@HAL9005> Message-ID: <006401c7133e$aaa468b0$4001a8c0@qmotionfaa3ad9> Hello Rocky, no problem, i am glad you wil have a look at the problem. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 5:54 PM Subject: Re: [AccessD] saving values > Pedro: > > Haven't forgotten about you but I'm a little backed up this morning. > Stand > by... > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 3:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > In this testdatabase is just want to make the cascadecombox selection > trying > > to work, for a major Fossil Database. > The Main Table in the test is tblFossieldata (fossildata). The form > frmFossielData is bound to that table. > In this table you see the fields Era, Periode, Epoch, Etage and Tijd. > These > are Geological Timetable fields. These fields are just textfields > > The table tblTijdschaal (timescale) I filled with the vlues that i want to > use in the tblFossielData, in the fields that i mentioned before. > Normally i would do this with a combobox for each, but the list of > timescale > > is very large, so i would simplify that by using a cascadecombo, that is > present in frmTijdschaal. > > When opening a record in frmFossielData, and field Era gets the focus (in > the real database there wil be a button click event), the unbound subform > gets the focus. > By using the cascade, Each field is filtered by the value of the combobox > before. > When selected the values in the five cascade comboboxes, i want to close > the > > frmTijdschaal en the values of Era.frmTijdschaal must be placed in the > field > > Era of frmFossielData, etc for the other four fields. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 11:31 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You are using my variable name lngKeyValue for the criterion in the WHERE >> clause to limit the recordset to the one record you are looking for. You >> should use the value of the field from the combo box, instead. >> >> And I'm not clear on what you're trying to store or what the relationship >> is >> between the two tables. So I can't be more precise. >> >> Tell me again the user process and what you're trying to accomplish. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 11:51 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> the message that is get back is "Holy Moly! There's No Records In >> Here!!! - >> >> 0 >> >> That is strange, because in record two the FossielID (Primary Key of the >> table) value is 2 (auto Number field). >> >> Ik could sent you the small test.mdb, >> maybe you have seen the problem then in a minute? >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 4:39 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just a guess but perhaps using the WHERE clause returns no records >>> because >>> the value for the PK you're using is invalid. >>> >>> After the set rs = statement put >>> >>> If rs.bof=true and rs.eof=true then >>> Msgbox "Holy Moly! There's No Records In Here!!! - " & >>> lngKeyValue >>> Exit sub >>> End if >>> >>> To see if that's the case and what the value is of the key you're >>> apssing. >>> >>> Post the set rs = statement and let's have a look at it. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> If it is then >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Monday, November 27, 2006 6:55 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> i included the Where statement, but get an eror when closing the subform >>> with the code: >>> Runtime error 3201, no current record. >>> When clicking debug button, rs!edit is highlited yellow. >>> >>> I used help, but still do not understand it. >>> >>> Pedro Janssen >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Monday, November 27, 2006 2:59 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> You need to add the WHERE clause to your set statement: >>>> >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>>> >>>> Do you know what the primary key value is of the record you want to >>>> update >>>> with the values from the unbound text boxes? >>>> >>>> Rocky >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Sunday, November 26, 2006 2:31 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello, >>>> >>>> how would i point to the first record in the Where clausule with the >>>> ID? >>>> I am placing values from a unbound form, with no ID in a bound form >>>> with >>>> an >>>> ID (= FossielID). >>>> >>>> >>>> Please give me an idea to do this in the code below? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Saturday, November 25, 2006 10:30 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> It looks like you are opening the table with all of the records. So >>>>> the >>>>> record pointer of the recor4dset is always pointing to the first >>>>> record. >>>>> You need to either 1) use a WHERE clause in the Set rs = >>>>> db.OpenRecordset >>>>> so >>>>> you get only the record you want, or 2) after opening the recordset >>>>> use >>>>> rs.FindFirst and specify the primary key of the record you want to >>>>> update. >>>>> Then the recordset will be positioned at the record you want to >>>>> update. >>>>> Be >>>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>>> record. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Saturday, November 25, 2006 12:37 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky (and Others), >>>>> >>>>> the code is working fine, but only for the first record on the form. >>>>> When i try to use it on the second record (after closing) it jumps to >>>>> record >>>>> >>>>> one and overwrite's the data there. >>>>> Trying to put the where statement in it to state that ID = ID, it >>>>> gives >>>>> an >>>>> error on record two that it expects parameter = 1. >>>>> >>>>> The code that i use now: >>>>> >>>>> Private Sub Form_Close() >>>>> >>>>> Dim db As DAO.Database >>>>> Dim rs As DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd >>>>> FROM >>>>> tblFossielData") >>>>> >>>>> rs.Edit >>>>> rs!Era = cboEra >>>>> rs!Periode = cboPeriode >>>>> rs!Epoch = cboEpoch >>>>> rs!Etage = cboEtage >>>>> rs!Tijd = cboTijd >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> Set rs = Nothing >>>>> Set db = Nothing >>>>> >>>>> Me.Requery >>>>> >>>>> End Sub >>>>> >>>>> What can i do about this? >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 9:09 PM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> Pedro: >>>>>> >>>>>> Just off the top and untested: >>>>>> >>>>>> Dim db as DAO.Database >>>>>> Dim rs as DAO.Recordset >>>>>> >>>>>> Set db = CurrentDb >>>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>>> tblMyTable >>>>>> WHERE fldPK = " & lngPrimaryKey) >>>>>> >>>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>>> doesn't >>>>>> have to be the primary key. >>>>>> >>>>>> rs.Edit >>>>>> rs!fldOne = cboComboBox1 >>>>>> rs!fldTwo = cboComboBox2 >>>>>> rs!fldThree = cboComboBox3 >>>>>> rs.Update >>>>>> >>>>>> rs.Close >>>>>> db.Close >>>>>> >>>>>> set rs = Nothing >>>>>> set db = Nothing >>>>>> >>>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>>> >>>>>> >>>>>> Or here's another approach which I think should work but I haven't >>>>>> tested: >>>>>> >>>>>> Set db = CurrentDb >>>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>>> cboComboBox1 >>>>>> & >>>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>>> '" >>>>>> & >>>>>> cboComboBox3 & "';" >>>>>> >>>>>> Note that I have assumes that the values are string values and so >>>>>> need >>>>>> to >>>>>> have preceding and following apostrophes. If the values are numeric >>>>>> then >>>>>> they won't need the '. >>>>>> >>>>>> I'm sure someone else looking at this code will make the appropriate >>>>>> corrections. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>>> To: Access Developers discussion and problem solving >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> Hello Rocky, >>>>>> >>>>>> could you give me an example of that, preferably in a example >>>>>> database. >>>>>> I have tried several things until now but nothing is working perfect. >>>>>> >>>>>> Pedro Janssen >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Beach Access Software" >>>>>> To: "'Access Developers discussion and problem solving'" >>>>>> >>>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> >>>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>>> requery >>>>>>> the >>>>>>> form. >>>>>>> >>>>>>> Rocky >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: accessd-bounces at databaseadvisors.com >>>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>>> Janssen >>>>>>> Sent: 23 November 2006 13:32 >>>>>>> To: AccessD >>>>>>> Subject: [AccessD] saving values >>>>>>> >>>>>>> Hello Group, >>>>>>> >>>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>>> in >>>>>>> table >>>>>>> fields. >>>>>>> >>>>>>> What is the best way to do this. >>>>>>> >>>>>>> Pedro Janssen >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>>> -- >>>>>>> No virus found in this incoming message. >>>>>>> Checked by AVG Free Edition. >>>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>>> 22/11/2006 >>>>>>> 17:41 >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>>> 11/24/2006 >>>>> 5:20 PM >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>>> 11/25/2006 >>>> 10:55 AM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >>> 11/26/2006 >>> 11:30 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Tue Nov 28 16:43:40 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 28 Nov 2006 16:43:40 -0600 Subject: [AccessD] Linked Table to SQL Database Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584B722@cpixchng-1.cpiqpc.net> Arthur, Interesting approach. I've done some brief reading BOL and I can see where this could speed up a few applications I have here. Thanks! Rusty -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Tuesday, November 28, 2006 4:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table to SQL Database You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From pedro at plex.nl Tue Nov 28 17:10:09 2006 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 29 Nov 2006 00:10:09 +0100 Subject: [AccessD] saving values References: <007101c7130d$cebf61e0$6401a8c0@HAL9005> Message-ID: <000c01c71342$59e52ff0$4001a8c0@qmotionfaa3ad9> Hello Rocky, i have thought about the problem to. On the unbound form i have put a textbos with the controlsource is refered to the ID-field in the Bound form, so ik kan put both in the Where statement, but then the field is requeried after losing the focus (values are filled in), it jumps to record one. I will send you the zipped testdatabase again. Pedro Janssen ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 5:54 PM Subject: Re: [AccessD] saving values > Pedro: > > Haven't forgotten about you but I'm a little backed up this morning. > Stand > by... > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, November 27, 2006 3:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] saving values > > Hello Rocky, > > In this testdatabase is just want to make the cascadecombox selection > trying > > to work, for a major Fossil Database. > The Main Table in the test is tblFossieldata (fossildata). The form > frmFossielData is bound to that table. > In this table you see the fields Era, Periode, Epoch, Etage and Tijd. > These > are Geological Timetable fields. These fields are just textfields > > The table tblTijdschaal (timescale) I filled with the vlues that i want to > use in the tblFossielData, in the fields that i mentioned before. > Normally i would do this with a combobox for each, but the list of > timescale > > is very large, so i would simplify that by using a cascadecombo, that is > present in frmTijdschaal. > > When opening a record in frmFossielData, and field Era gets the focus (in > the real database there wil be a button click event), the unbound subform > gets the focus. > By using the cascade, Each field is filtered by the value of the combobox > before. > When selected the values in the five cascade comboboxes, i want to close > the > > frmTijdschaal en the values of Era.frmTijdschaal must be placed in the > field > > Era of frmFossielData, etc for the other four fields. > > Pedro Janssen > > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, November 27, 2006 11:31 PM > Subject: Re: [AccessD] saving values > > >> Pedro: >> >> You are using my variable name lngKeyValue for the criterion in the WHERE >> clause to limit the recordset to the one record you are looking for. You >> should use the value of the field from the combo box, instead. >> >> And I'm not clear on what you're trying to store or what the relationship >> is >> between the two tables. So I can't be more precise. >> >> Tell me again the user process and what you're trying to accomplish. >> >> Regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Monday, November 27, 2006 11:51 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] saving values >> >> Hello Rocky, >> >> the message that is get back is "Holy Moly! There's No Records In >> Here!!! - >> >> 0 >> >> That is strange, because in record two the FossielID (Primary Key of the >> table) value is 2 (auto Number field). >> >> Ik could sent you the small test.mdb, >> maybe you have seen the problem then in a minute? >> >> Pedro Janssen >> >> >> ----- Original Message ----- >> From: "Beach Access Software" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, November 27, 2006 4:39 PM >> Subject: Re: [AccessD] saving values >> >> >>> Pedro: >>> >>> Just a guess but perhaps using the WHERE clause returns no records >>> because >>> the value for the PK you're using is invalid. >>> >>> After the set rs = statement put >>> >>> If rs.bof=true and rs.eof=true then >>> Msgbox "Holy Moly! There's No Records In Here!!! - " & >>> lngKeyValue >>> Exit sub >>> End if >>> >>> To see if that's the case and what the value is of the key you're >>> apssing. >>> >>> Post the set rs = statement and let's have a look at it. >>> >>> Regards, >>> >>> Rocky >>> >>> >>> If it is then >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Monday, November 27, 2006 6:55 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] saving values >>> >>> Hello Rocky, >>> >>> i included the Where statement, but get an eror when closing the subform >>> with the code: >>> Runtime error 3201, no current record. >>> When clicking debug button, rs!edit is highlited yellow. >>> >>> I used help, but still do not understand it. >>> >>> Pedro Janssen >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Beach Access Software" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Monday, November 27, 2006 2:59 AM >>> Subject: Re: [AccessD] saving values >>> >>> >>>> Pedro: >>>> >>>> You need to add the WHERE clause to your set statement: >>>> >>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd FROM >>>> tblFossielData WHERE tblFossielDataPrimaryKey = " & lngKeyValue) >>>> >>>> Do you know what the primary key value is of the record you want to >>>> update >>>> with the values from the unbound text boxes? >>>> >>>> Rocky >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>> Janssen >>>> Sent: Sunday, November 26, 2006 2:31 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] saving values >>>> >>>> Hello, >>>> >>>> how would i point to the first record in the Where clausule with the >>>> ID? >>>> I am placing values from a unbound form, with no ID in a bound form >>>> with >>>> an >>>> ID (= FossielID). >>>> >>>> >>>> Please give me an idea to do this in the code below? >>>> >>>> Pedro Janssen >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Beach Access Software" >>>> To: "'Access Developers discussion and problem solving'" >>>> >>>> Sent: Saturday, November 25, 2006 10:30 PM >>>> Subject: Re: [AccessD] saving values >>>> >>>> >>>>> Pedro: >>>>> >>>>> It looks like you are opening the table with all of the records. So >>>>> the >>>>> record pointer of the recor4dset is always pointing to the first >>>>> record. >>>>> You need to either 1) use a WHERE clause in the Set rs = >>>>> db.OpenRecordset >>>>> so >>>>> you get only the record you want, or 2) after opening the recordset >>>>> use >>>>> rs.FindFirst and specify the primary key of the record you want to >>>>> update. >>>>> Then the recordset will be positioned at the record you want to >>>>> update. >>>>> Be >>>>> sure to use if rs.NoMatch just in case the FindFirst doesn't find the >>>>> record. >>>>> >>>>> Regards, >>>>> >>>>> Rocky >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: accessd-bounces at databaseadvisors.com >>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>> Janssen >>>>> Sent: Saturday, November 25, 2006 12:37 PM >>>>> To: Access Developers discussion and problem solving >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> Hello Rocky (and Others), >>>>> >>>>> the code is working fine, but only for the first record on the form. >>>>> When i try to use it on the second record (after closing) it jumps to >>>>> record >>>>> >>>>> one and overwrite's the data there. >>>>> Trying to put the where statement in it to state that ID = ID, it >>>>> gives >>>>> an >>>>> error on record two that it expects parameter = 1. >>>>> >>>>> The code that i use now: >>>>> >>>>> Private Sub Form_Close() >>>>> >>>>> Dim db As DAO.Database >>>>> Dim rs As DAO.Recordset >>>>> >>>>> Set db = CurrentDb >>>>> Set rs = db.OpenRecordset("Select Era, Periode, Epoch, Etage, Tijd >>>>> FROM >>>>> tblFossielData") >>>>> >>>>> rs.Edit >>>>> rs!Era = cboEra >>>>> rs!Periode = cboPeriode >>>>> rs!Epoch = cboEpoch >>>>> rs!Etage = cboEtage >>>>> rs!Tijd = cboTijd >>>>> rs.Update >>>>> >>>>> rs.Close >>>>> db.Close >>>>> >>>>> Set rs = Nothing >>>>> Set db = Nothing >>>>> >>>>> Me.Requery >>>>> >>>>> End Sub >>>>> >>>>> What can i do about this? >>>>> >>>>> Pedro Janssen >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Beach Access Software" >>>>> To: "'Access Developers discussion and problem solving'" >>>>> >>>>> Sent: Friday, November 24, 2006 9:09 PM >>>>> Subject: Re: [AccessD] saving values >>>>> >>>>> >>>>>> Pedro: >>>>>> >>>>>> Just off the top and untested: >>>>>> >>>>>> Dim db as DAO.Database >>>>>> Dim rs as DAO.Recordset >>>>>> >>>>>> Set db = CurrentDb >>>>>> Set rs = db.OpenRecordset("Select fldOne, fldTwo, fldThree FROM >>>>>> tblMyTable >>>>>> WHERE fldPK = " & lngPrimaryKey) >>>>>> >>>>>> ' Note: You could use any criteria you want in the WHERE clause; >>>>>> doesn't >>>>>> have to be the primary key. >>>>>> >>>>>> rs.Edit >>>>>> rs!fldOne = cboComboBox1 >>>>>> rs!fldTwo = cboComboBox2 >>>>>> rs!fldThree = cboComboBox3 >>>>>> rs.Update >>>>>> >>>>>> rs.Close >>>>>> db.Close >>>>>> >>>>>> set rs = Nothing >>>>>> set db = Nothing >>>>>> >>>>>> Me.Requery (assuming you want the values to show on the bound form. >>>>>> >>>>>> >>>>>> Or here's another approach which I think should work but I haven't >>>>>> tested: >>>>>> >>>>>> Set db = CurrentDb >>>>>> Db.Execute "UPDATE tblMyTable SET tblMyTable.fldOne = '" & >>>>>> cboComboBox1 >>>>>> & >>>>>> "', tblMyTable.fldTwo= '" & cboComboBox2 & "', tblMyTable.fldThree = >>>>>> '" >>>>>> & >>>>>> cboComboBox3 & "';" >>>>>> >>>>>> Note that I have assumes that the values are string values and so >>>>>> need >>>>>> to >>>>>> have preceding and following apostrophes. If the values are numeric >>>>>> then >>>>>> they won't need the '. >>>>>> >>>>>> I'm sure someone else looking at this code will make the appropriate >>>>>> corrections. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Rocky >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: accessd-bounces at databaseadvisors.com >>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>> Janssen >>>>>> Sent: Thursday, November 23, 2006 3:35 PM >>>>>> To: Access Developers discussion and problem solving >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> Hello Rocky, >>>>>> >>>>>> could you give me an example of that, preferably in a example >>>>>> database. >>>>>> I have tried several things until now but nothing is working perfect. >>>>>> >>>>>> Pedro Janssen >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Beach Access Software" >>>>>> To: "'Access Developers discussion and problem solving'" >>>>>> >>>>>> Sent: Friday, November 24, 2006 12:07 AM >>>>>> Subject: Re: [AccessD] saving values >>>>>> >>>>>> >>>>>>> I'd use Dao, open the record in question, push the value in, and >>>>>>> requery >>>>>>> the >>>>>>> form. >>>>>>> >>>>>>> Rocky >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: accessd-bounces at databaseadvisors.com >>>>>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro >>>>>>> Janssen >>>>>>> Sent: 23 November 2006 13:32 >>>>>>> To: AccessD >>>>>>> Subject: [AccessD] saving values >>>>>>> >>>>>>> Hello Group, >>>>>>> >>>>>>> i still have troubles saving values from unbound comboxes (cascade) >>>>>>> in >>>>>>> table >>>>>>> fields. >>>>>>> >>>>>>> What is the best way to do this. >>>>>>> >>>>>>> Pedro Janssen >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>>> -- >>>>>>> No virus found in this incoming message. >>>>>>> Checked by AVG Free Edition. >>>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>>> 22/11/2006 >>>>>>> 17:41 >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>>> Website: http://www.databaseadvisors.com >>>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>>> -- >>>>>> No virus found in this incoming message. >>>>>> Checked by AVG Free Edition. >>>>>> Version: 7.5.430 / Virus Database: 268.14.14/547 - Release Date: >>>>>> 22/11/2006 >>>>>> 17:41 >>>>>> >>>>>> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>>> -- >>>>> No virus found in this incoming message. >>>>> Checked by AVG Free Edition. >>>>> Version: 7.5.430 / Virus Database: 268.14.15/550 - Release Date: >>>>> 11/24/2006 >>>>> 5:20 PM >>>>> >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.430 / Virus Database: 268.14.16/551 - Release Date: >>>> 11/25/2006 >>>> 10:55 AM >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >>> 11/26/2006 >>> 11:30 AM >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: >> 11/26/2006 >> 11:30 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.16/552 - Release Date: > 11/26/2006 > 11:30 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Nov 28 17:53:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 28 Nov 2006 18:53:25 -0500 Subject: [AccessD] Linked Table to SQL Database In-Reply-To: <20061128222035.313.qmail@web88211.mail.re2.yahoo.com> Message-ID: <006c01c71348$65b014c0$657aa8c0@m6805> Whoa, that sounds handy. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 28, 2006 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table to SQL Database You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 28 14:03:40 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Nov 2006 23:03:40 +0300 Subject: [AccessD] ADO Problem In-Reply-To: <00b901c71324$71176ee0$6401a8c0@HAL9005> Message-ID: <000801c71328$4c8458f0$6401a8c0@nant> Hello Rocky, Is that MS Access BE, which is used with ADO? - then this should work: conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & CLng(dtToday) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ADO Problem Using: "SELECT #" & dtToday & "#" He gets an error message: Invalid column name '#11' dtToaday does contain 11/28/2006 What else could it be? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, November 28, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Hi, Rocky. Just a WAG (I don't know ADO), but how 'bout: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT #" & dtToday & "#;" Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, November 28, 2006 10:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ ???????????????? "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From bchacc at san.rr.com Tue Nov 28 18:19:44 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 16:19:44 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <456CAD78.3567.1CF8BFAE@stuart.lexacorp.com.pg> Message-ID: <013301c7134c$1290f300$6401a8c0@HAL9005> Single quotes did it!!! Thanks everybody for your assistance. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 28, 2006 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem On 28 Nov 2006 at 10:15, Beach Access Software wrote: > Dear List: > > A colleague (who thinks I know ADO) writes in to ask why the following: > > ?? Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ > ???????????????? "SELECT " & dtToday & "" > > Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the > date is 1/1/1900 instead of today?s date. You are building a string which looks like: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT 11/28/2006 What you want is: INSERT INTO tWeeklyUpdateSent ( DateSent ) SELECT '11/28/2006' so you need to use ... "SELECT '" & dtToday & "'" (note the two single quotes) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006 6:09 PM From bheygood at abestsystems.com Tue Nov 28 19:20:34 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 28 Nov 2006 17:20:34 -0800 Subject: [AccessD] Clipboard message In-Reply-To: Message-ID: Hello to the list, I am getting a message when closing a form on which I use the standard copy record code. The message states that I have a large amount of data on the clipboard, do I want to keep it or not. I could care less, but my client would like not to see the message. Is there a way to suppress??? What event to set warnings false??? TIA best Bob From wdhindman at dejpolsystems.com Tue Nov 28 19:40:27 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 28 Nov 2006 20:40:27 -0500 Subject: [AccessD] Checking control property in an external mde database References: <003801c712fc$bd55e4d0$6401a8c0@HAL9005> Message-ID: <007201c71357$59c406d0$3e3de844@50NM721> ...lol ...the intent was to suggest that your method of protecting your product could be bypassed. :) William Hindman ----- Original Message ----- From: "Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 28, 2006 9:51 AM Subject: Re: [AccessD] Checking control property in an external mde database >I use the best first party software from A.D. Tejpal, Pty. Who you gonna > call? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Monday, November 27, 2006 10:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Checking control property in an external mde > database > > ...isn't it fairly easy to modify labels on mde forms using 3rd party > software? > > William Hindman > > ----- Original Message ----- > From: "Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, November 28, 2006 1:05 AM > Subject: Re: [AccessD] Checking control property in an external mde > database > > >> A.D.: >> >> Thanks for that function. My Chinese distributor wants to be able to >> make >> demo systems over there. I want to let them make demos only from the very >> restricted 35 part version. So if the 35 part limit label is visible in >> the >> mde, I will let the program run which creates an encrypted key with a >> thirty >> day limit. >> >> This will solve the problem. >> >> Thanks and regards, >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL >> Sent: Monday, November 27, 2006 9:50 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Checking control property in an external mde >> database >> >> Rocky, >> >> For accessing control's properties, the form has to be open either in >> design or run time view. In case of mde, design view is ruled out. >> >> Function Fn_IsControlVisibleInExternalDb() as given below, will get >> you >> the visible status of desired control in external db. Though it involves >> opening & closing of target form in external db, the process remains >> invisible to the user. >> >> Note - If the target form is in datasheet view, mere checking of >> visible >> property does not conclusively establish whether the column in question >> is >> displayed or not. For that, ColumnHidden property has to be verified. >> Interestingly, ColumnHidden property is detectable only at run time (not >> in >> design view). >> >> Best wishes, >> A.D.Tejpal >> ---------------- >> >> ===================================== >> Function Fn_IsControlVisibleInExternalDb( _ >> ByVal FilePath As String, _ >> ByVal FormName As String, _ >> ByVal ControlName As String) As Boolean >> ' Returns True if the control is visible. >> ' Otherwise False >> On Error GoTo ErrTrap >> Dim acp As Access.Application >> >> Fn_IsControlVisibleInExternalDb = False ' Default >> >> Set acp = New Access.Application >> acp.OpenCurrentDatabase FilePath >> >> acp.DoCmd.OpenForm FormName >> >> If acp.Forms(FormName)(ControlName).Visible _ >> = True Then >> Fn_IsControlVisibleInExternalDb = True >> End If >> acp.DoCmd.Close acForm, FormName >> >> ExitPoint: >> On Error Resume Next >> acp.Quit >> Set acp = Nothing >> On Error GoTo 0 >> Exit Function >> >> ErrTrap: >> MsgBox "Err " & Err.Number & " - " & Err.Description >> Resume ExitPoint >> End Function >> ===================================== >> >> ----- Original Message ----- >> From: Beach Access Software >> To: 'Access Developers discussion and problem solving' >> Sent: Saturday, November 25, 2006 19:38 >> Subject: [AccessD] Checking control property in an external mde database >> >> >> Dear List: >> >> Is it possible to check the visible property of a control on a form in >> another database which is an mde? Would it be necessary to have that >> database is currently open with that form opened? >> >> MTIA >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: >> 11/27/2006 >> 6:09 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: > 11/27/2006 > 6:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From developer at ultradnt.com Tue Nov 28 20:10:14 2006 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 28 Nov 2006 21:10:14 -0500 Subject: [AccessD] Upgrading from Access 2000 to 2003 In-Reply-To: <001201c7128d$a00b1cc0$6501a8c0@office> Message-ID: <011101c7135b$85178010$0200a8c0@ULTRADNT> Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Nov 28 20:19:06 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 29 Nov 2006 13:19:06 +1100 Subject: [AccessD] Upgrading from Access 2000 to 2003 References: <011101c7135b$85178010$0200a8c0@ULTRADNT> Message-ID: <002d01c7135c$bfa0bd90$6501a8c0@office> Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Nov 28 22:49:41 2006 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 28 Nov 2006 23:49:41 -0500 Subject: [AccessD] Upgrading from Access 2000 to 2003 In-Reply-To: <002d01c7135c$bfa0bd90$6501a8c0@office> Message-ID: <012901c71371$cbb83df0$0200a8c0@ULTRADNT> Kath - I still can't understand why the form can't find the function, but the vba behind the form can ... Next time this hits, I'll try turning off 'invalid control properties'. Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, November 28, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 airtelbroadband.in Tue Nov 28 23:29:04 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 29 Nov 2006 10:59:04 +0530 Subject: [AccessD] ADO Problem References: <008501c71319$265e68a0$6401a8c0@HAL9005> Message-ID: <001801c71377$77172530$1b1665cb@pcadt> Rocky, You might recall the thread "Date Comparison Problem" initiated by you in march-2006. It elicited the overall consensus that in order to avoid any possible pitfalls on account of various regional settings (that might differ from US date format), any date variable to be concatenated into a VBA string should first be preformatted to "mm/dd/yyyy" format. Accordingly, the following syntax should ideally be adopted: "INSERT INTO tWeeklyUpdateSent " & _ "(DateSent) VALUES (#" & _ Format(dtToday, "mm/dd/yyyy") & "#);" Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 28, 2006 23:45 Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From kp at sdsonline.net Tue Nov 28 23:35:39 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 29 Nov 2006 16:35:39 +1100 Subject: [AccessD] Upgrading from Access 2000 to 2003 References: <012901c71371$cbb83df0$0200a8c0@ULTRADNT> Message-ID: <004f01c71378$35021280$6501a8c0@office> Steve - I'm not quite sure what you mean when you say the vba can but the form can't..... You have a control with =getdefault() which throws an error but you can use the same code in the vba window to force the control to be populated and it works? That's interesting because I had a control with syntax something like this =txtjob.column(1). When I opened the form the text box would be empty but if I clicked into it then the contents would display. I had to add code to the form's load event to set the value to get it to work. (even though it worked in A2K). Sounds like a bug - I don't know that adjusting the level of error checking will help that. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 3:49 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath - I still can't understand why the form can't find the function, but the vba behind the form can ... Next time this hits, I'll try turning off 'invalid control properties'. Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, November 28, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 29 00:32:28 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 28 Nov 2006 22:32:28 -0800 Subject: [AccessD] ADO Problem In-Reply-To: <001801c71377$77172530$1b1665cb@pcadt> Message-ID: <016801c71380$24ab82b0$6401a8c0@HAL9005> A.D.: It seems that the apostrophe solved the problem and that the # didn't work. Do you think it will work in conjunction with Format? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 28, 2006 9:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky, You might recall the thread "Date Comparison Problem" initiated by you in march-2006. It elicited the overall consensus that in order to avoid any possible pitfalls on account of various regional settings (that might differ from US date format), any date variable to be concatenated into a VBA string should first be preformatted to "mm/dd/yyyy" format. Accordingly, the following syntax should ideally be adopted: "INSERT INTO tWeeklyUpdateSent " & _ "(DateSent) VALUES (#" & _ Format(dtToday, "mm/dd/yyyy") & "#);" Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 28, 2006 23:45 Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM From Gustav at cactus.dk Wed Nov 29 02:28:34 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 09:28:34 +0100 Subject: [AccessD] ADO Problem Message-ID: Hi James and Rocky Well, this will only work in a US environment. As A.D states, anyone else will have to format the date value as a US formatted date/time expression or - most SQL engines accept that nowadays - an ISO formatted date/time expression with or without slashes: yyyy-mm-dd hh:nn:ss /gustav >>> James at fcidms.com 28-11-2006 20:55:01 >>> Rocky: You probably want something like: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) Values (#" & dtToday & "#)" This will work with an ADODB connection to Access. If you are linking to SQL Server, you should replace the # with ' (Single Quote). Hope this helps. James Barash From cclenright at yahoo.com Wed Nov 29 05:14:08 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 03:14:08 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <20061129111408.35698.qmail@web34304.mail.mud.yahoo.com> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. From developer at ultradnt.com Wed Nov 29 06:00:23 2006 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 29 Nov 2006 07:00:23 -0500 Subject: [AccessD] Upgrading from Access 2000 to 2003 In-Reply-To: <004f01c71378$35021280$6501a8c0@office> Message-ID: <014001c713ad$f63fe140$0200a8c0@ULTRADNT> Kath: Yes, that's exactly it: >>but you can use the same code in the vba window to force the control to be populated and it works?>> I even also had it happen to the buttons on an Access-generated switchboard. After moving it from 2000 to 2002, the "=HandleButtonClick(1)" in the property sheet caused on-click errors. Moved those expressions to code behind the form, and now the buttons work. Report text boxes, too. Anything that can be set to an expression in a property sheet - I lost a lot of time at first with this, but now my first move is to move the expression to code, and it works. (I've seen this on 2002 & 2003 and on machines with Win 2000 & XP, its not just my PC.) Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, November 29, 2006 12:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - I'm not quite sure what you mean when you say the vba can but the form can't..... You have a control with =getdefault() which throws an error but you can use the same code in the vba window to force the control to be populated and it works? That's interesting because I had a control with syntax something like this =txtjob.column(1). When I opened the form the text box would be empty but if I clicked into it then the contents would display. I had to add code to the form's load event to set the value to get it to work. (even though it worked in A2K). Sounds like a bug - I don't know that adjusting the level of error checking will help that. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 3:49 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath - I still can't understand why the form can't find the function, but the vba behind the form can ... Next time this hits, I'll try turning off 'invalid control properties'. Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, November 28, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Steve - if you are calling a function which it can't locate then I'd say that would be why you're getting the error messages. The setting under tools, options, error checking looks like it would allow you to turn it all off or select individually, in your case you could turn off 'invalid control properties'. I'm still deciding because I'm new to 2003 how much to turn off but some of them seem ridiculous, eg. 'unassociated labels'. Kath ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 1:10 PM Subject: Re: [AccessD] Upgrading from Access 2000 to 2003 Kath: >>>>>>>There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). >>>>>>> Is this why I get, in A2k2-3, random #error in text boxes that have "=GetDefault()" or some such function call as their source? I have been just moving these function calls to the code in form.current, and that has worked around it. Lowering, or turning off one these options in Error Checking will prevent this? Thanks, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 27, 2006 8:36 PM To: Access D Normal List Subject: [AccessD] Upgrading from Access 2000 to 2003 I've been keeping track of issues I have faced when I had to upgrade a client's system from Access 2000 to 2003 this month. I thought it might be worthwhile posting my brief list in case anyone else needs to do the same - and maybe those of you who have worked in 2003 more than I have can add to it..... - Start with new 2003 database, and change default file format to 2002-2003 before importing all objects, file import specs, relationships. - Recreate Startup options and update all references - Check all report settings for reports which do not use the default printer. (I found that those that use a specific printer, eg. pdf995 had reverted to default printer on import). - Check that toolbars are displayed. Even though they are imported, I found that I had to turn then on manually (change properties to allow them to be turned on / turn them on / change properties back again) - All references to the commondialog control need to be re-written (browse / save dialogues) - Change the [Tools] [Macro] [Security] level to Low to prevent users getting the msg "Do you want to block unsafe expressions?" - There is a new level of error checking in 2003. Any controls that do not have tne control source in a form's source will create new error messages (shouldn't have any of those but it found a couple!) . Error checking levels can be adjusted thru the menu. (tools, options, error checking). ______________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 airtelbroadband.in Wed Nov 29 06:22:27 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 29 Nov 2006 17:52:27 +0530 Subject: [AccessD] ADO Problem References: <016801c71380$24ab82b0$6401a8c0@HAL9005> Message-ID: <006201c713b1$38378410$e70265cb@pcadt> Rocky, The syntax suggested in my post was duly tested before dispatch. As pointed out by Gustav, the alternative one, involving direct concatenation, that was successfully tried by you, worked because you must have tested it on a system having regional settings conforming to US date format. For consistent results internationally, it would be safest to adhere to the syntax mentioned in my post. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Wednesday, November 29, 2006 12:02 Subject: Re: [AccessD] ADO Problem A.D.: It seems that the apostrophe solved the problem and that the # didn't work. Do you think it will work in conjunction with Format? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, November 28, 2006 9:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADO Problem Rocky, You might recall the thread "Date Comparison Problem" initiated by you in march-2006. It elicited the overall consensus that in order to avoid any possible pitfalls on account of various regional settings (that might differ from US date format), any date variable to be concatenated into a VBA string should first be preformatted to "mm/dd/yyyy" format. Accordingly, the following syntax should ideally be adopted: "INSERT INTO tWeeklyUpdateSent " & _ "(DateSent) VALUES (#" & _ Format(dtToday, "mm/dd/yyyy") & "#);" Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 28, 2006 23:45 Subject: [AccessD] ADO Problem Dear List: A colleague (who thinks I know ADO) writes in to ask why the following: Conn.Execute "INSERT INTO tWeeklyUpdateSent ( DateSent ) " & _ "SELECT " & dtToday & "" Inserts a record into tWeeklyUpdateSent so the conection is OK. But but the date is 1/1/1900 instead of today's date. I had him check the contents of dtToday and it does indeed have 11/28/2006 in it. Does anyone see what he's doing wrong here? MTIA Rocky From Kwilliamson at RTKL.com Wed Nov 29 08:13:28 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 29 Nov 2006 09:13:28 -0500 Subject: [AccessD] Linked Table to SQL Database In-Reply-To: <20061128222035.313.qmail@web88211.mail.re2.yahoo.com> Message-ID: Unfortunately, I really don't have access to the original table. I only get an ODBC link to it. I might be able to get a limited "view" to a couple of the really hefty tables, as Rusty recommended. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Tuesday, November 28, 2006 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table to SQL Database You can also employ a technique called horizontal partitioning, which will break the large table into two or more chunks that exist as several physical files. The advantage to this approach is that if and when you ever need to, you can address the whole table easily. Look in BOL for Horizontal Partitioning. Arthur ----- Original Message ---- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, November 28, 2006 4:34:10 PM Subject: Re: [AccessD] Linked Table to SQL Database Okay. Thanks a lot!! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Tuesday, November 28, 2006 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked Table to SQL Database Keith, Create a view on the SQL server that limits your records, then create the link in Access to that view. If you don't have the rights to the sql server to create the view, you can create a pass-through query in Access and limit your records via a SQL statement in the pass-through query. A limitation of a pass-through query is the data returned is read-only, which may may not work for your needs. HTH, Rusty -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, November 28, 2006 2:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked Table to SQL Database Hey guys, I've got a linked table to a Sql Server database. The table has approximately 2,000,000 (yes..that is TWO MILLION...PLUS) records in it. The data goes back at least 10 years. I only need the data for, at most, this year onward. Is there a way to limit the link, to only pull out data older than 01/01/06? I am sure that Access will really chug, trying to go through the 2,000,000 records (if a query will even be able to handle it.) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Nov 29 08:17:32 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 29 Nov 2006 09:17:32 -0500 Subject: [AccessD] CSV export Message-ID: Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From garykjos at gmail.com Wed Nov 29 09:43:15 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 29 Nov 2006 09:43:15 -0600 Subject: [AccessD] CSV export In-Reply-To: References: Message-ID: According to the Access 97 help you would use the Output To method of the DoCmd Object. Something like DoCmd.OutputTo acOutputReport, "rptKeithsReport", acFormatTXT, "C:\WORK\KeithsReportOutput.CSV", True I'm thinking you will be getting less than satisfactory results though if my experience exporting reports to Excel format from Access is any indication. I think you would do well to clone the query and introduce the logical stuff the report does to come up with any fields that don't exist in the orginal query. With reports exported directly to Excel I always get lots of extraneous columns. Good luck. GK Here's more info on the Output To; ------------------------------------------------------- The OutputTo method carries out the OutputTo action in Visual Basic. For more information on how the action and its arguments work, see the action topic. Syntax DoCmd.OutputTo objecttype[, objectname][, outputformat][, outputfile][, autostart][, templatefile] The OutputTo method has the following arguments. Argument Description objecttype One of the following intrinsic constants: acOutputForm acOutputModule acOutputQuery acOutputReport acOutputTable objectname A string expression that's the valid name of an object of the type selected by the objecttype argument. If you want to output the active object, specify the object's type for the objecttype argument and leave this argument blank. If you run Visual Basic code containing the OutputTo method in a library database, Microsoft Access looks for the object with this name first in the library database, then in the current database. outputformat One of the following intrinsic constants: acFormatActiveXServer acFormatHTML acFormatIIS acFormatRTF acFormatTXT acFormatXLS If you leave this argument blank, Microsoft Access prompts you for the output format. outputfile A string expression that's the full name, including the path, of the file you want to output the object to. If you leave this argument blank, Microsoft Access prompts you for an output file name. autostart Use True (?1) to start the appropriate Microsoft Windows?based application immediately, with the file specified by the outputfile argument loaded. Use False (0) if you don't want to start the application. This argument is ignored for Microsoft Internet Information Server (.htx, .idc) files and Microsoft ActiveX Server (*.asp) files. If you leave this argument blank, the default (False) is assumed. templatefile A string expression that's the full name, including the path, of the file you want to use as a template for an HTML, HTX, or ASP file. Remarks Modules can be output only in MS-DOS Text format, so if you specify acOutputModule for the objecttype argument, you must specify acFormatTXT for the outputformat argument. Microsoft Internet Information Server and Microsoft ActiveX Server formats are available only for tables, queries, and forms, so if you specify acFormatIIS or acFormatActiveXServer for the outputformat argument, you must specify acOutputTable, acOutputQuery, or acOutputForm for the objecttype argument. You can leave an optional argument blank in the middle of the syntax, but you must include the argument's comma. If you leave a trailing argument blank, don't use a comma following the last argument you specify. -- Gary Kjos garykjos at gmail.com From mmmtbig at bellsouth.net Wed Nov 29 09:45:49 2006 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 29 Nov 2006 10:45:49 -0500 Subject: [AccessD] Email Automation to Outlook problem Message-ID: <00ab01c713cd$7aa95690$6701a8c0@tbig1> I have several Access 2003 apps that use automation to send email through Outlook (on Exchange server). Recently at a client site the Outlook-Exchange server quit sending the email. It is rejecting the email address because it has apostrophes around it, e.g., 'johndoe at aol.com' Until last week it sent the email with apostrophes around it without any hesitation. Does anyone have any insight into what could have caused the problem and/or solutions? TIA, Myke From bchacc at san.rr.com Wed Nov 29 09:58:41 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 29 Nov 2006 07:58:41 -0800 Subject: [AccessD] CSV export In-Reply-To: Message-ID: <004901c713cf$3de05ae0$6401a8c0@HAL9005> Keith: I wouldn't export the report. I'd probably create a temp table to store the values and export to an Excel spreadsheet. You could actually export the formulas this way if you wanted to. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, November 29, 2006 6:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] CSV export Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM From Gustav at cactus.dk Wed Nov 29 10:10:54 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 17:10:54 +0100 Subject: [AccessD] Email Automation to Outlook problem Message-ID: Hi Myke The obvious solution is to adjust your code to stop wrapping the address in apostrophes. If, for some reason, that can't be done, change these to brackets like: /gustav >>> mmmtbig at bellsouth.net 29-11-2006 16:45:49 >>> I have several Access 2003 apps that use automation to send email through Outlook (on Exchange server). Recently at a client site the Outlook-Exchange server quit sending the email. It is rejecting the email address because it has apostrophes around it, e.g., 'johndoe at aol.com' Until last week it sent the email with apostrophes around it without any hesitation. Does anyone have any insight into what could have caused the problem and/or solutions? TIA, Myke From Gustav at cactus.dk Wed Nov 29 10:19:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 17:19:32 +0100 Subject: [AccessD] Single and Double Inverted Commas! Message-ID: Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris From ssharkins at setel.com Wed Nov 29 10:40:32 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 29 Nov 2006 11:40:32 -0500 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: <000101c713d5$16e97970$8bbc2ad1@SUSANONE> Gustav, This is something that Outlook seems to do on its own -- at least on my system. An address that's worked for years will suddenly not send. In the header, I can see the apostrophes. I delete the address, re-enter it, and 9 times out of 10, it goes. No clue... In my case, there's no code involved -- this is all Outlook. Susan H. The obvious solution is to adjust your code to stop wrapping the address in apostrophes. If, for some reason, that can't be done, change these to brackets like: From Gustav at cactus.dk Wed Nov 29 11:09:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Nov 2006 18:09:03 +0100 Subject: [AccessD] Email Automation to Outlook problem Message-ID: Hi Susan and Chris Oh, that's another story - I don't use Outlook - so I cannot help. Could it be an automatic Windows Updating issue? /gustav >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> Gustav, This is something that Outlook seems to do on its own -- at least on my system. An address that's worked for years will suddenly not send. In the header, I can see the apostrophes. I delete the address, re-enter it, and 9 times out of 10, it goes. No clue... In my case, there's no code involved -- this is all Outlook. Susan H. The obvious solution is to adjust your code to stop wrapping the address in apostrophes. If, for some reason, that can't be done, change these to brackets like: From markamatte at hotmail.com Wed Nov 29 14:24:22 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 20:24:22 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: I am actually having a related issue right now. I have a db that imports data every 30 minutes...does an analysis...and emails results using outlook. It worked fine for a year...and now outlook crashes almost everytime with "An unknown Error". If I execute the exact same code from a button instead of a timer, it runs fine...I'm lost at this time. I need a way to send an email without using outlook...I guess? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 18:09:03 +0100 > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >Gustav, > > This is something that Outlook seems to do on its own -- at least on >my system. An address that's worked for years will suddenly not send. In >the >header, I can see the apostrophes. I delete the address, re-enter it, and 9 >times out of 10, it goes. No clue... > > In my case, there's no code involved -- this is all Outlook. > >Susan H. > >The obvious solution is to adjust your code to stop wrapping the address in >apostrophes. >If, for some reason, that can't be done, change these to brackets like: > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From wdhindman at dejpolsystems.com Wed Nov 29 15:12:25 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 29 Nov 2006 16:12:25 -0500 Subject: [AccessD] Email Automation to Outlook problem References: Message-ID: <005b01c713fb$121bcf80$3e3de844@50NM721> ...have you tried a restore point before it started failing ...imnsho Microsoft has returned to issuing updates without thoroughly vetting them ...it seems everytime MS does an update these days, my phone starts ringing :( William Hindman ----- Original Message ----- From: "Mark A Matte" To: Sent: Wednesday, November 29, 2006 3:24 PM Subject: Re: [AccessD] Email Automation to Outlook problem >I am actually having a related issue right now. I have a db that imports > data every 30 minutes...does an analysis...and emails results using > outlook. > It worked fine for a year...and now outlook crashes almost everytime with > "An unknown Error". If I execute the exact same code from a button > instead > of a timer, it runs fine...I'm lost at this time. I need a way to send an > email without using outlook...I guess? > > Thanks, > > Mark A. Matte > >>From: "Gustav Brock" >>Reply-To: Access Developers discussion and problem >>solving >>To: >>Subject: Re: [AccessD] Email Automation to Outlook problem >>Date: Wed, 29 Nov 2006 18:09:03 +0100 >> >>Hi Susan and Chris >> >>Oh, that's another story - I don't use Outlook - so I cannot help. >>Could it be an automatic Windows Updating issue? >> >>/gustav >> >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >>Gustav, >> >> This is something that Outlook seems to do on its own -- at least on >>my system. An address that's worked for years will suddenly not send. In >>the >>header, I can see the apostrophes. I delete the address, re-enter it, and >>9 >>times out of 10, it goes. No clue... >> >> In my case, there's no code involved -- this is all Outlook. >> >>Susan H. >> >>The obvious solution is to adjust your code to stop wrapping the address >>in >>apostrophes. >>If, for some reason, that can't be done, change these to brackets like: >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Talk now to your Hotmail contacts with Windows Live Messenger. > http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview > > -- > 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 29 15:22:31 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 21:22:31 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <005b01c713fb$121bcf80$3e3de844@50NM721> Message-ID: I'll have to give this a try...but if it had any updates...they would have to have been automatic...its an old box running 2K Server...and I haven't run any updates in quite sometime. The weird part for me...is I can run the code from a button...but not a timer event??? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:12:25 -0500 > >...have you tried a restore point before it started failing ...imnsho >Microsoft has returned to issuing updates without thoroughly vetting them >...it seems everytime MS does an update these days, my phone starts ringing >:( > >William Hindman >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, November 29, 2006 3:24 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > > >I am actually having a related issue right now. I have a db that imports > > data every 30 minutes...does an analysis...and emails results using > > outlook. > > It worked fine for a year...and now outlook crashes almost everytime >with > > "An unknown Error". If I execute the exact same code from a button > > instead > > of a timer, it runs fine...I'm lost at this time. I need a way to send >an > > email without using outlook...I guess? > > > > Thanks, > > > > Mark A. Matte > > > >>From: "Gustav Brock" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Email Automation to Outlook problem > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > >> > >>Hi Susan and Chris > >> > >>Oh, that's another story - I don't use Outlook - so I cannot help. > >>Could it be an automatic Windows Updating issue? > >> > >>/gustav > >> > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >>Gustav, > >> > >> This is something that Outlook seems to do on its own -- at least on > >>my system. An address that's worked for years will suddenly not send. In > >>the > >>header, I can see the apostrophes. I delete the address, re-enter it, >and > >>9 > >>times out of 10, it goes. No clue... > >> > >> In my case, there's no code involved -- this is all Outlook. > >> > >>Susan H. > >> > >>The obvious solution is to adjust your code to stop wrapping the address > >>in > >>apostrophes. > >>If, for some reason, that can't be done, change these to brackets like: > >> > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Talk now to your Hotmail contacts with Windows Live Messenger. > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From mmmtbig at bellsouth.net Wed Nov 29 15:23:11 2006 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 29 Nov 2006 16:23:11 -0500 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: <015a01c713fc$964f3c50$6701a8c0@tbig1> I don't seem to be able to get rid of the apostrophes around the email address. Per Susan H.'s recommendation, I added brackets: itm.To = "<" & strEmailAddr & ">" Still shows up in Outlook with apostrophes and no brackets. Maybe this is some spam-fighting patch in Outlook implemented by Microsoft recently. It is causing big trouble for my client (and me). Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 3:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I am actually having a related issue right now. I have a db that imports data every 30 minutes...does an analysis...and emails results using outlook. It worked fine for a year...and now outlook crashes almost everytime with "An unknown Error". If I execute the exact same code from a button instead of a timer, it runs fine...I'm lost at this time. I need a way to send an email without using outlook...I guess? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 18:09:03 +0100 > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >Gustav, > > This is something that Outlook seems to do on its own -- at least on >my system. An address that's worked for years will suddenly not send. >In the header, I can see the apostrophes. I delete the address, >re-enter it, and 9 times out of 10, it goes. No clue... > > In my case, there's no code involved -- this is all Outlook. > >Susan H. > >The obvious solution is to adjust your code to stop wrapping the >address in apostrophes. If, for some reason, that can't be done, change >these to brackets like: > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get .live.com/messenger/overview -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Wed Nov 29 15:39:36 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 13:39:36 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <20061129213936.71003.qmail@web34307.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. From shamil at users.mns.ru Wed Nov 29 15:46:47 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 30 Nov 2006 00:46:47 +0300 Subject: [AccessD] OT: Where can I get good free Code39 barcode's TTF font? Message-ID: <000901c713ff$de9603b0$6501a8c0@nant> Hi All, Could you please advise where to get good TTF fonts for Code 39 barcodes? I see many choices on Internet - do you know which one is the most useful and reliable? Thank you. -- Shamil From markamatte at hotmail.com Wed Nov 29 15:45:29 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 21:45:29 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <015a01c713fc$964f3c50$6701a8c0@tbig1> Message-ID: I was using (before my new issues) the Docmd.SendObject with double quotes: DoCmd.SendObject , , acFormatHTML, "3362535270 at messaging.sprintpcs.com", "1111111111 at messaging.sprintpcs.com", , "Stock", Body, 0 Now it only works when I run the code manually. Anyway...just thought I'd share. Thanks, Mark A. Matte >From: "Myke Myers" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:23:11 -0500 > >I don't seem to be able to get rid of the apostrophes around the email >address. > >Per Susan H.'s recommendation, I added brackets: > itm.To = "<" & strEmailAddr & ">" > >Still shows up in Outlook with apostrophes and no brackets. > >Maybe this is some spam-fighting patch in Outlook implemented by Microsoft >recently. > >It is causing big trouble for my client (and me). > >Myke > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, November 29, 2006 3:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Email Automation to Outlook problem > > >I am actually having a related issue right now. I have a db that imports >data every 30 minutes...does an analysis...and emails results using >outlook. > > It worked fine for a year...and now outlook crashes almost everytime >with >"An unknown Error". If I execute the exact same code from a button instead >of a timer, it runs fine...I'm lost at this time. I need a way to send an >email without using outlook...I guess? > >Thanks, > >Mark A. Matte > > >From: "Gustav Brock" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: Re: [AccessD] Email Automation to Outlook problem > >Date: Wed, 29 Nov 2006 18:09:03 +0100 > > > >Hi Susan and Chris > > > >Oh, that's another story - I don't use Outlook - so I cannot help. > >Could it be an automatic Windows Updating issue? > > > >/gustav > > > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >Gustav, > > > > This is something that Outlook seems to do on its own -- at least on > > >my system. An address that's worked for years will suddenly not send. > >In the header, I can see the apostrophes. I delete the address, > >re-enter it, and 9 times out of 10, it goes. No clue... > > > > In my case, there's no code involved -- this is all Outlook. > > > >Susan H. > > > >The obvious solution is to adjust your code to stop wrapping the > >address in apostrophes. If, for some reason, that can't be done, change > >these to brackets like: > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Talk now to your Hotmail contacts with Windows Live Messenger. >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get >.live.com/messenger/overview > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From dw-murphy at cox.net Wed Nov 29 15:52:54 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 29 Nov 2006 13:52:54 -0800 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: Message-ID: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> It may be a windows event conflict. I am not sure if the timer is an Access thing or Access running a windows api. I do know that if Outlook happens to be sending or receiving when I try and send an email from Access an error is generated. This may be way out in left field but something to consider. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 1:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I'll have to give this a try...but if it had any updates...they would have to have been automatic...its an old box running 2K Server...and I haven't run any updates in quite sometime. The weird part for me...is I can run the code from a button...but not a timer event??? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:12:25 -0500 > >...have you tried a restore point before it started failing ...imnsho >Microsoft has returned to issuing updates without thoroughly vetting >them ...it seems everytime MS does an update these days, my phone >starts ringing :( > >William Hindman >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, November 29, 2006 3:24 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > > >I am actually having a related issue right now. I have a db that > >imports data every 30 minutes...does an analysis...and emails > >results using outlook. > > It worked fine for a year...and now outlook crashes almost > >everytime >with > > "An unknown Error". If I execute the exact same code from a button > > instead of a timer, it runs fine...I'm lost at this time. I need a > > way to send >an > > email without using outlook...I guess? > > > > Thanks, > > > > Mark A. Matte > > > >>From: "Gustav Brock" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Email Automation to Outlook problem > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > >> > >>Hi Susan and Chris > >> > >>Oh, that's another story - I don't use Outlook - so I cannot help. > >>Could it be an automatic Windows Updating issue? > >> > >>/gustav > >> > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >>Gustav, > >> > >> This is something that Outlook seems to do on its own -- at least > >>on my system. An address that's worked for years will suddenly not > >>send. In the header, I can see the apostrophes. I delete the > >>address, re-enter it, >and > >>9 > >>times out of 10, it goes. No clue... > >> > >> In my case, there's no code involved -- this is all Outlook. > >> > >>Susan H. > >> > >>The obvious solution is to adjust your code to stop wrapping the > >>address in apostrophes. > >>If, for some reason, that can't be done, change these to brackets like: > >> > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Talk now to your Hotmail contacts with Windows Live Messenger. > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http: >//get.live.com/messenger/overview > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From dmcafee at pacbell.net Wed Nov 29 16:03:13 2006 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 29 Nov 2006 14:03:13 -0800 (PST) Subject: [AccessD] OT: Where can I get good free Code39 barcode's TTF font? Message-ID: <20061129220313.42453.qmail@web80812.mail.mud.yahoo.com> I've used this one for a while now. http://www.squaregear.net/fonts/ David ----- Original Message ---- From: Shamil Salakhetdinov To: Access-D Sent: Wednesday, November 29, 2006 1:46:47 PM Subject: [AccessD] OT: Where can I get good free Code39 barcode's TTF font? Hi All, Could you please advise where to get good TTF fonts for Code 39 barcodes? I see many choices on Internet - do you know which one is the most useful and reliable? Thank you. -- Shamil -- 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 29 16:11:06 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Nov 2006 22:11:06 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> Message-ID: Also...like I said...no updates that I know of...but this ran fine for over a year. Thanks, Mark >From: "Doug Murphy" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 13:52:54 -0800 > >It may be a windows event conflict. I am not sure if the timer is an >Access >thing or Access running a windows api. I do know that if Outlook happens >to >be sending or receiving when I try and send an email from Access an error >is >generated. This may be way out in left field but something to consider. > >Doug > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, November 29, 2006 1:23 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Email Automation to Outlook problem > > >I'll have to give this a try...but if it had any updates...they would have >to have been automatic...its an old box running 2K Server...and I haven't >run any updates in quite sometime. The weird part for me...is I can run >the >code from a button...but not a timer event??? > >Thanks, > >Mark A. Matte > > >From: "William Hindman" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Email Automation to Outlook problem > >Date: Wed, 29 Nov 2006 16:12:25 -0500 > > > >...have you tried a restore point before it started failing ...imnsho > >Microsoft has returned to issuing updates without thoroughly vetting > >them ...it seems everytime MS does an update these days, my phone > >starts ringing :( > > > >William Hindman > >----- Original Message ----- > >From: "Mark A Matte" > >To: > >Sent: Wednesday, November 29, 2006 3:24 PM > >Subject: Re: [AccessD] Email Automation to Outlook problem > > > > > > >I am actually having a related issue right now. I have a db that > > >imports data every 30 minutes...does an analysis...and emails > > >results using outlook. > > > It worked fine for a year...and now outlook crashes almost > > >everytime > >with > > > "An unknown Error". If I execute the exact same code from a button > > > instead of a timer, it runs fine...I'm lost at this time. I need a > > > way to send > >an > > > email without using outlook...I guess? > > > > > > Thanks, > > > > > > Mark A. Matte > > > > > >>From: "Gustav Brock" > > >>Reply-To: Access Developers discussion and problem > > >>solving > > >>To: > > >>Subject: Re: [AccessD] Email Automation to Outlook problem > > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > > >> > > >>Hi Susan and Chris > > >> > > >>Oh, that's another story - I don't use Outlook - so I cannot help. > > >>Could it be an automatic Windows Updating issue? > > >> > > >>/gustav > > >> > > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > > >>Gustav, > > >> > > >> This is something that Outlook seems to do on its own -- at least > > >>on my system. An address that's worked for years will suddenly not > > >>send. In the header, I can see the apostrophes. I delete the > > >>address, re-enter it, > >and > > >>9 > > >>times out of 10, it goes. No clue... > > >> > > >> In my case, there's no code involved -- this is all Outlook. > > >> > > >>Susan H. > > >> > > >>The obvious solution is to adjust your code to stop wrapping the > > >>address in apostrophes. > > >>If, for some reason, that can't be done, change these to brackets >like: > > >> > > >> > > >> > > >>-- > > >>AccessD mailing list > > >>AccessD at databaseadvisors.com > > >>http://databaseadvisors.com/mailman/listinfo/accessd > > >>Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > Talk now to your Hotmail contacts with Windows Live Messenger. > > > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http: > >//get.live.com/messenger/overview > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >View Athletes Collections with Live Search >http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get the latest Windows Live Messenger 8.1 Beta version.?Join now. http://ideas.live.com From Lambert.Heenan at AIG.com Wed Nov 29 16:15:04 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 29 Nov 2006 16:15:04 -0600 Subject: [AccessD] Email Automation to Outlook problem Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C29DA7A2@xlivmbx35.aig.com> Hmm. I notice you are directly assigning the email address to the Item.To field. No idea why this might suddenly stop working, but as it happens this is *not* how I address emails. Instead I create an Outlook Mail Item... Set objOutlookMsg = objOutlook.CreateItem(olMailItem) ...and then add an email address to the collection... With objOutlookMsg ' Add the To recipient(s) to the message. .Recipients.Add("Foo at bar.com") ' add an email address to the collection ... and define the recipient type ... .Recipients.Type = olTo ... and lastly the address is verified using the Resolve method - this will verify Exchange Server addresses. ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients If Not objOutlookRecip.Resolve = True Then MsgBox "Address " & objOutlookRecip.Name & " does not exist" objOutlookRecip.Delete End If Next ... End With I have similar code that takes a delimited list of addresses and adds them one by one to the Recipients collection. This "works for me", and has done for years. Currently I'm using it with Outlook XP (2002). HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Wednesday, November 29, 2006 4:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Email Automation to Outlook problem I don't seem to be able to get rid of the apostrophes around the email address. Per Susan H.'s recommendation, I added brackets: itm.To = "<" & strEmailAddr & ">" Still shows up in Outlook with apostrophes and no brackets. Maybe this is some spam-fighting patch in Outlook implemented by Microsoft recently. It is causing big trouble for my client (and me). Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 3:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I am actually having a related issue right now. I have a db that imports data every 30 minutes...does an analysis...and emails results using outlook. It worked fine for a year...and now outlook crashes almost everytime with "An unknown Error". If I execute the exact same code from a button instead of a timer, it runs fine...I'm lost at this time. I need a way to send an email without using outlook...I guess? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 18:09:03 +0100 > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav > > >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> >Gustav, > > This is something that Outlook seems to do on its own -- at least on >my system. An address that's worked for years will suddenly not send. >In the header, I can see the apostrophes. I delete the address, >re-enter it, and 9 times out of 10, it goes. No clue... > > In my case, there's no code involved -- this is all Outlook. > >Susan H. > >The obvious solution is to adjust your code to stop wrapping the >address in apostrophes. If, for some reason, that can't be done, change >these to brackets like: > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get .live.com/messenger/overview -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darrend at nimble.com.au Wed Nov 29 16:17:18 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 30 Nov 2006 09:17:18 +1100 Subject: [AccessD] Single and Double Inverted Commas! In-Reply-To: <20061129111408.35698.qmail@web34304.mail.mud.yahoo.com> Message-ID: <000601c71404$2d985090$631aa53a@DENZILLAP> Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cclenright at yahoo.com Wed Nov 29 16:30:13 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 14:30:13 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <504913.67568.qm@web34311.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Ah! Thanks Darren, that explains why some simpler attempts are causing problems. Does that mean I can change them in the Form B from Form A before opening Form B? Chris -------Original Message------- From: Darren DICK Date: 29/11/2006 22:19:25 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. From cclenright at yahoo.com Wed Nov 29 16:36:49 2006 From: cclenright at yahoo.com (Chris Enright) Date: Wed, 29 Nov 2006 14:36:49 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <882726.1924.qm@web34314.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Darren, Thanks for sending me the demo. Sadly I am still using Access 2K and can't run it. Chris -------Original Message------- From: Darren DICK Date: 29/11/2006 22:19:25 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From artful at rogers.com Wed Nov 29 18:09:50 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 29 Nov 2006 16:09:50 -0800 (PST) Subject: [AccessD] Email Automation to Outlook problem Message-ID: <20061130000950.63940.qmail@web88208.mail.re2.yahoo.com> LOL. I didn't realize that anyone still did use Outlook. Ok, I stand corrected. ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, November 29, 2006 12:09:03 PM Subject: Re: [AccessD] Email Automation to Outlook problem Hi Susan and Chris Oh, that's another story - I don't use Outlook - so I cannot help. Could it be an automatic Windows Updating issue? /gustav From darrend at nimble.com.au Thu Nov 30 00:30:38 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 30 Nov 2006 17:30:38 +1100 Subject: [AccessD] Single and Double Inverted Commas! In-Reply-To: <882726.1924.qm@web34314.mail.mud.yahoo.com> Message-ID: <001601c71449$277ba050$5e04a53a@DENZILLAP> Howdy New demo sent However in relation to changing controlsources from other forms or via code As far as I know ControlSources (for controls) can't be set other than in design mode - again the list will let me know if I have it wrong though Darren -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Thursday, 30 November 2006 9:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Single and Double Inverted Commas! v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Darren, Thanks for sending me the demo. Sadly I am still using Access 2K and can't run it. Chris -------Original Message------- From: Darren DICK Date: 29/11/2006 22:19:25 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris Demo sent off list I am not too sure the dot controlsource property can be set at runtime (IE Changed via code with the form 'running') - I am sure someone on the list will correct me if I have it wrong See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: Chris Enright [mailto:cclenright at yahoo.com] Sent: Wednesday, 29 November 2006 10:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Single and Double Inverted Commas! I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From jwcolby at colbyconsulting.com Thu Nov 30 05:44:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 30 Nov 2006 06:44:45 -0500 Subject: [AccessD] Where to place a filter Message-ID: <004301c71474$efa70210$e1265b05@m6805> I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Thu Nov 30 06:15:16 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Nov 2006 13:15:16 +0100 Subject: [AccessD] Single and Double Inverted Commas! Message-ID: Hi Chris Well, still lazy, so why not: Me.MonTotDBAdmin.ControlSource = Replace("=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')","'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 22:39:36 >>> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris From jwcolby at colbyconsulting.com Thu Nov 30 06:50:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 30 Nov 2006 07:50:57 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <004301c71474$efa70210$e1265b05@m6805> Message-ID: <004d01c7147e$2ede8bc0$e1265b05@m6805> There is more to the story, which leaves me completely confused. In the process of fixing the problem, I had dropped the AgencyID FK from the tblChild table and pulled in the AgencyID PK from tblAgency, and then applied the filter to the AgencyID PK. To do further testing I then pulled in the FK from the tblChild table again and moved the filter back to that FK field and the speed was still 3 seconds! To summarize, I had an extremely slow query. I discovered that if I simply pulled the PK from the tblAgency and applied the filter to that (dropping the FK AgencyID from the tblChild out of the query in the process) the query went from 3 minutes down to 3 seconds. However when I pulled the AgencyID FK back out of the tblChild and reapplied the filter to the FK, the query time remained at 3 seconds. Hmmmm..... It certainly sounds like something about the query was saved in the background, and whatever that something was it was corrupted or something. Changing the query by pulling the PK and applying the filter to that, dropping the FK in the process, perhaps caused something in the background to be corrected. I dunno. I have never seen anything like this before. Sadly it means I cannot necessarily look for speedups in my existing database by moving a filter from an FK to the corresponding PK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Thu Nov 30 08:18:58 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 09:18:58 -0500 Subject: [AccessD] CSV export In-Reply-To: <004901c713cf$3de05ae0$6401a8c0@HAL9005> Message-ID: Thanks, Rocky. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, November 29, 2006 10:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CSV export Keith: I wouldn't export the report. I'd probably create a temp table to store the values and export to an Excel spreadsheet. You could actually export the formulas this way if you wanted to. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, November 29, 2006 6:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] CSV export Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM -- 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 30 08:55:00 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 06:55:00 -0800 Subject: [AccessD] CSV export In-Reply-To: Message-ID: <001b01c7148f$82bb2490$6401a8c0@HAL9005> Keith: I've got a bunch of automation code exporting stuff to Excel if you want a sample. It's not elegant but it works. I've also got code where I had to do a bunch of formatting and other things in a spreadsheet I was creating from Access. I used the macro recorder in Excel and just copied out the code it generated into my module. I can send you some snips of that as well if you need to make a full on spreadsheet instead of just a CSV file that will open in Excel. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 6:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV export Thanks, Rocky. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, November 29, 2006 10:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CSV export Keith: I wouldn't export the report. I'd probably create a temp table to store the values and export to an Excel spreadsheet. You could actually export the formulas this way if you wanted to. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, November 29, 2006 6:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] CSV export Guys, I am probably showing my rustiness now..... :-).........but how do I do a VBA export of a report. I have a report that I need to export in CSV format, for uploading into another program. I can't really just use the query behind the report for the "TransferText" command....as the report actually calculates some ledger codes, and summaries. I would hate to do an excel export, and then convert out of excel. Any help would be appreciated. By the way........I am sure that I will be much more active on this side of the lists (rather than OT), as my new job is getting me back into some coding (at least for the short term). I also don't have time for OT at work (just the odd, untimely responses, from home.) :-) Thanks again, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM From Kwilliamson at RTKL.com Thu Nov 30 09:08:07 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 10:08:07 -0500 Subject: [AccessD] Still on the Reporting Message-ID: Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From bchacc at san.rr.com Thu Nov 30 09:20:56 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 07:20:56 -0800 Subject: [AccessD] Still on the Reporting In-Reply-To: Message-ID: <002c01c71493$2240f960$6401a8c0@HAL9005> Keith: I've also got a module that exports to a comma delimited, CSV file with quotes around the text fields. Can send that off-line if it would help. Why is CSV out of the running now? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM From wdhindman at dejpolsystems.com Thu Nov 30 09:23:40 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 30 Nov 2006 10:23:40 -0500 Subject: [AccessD] Where to place a filter References: <004d01c7147e$2ede8bc0$e1265b05@m6805> Message-ID: <003301c71493$84061e50$3e3de844@50NM721> ...or not ...remember that Access uses the Rushmore query optimization algorithms which build adhoc indices based on the actual data in addition to the indices you've spec'd ...it could be that when you changed the index the first time that you forced a new query optimization that gave a much better result ...and that when you redid the query, Access retained the optimized adhoc indices because the change was actually immaterial ...in other words you had added a lot of data since you first built the query and when you forced it to review its optimization it did so with the additional data considered ...and when you reverted, the optimization held because the speed increase was based on the data rather than the index. ...or something like that :) ...so the real answer is that when you've added a large amount of data into an Access database, you may find that your original queries work much faster if you force them to reoptimize. William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 30, 2006 7:50 AM Subject: Re: [AccessD] Where to place a filter > There is more to the story, which leaves me completely confused. > > In the process of fixing the problem, I had dropped the AgencyID FK from > the > tblChild table and pulled in the AgencyID PK from tblAgency, and then > applied the filter to the AgencyID PK. To do further testing I then > pulled > in the FK from the tblChild table again and moved the filter back to that > FK > field and the speed was still 3 seconds! > > To summarize, I had an extremely slow query. I discovered that if I > simply > pulled the PK from the tblAgency and applied the filter to that (dropping > the FK AgencyID from the tblChild out of the query in the process) the > query > went from 3 minutes down to 3 seconds. However when I pulled the AgencyID > FK back out of the tblChild and reapplied the filter to the FK, the query > time remained at 3 seconds. > > Hmmmm..... > > It certainly sounds like something about the query was saved in the > background, and whatever that something was it was corrupted or something. > Changing the query by pulling the PK and applying the filter to that, > dropping the FK in the process, perhaps caused something in the background > to be corrected. > > I dunno. I have never seen anything like this before. > > Sadly it means I cannot necessarily look for speedups in my existing > database by moving a filter from an FK to the corresponding PK. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, November 30, 2006 6:45 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Where to place a filter > > I found an interesting anomaly today. I was troubleshooting why a query > was > two orders of magnitude slower in a query in a new version of a database > vs. > the same query in an older version of the database. To make a long story > short: > > Two tables, Agency / child > > Agency has a PKID > Child has a FK for the agency PKID > Child joined to agency on this PK/FK > > Filter on the FK in child yields a query 3 minutes long Move the filter to > the Agency PKID the time drops to 3 seconds!!! > > I have to assume that the difference lies in the fact that the PK is a > unique index vs. a non-unique index for a FK. > > I have to say that I had never thought about this specific subject and > just > treated an index as an index, but in the future I will examine carefully > applying a filter on an FK as opposed to joining to the required table and > filtering on the PK. > > Any thoughts on the subject? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Kwilliamson at RTKL.com Thu Nov 30 09:38:48 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 10:38:48 -0500 Subject: [AccessD] Still on the Reporting In-Reply-To: <002c01c71493$2240f960$6401a8c0@HAL9005> Message-ID: Thanks, Rocky. Well...it is only out of the running...because I couldn't find any reference online for doing this....that wasn't A) bought; and B) problematic. If you've got something otherwise.....I'd LOVE to put it back into the running. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 30, 2006 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting Keith: I've also got a module that exports to a comma delimited, CSV file with quotes around the text fields. Can send that off-line if it would help. Why is CSV out of the running now? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Nov 30 09:51:25 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 30 Nov 2006 10:51:25 -0500 Subject: [AccessD] Still on the Reporting References: Message-ID: <003d01c71497$64e2a260$3e3de844@50NM721> Keith ...I'd backup a bit and seriously consider redesigning the report to do all its calcs in the source query or subqueries ...that way you can either export the query results directly to csv or create a table to do the export from ...either way, you avoid having to use external software to derive the data you want, get much better data reliability, and probably spend a heck of a lot less time doing it. William Hindman ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Thursday, November 30, 2006 10:08 AM Subject: [AccessD] Still on the Reporting > Man...I forgot what a pain in the A@& getting reports out of Access is. > > > > I asked earlier how to export a report into csv format....doesn't seem > that is likely. I need to ultimately generate a csv format file, to > import into our sql-based application. This is for journal entries. I > have written a couple of reports to generate journal > entries....utilizing the different levels of grouping and summing. A > good bit of the report is taking data, at different groupings, and > calculating percentages to apply to user-entered data (for allocating > overhead to different entities and account numbers.) Since csv is out, > I am resigned to bring the data into excel...and then export to csv > format. > > > > The problem is that, oddly, when I am looking at the data on the report > (on screen) and then hit the "Analyze It with Excel" button....the > columns come over in different order than the report. Plus, one of the > fields is a text field = "00". It keeps coming into Excel as = 0 > (general format.) I can't think of a way to store the values, and > export values and formulas to Excel...as Rocky suggested. > > > > Any help is greatly appreciated. > > > > Regards, > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 30 09:55:17 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 07:55:17 -0800 Subject: [AccessD] Still on the Reporting In-Reply-To: Message-ID: <004d01c71497$ee829160$6401a8c0@HAL9005> Keith: Here's a simple, brute force method of creating a CSV file with quotes around the strings. But if you need to do the formulas, you'll need to make a spreadsheet. I'll send you a doc with that method in it off line. Rocky Private Sub cmdExport_Click() strSQL = "SELECT tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, " _ & " [fldWorkDetailMonth] & [fldWorkDetailYear] AS [Month] , " _ & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] AS Name, " _ & "Sum(tblWorkDetail.fldWorkDetailHours) AS SumOffldWorkDetailHours, " _ & "Sum(tblWorkDetail.fldWorkDetailTotal) AS SumOffldWorkDetailTotal FROM " _ & "tblEmployer RIGHT JOIN (tblPlan INNER JOIN (tblEmployee INNER JOIN " _ & "tblWorkDetail ON tblEmployee.fldEmployeeID = tblWorkDetail.fldEmployeeID) ON " _ & "tblPlan.fldPlanID = tblWorkDetail.fldPlanID) ON tblEmployer.fldEmployerID = " _ & "tblWorkDetail.fldEmployerID WHERE (((tblPlan.fldPlanName) = '401a') And " _ & "((tblWorkDetail.fldWorkDetailEntryMonth) = " _ & Forms!frm401aMonthlyReport!cboEntryMonth.Column(0) & ") And " _ & "((tblWorkDetail.fldWorkDetailEntryYear) = " _ & Forms!frm401aMonthlyReport!cboEntryYear.Column(0) & ")) GROUP BY " _ & "tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, " _ & "[fldWorkDetailMonth] & [fldWorkDetailYear], " _ & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] " _ & "ORDER BY tblEmployee.fldEmployeeSSN;" Set db = CurrentDb Set rs = db.OpenRecordset(strSQL) If rs.BOF = True And rs.EOF = True Then MsgBox "No Records to Export.", vbExclamation Exit Sub End If txtExportFile = db.Name Do While Right(txtExportFile, 1) <> "\" txtExportFile = Left(txtExportFile, Len(txtExportFile) - 1) Loop txtExportFile = txtExportFile & "401 Text File For " & Me.cboEntryMonth.Column(1) & " " & Me.cboEntryYear.Column(0) & ".txt" On Error Resume Next Kill txtExportFile On Error GoTo 0 Open txtExportFile For Output As #1 Do While Not rs.EOF Print #1, """" & Right("00000" & Trim(str(Nz(rs!fldEmployerLBFCode))), 5) _ & """" & "," & """" & Right("000000000" & Trim(str(rs!fldEmployeeSSN)), 9) _ & """" & "," & """" & rs!Name & """" _ & "," & """" & AlphaMonthYear(rs!Month) & """" & "," _ & rs![SumOffldWorkDetailHours] & "," & rs![SumOffldWorkDetailTotal] rs.MoveNext Loop Close #1 MsgBox "Export Done.", vbExclamation End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Still on the Reporting Thanks, Rocky. Well...it is only out of the running...because I couldn't find any reference online for doing this....that wasn't A) bought; and B) problematic. If you've got something otherwise.....I'd LOVE to put it back into the running. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, November 30, 2006 10:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting Keith: I've also got a module that exports to a comma delimited, CSV file with quotes around the text fields. Can send that off-line if it would help. Why is CSV out of the running now? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, November 30, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 4:15 PM From jimdettman at verizon.net Thu Nov 30 10:08:45 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Nov 2006 11:08:45 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <004301c71474$efa70210$e1265b05@m6805> Message-ID: <011d01c71499$d14ec260$8abea8c0@XPS> John, <> A. JET has more options for query optimizations on a unique index. B. When filtering is done, it's a toss up if you should filter on the one or the many side. Table sizes can have a big impact, so best practice is to test both and use the one that is the fastest. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dgibso at uark.edu Thu Nov 30 10:16:14 2006 From: dgibso at uark.edu (David A Gibson) Date: Thu, 30 Nov 2006 10:16:14 -0600 Subject: [AccessD] Still on the Reporting In-Reply-To: <004d01c71497$ee829160$6401a8c0@HAL9005> References: <004d01c71497$ee829160$6401a8c0@HAL9005> Message-ID: <7.0.1.0.0.20061130100558.01e40a38@uark.edu> Been following this topic with interest. I do an XLS export from a Form command button onClick event. DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "qry1234", "Drive:\Dir\subDir\Filename" & ".xls", yes, "" It will overwrite the file each time but you can always append the date by using Filename_" & Format(Date, "mmddyy") & ".xls" Works for me. David G. At 09:55 AM 11/30/2006, you wrote: >Keith: > >Here's a simple, brute force method of creating a CSV file with quotes >around the strings. But if you need to do the formulas, you'll need to make >a spreadsheet. I'll send you a doc with that method in it off line. > >Rocky > >Private Sub cmdExport_Click() > >strSQL = "SELECT tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, >" _ > & " [fldWorkDetailMonth] & [fldWorkDetailYear] AS [Month] , " _ > & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] AS Name, " _ > & "Sum(tblWorkDetail.fldWorkDetailHours) AS SumOffldWorkDetailHours, " _ > & "Sum(tblWorkDetail.fldWorkDetailTotal) AS SumOffldWorkDetailTotal FROM >" _ > & "tblEmployer RIGHT JOIN (tblPlan INNER JOIN (tblEmployee INNER JOIN " >_ > & "tblWorkDetail ON tblEmployee.fldEmployeeID = >tblWorkDetail.fldEmployeeID) ON " _ > & "tblPlan.fldPlanID = tblWorkDetail.fldPlanID) ON >tblEmployer.fldEmployerID = " _ > & "tblWorkDetail.fldEmployerID WHERE (((tblPlan.fldPlanName) = '401a') >And " _ > & "((tblWorkDetail.fldWorkDetailEntryMonth) = " _ > & Forms!frm401aMonthlyReport!cboEntryMonth.Column(0) & ") And " _ > & "((tblWorkDetail.fldWorkDetailEntryYear) = " _ > & Forms!frm401aMonthlyReport!cboEntryYear.Column(0) & ")) GROUP BY " _ > & "tblEmployer.fldEmployerLBFCode, tblEmployee.fldEmployeeSSN, " _ > & "[fldWorkDetailMonth] & [fldWorkDetailYear], " _ > & "[fldEmployeeLastName] & ',' & [fldEmployeeFirstName] " _ > & "ORDER BY tblEmployee.fldEmployeeSSN;" > >Set db = CurrentDb >Set rs = db.OpenRecordset(strSQL) > >If rs.BOF = True And rs.EOF = True Then > MsgBox "No Records to Export.", vbExclamation > Exit Sub >End If > >txtExportFile = db.Name > >Do While Right(txtExportFile, 1) <> "\" > txtExportFile = Left(txtExportFile, Len(txtExportFile) - 1) >Loop >txtExportFile = txtExportFile & "401 Text File For " & >Me.cboEntryMonth.Column(1) & " " & Me.cboEntryYear.Column(0) & ".txt" > >On Error Resume Next >Kill txtExportFile >On Error GoTo 0 > >Open txtExportFile For Output As #1 > >Do While Not rs.EOF > Print #1, """" & Right("00000" & Trim(str(Nz(rs!fldEmployerLBFCode))), >5) _ > & """" & "," & """" & Right("000000000" & >Trim(str(rs!fldEmployeeSSN)), 9) _ > & """" & "," & """" & rs!Name & """" _ > & "," & """" & AlphaMonthYear(rs!Month) & """" & "," _ > & rs![SumOffldWorkDetailHours] & "," & rs![SumOffldWorkDetailTotal] > rs.MoveNext >Loop > >Close #1 > >MsgBox "Export Done.", vbExclamation > >End Sub > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Thursday, November 30, 2006 7:39 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Still on the Reporting > >Thanks, Rocky. > >Well...it is only out of the running...because I couldn't find any >reference online for doing this....that wasn't A) bought; and B) >problematic. If you've got something otherwise.....I'd LOVE to put it >back into the running. > >:) > >Thanks, > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access >Software >Sent: Thursday, November 30, 2006 10:21 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Still on the Reporting > >Keith: > >I've also got a module that exports to a comma delimited, CSV file with >quotes around the text fields. Can send that off-line if it would help. > >Why is CSV out of the running now? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith >Williamson >Sent: Thursday, November 30, 2006 7:08 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Still on the Reporting > >Man...I forgot what a pain in the A@& getting reports out of Access is. > > > >I asked earlier how to export a report into csv format....doesn't seem >that is likely. I need to ultimately generate a csv format file, to >import into our sql-based application. This is for journal entries. I >have written a couple of reports to generate journal >entries....utilizing the different levels of grouping and summing. A >good bit of the report is taking data, at different groupings, and >calculating percentages to apply to user-entered data (for allocating >overhead to different entities and account numbers.) Since csv is out, >I am resigned to bring the data into excel...and then export to csv >format. > > > >The problem is that, oddly, when I am looking at the data on the report >(on screen) and then hit the "Analyze It with Excel" button....the >columns come over in different order than the report. Plus, one of the >fields is a text field = "00". It keeps coming into Excel as = 0 >(general format.) I can't think of a way to store the values, and >export values and formulas to Excel...as Rocky suggested. > > > >Any help is greatly appreciated. > > > >Regards, > > > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: >11/29/2006 >4:15 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.0/557 - Release Date: 11/29/2006 >4:15 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From Jim.Hale at FleetPride.com Thu Nov 30 10:41:19 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 30 Nov 2006 10:41:19 -0600 Subject: [AccessD] Still on the Reporting Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE132@corp-es01.fleetpride.com> I have automated a number of JEs including allocations. Generally I create the queries in Access and export the results directly to an Excel template. Usually I do all the calculations in Access so that Excel is used simply as a platform to upload the JE. I have a sheet in Excel that prepares the JE (makes sure it balances, etc.) and code which generates a csv file from this worksheet, a bat and cmd file and uploads the data to the AS400. If the calculations are too complicated using queries I still send the intermediate data (usually the result of group queries) to Excel and compute the allocations and then upload the result. I can send you the Excel sheet with the code if you are interested. Regards, Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Nov 30 11:00:35 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 30 Nov 2006 11:00:35 -0600 Subject: [AccessD] Still on the Reporting Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE133@corp-es01.fleetpride.com> BTW allocations are another great use of non cartesian joins. First create a groupby query which generates a total (one field one record). Create a query with the detail records which add to the total. Place the two queries in the design grid without any join. The result set will have the total as a field in every record so it is a simple matter to divide the detail by the total to generate a percentage. As I think about it another reason I dump the data to Excel is because allocations inevitably don't balance (usually by pennies) due to rounding. It is a simple matter in Excel to create a formula to handle the rounding. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Thu Nov 30 11:08:52 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 30 Nov 2006 18:08:52 +0100 Subject: [AccessD] Still on the Reporting Message-ID: Hi Keith I think you need to rethink this. Creating reports to export to Excel to export to csv .. doesn't make sense. If you can't extract and build the requested records with one query, use two or more and collect them in a union query - or write to a temp table - which you use as source for the export to csv (if this is the optimum format for the import). Writing a csv in VBA - without the built-in export tool which can cause some troubles - is piece of cake and has been described numerous times here. You can also use a query to write the text file directly with the help of the schema.ini file: http://databaseadvisors.com/mailman/htdig/accessd/2004-October/028800.html /gustav >>> Kwilliamson at RTKL.com 30-11-2006 16:08:07 >>> Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From Kwilliamson at RTKL.com Thu Nov 30 11:16:19 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 30 Nov 2006 12:16:19 -0500 Subject: [AccessD] Still on the Reporting In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE133@corp-es01.fleetpride.com> Message-ID: Good thoughts. Thanks. I suppose this is what I will have to do, as well. I was trying to do something quick and easy. In the end......it is neither. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, November 30, 2006 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting BTW allocations are another great use of non cartesian joins. First create a groupby query which generates a total (one field one record). Create a query with the detail records which add to the total. Place the two queries in the design grid without any join. The result set will have the total as a field in every record so it is a simple matter to divide the detail by the total to generate a percentage. As I think about it another reason I dump the data to Excel is because allocations inevitably don't balance (usually by pennies) due to rounding. It is a simple matter in Excel to create a formula to handle the rounding. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Nov 30 11:21:04 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 30 Nov 2006 11:21:04 -0600 Subject: [AccessD] Still on the Reporting Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE134@corp-es01.fleetpride.com> quick allocations is an oxymoron :-) Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Still on the Reporting Good thoughts. Thanks. I suppose this is what I will have to do, as well. I was trying to do something quick and easy. In the end......it is neither. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, November 30, 2006 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Still on the Reporting BTW allocations are another great use of non cartesian joins. First create a groupby query which generates a total (one field one record). Create a query with the detail records which add to the total. Place the two queries in the design grid without any join. The result set will have the total as a field in every record so it is a simple matter to divide the detail by the total to generate a percentage. As I think about it another reason I dump the data to Excel is because allocations inevitably don't balance (usually by pennies) due to rounding. It is a simple matter in Excel to create a formula to handle the rounding. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From markamatte at hotmail.com Thu Nov 30 12:11:57 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 30 Nov 2006 18:11:57 +0000 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: <20061130000950.63940.qmail@web88208.mail.re2.yahoo.com> Message-ID: The only reason I use it because it was already on the box and easy to automate...but its not working now. All I need to send is a short text message...and be automated...any easy suggestions other than outlook? Thanks, Mark A. Matte >From: artful at rogers.com >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:09:50 -0800 (PST) > >LOL. I didn't realize that anyone still did use Outlook. Ok, I stand >corrected. > > >----- Original Message ---- >From: Gustav Brock >To: accessd at databaseadvisors.com >Sent: Wednesday, November 29, 2006 12:09:03 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > >Hi Susan and Chris > >Oh, that's another story - I don't use Outlook - so I cannot help. >Could it be an automatic Windows Updating issue? > >/gustav >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From adtp at airtelbroadband.in Thu Nov 30 12:06:06 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 30 Nov 2006 23:36:06 +0530 Subject: [AccessD] Still on the Reporting References: Message-ID: <012101c714aa$6394f210$da0265cb@pcadt> Keith, For ensuring proper alignment & formatting along with appropriate display of group footers, while exporting an access report to excel, my sample db named Reports_AccessToExcelAndWord might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 20:38 Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com From dgibso at uark.edu Thu Nov 30 12:27:11 2006 From: dgibso at uark.edu (David A Gibson) Date: Thu, 30 Nov 2006 12:27:11 -0600 Subject: [AccessD] Email Automation to Outlook problem In-Reply-To: References: <20061130000950.63940.qmail@web88208.mail.re2.yahoo.com> Message-ID: <7.0.1.0.0.20061130122159.01e48838@uark.edu> Have used this in the past and it worked well. http://www.geocel.com/devmailer/ DevMailer is a COM (Component Object Model) object designed to send Email via SMTP from any COM / OLE / ActiveX enabled application. Currently DevMailer can be used from the following platforms: * Active Server Pages (Microsoft IIS or Chili!ASP extensions) * Microsoft Visual Basic 4.x/5.x/6.x * Microsoft Word, Access, Excel 95/97 (VBA) * Windows Scripting Host (cscript / wscript) * Perl 5.x for Win32 * Inprise Delphi 4 * Microsoft Visual C++ 4.x/5.x/6.x * Microsoft Visual J++ 1.x/6.0 (Java) $99 for 1 user David G At 12:11 PM 11/30/2006, you wrote: >The only reason I use it because it was already on the box and easy >to automate...but its not working now. All I need to send is a >short text message...and be automated...any easy suggestions other >than outlook? > >Thanks, > >Mark A. Matte From jimdettman at verizon.net Thu Nov 30 14:59:13 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Nov 2006 15:59:13 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <004d01c7147e$2ede8bc0$e1265b05@m6805> Message-ID: <002401c714c2$65393f50$8abea8c0@XPS> John, Through Experts-Exchange, I bumped into something similar, but the opposite of what you've encountered. A query opened in design view and saved while the tables were empty would yield a fast execution, but if the tables were full, a very slow execution would result. Using JET showplan, I found that JET was not choosing an optimal plan when the tables were full. It was performing the joins on the tables in reverse (vs. the fast plan), which caused a sort to be required. If the joins were done the other way, no sort was required and thus a lot of time was saved. Basically it was a bug in the query optimizer. Although "bug" may be too strong of a word; the query optimizer has to draw the line somewhere in the number of different plans it checks or it would never finish. Since there was no way around it, the guy I was helping finally decided on writing a routine to empty the table, perform the query, then fill the table back up. As long as the query was not resaved, the fast execution plan was always used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 7:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where to place a filter There is more to the story, which leaves me completely confused. In the process of fixing the problem, I had dropped the AgencyID FK from the tblChild table and pulled in the AgencyID PK from tblAgency, and then applied the filter to the AgencyID PK. To do further testing I then pulled in the FK from the tblChild table again and moved the filter back to that FK field and the speed was still 3 seconds! To summarize, I had an extremely slow query. I discovered that if I simply pulled the PK from the tblAgency and applied the filter to that (dropping the FK AgencyID from the tblChild out of the query in the process) the query went from 3 minutes down to 3 seconds. However when I pulled the AgencyID FK back out of the tblChild and reapplied the filter to the FK, the query time remained at 3 seconds. Hmmmm..... It certainly sounds like something about the query was saved in the background, and whatever that something was it was corrupted or something. Changing the query by pulling the PK and applying the filter to that, dropping the FK in the process, perhaps caused something in the background to be corrected. I dunno. I have never seen anything like this before. Sadly it means I cannot necessarily look for speedups in my existing database by moving a filter from an FK to the corresponding PK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Nov 30 16:13:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 30 Nov 2006 17:13:45 -0500 Subject: [AccessD] Where to place a filter In-Reply-To: <002401c714c2$65393f50$8abea8c0@XPS> Message-ID: <00be01c714cc$ce20f9e0$e1265b05@m6805> LOL, that is one heck of a workaround! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 30, 2006 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where to place a filter John, Through Experts-Exchange, I bumped into something similar, but the opposite of what you've encountered. A query opened in design view and saved while the tables were empty would yield a fast execution, but if the tables were full, a very slow execution would result. Using JET showplan, I found that JET was not choosing an optimal plan when the tables were full. It was performing the joins on the tables in reverse (vs. the fast plan), which caused a sort to be required. If the joins were done the other way, no sort was required and thus a lot of time was saved. Basically it was a bug in the query optimizer. Although "bug" may be too strong of a word; the query optimizer has to draw the line somewhere in the number of different plans it checks or it would never finish. Since there was no way around it, the guy I was helping finally decided on writing a routine to empty the table, perform the query, then fill the table back up. As long as the query was not resaved, the fast execution plan was always used. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 7:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Where to place a filter There is more to the story, which leaves me completely confused. In the process of fixing the problem, I had dropped the AgencyID FK from the tblChild table and pulled in the AgencyID PK from tblAgency, and then applied the filter to the AgencyID PK. To do further testing I then pulled in the FK from the tblChild table again and moved the filter back to that FK field and the speed was still 3 seconds! To summarize, I had an extremely slow query. I discovered that if I simply pulled the PK from the tblAgency and applied the filter to that (dropping the FK AgencyID from the tblChild out of the query in the process) the query went from 3 minutes down to 3 seconds. However when I pulled the AgencyID FK back out of the tblChild and reapplied the filter to the FK, the query time remained at 3 seconds. Hmmmm..... It certainly sounds like something about the query was saved in the background, and whatever that something was it was corrupted or something. Changing the query by pulling the PK and applying the filter to that, dropping the FK in the process, perhaps caused something in the background to be corrected. I dunno. I have never seen anything like this before. Sadly it means I cannot necessarily look for speedups in my existing database by moving a filter from an FK to the corresponding PK. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, November 30, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Where to place a filter I found an interesting anomaly today. I was troubleshooting why a query was two orders of magnitude slower in a query in a new version of a database vs. the same query in an older version of the database. To make a long story short: Two tables, Agency / child Agency has a PKID Child has a FK for the agency PKID Child joined to agency on this PK/FK Filter on the FK in child yields a query 3 minutes long Move the filter to the Agency PKID the time drops to 3 seconds!!! I have to assume that the difference lies in the fact that the PK is a unique index vs. a non-unique index for a FK. I have to say that I had never thought about this specific subject and just treated an index as an index, but in the future I will examine carefully applying a filter on an FK as opposed to joining to the required table and filtering on the PK. Any thoughts on the subject? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 30 23:10:33 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 30 Nov 2006 21:10:33 -0800 Subject: [AccessD] OT: Splitting a PDF file Message-ID: <013201c71507$07e3ea40$6401a8c0@HAL9005> Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky From darrend at nimble.com.au Thu Nov 30 23:26:03 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 1 Dec 2006 16:26:03 +1100 Subject: [AccessD] OT: Splitting a PDF file In-Reply-To: <013201c71507$07e3ea40$6401a8c0@HAL9005> Message-ID: <004601c71509$33206b00$111b910a@DENZILLAP> Hi Rocky Just a way out suggestion Get PDF995 from PDF995.com (it's a free PDF writer) then 'print' pages 1 - 23 or whatever to the PDF995 'printer' That should create a new 23 page PDF file HTH See ya Darren ------------------ -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, 1 December 2006 4:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Splitting a PDF file Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com