General information
Category:
Forms & Form designer
>>I have a form with a combo box.
>>cboXXX.rowsourcetype=6 - fields
>>cboXXX.rowsource = myfile.firstfield
>>
>>The form is used by user A and user B simultaniously.
>>
>>user A adds a record to myfile
>>cboXXX displays new record
>>
>>user B does not see additional record until he exists the form and returns.
>>
>>Buffering is set to "5" for myfile
>>REFRESH is set to 1,1
>>
>>The problem seems to be in the way Foxpro uses the local data buffers.
>>
>>How can I force changes made by one user to be available immediately to the other users.
>>
>>In a normal data entry/edit screen you rlock() before editing, but that only gets the current records data.
>>
>>TIA
>>Robert
>
>Have you tried cboXXX.Requery() before your refresh?
>
>Oscar
Thanks,
I will do some kind of requery connected to a timer.
Previous
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