4D Pack v16

_o_AP Get field infos

Home

 
4D Pack v16
_o_AP Get field infos

_o_AP Get field infos 


 

_o_AP Get field infos ( Tabellennr ; Feldnr ; relTable ; relFld ; props ; choiceList ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
Tabellennr  Ganzzahl in Table number
Feldnr  Ganzzahl in Field number
relTable  Ganzzahl in Related table
relFld  Ganzzahl in Related field
props  Lange Ganzzahl in Field properties
choiceList  String in Choice list
Funktionsergebnis  Ganzzahl in Error code

Starting with version 16, 4D Pack commands are obsolete and their use in 4D databases is not recommended. These commands will be removed in future versions of 4D. 

_o_AP Get field infos returns specific information about a field.

Given the table number and field number, the command returns the linked table and the linked field number, respectively.

If there is no relation with the given field, relTable and relFld are set to 0.

The 16 bits of props are meaningful. Each bit can be read via bits operators of 4D language.

Bit number:Is set to 1 if:Ignored if field type is
15IndexedText, Picture, Subtable or Blob
14Indexed uniqueText, Picture or Subtable or Blob or if bit 15 is set to 0
13MandatorySubtable
12Choice listPicture, Subtable or Blob
11ModifiableSubtable
10EnterableSubtable
8Invisible
6N to 1 relationText, Picture, Subtable or Blob
51 to N relationText, Picture, Subtable or Blob
2 and 1Automatic 1 to N relation whose deletion control is:
00 No deletion control
01 No assignment of related records
10 Deletion of related records
11 Deletion of related records not allowed
0Automatic N to 1 relation with automatic assignment Text, Picture, Subtable, Blob, or if bit 5 not set

 
EIGENSCHAFTEN 

Produkt: 4D Pack
Thema: 4D_Pack : Utilities
Nummer: 61974

Dieser Befehl ist überholt und sollte nicht mehr verwendet werden.

 
GESCHICHTE 

New
Erstellt: 4D Pack 6
Umbenannt: 4D Pack v16

 
ARTIKELVERWENDUNG

4D Pack ( 4D Pack v16)