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.
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.
Dataset:Blank()
-
- Mensajes: 115
- Registrado: Jue Jun 01, 2006 7:21 pm
Dataset:Blank()
Hello!
I have some DbEdit controls in a form and want them to be shown empty. So i
used Blank() method but it doesn't work. The workaround i'm using is to set
the record on EOF...Am i missing something ?
TIA.
Aguiar !!!
I have some DbEdit controls in a form and want them to be shown empty. So i
used Blank() method but it doesn't work. The workaround i'm using is to set
the record on EOF...Am i missing something ?
TIA.
Aguiar !!!
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Dataset:Blank()
Aguiar,
oDataSet:Blank empties the DataSet buffer, but not ist linked controls. You
should do it before the Edit method. BTW DataSet:Addnew performs that
operation directly.
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello!
>
> I have some DbEdit controls in a form and want them to be shown empty. So
> i used Blank() method but it doesn't work. The workaround i'm using is to
> set the record on EOF...Am i missing something ?
> TIA.
> Aguiar !!!
>
>
oDataSet:Blank empties the DataSet buffer, but not ist linked controls. You
should do it before the Edit method. BTW DataSet:Addnew performs that
operation directly.
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello!
>
> I have some DbEdit controls in a form and want them to be shown empty. So
> i used Blank() method but it doesn't work. The workaround i'm using is to
> set the record on EOF...Am i missing something ?
> TIA.
> Aguiar !!!
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Dataset:Blank()
Aguiar,
oDataSet:Blank empties the DataSet buffer, but not ist linked controls. You
should do it before the Edit method. BTW DataSet:Addnew performs that
operation directly.
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello!
>
> I have some DbEdit controls in a form and want them to be shown empty. So
> i used Blank() method but it doesn't work. The workaround i'm using is to
> set the record on EOF...Am i missing something ?
> TIA.
> Aguiar !!!
>
>
oDataSet:Blank empties the DataSet buffer, but not ist linked controls. You
should do it before the Edit method. BTW DataSet:Addnew performs that
operation directly.
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello!
>
> I have some DbEdit controls in a form and want them to be shown empty. So
> i used Blank() method but it doesn't work. The workaround i'm using is to
> set the record on EOF...Am i missing something ?
> TIA.
> Aguiar !!!
>
>
-
- Mensajes: 115
- Registrado: Jue Jun 01, 2006 7:21 pm
Dataset:Blank()
Ignacio,
Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
code ?
The ideia is to initialize the form with blank DbControls and only fill them
with data after search and select a specific record. All in the same form.
I can do that but, i just wanted to know the right way to do it.
TIA.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
> You should do it before the Edit method. BTW DataSet:Addnew performs that
> operation directly.
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello!
>>
>> I have some DbEdit controls in a form and want them to be shown empty. So
>> i used Blank() method but it doesn't work. The workaround i'm using is to
>> set the record on EOF...Am i missing something ?
>> TIA.
>> Aguiar !!!
>>
>>
>
>
>
Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
code ?
The ideia is to initialize the form with blank DbControls and only fill them
with data after search and select a specific record. All in the same form.
I can do that but, i just wanted to know the right way to do it.
TIA.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
> You should do it before the Edit method. BTW DataSet:Addnew performs that
> operation directly.
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello!
>>
>> I have some DbEdit controls in a form and want them to be shown empty. So
>> i used Blank() method but it doesn't work. The workaround i'm using is to
>> set the record on EOF...Am i missing something ?
>> TIA.
>> Aguiar !!!
>>
>>
>
>
>
-
- Mensajes: 115
- Registrado: Jue Jun 01, 2006 7:21 pm
Dataset:Blank()
Ignacio,
Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
code ?
The ideia is to initialize the form with blank DbControls and only fill them
with data after search and select a specific record. All in the same form.
I can do that but, i just wanted to know the right way to do it.
TIA.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
> You should do it before the Edit method. BTW DataSet:Addnew performs that
> operation directly.
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello!
>>
>> I have some DbEdit controls in a form and want them to be shown empty. So
>> i used Blank() method but it doesn't work. The workaround i'm using is to
>> set the record on EOF...Am i missing something ?
>> TIA.
>> Aguiar !!!
>>
>>
>
>
>
Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
code ?
The ideia is to initialize the form with blank DbControls and only fill them
with data after search and select a specific record. All in the same form.
I can do that but, i just wanted to know the right way to do it.
TIA.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
> You should do it before the Edit method. BTW DataSet:Addnew performs that
> operation directly.
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello!
>>
>> I have some DbEdit controls in a form and want them to be shown empty. So
>> i used Blank() method but it doesn't work. The workaround i'm using is to
>> set the record on EOF...Am i missing something ?
>> TIA.
>> Aguiar !!!
>>
>>
>
>
>
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Dataset:Blank()
Aguiar,
Then:
WITH OBJECT oDataSet
:Blank()
Aeval( :aLinkedControls, {|v| v:Varget() } )
END WITH
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
> code ?
> The ideia is to initialize the form with blank DbControls and only fill
> them with data after search and select a specific record. All in the same
> form.
> I can do that but, i just wanted to know the right way to do it.
> TIA.
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>> You should do it before the Edit method. BTW DataSet:Addnew performs that
>> operation directly.
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hello!
>>>
>>> I have some DbEdit controls in a form and want them to be shown empty.
>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>> is to set the record on EOF...Am i missing something ?
>>> TIA.
>>> Aguiar !!!
>>>
>>>
>>
>>
>>
>
>
>
Then:
WITH OBJECT oDataSet
:Blank()
Aeval( :aLinkedControls, {|v| v:Varget() } )
END WITH
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
> code ?
> The ideia is to initialize the form with blank DbControls and only fill
> them with data after search and select a specific record. All in the same
> form.
> I can do that but, i just wanted to know the right way to do it.
> TIA.
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>> You should do it before the Edit method. BTW DataSet:Addnew performs that
>> operation directly.
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hello!
>>>
>>> I have some DbEdit controls in a form and want them to be shown empty.
>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>> is to set the record on EOF...Am i missing something ?
>>> TIA.
>>> Aguiar !!!
>>>
>>>
>>
>>
>>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Dataset:Blank()
Aguiar,
Then:
WITH OBJECT oDataSet
:Blank()
Aeval( :aLinkedControls, {|v| v:Varget() } )
END WITH
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
> code ?
> The ideia is to initialize the form with blank DbControls and only fill
> them with data after search and select a specific record. All in the same
> form.
> I can do that but, i just wanted to know the right way to do it.
> TIA.
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>> You should do it before the Edit method. BTW DataSet:Addnew performs that
>> operation directly.
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hello!
>>>
>>> I have some DbEdit controls in a form and want them to be shown empty.
>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>> is to set the record on EOF...Am i missing something ?
>>> TIA.
>>> Aguiar !!!
>>>
>>>
>>
>>
>>
>
>
>
Then:
WITH OBJECT oDataSet
:Blank()
Aeval( :aLinkedControls, {|v| v:Varget() } )
END WITH
Regards,
"Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
> code ?
> The ideia is to initialize the form with blank DbControls and only fill
> them with data after search and select a specific record. All in the same
> form.
> I can do that but, i just wanted to know the right way to do it.
> TIA.
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>> You should do it before the Edit method. BTW DataSet:Addnew performs that
>> operation directly.
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hello!
>>>
>>> I have some DbEdit controls in a form and want them to be shown empty.
>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>> is to set the record on EOF...Am i missing something ?
>>> TIA.
>>> Aguiar !!!
>>>
>>>
>>
>>
>>
>
>
>
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Dataset:Blank()
Aguiar,
Varget() is a undocumented method available on all DataControls that you may
use for now, but I have just changed the DataSet:Blank() method and now
receives one parameter lUpdLinked (default .f.) to do the same job.
Regards,
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Then:
>
> WITH OBJECT oDataSet
> :Blank()
> Aeval( :aLinkedControls, {|v| v:Varget() } )
> END WITH
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ignacio,
>>
>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>> code ?
>> The ideia is to initialize the form with blank DbControls and only fill
>> them with data after search and select a specific record. All in the same
>> form.
>> I can do that but, i just wanted to know the right way to do it.
>> TIA.
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>> that operation directly.
>>>
>>> Regards,
>>>
>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Hello!
>>>>
>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>> is to set the record on EOF...Am i missing something ?
>>>> TIA.
>>>> Aguiar !!!
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
Varget() is a undocumented method available on all DataControls that you may
use for now, but I have just changed the DataSet:Blank() method and now
receives one parameter lUpdLinked (default .f.) to do the same job.
Regards,
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Then:
>
> WITH OBJECT oDataSet
> :Blank()
> Aeval( :aLinkedControls, {|v| v:Varget() } )
> END WITH
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ignacio,
>>
>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>> code ?
>> The ideia is to initialize the form with blank DbControls and only fill
>> them with data after search and select a specific record. All in the same
>> form.
>> I can do that but, i just wanted to know the right way to do it.
>> TIA.
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>> that operation directly.
>>>
>>> Regards,
>>>
>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Hello!
>>>>
>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>> is to set the record on EOF...Am i missing something ?
>>>> TIA.
>>>> Aguiar !!!
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Dataset:Blank()
Aguiar,
Varget() is a undocumented method available on all DataControls that you may
use for now, but I have just changed the DataSet:Blank() method and now
receives one parameter lUpdLinked (default .f.) to do the same job.
Regards,
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Then:
>
> WITH OBJECT oDataSet
> :Blank()
> Aeval( :aLinkedControls, {|v| v:Varget() } )
> END WITH
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ignacio,
>>
>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>> code ?
>> The ideia is to initialize the form with blank DbControls and only fill
>> them with data after search and select a specific record. All in the same
>> form.
>> I can do that but, i just wanted to know the right way to do it.
>> TIA.
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>> that operation directly.
>>>
>>> Regards,
>>>
>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Hello!
>>>>
>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>> is to set the record on EOF...Am i missing something ?
>>>> TIA.
>>>> Aguiar !!!
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
Varget() is a undocumented method available on all DataControls that you may
use for now, but I have just changed the DataSet:Blank() method and now
receives one parameter lUpdLinked (default .f.) to do the same job.
Regards,
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Then:
>
> WITH OBJECT oDataSet
> :Blank()
> Aeval( :aLinkedControls, {|v| v:Varget() } )
> END WITH
>
> Regards,
>
> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ignacio,
>>
>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>> code ?
>> The ideia is to initialize the form with blank DbControls and only fill
>> them with data after search and select a specific record. All in the same
>> form.
>> I can do that but, i just wanted to know the right way to do it.
>> TIA.
>> Aguiar !!!
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Aguiar,
>>>
>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>> that operation directly.
>>>
>>> Regards,
>>>
>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Hello!
>>>>
>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>> is to set the record on EOF...Am i missing something ?
>>>> TIA.
>>>> Aguiar !!!
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
-
- Mensajes: 115
- Registrado: Jue Jun 01, 2006 7:21 pm
Dataset:Blank()
Ignacio,
Once again thanks a lot for your great support.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:44982aac$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Varget() is a undocumented method available on all DataControls that you
> may use for now, but I have just changed the DataSet:Blank() method and
> now receives one parameter lUpdLinked (default .f.) to do the same job.
>
> Regards,
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
> news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Then:
>>
>> WITH OBJECT oDataSet
>> :Blank()
>> Aeval( :aLinkedControls, {|v| v:Varget() } )
>> END WITH
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>>> code ?
>>> The ideia is to initialize the form with blank DbControls and only fill
>>> them with data after search and select a specific record. All in the
>>> same form.
>>> I can do that but, i just wanted to know the right way to do it.
>>> TIA.
>>> Aguiar !!!
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Aguiar,
>>>>
>>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>>> that operation directly.
>>>>
>>>> Regards,
>>>>
>>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>>> Hello!
>>>>>
>>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>>> is to set the record on EOF...Am i missing something ?
>>>>> TIA.
>>>>> Aguiar !!!
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
Once again thanks a lot for your great support.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:44982aac$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Varget() is a undocumented method available on all DataControls that you
> may use for now, but I have just changed the DataSet:Blank() method and
> now receives one parameter lUpdLinked (default .f.) to do the same job.
>
> Regards,
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
> news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Then:
>>
>> WITH OBJECT oDataSet
>> :Blank()
>> Aeval( :aLinkedControls, {|v| v:Varget() } )
>> END WITH
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>>> code ?
>>> The ideia is to initialize the form with blank DbControls and only fill
>>> them with data after search and select a specific record. All in the
>>> same form.
>>> I can do that but, i just wanted to know the right way to do it.
>>> TIA.
>>> Aguiar !!!
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Aguiar,
>>>>
>>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>>> that operation directly.
>>>>
>>>> Regards,
>>>>
>>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>>> Hello!
>>>>>
>>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>>> is to set the record on EOF...Am i missing something ?
>>>>> TIA.
>>>>> Aguiar !!!
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
-
- Mensajes: 115
- Registrado: Jue Jun 01, 2006 7:21 pm
Dataset:Blank()
Ignacio,
Once again thanks a lot for your great support.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:44982aac$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Varget() is a undocumented method available on all DataControls that you
> may use for now, but I have just changed the DataSet:Blank() method and
> now receives one parameter lUpdLinked (default .f.) to do the same job.
>
> Regards,
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
> news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Then:
>>
>> WITH OBJECT oDataSet
>> :Blank()
>> Aeval( :aLinkedControls, {|v| v:Varget() } )
>> END WITH
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>>> code ?
>>> The ideia is to initialize the form with blank DbControls and only fill
>>> them with data after search and select a specific record. All in the
>>> same form.
>>> I can do that but, i just wanted to know the right way to do it.
>>> TIA.
>>> Aguiar !!!
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Aguiar,
>>>>
>>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>>> that operation directly.
>>>>
>>>> Regards,
>>>>
>>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>>> Hello!
>>>>>
>>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>>> is to set the record on EOF...Am i missing something ?
>>>>> TIA.
>>>>> Aguiar !!!
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
Once again thanks a lot for your great support.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:44982aac$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> Varget() is a undocumented method available on all DataControls that you
> may use for now, but I have just changed the DataSet:Blank() method and
> now receives one parameter lUpdLinked (default .f.) to do the same job.
>
> Regards,
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
> news:4498279c$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Aguiar,
>>
>> Then:
>>
>> WITH OBJECT oDataSet
>> :Blank()
>> Aeval( :aLinkedControls, {|v| v:Varget() } )
>> END WITH
>>
>> Regards,
>>
>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>> news:4497fa4d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> Using AddNew don't i have to do a oDataset:Cancel somewhere later in the
>>> code ?
>>> The ideia is to initialize the form with blank DbControls and only fill
>>> them with data after search and select a specific record. All in the
>>> same form.
>>> I can do that but, i just wanted to know the right way to do it.
>>> TIA.
>>> Aguiar !!!
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>>> news:4497dfe6$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Aguiar,
>>>>
>>>> oDataSet:Blank empties the DataSet buffer, but not ist linked controls.
>>>> You should do it before the Edit method. BTW DataSet:Addnew performs
>>>> that operation directly.
>>>>
>>>> Regards,
>>>>
>>>> "Aguiar" <aguiar.costa@sisbit.pt> escribió en el mensaje
>>>> news:4497dab3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>>> Hello!
>>>>>
>>>>> I have some DbEdit controls in a form and want them to be shown empty.
>>>>> So i used Blank() method but it doesn't work. The workaround i'm using
>>>>> is to set the record on EOF...Am i missing something ?
>>>>> TIA.
>>>>> Aguiar !!!
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>