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.

TDbfBrowse

Xailer professional forum in English
Responder
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

TDbfBrowse

Mensaje por Gejza Horvath »

Using next code:
SET DELETED ON
USE Ucty NEW EXCLUSIVE INDEX Ucty
::oDbfBrowse1:SetDbf("UCTY")
If all records in the DBF are deleted, the browser always shows 1 empty row, and the
:oDbfBrowse1:nDataRows returns 1. Is this the correct behaviour?
How to determine, if they are no records to display in browser?
Gejza Horvath
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDbfBrowse

Mensaje por ignacio »

Gejza,
Take a loot at the property TDataset:lKeyExact.
Regards,
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=46895e70@ozsrv2.ozlan.local...]46895e70@ozsrv2.ozlan.local...[/email]
> Using next code:
>
> SET DELETED ON
> USE Ucty NEW EXCLUSIVE INDEX Ucty
> ::oDbfBrowse1:SetDbf("UCTY")
>
> If all records in the DBF are deleted, the browser always shows 1 empty
> row, and the :oDbfBrowse1:nDataRows returns 1. Is this the correct
> behaviour?
> How to determine, if they are no records to display in browser?
>
> Gejza Horvath
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TDbfBrowse

Mensaje por NoName »

Gejza,
Take a loot at the property TDataset:lKeyExact.
Regards,
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=46895e70@ozsrv2.ozlan.local...]46895e70@ozsrv2.ozlan.local...[/email]
> Using next code:
>
> SET DELETED ON
> USE Ucty NEW EXCLUSIVE INDEX Ucty
> ::oDbfBrowse1:SetDbf("UCTY")
>
> If all records in the DBF are deleted, the browser always shows 1 empty
> row, and the :oDbfBrowse1:nDataRows returns 1. Is this the correct
> behaviour?
> How to determine, if they are no records to display in browser?
>
> Gejza Horvath
>
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

TDbfBrowse

Mensaje por Gejza Horvath »

Yes, but I use a pure DBF, take a look at the project I was sent you in another thread.
Gejza
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> pí¹e v diskusním pøíspìvku
news:[email=4689ebd7@ozsrv2.ozlan.local...]4689ebd7@ozsrv2.ozlan.local...[/email]
> Gejza,
>
> Take a loot at the property TDataset:lKeyExact.
>
> Regards,
>
> "Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
> news:[email=46895e70@ozsrv2.ozlan.local...]46895e70@ozsrv2.ozlan.local...[/email]
>> Using next code:
>>
>> SET DELETED ON
>> USE Ucty NEW EXCLUSIVE INDEX Ucty
>> ::oDbfBrowse1:SetDbf("UCTY")
>>
>> If all records in the DBF are deleted, the browser always shows 1 empty row, and the
>> :oDbfBrowse1:nDataRows returns 1. Is this the correct behaviour?
>> How to determine, if they are no records to display in browser?
>>
>> Gejza Horvath
>>
>
>
>
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

TDbfBrowse

Mensaje por Gejza Horvath »

Yes, but I use a pure DBF, take a look at the project I was sent you in another thread.
Gejza
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> pí¹e v diskusním pøíspìvku
news:[email=4689ebd7@ozsrv2.ozlan.local...]4689ebd7@ozsrv2.ozlan.local...[/email]
> Gejza,
>
> Take a loot at the property TDataset:lKeyExact.
>
> Regards,
>
> "Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
> news:[email=46895e70@ozsrv2.ozlan.local...]46895e70@ozsrv2.ozlan.local...[/email]
>> Using next code:
>>
>> SET DELETED ON
>> USE Ucty NEW EXCLUSIVE INDEX Ucty
>> ::oDbfBrowse1:SetDbf("UCTY")
>>
>> If all records in the DBF are deleted, the browser always shows 1 empty row, and the
>> :oDbfBrowse1:nDataRows returns 1. Is this the correct behaviour?
>> How to determine, if they are no records to display in browser?
>>
>> Gejza Horvath
>>
>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDbfBrowse

Mensaje por ignacio »

Gejz,
I insist, please read it.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=4689f3e2@ozsrv2.ozlan.local...]4689f3e2@ozsrv2.ozlan.local...[/email]
> Yes, but I use a pure DBF, take a look at the project I was sent you in
> another thread.
>
> Gejza
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> pí¹e v diskusním pøíspìvku
> news:[email=4689ebd7@ozsrv2.ozlan.local...]4689ebd7@ozsrv2.ozlan.local...[/email]
>> Gejza,
>>
>> Take a loot at the property TDataset:lKeyExact.
>>
>> Regards,
>>
>> "Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
>> news:[email=46895e70@ozsrv2.ozlan.local...]46895e70@ozsrv2.ozlan.local...[/email]
>>> Using next code:
>>>
>>> SET DELETED ON
>>> USE Ucty NEW EXCLUSIVE INDEX Ucty
>>> ::oDbfBrowse1:SetDbf("UCTY")
>>>
>>> If all records in the DBF are deleted, the browser always shows 1 empty
>>> row, and the :oDbfBrowse1:nDataRows returns 1. Is this the correct
>>> behaviour?
>>> How to determine, if they are no records to display in browser?
>>>
>>> Gejza Horvath
>>>
>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TDbfBrowse

Mensaje por NoName »

Gejz,
I insist, please read it.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=4689f3e2@ozsrv2.ozlan.local...]4689f3e2@ozsrv2.ozlan.local...[/email]
> Yes, but I use a pure DBF, take a look at the project I was sent you in
> another thread.
>
> Gejza
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> pí¹e v diskusním pøíspìvku
> news:[email=4689ebd7@ozsrv2.ozlan.local...]4689ebd7@ozsrv2.ozlan.local...[/email]
>> Gejza,
>>
>> Take a loot at the property TDataset:lKeyExact.
>>
>> Regards,
>>
>> "Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
>> news:[email=46895e70@ozsrv2.ozlan.local...]46895e70@ozsrv2.ozlan.local...[/email]
>>> Using next code:
>>>
>>> SET DELETED ON
>>> USE Ucty NEW EXCLUSIVE INDEX Ucty
>>> ::oDbfBrowse1:SetDbf("UCTY")
>>>
>>> If all records in the DBF are deleted, the browser always shows 1 empty
>>> row, and the :oDbfBrowse1:nDataRows returns 1. Is this the correct
>>> behaviour?
>>> How to determine, if they are no records to display in browser?
>>>
>>> Gejza Horvath
>>>
>>
>>
>>
>
>
Responder