Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Table Update Warning
Message
From
30/03/2005 13:54:17
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00989890
Message ID:
01000028
Views:
28
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform