Click to See Complete Forum and Search --> : Form's data environment


SI SOL
08-10-2000, 09:16 PM
Hello,

Is it posible to load table / cursor to data environment at run time ?. If
I load it in the design time, the table should be placed in a fix location.
What I really mean is to have the posibility to place table on different
location (can be customized by user).

Thank in advance

SI SOL

Barbara Peisch
08-10-2000, 09:38 PM
Yes, you can open the tables in the Load method of the form. This doesn't
prevent you from using the visual features of the data environment. You can
put your tables in the DE of the form, and make sure the DE's AutoOpenTables
property is .F.

--


-BP
www.peisch.com

"SI SOL" <SI_SOL@MAIL.COM> wrote in message news:399353e0$1@news.devx.com...
>
> Hello,
>
> Is it posible to load table / cursor to data environment at run time ?. If
> I load it in the design time, the table should be placed in a fix
location.
> What I really mean is to have the posibility to place table on different
> location (can be customized by user).
>
> Thank in advance
>
> SI SOL

William Fields
08-11-2000, 11:33 AM
If you want to change the path to the tables/DBC at runtime, check out this
KB article

HOWTO: Assign Database Location Generically in Data Env
ID: Q128996


--
William Fields
MCSD - Microsoft Visual FoxPro
US Bankruptcy Court
Phoenix, AZ

"While the Complexity of this Project is
several orders of magnitude less than
modeling heat flux in a fossil-fuel fired
electric utility plant using the Hottel Zone
technique, the context of each project
evolves in a remarkably similar fashion."
- Author Unknown


"Barbara Peisch" <barbara@peisch.com> wrote in message
news:39935497@news.devx.com...
> Yes, you can open the tables in the Load method of the form. This doesn't
> prevent you from using the visual features of the data environment. You
can
> put your tables in the DE of the form, and make sure the DE's
AutoOpenTables
> property is .F.
>
> --
>
>
> -BP
> www.peisch.com
>
> "SI SOL" <SI_SOL@MAIL.COM> wrote in message
news:399353e0$1@news.devx.com...
> >
> > Hello,
> >
> > Is it posible to load table / cursor to data environment at run time ?.
If
> > I load it in the design time, the table should be placed in a fix
> location.
> > What I really mean is to have the posibility to place table on different
> > location (can be customized by user).
> >
> > Thank in advance
> >
> > SI SOL
>
>