Subject | RE: [ib-support] Generator problem |
---|---|
Author | Richard Pendered |
Post date | 2002-07-23T15:05:28Z |
you will have to use a big 'if' statment in your trigger.
I would not have done it like this as you may get duplicates or use a
compound key value.
Rich P...
-----Original Message-----
From: wvlange [mailto:willem.van.langendonck@...]
Sent: 23 July 2002 15:54
To: ib-support@yahoogroups.com
Subject: [ib-support] Generator problem
I have the following problem for which I want a solution in FB 1.0
I have an application that produces documents that are numbered per
year. So I want to have number ranges per year. For every number
range I defined a generator.
Now I want to write a trigger that will give the correct document
number based on the date of the document that is posted. Does anyone
have a suggestion on how this can be done ?
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
I would not have done it like this as you may get duplicates or use a
compound key value.
Rich P...
-----Original Message-----
From: wvlange [mailto:willem.van.langendonck@...]
Sent: 23 July 2002 15:54
To: ib-support@yahoogroups.com
Subject: [ib-support] Generator problem
I have the following problem for which I want a solution in FB 1.0
I have an application that produces documents that are numbered per
year. So I want to have number ranges per year. For every number
range I defined a generator.
Now I want to write a trigger that will give the correct document
number based on the date of the document that is posted. Does anyone
have a suggestion on how this can be done ?
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/