URL Property (RDS)

           

Sets or returns the location of a file that contains the persisted (saved) form of a Recordset.

Syntax

Design time: <PARAM NAME="URL" VALUE="URLpath">

Run time: DataControl.URL = "URLpath"

Parameters

URLpath   A String containing the URL or path to the persisted file. See Remarks for examples.

DataControl   An object variable that represents an RDS.DataControl object.

Usage

Here are some examples of valid URL property values:

FILE://myServer/myPath/filename
HTTP://myServer/myPath/filename
\\myServer/myPath/filename
C:\myPath\filename

Here is an example in Microsoft Visual Basic of a persisted Recordset being restored from a file:

Dim rds AS RDS.DataControl
Set rds.URL = "C:\authors.stm"
rds.Refresh