Browse lookup possible gotcha
GCC Consulting
gcc at optonline.net
Fri Feb 11 09:26:27 PST 2005
This is more of a cautionary warning.
I needed to modify an old program to handle change the index used in a browse
lookup based on the customer whose order is being processed.
The browse had been created using the browse wizard.
I broke the browse to its component parts but added a processing label
prc=do_num.
ba=
bb=
bc=
b=(ba&bb&bc)
Finished the other necessary changes and ran a syntax check. Everything was OK.
The only problem, I forgot to add the sub-routine for the prc=.
No syntax error.
I test this using the wizard. In both cases, wizard & non-wizard configuration,
if one forgets to add the sub-routine there will be no warning during the syntax
check.
Now, I realize that this is a programmers responsibility.
Just wanted to give you all a heads up in case, like I did, you forget to add in
the routine.
Yes, I remembered to add it in right after I left the program. No run time
errors.
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list