Hi all
I have a textbox that needs to display a serial no. (user modifiable, so they can skip nos. if they have to). This textbox has a GotFocus() method to call a application level function GetNextNo(), this will provide a next no. without a break. When the form is save, in it's Business Object container's (I use CodeBook framework) BeforeSaveValidations() I make another call to function BadNextNo(), this validates (multi-user) the no. being saved and returns a .T. or .F. This return value is then returned from BeforeSaveValidations(), thus stopping a save if required.
Now my question is I have 2 separate calls in 2 diff. classes, how can I make this textbox a class for nos. but for that I have to contain both calls in the class itself. How can I go about this? Is this possible?