Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing dangling references
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632799
Message ID:
00632825
Vues:
14
Vlad,

Unfortunately, the error message does not give a clue, which file is a suspect, and there are bunch of files, involved in the operation. Anyway, I've just demonstrated this problem to my manager, he described it as a brand new (We never had it before), so my colleague (who is also Russian, BTW), will have to chase it down, because it seems to be related with her recent changes...

Here is what happened, but since it's not my application, I'm not familiar with the inner logic:
There is a table, called ValLog, which contains Table Name and Error for our database. This info is showed in the upper grid. Then we navigate from record to record, we can hit Edit button, and the lower grid will show record with error and the fields, which should be shown for this error. User can fix the error and post the result back into main database by pressing Post button.

So, there were two kind of errors for MiscLndr. I fixed the first error, posted back results, move to the another error, hit Edit button, and got this error... After pressing Ok, records appeared in the lower grid correctly.


Thanks again for your help.

>Hi!
>
>That error probably means that file is opened somewhere else and either opened exclusively or locked. What is that file and what is a command that throws error? Can you give more specifics?
>
>>Hi Vlad,
>>
>>Yes, I was thinking about it, but was hoping for something already existed ready to use :) It would be good to have an array of public objects before running the form and before destroy as well. Do you have ideas?
>>
>>BTW, it seems like something else is going on: I got VFP Error "A file or Record is unavailable: File is in use. Please, handle this problem..." Do you know, what may cause it and how to prevent such errors or trap them?
>>
>>Thanks in advance.
>>
>>>Hi!
>>>
>>>I remember similar question was asked not so far ago about private variables. Probably the answer in this case is similar - dump the memory into the text file and analize changes in the list of variables.
>>>
>>>HTH.
>>>
>>>>Hi everybody,
>>>>
>>>>We have Validate application, which has a Resolve form. This form has a button called Post, which calls Update application do Update.app with .....
>>>>This application creates global object oPost and may create couple of other objects. So, the question is: how form Resolve can find, what objects were created in its run-time and release them at the end?
>>>>
>>>>Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform