I'm in the process of upgrading a large application from VFP3 to VFP6. When I try to run a report, a messagebox tells me that FoxPro is "unable to find _fpreset.prg". Sure enough, there's a field on the report that says "preset_____". It's there in the VFP3 version also, but isn't visible when the form runs.
Using the report editor to remove this field from the VFP6 version of the app doesn't fix the problem. The only way I've found to get the report working is to open the *.frx file as a data file, mark the record containing the reference to _fpreset for deletion and pack it. Here's what's in the record I'm deleting:
All other columns are empty.
I'm guessing that all this has something to do with resetting messed up floating point operations. My questions are:
1. What risk am I taking in removing this item from the report definition?
2. If I'll lose something important by deleting it, how can I restore proper functionality in the VFP6 version?
3. What's a report objtype 18?
4. How did this invisible field get into the VFP3 report if I didn't intentionally put it there?
Thanks in advance for any assistance you can offer,
Jim
Using the report editor to remove this field from the VFP6 version of the app doesn't fix the problem. The only way I've found to get the report working is to open the *.frx file as a data file, mark the record containing the reference to _fpreset for deletion and pack it. Here's what's in the record I'm deleting:
Code:
Platform: WINDOWS
Uniqueid: _0B80TNCSE
Timestamp: 709246728
Objtype: 18
Name: preset
Expr: _fpreset()
Unique: F
Tag: 0
Totaltype: 0
Resettotal: 1
All other columns are empty.
I'm guessing that all this has something to do with resetting messed up floating point operations. My questions are:
1. What risk am I taking in removing this item from the report definition?
2. If I'll lose something important by deleting it, how can I restore proper functionality in the VFP6 version?
3. What's a report objtype 18?
4. How did this invisible field get into the VFP3 report if I didn't intentionally put it there?
Thanks in advance for any assistance you can offer,
Jim