OnRemote
Applies to
VAccess control
Description
(DEPRECATED - former I*net Data Server only.) This event is fired whenever the VAccess is unable to connect locally to a data file or data dictionary.
Syntax
Sub VAccess_OnRemote(byref goRemote As Boolean, byref newLocation As String)
Remarks
This event fires before an ActiveX control tries to connect with an IDS server or if the given path could not be resolved to a local location. The event has two parameters—a boolean goRemote and a string newLocation. The goRemote boolean indicates whether ActiveX will try to connect to IDS server. This can happen when either DDFPath or Location properties have been resolved to be remote addresses. Such resolutions will occur if either of DDFPath or Location satisfy one of the following criteria (depending on whether goRemote is True or False):
in cases when goRemote = True
Location is specified using pids protocol.
Location is specified using Internet server protocol or IP notation.
HostAddress is specified.
in cases when goRemote = FALSE
newLocation will contain the resolved path. If the location specified in DdfPath or Location is resolved using IDSHOSTS file newLocation will contain the full path. Both newLocation and goRemote are passed by reference so that the user can change the path or tell ActiveX to go ahead or cancel with its attempts to connect to IDS server.
*Note: ActiveX will not try to connect locally even if newLocation is changed to a local path.
See Also
DdfPath, Location, PSQL Programmer's Guide.