The Single or stand-alone table (part 3)
Welcome Back! In my previous entry we defined the needed Procedures in a Stand-Alone table data layer Module. In this blog entry we will begin to build out these Procedures. The first step in building the FighterSize Module is to create our public interface, or Public Declares. Declare LoadComboName(cbData.i) Declare LoadListViewName(lvData.i) Declare LoadListIcon(liData.i) Declare.i Init(*Class.FighterSize) Declare.i Find(FighterSizeID.i, *Class.FighterSize) Declare.i FindByName(FighterName.s, *Class.FighterSize) Declare.i Save(*Class.FighterSize) Declare.i Delete(*Class.FighterSize) Declare.i Validate(*Class.FighterSize) Declare.i DeleteValidate(*Class.FighterSize) Before we dive into creating our public procedures there are a couple of housekeeping things we need to address first. Our first Procedures to create will be Private Procedures. We are going to build an Initialize and a Dispose Procedure. These will be called by our Public Procedures to ...