PDA

Click to See Complete Forum and Search --> : Data Report & Data Enviroment


Chris
Feb 19th, 2000, 11:00 AM
I just create a Data Report and I found that the database file path is hard coded into the data environment object, How do I change the datapath at runtime?

Also, Why my data report does not refresh (I mean unload and load again), although my recordset have refresh.

____________________
Chris
Software Engineer

VorTechS
Feb 20th, 2000, 06:32 PM
I can't give any specifics on this, but if it helps you should, at run-time, be able to change the Connection property of the data environment, which should contain your database path / connection string (depending if you are using MS Access / SQL server databases)

Chris
Feb 21st, 2000, 12:10 AM
My database is creted by using VB coding, FYI, I'm using ADO Ext. 2.1 for DDL and security reference to create the database. Recently I just solving the database reference path at runtime. But now, I still can refresh my data report.