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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

!!! ??? ""no a table" when rebuilding project

Status
Not open for further replies.

pxw

Programmer
Jan 6, 2002
86
AU
Hello
I have a VFP project, which worked fine previously. Now it doesn't work anymore after I modified a few programs in the project last week. An error message "no a table" always comes up when I try to rebuild project or build application or excusable.

The help of VFP explains that "Not a table (Error 15): The file that Visual FoxPro is attempting to use as a table contains an improper header.". However, I only want to rebuild the project. It is nothing to do with using any tables.

I have no idea how to solve this problem. Give me your suggestions, please.


Peter
 
The foxpro will display a error list of what item the cause this error message. You narrow down to which cause this problem. Once you identied it. Example MyForm.scx is the one who cause the problem. Try

Use MyForm.scx
Pack

Re-complied the project.
 
hi tcwai,
Thanks a lot for your help.
I have tried your commands. They work very well on the troubled files, which can be identified. This is a great help to solve my problem partly. The remaining part is that foxpro can not generate an error list when the error "no a table" came up. Therefore, no items can be identified which cause this error. You are right, foxpro usually displays an error list with the items. However, foxpro doesn't work like that in this case. I don't why.

Any help will be appreciated very much.


Peter
 
Do you still have copies of the unmodified programs? If so, and you replace the modified ones with the unmodified ones, will it build then? If not, then obviously something's become corrupted and you're going to need to find out what. If it will work when you replace the old programs, then you should be able to find out which one is causing the problem.

Dave Dardinger
 
Hi tcwai and Dave,

With your help, I have solved my problem finally. The main problem is the project tried to recompile a report file, which is in dBASE format .FRM. And it doesn't work in .FRM format. The problem is solved once I converted the ,FRM file into .FRX format.

Thanks again for your kindly help!!!



Peter




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top