Ole properties named "type" will stop compilation
Original Reporter info from Mantis: jonespg1977
-
Reporter name: Peter Jones
Original Reporter info from Mantis: jonespg1977
- Reporter name: Peter Jones
Description:
I am using Word Automation with Lazarus, and I need to access the type of form fields to make decisions about to handle the data export.
Problem is the code :
'if Document.FormFields.Item(i).Type = wdFieldTextEntry;'
always flags 'Fatal: syntax error, "identifier" expected but "TYPE" found.'
I am unable to see a way around this problem...
Mantis conversion info:
- Mantis ID: 20327
- Version: 0.9.30