>Where should i Set reprocess ? at my main program where i setting my program environment, or when i attempt to lock a record?
SET REPROCESS is scoped to the datasession, so I'd do it once up front in your application, and then again in the Init of each form that uses a Private datasession.