Re: Gendbc - produces incomplete program
- From: aNOSPAMpengelly@xxxxxxxxxxxxxxx (Alan Pengelly)
- Date: Wed, 2 Nov 2005 19:55:48 +0000 (UTC)
Olaf,
> Okay, I didn't make it obvious enough:
Sorry if I'm appearing a bit simple.
> Replace every EXCLUSIVE with SHARED in the
> gendbc.prg and comment the line (I assume line
> 290):
>
> COMPILE DATABASE (m.g_cFullDatabase)
> =>
> * COMPILE DATABASE (m.g_cFullDatabase)
OK, done these. although I had already tried
opening the DB exclusive.
> THEN you can run gendbc on open DBCs too.
>
> And a DBC open shared cannot change it's
> structure,
> so it is also no danger, that the database
> could change
> during it's analysis by gendbc...
Very good point.
However we may be getting slightly off the point.
I had actually managed to get it to run *before*
contacting the group, but it produced incomplete
code, without errors being reported.
As I said in my original post, even following your
worthwhile modification to the program and
creating an empty folder with only gendbc.prg and
..krt files in it produces only an empty database,
without even the stored procedures from the krt
file.
Cindy Winegarden tried it on the northwind
database to produce 1600+ lines of code, on my
machine it produced 90+ lines. The
MakeTable_Table/ViewEtc procedures are missing.
It looks like I will have to either google for a
later version or SET STEP ON and crawl through it
and find the fault. It's usually my fault in the
end. :-) Even after 20 years with fox! I was
hoping for a brain pain free solution.
Thanks very much for your time.
regards
Alan
.
- Follow-Ups:
- Re: Gendbc - produces incomplete program
- From: Dan Freeman
- Re: Gendbc - produces incomplete program
- Prev by Date: Re: Select Count and Unique Array Name VFP 9
- Next by Date: Re: Gendbc - produces incomplete program
- Previous by thread: Re: Gendbc - produces incomplete program
- Next by thread: Re: Gendbc - produces incomplete program
- Index(es):
Relevant Pages
|
Loading