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.

TDataSet:End()

Xailer professional forum in English
Responder
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Hello !!
The help file says that method TDataSet:End() "Destroys the TDataSet,
closing it before in the case that it is open. If there is a temporary file
created to manage the TDataSet, this file will be destroyed as well."
Does that means that if i call this method my table will be erased ? I did
that and nothing happened. What are you reffering to when you say "temporary
file" ?
What i want is to create a unique temporary database file and erase it when
it's closed by TDbfDataSet.
Does Xailer have an easy or quick way to do that ? Or do you have an example
of how to do that ?
Your help is highly apreciated.
Thanks.
Aguiar !
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDataSet:End()

Mensaje por ignacio »

Aguiar,
Take a look at the Sort method.
Regards,
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
> Hello !!
>
> The help file says that method TDataSet:End() "Destroys the TDataSet,
> closing it before in the case that it is open. If there is a temporary
> file created to manage the TDataSet, this file will be destroyed as well."
> Does that means that if i call this method my table will be erased ? I did
> that and nothing happened. What are you reffering to when you say
> "temporary file" ?
> What i want is to create a unique temporary database file and erase it
> when it's closed by TDbfDataSet.
> Does Xailer have an easy or quick way to do that ? Or do you have an
> example of how to do that ?
> Your help is highly apreciated.
> Thanks.
> Aguiar !
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TDataSet:End()

Mensaje por NoName »

Aguiar,
Take a look at the Sort method.
Regards,
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
> Hello !!
>
> The help file says that method TDataSet:End() "Destroys the TDataSet,
> closing it before in the case that it is open. If there is a temporary
> file created to manage the TDataSet, this file will be destroyed as well."
> Does that means that if i call this method my table will be erased ? I did
> that and nothing happened. What are you reffering to when you say
> "temporary file" ?
> What i want is to create a unique temporary database file and erase it
> when it's closed by TDbfDataSet.
> Does Xailer have an easy or quick way to do that ? Or do you have an
> example of how to do that ?
> Your help is highly apreciated.
> Thanks.
> Aguiar !
>
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Ignacio,
I think you're answering me about someone else post...I asked you about a
way to erase a table automaticaly :)
Please, read my post again.
Thanks.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Take a look at the Sort method.
>
> Regards,
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>> Hello !!
>>
>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>> closing it before in the case that it is open. If there is a temporary
>> file created to manage the TDataSet, this file will be destroyed as
>> well."
>> Does that means that if i call this method my table will be erased ? I
>> did that and nothing happened. What are you reffering to when you say
>> "temporary file" ?
>> What i want is to create a unique temporary database file and erase it
>> when it's closed by TDbfDataSet.
>> Does Xailer have an easy or quick way to do that ? Or do you have an
>> example of how to do that ?
>> Your help is highly apreciated.
>> Thanks.
>> Aguiar !
>>
>
>
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Ignacio,
I think you're answering me about someone else post...I asked you about a
way to erase a table automaticaly :)
Please, read my post again.
Thanks.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Take a look at the Sort method.
>
> Regards,
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>> Hello !!
>>
>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>> closing it before in the case that it is open. If there is a temporary
>> file created to manage the TDataSet, this file will be destroyed as
>> well."
>> Does that means that if i call this method my table will be erased ? I
>> did that and nothing happened. What are you reffering to when you say
>> "temporary file" ?
>> What i want is to create a unique temporary database file and erase it
>> when it's closed by TDbfDataSet.
>> Does Xailer have an easy or quick way to do that ? Or do you have an
>> example of how to do that ?
>> Your help is highly apreciated.
>> Thanks.
>> Aguiar !
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDataSet:End()

Mensaje por ignacio »

Aguiar,
Sorry, but I was indeed answering you.
The method TDBFDATASET:SORT creates a temporary index file on the table to
order it. That temporary file is deleted automatically by the object when is
closed. If this method Sort is not enough for you, then you should trap the
OnClose event to delete any temporay file.
Regards,
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> I think you're answering me about someone else post...I asked you about a
> way to erase a table automaticaly :)
> Please, read my post again.
> Thanks.
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Take a look at the Sort method.
>>
>> Regards,
>>
>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>> Hello !!
>>>
>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>> closing it before in the case that it is open. If there is a temporary
>>> file created to manage the TDataSet, this file will be destroyed as
>>> well."
>>> Does that means that if i call this method my table will be erased ? I
>>> did that and nothing happened. What are you reffering to when you say
>>> "temporary file" ?
>>> What i want is to create a unique temporary database file and erase it
>>> when it's closed by TDbfDataSet.
>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>> example of how to do that ?
>>> Your help is highly apreciated.
>>> Thanks.
>>> Aguiar !
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TDataSet:End()

Mensaje por NoName »

Aguiar,
Sorry, but I was indeed answering you.
The method TDBFDATASET:SORT creates a temporary index file on the table to
order it. That temporary file is deleted automatically by the object when is
closed. If this method Sort is not enough for you, then you should trap the
OnClose event to delete any temporay file.
Regards,
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> I think you're answering me about someone else post...I asked you about a
> way to erase a table automaticaly :)
> Please, read my post again.
> Thanks.
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Take a look at the Sort method.
>>
>> Regards,
>>
>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>> Hello !!
>>>
>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>> closing it before in the case that it is open. If there is a temporary
>>> file created to manage the TDataSet, this file will be destroyed as
>>> well."
>>> Does that means that if i call this method my table will be erased ? I
>>> did that and nothing happened. What are you reffering to when you say
>>> "temporary file" ?
>>> What i want is to create a unique temporary database file and erase it
>>> when it's closed by TDbfDataSet.
>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>> example of how to do that ?
>>> Your help is highly apreciated.
>>> Thanks.
>>> Aguiar !
>>>
>>
>>
>
>
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Hello Ignacio,
I did not know that Sort could do that...That's exactly what i need but for
"tables"...Is there something like that to erase tables ?
I tryed to use TDataSet OnClose event but it does not work because at that
time TDbfDataSet table is still open and the could not be erased...But was
able to do it on AppData OnClose event...If there is a better way i'm all
ears :)
Thanks.
Regards,
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:440c6de7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Sorry, but I was indeed answering you.
>
> The method TDBFDATASET:SORT creates a temporary index file on the table to
> order it. That temporary file is deleted automatically by the object when
> is closed. If this method Sort is not enough for you, then you should trap
> the OnClose event to delete any temporay file.
>
> Regards,
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ignacio,
>>
>> I think you're answering me about someone else post...I asked you about a
>> way to erase a table automaticaly :)
>> Please, read my post again.
>> Thanks.
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> Take a look at the Sort method.
>>>
>>> Regards,
>>>
>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>>> Hello !!
>>>>
>>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>>> closing it before in the case that it is open. If there is a temporary
>>>> file created to manage the TDataSet, this file will be destroyed as
>>>> well."
>>>> Does that means that if i call this method my table will be erased ? I
>>>> did that and nothing happened. What are you reffering to when you say
>>>> "temporary file" ?
>>>> What i want is to create a unique temporary database file and erase it
>>>> when it's closed by TDbfDataSet.
>>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>>> example of how to do that ?
>>>> Your help is highly apreciated.
>>>> Thanks.
>>>> Aguiar !
>>>>
>>>
>>>
>>
>>
>
>
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Hello Ignacio,
I did not know that Sort could do that...That's exactly what i need but for
"tables"...Is there something like that to erase tables ?
I tryed to use TDataSet OnClose event but it does not work because at that
time TDbfDataSet table is still open and the could not be erased...But was
able to do it on AppData OnClose event...If there is a better way i'm all
ears :)
Thanks.
Regards,
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:440c6de7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Sorry, but I was indeed answering you.
>
> The method TDBFDATASET:SORT creates a temporary index file on the table to
> order it. That temporary file is deleted automatically by the object when
> is closed. If this method Sort is not enough for you, then you should trap
> the OnClose event to delete any temporay file.
>
> Regards,
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ignacio,
>>
>> I think you're answering me about someone else post...I asked you about a
>> way to erase a table automaticaly :)
>> Please, read my post again.
>> Thanks.
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> Take a look at the Sort method.
>>>
>>> Regards,
>>>
>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>>> Hello !!
>>>>
>>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>>> closing it before in the case that it is open. If there is a temporary
>>>> file created to manage the TDataSet, this file will be destroyed as
>>>> well."
>>>> Does that means that if i call this method my table will be erased ? I
>>>> did that and nothing happened. What are you reffering to when you say
>>>> "temporary file" ?
>>>> What i want is to create a unique temporary database file and erase it
>>>> when it's closed by TDbfDataSet.
>>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>>> example of how to do that ?
>>>> Your help is highly apreciated.
>>>> Thanks.
>>>> Aguiar !
>>>>
>>>
>>>
>>
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDataSet:End()

Mensaje por ignacio »

Aguiar,
OnPostClose
Regards,
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:440d6dab$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello Ignacio,
> I did not know that Sort could do that...That's exactly what i need but
> for "tables"...Is there something like that to erase tables ?
> I tryed to use TDataSet OnClose event but it does not work because at that
> time TDbfDataSet table is still open and the could not be erased...But was
> able to do it on AppData OnClose event...If there is a better way i'm all
> ears :)
> Thanks.
> Regards,
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:440c6de7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Sorry, but I was indeed answering you.
>>
>> The method TDBFDATASET:SORT creates a temporary index file on the table
>> to order it. That temporary file is deleted automatically by the object
>> when is closed. If this method Sort is not enough for you, then you
>> should trap the OnClose event to delete any temporay file.
>>
>> Regards,
>>
>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>> news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> I think you're answering me about someone else post...I asked you about
>>> a way to erase a table automaticaly :)
>>> Please, read my post again.
>>> Thanks.
>>> Aguiar !!!
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Aguiar,
>>>>
>>>> Take a look at the Sort method.
>>>>
>>>> Regards,
>>>>
>>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>>>> Hello !!
>>>>>
>>>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>>>> closing it before in the case that it is open. If there is a temporary
>>>>> file created to manage the TDataSet, this file will be destroyed as
>>>>> well."
>>>>> Does that means that if i call this method my table will be erased ? I
>>>>> did that and nothing happened. What are you reffering to when you say
>>>>> "temporary file" ?
>>>>> What i want is to create a unique temporary database file and erase it
>>>>> when it's closed by TDbfDataSet.
>>>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>>>> example of how to do that ?
>>>>> Your help is highly apreciated.
>>>>> Thanks.
>>>>> Aguiar !
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TDataSet:End()

Mensaje por NoName »

Aguiar,
OnPostClose
Regards,
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:440d6dab$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello Ignacio,
> I did not know that Sort could do that...That's exactly what i need but
> for "tables"...Is there something like that to erase tables ?
> I tryed to use TDataSet OnClose event but it does not work because at that
> time TDbfDataSet table is still open and the could not be erased...But was
> able to do it on AppData OnClose event...If there is a better way i'm all
> ears :)
> Thanks.
> Regards,
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:440c6de7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Sorry, but I was indeed answering you.
>>
>> The method TDBFDATASET:SORT creates a temporary index file on the table
>> to order it. That temporary file is deleted automatically by the object
>> when is closed. If this method Sort is not enough for you, then you
>> should trap the OnClose event to delete any temporay file.
>>
>> Regards,
>>
>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>> news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> I think you're answering me about someone else post...I asked you about
>>> a way to erase a table automaticaly :)
>>> Please, read my post again.
>>> Thanks.
>>> Aguiar !!!
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Aguiar,
>>>>
>>>> Take a look at the Sort method.
>>>>
>>>> Regards,
>>>>
>>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>>>> Hello !!
>>>>>
>>>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>>>> closing it before in the case that it is open. If there is a temporary
>>>>> file created to manage the TDataSet, this file will be destroyed as
>>>>> well."
>>>>> Does that means that if i call this method my table will be erased ? I
>>>>> did that and nothing happened. What are you reffering to when you say
>>>>> "temporary file" ?
>>>>> What i want is to create a unique temporary database file and erase it
>>>>> when it's closed by TDbfDataSet.
>>>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>>>> example of how to do that ?
>>>>> Your help is highly apreciated.
>>>>> Thanks.
>>>>> Aguiar !
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Ignacio,
Thank you.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:440d6e20$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> OnPostClose
>
> Regards,
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:440d6dab$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello Ignacio,
>> I did not know that Sort could do that...That's exactly what i need but
>> for "tables"...Is there something like that to erase tables ?
>> I tryed to use TDataSet OnClose event but it does not work because at
>> that time TDbfDataSet table is still open and the could not be
>> erased...But was able to do it on AppData OnClose event...If there is a
>> better way i'm all ears :)
>> Thanks.
>> Regards,
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:440c6de7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> Sorry, but I was indeed answering you.
>>>
>>> The method TDBFDATASET:SORT creates a temporary index file on the table
>>> to order it. That temporary file is deleted automatically by the object
>>> when is closed. If this method Sort is not enough for you, then you
>>> should trap the OnClose event to delete any temporay file.
>>>
>>> Regards,
>>>
>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>> news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Ignacio,
>>>>
>>>> I think you're answering me about someone else post...I asked you about
>>>> a way to erase a table automaticaly :)
>>>> Please, read my post again.
>>>> Thanks.
>>>> Aguiar !!!
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>>> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>>> Aguiar,
>>>>>
>>>>> Take a look at the Sort method.
>>>>>
>>>>> Regards,
>>>>>
>>>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>>>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>>>>> Hello !!
>>>>>>
>>>>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>>>>> closing it before in the case that it is open. If there is a
>>>>>> temporary file created to manage the TDataSet, this file will be
>>>>>> destroyed as well."
>>>>>> Does that means that if i call this method my table will be erased ?
>>>>>> I did that and nothing happened. What are you reffering to when you
>>>>>> say "temporary file" ?
>>>>>> What i want is to create a unique temporary database file and erase
>>>>>> it when it's closed by TDbfDataSet.
>>>>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>>>>> example of how to do that ?
>>>>>> Your help is highly apreciated.
>>>>>> Thanks.
>>>>>> Aguiar !
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TDataSet:End()

Mensaje por Aguiar Costa »

Ignacio,
Thank you.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:440d6e20$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> OnPostClose
>
> Regards,
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:440d6dab$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello Ignacio,
>> I did not know that Sort could do that...That's exactly what i need but
>> for "tables"...Is there something like that to erase tables ?
>> I tryed to use TDataSet OnClose event but it does not work because at
>> that time TDbfDataSet table is still open and the could not be
>> erased...But was able to do it on AppData OnClose event...If there is a
>> better way i'm all ears :)
>> Thanks.
>> Regards,
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:440c6de7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> Sorry, but I was indeed answering you.
>>>
>>> The method TDBFDATASET:SORT creates a temporary index file on the table
>>> to order it. That temporary file is deleted automatically by the object
>>> when is closed. If this method Sort is not enough for you, then you
>>> should trap the OnClose event to delete any temporay file.
>>>
>>> Regards,
>>>
>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>> news:440c013c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Ignacio,
>>>>
>>>> I think you're answering me about someone else post...I asked you about
>>>> a way to erase a table automaticaly :)
>>>> Please, read my post again.
>>>> Thanks.
>>>> Aguiar !!!
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>>> news:440bed5e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>>> Aguiar,
>>>>>
>>>>> Take a look at the Sort method.
>>>>>
>>>>> Regards,
>>>>>
>>>>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> escribió en el mensaje
>>>>> news:[email=440b3575@ozsrvnegro.ozlan.local...]440b3575@ozsrvnegro.ozlan.local...[/email]
>>>>>> Hello !!
>>>>>>
>>>>>> The help file says that method TDataSet:End() "Destroys the TDataSet,
>>>>>> closing it before in the case that it is open. If there is a
>>>>>> temporary file created to manage the TDataSet, this file will be
>>>>>> destroyed as well."
>>>>>> Does that means that if i call this method my table will be erased ?
>>>>>> I did that and nothing happened. What are you reffering to when you
>>>>>> say "temporary file" ?
>>>>>> What i want is to create a unique temporary database file and erase
>>>>>> it when it's closed by TDbfDataSet.
>>>>>> Does Xailer have an easy or quick way to do that ? Or do you have an
>>>>>> example of how to do that ?
>>>>>> Your help is highly apreciated.
>>>>>> Thanks.
>>>>>> Aguiar !
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Responder