Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling Table Update Warning
Message
De
30/03/2005 14:11:41
 
 
À
30/03/2005 13:54:17
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:
01000033
Vues:
28
Then you must be opening the tables in some other manner. Does this work without error for you? It does for me.
CLOSE DATABASES ALL

CREATE TABLE t1 (f1 c(1))
USE IN SELECT("t1")
CREATE TABLE t2 (f1 c(1))
USE IN SELECT("t2")
CREATE TABLE t3 (f1 c(1))
USE IN SELECT("t3")
CREATE TABLE t4 (f1 c(1))
USE IN SELECT("t4")
CREATE TABLE t5 (f1 c(1))
USE IN SELECT("t5")

CREATE DATABASE test

ADD TABLE t1
ADD TABLE t2
ADD TABLE t3
ADD TABLE t4
ADD TABLE t5
>Fred-
>
>I'm not opening the tables. The only code prior to this is creation of the database.
>
>Dan
>
>>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