Why would you want to pop up a message on the selection of each record in the list?
Theres a few things here.
I think that what you are trying to do will annoy your users… I know I would get annoyed
I don’t think you are going to be able to get the desired result with some simple coding; so what are you trying to achieve and lets see if there is an alternative solution?
Normally when I need to sync a record with something else (another NAV record, an external system) I would do that on the OnModify (OnDelete) trigger of the table… however any code that modifes that record with out a “true” will not get caught.
Give us some more details of what type of Sync you are trying to acheive and we can no doubt come to a better solution.
I have already done on Onmodify trigger of that table that feature we call as AUTO SAVE…
Auto Sunc … is
We have Nav ComInterface … Which usually estalbliash connection on first time click of button… The Embbled Client open up we capture info from ERP…through .Net & nav Coding
Sales Quote :
1001 - click button - related info is captured. (opened for 1001) -( note auto save happens if any change is done existing data- user won’t experinece that )
1002 - click button - related info is captured - (1002)
we wanna avoid click of button - once the connection is done we need to sync with Nav comInterface
I think the point I am driving at is that your requirment appears to be that if a user “touch’s” a record it fires off a sync… i.e. that cursor on to a record in a list and then move on to the next record…
But I don’t get the purpose of that. Surely you would only want to sync if a user has made a modification to data in some way…
But I could be misunderstanding your requirements hence why I keep asking more questions
probably you can try to run a routine on close page and check whch all records were modified wen the page was opened… and then sync them with which ever table you would like to do…