Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OpenResource error
Message
From
05/01/2006 18:07:55
Paul Weisberg
White Mountain Software
Saskatoon, Saskatchewan, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
OpenResource error
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01083844
Message ID:
01083844
Views:
60
I am getting an error in VFP9 report previewer just as the previewer is opening for the second time:

Table has no index order set
Line 0 in openresource()
frxpreviewform.Error()

I have spent hours trying different workarounds. I have it tracked down to restoring a view. If I restore the view this error is guarenteed. Here are my exact steps:

Open modal form, open data environment etc
In INIT() method save the current view
Run a report
Previewer works fine
Restore the view (because the reports do lots of damage)
Run the reports again
Immediate error as the previewer is opening.

Does anyone have any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform