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.

CurrentRow in a Shared DataStore

2 posts in DataWindow .NET Last posting was on 2004-11-15 21:37:48.0Z
Jack Addington Posted on 2004-11-15 18:32:05.0Z
From: "Jack Addington" <jaddington@shaw.ca>
Newsgroups: sybase.public.datawindow.net
Subject: CurrentRow in a Shared DataStore
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: s010600e018e32f17.cg.shawcable.net
X-Original-NNTP-Posting-Host: s010600e018e32f17.cg.shawcable.net
Message-ID: <4198f625$1@forums-1-dub>
Date: 15 Nov 2004 10:32:05 -0800
X-Trace: forums-1-dub 1100543525 68.147.193.82 (15 Nov 2004 10:32:05 -0800)
X-Original-Trace: 15 Nov 2004 10:32:05 -0800, s010600e018e32f17.cg.shawcable.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:715
Article PK: 125144

Given the following

DataWindow dw;
DataStore ds;

dw.ShareData(ds);
dw.Retrieve(...)
ds.SetRow(5);

ds.CurrentRow <> dw.CurrentRow = True ????

Given the shares shouldn't the current row's be the same?

thx


Jim O'Neil [Sybase] Posted on 2004-11-15 21:37:48.0Z
From: "Jim O'Neil [Sybase]" <joneil_at_sybase_dot_com>
Newsgroups: sybase.public.datawindow.net
Subject: Re: CurrentRow in a Shared DataStore
Message-ID: <pb8ip01amtqo2phknbubjur49rn1biq7mn@4ax.com>
References: <4198f625$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: surfec007.sybase.com
X-Original-NNTP-Posting-Host: surfec007.sybase.com
Date: 15 Nov 2004 13:37:48 -0800
X-Trace: forums-1-dub 1100554668 199.93.176.7 (15 Nov 2004 13:37:48 -0800)
X-Original-Trace: 15 Nov 2004 13:37:48 -0800, surfec007.sybase.com
Lines: 23
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:720
Article PK: 125147

No, they each have their own concept of a 'current' row, allowing you
to edit different parts of the same underlying dataset within
different views.

On 15 Nov 2004 10:32:05 -0800, "Jack Addington" <jaddington@shaw.ca>

wrote:

>Given the following
>
>DataWindow dw;
>DataStore ds;
>
>dw.ShareData(ds);
>dw.Retrieve(...)
>ds.SetRow(5);
>
>ds.CurrentRow <> dw.CurrentRow = True ????
>
>Given the shares shouldn't the current row's be the same?
>
>thx
>