I just made an external datawindow with one field, mydatetimes of data
type datetime.
I populated it with a half dozen rows of varying months.
I set the filter to
month( date( mydatetimes )) = 4
and it limited the rows displayed to april datetimes.
I don't think the problem is what you think that it is.
I know it sounds simple but I haven't been able to find the
right combo of either PB9 and/or Oracle 9i functions to do
this. I have to give user the ability to see a list of
birthdays based on month they select. The data has the
dates in oracle datetime format.
I thought I could do a filter like
month(date(date_of_birth)) = whatever number but it doesn't
work. The date function I wanted to use is powerscript and
the date dw expression function 'Converts a string whose
value is a valid date to a value of data type date' I
looked at oracle's functions but don't see a function I
could use. Please someone tell me I'm missing something.
Thanks,
Evita
<E Chapa> wrote in message news:3ffecdde.79...@sybase.com...
<E Chapa> wrote in message news:3ffecdde.79...@sybase.com...
Thanks
Evita
<E Chapa> wrote in message news:4002f6ce.32...@sybase.com...
Have you tried:
month(date_of_birth) = 10
if date_of_birth is date/datetime column, the above should work. Goto the
datawindow painter and experment with the filter. The Month function is valid
for filters.
I hope this helps.
Jim
On 12 Jan 2004 12:06:04 -0800,
in sybase.public.powerbuilder.datawindow
Jim Smith
Duqusene Light Company
jrs...@duqlight.com
Evita
Long time no hear :)..Duhhh...Been writing docs and
testplans lately..Totally forgot about to_char..Ok, y'all
can shoot me now :P
Evita
I must've typed in something wrong..It works now..Thanks for
the help :)
Evita