>>My first thought was that I could trap the exclusive use in the BeforeOpentables event of the DE. I have not been able to figure it out.... tia Steve
>
>I always use a ThisForm.lExclusive property to see if I have to open my data in exclusive. I set this property to .F. for form that need to have exclusive use of the system.
>
>In the Load() event, I have this:
>
>IF ThisForm.lExclusive
> IF NOT OpenDbf(1)
> RETURN .F.
> ENDIF
>ENDIF
I have the same approach in forms that require exclusive use. But, what if the form that is openned by USER1 is the form (Form1) that requires exclusive use. And USER2 tries to open Form2 that does not require exclusive use and also has databound controls. I get the error loading file - Parent - record 21 - File Access is denied.
Steve Medvid
Systems Analyst
Environmental Resource Management