>>>>Hi to all,
>>>>I've this problem:
>>>>I've a form A that use a table tbData, it can add, delete and update records and it works fine.
>>>>When before to open the form A I open a form B, that uses tbData, my table is updated (by browse I can see the records) but index isn't updated (if I do a SET ORDER TO myTag and I do BROSWE I can't see my new records )
>>>>
>>>>Can anyone give me ant suggestions ?
>>>>Thanks in advance
>>>
>>>
>>>Sounds like your not using IDX files for indexes and the file isn't open.
>>
>>I bealive you wanted to say: "Sounds like you are using IDX..."
>
>But if it was .IDX, then SET ORDER TO myTag would not work. I think he has a .CDX. Renato, are you browsing outside of the form to check your data? After you close FormB and return to FormA, you need to Refresh the form to see anything added/changed/deleted in FormB.
Ok, more info ...
I'm using CDX and each form is in DataSession Private. FormB doesn't make change on my table, to test the result I do a BROWSE and SET ORDER TO by Command Window after to have close the application.
The error occur only if I open first FormB and then FormA, if I open FormA and FormB it works fine
The table is updated ( in the broswer I can see the records) but index isn't updated so if I do SET ORDER TO myTag and BROWSE in the broswer window I cannot see the last records inserted