StockID()
Returns the stock id of the currently selected stock record.
Syntax
StockID() --> <cStockID>
Returns
<cStockID> --> is the stock id of the stock record as a 7 digit number formatted as a character string. If the stock.dbf database is not open a blank string is returned.
Description
Returns the stock id of the current stock record. If no stock record is available then a blank string ("") is returned. Otherwise an ID, such as "0000001" is returned. Non-blank stock id's are always unique. Ensure that StockID() is used in the specific body that opens stock.dbf otherwise logical FALSE will be returned.
____________________________
Related Topics: