>How can I generate the code to build a database from an existing database structure? I want to build the database the first time my customer runs the program. But it would be nice if there was some utility to generate the code from my existing structure. Does that exist? Marvin
In your VFP Directory you should have a directory called tools. Under that you should find a directory called Gendbc. Run that program and point to the dbc you want it to duplicate. This does not populate the dbfs with the data, but will generate all the code to build you dbc.
HTH
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com