Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread Recno and EDB
Tue, Aug 21 2007 1:34 AMPermanent Link

"Adam H."
Hi,

IIRC, the property recno for TEDBDatasets was not going to be populated
correctly for ElevateDB. I'm just thinking ahead here for when I port by
applications from DBISam to EDB - is there a preferred recommendation for an
alternative use to .recno, if I need to obtain the record number?

Thanks & Regards

Adam.

Tue, Aug 21 2007 2:04 AMPermanent Link

"Royke"
"Adam H." <ahairsub4@rREMOVEMEspamSTOPPER.jvxp.com> wrote in message
news:2C8846CC-7142-4383-8C1F-2690AE3B5792@news.elevatesoft.com...
> Hi,
>
> IIRC, the property recno for TEDBDatasets was not going to be populated
> correctly for ElevateDB. I'm just thinking ahead here for when I port by
> applications from DBISam to EDB - is there a preferred recommendation for
> an alternative use to .recno, if I need to obtain the record number?
>
> Thanks & Regards
>
> Adam.

No idea about DBISam, but we just ported a BDE application to EDB, and we
used RecNo a lot. Days of extra work. It was probably 60-70% of the total
conversion time.

RJ

Tue, Aug 21 2007 3:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< IIRC, the property recno for TEDBDatasets was not going to be populated
correctly for ElevateDB. I'm just thinking ahead here for when I port by
applications from DBISam to EDB - is there a preferred recommendation for an
alternative use to .recno, if I need to obtain the record number? >>

It depends upon what you're using the record number for currently - display,
searching, etc.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Aug 22 2007 12:33 AMPermanent Link

"Adam H."
Hi Steve,

> << IIRC, the property recno for TEDBDatasets was not going to be populated
> correctly for ElevateDB. I'm just thinking ahead here for when I port by
> applications from DBISam to EDB - is there a preferred recommendation for
> an alternative use to .recno, if I need to obtain the record number? >>
>
> It depends upon what you're using the record number for currently -
> display, searching, etc.

I guess most of it is for displaying during routines. If .recordcount still
works, I guess I could look at implementing an inc(x) routine to try and get
past this, or is their another method I should be looking at?

Thanks & Regards

Adam.

Wed, Aug 22 2007 6:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< I guess most of it is for displaying during routines. If .recordcount
still works, I guess I could look at implementing an inc(x) routine to try
and get past this, or is their another method I should be looking at? >>

Does the # information really mean anything to the end user, or is it just
for show ?  We usually recommend that you move away from showing a
position/# and into showing the primary key instead.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Aug 22 2007 9:04 PMPermanent Link

"Adam H."
Hi Tim,

> Does the # information really mean anything to the end user, or is it just
> for show ?  We usually recommend that you move away from showing a
> position/# and into showing the primary key instead.

It's more for progress bars and so forth when looping through a query for
calculations, etc.

Cheers

Adam.

Thu, Aug 23 2007 2:55 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Adam

>It's more for progress bars and so forth when looping through a query for
>calculations, etc.

In that case I'd just use RecordCount and a variable

Roy Lambert
Thu, Aug 23 2007 6:20 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< It's more for progress bars and so forth when looping through a query for
calculations, etc. >>

In that case, Roy is correct - just use a counter variable and increment it
as necessary.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image