not foobar lookup problem
Kenneth Brody
kenbrody at bestweb.net
Thu Nov 20 12:52:59 PST 2008
Quoting RKreiss1 (Thu, 20 Nov 2008 15:29:48 -0500):
> Ken,
>
> Since the only change I made on the program lookup line was to change sales
> to salej, and the lookup worked, I have to assume that the problem is with
> the alias.
The above sentence contains the root cause of your problem. (Specifically,
why you believe changing the alias changed whether the lookup succeeded or
failed.) Do you see it?
Unless, that is, there are other details about the change(s) you made, but
failed to mention.
> CCP_CODE is what I expected it to be, the values from the record mark(16)
> which is in the form NNNN-NNNNN.
>
> With the debugger on, I checked the value. Opened the sales journal and
> entered the value into index C and got to the expected record.
Are you sure you're using the exact same value in dclerk's index prompt as
is in the ccp_code variable used in the lookup?
> Is it possible that the sales_journal file using the alias sales was still
> open from the lookup in auto processing using the current master_code
> (ccp_code - long variable), when the lookup executed, it was looking at the
> original record?
No.
[...]
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list