Página 1 de 1
Newbie Questions
Publicado: Mié Oct 14, 2009 3:15 am
por Simon White
How do I get the TDBDatePicker to show empty dates? When I change rows in
the TDBBrowse the date in the date picker only updates if there is a date
in the date field. If the date field has any empty date the date picker
shows the date from the last record with a valid date. This is very misleading
because it should be showing the value for the current record.
Secondly how to I get the dataset not to included deleted records? So that
the linked TDBBrowse only shows non-deleted records.
Thanks
Simon
Newbie Questions
Publicado: Jue Oct 15, 2009 9:22 am
por Ingo JH
Simon,
"Simon White" <
simonwhite@dciphercomputing.com> schrieb im Newsbeitrag
news:4ad52642$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>
> How do I get the TDBDatePicker to show empty dates? When I change rows in
> the TDBBrowse the date in the date picker only updates if there is a date
> in the date field. If the date field has any empty date the date picker
> shows the date from the last record with a valid date. This is very
> misleading
> because it should be showing the value for the current record.
use TDBDateEdit instead TDBDatePicker
> Secondly how to I get the dataset not to included deleted records? So
> that
> the linked TDBBrowse only shows non-deleted records.
write
SET DELETED ON
into your code
Regards
Ingo
>
> Thanks
> Simon
Newbie Questions
Publicado: Jue Oct 15, 2009 3:18 pm
por Simon White
Hi
What is the difference between TBDateEdit and TBDatePicker? Why does one
show blank dates and the other not?
Thanks,
Simon
"Ingo JH" <
support@mandantwin.com> wrote:
>Simon,
>
>"Simon White" <
simonwhite@dciphercomputing.com> schrieb im Newsbeitrag
>news:4ad52642$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>
>> How do I get the TDBDatePicker to show empty dates? When I change rows
in
>> the TDBBrowse the date in the date picker only updates if there is a date
>> in the date field. If the date field has any empty date the date picker
>> shows the date from the last record with a valid date. This is very
>> misleading
>> because it should be showing the value for the current record.
>
>use TDBDateEdit instead TDBDatePicker
>
>> Secondly how to I get the dataset not to included deleted records? So
>> that
>> the linked TDBBrowse only shows non-deleted records.
>write
>SET DELETED ON
>into your code
>
>Regards
>
>Ingo
>
>>
>> Thanks
>> Simon
>
Newbie Questions
Publicado: Jue Oct 15, 2009 4:31 pm
por Ingo JH
Simon,
datepicker control allows to select a valid date. Please take a look at this
site
http://msdn.microsoft.com/en-us/library ... dows.contr ols.datepicker(VS.95).aspx
Regards
Ingo
"Simon White" <
simonwhite@dciphercomputing.com> schrieb im Newsbeitrag
news:4ad7213f$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>
> Hi
>
> What is the difference between TBDateEdit and TBDatePicker? Why does one
> show blank dates and the other not?
>
> Thanks,
> Simon
>
>
> "Ingo JH" <
support@mandantwin.com> wrote:
>>Simon,
>>
>>"Simon White" <
simonwhite@dciphercomputing.com> schrieb im Newsbeitrag
>>news:4ad52642$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>
>>> How do I get the TDBDatePicker to show empty dates? When I change rows
> in
>>> the TDBBrowse the date in the date picker only updates if there is a
>>> date
>>> in the date field. If the date field has any empty date the date picker
>>> shows the date from the last record with a valid date. This is very
>>> misleading
>>> because it should be showing the value for the current record.
>>
>>use TDBDateEdit instead TDBDatePicker
>>
>>> Secondly how to I get the dataset not to included deleted records? So
>
>>> that
>>> the linked TDBBrowse only shows non-deleted records.
>>write
>>SET DELETED ON
>>into your code
>>
>>Regards
>>
>>Ingo
>>
>>>
>>> Thanks
>>> Simon
>>
>