Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Lookup Max Value and add 1


Rob Diamant

Recommended Posts

How do you lookup a key value and add one For example, I have an order and want to lookup the last line item number used and increment it for my insert. Of course if it is a new order, it should return zero. I do not want to use any row counts, since the line numbers may not match the number of rows.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...