Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Sorting files by date

5 posts in Objects Last posting was on 2006-08-18 19:42:53.0Z
Marina Posted on 2006-08-17 20:09:07.0Z
Sender: 65b4.44e4c763.1804289383@sybase.com
From: Marina
Newsgroups: sybase.public.powerbuilder.objects
Subject: Sorting files by date
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44e4ca8e.65cb.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 17 Aug 2006 12:59:10 -0700, 10.22.241.42
Lines: 6
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Aug 2006 12:59:12 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Aug 2006 13:09:07 -0700
X-Trace: forums-1-dub 1155845347 10.22.108.75 (17 Aug 2006 13:09:07 -0700)
X-Original-Trace: 17 Aug 2006 13:09:07 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9024
Article PK: 736221

Hello all,
for my project I will need to display files' names from a
specified directory, using DirList() function, for example.
Is there any way to sort files by their creation date.

Thank You


fisher <fisher Posted on 2006-08-17 22:00:02.0Z
From: fisher <fisher@NO_SPAM.PLEASe>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Sorting files by date
References: <44e4ca8e.65cb.1681692777@sybase.com>
In-Reply-To: <44e4ca8e.65cb.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit
X-Original-NNTP-Posting-Host: 62-31-8-81.cable.ubr03.edin.blueyonder.co.uk
Message-ID: <44e4e48b$1@forums-2-dub>
X-Original-Trace: 17 Aug 2006 14:50:03 -0700, 62-31-8-81.cable.ubr03.edin.blueyonder.co.uk
Lines: 10
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Aug 2006 14:50:06 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Aug 2006 15:00:02 -0700
X-Trace: forums-1-dub 1155852002 10.22.108.75 (17 Aug 2006 15:00:02 -0700)
X-Original-Trace: 17 Aug 2006 15:00:02 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9025
Article PK: 736223

You can use API to get file information and add files to another ListBox
in desired order.

Marina napisaÂł(a):

> Hello all,
> for my project I will need to display files' names from a
> specified directory, using DirList() function, for example.
> Is there any way to sort files by their creation date.
>
> Thank You


fisher <fisher Posted on 2006-08-18 19:42:53.0Z
From: fisher <fisher@NO_SPAM.PLEASe>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Sorting files by date
References: <44e4e48b$1@forums-2-dub> <44e60ab0.7933.1681692777@sybase.com>
In-Reply-To: <44e60ab0.7933.1681692777@sybase.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Original-NNTP-Posting-Host: 62-30-147-109.cable.ubr03.edin.blueyonder.co.uk
Message-ID: <44e615e2$1@forums-2-dub>
X-Original-Trace: 18 Aug 2006 12:32:50 -0700, 62-30-147-109.cable.ubr03.edin.blueyonder.co.uk
Lines: 22
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 18 Aug 2006 12:32:53 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 Aug 2006 12:42:53 -0700
X-Trace: forums-1-dub 1155930173 10.22.108.75 (18 Aug 2006 12:42:53 -0700)
X-Original-Trace: 18 Aug 2006 12:42:53 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9028
Article PK: 736225

There's another great web site
http://www.topwizprogramming.com/redirect.html?page=freecode
I hope it will not make You confused.
good luck
Marina napisał(a):

> Thank you for your response,
> Can you please give me more details how actually I can get
> file
> information; what functions should I use?
>
> Thank you
>
>> You can use API to get file information and add files to
>> another ListBox in desired order.
>>
>> Marina napisa³(a):
>>> Hello all,
>>> for my project I will need to display files' names from
>>> a specified directory, using DirList() function, for
>>> example. Is there any way to sort files by their
>>> creation date.
>>> Thank You