Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Table Update Warning
Message
From
28/03/2005 11:31:15
 
 
To
25/03/2005 19:29:53
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:
00999456
Views:
45
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform