Ask a questionAsk a question
 

Answerhow do i close a file that is in use

  • Saturday, November 07, 2009 3:17 PMLarry_Nuñez Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Why when I open 2 forms and I close the 2nd one before the 2nd one a file is in  use message appears? How do I stop this? I´ve tried every logical procedure possible but it still does it. My form is in private data session and bufferes to Optimistic.

Answers

  • Sunday, November 08, 2009 11:42 AMAndyKrMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I am sorry, but your question does not make sense. What are you trying to do?

    It sounds like you have exclusive use of the file somewhere and it is trying to be opened twice. Ensure that you have EXCLUSIVE = OFF before you start your form. Private Datasessions have EXCLUSIVE = ON by default, like many commands the setting in one session is NOT carried over to others, for the full listing of affected commands see the SET DATASESSION topic in the help file.
    -- Andy Kramek

All Replies

  • Sunday, November 08, 2009 11:42 AMAndyKrMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I am sorry, but your question does not make sense. What are you trying to do?

    It sounds like you have exclusive use of the file somewhere and it is trying to be opened twice. Ensure that you have EXCLUSIVE = OFF before you start your form. Private Datasessions have EXCLUSIVE = ON by default, like many commands the setting in one session is NOT carried over to others, for the full listing of affected commands see the SET DATASESSION topic in the help file.
    -- Andy Kramek