Unix Technical Forum

Processing Table problems (2) in FilePro 4.0

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: ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 06:05 PM
Richard
 
Posts: n/a
Default Processing Table problems (2) in FilePro 4.0

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 06:05 PM
Richard
 
Posts: n/a
Default Re: Processing Table problems (2) in FilePro 4.0

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 06:05 PM
Bill Campbell
 
Posts: n/a
Default Re: Processing Table problems (2) in FilePro 4.0

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 06:05 PM
Richard
 
Posts: n/a
Default Re: Processing Table problems (2) in FilePro 4.0

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2008, 06:05 PM
Jean-Pierre Radley
 
Posts: n/a
Default Re: Processing Table problems (2) in FilePro 4.0

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 <==
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-15-2008, 06:05 PM
Richard
 
Posts: n/a
Default Re: Processing Table problems (2) in FilePro 4.0

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 <==


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com