Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sfreport not working after deleting REPMETA
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Sfreport not working after deleting REPMETA
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076770
Message ID:
01076770
Views:
93
I was adding new fields to my table and then running the sfreports. The new fields didn't showup in sfreports so I deleted the REPMETA.DBF. When I ran the sfreports again and tried to create a new report I got following error:
Error #31
Message: Invalid subscript reference.
Code: dimension loFieldCollection.aTables[lnCursors, 2]
Line #: 38
Method: sfrfieldmetadata.fillcollection
I ran the debugger and on the following line:
acopy(laCursors, loFieldCollection.aTables)
the
laCursors = .F.
and the
loFieldCollection.aTables = ""
Just adding two field to my table structure and then deleting repmeta to be recreated again shouldn't give me these errors right??? Anything obvious that the I might be doing wrong? I looked at repmeta and it was empty.

thanks
Nick
Next
Reply
Map
View

Click here to load this message in the networking platform