BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AutoIncReceiptNumber

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General)
View previous topic :: View next topic  
Author Message
alan
Guest





PostPosted: Sun Jul 02, 2006 4:32 pm    Post subject: AutoInc\ReceiptNumber Reply with quote



How do I model an autoinc attribute with Bold? I would like to have a
unique receipt number generated. The application is multi-user and we
are using IB 6 for the database.


Thanks
Back to top
Peter Morris [Droopy eyes
Guest





PostPosted: Sun Jul 02, 2006 10:24 pm    Post subject: Re: AutoInc\ReceiptNumber Reply with quote



I don't know if there is another way to implement it or not, but I wrote a
TdeCustomBoldAutoIncManager component that lets you do exactly this.

The source has java help style comments in it, so it should be pretty easy
to understand. You can even give it an OCL expression so that a number is
only allocated at a specific point in the object's life rather than only at
creation.



--
Pete
====
Audio compression components, DIB graphics controls, ECO extensions,
FastStrings
http://www.droopyeyes.com

My blog
http://blogs.slcdug.org/petermorris/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.