General Component
Fnd_Gen_CurrentTable
Fnd_Gen_CurrentTable ({->table}) -> Pointer
Parameters
| Parameter | Type | Description |
|---|---|---|
| table | Pointer | Pointer to the table to make current (optional) |
| Function result | Pointer | Current table |
Description
Rather than using 4D’s DEFAULT TABLE command and Current default table function, Foundation maintains a variable to a pointer to the current table for each process. You can get the value of this pointer by calling this method without any parameters. If no table is current, a nil pointer is returned. Pass a pointer to a table to this routine to set it as Foundation’s current table for the current process.
$tablePtr:=Fnd_Gen_CurrentTable
DELETE RECORD($tablePtr->)
or
DELETE RECORD(Fnd_Gen_CurrentTable ->)
Extracted source text
Fnd_Gen_CurrentTable ({->table}) ➔ Pointer
Parameter Type Description
table Pointer Pointer to the table to make current (optional)
Function result Pointer Current table
Rather than using 4D’s DEFAULT TABLE command and Current default table function,
Foundation maintains a variable to a pointer to the current table for each process.
You can get the value of this pointer by calling this method without any parameters. If no table is current,
a nil pointer is returned.
Pass a pointer to a table to this routine to set it as Foundation’s current table for the current process.
$tablePtr:=Fnd_Gen_CurrentTable
DELETE RECORD($tablePtr->)
or
DELETE RECORD(Fnd_Gen_CurrentTable ->)