Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing a Report - Get asked for the cursor object
Message
From
08/07/2005 05:58:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Editing a Report - Get asked for the cursor object
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01030301
Message ID:
01030301
Views:
53
Hi

I have a report that is invoked from a dialogue.
In the dialogue you select the actual name of an output .dbf to print.
All such output files have the same format and field names
The report, of course, has no DE, and all the controls have merely the field names from the output files as source.
I have two other very similar reports but, when I go to edit this one, I get a "Locate Database" error dialogue that says:

"Error instantiating cursor object. Cannot find {path}\A3tp2_1a.dbf" - locate, ignore, etc.

Now this file happens to be one of the user-generated output tables that has been used by the report in the past. This error message has never come up before, and doesn't happen with the other similar reports. So it seems that somehow this report has managed to get a cursor name "embedded" in it, almost as in the DE.

I'm allowed to "ignore" and go on to edit the report.

Any ideas how this came about, or how I can get rid of it?

Also, note that I get the "Locate Database" error dialogue, like you get when VFP can't get the back-link of the DBC for a database table.

Could this be a "throw-back" to the old FPD days when tables were called databases, and the wording slipped in unnoticed?

Or, what gives?

Perplexed

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Next
Reply
Map
View

Click here to load this message in the networking platform