Icon View Thread

The following is the text of the current message along with any replies.
Messages 21 to 29 of 29 total
Thread Record Locking Properties
Tue, Oct 21 2008 10:08 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


I think I have now figured out how I confused myself, but I may be back.

Roy Lambert
Wed, Nov 5 2008 3:03 PMPermanent Link

"Terry Swiers"
Roy,

Finally had a chance to clean up the code and put a little documentation in
it.

> Super, but I'd suggest the extensions ng since it will be specific to
> elevatedb, or will it?

Right now it's specific to EDB primarily because it uses EDB objects and the
EDB LockCurrentRecord function.  With a little work, it should be
convertable to DBISAM.

--

---------------------------------------
 Terry Swiers
 Millennium Software, LLC
 http://www.1000years.com
 http://www.atrex.com

 Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)
 ---------------------------------------



Wed, Nov 5 2008 3:34 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Terry,

<< Finally had a chance to clean up the code and put a little documentation
in it. >>

Cool, thanks very much for the contribution.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Nov 6 2008 3:53 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Terry


Its sitting in my Elevate support functions directory waiting to be installed in my app - thanks very much.

As an aside why do you use

while table.eof = false

rather than

while not table.eof

Just curious / nosey.

Roy Lambert
Thu, Nov 6 2008 1:25 PMPermanent Link

"Terry Swiers"
Roy,

> As an aside why do you use
>
> while table.eof = false
>
> rather than
>
> while not table.eof

Just habit as I prefer to code my conditionals as direct comparisons rather
than negated values.    For some reason, it feels easier to comprehend in
that form when reviewing code.

--

---------------------------------------
 Terry Swiers
 Millennium Software, LLC
 http://www.1000years.com
 http://www.atrex.com

 Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)
 ---------------------------------------

Fri, Nov 7 2008 7:35 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Terry


I'm about to implement your nice tool. I'm thinking of adding a property Allows and comparing this with GetActiveCount in GetLock returning false if Allows < = GetActiveCount.

Not complaining or criticising just wondering - is there a reason why you didn't do this?

Roy Lambert
Fri, Nov 7 2008 11:26 AMPermanent Link

"Terry Swiers"
Roy,

> I'm about to implement your nice tool. I'm thinking of adding a property
> Allows and comparing this with GetActiveCount in GetLock returning false
> if Allows < = GetActiveCount.
>
> Not complaining or criticising just wondering - is there a reason why you
> didn't do this?

I had thought about this, but opted not to just so that I could push it out
quicker.  I'll see if I can drop it in later today or tommorw and push a new
version out.

I'll also look into adding the ability to get a specific lock value.  With
this, you can indicate if database maintenance or some other function is
being performed and allow the application to know this based upon the
presence or lack of presence of a specific lock.

--

---------------------------------------
 Terry Swiers
 Millennium Software, LLC
 http://www.1000years.com
 http://www.atrex.com

 Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)
 ---------------------------------------

Fri, Nov 7 2008 1:30 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Terry


I'll post my mods up to the extensions so you can modify as you want.

Roy Lambert
Sun, Nov 9 2008 7:32 PMPermanent Link

"Terry Swiers"
Roy,

> I'll post my mods up to the extensions so you can modify as you want.

Thanks.  I'm most of the way merging the two versions.  BTW, I really like
the addition of the info to allow you to keep track of who is actually
connected.  It's a logical extension of what I did but had not thought of it
because I was just looking for a replacement of the semephore locks that
DBISAM had.

I'll post the updated version as soon as possible.

--

---------------------------------------
 Terry Swiers
 Millennium Software, LLC
 http://www.1000years.com
 http://www.atrex.com

 Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)
 ---------------------------------------

« Previous PagePage 3 of 3
Jump to Page:  1 2 3
Image