In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

SET INDEX TO functionality?

Xailer English public forum
Responder
g.s.rogers
Mensajes: 202
Registrado: Dom Feb 17, 2008 3:35 am

SET INDEX TO functionality?

Mensaje por g.s.rogers »

In working with TNtxDataSource, TDbfDataSet, and TDbfBrowse in a form, how
does one set the controlling index and, if xBase code is required, where is
the best place to put it?
Thanks,
Gary S. Rogers
g.s.rogers
Mensajes: 202
Registrado: Dom Feb 17, 2008 3:35 am

SET INDEX TO functionality?

Mensaje por g.s.rogers »

After experimenting further, I see how to add index files to the dataset as
a property list. I find that to populate the browse object, I still need to
setdbf() in the form initialize event and that to select an index I can SET
ORDER TO in that same place.
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:48a0df2a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> In working with TNtxDataSource, TDbfDataSet, and TDbfBrowse in a form, how
> does one set the controlling index and, if xBase code is required, where
> is the best place to put it?
>
> Thanks,
> Gary S. Rogers
Responder