Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving DBC w/ tables and re-creating the backlink help

Status
Not open for further replies.

OasisChurch

Technical User
Mar 28, 2002
20
I am trying to automate the recreation of the backlink thur a program (exe). I can manualy do this by opening foxpro and using the commands VALIDATE DATABASE RECOVER. however, it makes me click "OK" for every table. Is there a way to automate this process.

Thanks is Advance!!!
--scotta
 
Thanks for the Commands Ramani, However, when I build the executable and run it, it gives me the error message of:
"Command is only allowed in interactive mode"

Here are my commands:
SET CONFIRM OFF
SET SAFETY OFF
OPEN DATABASE test01
VALIDATE DATABASE RECOVER

EXIT

Thanks for your help
--scotta

 


What version of VFP are you using? It seems RECOVER has only started being supported in programs as of VFP7.0
From the help file:
RECOVER
Displays dialogs that make it possible for you to locate tables and indexes that are not in the locations contained in the database. In this version of Visual FoxPro, the RECOVER clause is supported in programs.





Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Mike,
I am using Ver.6. Version 7 has the abilty to by-pass the
"OK" menus when trying to re-create the backlink from a program(exe)?

Thanks,
--scotta
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top