Gets field data from the current record in a device.
The device handle, returned from the DevOpen() function. The device handle identifies the table where all data on the associated device is stored.
The field name, as a string of up to 10 characters. (The dBASE file format limits all field names to a maximum of 10 characters.)
The field data (as a string). If the field is not found an empty string is returned.
hDev = DevOpen("Recipe", 0);
IF hDev >= 0 THEN
IF DevFind(hDev, sName, "NAME") = 0 THEN
PLC_FLOUR = DevGetField(hDev, "FLOUR");
PLC_WATER = DevGetField(hDev, "WATER");
PLC_SALT = DevGetField(hDev, "SALT");
PLC_MILK = DevGetField(hDev, "MILK");
DspError("Cannot Find Recipe " + sName);
DspError("Cannot open recipe database");