"pig" - heads up
GCC
gccconsulting at comcast.net
Thu Jun 2 19:19:59 PDT 2005
I added this routine to an application I have been working on and ran into a
programming problem.
John and Tony worked with me to solve the problem. Once we realized what was
causing the problem, it seemed obvious.
Here's the problem: While adding records, after the first and last name had
been entered, if this is a new record, @cd = "", and there are duplicate
name(s), display the new browse. The clerk then can check to see if the person
whose information is being entered is the same as one of the records already
entered. The routine worked like a charm. The only problem arose when
returning from the browse routine. I was returned to GOSUB line and then the
record was saved and I was taken to a new record.
The answer to this problem took a while to find. When the routine runs, a blank
screen is displayed. You must remember to redisplay the original screen and
then you MUST use screen ,XX to place the cursor back in the field you want.
If you use a "return", the cursor will go to the first field(upper left) on the
screen.
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list