Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling Table Update Warning
Message
De
28/03/2005 11:31:15
 
 
À
25/03/2005 19:29:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00989890
Message ID:
00999456
Vues:
44
Don't open them first. If they're not open, the ADD TABLE adds them just fine, no message or anything to cause a problem.

>I'm opening up free tables in VFP 9.0 that were created in VFP 6.0
>and adding them to a database.
>
>Below is the code.
>The commented code, keeps the program from stopping but is not
>as clean as I would like.
>
>
>lnTotDbfs = ADIR( laDbfs, "*.dbf" )
>FOR lnCurDbf = 1 TO lnTotDbfs
>  lcDbf = UPPER( ALLTRIM( JUSTSTEM(laDbfs[lnCurDbf, ADIR_FILENAME]) ) )
>  IF NOT (lcDbf == "FOXUSE" OR lcDbf == "FOXUSER" OR lcDbf == "HASPRIMARY" )
>    IF NOT INDBC( lcDbf, "TABLE" )
>	*CLEAR TYPEAHEAD
>	*KEYBOARD 'Y'
>	ADD TABLE (lcDbf)
>    ENDIF
>  ENDIF
>ENDFOR
>
>
>>>I'm converting data from vfp6 to vfp9.
>>>I'm getting the following message
>>>"File < table > will be updated to a new file format, making it unreadable to previous versions of FoxPro. ..."
>>>
>>>Is there a way to disable this message?
>>
>>Where are you getting this message? I've never seen it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform