Processing Table problem in FilePro 4.0

Walter Vaughan wvaughan at steelerubber.com
Sat Jun 24 18:23:03 PDT 2006


rlmuller at uscomputergurus.com 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"+ at RN
> 2  -------------------------------------
>                 If
>                 Then END
> 3  -------------------------------------
> @WLF1   If 1 GT ("1000"+ at RN)
>                 Then BEEP; SHOW "CustID must be in the range 1001-" &
> ("1000"+ at RN);
> SCREEN, 1
> 4  -------------------------------------
>                 If
>             Then END
> 5  -------------------------------------
> 
> Problem: 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.)

Why you are doing doesn't make much sense. Why are you allowing the the user to 
change this field? If you want field one to be @rn + "1000" you gotta tell 
filepro you want to update the display. Put a DISPLAY before the END on line two.

Why are you using a version of filePro that is not Y2K aware?

I still can't figure out the logic. If you are going to allow the operator to 
override the assigned custID, how do you keep from having two customers with 
CustID of 6666?

--
Walter


More information about the Filepro-list mailing list