The server editor properties window looks like this:
Name
This (readonly) field shows the fieldname of the server. you have to change the fieldname on the main screen.
Caption
The caption of the server is used for the hyperlabel of the server
Inherit from Class
Here you can specify the class that the server will inherit from. If you leave this empty or <Auto> the parent class will be either DaoTable, or DaoQuery depending on the server type you choose.
Description
The description of the server is used for the hyperlabel of the server
Help Context
The helpcontect of the server is used for the hyperlabel of the server
No Code
You can suppress code generation by setting this property to Yes. In that case only the binary entities will be generated, so you can perform the autolayout in the window editor. Of course you then have to write your own servers.
Server Type
You can select 3 types of servers here:
• | Dynaset |
• | Table |
• | Snapshot |
Please look at the reference of the OpenRecordset() method for the differences between those server types.
Options
Depending on the server type that you have chosen, you can select one or more options. Please look at the Openrecordset() method for the different options.
Dynamic Hyperlabels
When you set this property to true, the server will (at runtime) read the captions and descriptions of the fields from the properties that are stored in the database. When you set it to false the captions and descriptions that you specify in the editor will be used. of course the dynamic captions/description will cause a (very small) delay when you open a table.
No Access/Assign
This property allows you to suppress the generation of Accesses and assigns for all the fields in the server.
Small Fieldspecs
When you set this property to Yes the server editor will choose an alternative way to generate the sourcecode for the fieldspecs. There have been complaints that the source code generated by the DbServer and Sqleditor is much too big. We have given you an option.
PreInit method
When there is a preinit method you will see 'Defined' for this property. When the property is 'Not defined', you can let the server editor generate a method for you by setting this field to 'Defined'.
PostInit method
When there is a postinit method you will see 'Defined' for this property. When the property is 'Not defined', you can let the server editor generate a method for you by setting this field to 'Defined'.