>From http://www.pfcguide.com/faq/faq_link.asp#retr_upds_lost :
"When I change rows my updates are lost."
This is a drawback of using the Retrieval style of the Linkage service.
And it is a sticky problem to try to code around, but it can be done. The
problem is that there is no RowFocusChanging event in order to trap that
the row's focus is changing to test if you should ask the user if they
would like to save their changes.
One option is to simply switch to using the Filter style of the Linkage
service. This is a viable solution for cases when you are not forced into
using the Retrieval style because of very large quantities of data that
would need to be retrieved.
On the bright side, please note that in PowerBuilder 6.0, there will be a
RowFocusChanging event. And also, in PFC 6.0, this problem will be fixed
as well, using the new RowFocusChanging event.
Have fun,
~Sharon
--
Sharon Weinstrom Buntz | mailto:[EMAIL PROTECTED]
Cheat Sheet for PFC/PB Help | http://www.pfccheatsheet.com/
Ravindra Harve wrote:
>
> Dear All,
>
> I have a master detail data entry screens, when doing the data entry
> continiously for both master and detail, and while saving these records,
> only the last detail records are getting saved where as the master
> records are getting saved in this batch.
>
> Any ideas ?
>
> Regards
> Ravi
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]