Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Including Tables into the Project
Message
De
17/06/1997 17:54:26
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
 
 
À
17/06/1997 04:14:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00036447
Message ID:
00036706
Vues:
41
>> >>In our application here, there're some tables that cannot be changed by
>> the users (we only put information in it during design time).
>> >>So, there's no need to have these tables available into the Data
>> directory if I include them into the Project, isn't that right?
>> >>
>> >>Well, I've tried to do this last week and I came to the following
>> problem:
>> >>
>> >>All our Forms have Private DataSession and they need to have a look at
>> the information stored into these tables. What happens is that if I have
>> one of these tables opened in a DataSession, the function USED() within
>> ANOTHER DataSession returns .F.. But if I try to use the table I get the
>> error *File is in use*!?!?
>> >>
>> >>Is this behaviour expected? Did anyone else also face this before?
>
>you probably use the fiile exclusively
>USED returns .f. because a private datasession is just that private it is
>the same as having the table opened in another computer
>mark the tables shared and readonly in the DE
>
>note that SET EXCLUSIVE is scoped to the datasession (ie you have to reset
>it for each private datasession)
>
>Arnon

Hi Arnon,

We already issue SET EXCLUSIVE OFF in our Form class Load method.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform