#Define ccProject MyProject.Pjx Use ccProject Replace all User with Iif(Local,"Y","N") Replace all Local with .T. Use Modify Project ccProject Nowait Use ccProject Again Shared Replace all Local with User=="Y" UseThe drawback of this approach is that when you open the project, you get the file status is the one that was current when you closed the project the last time. IOW, you don't see the current check out status. But when you try to modify a file, VFP queries the status for this file again, so it won't report any error. Also, changing the tab does requery the file status.