As an alternative to specifying the IP address and port name in the Open/Prompt for data file commands, the Set hostname command, or the Hostname field in the SQL Browser, you can now store the IP address and port name of the ODB server in the Omnis preference $odbserver ($root.$prefs) and omit the IP-address:port from the command parameters. The preference can contain the TCP/IP address and port of the ODB server in the form IP-address:port, e.g. 194.131.70.222:5900. To use this property, you write code such as:
Prompt for data file {odb://}
Open data file {odb://mydatafile}
or
Set hostname {odb://odb_test}
The commands use the server identified by $odbserver. In other words, the address and port components of the odb://datafilename string are not required if you use the $odbserver property.
The value of $odbserver is stored in a text file in the Studio folder, called odb.txt. This has one line, in the form:
server=address:port
This allows you to configure clients by either copying this file, setting up this file in an installer, or using the notation to set $odbserver via your own dialog.
If the $odbserver preference is specified, the Data File Browser includes an "Open ODB Datafile" option which will open the data file on the specified ODB server.
Phiên bản | 1.54 |
Cập nhật | 02/03/2013 (11 năm trước) |
Nhà phát triển | Raining Data |
Thể loại | Business Software |
Hệ điều hành | Mac |
Hệ điều hành cài đặt | Macintosh , Mac OS X 10.4 , Mac OS X 10.6 , Mac OS X 10.5 , Mac OS X 10.8 , Mac OS X 10.7 |
Yêu cầu | None |
Lượt tải về | 461,603 |