This is a discussion on Processing Table problems (2) in FilePro 4.0 within the Sco Unix forums, part of the Unix Operating Systems category; --> Hi All, I'm running FP4.0 over WinXP-Pro/SP2. I've got the following input processing table for a two-field MyCust file: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All, I'm running FP4.0 over WinXP-Pro/SP2. I've got the following input processing table for a two-field MyCust file: 1 ------------------------------------- @WEF1 If @CD EQ "" Then 1 = "1000"+@RN 2 ------------------------------------- If Then END 3 ------------------------------------- @WLF1 If 1 GT ("1000"+@RN) Then BEEP; SHOW "CustID must be in the range 1001-" & ("1000"+@RN); SCREEN, 1 4 ------------------------------------- If Then END 5 ------------------------------------- Problem 1: Field 1 does not get populated immediately when an update screen is displayed ... it is blank then. But if I leave it blank and save, scanning the file shows it to be properly set. Why isn't it populated before the display? (I tried 'if 1 EQ ""' too, but to no avail.) Problem 2: If the user enters "1006" for record #5, the "error" is trapped, an essentially correct msg is displayed, and the cursor returns to the offending field. However, the text from ("1000"+@RN) doesn't abut the "1001-" in the msg. How can I left-justify the presentation of that computation? Thanks in Advance, Richard |
| |||
| Hi, I solved problem 2: I just found an example that used "<" rather than "&" for the catenation. I'd still appreciate guidance on problem 1, however. TIA, Richard Richard wrote: > Hi All, > > I'm running FP4.0 over WinXP-Pro/SP2. I've got the following input > processing table for a two-field MyCust file: > > 1 ------------------------------------- > @WEF1 If @CD EQ "" > Then 1 = "1000"+@RN > 2 ------------------------------------- > If > Then END > 3 ------------------------------------- > @WLF1 If 1 GT ("1000"+@RN) > Then BEEP; SHOW "CustID must be in the range 1001-" & ("1000"+@RN); > SCREEN, 1 > 4 ------------------------------------- > If > Then END > 5 ------------------------------------- > > Problem 1: Field 1 does not get populated immediately when an update > screen is displayed ... it is blank then. But if I leave it blank and > save, scanning the file shows it to be properly set. Why isn't it > populated before the display? (I tried 'if 1 EQ ""' too, but to no > avail.) > > Problem 2: If the user enters "1006" for record #5, the "error" is > trapped, an essentially correct msg is displayed, and the cursor > returns to the offending field. However, the text from ("1000"+@RN) > doesn't abut the "1001-" in the msg. How can I left-justify the > presentation of that computation? > > Thanks in Advance, > Richard |
| |||
| On Sat, Jun 24, 2006, Richard wrote: >Hi All, > >I'm running FP4.0 over WinXP-Pro/SP2. I've got the following input >processing table for a two-field MyCust file: You're much more likely to find answers to FilePro questions on the Filepro mailing list. It's a standard Mailman list, and you can subscribe at: http://mailman.celestial.com/mailman/admin/filepro-list Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.'' Robert Heinlein |
| |||
| Hi Bill, > http://mailman.celestial.com/mailman/admin/filepro-list I posted my question there and received two thoughtful replies by knowledgable guys. I just like the NG interface so much better than the NewsList approach. But your point is proven: I'll get more/better responses on that list. Best wishes, Richard Bill Campbell wrote: > On Sat, Jun 24, 2006, Richard wrote: > >Hi All, > > > >I'm running FP4.0 over WinXP-Pro/SP2. I've got the following input > >processing table for a two-field MyCust file: > > You're much more likely to find answers to FilePro questions on > the Filepro mailing list. It's a standard Mailman list, and you > can subscribe at: > > http://mailman.celestial.com/mailman/admin/filepro-list > > Bill > -- > INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 > > ``A human being should be able to change a diaper, plan an invasion, > butcher a hog, conn a ship, design a building, write a sonnet, balance > accounts, build a wall, set a bone, comfort the dying, take orders, give > orders, cooperate, act alone, solve equations, analyze a new problem, pitch > manure, program a computer, cook a tasty meal, fight efficiently, die > gallantly. Specialization is for insects.'' Robert Heinlein |
| |||
| Richard typed (on Sat, Jun 24, 2006 at 08:15:41PM -0700): | Hi Bill, | | > http://mailman.celestial.com/mailman/admin/filepro-list | | I posted my question there and received two thoughtful replies by | knowledgable guys. I just like the NG interface so much better than | the NewsList approach. But your point is proven: I'll get more/better | responses on that list. I saw your problem promptly handled over on the fPlist. But why do you prefer a NewsGroup interface? I have such a strong preference for a Mail interface --specifically for 'mutt'-- that I only deal with NewsGroups as email. (I run an email<==>news reflector for the SCO-related NewsGroups.) -- JP ==> http://www.frappr.com/cusm <== |
| ||||
| Hi JP, There's a Latin expression I've liked since I heard it many years ago: De gustibu non disputandum ist. (SP?): There's no disputing taste. I've used Windows' Outlook Express for many years, so it's been my "war horse". I especially likes the fact that if highlights any newsgroup containing a thread I've flagged for watching. Regards, Richard Jean-Pierre Radley wrote: > Richard typed (on Sat, Jun 24, 2006 at 08:15:41PM -0700): > | Hi Bill, > | > | > http://mailman.celestial.com/mailman/admin/filepro-list > | > | I posted my question there and received two thoughtful replies by > | knowledgable guys. I just like the NG interface so much better than > | the NewsList approach. But your point is proven: I'll get more/better > | responses on that list. > > I saw your problem promptly handled over on the fPlist. > > But why do you prefer a NewsGroup interface? I have such a strong > preference for a Mail interface --specifically for 'mutt'-- that I only > deal with NewsGroups as email. (I run an email<==>news reflector for > the SCO-related NewsGroups.) > > -- > JP > ==> http://www.frappr.com/cusm <== |