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.

FILE READ!

4 posts in Pocket PowerBuilder Last posting was on 2003-07-29 13:51:09.0Z
M.Saudelli Posted on 2003-07-29 09:46:00.0Z
From: "M.Saudelli" <a@a.it>
Newsgroups: sybase.public.pocketpowerbuilder
Subject: FILE READ!
Lines: 4
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.26.181.9
X-Original-NNTP-Posting-Host: 213.26.181.9
Message-ID: <3f264258$1@forums-1-dub>
Date: 29 Jul 2003 02:46:00 -0700
X-Trace: forums-1-dub 1059471960 213.26.181.9 (29 Jul 2003 02:46:00 -0700)
X-Original-Trace: 29 Jul 2003 02:46:00 -0700, 213.26.181.9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:47
Article PK: 266001

How can i read a txt tab separated file?


Chris Pollach Posted on 2003-07-29 11:11:50.0Z
From: "Chris Pollach" <PollachC@SCC-CSC.gc.ca>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f264258$1@forums-1-dub>
Subject: Re: FILE READ!
Lines: 15
Organization: The Supreme Court of Canada
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: listserv.scc-csc.gc.ca
X-Original-NNTP-Posting-Host: listserv.scc-csc.gc.ca
Message-ID: <3f265676$1@forums-1-dub>
Date: 29 Jul 2003 04:11:50 -0700
X-Trace: forums-1-dub 1059477110 209.47.227.131 (29 Jul 2003 04:11:50 -0700)
X-Original-Trace: 29 Jul 2003 04:11:50 -0700, listserv.scc-csc.gc.ca
X-Authenticated-User: PPB
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:48
Article PK: 266002

You can always do it the hard way ... FileOpen( ) ... FileRead ( ) and
then parse the input yourself or ......
use a DataWindow with the ImportFile ( ) method!

Regards ... Chris

"M.Saudelli" <a@a.it> wrote in message news:3f264258$1@forums-1-dub...
> How can i read a txt tab separated file?
>
>
>


M.Saudelli Posted on 2003-07-29 12:16:46.0Z
From: "M.Saudelli" <a@a.it>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f264258$1@forums-1-dub> <3f265676$1@forums-1-dub>
Subject: Re: FILE READ!
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.26.181.9
X-Original-NNTP-Posting-Host: 213.26.181.9
Message-ID: <3f2665ae@forums-1-dub>
Date: 29 Jul 2003 05:16:46 -0700
X-Trace: forums-1-dub 1059481006 213.26.181.9 (29 Jul 2003 05:16:46 -0700)
X-Original-Trace: 29 Jul 2003 05:16:46 -0700, 213.26.181.9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:49
Article PK: 266004

OK but in ppc import file do not work correctly, and file open in line mode
read only unicode file and not ansi file!

tnk Matteo

"Chris Pollach" <PollachC@SCC-CSC.gc.ca> ha scritto nel messaggio
news:3f265676$1@forums-1-dub...

>
> You can always do it the hard way ... FileOpen( ) ... FileRead ( ) and
> then parse the input yourself or ......
> use a DataWindow with the ImportFile ( ) method!
>
> Regards ... Chris
>
>
> "M.Saudelli" <a@a.it> wrote in message news:3f264258$1@forums-1-dub...
> > How can i read a txt tab separated file?
> >
> >
> >
>
>


Roland Smith Posted on 2003-07-29 13:51:09.0Z
From: "Roland Smith" <rsmith@cvps.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <3f264258$1@forums-1-dub> <3f265676$1@forums-1-dub> <3f2665ae@forums-1-dub>
Subject: Re: FILE READ!
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 170.46.129.120
X-Original-NNTP-Posting-Host: 170.46.129.120
Message-ID: <3f267bcd$1@forums-1-dub>
Date: 29 Jul 2003 06:51:09 -0700
X-Trace: forums-1-dub 1059486669 170.46.129.120 (29 Jul 2003 06:51:09 -0700)
X-Original-Trace: 29 Jul 2003 06:51:09 -0700, 170.46.129.120
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:50
Article PK: 266003

Matteo,

Try this:

Read StreamMode into a Blob
Use FromAnsi function to convert to string
Use ImportString function to import into the datatwindow

Roland
--
Topwiz Software - Home of PBSearch
http://www.topwizprogramming.com/

"M.Saudelli" <a@a.it> wrote in message news:3f2665ae@forums-1-dub...
> OK but in ppc import file do not work correctly, and file open in line
mode
> read only unicode file and not ansi file!
>
> tnk Matteo
>
> "Chris Pollach" <PollachC@SCC-CSC.gc.ca> ha scritto nel messaggio
> news:3f265676$1@forums-1-dub...
> >
> > You can always do it the hard way ... FileOpen( ) ... FileRead ( )
and
> > then parse the input yourself or ......
> > use a DataWindow with the ImportFile ( ) method!
> >
> > Regards ... Chris
> >
> >
> > "M.Saudelli" <a@a.it> wrote in message news:3f264258$1@forums-1-dub...
> > > How can i read a txt tab separated file?
> > >
> > >
> > >
> >
> >
>
>