Hi all
I am converting an old foxpro 2.5 app to vfp version 7. I did not write the original application which has absolutely zilch in the way of comments and documentation.
I have found a situation in three different programs in the application where the old code runs fine in foxpro, but bombs in vfp on gather statements. I am trying to figure out if there is something different about the gather (and scatter) commands in foxpro and vfp that may be causing this problem.
An example of one of the gather statements causing the problem is:
gather from per fields per1, per2, per3, per4, per5, per6
The error I get is variable 'per1' is not found
Based on my understanding of how the gather statement works, the table that is selected at the time that the gather statement occurs should have the fields per1, per2, ..., per6 in it. In my case, the table selected does not have these fields.
Any help or advice you all could give is much appreciated.
Thanks,
Julie
I am converting an old foxpro 2.5 app to vfp version 7. I did not write the original application which has absolutely zilch in the way of comments and documentation.
I have found a situation in three different programs in the application where the old code runs fine in foxpro, but bombs in vfp on gather statements. I am trying to figure out if there is something different about the gather (and scatter) commands in foxpro and vfp that may be causing this problem.
An example of one of the gather statements causing the problem is:
gather from per fields per1, per2, per3, per4, per5, per6
The error I get is variable 'per1' is not found
Based on my understanding of how the gather statement works, the table that is selected at the time that the gather statement occurs should have the fields per1, per2, ..., per6 in it. In my case, the table selected does not have these fields.
Any help or advice you all could give is much appreciated.
Thanks,
Julie