>I have modified the GENDBC utility to allow the recreation of a DBC object or objects. I found the version that came with VFP to be unable to handle all but the simplest of DBC's. If you have a rather substantial DBC, the code generated by the original version of GENDBC all goes into one huge prg. The resulting program can easily exceed the max prg size allowed. I modified it to save the DBC information into a table...one object at a time.
>
>With the new GENDBC I can now use it to make a faithful backup of my DBC's and, if necessary, re-create either the entire DBC or any DBC object.
>
>If anyone is interested in the "new and improved" version of GENDBC I will post it to the forum archives.
>
>Larry
Larry- nice work.
You can take it that you have a great intuition for stuff that needs to be done, or you can let it rain on your parade.
Steve Arnott wrote a great enhancement to GenDBC called GenDBCX that overcomes the exact weaknesses that you have by making the resulting program a class definition, with a method for creating each element in the DBC, or a single method to create all of them. You can get it at
www.SteveArnott.com.
Of course, theres a good chance that your efforts include something Steve didn't think of, so you should definitely upload your tool here.
Erik Moore
Clientelligence