From gccconsulting at comcast.net Wed Apr 1 06:29:20 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Wed, 1 Apr 2009 09:29:20 -0400 Subject: "Created by" system maintained field (@cb) In-Reply-To: <49D2E241.4080604@spamcop.net> References: <025201c9b23a$8f31e970$0c0201c9@Tiger> <49D27FC0.2010207@spamcop.net> <49D2E241.4080604@spamcop.net> Message-ID: <001501c9b2cd$de8333b0$9b899b10$@net> Correct. Long day yesterday. I also add fields for who modified the file and when. Thanks for pointing out my mistake. Richard > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Tuesday, March 31, 2009 11:41 PM > To: filePro Mailing List > Subject: Re: "Created by" system maintained field (@cb) > > Kenneth Brody wrote: > [...] > > filePro will only set @CB and @UB when creating a new record. In the over > > 25 years since Profile/filePro first came out, I do not recall ever having > > heard of it doing otherwise. > > That should, of course, be @CB and @CD. > > [...] > > -- > Kenneth Brody > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From rkreiss1 at comcast.net Wed Apr 1 06:46:46 2009 From: rkreiss1 at comcast.net (RKreiss1) Date: Wed, 1 Apr 2009 09:46:46 -0400 Subject: -r variables Message-ID: <001c01c9b2d0$4d0ba400$e722ec00$@net> This is more of a reminder for those of us who use -r command line variables to pass information. I have a routine which allow for the printing of up to twenty invoices and packing slips which runs from a clerk process. The invoice program, if run directly from the menu not using this routine, will prompt, with an input popup to print or exit. When coming from the "print All" routine this popup needs to be skipped. The command line passes a counter value ct(2,.0) using -rw as part of the command line passed to system. The invoice print program had If: @pw gt "1" Then: GOTO printit This worked fine until the 10th invoice was set to print. At this point the input popup appeared for the next 11 invoices. To get around the problem the clerk would put a stapler on the key so she didn't have to sit there and press each time. The problem was mine, as some of you would point out. To correct the problem, I added the following: If: pw(2,.0,g) = "" Then: pm=@pw If: @pw gt "1" Then: GOTO printit This solved the problem. It appears that I needed to use and numeric field to insure that this routine worked properly. So, if you are passing values at the command line and for some reason your program does not seem to be responding properly to the @p..., Try using a temporary field or long variable with the proper edit applied. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From scott at logicdatasystems.com Wed Apr 1 11:29:51 2009 From: scott at logicdatasystems.com (Scott Nelson) Date: Wed, 01 Apr 2009 11:29:51 -0700 Subject: [Fwd: medicare billing] Message-ID: <49D3B29F.5010909@logicdatasystems.com> this was on the iXorg list, and I thought there may be a filePro application like this. -------------- next part -------------- An embedded message was scrubbed... From: Bill Bajcz Subject: medicare billing Date: Wed, 01 Apr 2009 13:42:47 -0400 Size: 3844 Url: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090401/687b09b9/attachment.eml From scooter6 at gmail.com Wed Apr 1 14:53:40 2009 From: scooter6 at gmail.com (scooter6 at gmail.com) Date: Wed, 1 Apr 2009 17:53:40 -0400 Subject: setting high date and PFCMARK Message-ID: <445ca8160904011453y5a7ce79do64390e6cf7c3876a@mail.gmail.com> I have output processing that asks the user for beginning client number, ending client number, beginning action date and ending action date. Recently it stopped working? I have PFCMARK=80 the output looks like this: If: fa="" Then: input fa(4,#,g) "From Client Number " If: fb="" Then: input fb(4,#,g) "From " References: <445ca8160902020707w59bdae73u49b90fa52e7dabb5@mail.gmail.com> Message-ID: <445ca8160904011515p1299c6ax2bada9ff0641ae5f@mail.gmail.com> Okay, based on other suggestions from this thread, I am able to print to these bizhubs now...... The only problem I have now is having line boxes drawn on some letters....they come out as garbage.... I assume this is because I need to use a certian printer termcap file or entries? Can anyone elaborate on what I'm missing in order for straight lines to get drawn, etc??? thanks Scott On Mon, Feb 2, 2009 at 11:07 AM, scooter6 at gmail.com wrote: > Trying to get the ability to print to a printer/copier/scanner that is a > Konica Minolta Bizhub 421 from SCO Openserver 5.0.5 with new filepro 5.6 > upgrade that we did this weekend.........is this even possible? > Client's vendor suggested using HP LaserJet 4 drivers out of Unix and it > should work....but...uhh.....not so simple apparently...ha > > Scott > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090401/48d32193/attachment.html From jlasman at telus.net Wed Apr 1 16:12:28 2009 From: jlasman at telus.net (Jim Asman) Date: Wed, 1 Apr 2009 16:12:28 -0700 Subject: printing to KM Bizhub 421 SCO/filepro Message-ID: --------------- Original Message --------------- At 06:15P Wed Apr 01 2009, scooter6 at gmail.com wrote: > Okay, based on other suggestions from this thread, I am able to print to > these bizhubs now...... > > The only problem I have now is having line boxes drawn on some > letters....they come out as garbage.... > I assume this is because I need to use a certian printer termcap file or > entries? > > Can anyone elaborate on what I'm missing in order for straight lines to > get drawn, etc??? > It sounds like you are not using PC-8 symbols. Put $1b (10U in the filepro printer initialization code. It is there in any of the hp-xxx tables that I wrote. Jim -- jlasman at telus.net Spectra Colour Services Ltd. Jim Asman 10221 144a Street Phone: (604)584-0977 Surrey, BC V3R 3P7 CANADA Cell: (604)619-0977 www.spectracolorservices.com From scooter6 at gmail.com Thu Apr 2 08:06:44 2009 From: scooter6 at gmail.com (scooter6 at gmail.com) Date: Thu, 2 Apr 2009 11:06:44 -0400 Subject: can't add color to screens Message-ID: <445ca8160904020806r7fbbad1fua9b824cb17811bc9@mail.gmail.com> I'm making some changes to some old screens......SCO OpenServer funning filepro 5.6 When I updated a screen, it stated it was going to convert from monochrome to color....I said "Y" I changed some text on a screen, not my screen is black background with white text -- before the changes the screen background was blue with white text? When using the F7 box functions, I get no availability to do 'color' changes?? Is there something not set properly as far as a envirnonment variable for filepro? It acts as if it thinks system has no color capabilities?? Thanks Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090402/50ac0566/attachment.html From gccconsulting at comcast.net Thu Apr 2 08:32:22 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Thu, 2 Apr 2009 11:32:22 -0400 Subject: can't add color to screens In-Reply-To: <445ca8160904020806r7fbbad1fua9b824cb17811bc9@mail.gmail.com> References: <445ca8160904020806r7fbbad1fua9b824cb17811bc9@mail.gmail.com> Message-ID: <00a101c9b3a8$37b8b7e0$a72a27a0$@net> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On Behalf Of scooter6 at gmail.com Sent: Thursday, April 02, 2009 11:07 AM To: filePro Mailing List Subject: can't add color to screens I'm making some changes to some old screens......SCO OpenServer funning filepro 5.6 When I updated a screen, it stated it was going to convert from monochrome to color....I said "Y" I changed some text on a screen, not my screen is black background with white text -- before the changes the screen background was blue with white text? When using the F7 box functions, I get no availability to do 'color' changes?? Is there something not set properly as far as a envirnonment variable for filepro? It acts as if it thinks system has no color capabilities?? Thanks Scott Scott, Laura Brody has a utility that will allow you to easily add color to the *nix screens. http://www.hvcomputer.com Richard Kreiss GCC Consulting rkreiss at gccconsulting.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090402/330b4a9f/attachment.html From scooter6 at gmail.com Thu Apr 2 08:36:23 2009 From: scooter6 at gmail.com (scooter6 at gmail.com) Date: Thu, 2 Apr 2009 11:36:23 -0400 Subject: can't add color to screens In-Reply-To: <00a101c9b3a8$37b8b7e0$a72a27a0$@net> References: <445ca8160904020806r7fbbad1fua9b824cb17811bc9@mail.gmail.com> <00a101c9b3a8$37b8b7e0$a72a27a0$@net> Message-ID: <445ca8160904020836sc08b28ci9e81bd0901eb8e47@mail.gmail.com> Thanks Richard - looks like their website is under some reconstruction...... Is there a link to her utility somewhere?? thanks Scott On Thu, Apr 2, 2009 at 11:32 AM, GCC Consulting wrote: > > > > > *From:* filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com[mailto: > filepro-list-bounces+gccconsulting = > comcast.net at lists.celestial.com] *On Behalf Of *scooter6 at gmail.com > *Sent:* Thursday, April 02, 2009 11:07 AM > *To:* filePro Mailing List > *Subject:* can't add color to screens > > > > I'm making some changes to some old screens......SCO OpenServer funning > filepro 5.6 > > > > When I updated a screen, it stated it was going to convert from monochrome > to color....I said "Y" > > > > I changed some text on a screen, not my screen is black background with > white text -- before the changes the screen background was blue with white > text? > > > > When using the F7 box functions, I get no availability to do 'color' > changes?? > > Is there something not set properly as far as a envirnonment variable for > filepro? It acts as if it thinks system has no color capabilities?? > > > > Thanks > > > > Scott > > > > Scott, > > > > Laura Brody has a utility that will allow you to easily add color to the > *nix screens. > > > > http://www.hvcomputer.com > > > > > > Richard Kreiss > GCC Consulting > > rkreiss at gccconsulting.net > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090402/537453c9/attachment.html From laura at hvcomputer.com Thu Apr 2 09:15:32 2009 From: laura at hvcomputer.com (Laura Brody) Date: Thu, 02 Apr 2009 12:15:32 -0400 Subject: can't add color to screens In-Reply-To: <445ca8160904020836sc08b28ci9e81bd0901eb8e47@mail.gmail.com> References: <445ca8160904020806r7fbbad1fua9b824cb17811bc9@mail.gmail.com> <00a101c9b3a8$37b8b7e0$a72a27a0$@net> <445ca8160904020836sc08b28ci9e81bd0901eb8e47@mail.gmail.com> Message-ID: <20090402121532.cb22moipsw4ooco0-ynhenoebql@webmail.spamcop.net> Quoting "scooter6 at gmail.com" : > Thanks Richard - looks like their website is under some > reconstruction...... Ken rewrote the website and ran out of steam before he put the shopping pages back... > Is there a link to her utility somewhere?? The utility is called "fP Screen Painter". It is part of the "filePro Toolkit #1". I sell it for $199. It is written in filePro and works on all platforms, filePro v4.8 or higher. It does not allow you to change text, fields or graphics on existing screens, but it DOES allow you to choose from the available colors and then "paint" it on existing screens. > > thanks > > Scott > > On Thu, Apr 2, 2009 at 11:32 AM, GCC Consulting > wrote: > >> >> >> >> >> *From:* >> filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com[mailto: >> filepro-list-bounces+gccconsulting = >> comcast.net at lists.celestial.com] *On Behalf Of *scooter6 at gmail.com >> *Sent:* Thursday, April 02, 2009 11:07 AM >> *To:* filePro Mailing List >> *Subject:* can't add color to screens >> >> >> >> I'm making some changes to some old screens......SCO OpenServer funning >> filepro 5.6 >> >> >> >> When I updated a screen, it stated it was going to convert from monochrome >> to color....I said "Y" >> >> >> >> I changed some text on a screen, not my screen is black background with >> white text -- before the changes the screen background was blue with white >> text? >> >> >> >> When using the F7 box functions, I get no availability to do 'color' >> changes?? >> >> Is there something not set properly as far as a envirnonment variable for >> filepro? It acts as if it thinks system has no color capabilities?? >> >> >> >> Thanks >> >> >> >> Scott >> >> >> >> Scott, >> >> >> >> Laura Brody has a utility that will allow you to easily add color to the >> *nix screens. >> >> >> >> http://www.hvcomputer.com >> >> >> >> >> >> Richard Kreiss >> GCC Consulting >> >> rkreiss at gccconsulting.net >> >> >> >> >> >> >> >> >> >> > -- Laura Brody +------------- Hudson Valley Computer Associates, Inc ----------+ | PO Box 859; 120 Sixth Street http://www.hvcomputer.com | | Verplanck, NY 10596-0859 Voice mail: (914) 739-5004 | +------ PC repair locally, filePro programming globally --------+ From tony at ynotsoftware.com Thu Apr 2 12:30:54 2009 From: tony at ynotsoftware.com (Tony Freehauf) Date: Thu, 02 Apr 2009 14:30:54 -0500 Subject: OT: SCO Unix Mas 90 support Message-ID: <49D5126E.5050406@ynotsoftware.com> OT: SCO Unix Mas 90 support does anyone support this product thanks tony -- Tony Freehauf YNOT Software & PC Support tony at ynotsoftware.com http:\\www.ynotsoftware.com Phone 815.828.5393 Fax 866.871.6756 Remember, TONY spelled backwards is YNOT (WHY NOT) WHY NOT let us help you -------------- next part -------------- A non-text attachment was scrubbed... Name: tony.vcf Type: text/x-vcard Size: 288 bytes Desc: not available Url : http://mailman.celestial.com/pipermail/filepro-list/attachments/20090402/f3774507/attachment.vcf From kenbrody at spamcop.net Thu Apr 2 13:01:51 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 02 Apr 2009 16:01:51 -0400 Subject: OT: SCO Unix Mas 90 support In-Reply-To: <49D5126E.5050406@ynotsoftware.com> References: <49D5126E.5050406@ynotsoftware.com> Message-ID: <49D519AF.6070002@spamcop.net> Tony Freehauf wrote: > OT: SCO Unix Mas 90 support > does anyone support this product This site looks like the "official" MAS 90 support site: http://www.sagemas.com/support_services/mas90_mas200 However, I see nothing about platforms. Perhaps they've gone the "you mean there's something other than Windows out there" route? -- Kenneth Brody From amazu at trusteeservicesinc.com Thu Apr 2 12:54:45 2009 From: amazu at trusteeservicesinc.com (Alan Mazuti) Date: Thu, 2 Apr 2009 12:54:45 -0700 Subject: OT: SCO Unix Mas 90 support In-Reply-To: <49D519AF.6070002@spamcop.net> References: <49D5126E.5050406@ynotsoftware.com> <49D519AF.6070002@spamcop.net> Message-ID: <002d01c9b3cc$df7050f0$9e50f2d0$@com> Sage/Best software discontinued support for MAS90 under UNIX around 5 or more years ago. At one time I worked quite a bit with MAS90. Alan TSI -----Original Message----- From: filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.com [mailto:filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.co m] On Behalf Of Kenneth Brody Sent: Thursday, April 02, 2009 1:02 PM To: tony at ynotsoftware.com Cc: filepro-list at lists.celestial.com Subject: Re: OT: SCO Unix Mas 90 support Tony Freehauf wrote: > OT: SCO Unix Mas 90 support > does anyone support this product This site looks like the "official" MAS 90 support site: http://www.sagemas.com/support_services/mas90_mas200 However, I see nothing about platforms. Perhaps they've gone the "you mean there's something other than Windows out there" route? -- Kenneth Brody _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From ScottWalker at RAMSystemsCorp.com Sun Apr 5 16:17:59 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Sun, 5 Apr 2009 19:17:59 -0400 Subject: List Box Message-ID: <000601c9b644$c3d928b0$4b8b7a10$@com> With the listbox command... Can the 8th parameter to specify initial highlight position be a variable? What I'm trying to do is when the list box pops up, I want to start on the position I was last on. Regards, Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090405/687d7624/attachment.html From flowersoft at compuserve.com Sun Apr 5 16:51:32 2009 From: flowersoft at compuserve.com (George) Date: Sun, 5 Apr 2009 19:51:32 -0400 Subject: List Box In-Reply-To: <000601c9b644$c3d928b0$4b8b7a10$@com> References: <000601c9b644$c3d928b0$4b8b7a10$@com> Message-ID: <000901c9b649$73673020$5a359060$@com> Yes. From: filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com [mailto:filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com] On Behalf Of Scott Walker Sent: Sunday, April 05, 2009 7:18 PM To: 'filePro Mailing List' Subject: List Box With the listbox command... Can the 8th parameter to specify initial highlight position be a variable? What I'm trying to do is when the list box pops up, I want to start on the position I was last on. Regards, Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090405/82a13dd9/attachment.html From kenbrody at spamcop.net Sun Apr 5 20:50:25 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sun, 05 Apr 2009 23:50:25 -0400 Subject: List Box In-Reply-To: <000601c9b644$c3d928b0$4b8b7a10$@com> References: <000601c9b644$c3d928b0$4b8b7a10$@com> Message-ID: <49D97C01.5020408@spamcop.net> Scott Walker wrote: > With the listbox command... > > Can the 8th parameter to specify initial highlight position be a variable? [cue canned answer...] What happened when you tried it? [...] -- Kenneth Brody From nlp at vss3.com Mon Apr 6 08:45:58 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Mon, 06 Apr 2009 11:45:58 -0400 Subject: List Box In-Reply-To: <000601c9b644$c3d928b0$4b8b7a10$@com> References: <000601c9b644$c3d928b0$4b8b7a10$@com> Message-ID: <49DA23B6.7030901@vss3.com> Scott Walker wrote: > > With the listbox command?.. > > Can the 8^th parameter to specify initial highlight position be a > variable? > > What I?m trying to do is when the list box pops up, I want to start on > the position I was last on. > > Regards, > > Scott > > Scott Walker > > RAM Systems Corp > > (704) 896-6549 > > ScottWalker at RAMSystemCorp.com > > ------------------------------------------------------------------------ > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > Scott, I just use PUSHKEY on stuff like that to move to the right place. It works on MENU and LISTBOX. Also works on browses for some great tricks. I can not remember that I tried that 8th element, but it would be an expression, so make sure it was quoted. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From john at valar.com Mon Apr 6 22:40:23 2009 From: john at valar.com (John Esak) Date: Tue, 7 Apr 2009 01:40:23 -0400 Subject: List Box In-Reply-To: <49DA23B6.7030901@vss3.com> Message-ID: <200904070540.n375eNRD082190@admin114.securesites.net> > > I can not remember that I tried that 8th element, but it would be an > expression, so make sure it was quoted. > > Nancy > I use this parameter all the time. I think what Nancy means is not that you have to quote an expression.... But rather that the parameter is an expression... So if as your expression, you want to use a literal then *it* would have to be quoted as in "7" or "5", etc. If you truly use an expression (and it isn't the sub class of an expression called a literal, but rather an actual expression that will boil down and resolve into a literal number) than you do *not* want to quote it. For example AA, BB, my_big_declared_variable, or even 15/AA, would all *not* require, and even balk if quotes where used. I guess the best way to think of it is to continue putting quotes around literals as always, whether they are part of an expression or stand by themselves. And in the end run I'm guessing again that what Nancy meant was the final result of the expression after filePro resolves it must be an integer within the limits of the size of the listbox (or menu, or @br key, array, etc.,etc. John Esak From amazu at trusteeservicesinc.com Tue Apr 7 09:14:18 2009 From: amazu at trusteeservicesinc.com (Alan Mazuti) Date: Tue, 7 Apr 2009 09:14:18 -0700 Subject: Problem with readline In-Reply-To: <49D97C01.5020408@spamcop.net> References: <000601c9b644$c3d928b0$4b8b7a10$@com> <49D97C01.5020408@spamcop.net> Message-ID: <001401c9b79b$e796bf80$b6c43e80$@com> Just installed the latest version of filePro for linux and I am getting a segmentation error when I use the below code when using the command readline. This worked using the previous version. Besides going back to the previous version anybody have any thoughts. Below is the code. The opendir commands succeeds and fn contains a valid filename and xa="1". As soon as It hits the ab=readline(xa,ln) I get the segmentation error. dreport = 5.6.07D4 redhat linux = 2.4.21-58. Alan ::xa(8,#) 'Array subscript': ::aa(8,#) 'Number of files in directory': ::ab(8,*) 'Number bytes read in': ::fn(32,*) 'Name of file we will import': ::ln(80,*) 'Text line': ::xx(8,#): ::xx="1": ::aa=opendir("*.XML","/appl/ingeo/tsi"): process1::: ::fn=@dirlist_name[xx]{"."{@dirlist_ext[xx] 'Name of file to import: ::xa=open("/appl/ingeo/tsi/"{fn,"rt") 'Open file': process2::: ::ab=readline(xa,ln) 'Read a line in': From fairlite at fairlite.com Tue Apr 7 09:47:27 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 7 Apr 2009 12:47:27 -0400 Subject: Problem with readline In-Reply-To: <001401c9b79b$e796bf80$b6c43e80$@com>; from amazu@trusteeservicesinc.com on Tue, Apr 07, 2009 at 09:14:18AM -0700 References: <000601c9b644$c3d928b0$4b8b7a10$@com> <49D97C01.5020408@spamcop.net> <001401c9b79b$e796bf80$b6c43e80$@com> Message-ID: <20090407124727.A1923@iglou.com> Only Alan Mazuti would say something like: > opendir commands succeeds and fn contains a valid filename and xa="1". As > soon as It hits the ab=readline(xa,ln) I get the segmentation error. > > ::xa(8,#) 'Array subscript': > ::ln(80,*) 'Text line': You're casting "ln" as 80 long. I suspect you're hitting a line longer than 80. It is documented that it should use the length of the field but it sounds like a bounds checking bug was introduced. Two potential workarounds depending on your goal: 1) Specify a 3rd argument, "80", for readline if you really only want the first 80 characters. 2) Use "ln" uncast, and specify "32767" as the third argument to readline. That will give you the full line to the NL, and resize the field. This assumes the bug is only of medium severity. These might not work if it's really hosed badly. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From amazu at trusteeservicesinc.com Tue Apr 7 09:57:25 2009 From: amazu at trusteeservicesinc.com (Alan Mazuti) Date: Tue, 7 Apr 2009 09:57:25 -0700 Subject: Problem with readline In-Reply-To: <20090407124727.A1923@iglou.com> References: <000601c9b644$c3d928b0$4b8b7a10$@com> <49D97C01.5020408@spamcop.net> <001401c9b79b$e796bf80$b6c43e80$@com> <20090407124727.A1923@iglou.com> Message-ID: <001a01c9b7a1$edf14700$c9d3d500$@com> Specify a 3rd argument of 80 works and the lines that I am importing are not longer than 80 characters. Tried ln as uncast and that generated a syntax error. Thanks Alan -----Original Message----- From: filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.com [mailto:filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.co m] On Behalf Of Fairlight Sent: Tuesday, April 07, 2009 9:47 AM To: 'filePro Mailing List' Subject: Re: Problem with readline Only Alan Mazuti would say something like: > opendir commands succeeds and fn contains a valid filename and xa="1". As > soon as It hits the ab=readline(xa,ln) I get the segmentation error. > > ::xa(8,#) 'Array subscript': > ::ln(80,*) 'Text line': You're casting "ln" as 80 long. I suspect you're hitting a line longer than 80. It is documented that it should use the length of the field but it sounds like a bounds checking bug was introduced. Two potential workarounds depending on your goal: 1) Specify a 3rd argument, "80", for readline if you really only want the first 80 characters. 2) Use "ln" uncast, and specify "32767" as the third argument to readline. That will give you the full line to the NL, and resize the field. This assumes the bug is only of medium severity. These might not work if it's really hosed badly. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From brian at aljex.com Tue Apr 7 10:14:54 2009 From: brian at aljex.com (Brian K. White) Date: Tue, 07 Apr 2009 13:14:54 -0400 Subject: Problem with readline In-Reply-To: <001401c9b79b$e796bf80$b6c43e80$@com> References: <000601c9b644$c3d928b0$4b8b7a10$@com> <49D97C01.5020408@spamcop.net> <001401c9b79b$e796bf80$b6c43e80$@com> Message-ID: <49DB8A0E.5020103@aljex.com> Alan Mazuti wrote: > Just installed the latest version of filePro for linux and I am getting a > segmentation error when I use the below code when using the command > readline. This worked using the previous version. Besides going back to > the previous version anybody have any thoughts. Below is the code. The > opendir commands succeeds and fn contains a valid filename and xa="1". As > soon as It hits the ab=readline(xa,ln) I get the segmentation error. > > dreport = 5.6.07D4 > redhat linux = 2.4.21-58. > > Alan > > ::xa(8,#) 'Array subscript': > ::aa(8,#) 'Number of files in directory': > ::ab(8,*) 'Number bytes read in': > ::fn(32,*) 'Name of file we will import': > ::ln(80,*) 'Text line': > ::xx(8,#): > ::xx="1": > ::aa=opendir("*.XML","/appl/ingeo/tsi"): > process1::: > ::fn=@dirlist_name[xx]{"."{@dirlist_ext[xx] 'Name of file to import: > ::xa=open("/appl/ingeo/tsi/"{fn,"rt") 'Open file': > process2::: > ::ab=readline(xa,ln) 'Read a line in': > Add the 3rd parameter to readline() It's supposed to be optional but we have had problems with that also in 5.0.15 and not in 5.0.14 and below. -- bkw From richard at axzas.com Thu Apr 9 07:29:55 2009 From: richard at axzas.com (Richard D. Williams) Date: Thu, 09 Apr 2009 09:29:55 -0500 Subject: setting high date and PFCMARK In-Reply-To: <445ca8160904011453y5a7ce79do64390e6cf7c3876a@mail.gmail.com> References: <445ca8160904011453y5a7ce79do64390e6cf7c3876a@mail.gmail.com> Message-ID: <49DE0663.7090107@axzas.com> Try this; If: dl ne "" Then: end If: q ne "" Then: goto start if: Then: cls If: Then: input fa(4,#,g) "From Client Number " If: Then: input fb(4,#,g) "From " I have output processing that asks the user for beginning client > number, ending client number, beginning action date and ending action > date. > > Recently it stopped working? > > I have PFCMARK=80 > > the output looks like this: > > If: fa="" > Then: input fa(4,#,g) "From Client Number " > > If: fb="" > Then: input fb(4,#,g) "From " > If: ff="" > Then: input ff "Enter 1st date" > > If: ll="" > Then: input ll "From" > If: 18 lt ff > Then: lookup - k=ff i=h -ng > > If: 18 gt ll > Then: dl(8,mdy/)="12/31/79" > > If: 18 gt ll > Then: lookup - k=dl i=h -nl > > If: 18 lt ff > Then: end > > If: 18 gt ll > Then: end > > If: 1 ge fa and 1 le fb > Then: select > > This has worked for years but we recently upgraded to 5.6 and not it > just quickly ends, without selecting any records?? > > Any insight why that might be? > > thanks > > Scott > > > > > > If: 18 lt ll > > >------------------------------------------------------------------------ > >_______________________________________________ >Filepro-list mailing list >Filepro-list at lists.celestial.com >http://mailman.celestial.com/mailman/listinfo/filepro-list > > >------------------------------------------------------------------------ > > >No virus found in this incoming message. >Checked by AVG - www.avg.com >Version: 8.0.238 / Virus Database: 270.11.35/2034 - Release Date: 04/01/09 06:06:00 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090409/dab090f3/attachment.html From bruce at stn.com Thu Apr 9 07:45:04 2009 From: bruce at stn.com (Bruce Easton) Date: Thu, 9 Apr 2009 10:45:04 -0400 Subject: setting high date and PFCMARK In-Reply-To: <49DE0663.7090107@axzas.com> References: <445ca8160904011453y5a7ce79do64390e6cf7c3876a@mail.gmail.com> <49DE0663.7090107@axzas.com> Message-ID: <3671325F969E49C1A89EFF0687FFC137@DONDESKTOP> (top post) Richard - a couple of quick things to check - did you try to rebuild index H? Also, does your script line that executes this report still have the -iH on it? Bruce Bruce Easton STN, Inc. _____ From: filepro-list-bounces+bruce=stn.com at lists.celestial.com [mailto:filepro-list-bounces+bruce=stn.com at lists.celestial.com] On Behalf Of Richard D. Williams Sent: Thursday, April 09, 2009 10:30 AM To: scooter6 at gmail.com Cc: filePro Mailing List Subject: Re: setting high date and PFCMARK Try this; If: dl ne "" Then: end If: q ne "" Then: goto start if: Then: cls If: Then: input fa(4,#,g) "From Client Number " If: Then: input fb(4,#,g) "From " References: <445ca8160904011453y5a7ce79do64390e6cf7c3876a@mail.gmail.com> <49DE0663.7090107@axzas.com> Message-ID: <49DE2034.3060604@fpgroups.com> Richard D. Williams wrote: > Try this; > > If: dl ne "" > Then: end > If: q ne "" > Then: goto start > if: > Then: cls > If: > Then: input fa(4,#,g) "From Client Number " > If: > Then: input fb(4,#,g) "From " If: > Then: input ff(8,mdy/,g) "Enter 1st date" > If: > Then: input ll(8,mdy/,g) "From" If: fa eq " " or fb eq " " or ff eq "" or ll eq "" > Then: msgbox "No Report Created!";exit > If: > Then: input popup ("22","") q(1,yesno,g) "Is this correct? (Y/N)";cls > If: q ne "Y" > Then: msgbox "No Report Created!";exit > If: > Then: lookup - k=ff i=h -ng > *start*: If: 18 gt ll > Then: goto endit > If: 1 ge fa and 1 le fb > Then: select > If: > Then: end > *endit*: If: > Then: dl(8,mdy/,g)="12/31/79" > If: > Then: lookup - k=dl i=h -nl > If: > Then: end > The first two lines of code should keep the script from asking the questions and performing the lookup more than once. I would make two changes (1) Add if: not - then: end right after the original lookup. (2) Additionally, I would not use a hard coded date to jump to possible last date, simply add a couple of years to end-date then: dl(8,mdy/,g)=ll+"1095" 'Add 3 years to end date By adding the three years to end date, no matter what your PFCMARK is set, it is less likely that your code will break (should it be ported to a different environment or PFCMARK have an unexpected value). Regards, Jose Lerebours 954-559-7186 http://www.fpgroups.com From bruce at stn.com Thu Apr 9 10:09:36 2009 From: bruce at stn.com (Bruce Easton) Date: Thu, 9 Apr 2009 13:09:36 -0400 Subject: setting high date and PFCMARK In-Reply-To: <49DE2034.3060604@fpgroups.com> References: <445ca8160904011453y5a7ce79do64390e6cf7c3876a@mail.gmail.com><49DE0663.7090107@axzas.com> <49DE2034.3060604@fpgroups.com> Message-ID: Jose Lerebours wrote Thursday, April 09, 2009 12:20 PM: > > Richard D. Williams wrote: > > Try this; > > > > If: dl ne "" > > Then: end > > If: q ne "" > > Then: goto start > > if: > > Then: cls > > If: > > Then: input fa(4,#,g) "From Client Number " > > If: > > Then: input fb(4,#,g) "From " > If: > > Then: input ff(8,mdy/,g) "Enter 1st date" > > If: > > Then: input ll(8,mdy/,g) "From" > If: fa eq " " or fb eq " " or ff eq "" or ll eq "" > > Then: msgbox "No Report Created!";exit > > If: > > Then: input popup ("22","") q(1,yesno,g) "Is this correct? > (Y/N)";cls > > If: q ne "Y" > > Then: msgbox "No Report Created!";exit > > If: > > Then: lookup - k=ff i=h -ng > > *start*: If: 18 gt ll > > Then: goto endit > > If: 1 ge fa and 1 le fb > > Then: select > > If: > > Then: end > > *endit*: If: > > Then: dl(8,mdy/,g)="12/31/79" > > If: > > Then: lookup - k=dl i=h -nl > > If: > > Then: end > > > > The first two lines of code should keep the script from > asking the questions and performing the lookup more than once. > > I would make two changes > > (1) Add > if: not - > then: end > > right after the original lookup. > > (2) Additionally, I would not use a hard coded date to jump > to possible last date, simply add a couple of years to end-date > > then: dl(8,mdy/,g)=ll+"1095" 'Add 3 years to end date > > By adding the three years to end date, no matter what your > PFCMARK is set, it is less likely that your code will break > (should it be ported to a different environment or PFCMARK > have an unexpected value). > > Regards, > > > Jose Lerebours I frequently surprised by systems where people enter dates way off into the future, either by accident, and in some cases, to use the date field as a marker of some kind. Therefore, regarding Jose's point #2, it might be safest to have your selection flow like so (when working w/eight- digit selection dates and using lookup-dash to speed rpt): Then: qq(2,*)=getenv("PFCMARK") If: qq eq "" Then: goto XXXX 'PFCMARK missing--abort lu-dash; read all recs If: qr eq "" Then: qr(2,.0,g)=qq; qr=qr-"1"; dl(8,mdy/,g)="12/31/"{qr If: Then: 'continue here with lookup dash technique using 'dl' ..... XXXX If: '(common selection tests without using lookup-dash) Bruce Bruce Easton STN, Inc. From bruce at stn.com Thu Apr 9 10:30:58 2009 From: bruce at stn.com (Bruce Easton) Date: Thu, 9 Apr 2009 13:30:58 -0400 Subject: FW: setting high date and PFCMARK Message-ID: Bruce Easton wrote Thursday, April 09, 2009 1:10 PM: Jose Lerebours wrote Thursday, April 09, 2009 12:20 PM: > > Richard D. Williams wrote: > > Try this; > > > > If: dl ne "" > > Then: end > > If: q ne "" > > Then: goto start > > if: > > Then: cls > > If: > > Then: input fa(4,#,g) "From Client Number " > > If: > > Then: input fb(4,#,g) "From " > If: > > Then: input ff(8,mdy/,g) "Enter 1st date" > > If: > > Then: input ll(8,mdy/,g) "From" > If: fa eq " " or fb eq " " or ff eq "" or ll eq "" > > Then: msgbox "No Report Created!";exit > > If: > > Then: input popup ("22","") q(1,yesno,g) "Is this correct? > (Y/N)";cls > > If: q ne "Y" > > Then: msgbox "No Report Created!";exit > > If: > > Then: lookup - k=ff i=h -ng > > *start*: If: 18 gt ll > > Then: goto endit > > If: 1 ge fa and 1 le fb > > Then: select > > If: > > Then: end > > *endit*: If: > > Then: dl(8,mdy/,g)="12/31/79" > > If: > > Then: lookup - k=dl i=h -nl > > If: > > Then: end > > > > The first two lines of code should keep the script from asking the > questions and performing the lookup more than once. > > I would make two changes > > (1) Add > if: not - > then: end > > right after the original lookup. > > (2) Additionally, I would not use a hard coded date to jump to > possible last date, simply add a couple of years to end-date > > then: dl(8,mdy/,g)=ll+"1095" 'Add 3 years to end date > > By adding the three years to end date, no matter what your PFCMARK is > set, it is less likely that your code will break (should it be ported > to a different environment or PFCMARK have an unexpected value). > > Regards, > > > Jose Lerebours I frequently surprised by systems where people enter dates way off into the future, either by accident, and in some cases, to use the date field as a marker of some kind. Therefore, regarding Jose's point #2, it might be safest to have your selection flow like so (when working w/eight- digit selection dates and using lookup-dash to speed rpt): Then: qq(2,*)=getenv("PFCMARK"); qs(2,.0)=qq If: qs eq "0" and qs ne qq Then: goto XXXX 'PFCMARK missing/invalid--abort lu-dash; read all recs If: dl eq "" Then: qr(2,rj0)=qs+"0"; qr=qr-"1"; dl(8,mdy/,g)="12/31/"{qr If: Then: 'continue here with lookup dash technique using 'dl' ..... XXXX If: '(common selection tests without using lookup-dash) Bruce (augmented version :)) I didn't take into consideration as Jose pointed out that someone might set PFCMARK to some strange value - so I've improved the sample code above. Bruce Bruce Easton STN, Inc. From bruce at stn.com Thu Apr 9 10:51:08 2009 From: bruce at stn.com (Bruce Easton) Date: Thu, 9 Apr 2009 13:51:08 -0400 Subject: setting high date and PFCMARK In-Reply-To: References: Message-ID: <25C256E00AC943B08E182F32780AD453@DONDESKTOP> Bruce Easton wrote yet again: > > Bruce Easton wrote Thursday, April 09, 2009 1:10 PM: > > Jose Lerebours wrote Thursday, April 09, 2009 12:20 PM: > > > > Richard D. Williams wrote: > > > Try this; > > > > > > If: dl ne "" > > > Then: end > > > If: q ne "" > > > Then: goto start > > > if: > > > Then: cls > > > If: > > > Then: input fa(4,#,g) "From Client Number " > > > If: > > > Then: input fb(4,#,g) "From " > > If: > > > Then: input ff(8,mdy/,g) "Enter 1st date" > > > If: > > > Then: input ll(8,mdy/,g) "From" > > If: fa eq " " or fb eq " " or ff eq "" or ll eq "" > > > Then: msgbox "No Report Created!";exit > > > If: > > > Then: input popup ("22","") q(1,yesno,g) "Is this correct? > > (Y/N)";cls > > > If: q ne "Y" > > > Then: msgbox "No Report Created!";exit > > > If: > > > Then: lookup - k=ff i=h -ng > > > *start*: If: 18 gt ll > > > Then: goto endit > > > If: 1 ge fa and 1 le fb > > > Then: select > > > If: > > > Then: end > > > *endit*: If: > > > Then: dl(8,mdy/,g)="12/31/79" > > > If: > > > Then: lookup - k=dl i=h -nl > > > If: > > > Then: end > > > > > > > The first two lines of code should keep the script from asking the > > questions and performing the lookup more than once. > > > > I would make two changes > > > > (1) Add > > if: not - > > then: end > > > > right after the original lookup. > > > > (2) Additionally, I would not use a hard coded date to jump to > > possible last date, simply add a couple of years to end-date > > > > then: dl(8,mdy/,g)=ll+"1095" 'Add 3 years to end date > > > > By adding the three years to end date, no matter what your > PFCMARK is > > set, it is less likely that your code will break (should it > be ported > > to a different environment or PFCMARK have an unexpected value). > > > > Regards, > > > > > > Jose Lerebours > > I frequently surprised by systems where people enter dates > way off into the future, either by accident, and in some > cases, to use the date field as a marker of some kind. > > Therefore, regarding Jose's point #2, it might be safest to > have your selection flow like so (when working w/eight- digit > selection dates and using lookup-dash to speed rpt): > > > Then: qq(2,*)=getenv("PFCMARK"); qs(2,.0)=qq > If: qs eq "0" and qs ne qq and qq ne "00" > Then: goto XXXX 'PFCMARK missing/invalid--abort lu-dash; > read all recs > If: dl eq "" > Then: qr(2,rj0)=qs+"0"; qr=qr-"1"; dl(8,mdy/,g)="12/31/"{qr > If: > Then: 'continue here with lookup dash technique using 'dl' > ..... > > XXXX If: '(common selection tests without using lookup-dash) > > Bruce > > (augmented version :)) I didn't take into consideration as > Jose pointed out that someone might set PFCMARK to some > strange value - so I've improved the sample code above. > OK, maybe one last improvement :) - top line needs to allow "0" or "00", I believe. (Although I've never tried to see if PFCMARK=00 or PFCMARK=0 are valid settings.) Bruce Bruce Easton STN, Inc. From yoresoft at sbcglobal.net Fri Apr 10 11:25:03 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Fri, 10 Apr 2009 11:25:03 -0700 (PDT) Subject: Pixieware Message-ID: <290196.10501.qm@web81401.mail.mud.yahoo.com> Does anyone on the list use the software from Pixieware with filePro? ? If so, please let me know well it works?? Also, are you using it on a *nix or Windows system? ? Thank you, Rick Hane ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090410/f8a8e5dd/attachment.html From fairlite at fairlite.com Sat Apr 11 04:09:53 2009 From: fairlite at fairlite.com (Fairlight) Date: Sat, 11 Apr 2009 07:09:53 -0400 Subject: Pixieware In-Reply-To: <290196.10501.qm@web81401.mail.mud.yahoo.com>; from yoresoft@sbcglobal.net on Fri, Apr 10, 2009 at 11:25:03AM -0700 References: <290196.10501.qm@web81401.mail.mud.yahoo.com> Message-ID: <20090411070953.A23811@iglou.com> The honourable and venerable Richard Hane spoke thus: > Does anyone on the list use the software from Pixieware with filePro? ? > If so, please let me know well it works?? Also, are you using it on a > *nix or Windows system? I don't use it, but I just looked at it. Did you try the Perfection Hydraulics demo site they had linked to at: http://www.pixieware.com/filepro.htm ??? >From the looks of it, and given the very nature of how it works, you're probably going to be limited to 80x25 plus some optional graphics, as it's really a screen scraper. I can't tell if @wef and the like are even available. So far, I've been much more impressed with STN's fPageBuilder than what I've seen of PixieWare. YMMV. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From rtr at rsquared.com Sat Apr 11 16:49:52 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Sat, 11 Apr 2009 19:49:52 -0400 Subject: Calculate payments based on APR Message-ID: Does anyone have a routine that calculates monthly payments based on an APR. From ScottWalker at RAMSystemsCorp.com Sat Apr 11 18:58:16 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Sat, 11 Apr 2009 21:58:16 -0400 Subject: XML Import Message-ID: <000b01c9bb12$265bb6c0$73132440$@com> I have a new project I am starting on and would like some advice & perhaps some code. My customer has about (20) factories that they represent. Each factory has their own program used to produce a quote for stuff sold by that factory. So when my customer needs to produce a quote to one of their customers for something they sell for factory A, they use factory A's program to produce the quote. Then they reenter the data from that quote into my software. Likewise, if they need to produce a quote to one of their customers for something they sell for factory B, they use factory B's program to produce the quote and then reenter data from that quote into my software. In this way, my customer can track all the quotes to their cusotomers in one centralized database. Many of these programs can (or will in the future) be able to output an XML file. The layout of the XML files from each different factory will be different (and not controlled by us!). Sounds sort of like EDI with no agreed upon standards. So I need some some sort of method of mapping the data from these different sources, which will be in XML files with different structures, into my quote program (with it's structure) for easy importing. The factories may change and their XML files may change over time so I really want to avoid hard coding stuff and instead have some flexible black box type software in the middle, hopefully in filePro. If anyone has done anything like this and can share some guidance, I would appreciate it. If you have an application or code that can be incorporated into my code that would make this process easier, I would be willing to pay for it. Regards, Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090411/9ea17d52/attachment.html From john at valar.com Sat Apr 11 21:03:16 2009 From: john at valar.com (John Esak) Date: Sun, 12 Apr 2009 00:03:16 -0400 Subject: XML Import In-Reply-To: <000b01c9bb12$265bb6c0$73132440$@com> Message-ID: <200904120403.n3C43GfK029050@admin114.securesites.net> At the FP Developer meeting held in Wilmington recently among FP friends and colleagues at the house of Larry Hoover... we were told that the XML filePro function was half done... the export part I believe is done, and the import is nearly done. (Or the other way around.... sorry... someone else who attended the meeting will remember). I believe the part that is done could probably be obtained from FP Tech within the next couple months or so.... with the remaining half coming a little later. We also learned that a mySQL interface of some sort (high level/low level kind of thing like ODBC) was also in the works. It has a slightly longer ETA I think because it is being outsourced I think. Other than waiting, Nancy has developed some XML apps. I have, too, but they are in no shape to send anyone being a one time knock off each time I do it. The XML function has been in the works for awhile, so I haven't wanted to consolidate my needs into some universal functions. I just do what I need to as it comes and am waiting like everyone else for the filePro upgrades. Why pre-write the wheel? :-) John _____ From: filepro-list-bounces+john=valar.com at lists.celestial.com [mailto:filepro-list-bounces+john=valar.com at lists.celestial.com] On Behalf Of Scott Walker Sent: Saturday, April 11, 2009 9:58 PM To: 'filePro Mailing List' Subject: XML Import I have a new project I am starting on and would like some advice & perhaps some code. My customer has about (20) factories that they represent. Each factory has their own program used to produce a quote for stuff sold by that factory. So when my customer needs to produce a quote to one of their customers for something they sell for factory A, they use factory A's program to produce the quote. Then they reenter the data from that quote into my software. Likewise, if they need to produce a quote to one of their customers for something they sell for factory B, they use factory B's program to produce the quote and then reenter data from that quote into my software. In this way, my customer can track all the quotes to their cusotomers in one centralized database. Many of these programs can (or will in the future) be able to output an XML file. The layout of the XML files from each different factory will be different (and not controlled by us!). Sounds sort of like EDI with no agreed upon standards. So I need some some sort of method of mapping the data from these different sources, which will be in XML files with different structures, into my quote program (with it's structure) for easy importing. The factories may change and their XML files may change over time so I really want to avoid hard coding stuff and instead have some flexible black box type software in the middle, hopefully in filePro. If anyone has done anything like this and can share some guidance, I would appreciate it. If you have an application or code that can be incorporated into my code that would make this process easier, I would be willing to pay for it. Regards, Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090412/04fad546/attachment.html From fairlite at fairlite.com Sat Apr 11 21:56:48 2009 From: fairlite at fairlite.com (Fairlight) Date: Sun, 12 Apr 2009 00:56:48 -0400 Subject: XML Import In-Reply-To: <000b01c9bb12$265bb6c0$73132440$@com>; from ScottWalker@RAMSystemsCorp.com on Sat, Apr 11, 2009 at 09:58:16PM -0400 References: <000b01c9bb12$265bb6c0$73132440$@com> Message-ID: <20090412005648.A15865@iglou.com> In the relative spacial/temporal region of Sat, Apr 11, 2009 at 09:58:16PM -0400, Scott Walker achieved the spontaneous generation of the following: > If anyone has done anything like this and can share some guidance, I would > appreciate it. If you have an application or code that can be incorporated > into my code that would make this process easier, I would be willing to pay > for it. Getting the XML into fP will be considerably easier with something like: http://www.fairlite.com/fc/products/xml2csv/ That said, even in a CSV format, you're going to have no way of avoiding "walking" the data structure to establish data elements' elationships, no matter what format the data is massaged into. There's no getting around that fact. When the data format changes from one DTD or Schema to the another, all the relationships you're looking for change as well. There is no magic bullet (TTBOMK) to get around this fact. You'd pretty much need AI to intelligently handle vastly differing formats without user intervention, in terms of, "What do I do with this data? Where does it go? What am I looking for?" All we can really do is make it a bit less painful to deal with in fP formatting/parsing-wise--which my xml2csv does. Try the demo page. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From roberth at sim-soft.com Sun Apr 12 13:25:45 2009 From: roberth at sim-soft.com (Bob Thomason) Date: Sun, 12 Apr 2009 15:25:45 -0500 Subject: Calculate payments based on APR References: Message-ID: <002a01c9bbac$dbfd2820$7565a8c0@bobxp1> I guess I sould reply to all so the list get this as well. I wrote one a number years ago. I'll have to find it and "dust it off". Warmly, Bob ----- Original Message ----- From: "Robert T. Repko (R Squared Consultants)" To: Sent: Saturday, April 11, 2009 6:49 PM Subject: Calculate payments based on APR > Does anyone have a routine that calculates monthly payments based on an > APR. > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From wdg3rd at comcast.net Sun Apr 12 15:23:33 2009 From: wdg3rd at comcast.net (wdg3rd at comcast.net) Date: Sun, 12 Apr 2009 22:23:33 +0000 (UTC) Subject: XML Import In-Reply-To: <479380084.1167041239574998924.JavaMail.root@sz0113a.westchester.pa.mail.comcast.net> Message-ID: <403360929.1167121239575013091.JavaMail.root@sz0113a.westchester.pa.mail.comcast.net> > Message: 4 > Date: Sun, 12 Apr 2009 00:03:16 -0400 > From: "John Esak" > Subject: RE: XML Import > To: "'filePro Mailing List'" > Message-ID: <200904120403.n3C43GfK029050 at admin114.securesites.net> > Content-Type: text/plain; charset="us-ascii" > Other than waiting, Nancy has developed some XML apps. I have, too, > but > they are in no shape to send anyone being a one time knock off each > time I > do it. The XML function has been in the works for awhile, so I > haven't > wanted to consolidate my needs into some universal functions. I just > do > what I need to as it comes and am waiting like everyone else for the > filePro > upgrades. Why pre-write the wheel? :-) Because maybe this time for a change the wheel will be round, rather than the square and triangular types that SSC and fPTech have always been so fond of. Makes the ride less bumpy. I'm looking at Mark's product. Yes, a fair amount of intervention is required for each new conversion. That has always been the case. And even when filePro isn't the source or the destination, I tend to put it in the middle to make things easier for me. Something I've been doing since the Profile II days, but Profile 16 &seq really improved the situation. (Unix. I/O redirection. Leave it at that). -- Ward Griffiths wdg3rd at comcast.net From kenbrody at spamcop.net Sun Apr 12 19:46:07 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sun, 12 Apr 2009 22:46:07 -0400 Subject: Calculate payments based on APR In-Reply-To: References: Message-ID: <49E2A76F.7000205@spamcop.net> Robert T. Repko (R Squared Consultants) wrote: > Does anyone have a routine that calculates monthly payments based on an APR. Would the TVM_PMT() function do what you're looking for? -- Kenneth Brody From rtr at rsquared.com Sun Apr 12 20:00:21 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Sun, 12 Apr 2009 23:00:21 -0400 Subject: Calculate payments based on APR In-Reply-To: <49E2A76F.7000205@spamcop.net> References: <49E2A76F.7000205@spamcop.net> Message-ID: Believe it or not at 4/12/2009 10:46 PM, Kenneth Brody said: >Robert T. Repko (R Squared Consultants) wrote: >>Does anyone have a routine that calculates monthly payments based on an APR. > >Would the TVM_PMT() function do what you're looking for? I looked at that function but it gives me a different answer than the calculators I've used for finding payments based on an APR. Before I started working on the program I used calculators on the Internet so I would know what answers I was supposed to get. I used $1000.00, 13.9%, for 12 months, compounded monthly. Using TVM_PMT() I get a monthly payment of 84.09, with a calculator I get 89.74. The description doesn't mention if it's simple or compound interest. From kenbrody at spamcop.net Sun Apr 12 20:20:22 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sun, 12 Apr 2009 23:20:22 -0400 Subject: Calculate payments based on APR In-Reply-To: References: <49E2A76F.7000205@spamcop.net> Message-ID: <49E2AF76.5030401@spamcop.net> Robert T. Repko (R Squared Consultants) wrote: > Believe it or not at 4/12/2009 10:46 PM, Kenneth Brody said: >> Robert T. Repko (R Squared Consultants) wrote: >>> Does anyone have a routine that calculates monthly payments based on an APR. >> Would the TVM_PMT() function do what you're looking for? > > I looked at that function but it gives me a different answer than the > calculators I've used for finding payments based on an APR. Before I > started working on the program I used calculators on the Internet so > I would know what answers I was supposed to get. I used $1000.00, > 13.9%, for 12 months, compounded monthly. Using TVM_PMT() I get a > monthly payment of 84.09, with a calculator I get 89.74. The > description doesn't mention if it's simple or compound interest. Hmm... xx(8,.2) = tvm_pmt("12","13.9"/"12","1000","0") gives me "-89.74", just like your calculator. What did you do that gave you a different number? -- Kenneth Brody From rtr at rsquared.com Mon Apr 13 07:53:40 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Mon, 13 Apr 2009 10:53:40 -0400 Subject: Calculate payments based on APR In-Reply-To: <49E2AF76.5030401@spamcop.net> References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> Message-ID: Believe it or not at 4/12/2009 11:20 PM, Kenneth Brody said: >Robert T. Repko (R Squared Consultants) wrote: >>Believe it or not at 4/12/2009 10:46 PM, Kenneth Brody said: >>>Robert T. Repko (R Squared Consultants) wrote: >>>>Does anyone have a routine that calculates monthly payments based >>>>on an APR. >>>Would the TVM_PMT() function do what you're looking for? >>I looked at that function but it gives me a different answer than >>the calculators I've used for finding payments based on an >>APR. Before I started working on the program I used calculators on >>the Internet so I would know what answers I was supposed to get. I >>used $1000.00, 13.9%, for 12 months, compounded monthly. Using >>TVM_PMT() I get a monthly payment of 84.09, with a calculator I get >>89.74. The description doesn't mention if it's simple or compound interest. > >Hmm... > > xx(8,.2) = tvm_pmt("12","13.9"/"12","1000","0") > >gives me "-89.74", just like your calculator. > >What did you do that gave you a different number? > >-- >Kenneth Brody I followed the example Laura had in her help file. Interpreting the numbers in her example $200,000, 360 months (30 yr loan), at 7.25% if: ' What would be the payment for this loan? then: PMT = TVM_PMT("360",".0725","200000","0") ' PMT will be -631.40595650 I used: eh=TVM_PMT("12",".139","1000","0") I see my mistake, instead of using a monthly rate (.139/12) I used the APR of .139 in the calculations. Thanks Ken I never would have seen my error. I hate when I do that, spend days on a problem and the solution is right under my nose and I can't see it. From nlp at vss3.com Mon Apr 13 08:40:41 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Mon, 13 Apr 2009 11:40:41 -0400 Subject: XML Import In-Reply-To: <000b01c9bb12$265bb6c0$73132440$@com> References: <000b01c9bb12$265bb6c0$73132440$@com> Message-ID: <49E35CF9.1020408@vss3.com> Scott Walker wrote: > > I have a new project I am starting on and would like some advice & > perhaps some code. > > My customer has about (20) factories that they represent. Each factory > has their own program used to produce a quote for stuff sold by that > factory. So when my customer needs to produce a quote to one of their > customers for something they sell for factory A, they use factory A?s > program to produce the quote. Then they reenter the data from that > quote into my software. Likewise, if they need to produce a quote to > one of their customers for something they sell for factory B, they use > factory B?s program to produce the quote and then reenter data from > that quote into my software. In this way, my customer can track all > the quotes to their cusotomers in one centralized database. Many of > these programs can (or will in the future) be able to output an XML > file. The layout of the XML files from each different factory will be > different (and not controlled by us!). > > Sounds sort of like EDI with no agreed upon standards. > > So I need some some sort of method of mapping the data from these > different sources, which will be in XML files with different > structures, into my quote program (with it?s structure) for easy > importing. The factories may change and their XML files may change > over time so I really want to avoid hard coding stuff and instead have > some flexible black box type software in the middle, hopefully in filePro. > > If anyone has done anything like this and can share some guidance, I > would appreciate it. If you have an application or code that can be > incorporated into my code that would make this process easier, I would > be willing to pay for it. > > Regards, > > Scott > > Scott Walker > > RAM Systems Corp > > (704) 896-6549 > > ScottWalker at RAMSystemCorp.com > > ------------------------------------------------------------------------ > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > Scott, I designed an XML <> filepro interface. I set up a filePro database which uses the XML tag(s) to do a lookup to the file and then tells me what file and field the data should post to or read from. (Depending on if you are reading or writing XML) Each XML structure is assigned a master code (could be something in the XML or how you get the file that identifies the source as you called Plant A, B, C) so you can get the right interface. Don't know if you want to talk this over more but I have found it very workable, since the formats that I read and write have changed over time and all I really had to do was adjust the filePro database to make the changes. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From ScottWalker at RAMSystemsCorp.com Mon Apr 13 08:48:15 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Mon, 13 Apr 2009 11:48:15 -0400 Subject: XML Import In-Reply-To: <200904120403.n3C43GfK029050@admin114.securesites.net> References: <000b01c9bb12$265bb6c0$73132440$@com> <200904120403.n3C43GfK029050@admin114.securesites.net> Message-ID: <002c01c9bc4f$45fbadd0$d1f30970$@com> John, Thanks for the input. I need to get on something with this. I was hoping someone had developed a generic "black box" where you could plug in the xml schema info and your fp file map info and have it do a lot of the heavy lifting. With the fact that every xml file from a different source will have a different schema the only constant is my applications layout. Perhaps each xml source will have to be programmed by hand. I will have to do some real thinking on this. There has to be a better way than that. Regards, Scott From: filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com [mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial. com] On Behalf Of John Esak Sent: Sunday, April 12, 2009 12:03 AM To: 'filePro Mailing List' Subject: RE: XML Import At the FP Developer meeting held in Wilmington recently among FP friends and colleagues at the house of Larry Hoover... we were told that the XML filePro function was half done... the export part I believe is done, and the import is nearly done. (Or the other way around.... sorry... someone else who attended the meeting will remember). I believe the part that is done could probably be obtained from FP Tech within the next couple months or so.... with the remaining half coming a little later. We also learned that a mySQL interface of some sort (high level/low level kind of thing like ODBC) was also in the works. It has a slightly longer ETA I think because it is being outsourced I think. Other than waiting, Nancy has developed some XML apps. I have, too, but they are in no shape to send anyone being a one time knock off each time I do it. The XML function has been in the works for awhile, so I haven't wanted to consolidate my needs into some universal functions. I just do what I need to as it comes and am waiting like everyone else for the filePro upgrades. Why pre-write the wheel? :-) John _____ From: filepro-list-bounces+john=valar.com at lists.celestial.com [mailto:filepro-list-bounces+john=valar.com at lists.celestial.com] On Behalf Of Scott Walker Sent: Saturday, April 11, 2009 9:58 PM To: 'filePro Mailing List' Subject: XML Import I have a new project I am starting on and would like some advice & perhaps some code. My customer has about (20) factories that they represent. Each factory has their own program used to produce a quote for stuff sold by that factory. So when my customer needs to produce a quote to one of their customers for something they sell for factory A, they use factory A's program to produce the quote. Then they reenter the data from that quote into my software. Likewise, if they need to produce a quote to one of their customers for something they sell for factory B, they use factory B's program to produce the quote and then reenter data from that quote into my software. In this way, my customer can track all the quotes to their cusotomers in one centralized database. Many of these programs can (or will in the future) be able to output an XML file. The layout of the XML files from each different factory will be different (and not controlled by us!). Sounds sort of like EDI with no agreed upon standards. So I need some some sort of method of mapping the data from these different sources, which will be in XML files with different structures, into my quote program (with it's structure) for easy importing. The factories may change and their XML files may change over time so I really want to avoid hard coding stuff and instead have some flexible black box type software in the middle, hopefully in filePro. If anyone has done anything like this and can share some guidance, I would appreciate it. If you have an application or code that can be incorporated into my code that would make this process easier, I would be willing to pay for it. Regards, Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090413/ec2fe912/attachment.html From ScottWalker at RAMSystemsCorp.com Mon Apr 13 09:15:30 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Mon, 13 Apr 2009 12:15:30 -0400 Subject: XML Import In-Reply-To: <20090412005648.A15865@iglou.com> References: <000b01c9bb12$265bb6c0$73132440$@com> <20090412005648.A15865@iglou.com> Message-ID: <003701c9bc53$12cad540$38607fc0$@com> Mark, Thanks for your thoughts. I looked at your xml2cvs and I can see how that would make thinks easier. Like you said, that still leaves me with hand coding of the fp process to look at the cvs file and walk through the structure and figure out what to do with each line of data. Big job for one xml source. Huge job for 20 different xml sources with different schema. Maybe not practical to do. I don't have a firm idea of how this could be done in an automated or semi-automated way. I'm just starting to think about it a get a model in my head. Something like this: Note: My fields may be a real field number or real field name or an array (since there may be multiple instances of a tag, like when we are handling the line items on an order I would have a record like this for each XML source in my XML_Sources file: My Fields XML Tag (for this source) One or Many ========= ========================= =========== Cust_Code header.customer_id one Order_Date header.order_dt one Part_Num[xx] item.part_no many Desc[xx] item.description many Qty[xx] item.quantity many Then when this was run, I would end up with all the data from the xml source in my fields/arrays. My processing would then have to manage getting this data to my real (permenant) files. So when I had to deal with the next XML source, in THEORY, perhaps, I hope/dream, that all I would have to do is create another record in my XML Sources basically mapping the schema for that source to the fields/arrays in my processing. At that point, there would be no additional coding necessary to get the data to my permanent files. Anyhow, this is currently totally half baked and is probably ignoring all the real world problems that will be encountered. Just a rough idea for now. Regards, Scott -----Original Message----- From: filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com [mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial. com] On Behalf Of Fairlight Sent: Sunday, April 12, 2009 12:57 AM To: 'filePro Mailing List' Subject: Re: XML Import In the relative spacial/temporal region of Sat, Apr 11, 2009 at 09:58:16PM -0400, Scott Walker achieved the spontaneous generation of the following: > If anyone has done anything like this and can share some guidance, I would > appreciate it. If you have an application or code that can be incorporated > into my code that would make this process easier, I would be willing to pay > for it. Getting the XML into fP will be considerably easier with something like: http://www.fairlite.com/fc/products/xml2csv/ That said, even in a CSV format, you're going to have no way of avoiding "walking" the data structure to establish data elements' elationships, no matter what format the data is massaged into. There's no getting around that fact. When the data format changes from one DTD or Schema to the another, all the relationships you're looking for change as well. There is no magic bullet (TTBOMK) to get around this fact. You'd pretty much need AI to intelligently handle vastly differing formats without user intervention, in terms of, "What do I do with this data? Where does it go? What am I looking for?" All we can really do is make it a bit less painful to deal with in fP formatting/parsing-wise--which my xml2csv does. Try the demo page. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From fairlite at fairlite.com Mon Apr 13 10:57:21 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 13 Apr 2009 13:57:21 -0400 Subject: XML Import In-Reply-To: <003701c9bc53$12cad540$38607fc0$@com>; from ScottWalker@RAMSystemsCorp.com on Mon, Apr 13, 2009 at 12:15:30PM -0400 References: <000b01c9bb12$265bb6c0$73132440$@com> <20090412005648.A15865@iglou.com> <003701c9bc53$12cad540$38607fc0$@com> Message-ID: <20090413135721.A2052@iglou.com> >From inside the gravity well of a singularity, Scott Walker shouted: > Mark, > > Thanks for your thoughts. I looked at your xml2cvs and I can see how that > would make thinks easier. Like you said, that still leaves me with hand > coding of the fp process to look at the cvs file and walk through the > structure and figure out what to do with each line of data. Big job for one > xml source. Huge job for 20 different xml sources with different schema. > Maybe not practical to do. It's not -too- bad if the information you actually need falls in specific areas and you can prune whole areas. Actually, pruning is kind of a convenience, since you can technically just walk the data tree with entry/exit hints and ignore the rest. But it puts less CPU cycles to the job of walking the tree later in any event. See after your notes for a practical, real-world point of interest that may shoot this in the foot. > I don't have a firm idea of how this could be done in an automated or > semi-automated way. I'm just starting to think about it a get a model in my > head. > > Something like this: > > Note: My fields may be a real field number or real field name or an array > (since there may be multiple instances of a tag, like when we are handling > the line items on an order > > I would have a record like this for each XML source in my XML_Sources file: > > My Fields XML Tag (for this source) One > or Many > ========= ========================= > =========== > Cust_Code header.customer_id one > > Order_Date header.order_dt one > > Part_Num[xx] item.part_no many > > Desc[xx] item.description > many > > Qty[xx] item.quantity many > > > Then when this was run, I would end up with all the data from the xml source > in my fields/arrays. My processing would then have to manage getting this > data to my real (permenant) files. > > So when I had to deal with the next XML source, in THEORY, perhaps, I > hope/dream, that all I would have to do is create another record in my XML > Sources basically mapping the schema for that source to the fields/arrays in > my processing. At that point, there would be no additional coding necessary > to get the data to my permanent files. > > Anyhow, this is currently totally half baked and is probably ignoring all > the real world problems that will be encountered. Just a rough idea for > now. Oh, that falls down in so many ways. :( Consider a very simple multi-record response. 9087251AB Scott Nelson Mark Luljak 829025CA2 John Esak Nancy Palmquist Okay. Just that bit as a tiny real-world example of a multi-record response set...take this little bit. Assume you map first_name to a field, last_name to another field. Suddenly, you have multiple last names per record. Or do you? What are you defining as "a record"? Each instance of Billing? Each instance of Shipping? Each response? A permutation of both, with header/detail, requiring multi-pass recursion? And you want to create records automatically, based on multiple formats, where "record" could have vastly different meanings? This is why xml2csv never formally (in a release sense--or even past pre-pre-pre-pre-alpha proof-of-concept code) went the route of trying to figure it out. I started down that path, but it got so convoluted, it was absolutely impossible to generically define "what is a record"? The data correlations change with fluidity to the point where "record" changes drastically. You may be looking at sub-records of sub-records of records and calling those "records" in fP in a header-detail relationship. Or you may be looking at one single-response, where a whole response is a record. In a -really- bad case, you may be looking at something like PRIA, a standard where multiple whole data structures are repeated in different parts of the document, complete with identical information, nested 3-6 levels deep, and you're only looking at getting one particular subset of data out of it. Or different sets of data as different types of "records". The real problem becomes (and I ran into this in v00.00.01 of xml2csv when it had a whole different focus similar to yours--before I realisd it was just flat-out NOT POSSIBLE) what happens when you try to define "a record", but it's really a subset of another kind of iterative record. Now try defining that abstractly so that it applies to multiple formats. It wasn't even possible to do reasonably for -one-. Like I said, AI is basically needed for anything near the kind of black box you're talking about. I tried it with tools a lot more suited to the task than fP has (libexpat, XML::Parser in perl), and it still wasn just not possible in terms of conventional programming. You've got randomly permutated Schemas/DTDs, and you want it to intelligently define, "What is a record?" Just within the PRIA standard, ONE Schema, that wasn't even technically viable, because the reality was that it was records of records of records of records, maybe 5-6 deep, and depending on how you looked at it, it could have been any of those permutations. The real sticking point is this: 1) If you define the record scope too narrowly, you miss correlation (and indeed most likely data) outside of that record's scope. 2) If you define the record scope too widely, you miss the ability to derive meaningful header/detail relationships and form sub-records of any meaning without significant recursion. That recursion is -not- something you want to toss at filePro, or probably do at all. This is why "walking the data tree" is really the only sane way to do it reasonably. And it's why you can only go so far with something like xml2csv before you -must- roll up your sleeves and get your hands dirty coding. I spent months just looking at how to make it do what you want to do. I came to the conclusion it was simply not viable within any reasonable price point you care to name. AI people don't come cheap. It's not like I haven't given the matter considerable thought. It was on/off for two years that I considered how to do it. It was a couple months of more hardcore thinking about it before starting to code and at the start of coding. If I was still taking that approach, I wouldn't be done for another two decades, if ever. It would cost me more to learn the AI techniques necessary than I could ever recoup at any affordable price point. It would for most people, in all likelihood. Just remember: "What is a record?" Hold up 3-5 different Schemas and try to define it in some meaningful way that crosses data definition boundaries. Let me know if you succeed. I never did. mark-> From jeffaharrison at yahoo.com Mon Apr 13 11:30:16 2009 From: jeffaharrison at yahoo.com (Jeff Harrison) Date: Mon, 13 Apr 2009 11:30:16 -0700 (PDT) Subject: XML Import In-Reply-To: <20090413135721.A2052@iglou.com> Message-ID: <108130.98289.qm@web50701.mail.re2.yahoo.com> --- On Mon, 4/13/09, Fairlight wrote: > From: Fairlight > Subject: Re: XML Import > To: "'filePro Mailing List'" > Date: Monday, April 13, 2009, 1:57 PM > >From inside the gravity well of a singularity, Scott > Walker shouted: > > Mark, > > > > Oh, that falls down in so many ways. :( > Yes, it sounds like this process is going to require something or someone thinking and making decisions. If the object is to minimize the programming time, then Scott may want to consider using JHImport in addition to your xml to CSV converter. JHImport would provide the user with a wizard where they could map the csv columns to a real live filepro record. It provides a visual interface and will create the code necessary to perform the import. It will then run the import if desired. Jeff Harrison jeffaharrison at yahoo.com Author of JHExport and JHImport. The fastest and easiest ways to export and import filepro data. From kenbrody at spamcop.net Mon Apr 13 11:33:19 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Mon, 13 Apr 2009 14:33:19 -0400 Subject: Calculate payments based on APR In-Reply-To: References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> Message-ID: <49E3856F.6040001@spamcop.net> Robert T. Repko (R Squared Consultants) wrote: > I followed the example Laura had in her help file. > Interpreting the numbers in her example $200,000, 360 months (30 yr > loan), at 7.25% > > if: ' What would be the payment for this loan? > then: PMT = TVM_PMT("360",".0725","200000","0") ' PMT will be -631.40595650 It looks like you found an error in Laura's help files, since 7.25% should be "7.25" (and divided by 12 for monthly interest). Of course, if you give the same "wrong" numbers to a financial calculator, you get the same "wrong" answer. > I used: > eh=TVM_PMT("12",".139","1000","0") > > I see my mistake, instead of using a monthly rate (.139/12) I used > the APR of .139 in the calculations. > > Thanks Ken I never would have seen my error. I hate when I do that, > spend days on a problem and the solution is right under my nose and I > can't see it. Just plug the same numbers into filePro as you would your calculator. :-) -- Kenneth Brody From fairlite at fairlite.com Mon Apr 13 11:59:38 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 13 Apr 2009 14:59:38 -0400 Subject: XML Import In-Reply-To: <108130.98289.qm@web50701.mail.re2.yahoo.com>; from jeffaharrison@yahoo.com on Mon, Apr 13, 2009 at 11:30:16AM -0700 References: <20090413135721.A2052@iglou.com> <108130.98289.qm@web50701.mail.re2.yahoo.com> Message-ID: <20090413145937.A3993@iglou.com> On Mon, Apr 13, 2009 at 11:30:16AM -0700, after drawing runes in goat's blood, Jeff Harrison cast forth these immortal, mystical words: > Yes, it sounds like this process is going to require something or > someone thinking and making decisions. If the object is to minimize > the programming time, then Scott may want to consider using JHImport > in addition to your xml to CSV converter. JHImport would provide the > user with a wizard where they could map the csv columns to a real live > filepro record. It provides a visual interface and will create the code > necessary to perform the import. It will then run the import if desired. Sounds like a good match, and quite possibly the closest to the desired goal that one may be able to get. Your product sounds impressive, Jeff. One thing...have you seen the output of my product, and the "hints" (separate CSV records) that you have to follow in order to know where within the data structure you are? If your importer can follow that and create code to follow the desired relationships, sounds like a winning combination to me. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From jeffaharrison at yahoo.com Mon Apr 13 12:28:54 2009 From: jeffaharrison at yahoo.com (Jeff Harrison) Date: Mon, 13 Apr 2009 12:28:54 -0700 (PDT) Subject: XML Import In-Reply-To: <20090413145937.A3993@iglou.com> Message-ID: <536706.65986.qm@web50709.mail.re2.yahoo.com> --- On Mon, 4/13/09, Fairlight wrote: > From: Fairlight > Subject: Re: XML Import > To: "'filePro Mailing List'" > Date: Monday, April 13, 2009, 2:59 PM > On Mon, Apr 13, 2009 at 11:30:16AM -0700, after drawing > runes in goat's > blood, Jeff Harrison cast forth these immortal, mystical > words: > > Yes, it sounds like this process is going to require > something or > > someone thinking and making decisions. If the object > is to minimize > > the programming time, then Scott may want to consider > using JHImport > > in addition to your xml to CSV converter. JHImport > would provide the > > user with a wizard where they could map the csv > columns to a real live > > filepro record. It provides a visual interface and > will create the code > > necessary to perform the import. It will then run the > import if desired. > > Sounds like a good match, and quite possibly the closest to > the desired > goal that one may be able to get. Your product sounds > impressive, Jeff. > > One thing...have you seen the output of my product, and the > "hints" > (separate CSV records) that you have to follow in order to > know where > within the data structure you are? If your importer can > follow that and > create code to follow the desired relationships, sounds > like a winning > combination to me. > > mark-> > -- Thanks for your kind words - granted you haven't seen the product :-) No, I don't recall ever seeing the output from your converter... It sounds like you are saying that it uses record types of some sort? As it is, JHImport assumes that you are using only 1 record type - so some additional modification would be needed if there is more than one. Jeff Harrison jeffaharrison at yahoo.com Author of JHExport and JHImport. The fastest and easiest ways to export and import filepro data. From ScottWalker at RAMSystemsCorp.com Mon Apr 13 12:29:14 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Mon, 13 Apr 2009 15:29:14 -0400 Subject: XML Import In-Reply-To: <20090413135721.A2052@iglou.com> References: <000b01c9bb12$265bb6c0$73132440$@com> <20090412005648.A15865@iglou.com> <003701c9bc53$12cad540$38607fc0$@com> <20090413135721.A2052@iglou.com> Message-ID: <004a01c9bc6e$22b017c0$68104740$@com> -----Original Message----- From: filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com [mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial. com] On Behalf Of Fairlight Sent: Monday, April 13, 2009 1:57 PM To: 'filePro Mailing List' Subject: Re: XML Import >From inside the gravity well of a singularity, Scott Walker shouted: > Mark, > > Thanks for your thoughts. I looked at your xml2cvs and I can see how that > would make thinks easier. Like you said, that still leaves me with hand > coding of the fp process to look at the cvs file and walk through the > structure and figure out what to do with each line of data. Big job for one > xml source. Huge job for 20 different xml sources with different schema. > Maybe not practical to do. It's not -too- bad if the information you actually need falls in specific areas and you can prune whole areas. Actually, pruning is kind of a convenience, since you can technically just walk the data tree with entry/exit hints and ignore the rest. But it puts less CPU cycles to the job of walking the tree later in any event. See after your notes for a practical, real-world point of interest that may shoot this in the foot. > I don't have a firm idea of how this could be done in an automated or > semi-automated way. I'm just starting to think about it a get a model in my > head. > > Something like this: > > Note: My fields may be a real field number or real field name or an array > (since there may be multiple instances of a tag, like when we are handling > the line items on an order > > I would have a record like this for each XML source in my XML_Sources file: > > My Fields XML Tag (for this source) One > or Many > ========= ========================= > =========== > Cust_Code header.customer_id one > > Order_Date header.order_dt one > > Part_Num[xx] item.part_no many > > Desc[xx] item.description > many > > Qty[xx] item.quantity many > > > Then when this was run, I would end up with all the data from the xml source > in my fields/arrays. My processing would then have to manage getting this > data to my real (permenant) files. > > So when I had to deal with the next XML source, in THEORY, perhaps, I > hope/dream, that all I would have to do is create another record in my XML > Sources basically mapping the schema for that source to the fields/arrays in > my processing. At that point, there would be no additional coding necessary > to get the data to my permanent files. > > Anyhow, this is currently totally half baked and is probably ignoring all > the real world problems that will be encountered. Just a rough idea for > now. Oh, that falls down in so many ways. :( Consider a very simple multi-record response. 9087251AB Scott Nelson Mark Luljak 829025CA2 John Esak Nancy Palmquist Okay. Just that bit as a tiny real-world example of a multi-record response set...take this little bit. Assume you map first_name to a field, last_name to another field. Suddenly, you have multiple last names per record. Or do you? What are you defining as "a record"? Each instance of Billing? Each instance of Shipping? Each response? A permutation of both, with header/detail, requiring multi-pass recursion? And you want to create records automatically, based on multiple formats, where "record" could have vastly different meanings? This is why xml2csv never formally (in a release sense--or even past pre-pre-pre-pre-alpha proof-of-concept code) went the route of trying to figure it out. I started down that path, but it got so convoluted, it was absolutely impossible to generically define "what is a record"? The data correlations change with fluidity to the point where "record" changes drastically. You may be looking at sub-records of sub-records of records and calling those "records" in fP in a header-detail relationship. Or you may be looking at one single-response, where a whole response is a record. In a -really- bad case, you may be looking at something like PRIA, a standard where multiple whole data structures are repeated in different parts of the document, complete with identical information, nested 3-6 levels deep, and you're only looking at getting one particular subset of data out of it. Or different sets of data as different types of "records". The real problem becomes (and I ran into this in v00.00.01 of xml2csv when it had a whole different focus similar to yours--before I realisd it was just flat-out NOT POSSIBLE) what happens when you try to define "a record", but it's really a subset of another kind of iterative record. Now try defining that abstractly so that it applies to multiple formats. It wasn't even possible to do reasonably for -one-. Like I said, AI is basically needed for anything near the kind of black box you're talking about. I tried it with tools a lot more suited to the task than fP has (libexpat, XML::Parser in perl), and it still wasn just not possible in terms of conventional programming. You've got randomly permutated Schemas/DTDs, and you want it to intelligently define, "What is a record?" Just within the PRIA standard, ONE Schema, that wasn't even technically viable, because the reality was that it was records of records of records of records, maybe 5-6 deep, and depending on how you looked at it, it could have been any of those permutations. The real sticking point is this: 1) If you define the record scope too narrowly, you miss correlation (and indeed most likely data) outside of that record's scope. 2) If you define the record scope too widely, you miss the ability to derive meaningful header/detail relationships and form sub-records of any meaning without significant recursion. That recursion is -not- something you want to toss at filePro, or probably do at all. This is why "walking the data tree" is really the only sane way to do it reasonably. And it's why you can only go so far with something like xml2csv before you -must- roll up your sleeves and get your hands dirty coding. I spent months just looking at how to make it do what you want to do. I came to the conclusion it was simply not viable within any reasonable price point you care to name. AI people don't come cheap. It's not like I haven't given the matter considerable thought. It was on/off for two years that I considered how to do it. It was a couple months of more hardcore thinking about it before starting to code and at the start of coding. If I was still taking that approach, I wouldn't be done for another two decades, if ever. It would cost me more to learn the AI techniques necessary than I could ever recoup at any affordable price point. It would for most people, in all likelihood. Just remember: "What is a record?" Hold up 3-5 different Schemas and try to define it in some meaningful way that crosses data definition boundaries. Let me know if you succeed. I never did. mark-> Mark, Yeah I know this is an ugly problem. That's why I was asking if anyone had solved it. I did not want to reinvent this wheel if someone had already got it knocked. I am going to give this a lot of thought and explore a few avenues before proceeding. Thanks for your valued input. Regards, Scott _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From bill at celestial.com Mon Apr 13 13:18:48 2009 From: bill at celestial.com (Bill Campbell) Date: Mon, 13 Apr 2009 13:18:48 -0700 Subject: XML Import In-Reply-To: <20090413135721.A2052@iglou.com> References: <000b01c9bb12$265bb6c0$73132440$@com> <20090412005648.A15865@iglou.com> <003701c9bc53$12cad540$38607fc0$@com> <20090413135721.A2052@iglou.com> Message-ID: <20090413201848.GA29763@ayn.mi.celestial.com> On Mon, Apr 13, 2009, Fairlight wrote: > >>From inside the gravity well of a singularity, Scott Walker shouted: >> Mark, >> >> Thanks for your thoughts. I looked at your xml2cvs and I can see how that >> would make thinks easier. Like you said, that still leaves me with hand >> coding of the fp process to look at the cvs file and walk through the >> structure and figure out what to do with each line of data. Big job for one >> xml source. Huge job for 20 different xml sources with different schema. >> Maybe not practical to do. > >It's not -too- bad if the information you actually need falls in specific >areas and you can prune whole areas. Actually, pruning is kind of a >convenience, since you can technically just walk the data tree with >entry/exit hints and ignore the rest. But it puts less CPU cycles to the >job of walking the tree later in any event. > >See after your notes for a practical, real-world point of interest that may >shoot this in the foot. > ... > >Okay. Just that bit as a tiny real-world example of a multi-record >response set...take this little bit. > >Assume you map first_name to a field, last_name to another field. >Suddenly, you have multiple last names per record. Or do you? What are >you defining as "a record"? Each instance of Billing? Each instance of >Shipping? Each response? A permutation of both, with header/detail, >requiring multi-pass recursion? > >And you want to create records automatically, based on multiple formats, >where "record" could have vastly different meanings? I make no claims on being an XML expert, using it primarily with DocBook to write documentation, and using the python xmlrpc modules to do quite a few useful things between machines. I have read a fair amount about XML, and it seems to me that much of the work can be done using xslt and xpath to do the heavy lifting as thes provide fairly simple methods to transform XML to different formats, frequently HTML or XHTML without having to do much, if any, programming per se. There are a fair number of xslt processors available, xsltproc, on Red Hat and CentOS systems for one. XML can be looked upon as an object database, as opposed to a relational database, thus lending it to modelling real-world things fairly easily. The issue becomes one of mapping from that object world to the tables of a relational database or file management system such as FilePro. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 I presume you all know who I am. I am humble Abraham Lincoln. I have been solicited by many friends to become a candidate for the legistlature. My politics are short and sweet, like the old woman's dance. I am in favor of a national bank ... in favor of the internal improvements system, and a high protective tariff. -- Abraham Lincoln, 1832 From fairlite at fairlite.com Mon Apr 13 13:58:21 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 13 Apr 2009 16:58:21 -0400 Subject: XML Import In-Reply-To: <20090413201848.GA29763@ayn.mi.celestial.com>; from bill@celestial.com on Mon, Apr 13, 2009 at 01:18:48PM -0700 References: <000b01c9bb12$265bb6c0$73132440$@com> <20090412005648.A15865@iglou.com> <003701c9bc53$12cad540$38607fc0$@com> <20090413135721.A2052@iglou.com> <20090413201848.GA29763@ayn.mi.celestial.com> Message-ID: <20090413165821.A7224@iglou.com> Confusious (Bill Campbell) say: > I make no claims on being an XML expert, using it primarily with Me either. :) > There are a fair number of xslt processors available, xsltproc, > on Red Hat and CentOS systems for one. Sablotron... > XML can be looked upon as an object database, as opposed to a > relational database, thus lending it to modelling real-world > things fairly easily. The issue becomes one of mapping from that > object world to the tables of a relational database or file > management system such as FilePro. It's the relationships that become an issue. As an object, we as people have bodies. Now if you're looking at "organs", are you looking at the cardiovascular system, the sensory system, the digestive system...? All objects that are a subset of the object "body". If you look at it from the relational side, you end up asking, "What defines an organ?" and, "What defines a related set of organs?" There isn't an inherent clarity like there is with looking at it as an object model. The problem is that relational database linkage and object linkage don't get along very well without a human brain sitting between the two models. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From rtr at rsquared.com Mon Apr 13 16:41:05 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Mon, 13 Apr 2009 19:41:05 -0400 Subject: Calculate payments based on APR In-Reply-To: <49E3856F.6040001@spamcop.net> References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> Message-ID: Believe it or not at 4/13/2009 02:33 PM, Kenneth Brody said: >Robert T. Repko (R Squared Consultants) wrote: >>I followed the example Laura had in her help file. >>Interpreting the numbers in her example $200,000, 360 months (30 yr >>loan), at 7.25% >> if: ' What would be the payment for this loan? >> then: PMT = TVM_PMT("360",".0725","200000","0") ' PMT will be >> -631.40595650 > >It looks like you found an error in Laura's help files, since 7.25% >should be "7.25" (and divided by 12 for monthly interest). Of >course, if you give the same "wrong" numbers to a financial >calculator, you get the same "wrong" answer. > >>I used: >>eh=TVM_PMT("12",".139","1000","0") >>I see my mistake, instead of using a monthly rate (.139/12) I used >>the APR of .139 in the calculations. >>Thanks Ken I never would have seen my error. I hate when I do >>that, spend days on a problem and the solution is right under my >>nose and I can't see it. > >Just plug the same numbers into filePro as you would your calculator. :-) > >-- I was going to ask you about the discrepancy between what you stated and what Laura had in her help file. Is it possible to get a daily payment amount instead of monthly. I can see the need to calculate a daily rate so when people make payments I can calculate the principal and interest for x number of days. I tried substituting 365 in place of 12 but the numbers didn't come out right. From kenbrody at spamcop.net Mon Apr 13 17:23:35 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Mon, 13 Apr 2009 20:23:35 -0400 Subject: Calculate payments based on APR In-Reply-To: References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> Message-ID: <49E3D787.6030101@spamcop.net> Robert T. Repko (R Squared Consultants) wrote: [...] > Is it possible to get a daily payment amount instead of monthly. I > can see the need to calculate a daily rate so when people make > payments I can calculate the principal and interest for x number of > days. I tried substituting 365 in place of 12 but the numbers didn't > come out right. In what way didn't they "come out right"? If you make 365 payments in one year, then you divide the yearly interest rate by 365 to get the per-period interest rate, just as you would divide by 12 for 12 monthly payments. -- Kenneth Brody From rtr at rsquared.com Mon Apr 13 22:42:10 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Tue, 14 Apr 2009 01:42:10 -0400 Subject: Calculate payments based on APR In-Reply-To: <49E3D787.6030101@spamcop.net> References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> <49E3D787.6030101@spamcop.net> Message-ID: Believe it or not at 4/13/2009 08:23 PM, Kenneth Brody said: >Robert T. Repko (R Squared Consultants) wrote: >[...] >>Is it possible to get a daily payment amount instead of monthly. I >>can see the need to calculate a daily rate so when people make >>payments I can calculate the principal and interest for x number of >>days. I tried substituting 365 in place of 12 but the numbers >>didn't come out right. > >In what way didn't they "come out right"? If you make 365 payments >in one year, then you divide the yearly interest rate by 365 to get >the per-period interest rate, just as you would divide by 12 for 12 >monthly payments. > >-- >Kenneth Brody That's what I thought but when I ran it my answer was different by .315/month, 89.74 vs. 89.425 pa="12";' it will be the number of months (12, 24, 36, ...) input by data entry, but I'll use 12 in this example. pi=pa*"30.42"="365";' since I have months I have to convert to 1 year ep(8,.5)=(eo*"100")/"365" = .03808;' eo is stated as .1390 so I multiply by 100 to convert to 13.9 for use in the tvm_pmt command. ez="1000";' amount of loan eh = TVM_PMT(pi,ep,ez,"0") = $2.94 daily payment "2.94" * "365" / "12" = 89.425 2.94 is daily payment, mult. by 365 for annual payment, divide by 12 for monthly payment = 89.425. That's a difference of ~ $.315/month. Maybe I'm wrong but I wouldn't expect that much difference between daily vs. monthly calculations, and I would expect the daily calculations to be higher than the monthly calculations not lower. From kenbrody at spamcop.net Tue Apr 14 07:11:31 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 10:11:31 -0400 Subject: Calculate payments based on APR In-Reply-To: References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> <49E3D787.6030101@spamcop.net> Message-ID: <49E49993.1090707@spamcop.net> Robert T. Repko (R Squared Consultants) wrote: > Believe it or not at 4/13/2009 08:23 PM, Kenneth Brody said: [... 365 daily payments vs 12 monthly payments ...] > That's what I thought but when I ran it my answer was different by > .315/month, 89.74 vs. 89.425 [...] > eh = TVM_PMT(pi,ep,ez,"0") = $2.94 daily payment > > "2.94" * "365" / "12" = 89.425 > > 2.94 is daily payment, mult. by 365 for annual payment, divide by 12 > for monthly payment = 89.425. That's a difference of ~ > $.315/month. Maybe I'm wrong but I wouldn't expect that much > difference between daily vs. monthly calculations, and I would expect > the daily calculations to be higher than the monthly calculations not lower. Why would you expect to pay more if you pay it faster? (And the difference is about 1/3 of 1%.) Try a different angle, and you'll see this is correct. You agree that 12 monthly payments on $1,000 at 13.9% was 89.74 each, correct? (That's what filePro and your calculator both came up with.) That's a total of $1076.88 in payments. However, if you were to make a single yearly payment, you would pay $1139.00, correct? By paying it in more payments over the same time, the total payment is less. So, making 365 daily payments of $2.94 instead of 12 monthly payments of $89.74 means you pay a total of $1073.10, for a whopping $3.78 savings. -- Kenneth Brody From boaz at mirrotek.com Tue Apr 14 08:48:31 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 14 Apr 2009 11:48:31 -0400 Subject: Problem with sub-total breaks on a report Message-ID: <49E4B04F.6090508@mirrotek.com> I have a report that totals up sales and deductions on payments and then uses this to generate a commission percentage to apply to the invoice amounts generating a commission amount per customer during @wbrk2. I then have to total those up to get a total commission amount for each sales rep in @wbrk3. (@wbrk1 is on a sub-level for individual customer checks.) I use a global variable 'cl(12,,2,g)' that gets set to zero for each new sales rep. In the customer sub-totals I add the commission amount to cl. When I step through the debugger cl is correct on the customer sub-total, but when I look at it on the sales rep sub-total break the amount is not the same and I can't figure out where it came from. (During the data lines cl shows up as '/d0') In @wbrk2 I have ? If: Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch The very first line of code checks if it is on a new sales rep and, if so, sets cl(12,,2,g)="" What am I missing? From kenbrody at spamcop.net Tue Apr 14 09:25:22 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 12:25:22 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4B04F.6090508@mirrotek.com> References: <49E4B04F.6090508@mirrotek.com> Message-ID: <49E4B8F2.3010400@spamcop.net> Boaz Bezborodko wrote: [...] > I use a global variable 'cl(12,,2,g)' that gets set to zero for each new > sales rep. In the customer sub-totals I add the commission amount to cl. > When I step through the debugger cl is correct on the customer > sub-total, but when I look at it on the sales rep sub-total break the > amount is not the same and I can't figure out where it came from. Can you give us an actual example? [...] > In @wbrk2 I have > ? If: > Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch > The very first line of code checks if it is on a new sales rep and, if > so, sets cl(12,,2,g)="" > > What am I missing? You have an error on line 42. http://www.google.com/search?q=wikipedia+"error+on+line+42" -- Kenneth Brody From boaz at mirrotek.com Tue Apr 14 09:44:58 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 14 Apr 2009 12:44:58 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4B8F2.3010400@spamcop.net> References: <49E4B04F.6090508@mirrotek.com> <49E4B8F2.3010400@spamcop.net> Message-ID: <49E4BD8A.9080605@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > [...] >> I use a global variable 'cl(12,,2,g)' that gets set to zero for each >> new sales rep. In the customer sub-totals I add the commission amount >> to cl. When I step through the debugger cl is correct on the customer >> sub-total, but when I look at it on the sales rep sub-total break the >> amount is not the same and I can't figure out where it came from. > > Can you give us an actual example? > > [...] >> In @wbrk2 I have >> ? If: >> Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch >> The very first line of code checks if it is on a new sales rep and, >> if so, sets cl(12,,2,g)="" >> >> What am I missing? > > You have an error on line 42. > > http://www.google.com/search?q=wikipedia+"error+on+line+42" > When going through the data before hitting any of the breaks cl="". Once the first break point is hit it should equal '0' until given the value of ch which in my sample data is "62.32". But it only shows this when in the @wbrk routine. Once it starts going through the data lines again cl shows up as '/d0'. When it gets to @wbrk2 again it shows as "62.32" until a new ch gets added, in this case a value of '248.73' and 'cl' then correctly shows a value of '311.05'. At that point it hits @wbrk3 and the value shows '396.49' for no particular reason that I can find. There is no '396.49' anywhere in the data set I'm working with. I did find that I could get 'cl' to hold the right data if I put it in AUTO processing. But I'm trying to find out what FP is doing otherwise. From rtr at rsquared.com Tue Apr 14 09:50:37 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Tue, 14 Apr 2009 12:50:37 -0400 Subject: Calculate payments based on APR In-Reply-To: <49E49993.1090707@spamcop.net> References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> <49E3D787.6030101@spamcop.net> <49E49993.1090707@spamcop.net> Message-ID: Believe it or not at 4/14/2009 10:11 AM, Kenneth Brody said: >Robert T. Repko (R Squared Consultants) wrote: >>Believe it or not at 4/13/2009 08:23 PM, Kenneth Brody said: >[... 365 daily payments vs 12 monthly payments ...] >>That's what I thought but when I ran it my answer was different by >>.315/month, 89.74 vs. 89.425 >[...] >>eh = TVM_PMT(pi,ep,ez,"0") = $2.94 daily payment >>"2.94" * "365" / "12" = 89.425 >>2.94 is daily payment, mult. by 365 for annual payment, divide by >>12 for monthly payment = 89.425. That's a difference of ~ >>$.315/month. Maybe I'm wrong but I wouldn't expect that much >>difference between daily vs. monthly calculations, and I would >>expect the daily calculations to be higher than the monthly >>calculations not lower. > >Why would you expect to pay more if you pay it faster? (And the >difference is about 1/3 of 1%.) > >Try a different angle, and you'll see this is correct. > >You agree that 12 monthly payments on $1,000 at 13.9% was 89.74 >each, correct? (That's what filePro and your calculator both came up with.) > >That's a total of $1076.88 in payments. However, if you were to >make a single yearly payment, you would pay $1139.00, correct? By >paying it in more payments over the same time, the total payment is less. > >So, making 365 daily payments of $2.94 instead of 12 monthly >payments of $89.74 means you pay a total of $1073.10, for a whopping >$3.78 savings. > >-- >Kenneth Brody First let me say thank you for working with me on this Ken, I really do appreciate it and I hope I don't sound argumentative because I am not. The difference might be small but I didn't expect that much of a difference and the difference to be the opposite of what I expected. I could be wrong but my concern is using this in production and I found out the hard way my calculations are wrong. Lending institutions calculate compound interest on a daily basis instead of monthly basis for one reason they make more money on interest. If I compound on a daily basis the interest is compounded 30 times by the end of the month instead of once if it compounded monthly. If I pay the 1000.00 loan off on day 1 I pay 1002.94. If I don't make a payment on day 1 but pay if off on day 2 I pay 1005.88. The longer I wait to pay the more I pay in interest which makes my payments higher. If I pay monthly the I will pay more if the calculation are done on a daily basis vs monthly basis. If I quote a monthly payment I expect the payments to be higher if I compound daily vs monthly. From boaz at mirrotek.com Tue Apr 14 11:59:57 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 14 Apr 2009 14:59:57 -0400 Subject: Problem with sub-total breaks on a report - In-Reply-To: References: <49E4B04F.6090508@mirrotek.com> <49E4B8F2.3010400@spamcop.net> <49E4BD8A.9080605@mirrotek.com> Message-ID: <49E4DD2D.20703@mirrotek.com> Steve Wiltsie wrote: > Boaz, > > In the Automatic table, does is cl set as (12,,2,g) or (12,2,g)? > > Steve Wiltsie > microCONCEPTS > > -----Original Message----- > From: filepro-list-bounces+swiltsie=micro-mui.com at lists.celestial.com > [mailto:filepro-list-bounces+swiltsie=micro-mui.com at lists.celestial.com] > On Behalf Of Boaz Bezborodko > Sent: Tuesday, April 14, 2009 11:45 AM > To: Kenneth Brody > Cc: filepro-list at lists.celestial.com > Subject: [SPAM] - Re: Problem with sub-total breaks on a report - Found > word(s) list error in the Text body > > > > Kenneth Brody wrote: > >> Boaz Bezborodko wrote: >> [...] >> >>> I use a global variable 'cl(12,,2,g)' that gets set to zero for each >>> new sales rep. In the customer sub-totals I add the commission amount >>> > > >>> to cl. When I step through the debugger cl is correct on the customer >>> > > >>> sub-total, but when I look at it on the sales rep sub-total break the >>> > > >>> amount is not the same and I can't figure out where it came from. >>> >> Can you give us an actual example? >> >> [...] >> >>> In @wbrk2 I have >>> ? If: >>> Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch >>> The very first line of code checks if it is on a new sales rep and, >>> if so, sets cl(12,,2,g)="" >>> >>> What am I missing? >>> >> You have an error on line 42. >> >> http://www.google.com/search?q=wikipedia+"error+on+line+42" >> >> > When going through the data before hitting any of the breaks cl="". > Once the first break point is hit it should equal '0' until given the > value of ch which in my sample data is "62.32". But it only shows this > when in the @wbrk routine. Once it starts going through the data lines > again cl shows up as '/d0'. When it gets to @wbrk2 again it shows as > "62.32" until a new ch gets added, in this case a value of '248.73' and > 'cl' then correctly shows a value of '311.05'. At that point it hits > @wbrk3 and the value shows '396.49' for no particular reason that I can > find. There is no '396.49' anywhere in the data set I'm working with. > > I did find that I could get 'cl' to hold the right data if I put it in > AUTO processing. But I'm trying to find out what FP is doing otherwise. > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > It was (12,,2,g). When I put cl(12,,2,g) into the Automatic table it worked. When it wasn't there I had the problems listed. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090414/74ebe40b/attachment.html From kenbrody at spamcop.net Tue Apr 14 12:03:18 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 15:03:18 -0400 Subject: Calculate payments based on APR In-Reply-To: References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> <49E3D787.6030101@spamcop.net> <49E49993.1090707@spamcop.net> Message-ID: <49E4DDF6.9010200@spamcop.net> Robert T. Repko (R Squared Consultants) wrote: [...] > First let me say thank you for working with me on this Ken, I really > do appreciate it and I hope I don't sound argumentative because I am not. > > The difference might be small but I didn't expect that much of a > difference and the difference to be the opposite of what I > expected. I could be wrong but my concern is using this in > production and I found out the hard way my calculations are wrong. > > Lending institutions calculate compound interest on a daily basis > instead of monthly basis for one reason they make more money on interest. Ah. You're not talking about making daily payments, but rather compounding interest on a daily basis, but still making monthly payments. That's a different thing entirely. > If I compound on a daily basis the interest is compounded 30 times by > the end of the month instead of once if it compounded monthly. > > If I pay the 1000.00 loan off on day 1 I pay 1002.94. If I don't > make a payment on day 1 but pay if off on day 2 I pay 1005.88. The > longer I wait to pay the more I pay in interest which makes my > payments higher. If I pay monthly the I will pay more if the > calculation are done on a daily basis vs monthly basis. If I quote a > monthly payment I expect the payments to be higher if I compound > daily vs monthly. What you need to do is not calculate payments, but calculate future value based on zero payments. If I recall, they use a 360-day calendar, assuming 30 days per calendar month. These examples use that assumption. Change them as needed if I am wrong here. You need to take the APR and divide by 360 for the daily interest rate. Then, you need to calculate the future value with the TVM_FV() function, as in: AmountDueAfterXDays = TVM_FV(NumberOfDays,APR/"360",PresentValue,"0") For example, with the 13.9% used before: due = tvm_fv(numdays,"13.9"/"360","1000","0") This shows how much is owed after "numdays" days, assuming no payments were made. Note that the payoff amount after 1 day is not $1002.94 as you use in the example above. The $2.94 "daily payment" amount includes paying down the principal, in addition to accrued interest. The amount of actual interest after 1 day is 39 cents. If you go 30 days (one "credit card" month), the balance would be $1011.65, which gives an annualized rate of 13.98% on the 13.9% APR. If you were to not pay for the entire year (and they didn't charge penalties for the same of this calculation), then the amount owed would be $1149.09, which amounts to a 14.909% rate. -- Kenneth Brody From john at valar.com Tue Apr 14 12:05:34 2009 From: john at valar.com (John Esak) Date: Tue, 14 Apr 2009 15:05:34 -0400 Subject: Calculate payments based on APR In-Reply-To: References: <49E2A76F.7000205@spamcop.net> <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> <49E3D787.6030101@spamcop.net> <49E49993.1090707@spamcop.net> Message-ID: <018FE64C9CE24A62AE2BA6AA02592D68@CENTURY.21appr.com> Yeah, and imagine if you had a million $3.78's, boy then I'd want a bigger calculator. Like the current Obama jokes.... a trillion here, a trillion there and pretty soon we're talking *real* money. Now, this is funny on so many levels I can't stop laughing (or crying) long enough to explain it to anyone who doesn't get it right away. Kind of like the old saw "There are only 10 types of people, those who know binary, and those who don't." :-) Money is only *real* when it is yours... so whether some nebulous printing house is churning it out by the sheet, it shouldn't bother anybody. Okay wait, the laughing or crying thing... I've made up my mind... it's definitely crying... :-( :-) John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co > m] On Behalf Of Robert T. Repko (R Squared Consultants) > Sent: Tuesday, April 14, 2009 12:51 PM > To: filepro-list at lists.celestial.com > Cc: filepro-list at lists.celestial.com > Subject: Re: Calculate payments based on APR > > Believe it or not at 4/14/2009 10:11 AM, Kenneth Brody said: > >Robert T. Repko (R Squared Consultants) wrote: > >>Believe it or not at 4/13/2009 08:23 PM, Kenneth Brody said: > >[... 365 daily payments vs 12 monthly payments ...] > >>That's what I thought but when I ran it my answer was different by > >>.315/month, 89.74 vs. 89.425 > >[...] > >>eh = TVM_PMT(pi,ep,ez,"0") = $2.94 daily payment > >>"2.94" * "365" / "12" = 89.425 > >>2.94 is daily payment, mult. by 365 for annual payment, divide by > >>12 for monthly payment = 89.425. That's a difference of ~ > >>$.315/month. Maybe I'm wrong but I wouldn't expect that much > >>difference between daily vs. monthly calculations, and I would > >>expect the daily calculations to be higher than the monthly > >>calculations not lower. > > > >Why would you expect to pay more if you pay it faster? (And the > >difference is about 1/3 of 1%.) > > > >Try a different angle, and you'll see this is correct. > > > >You agree that 12 monthly payments on $1,000 at 13.9% was 89.74 > >each, correct? (That's what filePro and your calculator > both came up with.) > > > >That's a total of $1076.88 in payments. However, if you were to > >make a single yearly payment, you would pay $1139.00, correct? By > >paying it in more payments over the same time, the total > payment is less. > > > >So, making 365 daily payments of $2.94 instead of 12 monthly > >payments of $89.74 means you pay a total of $1073.10, for a whopping > >$3.78 savings. > > > >-- > >Kenneth Brody > > First let me say thank you for working with me on this Ken, I really > do appreciate it and I hope I don't sound argumentative > because I am not. > > The difference might be small but I didn't expect that much of a > difference and the difference to be the opposite of what I > expected. I could be wrong but my concern is using this in > production and I found out the hard way my calculations are wrong. > > Lending institutions calculate compound interest on a daily basis > instead of monthly basis for one reason they make more money > on interest. > > If I compound on a daily basis the interest is compounded 30 times by > the end of the month instead of once if it compounded monthly. > > If I pay the 1000.00 loan off on day 1 I pay 1002.94. If I don't > make a payment on day 1 but pay if off on day 2 I pay 1005.88. The > longer I wait to pay the more I pay in interest which makes my > payments higher. If I pay monthly the I will pay more if the > calculation are done on a daily basis vs monthly basis. If I quote a > monthly payment I expect the payments to be higher if I compound > daily vs monthly. > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From kenbrody at spamcop.net Tue Apr 14 11:17:23 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 14:17:23 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4BD8A.9080605@mirrotek.com> References: <49E4B04F.6090508@mirrotek.com> <49E4B8F2.3010400@spamcop.net> <49E4BD8A.9080605@mirrotek.com> Message-ID: <49E4D333.3080303@spamcop.net> Boaz Bezborodko wrote: [...] >>> In @wbrk2 I have >>> ? If: >>> Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch >>> The very first line of code checks if it is on a new sales rep and, >>> if so, sets cl(12,,2,g)="" [...] > When going through the data before hitting any of the breaks cl="". > Once the first break point is hit it should equal '0' until given the > value of ch which in my sample data is "62.32". But it only shows this > when in the @wbrk routine. Once it starts going through the data lines > again cl shows up as '/d0'. When it gets to @wbrk2 again it shows as > "62.32" until a new ch gets added, in this case a value of '248.73' and > 'cl' then correctly shows a value of '311.05'. At that point it hits > @wbrk3 and the value shows '396.49' for no particular reason that I can > find. There is no '396.49' anywhere in the data set I'm working with. The value of CL is based on CH, which is based on CG and CA, which are based on ???... Without actual examples of all the data involved, we can only guess. And my guess is that you are not doing what you think you are doing with regard to dummy fields and multiple break levels. > I did find that I could get 'cl' to hold the right data if I put it in > AUTO processing. But I'm trying to find out what FP is doing otherwise. And that further points to my comment above about dummy fields and multiple break levels. You may want to check out "Output Processing: subtotals, dummy fields, aliases and arrays", published in SmallTalk 9.3 (summer '92). http://www.hvcomputer.com/download/output.txt -- Kenneth Brody From john at valar.com Tue Apr 14 12:20:40 2009 From: john at valar.com (John Esak) Date: Tue, 14 Apr 2009 15:20:40 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4B04F.6090508@mirrotek.com> References: <49E4B04F.6090508@mirrotek.com> Message-ID: What you are missing is that you must first track down why you are getting the divide-by-zero error. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co > m] On Behalf Of Boaz Bezborodko > Sent: Tuesday, April 14, 2009 11:49 AM > To: filepro-list at lists.celestial.com > Subject: Problem with sub-total breaks on a report > > I have a report that totals up sales and deductions on > payments and then > uses this to generate a commission percentage to apply to the invoice > amounts generating a commission amount per customer during @wbrk2. I > then have to total those up to get a total commission amount for each > sales rep in @wbrk3. (@wbrk1 is on a sub-level for individual > customer > checks.) > > I use a global variable 'cl(12,,2,g)' that gets set to zero > for each new > sales rep. In the customer sub-totals I add the commission > amount to cl. > When I step through the debugger cl is correct on the customer > sub-total, but when I look at it on the sales rep sub-total break the > amount is not the same and I can't figure out where it came from. > > (During the data lines cl shows up as '/d0') > > In @wbrk2 I have > ? If: > Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch > The very first line of code checks if it is on a new sales > rep and, if > so, sets cl(12,,2,g)="" > > What am I missing? > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From boaz at mirrotek.com Tue Apr 14 12:27:26 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 14 Apr 2009 15:27:26 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4D333.3080303@spamcop.net> References: <49E4B04F.6090508@mirrotek.com> <49E4B8F2.3010400@spamcop.net> <49E4BD8A.9080605@mirrotek.com> <49E4D333.3080303@spamcop.net> Message-ID: <49E4E39E.3060005@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > [...] >>>> In @wbrk2 I have >>>> ? If: >>>> Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch >>>> The very first line of code checks if it is on a new sales rep and, >>>> if so, sets cl(12,,2,g)="" > [...] >> When going through the data before hitting any of the breaks cl="". >> Once the first break point is hit it should equal '0' until given the >> value of ch which in my sample data is "62.32". But it only shows >> this when in the @wbrk routine. Once it starts going through the >> data lines again cl shows up as '/d0'. When it gets to @wbrk2 again >> it shows as "62.32" until a new ch gets added, in this case a value >> of '248.73' and 'cl' then correctly shows a value of '311.05'. At >> that point it hits @wbrk3 and the value shows '396.49' for no >> particular reason that I can find. There is no '396.49' anywhere in >> the data set I'm working with. > > The value of CL is based on CH, which is based on CG and CA, which are > based on ???... > > Without actual examples of all the data involved, we can only guess. > And my guess is that you are not doing what you think you are doing > with regard to dummy fields and multiple break levels. > >> I did find that I could get 'cl' to hold the right data if I put it >> in AUTO processing. But I'm trying to find out what FP is doing >> otherwise. > > And that further points to my comment above about dummy fields and > multiple break levels. You may want to check out "Output Processing: > subtotals, dummy fields, aliases and arrays", published in SmallTalk > 9.3 (summer '92). > > http://www.hvcomputer.com/download/output.txt > CG and CA are values that come from the TOT command. I thought that by putting the resulting data in a global (,g) variable in the break point I was freezing it in place. But apparently that only happens if the variable is also in the Auto processing table. I know that TOT can get confusing when working in the break levels which was why I wanted to pull this out separately. From bill at celestial.com Tue Apr 14 12:43:19 2009 From: bill at celestial.com (Bill Campbell) Date: Tue, 14 Apr 2009 12:43:19 -0700 Subject: Calculate payments based on APR In-Reply-To: <018FE64C9CE24A62AE2BA6AA02592D68@CENTURY.21appr.com> References: <49E2AF76.5030401@spamcop.net> <49E3856F.6040001@spamcop.net> <49E3D787.6030101@spamcop.net> <49E49993.1090707@spamcop.net> <018FE64C9CE24A62AE2BA6AA02592D68@CENTURY.21appr.com> Message-ID: <20090414194319.GA29826@ayn.mi.celestial.com> On Tue, Apr 14, 2009, John Esak wrote: >Yeah, and imagine if you had a million $3.78's, boy then I'd want a bigger >calculator. > >Like the current Obama jokes.... a trillion here, a trillion there and >pretty soon we're talking *real* money. There hasn't been Real Money(tm) in use much since 1913 when the Fed was given a license to conterfeit, and the final nail was put it the world economy's coffin in 1971(?) when Nixon dropped any tie of the U.S. Dollar to gold. Thomas Paine, author of ``Common Sense'' called for the death penalty to anybody advocating paper money and legal tender laws. >Now, this is funny on so many levels I can't stop laughing (or crying) long >enough to explain it to anyone who doesn't get it right away. > >Kind of like the old saw "There are only 10 types of people, those who know >binary, and those who don't." :-) > >Money is only *real* when it is yours... so whether some nebulous printing >house is churning it out by the sheet, it shouldn't bother anybody. The printing press dilutes the value of whatever currency is being printed, eventually to zero. There has never been a fiat paper money in history that did not eventually become worthless. Paper is worth about $80/ton no matter how many zeros one prints on it. As for the NPV and interest calculations, I probably still have my HP-97 program books which have the formulae for calculating these. At one point I could program them into my HP-25 without thinking about them, only slightly slower than finding the magnetic card for the HP-97 and loading them. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Democracy is the theory that the common people know what they want and deserve to get it good and hard. == H.L. Mencken From kenbrody at spamcop.net Tue Apr 14 16:59:50 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 19:59:50 -0400 Subject: XML Import In-Reply-To: <20090413135721.A2052@iglou.com> References: <000b01c9bb12$265bb6c0$73132440$@com> <20090412005648.A15865@iglou.com> <003701c9bc53$12cad540$38607fc0$@com> <20090413135721.A2052@iglou.com> Message-ID: <49E52376.50509@spamcop.net> Fairlight wrote: [...] > Consider a very simple multi-record response. [... mega-snip ...] > Just remember: "What is a record?" Hold up 3-5 different Schemas and try > to define it in some meaningful way that crosses data definition > boundaries. Let me know if you succeed. I never did. For anyone wondering "why is fPTech working on an XML export before an import", you should re-read Mark's post. -- Kenneth Brody From kenbrody at spamcop.net Tue Apr 14 17:11:34 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 20:11:34 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4E39E.3060005@mirrotek.com> References: <49E4B04F.6090508@mirrotek.com> <49E4B8F2.3010400@spamcop.net> <49E4BD8A.9080605@mirrotek.com> <49E4D333.3080303@spamcop.net> <49E4E39E.3060005@mirrotek.com> Message-ID: <49E52636.9090909@spamcop.net> Boaz Bezborodko wrote: [...] > CG and CA are values that come from the TOT command. Which only partially answers my question about how they are calculated. What are they the TOT() of? (I cringe at the syntax of that sentence. Please don't take me to task over it.) > I thought that by > putting the resulting data in a global (,g) variable in the break point > I was freezing it in place. But apparently that only happens if the > variable is also in the Auto processing table. Putting the ",g" attribute means that they won't be cleared between records, and this holds regardless of where they are declared. The difference here is that a dummy field declared in automatic processing won't have multiple break-level copies, whereas one declared in output processing will. The SmallTalk article I mentioned eariler goes into this in much greater detail. http://www.hvcomputer.com/download/output.txt So, CL, CH, CG, and CA all have multiple copies for the multiple break levels. (Until, that is, you moved CL into automatic processing, at which point it lost that property.) Because CG and CA have multiple break-level copies, they hold the TOT() for that break level. The @WBRK2 copies can have different values than the @WBRK3 copies, which would, in turn, cause different values for CH, which in turn cause different values for CL. That is why a simple "CG and CA are values that come from the TOT command" answer doesn't suffice here. > I know that TOT can get confusing when working in the break levels which > was why I wanted to pull this out separately. Read the above article and see if you are still confused. -- Kenneth Brody From kenbrody at spamcop.net Tue Apr 14 16:49:47 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 14 Apr 2009 19:49:47 -0400 Subject: XML Import In-Reply-To: <002c01c9bc4f$45fbadd0$d1f30970$@com> References: <000b01c9bb12$265bb6c0$73132440$@com> <200904120403.n3C43GfK029050@admin114.securesites.net> <002c01c9bc4f$45fbadd0$d1f30970$@com> Message-ID: <49E5211B.1030504@spamcop.net> Scott Walker wrote: > > Thanks for the input. I need to get on something with this. I was hoping > someone had developed a generic "black box" where you could plug in the xml > schema info and your fp file map info and have it do a lot of the heavy > lifting. With the fact that every xml file from a different source will > have a different schema the only constant is my applications layout. > Perhaps each xml source will have to be programmed by hand. I will have to > do some real thinking on this. There has to be a better way than that. [...] I don't think there can be a "generic black box" when it comes to XML, unless you can impose some sort of standardization on the files you are going to import. The fact that the field you are looking for may be a "" node within a "" node when coming from company A, and a "" node within a "" from company B means that someone, somewhere, needs to tell filePro where things are at least once. Perhaps you could write a single import within filePro, and use XSLT to massage whatever varied formats you get from the different sources into a "standard" XML format? -- Kenneth Brody From bill at celestial.com Tue Apr 14 19:34:44 2009 From: bill at celestial.com (Bill Campbell) Date: Tue, 14 Apr 2009 19:34:44 -0700 Subject: XML Import In-Reply-To: <49E5211B.1030504@spamcop.net> References: <000b01c9bb12$265bb6c0$73132440$@com> <200904120403.n3C43GfK029050@admin114.securesites.net> <002c01c9bc4f$45fbadd0$d1f30970$@com> <49E5211B.1030504@spamcop.net> Message-ID: <20090415023444.GA22771@ayn.mi.celestial.com> On Tue, Apr 14, 2009, Kenneth Brody wrote: >Scott Walker wrote: >> >> Thanks for the input. I need to get on something with this. I was hoping >> someone had developed a generic "black box" where you could plug in the xml >> schema info and your fp file map info and have it do a lot of the heavy >> lifting. With the fact that every xml file from a different source will >> have a different schema the only constant is my applications layout. >> Perhaps each xml source will have to be programmed by hand. I will have to >> do some real thinking on this. There has to be a better way than that. >[...] > >I don't think there can be a "generic black box" when it comes to XML, >unless you can impose some sort of standardization on the files you are >going to import. The fact that the field you are looking for may be a >"" node within a "" node when coming from company A, and a >"" node within a "" from company B means that someone, >somewhere, needs to tell filePro where things are at least once. Standardization of things like this is why XML supports schemas, DTDs, and validation against these. There are standards for many (most) types of XML documents used in business as these are necessary for many of the B2B transactions now using XML for electronic data exchange. Don't ask me for details as this is not an area in which I have any significant expertise, only one that I have read about in passing while doing other things. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. From gccconsulting at comcast.net Wed Apr 15 07:28:42 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Wed, 15 Apr 2009 10:28:42 -0400 Subject: Problem with sub-total breaks on a report In-Reply-To: <49E4BD8A.9080605@mirrotek.com> References: <49E4B04F.6090508@mirrotek.com> <49E4B8F2.3010400@spamcop.net> <49E4BD8A.9080605@mirrotek.com> Message-ID: <013b01c9bdd6$7a2f48e0$6e8ddaa0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Boaz Bezborodko > Sent: Tuesday, April 14, 2009 12:45 PM > To: Kenneth Brody > Cc: filepro-list at lists.celestial.com > Subject: Re: Problem with sub-total breaks on a report > > > > Kenneth Brody wrote: > > Boaz Bezborodko wrote: > > [...] > >> I use a global variable 'cl(12,,2,g)' that gets set to zero for each > >> new sales rep. In the customer sub-totals I add the commission amount > >> to cl. When I step through the debugger cl is correct on the customer > >> sub-total, but when I look at it on the sales rep sub-total break the > >> amount is not the same and I can't figure out where it came from. > > > > Can you give us an actual example? > > > > [...] > >> In @wbrk2 I have > >> ? If: > >> Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch > >> The very first line of code checks if it is on a new sales rep and, > >> if so, sets cl(12,,2,g)="" > >> > >> What am I missing? > > > > You have an error on line 42. > > > > http://www.google.com/search?q=wikipedia+"error+on+line+42" > > > When going through the data before hitting any of the breaks cl="". > Once the first break point is hit it should equal '0' until given the > value of ch which in my sample data is "62.32". But it only shows this > when in the @wbrk routine. Once it starts going through the data lines > again cl shows up as '/d0'. When it gets to @wbrk2 again it shows as > "62.32" until a new ch gets added, in this case a value of '248.73' and > 'cl' then correctly shows a value of '311.05'. At that point it hits > @wbrk3 and the value shows '396.49' for no particular reason that I can > find. There is no '396.49' anywhere in the data set I'm working with. > > I did find that I could get 'cl' to hold the right data if I put it in > AUTO processing. But I'm trying to find out what FP is doing otherwise. My usual solution to handling this type of calculation is to use an array to hold the totals which total for each detail line. Since some of my application can have up to 6 commission splits on any one detail line and each of these are a percentage of the whole commission due, I have found this the easiest way to handle. You can use each element of the array to hold the value needed at each break point. Just remember to clear that element, if necessary. Also, since you seem to be getting a divide zero error, I would test ca gt "0" before doing this calculation, Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From garyolman1 at hvc.rr.com Fri Apr 17 05:54:06 2009 From: garyolman1 at hvc.rr.com (Gary Olman) Date: Fri, 17 Apr 2009 08:54:06 -0400 Subject: Printers on USB port Message-ID: <005301c9bf5b$986f7420$c94e5c60$@rr.com> I cannot seem to get my HP4100 printer to work. I have it connected to a USB port on my Laptop, XP Filepro 5.1. That is I cannot get it print while in filepro. Can some one help? Thanks Gary From gccconsulting at comcast.net Fri Apr 17 07:10:42 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 17 Apr 2009 10:10:42 -0400 Subject: Printers on USB port In-Reply-To: <005301c9bf5b$986f7420$c94e5c60$@rr.com> References: <005301c9bf5b$986f7420$c94e5c60$@rr.com> Message-ID: <008c01c9bf66$4b648ca0$e22da5e0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Gary Olman > Sent: Friday, April 17, 2009 8:54 AM > To: Filepro-list at lists.celestial.com > Subject: Printers on USB port > > I cannot seem to get my HP4100 printer to work. I have it connected to a USB > port on my Laptop, XP Filepro 5.1. That is I cannot get it print while in > filepro. Can some one help? > Thanks > Gary How do you have the fp destination set? It should be the name windows has assigned to it under printer and faxes. Assume that the name assigned is HP4100 pcl5e, the in print destination you would put Win: HP4100 pcl5e Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From kenbrody at spamcop.net Fri Apr 17 08:38:00 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 17 Apr 2009 11:38:00 -0400 Subject: Printers on USB port In-Reply-To: <005301c9bf5b$986f7420$c94e5c60$@rr.com> References: <005301c9bf5b$986f7420$c94e5c60$@rr.com> Message-ID: <49E8A258.1050608@spamcop.net> Gary Olman wrote: > I cannot seem to get my HP4100 printer to work. I have it connected to a USB > port on my Laptop, XP Filepro 5.1. That is I cannot get it print while in > filepro. Can some one help? Is this a LaserJet 4100, or OfficeJet 4100? If it's the LaserJet 4100, then simply set the destination to "win:printername", where "printername" is the name as known to Windows, and set the type to one of the many PCL-5 printer types. If you have filePro version 5.6.02 or later, you can use F6 within the "destination" field in pmaint to select from a list of installed printers. If it's the OfficeJet 4100, which is a "host-based" printer, then you need to go through a third-party print utility, such as the Atlantis program supplied with filePro. Check the "FP2RTF" information. -- Kenneth Brody From garyolman1 at hvc.rr.com Fri Apr 17 09:18:30 2009 From: garyolman1 at hvc.rr.com (Gary Olman) Date: Fri, 17 Apr 2009 12:18:30 -0400 Subject: Printer on USB port Message-ID: <002701c9bf78$28a67c70$79f37550$@rr.com> Thanks to all. I have enough info to fix this. Gary From kenbrody at spamcop.net Fri Apr 17 09:25:39 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 17 Apr 2009 12:25:39 -0400 Subject: Printer on USB port In-Reply-To: <002701c9bf78$28a67c70$79f37550$@rr.com> References: <002701c9bf78$28a67c70$79f37550$@rr.com> Message-ID: <49E8AD83.9060402@spamcop.net> Gary Olman wrote: > Thanks to all. I have enough info to fix this. Was it the LJ4100 or OJ4100, and which solution did you use? -- Kenneth Brody From kenbrody at spamcop.net Fri Apr 17 09:49:57 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 17 Apr 2009 12:49:57 -0400 Subject: Printer on USB port In-Reply-To: <003401c9bf7b$17020220$45060660$@rr.com> References: <002701c9bf78$28a67c70$79f37550$@rr.com> <49E8AD83.9060402@spamcop.net> <003401c9bf7b$17020220$45060660$@rr.com> Message-ID: <49E8B335.3040201@spamcop.net> Gary Olman wrote: > I have a C4100 which is a windows only printer. I will look at fp2rtf, but > probably end up with print wizard [...] From that, I take it yoi mean that it was neither the LaserJet 4100 nor the OfficeJet 4100, but the Photosmart C4100? -- Kenneth Brody From lgf at lgfcomputers.net Tue Apr 21 07:30:27 2009 From: lgf at lgfcomputers.net (Ed Hilovsky) Date: Tue, 21 Apr 2009 10:30:27 -0400 Subject: pfouts Message-ID: <49EDD883.6000608@lgfcomputers.net> Does anyone have any experience with pfouts and a "virtual" COM port created when using an Ethernet to Serial converter. All of this is under Centos Linux, release 3.6, using filepro 5.0.14R4 Thanks, -- Ed Hilovsky LGF Computers Office: (724) 463-7633 (800) 653-8479 Fax: (866) 448-5415 Mobile: (412) 289-1773 lgf at lgfcomputers.net From kenbrody at spamcop.net Tue Apr 21 07:48:59 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 21 Apr 2009 10:48:59 -0400 Subject: pfouts In-Reply-To: <49EDD883.6000608@lgfcomputers.net> References: <49EDD883.6000608@lgfcomputers.net> Message-ID: <49EDDCDB.1090007@spamcop.net> Ed Hilovsky wrote: > Does anyone have any experience with pfouts and a "virtual" COM port > created when using an Ethernet to Serial converter. > All of this is under Centos Linux, release 3.6, using filepro 5.0.14R4 As long as it can be accessed with "/dev/something" and acts like a tty port with regard to ioctl() calls, it should work just fine. -- Kenneth Brody From rkreiss at verizon.net Tue Apr 21 14:28:22 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Tue, 21 Apr 2009 17:28:22 -0400 Subject: report printing Message-ID: <001501c9c2c8$198f76d0$4cae6470$@net> Win XP Pro filePro 5.6.06 Runtime Have an odd issue with printing. This is for my community database. All of the reports print without a problem here in my office. I went to print 2 reports(forms) in the clubhouse office. The new emergency number form printed without a problem. An older resident questionnaire form would not print. The output was generated, the print light on the printer flashed but nothing printed. I tested a few other reports and they all printed. I was able to print the questionnaires back here on my laser printer. Now to the question, any ideas as to why this one form wouldn't print? Richard From ras at anzio.com Tue Apr 21 15:14:03 2009 From: ras at anzio.com (Bob Rasmussen) Date: Tue, 21 Apr 2009 15:14:03 -0700 (PDT) Subject: report printing In-Reply-To: <001501c9c2c8$198f76d0$4cae6470$@net> References: <001501c9c2c8$198f76d0$4cae6470$@net> Message-ID: On Tue, 21 Apr 2009, Richard Kreiss wrote: > ... > I tested a few other reports and they all printed. > > I was able to print the questionnaires back here on my laser printer. > > Now to the question, any ideas as to why this one form wouldn't print? It had PCL in it? Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From kenbrody at spamcop.net Tue Apr 21 15:50:39 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 21 Apr 2009 18:50:39 -0400 Subject: report printing In-Reply-To: <001501c9c2c8$198f76d0$4cae6470$@net> References: <001501c9c2c8$198f76d0$4cae6470$@net> Message-ID: <49EE4DBF.4050308@spamcop.net> Richard Kreiss wrote: > Win XP Pro > filePro 5.6.06 Runtime > > Have an odd issue with printing. > > This is for my community database. > > All of the reports print without a problem here in my office. What type of printer do you have in your office? > I went to print 2 reports(forms) in the clubhouse office. The new emergency Are they reports or forms? > number form printed without a problem. An older resident questionnaire form > would not print. The output was generated, the print light on the printer > flashed but nothing printed. What type of printer do they have at the clubhouse? > I tested a few other reports and they all printed. > > I was able to print the questionnaires back here on my laser printer. Given that there are literally hundreds (if not more) makes and models of "laser printers", we need a bit more information. > Now to the question, any ideas as to why this one form wouldn't print? What's different about the forms that printed and the one that didn't? Height, width, printer type, init code, end code, etc. etc. etc.??? -- Kenneth Brody From jlasman at telus.net Tue Apr 21 16:22:26 2009 From: jlasman at telus.net (Jim Asman) Date: Tue, 21 Apr 2009 16:22:26 -0700 Subject: report printing Message-ID: --------------- Original Message --------------- At 05:28P Tue Apr 21 2009, Richard Kreiss wrote: > > Win XP Pro > filePro 5.6.06 Runtime > > Have an odd issue with printing. > > This is for my community database. > > All of the reports print without a problem here in my office. > > I went to print 2 reports(forms) in the clubhouse office. The new emergency > number form printed without a problem. An older resident questionnaire form > would not print. The output was generated, the print light on the printer > flashed but nothing printed. > > I tested a few other reports and they all printed. > > I was able to print the questionnaires back here on my laser printer. > > Now to the question, any ideas as to why this one form wouldn't print? > Try putting a printcode $1b &k2G on the top line of the output format. Jim -- jlasman at telus.net Spectra Colour Services Ltd. Jim Asman 10221 144a Street Phone: (604)584-0977 Surrey, BC V3R 3P7 CANADA Cell: (604)619-0977 www.spectracolorservices.com From ras at anzio.com Wed Apr 22 09:04:48 2009 From: ras at anzio.com (Bob Rasmussen) Date: Wed, 22 Apr 2009 09:04:48 -0700 (PDT) Subject: report printing In-Reply-To: <005a01c9c351$6eb8c560$4c2a5020$@net> References: <001501c9c2c8$198f76d0$4cae6470$@net> <005a01c9c351$6eb8c560$4c2a5020$@net> Message-ID: On Wed, 22 Apr 2009, Richard Kreiss wrote: > > The report uses Jim Asman's HP LaserJet 6P print table. > > I did run 2 small selection sets through Printwizard to pdf before printing > but this was so I could check the records selected prior to printing. I don't recall you telling us what kind of printer it was. Probably it's a printer that can't accept PCL. If that's the case, and you have Print Wizard, use Print Wizard to print the report - it isn't just for PDF generation, you know. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From john.esak at 21appr.com Wed Apr 22 07:47:27 2009 From: john.esak at 21appr.com (John Esak) Date: Wed, 22 Apr 2009 10:47:27 -0400 Subject: tip about a problem you can run into with readline() - and a workaround Message-ID: <93AF9BB0D94F49F6A96F4F7C47951736@CENTURY.21appr.com> Hi, We just had two instances where readline() didn't work properly. Ken says he has seen this behavior on some systems only, and I know for a fact that it doesn't happen on most of the systems on which I work. The problem occurred today on a 2008 server running 5.6.6. There are a couple variations of the symptom. Either you get the dreaded Windows Exception Error, or you simply get a failed readline() of a correctly opened file. In other words you open a file, get a good handle and the first readline() you try fails.... either nicely or badly. :-) Here is the code and the workaround. then: declare h_o(8,.0), h_rl(5,.0) then: h_o=open("\temp\dir\filename",line) The file you open can be in a variable instead of a literal, same problem. To avoid the problem all you have to do is *specify* the number of characters to fill into your destination variable, in this case the declared variable line. Like this: then readline(h_o,line,"2048") The docs say this parameter is optional, but to be sure to avoid this problem, always fill it. Make the value large like "2048". It just has to be larger then the number of characters you might ever expect to see on any line including the newline at the end. If you specify a number too small, like say "80"... and there are 126 characters along one of the lines in the file, you would fill the variable with 80 characters and your pointer would be waiting there at position 81 for the next thing to do. This is usually not what you want with the readline() command, you usually want the entire line up to the newline... leaving the file pointer at the beginning of the next line to do it all again should you want the next row of characters. So anyway, that's it. Caused a lot of hassle not knowing why we were blowing up. I've sent this to ken and support, so hopefully, a more succinct warning will be put into the docs. I, myself, have always put a large number as the 3rd parameter in readline()... was just lazy this time because I knew all the lines would be fairly short. I've always put a "2048" to avoid the scenario described in the above paragraph. So if you see the "2048" in all of my accounting and even the training chapter on readline() in the Survivor Tutuorials, you'll know why it's there now. However, now that we know you can actually experience a breakdown if you don't have such a large number, why invite trouble. Rmember, you might not be seeing anything wrong on your own development system. But what if your program gets used elsewhere like happened to me last night and today where it does blow up. I don't think it is O/S related. In other words it may not have been the fact that it happened on a 2008 Server system this time... it may be something in the environment, the version of the kernel, what other stuff is running at the time, who knows? So, be safe, use this tip. Take care, John Esak John Esak 21st Century Appraisals, Inc 1801 Oberlin Rd, Middletown, PA 17057 717-985-0200 x 1141 john.esak at 21appr.com From rkreiss at verizon.net Wed Apr 22 06:47:55 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Wed, 22 Apr 2009 09:47:55 -0400 Subject: report printing In-Reply-To: <49EE4DBF.4050308@spamcop.net> References: <001501c9c2c8$198f76d0$4cae6470$@net> <49EE4DBF.4050308@spamcop.net> Message-ID: <005201c9c350$f0fbe5d0$d2f3b170$@net> > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Tuesday, April 21, 2009 6:51 PM > To: Richard Kreiss > Cc: Filepro-list at lists.celestial.com > Subject: Re: report printing > > Richard Kreiss wrote: > > Win XP Pro > > filePro 5.6.06 Runtime > > > > Have an odd issue with printing. > > > > This is for my community database. > > > > All of the reports print without a problem here in my office. > > What type of printer do you have in your office? > > > I went to print 2 reports(forms) in the clubhouse office. The new emergency > > Are they reports or forms? > > > number form printed without a problem. An older resident questionnaire form > > would not print. The output was generated, the print light on the printer > > flashed but nothing printed. > > What type of printer do they have at the clubhouse? > > > I tested a few other reports and they all printed. > > > > I was able to print the questionnaires back here on my laser printer. > > Given that there are literally hundreds (if not more) makes and models of > "laser printers", we need a bit more information. > > > Now to the question, any ideas as to why this one form wouldn't print? > > What's different about the forms that printed and the one that didn't? > Height, width, printer type, init code, end code, etc. etc. etc.??? > > -- > Kenneth Brody I will have to check the model of the laser printer in our clubhouse. It is one of HP's multifunction machines. Both start with a reset. Need to amend my original post one is a form the other is a report. It is the report which will not print. The only difference was the initial fonts used. I changed the font on the questionnaire(report) to match the emergency form and it still wouldn't print. Jim Asman suggest I put $1b &k2G at the top of the report. Richard Kreiss From rkreiss at verizon.net Wed Apr 22 06:51:26 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Wed, 22 Apr 2009 09:51:26 -0400 Subject: report printing In-Reply-To: References: <001501c9c2c8$198f76d0$4cae6470$@net> Message-ID: <005a01c9c351$6eb8c560$4c2a5020$@net> > -----Original Message----- > From: Bob Rasmussen [mailto:ras at anzio.com] > Sent: Tuesday, April 21, 2009 6:14 PM > To: Richard Kreiss > Cc: Filepro-list at lists.celestial.com > Subject: Re: report printing > > On Tue, 21 Apr 2009, Richard Kreiss wrote: > > > ... > > I tested a few other reports and they all printed. > > > > I was able to print the questionnaires back here on my laser printer. > > > > Now to the question, any ideas as to why this one form wouldn't print? > > It had PCL in it? > > Regards, > ....Bob Rasmussen, President, Rasmussen Software, Inc. The report uses Jim Asman's HP LaserJet 6P print table. I did run 2 small selection sets through Printwizard to pdf before printing but this was so I could check the records selected prior to printing. Richard Kreiss From fairlite at fairlite.com Wed Apr 22 09:53:57 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 22 Apr 2009 12:53:57 -0400 Subject: tip about a problem you can run into with readline() - and a workaround In-Reply-To: <93AF9BB0D94F49F6A96F4F7C47951736@CENTURY.21appr.com>; from john.esak@21appr.com on Wed, Apr 22, 2009 at 10:47:27AM -0400 References: <93AF9BB0D94F49F6A96F4F7C47951736@CENTURY.21appr.com> Message-ID: <20090422125357.A11898@iglou.com> Only John Esak would say something like: > I don't think it is O/S related. In other words it may not have been the > fact that it happened on a 2008 Server system this time... it may be > something in the environment, the version of the kernel, what other stuff is > running at the time, who knows? So, be safe, use this tip. It's OS agnostic. Alan Mazuti was bitten by this same bug about 3 weeks ago, and I derived the same solution you did. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From brian at aljex.com Wed Apr 22 10:29:28 2009 From: brian at aljex.com (Brian K. White) Date: Wed, 22 Apr 2009 13:29:28 -0400 Subject: tip about a problem you can run into with readline() - and a workaround In-Reply-To: <93AF9BB0D94F49F6A96F4F7C47951736@CENTURY.21appr.com> References: <93AF9BB0D94F49F6A96F4F7C47951736@CENTURY.21appr.com> Message-ID: <49EF53F8.9020708@aljex.com> Yes we've seen it on 5.0.15 on linux. I and several others have each independently encountered it, determined the same fix, and reported it here, all more or less in parallel. For us it unquestionably appeared as a new problem in 5.0.15 with long-standing code that works fine on 5.0.14 down to whenever readline even appeared, on linux/solaris/sco/windows/freebsd. We only updated 2 out of many boxes all running the exact same code and the problem only appeared on those two boxes, so the pattern is very definitely that something changed between 5.0.14 and 5.0.15, which of course is something we all knew already and which an unfortunately few and disregardable number of us expressed outrage about. Whether there is a more specific pattern, like only particular versions of linux or other factors tickle the problem I can't yet say. The only two boxes we updated, and the only two to have this problem, are somewhat different kernel versions, but very similar filepro and system configuration and exactly the same process tables. One is a very recent 64bit kernel & OS, the other is 4 or so years old and 32 bit. fp binaries of course are 32bit, so I am always on the lookout for problems that only appear on 64bit systems, but this isn't one. In fact I haven't seen any, or at least am not suffering any I know of these days or in the last few years. -- bkw John Esak wrote: > Hi, > > We just had two instances where readline() didn't work properly. Ken says he > has seen this behavior on some systems only, and I know for a fact that it > From yoresoft at sbcglobal.net Wed Apr 22 12:13:05 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Wed, 22 Apr 2009 12:13:05 -0700 (PDT) Subject: filepro to sql Message-ID: <289879.31466.qm@web81408.mail.mud.yahoo.com> OK it's time for wierd question of the day. ? Has anyone populated a SQL (either Microsoft or mysql) database directly from filepro?? If not have about MS-Access? ? I am pretty sure this could be done with Excel either dif or csv but I am trying to do this seemlessly. ? Thanks in advance, Rick Hane Controller Deluxe Stitcher Company Inc www.deluxestitcher.com rhane at deluxestitcher.com ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090422/4c6fbc6b/attachment.html From kenbrody at spamcop.net Wed Apr 22 12:17:29 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 22 Apr 2009 15:17:29 -0400 Subject: filepro to sql In-Reply-To: <289879.31466.qm@web81408.mail.mud.yahoo.com> References: <289879.31466.qm@web81408.mail.mud.yahoo.com> Message-ID: <49EF6D49.4030200@spamcop.net> Richard Hane wrote: > OK it's time for wierd question of the day. > > Has anyone populated a SQL (either Microsoft or mysql) database directly from filepro? If not have about MS-Access? > > I am pretty sure this could be done with Excel either dif or csv but I am trying to do this seemlessly. On Windows, you can use ODBC to have filePro populate it to your heart's content. -- Kenneth Brody From yoresoft at sbcglobal.net Wed Apr 22 12:25:06 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Wed, 22 Apr 2009 12:25:06 -0700 (PDT) Subject: filepro to sql In-Reply-To: <49EF6D49.4030200@spamcop.net> Message-ID: <725463.5270.qm@web81403.mail.mud.yahoo.com> Thanks Ken, ? And you know the sad part is I own the ODBC version and never thought of sending data the other way. ? Rick Hane --- On Wed, 4/22/09, Kenneth Brody wrote: From: Kenneth Brody Subject: Re: filepro to sql To: yoresoft at sbcglobal.net Cc: filepro-list at lists.celestial.com, "Rick Hane" Date: Wednesday, April 22, 2009, 2:17 PM Richard Hane wrote: > OK it's time for wierd question of the day. > Has anyone populated a SQL (either Microsoft or mysql) database directly from filepro? If not have about MS-Access? > I am pretty sure this could be done with Excel either dif or csv but I am trying to do this seemlessly. On Windows, you can use ODBC to have filePro populate it to your heart's content. -- Kenneth Brody -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090422/aa3ae019/attachment-0001.html From bill at celestial.com Wed Apr 22 12:28:11 2009 From: bill at celestial.com (Bill Campbell) Date: Wed, 22 Apr 2009 12:28:11 -0700 Subject: filepro to sql In-Reply-To: <289879.31466.qm@web81408.mail.mud.yahoo.com> References: <289879.31466.qm@web81408.mail.mud.yahoo.com> Message-ID: <20090422192811.GA20483@ayn.mi.celestial.com> On Wed, Apr 22, 2009, Richard Hane wrote: >OK it's time for wierd question of the day. >Has anyone populated a SQL (either Microsoft or mysql) database directly >from filepro? If not have about MS-Access? >I am pretty sure this could be done with Excel either dif or csv but I am >trying to do this seemlessly. We do regular imports into a Zope/Plone site from FilePro, which is probably a bit more complex than importing into an SQL database. The basic procedure we use is to create TSV files for each table to be imported, then run an external python script that handles the import via xmlrpc calls to the Plone site. A very simple shell script could be used to import TSV files into either postgresql (my choice) or mysql, one line per table in the appropriate order to insure foreign key constraints are not broken. I do not Do Windows(tm) so can't say how one would do this with M$-SQL or Access, but I assume that a simple batch file could control the import. As for importing into Excel or OpenOffice-calc, I have had problems with field types doing tab-separated or comma-separated files, so do it the other way around. When I export data from my Unify based accounting software that need in OpenOffice-calc, I export the data to a MySQL database, then use the OO-calc data sources to import from MySQL. My accounting software is running on SCO OpenServer 5.0.6a in a VMware virtual machine on CentOS 5 updating a MySQL database on another server running SuSE Linux Enterprise 10, and importing into NeoOffice (Mac native OpenOffice.org) on a Mac Mini running OS X 10.4 Tiger. Who says we can't have diversity :-). Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Democracy is two wolves and a sheep voting on what to have for dinner. Liberty is a well armed sheep. -- Ben Franklin From ryanx at indy.rr.com Wed Apr 22 12:28:44 2009 From: ryanx at indy.rr.com (Ryan Powers) Date: Wed, 22 Apr 2009 15:28:44 -0400 Subject: filepro to sql In-Reply-To: <289879.31466.qm@web81408.mail.mud.yahoo.com> References: <289879.31466.qm@web81408.mail.mud.yahoo.com> Message-ID: <002401c9c380$8dbb1c90$a93155b0$@rr.com> Within the next few days I'll be announcing fp2mysql which is a console based app written in C# which asks a few questions and then transfers the entire filePro key file into a new MySQL table. For the most part, the only requirements are MyODBC, .NET, and a filePro key file. It will be out in demo form and then a full version will follow by the end of the month. --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com From: filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com [mailto:filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com] On Behalf Of Richard Hane Sent: Wednesday, April 22, 2009 3:13 PM To: filepro-list at lists.celestial.com Cc: Rick Hane Subject: filepro to sql OK it's time for wierd question of the day. Has anyone populated a SQL (either Microsoft or mysql) database directly from filepro? If not have about MS-Access? I am pretty sure this could be done with Excel either dif or csv but I am trying to do this seemlessly. Thanks in advance, Rick Hane Controller Deluxe Stitcher Company Inc www.deluxestitcher.com rhane at deluxestitcher.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090422/965657d7/attachment.html From rkreiss at gccconsulting.net Wed Apr 22 12:37:47 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Wed, 22 Apr 2009 15:37:47 -0400 Subject: fieldname Message-ID: <009601c9c381$d43aa360$7cafea20$@net> I need to ascertain the field name from the first sort field of a demand index. I am testing the following code but get a syntax error at fieldname(). Anyone see the problem? @keyi ? If: '************************************************************** Then: '* test ixsort to get sort from index entered 66 ------- - - - - - - - - - - - - - - - - ? If: Then: declare file 67 ------- - - - - - - - - - - - - - - - - ? If: Then: file="l_patient_market"{"" 68 ------- - - - - - - - - - - - - - - - - ? If: Then: xx=ixsort(file,"5") 69 ------- - - - - - - - - - - - - - - - - ? If: Then: fs(3,.0)=mid(xx,"1","3");MSGBOX "The field # is" Message-ID: <915048.38282.qm@web50707.mail.re2.yahoo.com> --- On Wed, 4/22/09, Richard Kreiss wrote: > From: Richard Kreiss > Subject: re: fieldname > To: Filepro-list at lists.celestial.com > Date: Wednesday, April 22, 2009, 3:37 PM > I need to ascertain the field name from the first sort field > of a demand index. I am testing the following code but get > a syntax error at fieldname(). > > Anyone see the problem? > [snip] > ? If: > Then: qq =fieldname(file,fs) > 71 ------- - - ^ - - - - - - - - - > - - - - - [snip] Hi Richard. I don't have access to filepro at the moment to verify, but I believe that the first parameter is supposed to be the name of a lookup. Jeff Harrison jeffaharrison at yahoo.com From kenbrody at spamcop.net Wed Apr 22 12:52:16 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 22 Apr 2009 15:52:16 -0400 Subject: fieldname In-Reply-To: <009601c9c381$d43aa360$7cafea20$@net> References: <009601c9c381$d43aa360$7cafea20$@net> Message-ID: <49EF7570.1030900@spamcop.net> Richard Kreiss wrote: [...] > Then: file="l_patient_market"{"" What's the purpose of the {"" here? It's effectively a no-op. [...] > Then: qq =fieldname(file,fs) [...] > The error shows at the f in fieldname [...] That's because the first parameter to fieldname() is a lookup name, not an expression which evaluates to a filename. -- Kenneth Brody From rkreiss at gccconsulting.net Wed Apr 22 12:56:10 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Wed, 22 Apr 2009 15:56:10 -0400 Subject: fieldname In-Reply-To: <915048.38282.qm@web50707.mail.re2.yahoo.com> References: <009601c9c381$d43aa360$7cafea20$@net> <915048.38282.qm@web50707.mail.re2.yahoo.com> Message-ID: <009a01c9c384$68506b50$38f141f0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Jeff Harrison > Sent: Wednesday, April 22, 2009 3:49 PM > To: Filepro-list at lists.celestial.com; rkreiss at gccconsulting.net > Subject: re: fieldname > > > --- On Wed, 4/22/09, Richard Kreiss wrote: > > > From: Richard Kreiss > > Subject: re: fieldname > > To: Filepro-list at lists.celestial.com > > Date: Wednesday, April 22, 2009, 3:37 PM > > I need to ascertain the field name from the first sort field > > of a demand index. I am testing the following code but get > > a syntax error at fieldname(). > > > > Anyone see the problem? > > > [snip] > > ? If: > > Then: qq =fieldname(file,fs) > > 71 ------- - - ^ - - - - - - - - - > > - - - - - > [snip] > > Hi Richard. I don't have access to filepro at the moment to verify, but I believe > that the first parameter is supposed to be the name of a lookup. > > Jeff Harrison > jeffaharrison at yahoo.com > Jeff, File is set to the file name "l_patient_market" Even when I added a lookup above line 71 to this file, I still received the syntax error. Xx=Ixsort(file,"5") works just fine in getting me the sort information from l_patient_market index 5. Richard From tyler.style at gmail.com Wed Apr 22 13:17:41 2009 From: tyler.style at gmail.com (Tyler) Date: Wed, 22 Apr 2009 13:17:41 -0700 Subject: filepro to sql Message-ID: <1e78e1e80904221317xa6d03fen4d2e5a0470794d1@mail.gmail.com> I do this all the time using some custom programs that 1, take filePro table definitions & maps them to MySQL datatype equivalents and cleans out illegal files name characters, and 2, uses a rules table to determine what the SQL statements should be for a given set of records, pumps out the script, and then issues a system command to a mysql client to upload it. It was actually quite easy to set up and has worked flawlessly. It's especially handy if your DB schema doesn't match your filePro file structures (mine definitely doesn't). -- Tyler Style http://www.malthusian-solutions.com Date: Wed, 22 Apr 2009 12:13:05 -0700 (PDT) > From: Richard Hane > Subject: filepro to sql > > OK it's time for wierd question of the day. > ? > Has anyone populated a SQL (either Microsoft or mysql) database directly > from filepro?? If not have about MS-Access? > ? > I am pretty sure this could be done with Excel either dif or csv but I am > trying to do this seemlessly. > ? > Thanks in advance, > Rick Hane > Controller > Deluxe Stitcher Company Inc > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090422/31c53990/attachment-0001.html From gccconsulting at comcast.net Wed Apr 22 13:21:19 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Wed, 22 Apr 2009 16:21:19 -0400 Subject: fieldname In-Reply-To: <49EF7570.1030900@spamcop.net> References: <009601c9c381$d43aa360$7cafea20$@net> <49EF7570.1030900@spamcop.net> Message-ID: <009f01c9c387$eba37850$c2ea68f0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Wednesday, April 22, 2009 3:52 PM > To: rkreiss at gccconsulting.net > Cc: Filepro-list at lists.celestial.com > Subject: Re: fieldname > > Richard Kreiss wrote: > [...] > > Then: file="l_patient_market"{"" > > What's the purpose of the {"" here? It's effectively a no-op. > > [...] > > Then: qq =fieldname(file,fs) > [...] > > The error shows at the f in fieldname > [...] > > That's because the first parameter to fieldname() is a lookup name, not an > expression which evaluates to a filename. > > -- > Kenneth Brody Adding lookup l_patient_market and the Qq=fieldname(l_patient_market,fs) worked. No quotes around the lookup name. Thanks for pointing me in the right direction. Richard From tyler.style at gmail.com Wed Apr 22 13:28:19 2009 From: tyler.style at gmail.com (Tyler) Date: Wed, 22 Apr 2009 13:28:19 -0700 Subject: Filepro-list Digest, Vol 63, Issue 23 In-Reply-To: References: Message-ID: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> Neat, but what happens if you don't want the original file structure for the new schema? I know our files were a mess and would not have transitioned well directly to an RDBS. -- Tyler Style http://www.malthusian-solutions.com Date: Wed, 22 Apr 2009 15:28:44 -0400 From: "Ryan Powers" Subject: RE: filepro to sql Within the next few days I'll be announcing fp2mysql which is a console based app written in C# which asks a few questions and then transfers the entire filePro key file into a new MySQL table. For the most part, the only requirements are MyODBC, .NET, and a filePro key file. It will be out in demo form and then a full version will follow by the end of the month. --- Ryan Powers Bulldog Software, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090422/f78e2a99/attachment.html From ryanx at indy.rr.com Wed Apr 22 14:19:06 2009 From: ryanx at indy.rr.com (Ryan Powers) Date: Wed, 22 Apr 2009 17:19:06 -0400 Subject: Filepro-list Digest, Vol 63, Issue 23 In-Reply-To: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> Message-ID: <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> filePro allows you to use multiple words for field names which isn't permitted in MySQL, so the only way I see around this is to alter them. The second problem is that filePro allows duplicate field names. It isn't a straightforward transfer because that would be impossible. There are several field changes but the data remains intact, albeit the edits will not be. I considered retaining the edits but I've been down that road before and it really isn't worth the trouble. IMO it is best to do a text transfer and then clean and convert the field types in MySQL once you have them in the tables. --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com From: filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com [mailto:filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com] On Behalf Of Tyler Sent: Wednesday, April 22, 2009 4:28 PM To: filepro-list at lists.celestial.com Subject: Re: Filepro-list Digest, Vol 63, Issue 23 Neat, but what happens if you don't want the original file structure for the new schema? I know our files were a mess and would not have transitioned well directly to an RDBS. -- Tyler Style http://www.malthusian-solutions.com Date: Wed, 22 Apr 2009 15:28:44 -0400 From: "Ryan Powers" Subject: RE: filepro to sql Within the next few days I'll be announcing fp2mysql which is a console based app written in C# which asks a few questions and then transfers the entire filePro key file into a new MySQL table. For the most part, the only requirements are MyODBC, .NET, and a filePro key file. It will be out in demo form and then a full version will follow by the end of the month. --- Ryan Powers Bulldog Software, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090422/7b66145d/attachment.html From fairlite at fairlite.com Wed Apr 22 14:38:20 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 22 Apr 2009 17:38:20 -0400 Subject: Filepro-list Digest, Vol 63, Issue 23 In-Reply-To: <004c01c9c38f$f7ecca00$e7c65e00$@rr.com>; from ryanx@indy.rr.com on Wed, Apr 22, 2009 at 05:19:06PM -0400 References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> Message-ID: <20090422173820.A18172@iglou.com> Simon--er, no...it was Ryan Powers--said: > filePro allows you to use multiple words for field names which isn't > permitted in MySQL, so the only way I see around this is to alter them. Underscore to the rescue! > The second problem is that filePro allows duplicate field names. Track field names as used, then add index numbers to the end? some_field some_field2 some_field3 [etc.] > It isn't a straightforward transfer because that would be > impossible. There are several field changes but the data remains intact, > albeit the edits will not be. I considered retaining the edits but I've > been down that road before and it really isn't worth the trouble. IMO it > is best to do a text transfer and then clean and convert the field types > in MySQL once you have them in the tables. In your defense, I think maintaining the edits is a complete waste of time. I see edits as an application-level function, not a storage-level function. If the data remains sacrosanct during transfer, that's all that should matter. Since the MySQL-based application will almost certainly be done in something other than filePro, it's best to leave bounds checking beyond field length and raw data type (int, char, varchar, et al) to the actual application code. Edits are definitely something I consider app-centric. I shouldn't think it's worth the R&D to even be bothered with them for a project like this, given the above. mark-> From kenbrody at spamcop.net Wed Apr 22 17:32:06 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 22 Apr 2009 20:32:06 -0400 Subject: filePro and MySQL (was Re: Filepro-list Digest, Vol 63, Issue 23) In-Reply-To: <20090422173820.A18172@iglou.com> References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <20090422173820.A18172@iglou.com> Message-ID: <49EFB706.1040304@spamcop.net> Fairlight wrote: > Simon--er, no...it was Ryan Powers--said: [...] >> It isn't a straightforward transfer because that would be >> impossible. There are several field changes but the data remains intact, >> albeit the edits will not be. I considered retaining the edits but I've >> been down that road before and it really isn't worth the trouble. IMO it >> is best to do a text transfer and then clean and convert the field types >> in MySQL once you have them in the tables. > > In your defense, I think maintaining the edits is a complete waste of time. > I see edits as an application-level function, not a storage-level function. > If the data remains sacrosanct during transfer, that's all that should [...] You can, of course, do some mapping. For example, keeping dates as dates, and numbers as numbers. And, if you're feeling adventuresome, yesno to boolean. -- Kenneth Brody From fairlite at fairlite.com Wed Apr 22 18:09:46 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 22 Apr 2009 21:09:46 -0400 Subject: filePro and MySQL (was Re: Filepro-list Digest, Vol 63, Issue 23) In-Reply-To: <49EFB706.1040304@spamcop.net>; from kenbrody@spamcop.net on Wed, Apr 22, 2009 at 08:32:06PM -0400 References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <20090422173820.A18172@iglou.com> <49EFB706.1040304@spamcop.net> Message-ID: <20090422210946.A21874@iglou.com> This public service announcement was brought to you by Kenneth Brody: > You can, of course, do some mapping. For example, keeping dates as > dates, and numbers as numbers. And, if you're feeling adventuresome, > yesno to boolean. I didn't think of it, but of course fP's dates are not stored in epoch format. *sigh* Good thing there are library calls to reverse that kind of thing. Still, that's a prime example of how application rules should NOT dictate raw data storage, if ever there was one. Especially something vague like MDYY, where it's wholly ambiguous unless you know exactly what PFCMARK was set to at entry. Application usage that loose is one thing, but storing it that way is just wrong on so many levels. "You can always discard extra data that you don't need. You can not usually meaningfully fabricate accurate data in its initial absence. There is rarely such a thing as providing too much information." --Fairlight mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From raym0nds at yahoo.com Wed Apr 22 19:04:55 2009 From: raym0nds at yahoo.com (Raymond Scheel) Date: Wed, 22 Apr 2009 19:04:55 -0700 (PDT) Subject: filepro to sql In-Reply-To: References: Message-ID: <349324.24006.qm@web34406.mail.mud.yahoo.com> I've done something that sounds similar to what Tyler Style described so we can access our fP data directly from Oracle. I have a filePro process that will walk the maps of a given (imported) list of directory and key files to generate the "SQL" commands for Oracle to see those keys as read-only, non-indexed external tables. Those external references can then be used to load a native Oracle table that you could modify or index using standard SQL operations. I built in validation to adjust any filePro field names than might be Oracle reserved words (I just added an underscore to any column names that matched exactly an exhaustive list of reserved words. I start each of the reference tables with a 20 byte binary field to cover the fP record header. When I catch duplicate column names when compared to a list I build as I go for each table, I append the field number, and for multiple word field names I replace spaces with underscores. Once I had that worked out, I was able to build the link instructions for several thousand keys in seconds Any other SQL based products that allow external table references (like pointing to a flat file) should allow similar access. Aside from the binary header column, everything else comes in as a character and we fix it during the process to load the native Oracle tables. With the idiosyncrasies of fP edit validation, data that spanned decades, and key files merged from over 100 separate installations, there was too much funky data to fix by myself and still get the bulk of the data available in a timely manner for others to program around the problems. (At my work there are several programmers who primarily do SQL and pretty much only me keeping the fP side taped together). Now that we have access to all of it without having to jump through an import-export process each time we want to refresh our source data, we use it to populate tables in a separate Oracle instance so we are not tied to the existing (often very flawed) fP data structure. Ray Scheel On Wed, 22 Apr 2009 Richard Hane wrote: > OK it's time for wierd question of the day. > Has anyone populated a SQL (either Microsoft or mysql) database directly from filepro? If not have about MS-Access? > I am pretty sure this could be done with Excel either dif or csv but I am trying to do this seemlessly. From ryanx at indy.rr.com Thu Apr 23 04:51:21 2009 From: ryanx at indy.rr.com (Ryan Powers) Date: Thu, 23 Apr 2009 07:51:21 -0400 Subject: filePro to SQL In-Reply-To: <20090422173820.A18172@iglou.com> References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <20090422173820.A18172@iglou.com> Message-ID: <000901c9c409$d26c9150$7745b3f0$@rr.com> > Track field names as used, then add index numbers to the end? > > some_field > some_field2 > some_field3 > [etc.] Exactly. > In your defense, I think maintaining the edits is a complete waste of > time. > I see edits as an application-level function, not a storage-level > function. The issue really is that filePro edits are dual purpose. If they were strictly field types it wouldn't be much of a problem, but as you say, they are also used at the application level which muddles things quite a bit and (I could be wrong here) is the primary reason that they are lenient as field types. Tyler asked something similar. I'll go into a little more detail in that e-mail. > If the data remains sacrosanct during transfer, that's all that should > matter. Since the MySQL-based application will almost certainly be > done in > something other than filePro, it's best to leave bounds checking beyond > field length and raw data type (int, char, varchar, et al) to the > actual > application code. Edits are definitely something I consider app- > centric. > > I shouldn't think it's worth the R&D to even be bothered with them for > a > project like this, given the above. Thanks for the encouragement. I wasn't 100% sure that it was the right move, but now I am. Of course it isn't going to be appropriate for everyone, but it does the job as far as I'm concerned. --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com From ryanx at indy.rr.com Thu Apr 23 05:18:22 2009 From: ryanx at indy.rr.com (Ryan Powers) Date: Thu, 23 Apr 2009 08:18:22 -0400 Subject: filepro to sql In-Reply-To: <1e78e1e80904221521m737bff3at91f0abdc9e4cd774@mail.gmail.com> References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <1e78e1e80904221521m737bff3at91f0abdc9e4cd774@mail.gmail.com> Message-ID: <000a01c9c40d$987f7a80$c97e6f80$@rr.com> >I was talking about if your filePro data doesn't map directly to your SQL tables.? Does your program just recreate the filePro >maps as SQL tables, or can you map the filePro fields to specific table fields? No, it's a straightforward conversion and it will refuse to use any MySQL table that already exists, so naturally there is no mapping involved. >Oh - and I did mention in another post today that my own method for migrating filePro data to MySQL does fieldname cleanup and >edit conversion, so I'm definitely familiar with the issues :)? Why don't you find type conversion worth the trouble?? I found it >pretty easy to create rules for type conversion and data filters to scrub with. I've done it more than a few times and it is practically impossible to perfect that type of process. There are always going to be exceptions e.g. You have a mm/dd/yy edit and somebody types in 4.23.09. You're going to have to include things like that in your data scrubbing. I wanted to keep this simple and free of complications in both code and user experience. This is just something that I spent some time on and wanted to put out there to see if it would be a useful product. Data scrubbing will certainly come up again, but it?s a different ball of wax, or can of worms depending on your point of view. --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com ? From tyler.style at gmail.com Thu Apr 23 05:26:24 2009 From: tyler.style at gmail.com (Tyler Style) Date: Thu, 23 Apr 2009 05:26:24 -0700 Subject: filepro to sql In-Reply-To: <000a01c9c40d$987f7a80$c97e6f80$@rr.com> References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <1e78e1e80904221521m737bff3at91f0abdc9e4cd774@mail.gmail.com> <000a01c9c40d$987f7a80$c97e6f80$@rr.com> Message-ID: <49F05E70.9060506@gmail.com> Okee dokee then! I thot it was a serious tool beta kind of thing :) I shall cease and desist. Ryan Powers wrote: >> I was talking about if your filePro data doesn't map directly to your SQL >> > tables. Does your program just recreate the filePro >maps as SQL tables, or > can you map the filePro fields to specific table fields? > > No, it's a straightforward conversion and it will refuse to use any MySQL > table that already exists, so naturally there is no mapping involved. > > >> Oh - and I did mention in another post today that my own method for >> > migrating filePro data to MySQL does fieldname cleanup and >edit conversion, > so I'm definitely familiar with the issues :) Why don't you find type > conversion worth the trouble? I found it >pretty easy to create rules for > type conversion and data filters to scrub with. > > I've done it more than a few times and it is practically impossible to > perfect that type of process. There are always going to be exceptions e.g. > You have a mm/dd/yy edit and somebody types in 4.23.09. You're going to have > to include things like that in your data scrubbing. I wanted to keep this > simple and free of complications in both code and user experience. > > This is just something that I spent some time on and wanted to put out there > to see if it would be a useful product. Data scrubbing will certainly come > up again, but it?s a different ball of wax, or can of worms depending on > your point of view. > > > --- > Ryan Powers > Bulldog Software, Inc. > http://www.bulldogsoftware.com > > > > From fairlite at fairlite.com Thu Apr 23 05:53:39 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 23 Apr 2009 08:53:39 -0400 Subject: filepro to sql In-Reply-To: <49F05E70.9060506@gmail.com>; from tyler.style@gmail.com on Thu, Apr 23, 2009 at 05:26:24AM -0700 References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <1e78e1e80904221521m737bff3at91f0abdc9e4cd774@mail.gmail.com> <000a01c9c40d$987f7a80$c97e6f80$@rr.com> <49F05E70.9060506@gmail.com> Message-ID: <20090423085339.A12155@iglou.com> >From inside the gravity well of a singularity, Tyler Style shouted: > Okee dokee then! I thot it was a serious tool beta kind of thing :) I > shall cease and desist. It is a serious tool. Just because it doesn't have every feature someone thinks should be in it, or work the way they'd design it, doesn't keep it from being a serious tool--nor does it make it any less viable as a solution for many scenarios. If having every useful feature were the criterion for being a serious tool, we could laugh just about every piece of software off the market as irrelevant, which is hardly the case. I find this kind of derision, smiley notwithstanding, insulting. At least Ryan's doing something and putting it out there. You've mentioned yours, but I get the impression it's an in-house deal. When yours is up and out there for public consumption, then you can criticise others' with some mild degree of authority. mark-> From bill at celestial.com Thu Apr 23 09:43:13 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 23 Apr 2009 09:43:13 -0700 Subject: filePro to SQL In-Reply-To: <000901c9c409$d26c9150$7745b3f0$@rr.com> References: <1e78e1e80904221328h77835064sc8f88e3295a59e89@mail.gmail.com> <004c01c9c38f$f7ecca00$e7c65e00$@rr.com> <20090422173820.A18172@iglou.com> <000901c9c409$d26c9150$7745b3f0$@rr.com> Message-ID: <20090423164313.GB9259@ayn.mi.celestial.com> On Thu, Apr 23, 2009, Ryan Powers wrote: >> Track field names as used, then add index numbers to the end? >> >> some_field >> some_field2 >> some_field3 >> [etc.] > >Exactly. > >> In your defense, I think maintaining the edits is a complete waste of >> time. >> I see edits as an application-level function, not a storage-level >> function. > >The issue really is that filePro edits are dual purpose. If they were >strictly field types it wouldn't be much of a problem, but as you say, they >are also used at the application level which muddles things quite a bit and >(I could be wrong here) is the primary reason that they are lenient as field >types. Filepro edits can get in the way when loading data that one knows is clean (as can stored procedures and/or triggers on postgresql or other SQL databases). It's been a long time since I did bulk loads of data into FilePro, but I seem to remember disabling edits during loads, and enabling them when done. Things like putting spaces or non-alphanumeric characters in field names or file names belong in the category of DON'T DO THAT!!!! While one can enclose field names in quotes on some SQL databases, it's a PITA, and causes far more problems than it's worth. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 There is no distinctly native American criminal class save Congress -- Mark Twain From boaz at mirrotek.com Thu Apr 23 13:57:01 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Thu, 23 Apr 2009 16:57:01 -0400 Subject: Problem with SORTn command Message-ID: <49F0D61D.1020602@mirrotek.com> Please review this and let me know if I am using SORTn properly. Using version 5.6.6 I have 7 sort levels on the report and I specify SORT2 in sort/selection processing to be equal to a dummy variable. IOW, it's supposed to replace the second sort option. On everything but SORT2 the sorts are laid out properly. I have set up the processing table to hit SORT2=bh both on each record and only the on the first record with no difference. It hits this before bh is set in the processing table and bh is set just before processing the SELECT command. I've tried with bh set as (1,*) or the same as the original place setting of (2,*). I also tried SORT2(2,*)=bh and SORT2(1,*), but nothing changes. I have stepped through the process with the debugger and bh is set properly, (bh can be set to a value from "1" to "4") but the results don't change. The report displays the results as if the SORT2 command is never considered. What am I doing wrong? From boaz at mirrotek.com Thu Apr 23 14:23:51 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Thu, 23 Apr 2009 17:23:51 -0400 Subject: Problem with SORTn command Message-ID: <49F0DC67.60209@mirrotek.com> > Please review this and let me know if I am using SORTn properly. > > Using version 5.6.6 I have 7 sort levels on the report and I specify > SORT2 in sort/selection processing to be equal to a dummy variable. > IOW, it's supposed to replace the second sort option. > > On everything but SORT2 the sorts are laid out properly. I have set up > the processing table to hit SORT2=bh both on each record and only the on > the first record with no difference. It hits this before bh is set in > the processing table and bh is set just before processing the SELECT > command. > > I've tried with bh set as (1,*) or the same as the original place > setting of (2,*). I also tried SORT2(2,*)=bh and SORT2(1,*), but > nothing changes. > > I have stepped through the process with the debugger and bh is set > properly, (bh can be set to a value from "1" to "4") but the results > don't change. The report displays the results as if the SORT2 command > is never considered. > > > What am I doing wrong? I found out what I was doing wrong. I was setting SORT2=bh before setting bh. Once I moved it to a point after bh is set then it works. The filePro manual doesn't make it clear that this is a requirement. (The filePro manual also doesn't make clear that @WBRKn occurs in reverse order to the sort order.) Boaz From tyler.style at gmail.com Fri Apr 24 07:49:27 2009 From: tyler.style at gmail.com (Tyler) Date: Fri, 24 Apr 2009 07:49:27 -0700 Subject: filepro to sql Message-ID: <1e78e1e80904240749x6c24b8adj3465c491c3ebb2ae@mail.gmail.com> Oi vey, get off your high horse there Mark. For one, it's hardly your place to be insulted - you're not the author. For two, in his own words: "This is just something that I spent some time on and wanted to put out there to see if it would be a useful product". My comment was hardly derisive! It was just an acknowledgment of what he'd said. Sheesh! -- Tyler Style http://malthusian-solutions.com > > Date: Thu, 23 Apr 2009 08:53:39 -0400 > From: Fairlight > Subject: Re: filepro to sql > > >From inside the gravity well of a singularity, Tyler Style shouted: > > Okee dokee then! I thot it was a serious tool beta kind of thing :) I > > shall cease and desist. > > It is a serious tool. Just because it doesn't have every feature someone > thinks should be in it, or work the way they'd design it, doesn't keep > it from being a serious tool--nor does it make it any less viable as a > solution for many scenarios. > > If having every useful feature were the criterion for being a serious tool, > we could laugh just about every piece of software off the market as > irrelevant, which is hardly the case. > > I find this kind of derision, smiley notwithstanding, insulting. At least > Ryan's doing something and putting it out there. You've mentioned yours, > but I get the impression it's an in-house deal. When yours is up and out > there for public consumption, then you can criticise others' with some > mild degree of authority. > > mark-> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090424/306fdeca/attachment.html From fairlite at fairlite.com Fri Apr 24 09:47:24 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 24 Apr 2009 12:47:24 -0400 Subject: filepro to sql In-Reply-To: <1e78e1e80904240749x6c24b8adj3465c491c3ebb2ae@mail.gmail.com>; from tyler.style@gmail.com on Fri, Apr 24, 2009 at 07:49:27AM -0700 References: <1e78e1e80904240749x6c24b8adj3465c491c3ebb2ae@mail.gmail.com> Message-ID: <20090424124724.A21968@iglou.com> The honourable and venerable Tyler spoke thus: > Oi vey, get off your high horse there Mark. Anyone that's spent any time on this lists knows that even if I -were- on a high horse, you'll have to being me pretty solid proof that I am in the wrong before I'll back down. If you don't know that, you don't read enough. And it would take someone I actually respect to point it out--a category from which you excluded yourself with your flip comment about Ryan's product. > For one, it's hardly your place to be insulted - you're not the author. On the contrary. Many of us have a lot of colleagues and friends on this list. I count Ryan as both. Someone that essentially disrespects a friend of mine by saying something that may unjustly compromise his chances of success with a venture will be standing in a very unenviable place. > For two, in his own words: "This is just something that I spent some time > on and wanted to put out there to see if it would be a useful product". > My comment was hardly derisive! It was just an acknowledgment of what > he'd said. Sheesh! Yeah, he's spent time on it. A good deal of it. I know, as I've talked to him regularly as he's been working on it. As for the second half, coding for this community on spec is pretty much -exactly- as he described it: putting it out there to see if it's useful [enough for people to pry open their wallets]. The part in brackets was the implied, if unspoken part that Ryan should have added. This community is a very hard sell, as most of us have learned the hard way. So while Ryan is not necessarily as expository as I am, I know -exactly- what he was saying. You, OTOH, dared to extrapolate his explanation into, "I thot it was a serious tool beta kind of thing." [sic] 1) Learn to accurately represent someone else's work. While "serious tool beta kind of thing" is not only a horribly inept attempt at describing something, it's also a vastly inaccurate extrapolated depiction of Ryan's product (sight unseen by you, no less), with a demeaning and pretty negative impact. 2) Learn to spell. I thought you were halfway literate, but I could have been incorrect. Usually correcting someone's spelling in a public forum is ridiculously immature, but my God, I've seen more literate displays from twelve year olds playing Team Fortress 2, so it's rather justified in this case, considering you're commenting in a professional forum about someone else's professional work. Anyone that knows business -at all- knows that perception counts for a lot. To be careless with one's words and even "accidentally" slam both someone's product before it even hits the shelf is not only disrespectful, it's potentially harming their business, and therefore their livelihood. You're slanting the perception of the product before it can even represent itself on the shelf of in the workplace. If you'd even seen it in action, you -might- have grounds to open your mouth, but you didn't, TTBOMK. > -- Tyler Style http://malthusian-solutions.com For someone whose last name is Style, one would think you would actually display some. Or at least some tact. I thought I had the market cornered on that front, but I'm (sort of) glad to see I have competition. Unless you yourself are putting forth a superior offering for public consumption, I don't see any call for you to insinuate anything about someone else's, or even reinforce something you (incorrectly) perceived as a negative connotation. As for your assertion that I have no right to be offended--bollocks. You don't get to call that simply because it's inconvenient to you for me to point out what a git you've made of yourself. Ryan's not only a colleague, he's a close personal friend. I stand by my friends, whether they need me to or not. Now...my advice for you before this escalates into an all-out argument (if you think it already has, you -really- don't read enough) would be to take a deep breath, and walk away from this before you look more the fool than you already do. There's no way in hell you have the higher moral ground at this point to win this one, so you may as well just shut it now and cut your losses--especially when I'm even less in the mood to suffer fools lightly than usual. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From ryanx at indy.rr.com Fri Apr 24 13:29:37 2009 From: ryanx at indy.rr.com (Ryan Powers) Date: Fri, 24 Apr 2009 16:29:37 -0400 Subject: ADV: Bulldog Software releases fp2mysql beta Message-ID: <000301c9c51b$635910a0$2a0b31e0$@rr.com> Transfer your filePro data to MySQL quickly and easily! http://bulldogsoftware.com fp2mysql is currently in beta form. A full version will be forthcoming. A serious application for serious developers: 1. complete data integrity 2. bullet-proof data transfers 3. includes additional fields: new ID, old record number, CD, CB, UD, UB, BU 4. CD and UD are translated into yyyy-mm-dd format An excellent way to prep your data for filePro ODBC! --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com From tyler.style at gmail.com Mon Apr 27 07:57:37 2009 From: tyler.style at gmail.com (Tyler) Date: Mon, 27 Apr 2009 07:57:37 -0700 Subject: filepro to sql Message-ID: <1e78e1e80904270757v6dfbddeag49841c5892128c9a@mail.gmail.com> Message: 2 Date: Fri, 24 Apr 2009 12:47:24 -0400 From: Fairlight Subject: Re: filepro to sql 1, Since Ryan obviously reads the list and replies to it, why not let him speak for himself? Shouldn't you at least consult him first before going off on a flame? 2, What's with all the ad hominem attacks, anyway? Seriously, if you want to talk 'professional', you're definitely not holding the moral high ground that way. As for the rest of your post, if you strip out the trolling and flaming there's very little actual content, just "sound and fury..." And I'll dare to say whatever I like, regardless of your opinion of it or your attempts to bully me. -- Tyler Style http://malthusian-solutions.com The honourable and venerable Tyler spoke thus: > Oi vey, get off your high horse there Mark. Anyone that's spent any time on this lists knows that even if I -were- on a high horse, you'll have to being me pretty solid proof that I am in the wrong before I'll back down. If you don't know that, you don't read enough. And it would take someone I actually respect to point it out--a category from which you excluded yourself with your flip comment about Ryan's product. > For one, it's hardly your place to be insulted - you're not the author. On the contrary. Many of us have a lot of colleagues and friends on this list. I count Ryan as both. Someone that essentially disrespects a friend of mine by saying something that may unjustly compromise his chances of success with a venture will be standing in a very unenviable place. > For two, in his own words: "This is just something that I spent some time > on and wanted to put out there to see if it would be a useful product". > My comment was hardly derisive! It was just an acknowledgment of what > he'd said. Sheesh! Yeah, he's spent time on it. A good deal of it. I know, as I've talked to him regularly as he's been working on it. As for the second half, coding for this community on spec is pretty much -exactly- as he described it: putting it out there to see if it's useful [enough for people to pry open their wallets]. The part in brackets was the implied, if unspoken part that Ryan should have added. This community is a very hard sell, as most of us have learned the hard way. So while Ryan is not necessarily as expository as I am, I know -exactly- what he was saying. You, OTOH, dared to extrapolate his explanation into, "I thot it was a serious tool beta kind of thing." [sic] 1) Learn to accurately represent someone else's work. While "serious tool beta kind of thing" is not only a horribly inept attempt at describing something, it's also a vastly inaccurate extrapolated depiction of Ryan's product (sight unseen by you, no less), with a demeaning and pretty negative impact. 2) Learn to spell. I thought you were halfway literate, but I could have been incorrect. Usually correcting someone's spelling in a public forum is ridiculously immature, but my God, I've seen more literate displays from twelve year olds playing Team Fortress 2, so it's rather justified in this case, considering you're commenting in a professional forum about someone else's professional work. Anyone that knows business -at all- knows that perception counts for a lot. To be careless with one's words and even "accidentally" slam both someone's product before it even hits the shelf is not only disrespectful, it's potentially harming their business, and therefore their livelihood. You're slanting the perception of the product before it can even represent itself on the shelf of in the workplace. If you'd even seen it in action, you -might- have grounds to open your mouth, but you didn't, TTBOMK. > -- Tyler Style http://malthusian-solutions.com For someone whose last name is Style, one would think you would actually display some. Or at least some tact. I thought I had the market cornered on that front, but I'm (sort of) glad to see I have competition. Unless you yourself are putting forth a superior offering for public consumption, I don't see any call for you to insinuate anything about someone else's, or even reinforce something you (incorrectly) perceived as a negative connotation. As for your assertion that I have no right to be offended--bollocks. You don't get to call that simply because it's inconvenient to you for me to point out what a git you've made of yourself. Ryan's not only a colleague, he's a close personal friend. I stand by my friends, whether they need me to or not. Now...my advice for you before this escalates into an all-out argument (if you think it already has, you -really- don't read enough) would be to take a deep breath, and walk away from this before you look more the fool than you already do. There's no way in hell you have the higher moral ground at this point to win this one, so you may as well just shut it now and cut your losses--especially when I'm even less in the mood to suffer fools lightly than usual. mark-> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/10ba13a0/attachment.html From pulliamr at earthlink.net Mon Apr 27 09:12:47 2009 From: pulliamr at earthlink.net (ROBERT PULLIAM) Date: Mon, 27 Apr 2009 12:12:47 -0400 Subject: email Message-ID: Using sco unix. Filepro. Is there a way to send email? My business statements are getting to be so many and postal rates keep going up that I would like to send statements by email. A field in the filepro database contains the email address. Robert Pulliam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/253fb513/attachment.html From ScottWalker at RAMSystemsCorp.com Mon Apr 27 09:25:41 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Mon, 27 Apr 2009 12:25:41 -0400 Subject: email In-Reply-To: References: Message-ID: <000601c9c754$d0a1ba50$71e52ef0$@com> Anziowin & PrintWizard have several different methods of passing email from the unix host to outlook. Regards, Scott From: filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com [mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial. com] On Behalf Of ROBERT PULLIAM Sent: Monday, April 27, 2009 12:13 PM To: filepro-list at lists.celestial.com Subject: email Using sco unix. Filepro. Is there a way to send email? My business statements are getting to be so many and postal rates keep going up that I would like to send statements by email. A field in the filepro database contains the email address. Robert Pulliam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/e27ad023/attachment.html From bill at celestial.com Mon Apr 27 09:26:03 2009 From: bill at celestial.com (Bill Campbell) Date: Mon, 27 Apr 2009 09:26:03 -0700 Subject: email In-Reply-To: References: Message-ID: <20090427162603.GA9617@ayn.mi.celestial.com> On Mon, Apr 27, 2009, ROBERT PULLIAM wrote: > > Using sco unix. Filepro. > > Is there a way to send email? My business statements are > > getting to be so many and postal rates keep going up that I would like > to send statements by email. A field in the filepro database contains > the email address. All SCO systems going back to the Xenix days have e-mail. It's only a question of configuring it. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Many citizens because of their respect for what only appears to be a law are cunningly coerced into waiving their rights due to ignorance. -- U.S. v. Minker From kenbrody at spamcop.net Mon Apr 27 09:34:42 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Mon, 27 Apr 2009 12:34:42 -0400 Subject: email In-Reply-To: References: Message-ID: <49F5DEA2.7020601@spamcop.net> ROBERT PULLIAM wrote: > Using sco unix. Filepro. > Is there a way to send email? My business statements are > getting to be so many and postal rates keep going up that I would like to send statements by email. A field in the filepro database contains the email address. The never-released v2n2 edition of Laura's filePro Developer's Journal had an article by me, "Customized, Word-wrapped E-mail from filePro". The complete (well, technically, "incomplete", as it was never finished) edition is available from her old website here: http://www.hvcomputer.com/old/fpdj/v2n2 The article starts on page 21. It uses nroff to format, and sendmail to send the e-mail. -- Kenneth Brody From ryanx at indy.rr.com Mon Apr 27 09:35:41 2009 From: ryanx at indy.rr.com (Ryan Powers) Date: Mon, 27 Apr 2009 12:35:41 -0400 Subject: filepro to sql In-Reply-To: <1e78e1e80904270757v6dfbddeag49841c5892128c9a@mail.gmail.com> References: <1e78e1e80904270757v6dfbddeag49841c5892128c9a@mail.gmail.com> Message-ID: <002a01c9c756$345154b0$9cf3fe10$@rr.com> I am very capable of speaking for myself Tyler, and since you insist, the fact is that I did not care to dignify your snide remark with a response. This is a list for mature professionals and its pretty sad that it has come to this. I posted to this list for the first time in over a year and right away I'm insulted by a little troll. --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com From: filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com [mailto:filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com] On Behalf Of Tyler Sent: Monday, April 27, 2009 10:58 AM To: filepro-list at lists.celestial.com Subject: Re: filepro to sql Message: 2 Date: Fri, 24 Apr 2009 12:47:24 -0400 From: Fairlight Subject: Re: filepro to sql 1, Since Ryan obviously reads the list and replies to it, why not let him speak for himself? Shouldn't you at least consult him first before going off on a flame? 2, What's with all the ad hominem attacks, anyway? Seriously, if you want to talk 'professional', you're definitely not holding the moral high ground that way. As for the rest of your post, if you strip out the trolling and flaming there's very little actual content, just "sound and fury..." And I'll dare to say whatever I like, regardless of your opinion of it or your attempts to bully me. -- Tyler Style http://malthusian-solutions.com The honourable and venerable Tyler spoke thus: > Oi vey, get off your high horse there Mark. Anyone that's spent any time on this lists knows that even if I -were- on a high horse, you'll have to being me pretty solid proof that I am in the wrong before I'll back down. If you don't know that, you don't read enough. And it would take someone I actually respect to point it out--a category from which you excluded yourself with your flip comment about Ryan's product. > For one, it's hardly your place to be insulted - you're not the author. On the contrary. Many of us have a lot of colleagues and friends on this list. I count Ryan as both. Someone that essentially disrespects a friend of mine by saying something that may unjustly compromise his chances of success with a venture will be standing in a very unenviable place. > For two, in his own words: "This is just something that I spent some time > on and wanted to put out there to see if it would be a useful product". > My comment was hardly derisive! It was just an acknowledgment of what > he'd said. Sheesh! Yeah, he's spent time on it. A good deal of it. I know, as I've talked to him regularly as he's been working on it. As for the second half, coding for this community on spec is pretty much -exactly- as he described it: putting it out there to see if it's useful [enough for people to pry open their wallets]. The part in brackets was the implied, if unspoken part that Ryan should have added. This community is a very hard sell, as most of us have learned the hard way. So while Ryan is not necessarily as expository as I am, I know -exactly- what he was saying. You, OTOH, dared to extrapolate his explanation into, "I thot it was a serious tool beta kind of thing." [sic] 1) Learn to accurately represent someone else's work. While "serious tool beta kind of thing" is not only a horribly inept attempt at describing something, it's also a vastly inaccurate extrapolated depiction of Ryan's product (sight unseen by you, no less), with a demeaning and pretty negative impact. 2) Learn to spell. I thought you were halfway literate, but I could have been incorrect. Usually correcting someone's spelling in a public forum is ridiculously immature, but my God, I've seen more literate displays from twelve year olds playing Team Fortress 2, so it's rather justified in this case, considering you're commenting in a professional forum about someone else's professional work. Anyone that knows business -at all- knows that perception counts for a lot. To be careless with one's words and even "accidentally" slam both someone's product before it even hits the shelf is not only disrespectful, it's potentially harming their business, and therefore their livelihood. You're slanting the perception of the product before it can even represent itself on the shelf of in the workplace. If you'd even seen it in action, you -might- have grounds to open your mouth, but you didn't, TTBOMK. > -- Tyler Style http://malthusian-solutions.com For someone whose last name is Style, one would think you would actually display some. Or at least some tact. I thought I had the market cornered on that front, but I'm (sort of) glad to see I have competition. Unless you yourself are putting forth a superior offering for public consumption, I don't see any call for you to insinuate anything about someone else's, or even reinforce something you (incorrectly) perceived as a negative connotation. As for your assertion that I have no right to be offended--bollocks. You don't get to call that simply because it's inconvenient to you for me to point out what a git you've made of yourself. Ryan's not only a colleague, he's a close personal friend. I stand by my friends, whether they need me to or not. Now...my advice for you before this escalates into an all-out argument (if you think it already has, you -really- don't read enough) would be to take a deep breath, and walk away from this before you look more the fool than you already do. There's no way in hell you have the higher moral ground at this point to win this one, so you may as well just shut it now and cut your losses--especially when I'm even less in the mood to suffer fools lightly than usual. mark-> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/4ff987ad/attachment.html From tyler.style at gmail.com Mon Apr 27 09:45:26 2009 From: tyler.style at gmail.com (Tyler) Date: Mon, 27 Apr 2009 09:45:26 -0700 Subject: filepro to sql In-Reply-To: <002a01c9c756$345154b0$9cf3fe10$@rr.com> References: <1e78e1e80904270757v6dfbddeag49841c5892128c9a@mail.gmail.com> <002a01c9c756$345154b0$9cf3fe10$@rr.com> Message-ID: <1e78e1e80904270945j201fb5f2lc3c5f242632eb542@mail.gmail.com> I'm sorry you took offense Ryan, it wasn't meant as such. To me your posting sounded like your software was something you were playing around with and just tossed it out there for people to have a look see and see if there was real interest in such before putting serious dev time into it. Mark's post kind of casts doubt on your statement that the list is for mature professionals tho in my book. As does your calling me a little troll. -- Tyler Style http://malthusian-solutions.com On Mon, Apr 27, 2009 at 9:35 AM, Ryan Powers wrote: > I am very capable of speaking for myself Tyler, and since you insist, the > fact is that I did not care to dignify your snide remark with a response. > This is a list for mature professionals and its pretty sad that it has come > to this. I posted to this list for the first time in over a year and right > away I?m insulted by a little troll. > > > > --- > > Ryan Powers > > Bulldog Software, Inc. > > http://www.bulldogsoftware.com > > > > > > *From:* filepro-list-bounces+ryanx=indy.rr.com at lists.celestial.com[mailto: > filepro-list-bounces+ryanx =indy.rr.com@ > lists.celestial.com] *On Behalf Of *Tyler > *Sent:* Monday, April 27, 2009 10:58 AM > *To:* filepro-list at lists.celestial.com > > *Subject:* Re: filepro to sql > > > > Message: 2 > Date: Fri, 24 Apr 2009 12:47:24 -0400 > From: Fairlight > Subject: Re: filepro to sql > > 1, Since Ryan obviously reads the list and replies to it, why not let him > speak for himself? Shouldn't you at least consult him first before going > off on a flame? > > 2, What's with all the ad hominem attacks, anyway? Seriously, if you want > to talk 'professional', you're definitely not holding the moral high ground > that way. > > As for the rest of your post, if you strip out the trolling and flaming > there's very little actual content, just "sound and fury..." > > And I'll dare to say whatever I like, regardless of your opinion of it or > your attempts to bully me. > > -- > Tyler Style > http://malthusian-solutions.com > > > > The honourable and venerable Tyler spoke thus: > > Oi vey, get off your high horse there Mark. > > Anyone that's spent any time on this lists knows that even if I -were- on a > high horse, you'll have to being me pretty solid proof that I am in the > wrong before I'll back down. If you don't know that, you don't read > enough. And it would take someone I actually respect to point it out--a > category from which you excluded yourself with your flip comment about > Ryan's product. > > > For one, it's hardly your place to be insulted - you're not the author. > > On the contrary. Many of us have a lot of colleagues and friends on this > list. I count Ryan as both. Someone that essentially disrespects a friend > of mine by saying something that may unjustly compromise his chances of > success with a venture will be standing in a very unenviable place. > > > For two, in his own words: "This is just something that I spent some time > > on and wanted to put out there to see if it would be a useful product". > > My comment was hardly derisive! It was just an acknowledgment of what > > he'd said. Sheesh! > > Yeah, he's spent time on it. A good deal of it. I know, as I've talked to > him regularly as he's been working on it. As for the second half, coding > for this community on spec is pretty much -exactly- as he described it: > putting it out there to see if it's useful [enough for people to pry open > their wallets]. The part in brackets was the implied, if unspoken part > that Ryan should have added. This community is a very hard sell, as most > of us have learned the hard way. > > So while Ryan is not necessarily as expository as I am, I know -exactly- > what he was saying. > > You, OTOH, dared to extrapolate his explanation into, "I thot it was a > serious tool beta kind of thing." [sic] > > 1) Learn to accurately represent someone else's work. While "serious tool > beta kind of thing" is not only a horribly inept attempt at describing > something, it's also a vastly inaccurate extrapolated depiction of Ryan's > product (sight unseen by you, no less), with a demeaning and pretty > negative impact. > > 2) Learn to spell. I thought you were halfway literate, but I could have > been incorrect. Usually correcting someone's spelling in a public forum is > ridiculously immature, but my God, I've seen more literate displays from > twelve year olds playing Team Fortress 2, so it's rather justified in this > case, considering you're commenting in a professional forum about someone > else's professional work. > > Anyone that knows business -at all- knows that perception counts for a > lot. To be careless with one's words and even "accidentally" slam both > someone's product before it even hits the shelf is not only disrespectful, > it's potentially harming their business, and therefore their livelihood. > You're slanting the perception of the product before it can even represent > itself on the shelf of in the workplace. If you'd even seen it in action, > you -might- have grounds to open your mouth, but you didn't, TTBOMK. > > > -- Tyler Style http://malthusian-solutions.com > > For someone whose last name is Style, one would think you would actually > display some. Or at least some tact. I thought I had the market cornered > on that front, but I'm (sort of) glad to see I have competition. > > Unless you yourself are putting forth a superior offering for public > consumption, I don't see any call for you to insinuate anything about > someone else's, or even reinforce something you (incorrectly) perceived as > a negative connotation. > > As for your assertion that I have no right to be offended--bollocks. You > don't get to call that simply because it's inconvenient to you for me to > point out what a git you've made of yourself. Ryan's not only a colleague, > he's a close personal friend. I stand by my friends, whether they need me > to or not. > > Now...my advice for you before this escalates into an all-out argument (if > you think it already has, you -really- don't read enough) would be to take > a deep breath, and walk away from this before you look more the fool than > you already do. There's no way in hell you have the higher moral ground > at this point to win this one, so you may as well just shut it now and cut > your losses--especially when I'm even less in the mood to suffer fools > lightly than usual. > > mark-> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/67cd6c5a/attachment-0001.html From tyler.style at gmail.com Mon Apr 27 09:50:23 2009 From: tyler.style at gmail.com (Tyler) Date: Mon, 27 Apr 2009 09:50:23 -0700 Subject: email Message-ID: <1e78e1e80904270950p67cba6d1wff6b27fabdb9e013@mail.gmail.com> We use openserver 6 and send email all the time. If your sendmail is configured, you can just write out a textfile and use a system command with sendmail to pop it along. -- Tyler Style http://malthusian-solutions.com > Date: Mon, 27 Apr 2009 12:12:47 -0400 > From: "ROBERT PULLIAM" > Subject: email > > Using sco unix. Filepro. > Is there a way to send email? My business statements are > getting to be so many and postal rates keep going up that I would like to > send statements by email. A field in the filepro database contains the > email address. > > Robert Pulliam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/071047a3/attachment.html From ras at anzio.com Mon Apr 27 09:55:23 2009 From: ras at anzio.com (Bob Rasmussen) Date: Mon, 27 Apr 2009 09:55:23 -0700 (PDT) Subject: email In-Reply-To: References: Message-ID: On Mon, 27 Apr 2009, ROBERT PULLIAM wrote: > Using sco unix. Filepro. > Is there a way to send email? My business statements are > getting to be so many and postal rates keep going up that I would like to send statements by email. A field in the filepro database contains the email address. There's probably more to it than that. What kind of email do you want to send them? Plain text, which they have just as much trouble printing as you do, that looks like 1965 correspondence? PCL, when you don't know if they have a PCL printer? A better option is to send them a well-formatted PDF. It can be viewed on any system, printed on any printer, and it can look nice, with boxes, logo, font changes, etc. As has been mentioned, our software will allow you to pass the job to a Windows box, create a PDF from it, and email it, interactively, semi-interactively, or totally batch. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From fp at fpgroups.com Mon Apr 27 10:07:41 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Mon, 27 Apr 2009 13:07:41 -0400 Subject: email In-Reply-To: References: Message-ID: <49F5E65D.5040909@fpgroups.com> ROBERT PULLIAM wrote: > Using sco unix. Filepro. > Is there a way to send email? My business statements are > getting to be so many and postal rates keep going up that I would like > to send statements by email. A field in the filepro database contains > the email address. > > Robert Pulliam Robert, If you have sendmail or any MTA configured in your box, you should be able to use mutt or something similar to send email right out of your filePro application. That being said, since you are sending statements, there is a chance that you may want to use HTML and some images to make them look nice. You might want to set them up so that when printed, they fit nicely on a page, etc,. etc., etc. Some time ago I wrote a code snippet where I explain an alternative to producing HTML forms from filePro (http://www.fpgroups.com/index.php?Target=code). I included the filePro code which could be easily plugged into any filePro based application and produce any filePro form in HTML using any generic WYSIWYG type application to design the form itself. In short, you can produced any filePro form in HTML in two basic steps: (1) Design the forms using any WYSIWYG application or something similar (2) Use the code I provided within your program and call the routine I have done this type of thing many times before and have gotten very nice results. If you wish, just let me know if you need detailed instructions or help with your code to get this done. Regards, Jose Lerebours 9545-559-7186 http://www.fpgroups.com From john at valar.com Mon Apr 27 11:33:33 2009 From: john at valar.com (John Esak) Date: Mon, 27 Apr 2009 14:33:33 -0400 Subject: email In-Reply-To: Message-ID: <200904271833.n3RIXXAr023689@admin114.securesites.net> My recommendation is pick up Lightmail from www.fairlite.com. $149 I think. It will be very easy for you to send any email from with fifleP It lets you run a SYSTEM command that lets you combine text and data from your records. Very easy to use... with or without attachments, bodies, subject, cc., etc. I have a ready-to-go prc table that employs LightMail I could put up here. john John _____ From: filepro-list-bounces+john=valar.com at lists.celestial.com [mailto:filepro-list-bounces+john=valar.com at lists.celestial.com] On Behalf Of ROBERT PULLIAM Sent: Monday, April 27, 2009 12:13 PM To: filepro-list at lists.celestial.com Subject: email Using sco unix. Filepro. Is there a way to send email? My business statements are getting to be so many and postal rates keep going up that I would like to send statements by email. A field in the filepro database contains the email address. Robert Pulliam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090427/ca812937/attachment.html From rkreiss at gccconsulting.net Mon Apr 27 12:29:48 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Mon, 27 Apr 2009 15:29:48 -0400 Subject: email In-Reply-To: <49F5DEA2.7020601@spamcop.net> References: <49F5DEA2.7020601@spamcop.net> Message-ID: <007701c9c76e$8e39c350$aaad49f0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Monday, April 27, 2009 12:35 PM > To: ROBERT PULLIAM > Cc: filepro-list at lists.celestial.com > Subject: Re: email > > ROBERT PULLIAM wrote: > > Using sco unix. Filepro. > > Is there a way to send email? My business statements are > > getting to be so many and postal rates keep going up that I would like to send > statements by email. A field in the filepro database contains the email address. > > The never-released v2n2 edition of Laura's filePro Developer's Journal had > an article by me, "Customized, Word-wrapped E-mail from filePro". The > complete (well, technically, "incomplete", as it was never finished) edition > is available from her old website here: > > http://www.hvcomputer.com/old/fpdj/v2n2 > > The article starts on page 21. It uses nroff to format, and sendmail to > send the e-mail. > > -- > Kenneth Brody Ken, With fp 5.6 and wordwrap option, could not one use this to have nicely formatted test for emailing? With a little bit of work, one can use proportional fonts in the output and have it wrap properly. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From tyler.style at gmail.com Tue Apr 28 08:22:16 2009 From: tyler.style at gmail.com (Tyler) Date: Tue, 28 Apr 2009 08:22:16 -0700 Subject: email Message-ID: <1e78e1e80904280822p5c5a6cd0v25219eb9db0d125e@mail.gmail.com> I'll second Bob's suggestion - generating and mailing a PDF or making it available for the customer to download/view it on your website is probably the best solution. We do that for many documents, and it works super well for us. If you don't know how to generate PDFs using Openserver's pcl2pdf and mail them using sendmail, you'd definitely be best off using a Windows box and Bob's software. -- Tyler Style http://malthusian-solutions.com Message: 2 Date: Mon, 27 Apr 2009 09:55:23 -0700 (PDT) From: Bob Rasmussen Subject: Re: email To: ROBERT PULLIAM Cc: filepro-list at lists.celestial.com Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 27 Apr 2009, ROBERT PULLIAM wrote: > Using sco unix. Filepro. > Is there a way to send email? My business statements are > getting to be so many and postal rates keep going up that I would like to send statements by email. A field in the filepro database contains the email address. There's probably more to it than that. What kind of email do you want to send them? Plain text, which they have just as much trouble printing as you do, that looks like 1965 correspondence? PCL, when you don't know if they have a PCL printer? A better option is to send them a well-formatted PDF. It can be viewed on any system, printed on any printer, and it can look nice, with boxes, logo, font changes, etc. As has been mentioned, our software will allow you to pass the job to a Windows box, create a PDF from it, and email it, interactively, semi-interactively, or totally batch. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090428/145713a3/attachment.html From filepro at microlite.com Tue Apr 28 14:58:18 2009 From: filepro at microlite.com (Alias for filepro) Date: Tue, 28 Apr 2009 17:58:18 -0400 Subject: Quiet this week without Bob Message-ID: <20090428215818.94A2D30B59@mailbox.microlite.com> No talk of Saturday and Roses and Mint Juleps. It's just not the same this year without Bob Stockler. Sigh. Tom Podnar Microlite From bill at celestial.com Tue Apr 28 15:55:23 2009 From: bill at celestial.com (Bill Campbell) Date: Tue, 28 Apr 2009 15:55:23 -0700 Subject: Quiet this week without Bob In-Reply-To: <20090428215818.94A2D30B59@mailbox.microlite.com> References: <20090428215818.94A2D30B59@mailbox.microlite.com> Message-ID: <20090428225523.GA20989@ayn.mi.celestial.com> On Tue, Apr 28, 2009, Alias for filepro wrote: >No talk of Saturday and Roses and Mint Juleps. It's just not the same this >year without Bob Stockler. Sigh. True enough. Raise a toast with a virtual mint julep. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 The Constitution is a written instrument. As such, its meaning does not alter. That which it meant when it was adopted, it means now. -- SOUTH CAROLINA v. US, 199 U.S. 437, 448 (1905) From mschw at athenet.net Tue Apr 28 16:14:22 2009 From: mschw at athenet.net (Mike Schwartz) Date: Tue, 28 Apr 2009 18:14:22 -0500 Subject: Quiet this week without Bob In-Reply-To: <20090428225523.GA20989@ayn.mi.celestial.com> References: <20090428215818.94A2D30B59@mailbox.microlite.com> <20090428225523.GA20989@ayn.mi.celestial.com> Message-ID: <014b01c9c857$11b5b200$35211600$@net> > -----Original Message----- > From: filepro-list-bounces+mschw=athenet.net at lists.celestial.com > [mailto:filepro-list-bounces+mschw=athenet.net at lists.celestial.com] On > Behalf Of Bill Campbell > Sent: Tuesday, April 28, 2009 5:55 PM > To: filepro-list at lists.celestial.com > Subject: Re: Quiet this week without Bob > > On Tue, Apr 28, 2009, Alias for filepro wrote: > > >No talk of Saturday and Roses and Mint Juleps. It's just not the same > this > >year without Bob Stockler. Sigh. > > True enough. Raise a toast with a virtual mint julep. > > Bill Virtual ?!?? I still have 1/2 of the pint of bourbon I bought for last year's KD. (That was the first mint julep I ever had, made with Bob's recipe. I'll forward the recipe to anybody who asks for it.) And one final reminder from Bob: [snip] For you added convenience (since I may not be around next year) here are the dates of Kentucky Derby Day for this and the next 20 years: Derby Day is Saturday 05/03/2008 Derby Day is Saturday 05/02/2009 Derby Day is Saturday 05/01/2010 Derby Day is Saturday 05/07/2011 Derby Day is Saturday 05/05/2012... [/snip] Mike Schwartz From mschw at athenet.net Tue Apr 28 20:26:13 2009 From: mschw at athenet.net (Mike Schwartz) Date: Tue, 28 Apr 2009 22:26:13 -0500 Subject: OT: FW: You're (posthumously) Invited - Virtual KY Derby Party Message-ID: <017001c9c87a$4060a290$c121e7b0$@net> Bob's mint julep recipe: -----Original Message----- From: filepro-list-bounces at lists.celestial.com [mailto:filepro-list-bounces at lists.celestial.com] On Behalf Of Bob Stockler Sent: Tuesday, March 15, 2005 12:34 PM To: filePro Mailing List Subject: OT: You're Invited - Virtual KY Derby Party To help you better enjoy our Virtual Kentucky Derby Party . . . Here is the Kentuck Mint Julep recipe I recommend for all who attend the Virtual Kentucky Party in the filePro Room May 7th. Have sufficient of the fixins on hand: Sprigs of mint for the number of Mint Juleps planned. Kentucky Bourbon. Sterling Silver Mint Julep cups. Simple syrup. Cracked ice. You can pick the mint from your garden, if you planted some in a raised bed (higher than a dog can lift his hind leg), or get some from your green grocer, 100 proof Kentucky Bourbon is preferred, but whatever the proof it _must_ be genuine straight Kentucky Bourbon - distilled, aged and bottled in Kentucky (no blends are allowed) [1]. Substitute your favorite drinking vessel if Sterling Silver cups aren't available, but chill what's used well in advance. Simple syrup is a solution of sugar in water. You can make your own or buy Bar Syrup at a liquor store. If you make your own, start several days in advance to get as saturated a solution as possible (dilution of the Mint Julep is to be avoided [2]). Putting it all together: Fill the chilled drinking vessel with cracked ice and pour the Kentucky Bourbon on that (almost to the brim). Add simple syrup to taste and stir. (The bartender is encouraged to taste all concoctions he prepares, to assure only the highest quality is served.) Insert a sprig of mint, of a length so its top leaves tickle the imbiber's nose when sipped. Hoping you'll join us for the most exciting 2 minutes in sports, Bob [1] - While it's not 100 proof, Blanton's Single Barrel Kentucky Bourbon (93) will be served in Louisville. [2] - It's also a good idea to chill the Kentuck Bourbon overnight in the refrigerator, so it doesn't melt the cracked ice too quickly. [snip] Simple syrup is saturated sugar water. You can make it yourself (Google for recipies), or buy it premade at liquor stores as I do (Collins Bar Syrup). [/snip] -- Bob Stockler - bob at trebor.iglou.com Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus. Fully functional (time-limited) demos available by email request (specify OS). _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.287 / Virus Database: 270.12.5/2083 - Release Date: 04/28/09 06:15:00 From fp at fpgroups.com Wed Apr 29 05:46:01 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Wed, 29 Apr 2009 08:46:01 -0400 Subject: free filePro application Message-ID: <49F84C09.1050004@fpgroups.com> Long time ago I mentioned my believe that there might be some benefit on bringing filePro closer to the "open source" community. I have a full blown application which I believe could be deployed in any of the following (a) Retail (b) Wholesale (c) Distribution (d) Service The application is very much install and go ready. I wrote it under SCO UNIX platform but as you know, it can be ported to any filePro compatible OS. There might be some work needed if moved out of *NIX environment but very minimal (just for shell scripts). If you are interested and would like to learn more about this application, please contact me off list and I will provide you with a PDF document showing some of the features built into this application. This is a great opportunity for those of you looking for something you can market right out of the box. FREE? Yes, free! No strings attached. As a developer, you should be able to navigate your way through the application, maintain it, modify it and do with it what you please. Is there a catch? Not really - I developed the application a very long time ago. I am not doing anything with it myself and I think it would be a shame to just let it die. I am in the process of writing an identical application in PHP+MySQL. That being said, there is that chance that one or two of you will hire me as a result of your success with this application. Think of this application as my filePro format resume. If you wish to call me, feel free to ... I will love to answer your questions! Regards, Jose Lerebours http://www.fpgroups.com 954-559-7186 From doug.luurs at gmail.com Wed Apr 29 05:57:02 2009 From: doug.luurs at gmail.com (Doug Luurs) Date: Wed, 29 Apr 2009 08:57:02 -0400 Subject: STN Termcap.sh program Message-ID: I've been trying to get ahold of STN for the last few day to see if I can get ahold of a copy of their termcap.sh program. ( REF: STN Filepro Development Guide 4th Ed - Page 167 ) Does anyone at STN read the list .. and might I a copy of the program please ? (or anyone else for that matter) Thanks From fp at fpgroups.com Wed Apr 29 07:13:14 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Wed, 29 Apr 2009 10:13:14 -0400 Subject: Contacting Jose Lerebours Message-ID: <49F8607A.7090708@fpgroups.com> I have received a couple of phone calls and learned of my email address coming back as unknown. If you are having this problem, you can try using fpgroups at gmail.com or simply call me ... Please excuse this inconvenience, I have to get GoDaddy to fix this problem once and for all. Regards, Jose Lerebours http://www.fpgroups.com 954-559-7186 fp at fpgroups.com fpgroups at gmail.com From bill at celestial.com Wed Apr 29 09:40:27 2009 From: bill at celestial.com (Bill Campbell) Date: Wed, 29 Apr 2009 09:40:27 -0700 Subject: STN Termcap.sh program In-Reply-To: References: Message-ID: <20090429164027.GB18012@ayn.mi.celestial.com> On Wed, Apr 29, 2009, Doug Luurs wrote: >I've been trying to get ahold of STN for the last few day to see if I >can get ahold of a copy of their termcap.sh program. >( REF: STN Filepro Development Guide 4th Ed - Page 167 ) > >Does anyone at STN read the list .. and might I a copy of the program please ? >(or anyone else for that matter) What does this program do? I have several perl or python routines that do termcap manipulation on *nix boxen. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his wife Hillary got $8 million for hers. That's $20 million for memories from two people who for eight years repeatedly testified they couldn't remember anything. From bruce at stn.com Wed Apr 29 10:21:55 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 29 Apr 2009 13:21:55 -0400 Subject: STN Termcap.sh program In-Reply-To: <20090429164027.GB18012@ayn.mi.celestial.com> References: <20090429164027.GB18012@ayn.mi.celestial.com> Message-ID: Bill Campbell wrote Wednesday, April 29, 2009 12:40 PM: > > On Wed, Apr 29, 2009, Doug Luurs wrote: > >I've been trying to get ahold of STN for the last few day to > see if I > >can get ahold of a copy of their termcap.sh program. > >( REF: STN Filepro Development Guide 4th Ed - Page 167 ) > > > >Does anyone at STN read the list .. and might I a copy of > the program please ? > >(or anyone else for that matter) > > What does this program do? I have several perl or python > routines that do termcap manipulation on *nix boxen. > > Bill > -- > INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC Bill - our book says this program will "take the code [termcap] apart, and display it in readable form." Looks like it asks for the name of the termcap file and a terminal type and then outputs a list with entries like: . . G1 ^A\277 Graphics - Upper-right G2 ^A\332 Graphics - Upper-left . . PC \E[X filePro - redraw screen . . etc. So the shell program is accompanied by a library file that has the descriptions for the different kinds of possible entries. I notice it has a sizeable sed command in the middle - I'd have to have a Sudafed to understand it more. I sent Doug the program and lib files. Bruce Bruce Easton STN, Inc. From fairlite at fairlite.com Wed Apr 29 12:45:15 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 29 Apr 2009 15:45:15 -0400 Subject: OT: Virtual OSes Message-ID: <20090429154515.A11620@iglou.com> I've known about VMWare for ages. I've even been using DOSBox for some retro gaming. I was just looking into Joomla! the other day, and through looking at something they did, I found out about a project Sun did that I guess I sort of previously missed. It's called VirtualBox (www.virtualbox.org). It's virtualisation. In short--run guest OSes from your current one. They've got binaries for all the big host OSes. I've used Microsoft's Hyper-V, and I have to say that (unsurprisingly) I'm much happier with Sun's take on it than MS's overly-complex attempt that does a lot poorer job at some things given the complexity. (Do -not- get me started on their keyboard and mouse handling under Hyper-V with linux.) Pretty much it was as simple as download and install VirtualBox, download the DVD ISO for OpenSuSE 11.1, and do the normal installation of SuSE inside VirtualBox. It went flawlessly, and I now have SuSE 11.1 running under WinXP whenever I want it. I used to dual boot, years back. I stopped because I'm a heavy gamer (as many of you know), and games for linux never really took off properly. I was spending so much time in Windows that I just stopped booting linux entirely, preferring to use remote, and then in-house headless systems for separate linux use. The Cobalt Qube that I'd maintained in-house has HD issues, and was dodgy at best to attempt updating to a modern linux dist due to some limitations inherent in the firmware. So that's been down for a while. Now I basically get to do all my gaming and usual desktop/multimedia/whatever on WinXP, but get to run a proper linux development system on-demand, without rebooting at all. About the only bad thing I have to say about VirtualBox thus far -isn't- even Sun's fault--it's Microsoft's. Just keep clicking "Continue" when you get about 8+ boxes warning about unsigned this and unsigned that. It all works just fine (straight down to the networking--which required -zero- configuration and even properly grabbed my nameserver configs). So you get some warnings/confirmations, but it's Windows that generates them, not VB. And only during install. Can't say enough good things about this setup. And since it works off of virtual hard drive images, you can add as many distributions as you like to test drive, compare, use, whatever. And the dynamically resising ones are great. It's also NOT limited to linux. You can run BSD, linux, Solaris, Windows, OS/2, or "Other". Hmmm. Wonder if you can get OS/X running on Windows. :) Anyway...it solves a bunch of logistical problems for me, including my old linux dev box being headless. If you have the need (or just like to putz around), give it a shot. As near as I can tell, it's all good. mark-> From doug at borisch.com Wed Apr 29 10:53:09 2009 From: doug at borisch.com (Doug Luurs) Date: Wed, 29 Apr 2009 13:53:09 -0400 Subject: STN Termcap.sh program In-Reply-To: References: <20090429164027.GB18012@ayn.mi.celestial.com> Message-ID: <7FD9E40A40547A4DA8FFFE464EE8177759C21205@bmc0003.borisch.local> And it's working great .. Much easiler to read the output from this then the raw termcap. -----Original Message----- From: filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com [mailto:filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com] On Behalf Of Bruce Easton Sent: Wednesday, April 29, 2009 1:22 PM To: 'filepro list' Subject: RE: STN Termcap.sh program Bill Campbell wrote Wednesday, April 29, 2009 12:40 PM: > > On Wed, Apr 29, 2009, Doug Luurs wrote: > >I've been trying to get ahold of STN for the last few day to > see if I > >can get ahold of a copy of their termcap.sh program. > >( REF: STN Filepro Development Guide 4th Ed - Page 167 ) > > > >Does anyone at STN read the list .. and might I a copy of > the program please ? > >(or anyone else for that matter) > > What does this program do? I have several perl or python > routines that do termcap manipulation on *nix boxen. > > Bill > -- > INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC Bill - our book says this program will "take the code [termcap] apart, and display it in readable form." Looks like it asks for the name of the termcap file and a terminal type and then outputs a list with entries like: . . G1 ^A\277 Graphics - Upper-right G2 ^A\332 Graphics - Upper-left . . PC \E[X filePro - redraw screen . . etc. So the shell program is accompanied by a library file that has the descriptions for the different kinds of possible entries. I notice it has a sizeable sed command in the middle - I'd have to have a Sudafed to understand it more. I sent Doug the program and lib files. Bruce Bruce Easton STN, Inc. _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list -- These commodities/technical data are controlled under the United States Export Regulations and may not be exported to a foreign person, either in the U.S. or abroad, without the proper authorization of the U.S. Department of State or the U.S. Department of Commerce. Please contact Borisch Manufacturing Corporation for commodity classification and jurisdiction. This E-mail, including any attachments, may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this E-mail in error, please notify the sender, do not disclose its contents to others, and delete it from your system. Any other use of this E-mail and/or attachments is prohibited. This message is not meant to constitute an electronic signature or intent to contract electronically. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090429/65660901/attachment-0001.html From appl at jpr.com Wed Apr 29 13:33:10 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Wed, 29 Apr 2009 16:33:10 -0400 Subject: STN Termcap.sh program In-Reply-To: References: <20090429164027.GB18012@ayn.mi.celestial.com> Message-ID: <20090429203310.GA22893@jpradley.jpr.com> Bruce Easton propounded (on Wed, Apr 29, 2009 at 01:21:55PM -0400): | Bill Campbell wrote Wednesday, | | Bill - our book says this program will "take the code [termcap] | apart, and display it in readable form." Looks like it asks | for the name of the termcap file and a terminal type and then | outputs a list with entries like: | | G1 ^A\277 Graphics - Upper-right | G2 ^A\332 Graphics - Upper-left | | . . . . . | | I sent Doug the program and lib | files. | If you're handing it out for free, why not post it publicly, for example in the filePro subdirectory of ftp.jpr.com? -- JP From bill at celestial.com Wed Apr 29 13:51:10 2009 From: bill at celestial.com (Bill Campbell) Date: Wed, 29 Apr 2009 13:51:10 -0700 Subject: STN Termcap.sh program In-Reply-To: <20090429203310.GA22893@jpradley.jpr.com> References: <20090429164027.GB18012@ayn.mi.celestial.com> <20090429203310.GA22893@jpradley.jpr.com> Message-ID: <20090429205110.GA28072@ayn.mi.celestial.com> On Wed, Apr 29, 2009, Jean-Pierre A. Radley wrote: >Bruce Easton propounded (on Wed, Apr 29, 2009 at 01:21:55PM -0400): >| Bill Campbell wrote Wednesday, >| >| Bill - our book says this program will "take the code [termcap] >| apart, and display it in readable form." Looks like it asks >| for the name of the termcap file and a terminal type and then >| outputs a list with entries like: >| >| G1 ^A\277 Graphics - Upper-right >| G2 ^A\332 Graphics - Upper-left >| >| . . . . . >| >| I sent Doug the program and lib | files. >| > >If you're handing it out for free, why not post it publicly, for example in >the filePro subdirectory of ftp.jpr.com? The routines I've written are designed to get termcap entries, remove extra whitespace, and some other manipulations that are useful when dealing with the 1024 termcap length limits. Writing a python or perl script to display the information above is pretty easy, if a bit tedious, as it primarily requires building a dictionary (perl hash) mapping termcap entries to the English description. This is compilicated a bit with FilePro and SCO termcaps as they tend to have entries that are not in the standard (whatever that means) termcap documentation. Most of these extra codes go back to Xenix, MultiPlan, and other Microsoft or SCO extensions. Modern curses applications use terminfo, not termcap, but I like termcap for things like printer code definitions, largely because one can define non-standard entries without having to extend the terminfo definitions. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 We maintain that the very foundation of our way of life is what we call free enterprise, said Cash McCall, but when one of our citizens show enough free enterprise to pile up a little of that profit, we do our best to make him feel that he ought to be ashamed of himself. -- Cameron Hawley From appl at jpr.com Wed Apr 29 15:52:12 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Wed, 29 Apr 2009 18:52:12 -0400 Subject: STN Termcap.sh program In-Reply-To: <7FD9E40A40547A4DA8FFFE464EE8177759C21205@bmc0003.borisch.local> References: <20090429164027.GB18012@ayn.mi.celestial.com> <7FD9E40A40547A4DA8FFFE464EE8177759C21205@bmc0003.borisch.local> Message-ID: <20090429225212.GB25172@jpradley.jpr.com> Doug Luurs propounded (on Wed, Apr 29, 2009 at 01:53:09PM -0400): | And it's working great .. Much easiler to read the output from this | then the raw termcap. If I ask it to describe ansi, it gives a lot of good output, but also spews multiple contradictory answers for the many of the codes. If I ask it to describe scoansi, it doesn't know how to decode the tc entry so it reports essentially nothing. Having an executable look expect its data file to reside in /usr/bin makes me shudder and shreik. So what leads to you say it's "working great?" -- JP