Navigation:  DataServer Classes > DaoServer Class >

DaoServer:UsePropsForHl Access/Assign

Previous pageReturn to chapter overviewNext page


A logical value indicating whether the server should read captions/description from the underlying Dao Recordset



During initialisation of a Server, it will read the caption and description values of the fields from the underlying Dao Recordset. You can disable this (in a subclass) by setting UsePropsForHl to False. In that case both the captions and the descriptions of the fields will be set to the name of the fields.

Setting it later has no effect.




CLASS Customers Inherit DaoServer


Method Init(oDb) Class Customers

Self:UsePropsForHl := FALSE

Super:Init("Customers",DbopenDynaSet,DbSeeChanges, oDb)

return SELF