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 !
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>