<< Click to Display Table of Contents >> Navigation: PaXcel - functions > Customer Functions > SLCatTitle() |
SLCatTitle( Company, CustomerCategory )
This function will return the title for the customer category supplied.
The arguments are as follows:
Company: This is the path to your Pastel data directory. For example:
c:\PastelData\_demo would enable you to retrieve information from the Pastel Partner demo company.
CustomerCategory: This should be a customer category that exists within Pastel
The following will return the title/name of customer category 1 (End User)
SLCatTitle( "c:\PastelData\_demo", 1 )
The following will return the title/name of customer category 2 (Dealer)
SLCatTitle( "c:\PastelData\_demo", 2 )
|