snip..
>
>i added the select and go after the addobject and after the lockscreen = .f.. both times i got a "table number is invalid" system message. starting to believe it is a timing issue. if i sit in the debugger the last line will just go away (after lockscreen = .f.) without me executing a line of code. maybe my table needs reindexing? the table parent table has 2445 records. the child talbe has 260,439 records.
>
>brebda
Brenda,
Addobject ? Isn't it remmed out too. Anyway "table number is invalid" should be studied if it's really a table/ndx corruption or not. I would try this one with afresh test tables and also check any reference to activerow, relativerow in code.
Cetin