Victor,
Another approach is to leave the report in the project and when you need to make your changes copy it to a temp file, make the changes, and run from there.
That way your users can't accidentally mess things up on a permanent basis. You've always got a copy.
>In my app I use a Create Report command, then I USE the report as a table so I can go make some changes to it.
>
>Here's the really weird thing. When I ran the .exe, as soon as I did a REPLACE command in the .frx, VFP was somehow loosing scope of the .dbc! I spent forever trying to figure out what was causing this. Finnaly, I noticed that the report I was creating has included in my project...so I 'excluded' it from the project file, recompiled, an ta-da! It works. Obviously I'm glad the sucker is funtioning properly, but why on earth would this cause the problem?
>
>Next thing, as I said in another post, is how can I keep the next poor guy who comes along after me and rebuilds the project from having this problem? If the report is removed from the project it compiles with an error, and who's gonna for-see this little quirk?
>
>Thanks!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement