>I have a form with private data session. I like to create a local view in the data session but I do not know where is the best place paste the code generated from GenDBC.prg?
>
>Is it the Init of the dataenvironment?
The Form Load method is usually soon enough to add tables or views if any of its fields are to be bound to controls. My forms have an AddLoad method that is called by the last line of code on my base form class Load Method. Then I just add code to the AddLoad method for each from I create.
Mark McCasland
Midlothian, TX USA