art_info
This method returns the value of a field from the items table, given an Item ID (ar_numero).
Syntax:
oBiz.Art_Info(<nItemId>, <cField>)
Parameters |
Description |
nItemId |
Primary key identifying the item (ad_numero). |
cField |
Name of the field whose content has to be returned. |
Example:
*/ Instantiate end set the database location.
oBiz = createobject("bizinfo.application")
oBiz.cDatabasePath = "C:\WinBIZ Data"
oBiz.nCompany = 1000
oBiz.nYear = 2017
*/ Show the content of the field ar_groupe for the item whose ID = 1000.
messagebox(oBiz.Art_Info(1000, "ar_groupe"))