sample.asp


This file contains methods for retrieving functions from the Customer database. All functions use stored procedures to retrieve information from the database. This code should work with all databases.

Parameters

None
Return Value 
Example



Method: Public Function GetCustomerID(cFirstName, cLastName)


This function return the primary key in the database based on Some Processing Here

Parameters


ParameterDescription
cLastName This is the last name of the customer
cFirstName This is the first name of the customer

Return Value cCustomerID This is the primary key of the Customer
Since 1.1 similar fuunctionality for Partners
Example
cCustomerID = GetCustomerID(cFirstName, cLastName) the first name and last name.