Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Chandler Bryan
  Where is Chandler Bryan?
 Lancaster
 South Carolina - United States
 Chandler Bryan
 Tags
Subject: [SOLVED] Strange Compile Error
Thread ID: 252114 Message ID: 252114 # Views: 51 # Ratings: 0
Version: Visual FoxPro 9 Category: Projects and Design
Date: Tuesday, February 02, 2010 3:31:28 PM         
   


When I attempt to rebuild my project or compile to .exe I get this error:

 m:\salesbymarket.frt is not a table.


Here's the background:

This is a fairly large project which is always inititated from within MS Navision. Navision generates a text file containing parameters and invokes the VFP exe which reads the parameters and starts the appropriate form or program. This is done in the project's startup object, Main.prg. For ease of maintenance only main.prg is 'included' when I build to .exe; all forms, reports, and other programs are excluded. Modifications at the level of Main.prg are rare, so it has been months since the project has had to be recompiled.

There is a report salesbymarket.frx in the project. There is only one reference to it in the project, and that is in the form salesbymarket.scx.

I have a working copy of the entire project in a development environment. It builds and compiles just fine.

Here's what I've tried, with no success:

* Replaced main.prg with dev\main.prg
* replaced both salesbymarket.scx and salesbymarket.frx with copies from the dev side.
* Commented out code references to salesbymarket.scx and salesbymarket.frx

I realize that all fox objects are basically tables and so theoretically a report might be corrupted like a table, but what the heck?? I guess I could blow away the live side and replace it with a copy of the dev side, but that's risky since I haven't been 100% strict in keeping them identical. I'd rather fix it surgically, but where do I cut?

Thanks for looking...

Chandler



COMPLETE THREAD
[SOLVED] Strange Compile Error Posted by Chandler Bryan @ 2/2/2010 3:31:28 PM
RE: Strange Compile Error Posted by Yuri Rubinov @ 2/2/2010 3:50:32 PM
RE: Strange Compile Error Posted by Chandler Bryan @ 2/2/2010 7:34:53 PM
RE: Strange Compile Error Posted by Borislav Borissov @ 2/2/2010 7:36:26 PM
RE: Strange Compile Error Posted by Yuri Rubinov @ 2/3/2010 12:02:50 AM
RE: Strange Compile Error Posted by Chandler Bryan @ 2/3/2010 5:19:10 AM
RE: Strange Compile Error Posted by Yuri Rubinov @ 2/3/2010 2:56:15 PM
RE: Strange Compile Error Posted by Cetin Basoz @ 2/2/2010 3:52:29 PM
RE: Strange Compile Error Posted by Chandler Bryan @ 2/2/2010 7:45:32 PM
RE: Strange Compile Error Posted by Stefan Wuebbe @ 2/2/2010 7:49:36 PM
RE: Strange Compile Error Posted by Chandler Bryan @ 2/2/2010 8:23:08 PM
RE: Strange Compile Error Posted by Martin Krivka @ 2/3/2010 12:24:24 PM
RE: [SOLVED] Strange Compile Error Posted by Chandler Bryan @ 2/3/2010 4:27:05 PM
RE: [SOLVED] Strange Compile Error Posted by Chandler Bryan @ 2/4/2010 4:16:56 AM