DAGetFormFieldValueA
表單欄位、直接存取功能
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 DAGetFormFieldValue 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
傳回指定表單欄位的值
語法
Delphi
Function DLDAGetFormFieldValueA(InstanceID, FileHandle, FieldIndex: Integer): PAnsiChar;
DLL
const char * DLDAGetFormFieldValueA(int InstanceID, int FileHandle, int FieldIndex);
參數
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函式傳回的控制代碼 |
|---|---|
| FieldIndex | 要操作的表單欄位索引。第一個表單欄位的索引為 1。 |