Hi Dave
Wow! you seem to know your recno()'s. Im sorry but Im not as clued in as you are. All i know is that on loading the form with aprox 12 tables I get an error message that says:
Error loading file. record number 16 (or one of its members). Loading form or the data enviroment. Index tag is not found.
Having already found which record gives the the index tag and the table before (ie recno()=12), I can regenerate this error by deleting the index again. checking the properties of record 16 (as stated in the error) yields :
Top = 0
Left = 0
Height = 593
Width = 793
Desktop = .F.
ShowWindow = 1
DoCreate = .T.
Comment = ""
AutoCenter = .F.
Picture =
BorderStyle = 2
Caption = ""
ControlBox = .F.
MaxButton = .F.
Movable = .T.
TitleBar = 0
LockScreen = .F.
Name = "Form1"
No mention of any table or index! Record 12 shows me the correct info:
Left = 259
Top = 170
Width = 130
Height = 90
Alias = "groups"
Order = "group"
CursorSource = groups.dbf
Name = "Cursor2"
I know this is the record - but no mention of it, or the table, or the index in the error. If I USE GROUPS and modify the structure to recreate the index the error goes away. How was I supposed to know that it was record 12 that was the one with the problem!!!!
Yours
Des Twomey
Touchware Systems.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only