Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing a flat file from memory
Message
De
08/11/2001 13:47:37
 
 
À
08/11/2001 12:35:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00579164
Message ID:
00579266
Vues:
21
I probably didn't explain it well enough. It's not that the change is not getting made. It's foxpro not seeing the change. I am not updating the text file programatically, that is happening in an external application. autoCAD

I press my form button and it converts a file to a string
I then minimize my application and open the text file with notepad.
I change the value manually and save it.

I maximize my application and press my button again and the value has not changed. It is still the original value.
*&
*& Create the file!
STRTOFILE("0001","c:\test.txt")




CVALUE=FILETOSTR('C:\test.TXT')
? CVALUE
*&
*& Open the file and update!
*& use this one to open read-only
*& open c:\test.txt with notepad change the value save and rerun the above
*& 2 lines of code
*& you get the first value not the changed value

I just tested it again in the command window and a basic form. It doesn't give me the error. The error is only occuring inside my framework. Ill be contacting codemine next

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform