Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index isn't updated
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00065034
Message ID:
00065288
Views:
41
>>>>>>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 )
>>>>>>
>>
>>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
>
>At what point are you adding records to the table? In FormA? FormB? If you use table buffering, you will not see new records in the browse until TableUpdate() is issued by the form where changes are made.

I add my records in the FormA, I use table buffering (mode = 5 ) , and I do the browse after have closed the application doing every tableupdate I need. ( in fact if I do BROWSE without order setted I can see my records added) ... Only the Index doesn't see the new record
Renato Bertuol (EMail:renato.bertuol@elmec.it
Homepage:www.geocities.com/SiliconValley/Horizon/3216)
Elmec Informatica (URL www.elmec.it)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform